/* Popup "Te llamamos ahora" (Cityo). Colores de fondo/botón vienen de las clases del partner: .bg-5-general / .bg-6-general */
.pl-overlay { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .25s ease; }
.pl-overlay[hidden] { display: none; }
.pl-overlay.pl-visible { opacity: 1; }
body.pl-abierto { overflow: hidden; }

.pl-card { position: relative; box-sizing: border-box; width: 640px; max-width: 100%; max-height: calc(100vh - 32px); overflow-y: auto; padding: 56px 56px 40px; border-radius: 28px; text-align: center; color: #fff; transform: translateY(12px) scale(.98); transition: transform .25s ease; outline: none; }
.pl-visible .pl-card { transform: none; }

.pl-cerrar { position: absolute; top: 28px; right: 28px; width: 20px; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; line-height: 0; }
.pl-cerrar:focus-visible, .pl-enviar:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

#pl-overlay .pl-titulo { width: 500px; max-width: 100%; margin: 0 auto 40px; font-family: 'Unica-Bold' !important; font-size: 46px; font-weight: normal; line-height: 1.08; letter-spacing: -.02em; color: #fff; }
#pl-overlay .pl-acento { font-family: 'Unica-Bold' !important; color: #d6fe51; }

#pl-overlay .pl-subtitulo { margin: 0 0 16px; font-family: 'Unica-Bold' !important; font-size: 20px; font-weight: normal; line-height: normal; color: #fff; }

.pl-campo { display: flex; align-items: center; gap: 12px; box-sizing: border-box; width: 440px; max-width: 100%; margin: 0 auto; padding: 5px 5px 5px 28px; border-radius: 50px; background: #fff; }
#pl-overlay .pl-input { flex: 1 1 0; min-width: 0; height: auto; margin: 0; padding: 0; border: 0 !important; border-radius: 0; background: transparent !important; box-shadow: none !important; font: inherit; font-size: 17px; color: #455645 !important; outline: none; }
#pl-overlay .pl-input:focus, #pl-overlay .pl-input:active { background: transparent !important; box-shadow: none !important; border: 0 !important; }
#pl-overlay .pl-input:-webkit-autofill, #pl-overlay .pl-input:-webkit-autofill:hover, #pl-overlay .pl-input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 1000px #fff inset !important; box-shadow: 0 0 0 1000px #fff inset !important; -webkit-text-fill-color: #455645 !important; caret-color: #455645; transition: background-color 9999s ease-out 0s; }
#pl-overlay .pl-input::placeholder { color: #8f8f8f; opacity: 1; }
.pl-enviar { display: flex; align-items: center; justify-content: center; flex: none; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50px; cursor: pointer; box-shadow: 0 8px 20px -6px rgba(214, 254, 81, .45); transition: transform .15s ease; }
.pl-enviar:hover { transform: scale(1.06); }
.pl-enviar:disabled { opacity: .6; cursor: default; transform: none; }

.pl-error { margin: 12px 0 0; font-size: 14px; line-height: 1.3; color: #ffd2c9; }
.pl-legal { margin: 20px 0 0; font-size: 13px; line-height: 1.4; opacity: .85; color: #fff; }
#pl-overlay .pl-legal a { font-family: 'Unica-Regular' !important; font-weight: normal; color: #fff; text-decoration: underline; }
#pl-overlay .pl-gracias { margin: 32px 0 0; font-family: 'Unica-Bold' !important; font-size: 22px; font-weight: normal; color: #fff; }

.pl-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pl-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 575.98px) {
    .pl-card { padding: 56px 20px 28px; border-radius: 24px; }
    .pl-cerrar { top: 20px; right: 20px; }
    #pl-overlay .pl-titulo { margin-bottom: 28px; font-size: 32px; }
    #pl-overlay .pl-subtitulo { font-size: 18px; }
    .pl-campo { padding-left: 20px; }
    #pl-overlay .pl-input { font-size: 16px; } /* 16px evita el zoom automático de iOS al enfocar */
}

@media (prefers-reduced-motion: reduce) {
    .pl-overlay, .pl-card, .pl-enviar { transition: none; }
}
