/* ============================================================
   Festival del Libro Dominicana — Extra sections
   Programa por anunciar · Mantente al tanto · Mapa · crédito.
   Loaded after sections.css + anim.css.
   ============================================================ */

/* ---------- PROGRAMA · por anunciar ---------- */
.day--static { cursor: default; }
.day--static:hover { border-color: var(--line-strong); }
.day--static .dnum { color: var(--azul); }

.coming {
  position: relative; max-width: 620px; margin: 0 auto; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--shadow-md); padding: 50px 40px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.coming__petal { position: absolute; width: 84px; height: 84px; border-radius: 0 50% 0 50%; opacity: .92; box-shadow: var(--shadow-md); }
.coming__icon { width: 78px; height: 78px; border-radius: 50%; background: var(--azul-100); color: var(--azul); display: flex; align-items: center; justify-content: center; font-size: 38px; }
.coming__ti { font-family: var(--font-display); font-weight: 700; font-size: 30px; color: var(--azul-900); margin: 4px 0 0; }
.coming__body { font-family: var(--font-read); font-size: 16px; line-height: 1.6; color: var(--ink-2); margin: 0; max-width: 460px; }
.coming .btn { margin-top: 10px; }
.coming__note { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-brand); font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.coming__note i { color: var(--azul); font-size: 14px; }
@media (max-width: 560px){ .coming { padding: 40px 24px; } .coming__ti { font-size: 25px; } }

/* ---------- MANTENTE AL TANTO ---------- */
.stay { position: relative; overflow: hidden; }
.stay__blob { position: absolute; width: 440px; height: 440px; border-radius: 50%; background: var(--azul-claro); filter: blur(90px); opacity: .26; top: -140px; right: -90px; pointer-events: none; }
.stay-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 920px; margin: 0 auto; position: relative; z-index: 1; }
@media (max-width: 800px){ .stay-cards { grid-template-columns: 1fr; } }
.stay-card { background: #fff; border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.stay-card__ic { width: 58px; height: 58px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; font-size: 30px; color: #fff; }
.stay-card__ic--ig { background: linear-gradient(135deg, var(--amarillo), var(--rojo)); }
.stay-card__ic--news { background: var(--azul); }
.stay-card__ti { font-family: var(--font-display); font-weight: 700; font-size: 23px; color: var(--azul-900); margin: 2px 0 0; }
.stay-card__body { font-family: var(--font-read); font-size: 15px; line-height: 1.55; color: var(--ink-2); margin: 0; }
.stay-card__handle { font-family: var(--font-brand); font-weight: 800; font-size: 18px; color: var(--rojo); letter-spacing: -.01em; }
.stay-card__handle:hover { text-decoration: underline; }
.stay-card__btn { margin-top: 6px; }
.stay-form { display: flex; gap: 8px; width: 100%; flex-wrap: wrap; }
.stay-form input { flex: 1; min-width: 0; border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); padding: 12px 18px; font-family: var(--font-read); font-size: 15px; color: var(--ink); outline: none; transition: .15s; }
.stay-form input:focus { border-color: var(--azul); box-shadow: 0 0 0 3px var(--focus-ring); }
.stay-form .btn { flex: none; }
.stay-card__done { font-family: var(--font-brand); font-weight: 700; color: var(--azul-700); display: flex; align-items: center; gap: 8px; font-size: 15px; }
.stay-card__done i { color: #1f8a5b; font-size: 20px; }
.stay-card__fine { font-family: var(--font-ui); font-size: 12px; color: var(--ink-3); }

/* ---------- MAPA ---------- */
.map-wrap { position: relative; }
.map-canvas { width: 100%; height: 520px; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: var(--azul-100); z-index: 0; }
.map-card { position: absolute; top: 28px; left: 28px; z-index: 500; width: 330px; max-width: calc(100% - 56px); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 26px; }
.map-card__ti { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--azul-900); margin: 8px 0 18px; line-height: 1.15; }
.map-card .ci { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.map-card .ci i { width: 42px; height: 42px; border-radius: var(--r-md); background: var(--azul-100); color: var(--azul); display: flex; align-items: center; justify-content: center; font-size: 20px; flex: none; }
.map-card .ci b { font-family: var(--font-brand); font-weight: 700; font-size: 13px; color: var(--azul-900); display: block; }
.map-card .ci span { font-family: var(--font-ui); font-size: 13px; color: var(--ink-3); }
.map-card__btn { width: 100%; justify-content: center; margin-top: 8px; }
@media (max-width: 760px){
  .map-card { position: static; width: 100%; max-width: 100%; margin-top: 16px; box-shadow: var(--shadow-md); }
  .map-canvas { height: 380px; }
}

/* brand pin (Leaflet divIcon) */
.fldc-pin__inner { position: absolute; left: 50%; top: 2px; transform: translateX(-50%); width: 48px; height: 48px; border-radius: 50%; background: var(--azul); border: 3px solid #fff; box-shadow: 0 10px 18px rgba(2,55,107,.4); display: flex; align-items: center; justify-content: center; animation: fldc-pin-bob 3s ease-in-out infinite; }
.fldc-pin__inner img { width: 26px; height: 26px; display: block; }
.fldc-pin__petal { position: absolute; left: 50%; top: 44px; transform: translateX(-50%); width: 0; height: 0; border-left: 9px solid transparent; border-right: 9px solid transparent; border-top: 14px solid var(--azul); }
@keyframes fldc-pin-bob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-5px); } }

/* Leaflet popup, brand-styled */
.fldc-popup .leaflet-popup-content-wrapper { border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
.fldc-popup .leaflet-popup-content { margin: 14px 16px; }
.fldc-pop { display: flex; flex-direction: column; gap: 5px; font-family: var(--font-ui); }
.fldc-pop strong { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--azul-900); }
.fldc-pop > span { font-size: 13px; color: var(--ink-2); }
.fldc-pop__free { display: flex; align-items: center; gap: 6px; color: var(--azul-700) !important; font-family: var(--font-brand); font-weight: 700; font-size: 12px !important; }
.fldc-pop a { margin-top: 5px; font-family: var(--font-brand); font-weight: 700; font-size: 13px; color: var(--rojo); }
.fldc-pop a:hover { color: var(--rojo-700); }
.leaflet-container { font-family: var(--font-ui); }

/* ---------- VOCES teaser (home panel) ---------- */
.voces-teaser { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; background: var(--azul-100); border-radius: var(--r-xl); padding: 52px 56px; }
@media (max-width: 820px){ .voces-teaser { grid-template-columns: 1fr; gap: 30px; padding: 40px 30px; } }
.voces-teaser__copy { position: relative; z-index: 1; }
.voces-teaser .vt-petal { position: absolute; width: 78px; height: 78px; border-radius: 0 50% 0 50%; opacity: .9; box-shadow: var(--shadow-md); }
.voces-teaser__viz { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.vt-avatars { display: flex; }
.vt-av { width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(150deg, #fff, var(--azul-100)); border: 1.5px dashed var(--azul-200); display: flex; align-items: center; justify-content: center; margin-left: -22px; box-shadow: var(--shadow-sm); }
.vt-av:first-child { margin-left: 0; }
.vt-av i { font-size: 36px; color: var(--azul-200); }
.vt-av--more { background: var(--azul); border: none; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 28px; }
.vt-chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-brand); font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--azul-900); background: var(--amarillo); padding: 8px 16px; border-radius: var(--r-pill); }
.vt-chip i { color: var(--rojo); font-size: 15px; }

/* ---------- SPONSORS · kit + formulario ---------- */
.spon-kit { display: grid; grid-template-columns: 1.1fr .9fr; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md); max-width: 1000px; margin: 0 auto; }
@media (max-width: 820px){ .spon-kit { grid-template-columns: 1fr; } }
.spon-kit__left { padding: 44px; display: flex; flex-direction: column; }
.spon-kit__left h3 { font-family: var(--font-display); font-weight: 700; font-size: 28px; color: var(--azul-900); margin: 14px 0 0; }
.spon-list { list-style: none; padding: 0; margin: 22px 0 28px; display: flex; flex-direction: column; gap: 13px; }
.spon-list li { display: flex; gap: 11px; align-items: flex-start; font-family: var(--font-read); font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.spon-list i { color: var(--azul); font-size: 19px; flex: none; margin-top: 1px; }
.spon-kit__form { background: var(--gris); border-left: 1px solid var(--line); padding: 44px; display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 820px){ .spon-kit__form { border-left: none; border-top: 1px solid var(--line); } }
.spon-kit__form h4 { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--azul-900); margin: 0 0 4px; }
.spon-kit__form .field { margin: 0; }
.spon-kit__form .lb { font-family: var(--font-brand); font-weight: 600; font-size: 13px; color: var(--ink-2); display: block; margin-bottom: 6px; }
.spon-kit__form .inp, .spon-kit__form textarea { width: 100%; font-family: var(--font-read); font-size: 15px; color: var(--ink); padding: 11px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); background: #fff; outline: none; transition: .15s; }
.spon-kit__form .inp:focus, .spon-kit__form textarea:focus { border-color: var(--azul); box-shadow: 0 0 0 3px var(--focus-ring); }
.spon-kit__form textarea { resize: vertical; min-height: 72px; }
.spon-kit__foot { margin: auto 0 0; display: flex; gap: 10px; align-items: flex-start; font-family: var(--font-read); font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.spon-kit__foot i { color: var(--azul-claro); font-size: 18px; flex: none; margin-top: 1px; }

/* ---------- COUNTDOWN panel (own section) ---------- */
.cdpanel { position: relative; overflow: hidden; }
.cdpanel__blob { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: var(--azul-claro); filter: blur(90px); opacity: .25; top: -150px; left: -80px; pointer-events: none; }
.cdpanel__inner { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; z-index: 1; }
.cdpanel .countdown { justify-content: center; margin-top: 26px; }
.cdpanel__date { margin-top: 28px; font-family: var(--font-brand); font-weight: 600; font-size: 15px; color: rgba(255,255,255,.85); display: inline-flex; align-items: center; gap: 9px; text-wrap: balance; }
.cdpanel__date i { color: var(--amarillo); font-size: 18px; flex: none; }

/* live pulse dot (shared by the floating mini countdown) */
.cd-live { width: 8px; height: 8px; border-radius: 50%; background: var(--rojo); position: relative; flex: none; }
.cd-live::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--rojo); opacity: .5; animation: cd-live-pulse 1.8s ease-out infinite; }
@keyframes cd-live-pulse { 0% { transform: scale(.5); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
.no-anim .cd-live::after { animation: none; }

/* ---------- FLOATING mini countdown ---------- */
.fc { position: fixed; right: 22px; bottom: 104px; z-index: 55; display: flex; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); transform: translateY(220%); opacity: 0; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .3s; pointer-events: none; }
.fc.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.fc__main { display: flex; align-items: center; gap: 12px; padding: 12px 6px 12px 14px; background: transparent; border: none; cursor: pointer; border-radius: var(--r-lg) 0 0 var(--r-lg); }
.fc__mark { width: 42px; height: 42px; border-radius: var(--r-md); background: var(--azul-100); display: flex; align-items: center; justify-content: center; flex: none; }
.fc__mark img { width: 27px; height: 27px; }
.fc__body { display: flex; flex-direction: column; gap: 4px; text-align: left; }
.fc__lbl { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-brand); font-weight: 700; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--rojo); }
.fc__nums { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--azul-900); font-variant-numeric: tabular-nums; line-height: 1; }
.fc__nums i { font-style: normal; font-family: var(--font-brand); font-weight: 600; font-size: 12px; color: var(--ink-3); margin: 0 7px 0 2px; }
.fc__nums i:last-child { margin-right: 0; }
.fc__close { flex: none; width: 40px; min-height: 40px; border: none; background: transparent; color: var(--ink-3); cursor: pointer; border-radius: 0 var(--r-lg) var(--r-lg) 0; display: flex; align-items: flex-start; justify-content: center; padding-top: 10px; font-size: 14px; transition: .15s; }
.fc__close:hover { background: var(--gris); color: var(--ink); }
@media (max-width: 680px){ .fc { display: none; } }

/* ---------- HOURS (horarios de apertura) ---------- */
.hours { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 880px; margin: 0 auto 34px; }
@media (max-width: 760px){ .hours { grid-template-columns: 1fr; max-width: 420px; } }
.hcard { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 28px; transition: transform .18s, box-shadow .18s; }
.hcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.hcard::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 5px; background: var(--hc, var(--azul)); }
.hcard__petal { position: absolute; right: -26px; bottom: -26px; width: 96px; height: 96px; border-radius: 0 50% 0 50%; background: var(--hc, var(--azul)); opacity: .1; }
.hcard__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.hcard__dow { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--azul-900); }
.hcard__date { font-family: var(--font-brand); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.hcard__time { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.hcard__time i { width: 40px; height: 40px; border-radius: var(--r-md); background: color-mix(in srgb, var(--hc, var(--azul)) 14%, #fff); color: var(--hc, var(--azul)); display: flex; align-items: center; justify-content: center; font-size: 20px; flex: none; }
.hcard__time span { font-family: var(--font-brand); font-weight: 700; font-size: 17px; color: var(--azul-900); }
.hcard__time em { font-style: normal; font-weight: 500; color: var(--ink-3); font-size: 14px; padding: 0 2px; }

/* ---------- PROGRAM not-available note ---------- */
.prog-note { display: flex; align-items: center; gap: 18px; max-width: 880px; margin: 0 auto; background: var(--gris); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 26px; }
@media (max-width: 680px){ .prog-note { flex-direction: column; text-align: center; } }
.prog-note__ic { width: 52px; height: 52px; border-radius: 50%; background: var(--azul-100); color: var(--azul); display: flex; align-items: center; justify-content: center; font-size: 26px; flex: none; }
.prog-note__copy { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.prog-note__copy b { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--azul-900); }
.prog-note__copy span { font-family: var(--font-read); font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.prog-note__btn { flex: none; }

/* ---------- FOOTER credit (Nubis) ---------- */
.foot-credit { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); text-align: center; font-family: var(--font-ui); font-size: 13px; color: rgba(255,255,255,.55); }
.foot-credit a { color: rgba(255,255,255,.82); font-family: var(--font-brand); font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.foot-credit a:hover { color: #fff; }
.foot-credit i { font-size: 12px; }

/* ============================================================
   Voces — Detalle page (roster por anunciar + profile template)
   ============================================================ */
.voz-hero { position: relative; overflow: hidden; background: var(--gris); padding: 92px 0 76px; }
.voz-hero .blob { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.voz-hero .b1 { width: 320px; height: 320px; background: var(--azul-claro); opacity: .45; top: -60px; right: -40px; }
.voz-hero .b2 { width: 280px; height: 280px; background: var(--amarillo); opacity: .35; bottom: -80px; left: -30px; }
.voz-hero__inner { position: relative; z-index: 1; max-width: 760px; }
.voz-status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-brand); font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--azul-900); background: var(--amarillo); padding: 8px 16px; border-radius: var(--r-pill); }
.voz-status i { color: var(--rojo); font-size: 15px; }
.voz-hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); margin: 20px 0 0; }
.voz-hero p { max-width: 560px; margin: 18px 0 0; }
.voz-hero__cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.roster { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px){ .roster { grid-template-columns: 1fr 1fr; } }
.vcard { text-align: center; }
.vcard__ph { width: 132px; height: 132px; margin: 0 auto 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; position: relative; background: linear-gradient(150deg, var(--azul-100), #fff); border: 1.5px dashed var(--azul-200); }
.vcard__ph i { font-size: 56px; color: var(--azul-200); }
.vcard__ph .seed { position: absolute; bottom: 6px; right: 10px; width: 30px; height: 30px; border-radius: 50%; background: var(--amarillo); display: flex; align-items: center; justify-content: center; color: var(--rojo); font-size: 15px; box-shadow: var(--shadow-sm); }
.vcard__n { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--azul-900); }
.vcard__r { font-family: var(--font-brand); font-weight: 600; font-size: 12px; letter-spacing: .04em; color: var(--ink-3); margin-top: 5px; }
.tpl-banner { display: flex; align-items: center; gap: 12px; max-width: 1040px; margin: 0 auto 30px; padding: 14px 20px; background: var(--azul-100); border: 1px dashed var(--azul-200); border-radius: var(--r-md); font-family: var(--font-ui); font-size: 14px; color: var(--azul-900); }
.tpl-banner i { font-size: 22px; color: var(--azul); flex: none; }
.profile { max-width: 1040px; margin: 0 auto; }
.profile-grid { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; }
@media (max-width: 820px){ .profile-grid { grid-template-columns: 1fr; gap: 30px; } }
.profile-side { position: sticky; top: 90px; }
@media (max-width: 820px){ .profile-side { position: static; } }
.profile-photo { display: flex; align-items: center; justify-content: center; width: 100%; height: 360px; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); background: linear-gradient(150deg, var(--azul-100), #fff); border: 1.5px dashed var(--azul-200); color: var(--azul-200); font-size: 64px; }
.profile-chips { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.pchip { display: flex; align-items: center; gap: 12px; }
.pchip i { width: 40px; height: 40px; border-radius: var(--r-md); background: var(--azul-100); color: var(--azul); display: flex; align-items: center; justify-content: center; font-size: 19px; flex: none; }
.pchip b { font-family: var(--font-brand); font-weight: 700; font-size: 13px; color: var(--azul-900); display: block; }
.pchip span { font-family: var(--font-ui); font-size: 13px; color: var(--ink-3); }
.profile-social { display: flex; gap: 10px; margin-top: 24px; }
.profile-social a { width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--azul); font-size: 20px; transition: .16s; }
.profile-social a:hover { background: var(--azul); color: #fff; transform: translateY(-2px); }
.profile-name { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 3.4vw, 2.9rem); color: var(--azul-900); line-height: 1.05; margin: 14px 0 0; }
.profile-role { font-family: var(--font-brand); font-weight: 600; font-size: 16px; color: var(--rojo); margin: 10px 0 0; letter-spacing: .02em; }
.profile-bio { margin-top: 26px; }
.profile-bio p { font-family: var(--font-read); font-size: 17px; line-height: 1.72; color: var(--ink-2); margin: 0 0 16px; }
.profile-h3 { font-family: var(--font-brand); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--azul-900); margin: 34px 0 16px; display: flex; align-items: center; gap: 9px; }
.profile-h3 i { color: var(--rojo); font-size: 17px; }
.sess { display: flex; flex-direction: column; }
.sess-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.sess-item:last-child { border-bottom: 1px solid var(--line); }
.sess-when { font-family: var(--font-brand); font-weight: 700; font-size: 14px; color: var(--azul-900); }
.sess-ti { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--azul-900); }
.sess-ti span { display: block; font-family: var(--font-ui); font-weight: 400; font-size: 13px; color: var(--ink-3); margin-top: 3px; }
.sess-tag { font-family: var(--font-brand); font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); background: var(--gris); padding: 6px 12px; border-radius: var(--r-pill); white-space: nowrap; }
@media (max-width: 560px){ .sess-item { grid-template-columns: 1fr; gap: 6px; } .sess-tag { justify-self: start; } }
.pull { margin: 36px 0 0; padding: 26px 30px; border-left: 4px solid var(--amarillo); background: var(--gris); border-radius: 0 var(--r-md) var(--r-md) 0; font-family: var(--font-display); font-style: italic; font-size: 22px; line-height: 1.4; color: var(--azul-900); }

/* ============================================================
   Patrocinadores — versiones del CTA (4 enfoques, apilados, responsivos)
   ============================================================ */
.spon-versions { display: flex; flex-direction: column; gap: 36px; max-width: 1080px; margin: 0 auto; }
.sv { position: relative; overflow: hidden; border-radius: var(--r-xl); box-shadow: var(--shadow-md); }
.sv-eyebrow { font-family: var(--font-brand); font-weight: 700; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--rojo); display: inline-flex; align-items: center; gap: 8px; }
.sv-eyebrow.on-blue { color: var(--amarillo); }
.sv-h { font-family: var(--font-display); font-weight: 700; color: var(--azul-900); line-height: 1.12; margin: 0; }
.sv-lead { font-family: var(--font-read); line-height: 1.6; color: var(--ink-2); margin: 0; }
.sv-petal { position: absolute; border-radius: 0 50% 0 50%; }
.sv-body { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; position: relative; z-index: 1; }
.sv-label { font-family: var(--font-brand); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px; }
/* V1 — comunidad */
.v1 { background: var(--azul); color: #fff; padding: 56px; }
.v1::after { content: ''; position: absolute; right: -60px; bottom: -90px; width: 360px; height: 360px; background: url('/fldc/assets/mark-white.png') no-repeat center / contain; opacity: .08; transform: rotate(-8deg); }
.v1 .sv-h { color: #fff; font-size: clamp(28px,4vw,44px); }
.v1 .sv-lead { color: rgba(255,255,255,.86); max-width: 560px; font-size: 18px; }
.v1 .sv-note { font-family: var(--font-brand); font-weight: 600; font-size: 14px; color: rgba(255,255,255,.78); display: flex; align-items: center; gap: 9px; }
.v1 .sv-note i { color: var(--amarillo); font-size: 18px; }
.v1 .btn { margin-top: 6px; font-size: 17px; padding: 18px 32px; }
/* V2 — datos */
.v2 { background: #fff; padding: 52px; }
.v2 .sv-h { font-size: clamp(26px,3.4vw,38px); }
.v2 .sv-lead { max-width: 600px; }
.v2-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; width: 100%; margin: 14px 0 6px; }
@media (max-width: 680px){ .v2-stats { grid-template-columns: 1fr 1fr; } }
.v2-stat { background: var(--gris); border-radius: var(--r-lg); padding: 22px 20px; }
.v2-stat .n { font-family: var(--font-display); font-weight: 800; font-size: 36px; color: var(--azul); line-height: 1; }
.v2-stat .l { font-family: var(--font-brand); font-weight: 600; font-size: 12.5px; color: var(--ink-2); margin-top: 8px; line-height: 1.3; }
.v2-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.v2-disc { font-family: var(--font-ui); font-size: 12px; color: var(--ink-3); display: flex; align-items: center; gap: 6px; }
/* V3 — beneficios + formulario */
.v3 { background: var(--gris); display: grid; grid-template-columns: 1fr 440px; }
@media (max-width: 820px){ .v3 { grid-template-columns: 1fr; } }
.v3-left { padding: 56px; display: flex; flex-direction: column; justify-content: center; }
.v3-left .sv-h { font-size: clamp(26px,3.2vw,36px); margin-top: 14px; }
.v3-list { list-style: none; padding: 0; margin: 24px 0 30px; display: flex; flex-direction: column; gap: 14px; }
.v3-list li { display: flex; align-items: flex-start; gap: 12px; font-family: var(--font-read); font-size: 15.5px; color: var(--ink-2); }
.v3-list i { color: var(--azul); font-size: 20px; flex: none; margin-top: 1px; }
.v3-right { background: #fff; border-left: 1px solid var(--line); padding: 48px; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 820px){ .v3-right { border-left: none; border-top: 1px solid var(--line); } }
.v3-right h3 { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--azul-900); margin: 0 0 20px; }
.sv-field { margin-bottom: 14px; }
.sv-field label { font-family: var(--font-brand); font-weight: 600; font-size: 13px; color: var(--ink-2); display: block; margin-bottom: 6px; }
.sv-field input, .sv-field textarea { width: 100%; font-family: var(--font-read); font-size: 15px; color: var(--ink); padding: 11px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); background: #fff; outline: none; }
.sv-field textarea { resize: vertical; min-height: 64px; }
.sv-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
/* V4 — niveles */
.v4 { background: #fff; padding: 52px; }
.v4-head { text-align: center; max-width: 620px; margin: 0 auto 32px; }
.v4-head .sv-h { font-size: clamp(26px,3.2vw,36px); }
.v4-head .sv-lead { margin-top: 12px; }
.v4-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 820px){ .v4-tiers { grid-template-columns: 1fr; } }
.tier { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px; display: flex; flex-direction: column; background: #fff; }
.tier.feat { border: 2px solid var(--azul); box-shadow: var(--shadow-blue, var(--shadow-lg)); position: relative; }
.tier.feat .tier-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--rojo); color: #fff; font-family: var(--font-brand); font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 14px; border-radius: var(--r-pill); }
.tier-ic { width: 52px; height: 52px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; font-size: 28px; color: #fff; }
.tier-n { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--azul-900); margin: 16px 0 4px; }
.tier-sub { font-family: var(--font-brand); font-weight: 600; font-size: 13px; color: var(--ink-3); }
.tier-list { list-style: none; padding: 0; margin: 20px 0 24px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.tier-list li { display: flex; align-items: flex-start; gap: 10px; font-family: var(--font-read); font-size: 14.5px; color: var(--ink-2); }
.tier-list i { color: var(--azul-claro); font-size: 18px; flex: none; margin-top: 1px; }
.tier.feat .tier-list i { color: var(--azul); }
.tier .btn { width: 100%; justify-content: center; }

/* ============================================================
   PROGRAMA — time-line schedule (/programa)
   Per day: sessions grouped by start time, color-coded by
   category. Each session is a <details> (tap to expand).
   Accent rotates via --ac (prog--azul / prog--rojo / prog--azulc).
   ============================================================ */
.programa { padding-top: 80px; }
/* --ac = bright accent (lines, dots, borders). --ac-fill/--ac-on = the
   text-bearing active fill, chosen so the label meets WCAG AA contrast. */
.prog--azul  { --ac: var(--azul);       --ac-ink: var(--azul-700); --ac-100: var(--azul-100); --ac-fill: var(--azul);       --ac-on: #fff; }
.prog--rojo  { --ac: var(--rojo);       --ac-ink: var(--rojo-700); --ac-100: #fdeced;          --ac-fill: var(--rojo-700);   --ac-on: #fff; }
.prog--azulc { --ac: var(--azul-claro); --ac-ink: var(--azul-700); --ac-100: #e6f7fe;          --ac-fill: var(--azul-claro); --ac-on: var(--azul-900); }
/* Amarillo is too light for white text — fill stays bright, text/lines go dark. */
.prog--amarillo { --ac: var(--amarillo-700); --ac-ink: var(--ink); --ac-100: var(--amarillo-100); --ac-fill: var(--amarillo); --ac-on: var(--ink); }

/* Category colors — left bar + legend dot (color = the track) */
.cat--panel       { --cc: var(--azul); }
.cat--taller      { --cc: var(--azul-claro); }
.cat--lectura     { --cc: var(--amarillo-700); }
.cat--conferencia { --cc: var(--azul-900); }
.cat--musica      { --cc: var(--rojo); }
.cat--ceremonia   { --cc: var(--rojo-700); }
.cat--otro        { --cc: var(--ink-3); }

/* Controls: day tabs + color legend (sticky) */
.prog-controls { position: sticky; top: 0; z-index: 50; background: #fff; padding: 14px 0; margin-bottom: 26px; border-bottom: 1px solid var(--line); box-shadow: 0 10px 20px -16px rgba(2,55,107,.3); }
.prog-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.prog-tab { flex: 0 1 auto; display: flex; flex-direction: column; gap: 2px; text-align: left; padding: 10px 18px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink); cursor: pointer; transition: transform .16s, box-shadow .16s, border-color .16s, background .16s; }
.prog-tab:hover { border-color: var(--ac); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.prog-tab__date { font-family: var(--font-brand); font-weight: 700; font-size: 15px; letter-spacing: -.01em; }
.prog-tab__theme { font-family: var(--font-brand); font-weight: 500; font-size: 12px; color: var(--ink-3); }
.prog-tab.is-active { background: var(--ac-fill); border-color: var(--ac-fill); color: var(--ac-on); box-shadow: var(--shadow-md); }
.prog-tab.is-active .prog-tab__theme { color: var(--ac-on); }

/* Day panel + header */
.prog-panel { animation: prog-fade .35s ease-out both; }
.prog-panel[hidden] { display: none; }
@keyframes prog-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.prog-dayhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-bottom: 16px; margin-bottom: 24px; border-bottom: 2px solid var(--ac); }
.prog-dayhead__label { font-family: var(--font-brand); font-weight: 700; font-size: clamp(1.4rem, 3.2vw, 1.9rem); line-height: 1.1; color: var(--ink); margin: 0; }
.prog-dayhead__honoree { display: inline-block; margin-top: 10px; font-family: var(--font-brand); font-weight: 600; font-size: 12.5px; letter-spacing: .02em; color: var(--ac-ink); background: var(--ac-100); padding: 4px 12px; border-radius: var(--r-pill); }
.prog-dayhead__hours { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-brand); font-weight: 600; font-size: 14px; color: var(--ac-ink); background: var(--ac-100); padding: 9px 16px; border-radius: var(--r-pill); white-space: nowrap; }
.prog-dayhead__hours i { font-size: 16px; }

/* Time-line: time rail + stacked sessions */
.tl { display: flex; flex-direction: column; }
.tl-slot { display: grid; grid-template-columns: 92px 1fr; gap: 20px; align-items: start; padding: 6px 0; }
.tl-time { font-family: var(--font-brand); font-weight: 700; font-size: 15px; color: var(--ac-ink); padding-top: 14px; white-space: nowrap; }
.tl-list { display: flex; flex-direction: column; gap: 10px; padding: 8px 0; min-width: 0; }

/* Session = native <details>, color-coded by category */
.tl-item { border: 1px solid var(--line); border-top: 3px solid var(--cc); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .16s, border-color .16s, transform .16s; scroll-margin-top: calc(var(--prog-top, 64px) + 72px); }
.tl-item:hover { box-shadow: var(--shadow-md); }
.tl-item.is-target { border-color: var(--cc); box-shadow: 0 0 0 3px var(--ac-100); }
.tl-item__head { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-lg); }
.tl-item__head::-webkit-details-marker { display: none; }
.tl-item__head:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: -2px; }
.tl-item__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.tl-item__title { font-family: var(--font-brand); font-weight: 600; font-size: 1rem; line-height: 1.3; color: var(--ink); text-wrap: pretty; }
/* Per-activity type tag: colored dot (category) + label, so the type is on the
   activity itself, not just the legend up top. */
.tl-item__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 6px; }
.tl-item__cat { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-brand); font-weight: 600; font-size: 11px; letter-spacing: .01em; color: var(--ink-2); }
.tl-item__catdot { width: 8px; height: 8px; border-radius: 50%; background: var(--cc); flex: none; }
.tl-item__room { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-brand); font-weight: 600; font-size: 12px; color: var(--ink-2); }
.tl-item__room i { font-size: 13px; color: var(--cc); }
.tl-item__chev { color: var(--ink-3); font-size: 16px; flex: none; transition: transform .2s ease; }
.tl-item[open] .tl-item__chev { transform: rotate(180deg); }
.tl-item__detail { padding: 0 16px 16px; }
.tl-item__people { font-family: var(--font-read); font-size: 0.97rem; line-height: 1.55; color: var(--ink-2); margin: 4px 0 0; padding-top: 12px; border-top: 1px solid var(--line); text-wrap: pretty; }
/* Structured participants: intro paragraph + spaced bullet list (shared by detail + modal) */
.tl-item__people p, .prog-modal__body p { margin: 0 0 .6rem; }
.tl-item__people p:last-child, .prog-modal__body p:last-child { margin-bottom: 0; }
.people-list { list-style: none; margin: .55rem 0 0; padding: 0; display: grid; gap: .55rem; }
.people-list li { position: relative; padding-left: 1.3em; line-height: 1.45; }
.people-list li::before { content: "•"; position: absolute; left: .2em; top: -.02em; color: var(--azul); font-weight: 700; }
.tl-actions { display: flex; gap: 8px; margin-top: 14px; }

/* Time-aware (festival days): past hidden unless toggled, current = "Ahora" */
.prog-panel.is-linear:not(.show-past) .tl-item.is-past { display: none; }
.tl-slot[hidden] { display: none; }
.tl-item.is-past { opacity: .5; }
.tl-item.is-now { border-color: var(--cc); box-shadow: 0 0 0 3px var(--ac-100); }
.tl-item.is-now .tl-item__title::after { content: "Ahora"; margin-left: 8px; font-family: var(--font-brand); font-weight: 700; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--rojo-700); padding: 2px 7px; border-radius: var(--r-pill); white-space: nowrap; vertical-align: middle; }
.prog-pastbar { margin: 0 0 18px; }
.prog-pasttoggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-family: var(--font-brand); font-weight: 600; font-size: 13px; color: var(--ac-ink); background: var(--ac-100); border: 1px solid transparent; border-radius: var(--r-pill); padding: 8px 16px; cursor: pointer; transition: .14s; }
.prog-pasttoggle:hover { border-color: var(--ac); }
.prog-pasttoggle__n { font-weight: 700; background: #fff; color: var(--ac-ink); border-radius: var(--r-pill); padding: 1px 8px; font-size: 11.5px; }
.prog-pasttoggle[aria-pressed="true"] .prog-pasttoggle__n { display: none; }

/* Action buttons + calendar menu + toast (shared) */
.prog-act { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; font-family: var(--font-brand); font-weight: 600; font-size: 12.5px; color: var(--ink-2); background: #fff; border: 1px solid var(--line-strong); border-radius: var(--r-pill); padding: 8px 16px; cursor: pointer; transition: .14s; }
.prog-act:hover { border-color: var(--ac); color: var(--ac-ink); background: var(--ac-100); }
.prog-act i { font-size: 15px; }
/* Brand focus ring on every program control (matches the site-wide pattern). */
.prog-tab:focus-visible, .pg-chip:focus-visible, .prog-act:focus-visible, .prog-pasttoggle:focus-visible, .prog-modal__x:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.prog-calmenu { position: absolute; z-index: 70; min-width: 198px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; display: none; }
.prog-calmenu.show { display: block; animation: prog-fade .16s ease-out both; }
.prog-calmenu button { width: 100%; display: flex; align-items: center; gap: 10px; font-family: var(--font-brand); font-weight: 600; font-size: 14px; color: var(--ink); background: none; border: none; padding: 10px 12px; border-radius: var(--r-sm); cursor: pointer; text-align: left; }
.prog-calmenu button:hover { background: var(--gris); }
.prog-calmenu i { font-size: 18px; color: var(--azul); }
.prog-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(14px); z-index: 210; background: var(--azul-900); color: #fff; font-family: var(--font-brand); font-weight: 600; font-size: 14px; padding: 12px 22px; border-radius: var(--r-pill); box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.prog-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 760px) {
  .programa { padding-top: 64px; }
  .prog-controls { padding: 11px 0; }
  .prog-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; gap: 8px; margin: 0 -4px; padding: 0 4px 2px; scrollbar-width: none; }
  .prog-tabs::-webkit-scrollbar { display: none; }
  .prog-tab { flex: 0 0 auto; }
  .prog-dayhead { align-items: flex-start; }
  .tl-slot { grid-template-columns: 1fr; gap: 2px; padding: 4px 0; }
  .tl-time { position: static; padding-top: 16px; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
  .tl-list { padding: 6px 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .prog-panel { animation: none; }
  .prog-tab, .tl-item, .tl-item__chev { transition: none; }
  .prog-tab:hover { transform: none; }
}

/* ===========================================================================
   Trails grid (Sáb/Dom): rooms = columns, time = rows. Below 900px it becomes
   a per-room "elige tu trail" selector. The session block (.tl-item) is shared
   with the linear layout; only the container + the in-cell time label change.
   =========================================================================== */
.pg-chips { display: none; }
.pg-corner, .pg-colhead, .pg-lane, .pg-headbar, .pg-slothead, .pg-gutterband { display: none; }

/* --- Desktop: real schedule table (solid header row + gridlines) --- */
@media (min-width: 900px) {
  .prog-grid {
    display: grid;
    grid-template-columns: 66px repeat(var(--cols), minmax(0, 1fr));
    gap: 0;
    border: 1px solid var(--line-strong);
  }
  /* Each hour is its own subgrid row: it bounds the sticky time label so the hour
     pins under the header while you scroll it, then hands off to the next hour. */
  .pg-slot { display: grid; grid-template-columns: subgrid; grid-column: 1 / -1; align-items: start; border-bottom: 1px solid var(--line); }

  /* Column backings + gridlines: gutter band (time column) + room lanes. */
  .pg-gutterband { display: block; grid-column: 1; z-index: 0; background: var(--gris); border-right: 1px solid var(--line); }
  .pg-lane { display: block; z-index: 0; background: #fff; border-right: 1px solid var(--line); }

  /* Header row: solid brand band, room labels, a "Hora" corner. */
  .pg-headbar { display: block; grid-column: 1 / -1; grid-row: 1; align-self: stretch; position: sticky; top: var(--prog-top, 64px); z-index: 4; background: var(--ac-fill); box-shadow: 0 7px 14px -12px rgba(2, 55, 107, .55); }
  .pg-corner { display: flex; align-items: flex-end; grid-column: 1; grid-row: 1; min-width: 0; position: sticky; top: var(--prog-top, 64px); left: 0; z-index: 6; background: var(--ac-fill); color: var(--ac-on); padding: 8px 8px 9px; font-family: var(--font-brand); font-weight: 800; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
  .pg-colhead {
    display: flex; align-items: flex-end; grid-row: 1; min-width: 0;
    position: sticky; top: var(--prog-top, 64px); z-index: 5;
    padding: 8px 12px 9px; border-left: 1px solid rgba(255, 255, 255, .2);
  }
  .pg-colhead span { font-family: var(--font-brand); font-weight: 700; font-size: 12.5px; line-height: 1.18; color: var(--ac-on); text-wrap: balance; }

  /* The hour: sticky within its slot → stays fixed under the header while scrolling. */
  .pg-slothead {
    display: flex; justify-content: flex-end; align-items: flex-start; grid-column: 1; min-width: 0;
    position: sticky; top: calc(var(--prog-top, 64px) + var(--prog-thead, 44px)); z-index: 3;
    padding: 12px 8px 12px 0; background: var(--gris);
    font-family: var(--font-brand); font-weight: 700; font-size: 12px; color: var(--ac-ink); white-space: nowrap;
  }
  .pg-cell { display: flex; flex-direction: column; gap: 8px; min-width: 0; z-index: 1; padding: 7px 8px 9px; }

  /* Session = a clickable card sitting in the table cell; category color top tick. */
  .prog-grid .tl-item { cursor: pointer; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--cc); border-radius: var(--r-sm); box-shadow: 0 1px 2px -1px rgba(2, 55, 107, .14); overflow: hidden; transition: box-shadow .16s, transform .16s, border-color .16s; }
  .prog-grid .tl-item:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
  .prog-grid .tl-item__head { padding: 10px 11px 11px; align-items: flex-start; gap: 8px; }
  .prog-grid .tl-item__room { display: none; } /* the column header conveys the room on desktop */
  .prog-grid .tl-item__title { font-size: .9rem; font-weight: 700; line-height: 1.3; color: var(--ink); overflow-wrap: anywhere; hyphens: auto; text-wrap: pretty; }
  .programa.has-js .prog-grid .tl-item__chev { display: none; }
  .programa.has-js .prog-grid .tl-item__detail { display: none; }
}

/* --- Mobile/tablet: per-room trail selector --- */
.pg-chip {
  flex: 0 0 auto; display: inline-flex; align-items: center; font-family: var(--font-brand); font-weight: 600; font-size: 13px;
  color: var(--ink-2); background: #fff; border: 1.5px solid var(--line-strong);
  border-radius: var(--r-pill); padding: 9px 16px; min-height: 44px; cursor: pointer; white-space: nowrap; transition: .14s;
}
.pg-chip:hover { border-color: var(--ac); }
.pg-chip.is-active { background: var(--ac-fill); border-color: var(--ac-fill); color: var(--ac-on); }

@media (max-width: 899px) {
  .prog-grid { display: block; }
  .pg-slot { display: block; }
  /* Time marker sticks under the chips while you scroll its hour, until the next
     hour pushes it up (each header is sticky within its own .pg-slot). */
  .pg-slothead { display: flex; align-items: center; position: sticky; top: calc(var(--prog-top, 56px) + var(--prog-chips, 58px)); z-index: 2; background: var(--ac-fill); color: var(--ac-on); font-family: var(--font-brand); font-weight: 800; font-size: .85rem; letter-spacing: .04em; margin: 20px 0 12px; padding: 9px 15px; border-radius: var(--r-sm); box-shadow: 0 7px 13px -10px rgba(2, 55, 107, .45); }
  .pg-cell { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
  .programa.has-js .pg-chips {
    display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 8px;
    margin: 0 -4px 12px; padding: 8px 4px 11px; scrollbar-width: none;
    position: sticky; top: var(--prog-top, 56px); z-index: 3;
    background: #fff; box-shadow: 0 10px 13px -11px rgba(2, 55, 107, .5);
  }
  .programa.has-js .pg-chips::-webkit-scrollbar { display: none; }
  /* Default = the whole day, in time order. Choosing a room hides the
     non-matching cards and any hour left empty. */
  .programa.has-js .pg-cell.cell-hidden { display: none; }
  .programa.has-js .pg-slot.slot-hidden { display: none; }
}

/* --- Desktop detail dialog (opened on cell click) --- */
.prog-modal { border: none; padding: 0; max-width: 560px; width: calc(100% - 32px); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-lg); color: var(--ink); }
.prog-modal::backdrop { background: rgba(2, 55, 107, .42); backdrop-filter: blur(2px); }
.prog-modal__in { position: relative; padding: 28px 30px 26px; border-top: 4px solid var(--cc, var(--azul)); border-radius: var(--r-lg); }
.prog-modal__x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: none; background: var(--gris); color: var(--ink-2); border-radius: 50%; cursor: pointer; font-size: 20px; transition: .14s; }
.prog-modal__x:hover { background: var(--azul-100); color: var(--azul-700); }
.prog-modal__kicker { font-family: var(--font-brand); font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--cc, var(--azul)); margin: 0 40px 8px 0; }
.prog-modal__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 1.85rem); line-height: 1.12; color: var(--ink); margin: 0 30px 12px 0; text-wrap: balance; }
.prog-modal__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--font-brand); font-weight: 600; font-size: 13px; color: var(--ink-3); margin: 0 0 16px; }
.prog-modal__meta b { color: var(--ink-2); font-weight: 600; }
.prog-modal__body { font-family: var(--font-read); font-size: 1rem; line-height: 1.6; color: var(--ink-2); margin: 0 0 22px; text-wrap: pretty; }
.prog-modal__acts { display: flex; gap: 8px; }

@media (prefers-reduced-motion: reduce) {
  .prog-grid .tl-item:hover { transform: none; }
}

/* Home day cards as links ------------------------------------ */
.hcard--link { display: block; text-decoration: none; color: inherit; }
.hcard__theme { font-family: var(--font-brand); font-weight: 700; font-size: 14px; color: var(--azul-900); margin: 0 0 6px; line-height: 1.25; }
.hcard__honoree { display: inline-block; font-family: var(--font-brand); font-weight: 600; font-size: 11.5px; letter-spacing: .02em; color: var(--azul-700); background: color-mix(in srgb, var(--hc, var(--azul)) 12%, #fff); padding: 3px 10px; border-radius: var(--r-pill); margin-bottom: 6px; }
.hcard.is-today { outline: 2px solid var(--hc, var(--azul)); outline-offset: 3px; }
.hcard__today { display: inline-block; font-family: var(--font-brand); font-weight: 800; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--rojo); padding: 3px 11px; border-radius: var(--r-pill); margin-bottom: 12px; }
.hcard__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-family: var(--font-brand); font-weight: 700; font-size: 13px; color: var(--hc, var(--azul)); }
.hcard__go i { transition: transform .16s; }
.hcard--link:hover .hcard__go i { transform: translateX(4px); }
.hcard--link:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }

/* Cookie consent banner ------------------------------------- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 180; animation: cookie-up .4s cubic-bezier(.16, 1, .3, 1) both; }
.cookie-banner[hidden] { display: none; }
@keyframes cookie-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cookie-banner__in { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--line-strong); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 16px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.cookie-banner__text { flex: 1 1 320px; margin: 0; font-family: var(--font-read); font-size: .95rem; line-height: 1.55; color: var(--ink-2); }
.cookie-banner__text strong { color: var(--ink); font-family: var(--font-brand); font-weight: 700; }
.cookie-banner__link { color: var(--azul); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner__link:hover { text-decoration: none; }
.cookie-banner__actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cookie-banner__btn { min-height: 44px; padding: 10px 22px; border-radius: var(--r-pill); font-family: var(--font-brand); font-weight: 700; font-size: 14px; cursor: pointer; border: 1.5px solid transparent; transition: background .14s, border-color .14s, color .14s; }
.cookie-banner__btn--accept { background: var(--azul); color: #fff; }
.cookie-banner__btn--accept:hover { background: var(--azul-700); }
.cookie-banner__btn--ghost { background: #fff; color: var(--ink-2); border-color: var(--line-strong); }
.cookie-banner__btn--ghost:hover { border-color: var(--azul); color: var(--azul-700); }
.cookie-banner__btn:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
@media (max-width: 560px) {
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; }
  .cookie-banner__in { flex-direction: column; align-items: stretch; padding: 16px; }
  .cookie-banner__text { flex: 0 0 auto; }
  .cookie-banner__actions { justify-content: stretch; }
  .cookie-banner__btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .cookie-banner { animation: none; } }

/* ============================================================
   AHORA EN EL FESTIVAL — live-now rail (homepage, data-live-now)
   Hidden outside festival days/hours; fldc.js fills En curso /
   A continuación from the server-rendered pool every minute.
   ============================================================ */
.live-now { background: #fff; }
.live-now .ln-head { text-align: center; max-width: 640px; margin: 0 auto 34px; }
.live-now .ln-head h2 em { font-style: italic; font-weight: 500; color: var(--rojo); }
.ln-live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-brand); font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--rojo-700); margin-bottom: 12px; }
.ln-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rojo); box-shadow: 0 0 0 0 rgba(236, 28, 36, .45); animation: ln-pulse 1.8s ease-out infinite; }
@keyframes ln-pulse {
  0% { box-shadow: 0 0 0 0 rgba(236, 28, 36, .45); }
  70% { box-shadow: 0 0 0 9px rgba(236, 28, 36, 0); }
  100% { box-shadow: 0 0 0 0 rgba(236, 28, 36, 0); }
}
.ln-sub { font-family: var(--font-ui); font-size: 13.5px; color: var(--ink-3); margin-top: 10px; }
.ln-group { max-width: 860px; margin: 0 auto 26px; }
.ln-subhead { font-family: var(--font-brand); font-weight: 700; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; color: var(--azul-900); margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
.ln-subhead::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.ln-subhead--now { color: var(--rojo-700); }
.ln-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 10px; }
.ln-list:has(.ln-item:only-child) { grid-template-columns: minmax(0, 520px); justify-content: center; }
.ln-item { display: flex; align-items: flex-start; gap: 12px; padding: 13px 15px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.ln-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--azul-200); }
.ln-item:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.ln-time { flex: 0 0 auto; font-family: var(--font-brand); font-weight: 800; font-size: 12.5px; letter-spacing: .02em; color: var(--azul-700); background: var(--azul-100); border-radius: var(--r-pill); padding: 5px 11px; margin-top: 1px; white-space: nowrap; }
.ln-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ln-title { font-family: var(--font-brand); font-weight: 700; font-size: 15px; line-height: 1.3; color: var(--ink); }
.ln-room { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-ui); font-size: 12.5px; color: var(--ink-3); }
.ln-room i { color: var(--azul-400); font-size: 13px; }
.ln-group[data-ln-group="next"] .ln-time { background: var(--gris); color: var(--ink-2); }
.ln-cta { text-align: center; margin-top: 6px; }
.ln-pool { display: none; }
@media (prefers-reduced-motion: reduce) { .ln-dot { animation: none; } }
