/* ==========================================================================
   Citas de Radio - Web oficial (modelo 7)
   Estilos propios. Todo lo demás son utilidades de Tailwind
   (configuración de colores y tipografías en js/tailwind.config.js).
   ========================================================================== */

body { font-family: 'Montserrat', sans-serif; }


/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

/* La foto respira: overlay lateral (el texto vive a la izquierda,
   las personas quedan libres a la derecha) y scrim suave abajo
   para la fila de columnas. */
.hero-scrim {
    background:
        linear-gradient(0deg,  rgba(28,20,10,0.82) 0%, rgba(28,20,10,0.25) 26%, rgba(28,20,10,0) 45%),
        linear-gradient(90deg, rgba(28,20,10,0.72) 0%, rgba(28,20,10,0.42) 34%, rgba(28,20,10,0.05) 62%, rgba(28,20,10,0) 100%);
}
.hero-foto { filter: none; }

/* En móvil el texto va centrado sobre toda la foto:
   el velo debe ser vertical y algo más firme */
@media (max-width: 767px) {
    /* la foto ocupa solo la parte de arriba del hero (asi se ve la cara sin texto encima) y se funde
       en el marron oscuro sobre el que van el titulo y las placas */
    .hero-scrim {
        background: linear-gradient(0deg,
            rgba(28,20,10,0.88) 0%,
            rgba(28,20,10,0.62) 55%,
            rgba(28,20,10,0.42) 100%);
    }
    /* portada: la foto ocupa solo la parte de arriba (se ve la cara sin texto encima) y se funde en el marron
       oscuro sobre el que van el titulo y las placas */
    .hero-home { height: 64vw !important; object-position: 50% 30% !important; }
    .hero-scrim-home {
        background: linear-gradient(0deg,
            #1c140a 0,
            #1c140a calc(100% - 62vw),
            rgba(28,20,10,0.82) calc(100% - 55vw),
            rgba(28,20,10,0.28) calc(100% - 44vw),
            rgba(28,20,10,0.18) 100%);
    }
}

/* Cabezal de página interior: luz ámbar suave que respira desde el margen derecho */
.glow-breathe { animation: breathe 14s ease-in-out infinite; }
@keyframes breathe { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.06); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .glow-breathe { animation: none; } }


/* --------------------------------------------------------------------------
   Placas de columna
   -------------------------------------------------------------------------- */

/* Hover sin agrandar. Un velo claro sube desde abajo,
   el ícono se aclara y se desplaza apenas, y el nombre se corre 3px. */
.placa { transition: box-shadow 1s ease; }
.placa::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(255,255,255,.16), rgba(255,255,255,0) 70%);
                opacity: 0; transition: opacity 1s ease; pointer-events: none; }
.placa:hover::after { opacity: 1; }
.placa:hover { box-shadow: 0 14px 34px rgba(26,26,26,.18); }
.placa-icon { transition: transform 1.2s cubic-bezier(.16,.6,.2,1), color 1s ease; }
.placa-icon * { vector-effect: non-scaling-stroke; }
.placa:hover .placa-icon { transform: translate(-4px, -4px); color: rgba(255,255,255,.75); }
/* Placa con fondo pastel: el texto, el icono y el ecualizador van oscuros (lo decide inc_config según el color) */
.placa-clara .text-white { color: #2b2016; }
.placa-clara .placa-icon { color: rgba(43,32,22,.22); }
.placa-clara:hover .placa-icon { color: rgba(43,32,22,.38); }
.placa-clara .eq i { background: rgba(43,32,22,.7); }
.placa-clara .bg-white\/22 { background: rgba(43,32,22,.12); }
.placa-clara::after { background: linear-gradient(0deg, rgba(255,255,255,.35), rgba(255,255,255,0) 70%); }
.placa > span:not(.eq) { transition: transform 1s cubic-bezier(.16,.6,.2,1); }
@media (max-width: 639px) { .placa > span:not(.eq) { font-size: 11px !important; letter-spacing: .02em !important; right: 2.5rem; } }
.placa:hover > span:not(.material-symbols-outlined):not(.eq) { transform: translateX(3px); }

/* Firma: mini ecualizador de radio en cada placa de columna */
.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.eq i { width: 3px; border-radius: 2px; background: rgba(255,255,255,.85); display: block; }
.eq i:nth-child(1) { height: 40%; }
.eq i:nth-child(2) { height: 90%; }
.eq i:nth-child(3) { height: 55%; }
.eq i:nth-child(4) { height: 100%; }
.eq i:nth-child(5) { height: 65%; }
.group:hover .eq i { animation: eqPlay 1.4s ease-in-out infinite alternate; }
.group:hover .eq i:nth-child(2) { animation-delay: .12s; }
.group:hover .eq i:nth-child(3) { animation-delay: .24s; }
.group:hover .eq i:nth-child(4) { animation-delay: .36s; }
.group:hover .eq i:nth-child(5) { animation-delay: .48s; }
@keyframes eqPlay { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .group:hover .eq i { animation: none; } }


/* --------------------------------------------------------------------------
   Detalles de modernidad / tecnología (sutiles, sobre fondos claros)
   -------------------------------------------------------------------------- */

/* Datos duros (contadores) */
.stat-bar i { transform-origin: left; transform: scaleX(0); }
.stat [data-count] { display: inline-block; transition: transform 1.2s cubic-bezier(.16,.6,.2,1); }
.stat [data-count].is-done { animation: statPop 1.2s cubic-bezier(.16,.6,.2,1); }
@keyframes statPop { 30% { transform: scale(1.08); color: #815507; } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .stat-bar i { transform: none; } .stat [data-count].is-done { animation: none; } }

/* Banner "Sé parte": órbita y chip flotante */
.orbit { animation: spin 90s linear infinite; }
.orbit-dot { animation: spin 24s linear infinite; }
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }
.orbit, .orbit-dot { transform: translate(-50%,-50%) rotate(0deg); }
.chip-float { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .orbit, .orbit-dot, .chip-float { animation: none; } }

/* Banner "Sé parte": el teléfono entra inclinado y los mensajes llegan de a uno */
.chat > div { opacity: 0; transform: translateY(8px); animation: msgIn 1.2s cubic-bezier(.16,.6,.2,1) forwards; }
.chat > div:nth-child(1) { animation-delay: 1.4s; }
.chat > div:nth-child(2) { animation-delay: 2.3s; }
.chat > div:nth-child(3) { animation-delay: 3.2s; }
.chat > div:nth-child(4) { animation-delay: 4.1s; }
@keyframes msgIn { to { opacity: 1; transform: none; } }
.notif { opacity: 0; transform: translateY(-6px); animation: msgIn 1.4s cubic-bezier(.16,.6,.2,1) 5s forwards; }
@media (prefers-reduced-motion: reduce) { .chat > div, .notif { animation: none; opacity: 1; transform: none; } .phone { transform: translate(-50%,-50%) !important; } }

/* Marca de agua: ícono de trazo fino, enorme y casi invisible. Firma de sección. */
.wm { width: 300px; height: 300px; color: rgba(99,63,0,0.10); }
.wm * { vector-effect: non-scaling-stroke; }
@media (max-width: 767px) { .wm { width: 200px; height: 200px; } }

/* Trama de puntos: recuerda una grilla de señal / pantalla técnica */
.dot-grid {
    background-image: radial-gradient(rgba(99,63,0,0.10) 1px, transparent 1.2px);
    background-size: 22px 22px;
}

/* Anillos de cobertura: ondas concéntricas que se expanden lentamente */
.signal-ring {
    position: absolute; border-radius: 9999px;
    border: 1.5px solid rgba(201,137,58,0.55);
    animation: ring 7s ease-out infinite;
    opacity: 0;
}
.signal-ring:nth-child(2) { animation-delay: 2.3s; }
.signal-ring:nth-child(3) { animation-delay: 4.6s; }
@keyframes ring {
    0%   { transform: scale(.35); opacity: .9; }
    100% { transform: scale(1.15); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .signal-ring { animation: none; opacity: .35; transform: scale(.8); } }

/* Punto de emisión con latido suave */
.beacon { position: relative; }
.beacon::after {
    content: ""; position: absolute; inset: -6px; border-radius: 9999px;
    border: 2px solid rgba(224,49,49,0.35);
    animation: beacon 3s ease-out infinite;
}
@keyframes beacon { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }

/* Línea de horizonte: hairline con degradé ámbar que separa secciones */
.hairline {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(201,137,58,0.55) 30%, rgba(201,137,58,0.55) 70%, transparent 100%);
}

/* Logos de auspiciantes: gris suave que recupera el color al pasar */
.logo-card img { filter: grayscale(1) opacity(.75); transition: filter .8s ease, transform .8s ease; }
.logo-card:hover img { filter: none; transform: scale(1.04); }

/* Marcador de escala (frecuencias) para el panel de cobertura */
.dial {
    background-image: repeating-linear-gradient(90deg, rgba(99,63,0,0.28) 0 1px, transparent 1px 12px);
    height: 10px;
}

/* Tarjeta de nota: la imagen se acerca apenas al pasar */
.nota-card img { transition: transform 1.2s cubic-bezier(.16,.6,.2,1); }
.nota-card:hover img { transform: scale(1.04); }

/* Botón de play del vivo */
.play-btn { transition: transform .8s cubic-bezier(.16,.6,.2,1), box-shadow .8s ease; }
.group:hover .play-btn { transform: scale(1.08); box-shadow: 0 0 0 14px rgba(255,255,255,.12); }

/* Placas de Instagram: sintonía. Entran como una señal que se estabiliza
   (barrido vertical + leve desenfoque) y al pasar el mouse las cruza un
   destello ámbar, como el dial recorriendo la banda. Siempre alineadas. (js/scripts.js) */
.ig-card { position: relative; will-change: transform, clip-path;
    clip-path: inset(0 0 100% 0); filter: blur(6px); opacity: 0; transform: scale(.985);
    transition: box-shadow 1s ease, transform 1.1s cubic-bezier(.16,.6,.2,1); }
.ig-card.tuned { animation: tuneIn 1.5s cubic-bezier(.16,.6,.2,1) forwards; animation-delay: calc(var(--n, 0) * 160ms); }
@keyframes tuneIn {
    0%   { clip-path: inset(0 0 100% 0); filter: blur(6px); opacity: 0; transform: scale(.985); }
    55%  { filter: blur(1.5px); opacity: 1; }
    100% { clip-path: inset(0 0 0 0); filter: blur(0); opacity: 1; transform: scale(1); }
}
.ig-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
    background: linear-gradient(105deg, rgba(255,255,255,0) 38%, rgba(248,189,106,.34) 50%, rgba(255,255,255,0) 62%);
    transform: translateX(-120%); transition: transform 1.1s cubic-bezier(.3,.6,.3,1); }
.ig-card:hover::after { transform: translateX(120%); }
.ig-card img { transition: transform 1.4s cubic-bezier(.16,.6,.2,1); }
.ig-card:hover img { transform: scale(1.06); }
.ig-card:hover { box-shadow: 0 16px 38px rgba(26,26,26,.18); }
@media (prefers-reduced-motion: reduce) {
    .ig-card { clip-path: none; filter: none; opacity: 1; transform: none; animation: none !important; }
    .ig-card::after, .ig-card:hover img { transition: none; transform: none; }
}

.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }


/* --------------------------------------------------------------------------
   Auspiciantes: carrusel coverflow (js/auspiciantes.js)
   -------------------------------------------------------------------------- */
.sponsor-item { position: absolute; left: 50%; top: 50%; width: 220px; height: 120px;
    display: flex; align-items: center; justify-content: center;
    /* área segura: ningún logo toca los bordes, sea cuadrado o apaisado */
    padding: 18px 26px; box-sizing: border-box;
    background: #f3f3f3; border: 1px solid rgba(212,196,179,0.4); border-radius: 0.75rem;
    transition: transform 1.4s cubic-bezier(.16,.6,.2,1), opacity 1.4s ease, box-shadow 1.4s ease, background 1s ease, border-color 1s ease; }
.sponsor-item img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1) opacity(.7); transition: filter 1.2s ease; }
.sponsor-item.is-center { background: #ffffff; box-shadow: 0 16px 40px rgba(99,63,0,0.14); border-color: rgba(248,189,106,0.8); }
.sponsor-item.is-center img { filter: none; }
/* La posición y la escala base las calcula el guion en variables; el hover solo las multiplica,
   así el logo que el visitante señala se adelanta y toma color sin mover el carrusel. */
.sponsor-item { transform: translate(-50%,-50%) translateX(var(--tx, 0px)) scale(calc(var(--sc, 1) * var(--hv, 1)));
    opacity: var(--op, 1); z-index: var(--z, 1); }
.sponsor-item:not(.is-center) { cursor: pointer; }
.sponsor-item:not(.is-center):hover { --hv: 1.18; opacity: 1; z-index: 20;
    background: #ffffff; box-shadow: 0 16px 40px rgba(99,63,0,0.14); border-color: rgba(248,189,106,0.8);
    transition-duration: .45s; }
.sponsor-item:not(.is-center):hover img { filter: none; }
@media (prefers-reduced-motion: reduce) { .sponsor-item:not(.is-center):hover { --hv: 1; } }
@media (min-width: 768px) { .sponsor-item { width: 240px; height: 136px; padding: 20px 30px; } }
.sponsor-dot { width: 8px; height: 8px; border-radius: 9999px; background: #d4c4b3; transition: all .8s ease; }
.sponsor-dot.is-on { width: 24px; background: #c9893a; }


/* --------------------------------------------------------------------------
   Sistema de movimiento (una sola lógica para toda la web)
   1. Al cargar: el hero "enciende" (foto con zoom lento, texto y placas entran en cascada).
   2. Al hacer scroll: cada bloque aparece con un leve ascenso y fundido, en cascada.
   3. Los números de trayectoria cuentan hasta su valor cuando entran en pantalla.
   4. La barra de navegación se compacta al bajar.
   Todo se desactiva si el usuario pidió "reducir movimiento".  (js/scripts.js)
   -------------------------------------------------------------------------- */

/* 1. Hero */
.hero-foto { animation: kenburns 30s ease-out both; transform-origin: 60% 40%; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-in { opacity: 0; transform: translateY(16px); animation: rise 1.6s cubic-bezier(.16,.6,.2,1) forwards; animation-delay: calc(var(--i, 0) * 180ms + 250ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* 2. Scroll reveal */
.rv { opacity: 0; transform: translateY(18px); transition: opacity 1.4s cubic-bezier(.16,.6,.2,1), transform 1.4s cubic-bezier(.16,.6,.2,1); transition-delay: calc(var(--i, 0) * 140ms); }
.in .rv { opacity: 1; transform: none; }

/* Menú para celular: panel que se despliega debajo de la barra (js/scripts.js) */
.menu-movil { border-top: 1px solid rgba(212,196,179,.5); background: #faf8f3; max-height: calc(100vh - 80px); overflow-y: auto; }
.menu-movil[hidden] { display: none; }
.menu-movil-item { display: block; padding: .75rem 0; font-weight: 700; color: #633f00; border-bottom: 1px solid rgba(212,196,179,.35); }
.nota-cuerpo ul, .nota-cuerpo ol { margin: 0 0 1.1em 1.4em; } .nota-cuerpo li { margin-bottom: .4em; }

/* 4. Nav compacta */
nav .nav-inner { transition: padding .7s cubic-bezier(.16,.6,.2,1); }
nav.is-scrolled .nav-inner { padding-top: 10px; padding-bottom: 10px; }
nav { transition: box-shadow .7s ease; }
nav.is-scrolled { box-shadow: 0 6px 24px rgba(26,26,26,0.08); }

/* Botón "En el aire": halo suave que late (solo el borde, no el botón) */
.onair { position: relative; }
.onair::before { content: ""; position: absolute; inset: -2px; border-radius: 9999px; border: 2px solid rgba(224,49,49,.45); animation: onair 3.6s ease-out infinite; pointer-events: none; }
@keyframes onair { 0% { transform: scale(.98); opacity: .8; } 100% { transform: scale(1.08); opacity: 0; } }
.onair.sin-halo::before { display: none; }   /* fuera del aire: sin halo (CitasAire.pintar) */

/* Botón "En el aire": en emisión se vuelve protagonista: rojo vivo con
   brillo que respira, barras de ecualizador y un destello que lo recorre. */
.btn-aire { position: relative; overflow: hidden; }
.btn-aire.vivo { background: linear-gradient(120deg, #e03131 0%, #f04747 50%, #e03131 100%);
    box-shadow: 0 0 0 0 rgba(224,49,49,.55), 0 10px 26px rgba(224,49,49,.38);
    animation: vivoLatido 2.6s ease-out infinite; }
@keyframes vivoLatido {
    0%   { box-shadow: 0 0 0 0 rgba(224,49,49,.55), 0 10px 26px rgba(224,49,49,.38); }
    70%  { box-shadow: 0 0 0 12px rgba(224,49,49,0), 0 10px 26px rgba(224,49,49,.28); }
    100% { box-shadow: 0 0 0 0 rgba(224,49,49,0), 0 10px 26px rgba(224,49,49,.38); }
}
.btn-aire.vivo::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(105deg, rgba(255,255,255,0) 40%, rgba(255,255,255,.35) 50%, rgba(255,255,255,0) 60%);
    transform: translateX(-120%); animation: vivoDestello 3.4s ease-in-out infinite; }
@keyframes vivoDestello { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.eq-vivo { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.eq-vivo i { width: 3px; border-radius: 2px; background: #fff; animation: eqVivo 1.1s ease-in-out infinite; }
.eq-vivo i:nth-child(2) { animation-delay: .15s; } .eq-vivo i:nth-child(3) { animation-delay: .3s; } .eq-vivo i:nth-child(4) { animation-delay: .45s; }
@keyframes eqVivo { 0%,100% { height: 4px; } 50% { height: 14px; } }
@media (prefers-reduced-motion: reduce) {
    .btn-aire.vivo { animation: none; } .btn-aire.vivo::after { animation: none; display: none; }
    .eq-vivo i { animation: none; height: 9px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-foto, .hero-in, .onair::before { animation: none; }
    .hero-in, .rv { opacity: 1; transform: none; transition: none; }
}


/* --------------------------------------------------------------------------
   Formulario de contacto: etiquetas flotantes (contacto.php + js/contacto.js)
   -------------------------------------------------------------------------- */
.field { position: relative; display: block; }
.field input, .field select, .field textarea { width: 100%; background: #faf8f3; border: 1px solid rgba(212,196,179,0.7); border-radius: 0.75rem; padding: 1.35rem 1rem 0.6rem; font-size: 15px; color: #1f1b16; transition: border-color .5s ease, box-shadow .5s ease, background .5s ease; }
.field textarea { resize: vertical; min-height: 140px; }
/* En desktop la fila del mensaje absorbe el alto sobrante para que el formulario iguale la columna de tarjetas */
@media (min-width: 1024px) { .form-rows { grid-template-rows: auto auto 1fr; } .form-rows textarea { height: 100%; } }
.field select { appearance: none; background-image: none; }
.field.has-select::after { content: "expand_more"; font-family: "Material Symbols Outlined"; position: absolute; right: .9rem; top: 50%; transform: translateY(-50%); color: #6a625a; pointer-events: none; font-size: 22px; }
.field span { position: absolute; left: 1rem; top: 1rem; font-size: 14px; color: #6a625a; pointer-events: none; transition: all .4s cubic-bezier(.16,.6,.2,1); }
.field input:focus ~ span, .field textarea:focus ~ span, .field input:not(:placeholder-shown) ~ span, .field textarea:not(:placeholder-shown) ~ span, .field select:focus ~ span, .field select:valid ~ span { top: .5rem; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: #815507; font-weight: 600; }
.field .peer:focus { outline: none; border-color: #f8bd6a; background: #ffffff; box-shadow: 0 0 0 4px rgba(248,189,106,0.25); }
.field.is-error .peer { border-color: #e03131; }


/* --------------------------------------------------------------------------
   Notas (notas.php / nota.php)
   -------------------------------------------------------------------------- */
/* el video de la nota viene como <iframe> desde el administrador: lo hacemos responsive */
.nota-video { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #1a1a1a; overflow: hidden; }
.nota-video iframe, .nota-video video, .nota-video embed, .nota-video object { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }

/* cuerpo de la nota (HTML cargado en el administrador) */
.nota-cuerpo { font-size: 17px; line-height: 1.75; color: #504538; }
.nota-cuerpo p { margin: 0 0 1.1em; }
.nota-cuerpo h2, .nota-cuerpo h3, .nota-cuerpo h4 { color: #633f00; font-weight: 700; margin: 1.6em 0 .6em; line-height: 1.25; }
.nota-cuerpo h2 { font-size: 26px; } .nota-cuerpo h3 { font-size: 22px; } .nota-cuerpo h4 { font-size: 18px; }
.nota-cuerpo a { color: #734b00; text-decoration: underline; text-underline-offset: 3px; }
.nota-cuerpo ul, .nota-cuerpo ol { margin: 0 0 1.1em 1.4em; } .nota-cuerpo ul { list-style: disc; } .nota-cuerpo ol { list-style: decimal; }
.nota-cuerpo blockquote { border-left: 3px solid #f8bd6a; padding-left: 1rem; margin: 1.2em 0; color: #633f00; font-style: italic; }
.nota-cuerpo img { max-width: 100%; height: auto; border-radius: .75rem; }
.nota-cuerpo iframe { max-width: 100%; }


/* --------------------------------------------------------------------------
   Pop-up "En el aire" (ssi_al_aire.php + js/al_aire.js)
   -------------------------------------------------------------------------- */
#air-modal { position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center; padding: 1rem; }
#air-modal.open { display: flex; }
#air-modal .air-bg { position: absolute; inset: 0; background: rgba(28,20,10,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .6s ease; }
#air-modal .air-box { position: relative; width: 100%; max-width: 860px; background: #fff; border-radius: 1.25rem; overflow: hidden; box-shadow: 0 30px 80px rgba(28,20,10,.35); opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .7s cubic-bezier(.16,.6,.2,1), transform .7s cubic-bezier(.16,.6,.2,1); }
#air-modal.show .air-bg { opacity: 1; }
#air-modal.show .air-box { opacity: 1; transform: none; }
#air-modal .air-in { opacity: 0; transform: translateY(12px); animation: airrise 1.2s cubic-bezier(.16,.6,.2,1) forwards; animation-delay: calc(var(--i, 0) * 140ms + 300ms); }
@keyframes airrise { to { opacity: 1; transform: none; } }
.air-wave { display: inline-flex; align-items: flex-end; gap: 3px; height: 18px; }
.air-wave i { width: 3px; border-radius: 2px; background: #e03131; animation: airwave 1.4s ease-in-out infinite; }
.air-wave i:nth-child(2) { animation-delay: .2s; } .air-wave i:nth-child(3) { animation-delay: .4s; } .air-wave i:nth-child(4) { animation-delay: .6s; }
@keyframes airwave { 0%,100% { height: 5px; } 50% { height: 18px; } }
@media (prefers-reduced-motion: reduce) { #air-modal .air-in { animation: none; opacity: 1; transform: none; } .air-wave i { animation: none; height: 10px; } }


/* --------------------------------------------------------------------------
   Páginas internas con cabezal "banda": Nuestras notas (columnas.php),
   Columna (columna.php) y Nosotras (nosotros.php). Banda cálida con textura,
   una luz ámbar que respira y la ficha blanca montada sobre el borde.
   -------------------------------------------------------------------------- */
.banda { background: #f4f0e8; }
.banda::before { content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(99,63,0,0.10) 1px, transparent 1px); background-size: 22px 22px; }
.banda-luz { position: absolute; right: -6rem; top: -8rem; width: 34rem; height: 34rem; border-radius: 9999px; pointer-events: none;
    background: radial-gradient(circle, rgba(248,189,106,.30) 0%, rgba(248,189,106,.10) 42%, rgba(248,189,106,0) 68%);
    animation: colLuz 16s ease-in-out infinite; }
@keyframes colLuz { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.07); opacity: 1; } }
.banda-filo { height: 3px; background: linear-gradient(90deg, var(--filo, #f8bd6a) 0%, rgba(248,189,106,.35) 38%, rgba(248,189,106,0) 100%); }
.banda-filo.filo-color { background: linear-gradient(90deg, var(--filo) 0%, color-mix(in srgb, var(--filo) 25%, transparent) 38%, transparent 100%); }
@media (prefers-reduced-motion: reduce) { .banda-luz { animation: none; } }

/* Columnas (columnas.php): placas históricas apagadas que toman color al pasar; entrada en cascada */
.placa-hist { transition: background .8s ease, box-shadow .8s ease; }
.placa-hist:hover { background: var(--vivo) !important; box-shadow: 0 12px 30px rgba(99,63,0,.14); }
.col-in { opacity: 0; transform: translateY(12px); }
.col-in.on { opacity: 1; transform: none;
    transition: opacity .9s cubic-bezier(.16,.6,.2,1), transform .9s cubic-bezier(.16,.6,.2,1), border-color .7s ease;
    transition-delay: calc(var(--n,0) * 60ms); }
@media (prefers-reduced-motion: reduce) { .col-in { opacity: 1; transform: none; } }

/* Columna (columna.php): tarjetas de notas con play y modal del reproductor */
.nota-play { opacity: 0; transition: opacity .6s ease; background: rgba(28,20,10,.18); }
.nota:hover .nota-play, .nota-link:focus .nota-play { opacity: 1; }
.nota { opacity: 0; transform: translateY(10px); }
.nota.vista-in { opacity: 1; transform: none; transition: opacity .8s cubic-bezier(.16,.6,.2,1), transform .8s cubic-bezier(.16,.6,.2,1); }
@media (prefers-reduced-motion: reduce) { .nota { opacity: 1; transform: none; } }

/* Nosotras (nosotros.php): fichas de las conductoras, línea de tiempo y premios */
.persona-col { min-height: 224px; }
@media (max-width: 767px) { .persona-col { min-height: 180px; } }
.bio { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.bio.abierta { -webkit-line-clamp: unset; display: block; }
.mas-bio { display: none; }
.mas-bio.visible { display: inline-flex; }
.persona { transition: transform 1.4s cubic-bezier(.16,.6,.2,1); }
article:hover .persona { transform: scale(1.04); }
.premio { position: relative; padding-top: 1.125rem; }
.premio::before { content: ""; position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: rgba(255,255,255,.16); }
.premio::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 26px; border-radius: 9999px; background: #f8bd6a; }
/* Línea de tiempo a todo el ancho: los hitos se alternan a los lados de una línea central */
.linea { position: relative; }
.linea::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: rgba(212,196,179,.9); }
.hito { position: relative; padding-left: 2.25rem; padding-bottom: 2.5rem; }
.hito > .punto { position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 9999px; background: #fff; border: 2px solid #f8bd6a; z-index: 1; }
.hito.fuerte > .punto { background: #f8bd6a; box-shadow: 0 0 0 5px rgba(248,189,106,.22); }
@media (min-width: 1024px) {
    .linea::before { left: 50%; transform: translateX(-50%); }
    .hito { width: 50%; padding-left: 0; padding-right: 3rem; text-align: right; padding-bottom: 3rem; }
    .hito > .punto { left: auto; right: -9px; }
    .hito:nth-child(even) { margin-left: 50%; padding-right: 0; padding-left: 3rem; text-align: left; margin-top: -1.5rem; }
    .hito:nth-child(even) > .punto { left: -9px; right: auto; }
}
.hito { opacity: 0; transform: translateY(14px); }
.hito.on { opacity: 1; transform: none; transition: opacity .9s cubic-bezier(.16,.6,.2,1), transform .9s cubic-bezier(.16,.6,.2,1); transition-delay: calc(var(--n,0) * 90ms); }
@media (prefers-reduced-motion: reduce) { .hito { opacity: 1; transform: none; } }

/* Repetidoras (repetidoras.php): barra ámbar lateral, tarjeta activa desde el dial y entrada en cascada */
.rep-card { position: relative; overflow: hidden; }
.rep-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #f8bd6a; transform: scaleY(0); transform-origin: bottom; transition: transform .7s cubic-bezier(.16,.6,.2,1); }
.rep-card:hover::before { transform: scaleY(1); }
.rep-card.activa { border-color: #f8bd6a; box-shadow: 0 12px 32px rgba(99,63,0,0.12); }
.rep-card.activa::before { transform: scaleY(1); width: 5px; }
.rep-in { opacity: 0; transform: translateY(12px); }
.rep-in.on { opacity: 1; transform: none; transition: opacity .9s cubic-bezier(.16,.6,.2,1), transform .9s cubic-bezier(.16,.6,.2,1), border-color .7s ease, box-shadow .7s ease; transition-delay: calc(var(--n,0) * 70ms); }
@media (prefers-reduced-motion: reduce) { .rep-in { opacity: 1; transform: none; } }


/* Campos de búsqueda: sin la cruz que agrega el navegador (cada buscador tiene la suya) */
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
