/* =================================================================
   MAGNO EVENTO GUADALUPANO · Congreso & Concierto
   Sistema visual: luz cálida — marfil, oro antiguo y luz dorada.
   Tipografía y motivos de DESIGN.md; paleta clara según referencia.
   ================================================================= */

/* ----------  FUENTES  ----------
   Títulos: "The Seasons" (si la licencias, descomenta el @font-face
   y coloca los archivos en assets/fonts/). Fallback: Cinzel.
*/
/*
@font-face {
  font-family: "The Seasons";
  src: url("../fonts/TheSeasons-Regular.woff2") format("woff2");
  font-weight: 400; font-display: swap;
}
*/

/* ----------  TOKENS  ---------- */
:root {
  /* Fondo cálido (degradado de marfil a taupe) */
  --ivory:  #f7efe5;
  --cream:  #f1e9dc;
  --sand:   #ebe1d0;
  --taupe:  #d4cab8;
  --greige: #bcb2a1;
  --stone:  #a79d8d;

  /* Tinta / texto */
  --ink:       #2a2318;   /* títulos */
  --ink-soft:  #4a4233;   /* subtítulos */
  --body:      #5d5446;   /* cuerpo */
  --muted:     #8c8273;   /* secundario */

  /* Oro antiguo */
  --gold:      #a97e22;
  --gold-deep: #8a6514;
  --gold-soft: #c19a3e;
  --gold-line: rgba(169, 126, 34, 0.30);
  --gradient-gold: linear-gradient(135deg, #cda64e 0%, #b0842a 45%, #8a6514 100%);

  /* Tarjetas / superficies */
  --card:        #f7f1e4;
  --card-border: rgba(169, 126, 34, 0.22);
  --shadow-sm: 0 10px 30px -20px rgba(70, 52, 18, 0.45);
  --shadow:    0 26px 60px -34px rgba(70, 52, 18, 0.55);

  /* Tipografía */
  --font-display: "The Seasons", "Cinzel", Georgia, serif;
  --font-body:    "Cormorant Garamond", Georgia, serif;

  /* Layout */
  --margin: clamp(24px, 6vw, 80px);
  --gutter: 32px;
  --section-gap: clamp(80px, 11vw, 140px);
  --measure: 62ch;
  --maxw: 1180px;
  --header-h: 76px;
  --radius: 14px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ----------  RESET  ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  background: var(--ivory);
}

body {
  min-height: 100%;
  color: var(--body);
  font-family: var(--font-body);
  font-size: clamp(1.08rem, 0.5vw + 1rem, 1.28rem);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* Fondo claro y uniforme (cálido) para una lectura integrada */
  background: linear-gradient(180deg, #f7efe5 0%, #f4ecdf 50%, #f1e8d8 100%);
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }

::selection { background: var(--gold-soft); color: #2a2010; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--gold); color: #fff;
  padding: 12px 20px; font-family: var(--font-body); letter-spacing: .06em;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ----------  TIPOGRAFÍA UTILITARIA  ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 3.2vw, 2.3rem);
  line-height: 1.18;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink);
}
.headline.small { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

.eyebrow {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.1em;
}
.eyebrow.spaced { margin-top: clamp(56px, 8vw, 100px); }

.mini-head {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.6em;
}

.center { text-align: center; }

.prose p { color: var(--body); }
.prose p + p { margin-top: 1.05em; }
.prose.measure { max-width: var(--measure); }
.prose.center.measure { margin-left: auto; margin-right: auto; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose em { font-style: italic; color: var(--ink-soft); }
.prose .lead {
  font-style: italic; font-size: 1.15em; color: var(--gold-deep);
  margin-bottom: 0.4em;
}
.prose.block { margin-top: clamp(40px, 6vw, 72px); }

.note {
  font-style: italic; color: var(--muted);
  font-size: 0.95rem; letter-spacing: 0.03em; margin-top: 22px;
}

/* ----------  LAYOUT  ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--margin);
}
.container.narrow { max-width: 860px; }

.section { position: relative; padding-block: var(--section-gap); }
.section .container + .container { margin-top: clamp(56px, 8vw, 110px); }

/* ----------  HEADER / NAV  ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(247, 239, 229, 0.82);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  border-bottom-color: var(--gold-line);
  box-shadow: 0 10px 30px -26px rgba(70,52,18,.5);
}
.nav-inner {
  width: 100%; max-width: var(--maxw); margin-inline: auto;
  padding-inline: var(--margin);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand-logo { height: clamp(48px, 4vw, 58px); width: auto; }

.nav-list { display: flex; align-items: center; gap: clamp(16px, 1.9vw, 32px); }
.nav-list a {
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  position: relative;
  padding-block: 6px;
  transition: color .3s var(--ease);
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-list a:hover { color: var(--gold-deep); }
.nav-list a:hover::after { transform: scaleX(1); }
.nav-cta {
  border: 1px solid var(--gold); border-radius: 999px;
  padding: 8px 20px !important;
  color: var(--gold-deep) !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--gold); color: #fff !important; }

.nav-toggle { display: none; width: 42px; height: 42px; position: relative; z-index: 95; }
.nav-toggle span {
  display: block; width: 24px; height: 1.6px; background: var(--ink);
  margin: 5px auto; transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ----------  HERO  ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 36px) var(--margin) 110px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("../img/hero-light.jpg") center top / cover no-repeat;
  z-index: 0;
}
.hero-veil {
  position: absolute; inset: 0; z-index: 1;
  /* Banda vertical para legibilidad del texto (anclada al viewport,
     funciona en cualquier ancho) + fundido inferior a marfil */
  background:
    radial-gradient(95% 58% at 50% 40%, rgba(24, 15, 2, 0.42) 0%, rgba(24,15,2,0.16) 60%, rgba(24,15,2,0) 82%),
    linear-gradient(180deg,
      rgba(24,15,2,0.22) 0%,
      rgba(24,15,2,0.48) 30%,
      rgba(24,15,2,0.50) 56%,
      rgba(24,15,2,0.18) 76%,
      rgba(247,239,229,0.45) 88%,
      var(--ivory) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 900px; }

.hero-eyebrow {
  font-family: var(--font-body);
  font-style: italic;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: clamp(0.78rem, 1.4vw, 1rem);
  color: #f4e4bf;
  text-shadow: 0 1px 3px rgba(34,23,4,.6), 0 2px 14px rgba(34,23,4,.5);
  margin-bottom: clamp(20px, 3.5vw, 34px);
}
.hero-eyebrow .amp { color: #ffe9b0; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 7.4vw, 5.6rem);
  line-height: 1.05;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 2px rgba(24, 16, 2, 0.6), 0 2px 12px rgba(24, 16, 2, 0.55), 0 4px 30px rgba(24, 16, 2, 0.5);
}
.hero-sub {
  font-style: italic;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  color: #fff;
  text-shadow: 0 1px 4px rgba(38,26,5,.6), 0 3px 22px rgba(38,26,5,.5);
  margin-top: clamp(14px, 2vw, 22px);
}

/* Cuenta regresiva (sin caja: solo etiqueta + números) */
.count-panel { margin: clamp(34px, 5vw, 52px) auto 0; }
.count-label-top {
  font-family: var(--font-body); font-style: italic;
  letter-spacing: 0.26em; text-transform: uppercase;
  font-size: 0.82rem; color: #f4e4bf; margin-bottom: 16px;
  text-shadow: 0 1px 3px rgba(34,23,4,.6), 0 2px 12px rgba(34,23,4,.5);
}
.countdown { display: flex; align-items: flex-start; justify-content: center; gap: clamp(10px, 2vw, 26px); }
.count-unit { display: flex; flex-direction: column; align-items: center; min-width: clamp(54px, 11vw, 86px); }
.count-num {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2rem, 5.6vw, 3.3rem); line-height: 1;
  color: #fff;
  text-shadow: 0 2px 4px rgba(74,52,14,.55), 0 4px 24px rgba(74,52,14,.5);
  font-variant-numeric: tabular-nums;
}
.count-label {
  margin-top: 10px; font-family: var(--font-body); font-style: italic;
  letter-spacing: 0.12em; text-transform: uppercase;
  font-size: clamp(0.66rem, 1.1vw, 0.82rem); color: #fff;
  text-shadow: 0 1px 3px rgba(74,52,14,.6), 0 2px 12px rgba(74,52,14,.5);
}
.count-sep {
  font-family: var(--font-display); font-size: clamp(1.4rem, 4vw, 2.3rem);
  color: rgba(255,255,255,.75); line-height: 1; margin-top: clamp(4px, 1vw, 8px);
  text-shadow: 0 2px 12px rgba(74,52,14,.5);
}

.hero-place {
  margin-top: clamp(22px, 3vw, 30px);
  font-style: italic; letter-spacing: 0.14em; text-transform: uppercase;
  font-size: clamp(0.85rem, 1.4vw, 1rem); color: #f3e6cf;
  text-shadow: 0 1px 3px rgba(34,23,4,.6), 0 2px 12px rgba(34,23,4,.5);
}

/* Scroll cue */
.scroll-cue {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-body); font-style: italic; letter-spacing: 0.2em;
  text-transform: uppercase; font-size: 0.72rem; color: var(--gold-deep);
}
.scroll-line { width: 1px; height: 44px; background: linear-gradient(var(--gold), transparent); animation: scrollPulse 2.4s var(--ease) infinite; }
@keyframes scrollPulse { 0%,100% { opacity: .3; transform: scaleY(.7); } 50% { opacity: 1; transform: scaleY(1); } }

/* ----------  BOTONES  ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 1.02rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 14px 32px; border: 1px solid transparent; border-radius: 999px;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gradient-gold); color: #fff; font-weight: 600; box-shadow: var(--shadow-sm); }
.btn-primary:hover { filter: brightness(1.06); box-shadow: var(--shadow); }
.btn-pill { background: rgba(255,255,255,.85); border-color: var(--gold-line); color: var(--ink); }
.btn-pill:hover { background: #fff; border-color: var(--gold); color: var(--gold-deep); }
.btn-block { width: 100%; }

/* WhatsApp */
.btn-whatsapp {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  margin-top: 28px;
  font-family: var(--font-body); font-size: 1.02rem; letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 600;
  padding: 13px 26px; border-radius: 999px;
  background: #1fa855; color: #fff;
  box-shadow: 0 14px 34px -20px rgba(31,168,85,.9);
  transition: background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn-whatsapp:hover { background: #178a45; transform: translateY(-2px); box-shadow: 0 18px 40px -20px rgba(31,168,85,.9); }
.btn-whatsapp .wa-icon { width: 22px; height: 22px; fill: currentColor; flex: 0 0 auto; }

.wa-fab {
  position: fixed; right: clamp(16px, 3vw, 30px); bottom: clamp(16px, 3vw, 30px);
  z-index: 120; width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25d366; color: #fff;
  box-shadow: 0 12px 30px -8px rgba(18,12,4,.45);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.wa-fab svg { width: 32px; height: 32px; fill: #fff; }
.wa-fab:hover { transform: scale(1.08); box-shadow: 0 16px 36px -8px rgba(18,12,4,.5); }
@media (prefers-reduced-motion: no-preference) {
  .wa-fab { animation: waPulse 3.6s ease-in-out infinite; }
}
@keyframes waPulse {
  0%, 92%, 100% { box-shadow: 0 12px 30px -8px rgba(18,12,4,.45), 0 0 0 0 rgba(37,211,102,.5); }
  96% { box-shadow: 0 12px 30px -8px rgba(18,12,4,.45), 0 0 0 14px rgba(37,211,102,0); }
}

/* ----------  PENTAGRAMA (firma: "la música en el manto")  ---------- */
.staff {
  position: relative;
  height: 72px;
  margin-block: clamp(40px, 6vw, 84px);
  display: flex; align-items: center; justify-content: center;
}
.staff::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  transform: translateY(-50%); height: 50px;
  background: repeating-linear-gradient(to bottom, transparent 0 10px, var(--gold-line) 10px 11px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%, #000 76%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 24%, #000 76%, transparent);
}
.staff .clef {
  position: relative; z-index: 1;
  font-size: 62px; line-height: 1; color: var(--gold-deep);
}

/* ----------  EL CAMINO · TIMELINE  ---------- */
.timeline { max-width: 560px; margin: clamp(48px, 7vw, 84px) auto; }
.timeline li { text-align: center; }
.timeline .tl-entry { padding-block: 6px; }
.tl-year {
  display: block;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.6rem, 4.4vw, 2.5rem); letter-spacing: 0.1em;
  background: var(--gradient-gold);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}
.tl-text { display: block; font-style: italic; font-size: 1.08rem; color: var(--ink-soft); }
.tl-text.muted { color: var(--muted); font-size: 1rem; }
.timeline .is-goal .tl-year { font-size: clamp(1.9rem, 5vw, 2.9rem); }
.tl-sep {
  display: block; width: 1px; height: clamp(28px, 5vw, 44px);
  margin: 14px auto; background: linear-gradient(var(--gold-line), var(--gold), var(--gold-line));
  position: relative;
}
.tl-sep::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 6px; height: 6px; transform: translate(-50%, -50%) rotate(45deg);
  background: var(--gold);
}

/* ----------  PULLQUOTES / FRASES  ---------- */
.pullquote {
  max-width: 760px; margin: clamp(52px, 8vw, 100px) auto 0;
  text-align: center; padding-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--gold-line);
}
.pullquote blockquote {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.35rem, 3.2vw, 2.2rem); line-height: 1.2;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--gold-deep);
}
.pullquote figcaption {
  margin-top: 1.05em; font-style: italic; font-size: 1.1rem;
  color: var(--body); max-width: 56ch; margin-inline: auto;
}

.grand-quote {
  text-align: center; font-style: italic;
  font-size: clamp(1.35rem, 3.4vw, 2.1rem); line-height: 1.35;
  color: var(--ink);
  max-width: 24ch; margin: clamp(40px, 6vw, 76px) auto;
}
.grand-quote::before, .grand-quote::after {
  content: ""; display: block; width: 44px; height: 1px;
  background: var(--gold); margin: 22px auto;
}

/* ----------  LA MÚSICA · VIDEOS (círculos)  ---------- */
.voices {
  display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 64px);
  justify-content: center; margin-top: clamp(36px, 5vw, 56px);
}
.voice-card { text-align: center; }
.voice-thumb {
  width: clamp(120px, 16vw, 168px); aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: radial-gradient(circle at 50% 35%, #fbf5e9, #e9dec9);
  display: flex; align-items: center; justify-content: center; margin: 0 auto;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.voice-card:hover .voice-thumb { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.voice-thumb .play {
  width: 52px; height: 52px; border: 1px solid var(--gold);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--gold-deep); font-size: 15px; padding-left: 3px;
}
.voice-tag {
  margin-top: 16px; font-style: italic; letter-spacing: 0.14em;
  text-transform: uppercase; font-size: 0.8rem; color: var(--muted);
}

/* ----------  CONGRESO · SPEAKERS  ---------- */
.speakers {
  display: grid; gap: clamp(36px, 5vw, 60px);
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(44px, 6vw, 72px);
}
.speaker { text-align: center; }
.portrait {
  width: clamp(140px, 17vw, 190px); aspect-ratio: 1;
  margin: 0 auto 24px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  padding: 7px;
  position: relative;
}
.portrait::after {
  content: attr(data-monogram);
  position: absolute; inset: 7px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); letter-spacing: 0.06em; font-weight: 500;
  font-size: clamp(1.8rem, 4.5vw, 2.6rem); color: var(--gold-deep);
  background: radial-gradient(circle at 50% 38%, #f6efe1, #e2d6bf);
  z-index: 0;
}
.portrait img {
  position: relative; z-index: 1;
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
  background: #e2d6bf;
}
.portrait img.img-missing { opacity: 0; }

.speaker-name {
  font-family: var(--font-body); font-style: italic; font-weight: 600;
  font-size: clamp(1.15rem, 1.7vw, 1.38rem); line-height: 1.25;
  color: var(--ink); margin-bottom: 8px;
}
.speaker-role {
  font-family: var(--font-body); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  font-size: 0.8rem; color: var(--gold-deep); margin-bottom: 15px;
}
.speaker-bio { font-size: 1.02rem; color: var(--body); line-height: 1.6; }

/* ----------  CONCIERTO · DIRECTOR (card)  ---------- */
.director {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(26px, 4vw, 52px);
  align-items: center; max-width: 880px; margin: clamp(36px, 5vw, 56px) auto 0;
  text-align: left;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(28px, 4vw, 48px);
}
.portrait-lg { width: clamp(150px, 20vw, 210px); margin: 0; }
.director-text .speaker-name { font-size: clamp(1.35rem, 2.3vw, 1.7rem); }
.director-text .speaker-role { margin-bottom: 14px; }

/* ----------  SEDE (card metálica)  ---------- */
.section-sede .container { max-width: 1040px; }
.sede-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: clamp(360px, 52vw, 520px);
  display: flex; align-items: flex-end;
  box-shadow: var(--shadow);
  background:
    linear-gradient(160deg, #fbfaf8 0%, #e7e2da 30%, #cdbf9f 64%, #6f6452 100%);
}
.sede-card .sede-photo {
  position: absolute; inset: 0; object-fit: cover; z-index: 0;
}
.sede-card .sede-photo.img-missing { display: none; }
.sede-card .sede-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(18,12,4,0) 38%, rgba(18,12,4,.4) 72%, rgba(18,12,4,.82) 100%);
}
.sede-card .sede-watermark {
  position: absolute; top: clamp(28px, 5vw, 52px); left: 0; right: 0; z-index: 1;
  text-align: center; font-family: var(--font-display); letter-spacing: 0.3em;
  font-size: clamp(1.4rem, 4vw, 2.4rem); color: rgba(90, 74, 40, 0.32);
}
.sede-overlay {
  position: relative; z-index: 2; width: 100%;
  padding: clamp(28px, 4vw, 48px);
  text-align: center;
}
.sede-overlay .eyebrow { color: #f4e4bf; margin-bottom: .6em; }
.sede-overlay .display { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.sede-place { color: #f3ead7; font-style: italic; letter-spacing: 0.12em; text-transform: uppercase; margin: 16px 0 24px; text-shadow: 0 1px 12px rgba(0,0,0,.4); }

/* ----------  FAQ  ---------- */
.faq { margin-top: clamp(44px, 6vw, 64px); border-top: 1px solid var(--gold-line); }
.faq-item { border-bottom: 1px solid var(--gold-line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  text-align: left; padding: clamp(22px, 3vw, 28px) 4px;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.02rem, 1.9vw, 1.32rem); letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--ink);
  transition: color .3s var(--ease);
}
.faq-q:hover { color: var(--gold-deep); }
.faq-icon { position: relative; width: 18px; height: 18px; flex: 0 0 auto; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: var(--gold);
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.faq-icon::before { left: 0; top: 50%; width: 18px; height: 1.6px; transform: translateY(-50%); }
.faq-icon::after  { top: 0; left: 50%; height: 18px; width: 1.6px; transform: translateX(-50%); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: translateX(-50%) scaleY(0); opacity: 0; }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 4px clamp(22px, 3vw, 30px); color: var(--body); font-size: 1.08rem; max-width: 72ch; }

/* ----------  CONTACTO  ---------- */
.contact-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 76px);
  margin-top: clamp(52px, 6vw, 72px); text-align: left; align-items: start;
}
.contact-info .eyebrow { margin-bottom: 26px; display: block; }
.contact-list li { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; font-size: 1.1rem; color: var(--body); }
.contact-list .ci-icon { color: var(--gold-deep); font-size: 1.15rem; width: 24px; text-align: center; }
.contact-list a { transition: color .3s var(--ease); }
.contact-list a:hover { color: var(--gold-deep); }

.socials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.social {
  font-family: var(--font-body); font-style: italic; letter-spacing: 0.06em;
  font-size: 0.92rem; color: var(--ink-soft);
  border: 1px solid var(--gold-line); border-radius: 999px; padding: 8px 18px;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.social:hover { border-color: var(--gold); color: var(--gold-deep); background: rgba(255,255,255,.5); }

.contact-form {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(28px, 4vw, 44px);
}
.contact-form .field { margin-bottom: 24px; }
.contact-form label {
  display: block; margin-bottom: 8px;
  font-family: var(--font-body); font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; font-size: 0.76rem; color: var(--gold-deep);
}
.contact-form input, .contact-form textarea {
  width: 100%; background: rgba(255,255,255,.5); color: var(--ink);
  border: none; border-bottom: 1px solid var(--muted);
  padding: 11px 4px; font-family: var(--font-body); font-size: 1.1rem;
  transition: border-color .3s var(--ease), background .3s var(--ease);
  border-radius: 0;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-bottom-color: var(--gold); background: rgba(255,255,255,.85); }
.contact-form textarea { resize: vertical; min-height: 96px; }
.form-note { margin-top: 16px; font-style: italic; color: var(--gold-deep); min-height: 1.2em; }

/* ----------  FOOTER  ---------- */
.site-footer {
  border-top: 1px solid var(--gold-line);
  padding-block: clamp(52px, 7vw, 84px);
  text-align: center;
}
.footer-logo { height: 50px; width: auto; margin: 0 auto 24px; opacity: .92; }
.footer-tag { font-style: italic; font-size: 1.15rem; color: var(--ink-soft); max-width: 48ch; margin: 0 auto 14px; }
.footer-meta { letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); font-size: 0.9rem; margin-bottom: 22px; }
.footer-copy { font-size: 0.9rem; color: var(--muted); letter-spacing: 0.03em; }
.amp { color: var(--gold-deep); }

/* ----------  REVEAL  ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ----------  RESPONSIVE  ---------- */
/* Compacta el nav en anchos intermedios para mantener los enlaces visibles */
@media (max-width: 1040px) {
  .nav-inner { gap: 16px; }
  .nav-list { gap: clamp(13px, 1.7vw, 22px); }
  .nav-list a { font-size: 0.95rem; }
}
@media (max-width: 820px) {
  .nav-inner { padding-inline: clamp(18px, 3.5vw, 36px); gap: 12px; }
  .nav-list { gap: 12px; }
  .nav-list a { font-size: 0.9rem; letter-spacing: 0.02em; }
  .nav-cta { padding: 7px 13px !important; }
}

/* Apilado de rejillas en tablet */
@media (max-width: 880px) {
  .speakers { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .director { grid-template-columns: 1fr; text-align: center; }
  .portrait-lg { margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* Menú de hamburguesa solo cuando el espacio es realmente reducido */
@media (max-width: 680px) {
  :root { --header-h: 64px; }
  .nav { position: fixed; inset: 0; z-index: 90;
    background: rgba(247, 239, 229, 0.97); backdrop-filter: blur(18px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
  .nav.open { opacity: 1; pointer-events: auto; }
  .nav-list { flex-direction: column; gap: 26px; text-align: center; }
  .nav-list a { font-size: 1.5rem; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .07em; color: var(--ink); }
  .nav-cta { border: none; padding: 0 !important; color: var(--gold-deep) !important; }
  .nav-toggle { display: block; }
}

@media (max-width: 560px) {
  .countdown { gap: 8px; }
  .count-sep { display: none; }
  .countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .staff .clef { font-size: 48px; }
  .grand-quote::before, .grand-quote::after { width: 32px; }
}

/* ----------  MOTION REDUCIDO  ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .scroll-line { animation: none; }
}
