/* ==========================================================================
   Coro Molto Vivace — estilos
   Paleta heredada de la web original: azul marino, dorado y crema
   ========================================================================== */

@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/lato-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/lato-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/lato-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/lato-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --navy-900: #0d1b31;
  --navy-800: #122540;
  --navy: #162c4d;
  --navy-600: #24406a;
  --gold: #bb900a;
  --gold-600: #9c7808;
  --gold-300: #e2c264;
  --gold-200: #f4c739;
  --cream: #f5f0e5;
  --cream-200: #eee8d8;
  --ivory: #fcfcf4;
  --ink: #1d2433;
  --muted: #5b6475;
  --white: #fff;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px -12px rgba(13, 27, 49, .25);
  --shadow-lg: 0 24px 60px -20px rgba(13, 27, 49, .35);
  --header-h: 76px;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden]:not(.lightbox) { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-600); }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--navy); line-height: 1.2; margin: 0 0 .6em; letter-spacing: .005em; }
h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); }
:focus-visible { outline: 3px solid var(--gold-200); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold-300); color: var(--navy-900); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--gold); color: var(--white); padding: .6rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; color: var(--white); }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--gold); --fg: var(--white); --bd: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.5rem;
  font: 700 .82rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  color: var(--fg); background: var(--bg); border: 1.5px solid var(--bd); border-radius: 999px;
  cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(187, 144, 10, .7); color: var(--fg); background: var(--gold-600); border-color: var(--gold-600); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { --bg: transparent; --fg: var(--white); --bd: rgba(255, 255, 255, .6); }
.btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); box-shadow: none; }
.btn--outline { --bg: transparent; --fg: var(--navy); --bd: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); border-color: var(--navy); box-shadow: none; }

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background .35s, box-shadow .35s, height .35s;
}
.site-header.is-solid, .site-header.is-open { background: rgba(13, 27, 49, .96); box-shadow: 0 6px 24px -12px rgba(0, 0, 0, .5); backdrop-filter: blur(8px); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 50px; width: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35)); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(.6rem, 1.6vw, 1.7rem); }
.nav a:not(.btn) {
  position: relative; color: var(--white); text-decoration: none;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: .5rem 0;
}
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold-200); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.nav .btn { min-height: 42px; padding: .6rem 1.15rem; }
.nav-toggle { display: none; }

@media (max-width: 1060px) {
  .nav-toggle {
    display: inline-grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%;
    background: transparent; color: var(--white); cursor: pointer;
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; position: relative; }
  .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
  .nav-toggle span::before { top: -7px; }
  .nav-toggle span::after { top: 7px; }
  .is-open .nav-toggle span { background: transparent; }
  .is-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
  .is-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    background: var(--navy-900); padding: 1rem 1.25rem 2rem;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .is-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav li:last-child { border: 0; padding-top: 1.25rem; }
  .nav a:not(.btn) { display: block; padding: 1rem .25rem; font-size: .95rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { width: 100%; min-height: 52px; }
}

/* ---------- Portada ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end;
  color: var(--white); overflow: hidden; background: var(--navy-900);
}
.hero__media, .hero__media video, .hero__media picture, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media video { opacity: 0; transition: opacity 1.2s; }
.hero__media video.is-playing { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 27, 49, .7) 0%, rgba(13, 27, 49, .05) 28%, rgba(13, 27, 49, .15) 50%, rgba(13, 27, 49, .92) 100%);
}
.hero__content { position: relative; z-index: 2; padding: calc(var(--header-h) + 3rem) 0 clamp(3rem, 8vh, 6rem); }
.hero__eyebrow { display: inline-flex; align-items: center; gap: .75rem; font-size: .78rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 1.1rem; }
.hero__eyebrow::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.hero h1 { color: var(--white); font-size: clamp(2.8rem, 1.6rem + 6vw, 6.2rem); font-weight: 600; line-height: 1.02; margin: 0 0 1.25rem; text-shadow: 0 4px 30px rgba(0, 0, 0, .35); }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--gold-200); }
.hero__lead { max-width: 40rem; font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); font-weight: 300; color: rgba(255, 255, 255, .9); margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__quote { position: absolute; z-index: 2; right: max(1.25rem, calc((100vw - var(--wrap)) / 2)); top: calc(var(--header-h) + 2rem); text-align: right; font-family: var(--serif); font-style: italic; color: var(--gold-200); text-shadow: 0 2px 12px rgba(0, 0, 0, .5); max-width: 22rem; }
.hero__quote span { display: block; font-family: var(--sans); font-style: normal; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .8); margin-top: .35rem; }
.hero__sound {
  position: absolute; z-index: 3; right: 1.25rem; bottom: 1.25rem; display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid rgba(255, 255, 255, .4); background: rgba(13, 27, 49, .35); color: var(--white); border-radius: 999px;
  padding: .45rem .9rem; font: 700 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; backdrop-filter: blur(6px);
}
.hero__sound svg { width: 16px; height: 16px; }
.hero__scroll { position: absolute; z-index: 2; left: 50%; bottom: 1.2rem; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .55); border-radius: 20px; }
.hero__scroll::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--gold-200); border-radius: 2px; animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 700px) { .hero__quote { display: none; } .hero__scroll { display: none; } .hero__actions .btn { flex: 1 1 100%; } }

/* ---------- Franja de datos ---------- */
.facts { background: var(--navy); color: var(--white); border-top: 3px solid var(--gold); }
.facts ul { list-style: none; margin: 0; padding: 2rem 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.facts li { display: flex; flex-direction: column; gap: .2rem; padding-left: 1.1rem; border-left: 1px solid rgba(226, 194, 100, .35); }
.facts strong { font-family: var(--serif); font-size: clamp(1.35rem, 1.1rem + .9vw, 1.8rem); font-weight: 600; color: var(--gold-200); line-height: 1.15; }
.facts span { font-size: .88rem; color: rgba(255, 255, 255, .78); line-height: 1.45; }
@media (max-width: 860px) { .facts ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .facts ul { grid-template-columns: 1fr; } }

/* ---------- Secciones ---------- */
.section { padding: clamp(4.5rem, 3rem + 6vw, 8rem) 0; position: relative; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy-900); color: rgba(255, 255, 255, .86); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.eyebrow { display: inline-flex; align-items: center; gap: .7rem; font-size: .76rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); font-weight: 300; color: var(--muted); }
.section--navy .lead { color: rgba(255, 255, 255, .78); }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2.5rem, 2rem + 4vw, 6rem); align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }

.photo-stack { position: relative; padding: 0 8% 12% 0; }
.photo-stack picture:first-child img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.photo-stack picture:nth-child(2) { position: absolute; right: 0; bottom: 0; width: 46%; }
.photo-stack picture:nth-child(2) img { border-radius: var(--radius); border: 6px solid var(--ivory); box-shadow: var(--shadow-lg); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.section--cream .photo-stack picture:nth-child(2) img { border-color: var(--cream); }
.photo-stack::before { content: ""; position: absolute; left: -18px; top: -18px; width: 40%; height: 50%; border: 2px solid var(--gold); border-radius: var(--radius); z-index: -1; }

.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 2rem 0 0; }
.person { display: flex; gap: .9rem; align-items: center; padding: 1rem 1.1rem; background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.person__icon { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold-200); }
.person__icon svg { width: 22px; height: 22px; }
.person strong { display: block; font-family: var(--serif); color: var(--navy); font-size: 1.05rem; line-height: 1.25; }
.person span { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 520px) { .people { grid-template-columns: 1fr; } }

/* ---------- Cita ---------- */
.quote-band { position: relative; padding: clamp(4rem, 3rem + 5vw, 7rem) 0; text-align: center; color: var(--white); overflow: hidden; background: var(--navy-800); isolation: isolate; }
.quote-band picture, .quote-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.quote-band::before { content: ""; position: absolute; inset: 0; background: rgba(13, 27, 49, .78); z-index: -1; }
.quote-band blockquote { margin: 0 auto; max-width: 50rem; font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 1.2rem + 2vw, 2.6rem); line-height: 1.3; color: var(--white); }
.quote-band blockquote::before { content: "“"; display: block; font-size: 4rem; line-height: .6; color: var(--gold-200); margin-bottom: .5rem; }
.quote-band cite { display: block; margin-top: 1.2rem; font-family: var(--sans); font-style: normal; font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-300); }

/* ---------- Asociación ---------- */
.assoc-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: clamp(1.8rem, 1.2rem + 2vw, 3rem); text-align: center; border-top: 4px solid var(--gold); }
.assoc-card img { width: min(280px, 80%); margin: 0 auto 1.5rem; }
.assoc-card dl { display: grid; gap: .9rem; margin: 0 0 1.75rem; text-align: left; }
.assoc-card dl div { display: grid; grid-template-columns: 9rem 1fr; gap: .75rem; padding-bottom: .9rem; border-bottom: 1px solid var(--cream-200); }
.assoc-card dt { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); padding-top: .2rem; }
.assoc-card dd { margin: 0; color: var(--ink); }
@media (max-width: 480px) { .assoc-card dl div { grid-template-columns: 1fr; gap: .1rem; } }
.checklist { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .7rem; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .45em; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 62% no-repeat; }

/* ---------- Agenda ---------- */
.agenda { display: grid; gap: 1rem; }
.event {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center;
  padding: 1.25rem 1.5rem; background: rgba(255, 255, 255, .04); border: 1px solid rgba(226, 194, 100, .22); border-radius: var(--radius);
  transition: border-color .3s, background .3s, transform .3s var(--ease);
}
.event:hover { border-color: var(--gold-300); background: rgba(255, 255, 255, .07); transform: translateY(-2px); }
.event__date { width: 84px; text-align: center; padding: .6rem .4rem; border-radius: var(--radius-sm); background: var(--gold); color: var(--white); line-height: 1.1; }
.event__date .d { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 700; }
.event__date .m { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.event__date .y { display: block; font-size: .7rem; opacity: .85; margin-top: .15rem; }
.event__date--recurring { background: transparent; border: 1.5px solid var(--gold-300); color: var(--gold-200); }
.event__date--recurring .d { font-size: 1.45rem; }
.event h3 { margin: 0 0 .25rem; font-size: 1.2rem; }
.event p { margin: 0; color: rgba(255, 255, 255, .72); font-size: .95rem; }
.event__meta { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; margin-top: .45rem !important; font-size: .86rem !important; color: var(--gold-300) !important; }
.event__meta span { display: inline-flex; align-items: center; gap: .35rem; }
.event__meta svg { width: 15px; height: 15px; flex: none; }
.event .btn { min-height: 42px; padding: .6rem 1.1rem; font-size: .72rem; }
.agenda-empty { padding: 1.5rem; border: 1px dashed rgba(226, 194, 100, .4); border-radius: var(--radius); text-align: center; color: rgba(255, 255, 255, .75); }
@media (max-width: 680px) { .event { grid-template-columns: auto 1fr; gap: 1rem; } .event .btn { grid-column: 1 / -1; } .event__date { width: 70px; } }

/* ---------- Entidades / Solidario ---------- */
.partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.1rem; }
.partner {
  position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 1.6rem 1.5rem 1.5rem;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.partner::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--gold), var(--gold-200)); }
.partner:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.partner__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--gold-600); margin-bottom: .35rem; }
.partner__icon svg { width: 22px; height: 22px; }
.partner h3 { font-size: 1.12rem; margin: 0; }
.partner p { margin: 0; color: var(--muted); font-size: .95rem; }
.partner--cta { background: var(--navy); color: rgba(255, 255, 255, .85); justify-content: center; }
.partner--cta h3 { color: var(--white); }
.partner--cta p { color: rgba(255, 255, 255, .75); margin-bottom: .75rem; }
.partner--cta .btn { align-self: flex-start; }

/* ---------- Repertorio ---------- */
.repertoire { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 1.1rem; margin-bottom: 3rem; }
.rep {
  position: relative; padding: 2rem 1.5rem 1.75rem; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--cream-200); text-align: center; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.rep:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.rep__icon { width: 60px; height: 60px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold-200); }
.rep__icon svg { width: 28px; height: 28px; }
.rep h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.rep p { margin: 0; font-size: .93rem; color: var(--muted); line-height: 1.6; }
.download {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius);
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-600) 100%); color: var(--white); box-shadow: var(--shadow-lg);
}
.download h3 { color: var(--white); margin: 0 0 .3rem; }
.download p { margin: 0; color: rgba(255, 255, 255, .78); }

/* ---------- Vídeos ---------- */
.video-feature { display: grid; gap: 1.25rem; }
.video-list { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .video-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .video-list { grid-template-columns: 1fr; } }
.video-card { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: var(--navy-900); color: var(--white); text-align: left; font: inherit; isolation: isolate; }
.video-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s var(--ease), opacity .4s; opacity: .82; }
.video-card:hover img { transform: scale(1.04); opacity: .65; }
.video-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(13, 27, 49, .92)); z-index: 0; }
.video-card__play { position: absolute; z-index: 1; left: 50%; top: 50%; translate: -50% -50%; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(187, 144, 10, .92); box-shadow: 0 0 0 8px rgba(187, 144, 10, .25); transition: transform .3s var(--ease), box-shadow .3s; }
.video-card__play svg { width: 24px; height: 24px; margin-left: 4px; }
.video-card:hover .video-card__play { transform: scale(1.08); box-shadow: 0 0 0 14px rgba(187, 144, 10, .2); }
.video-card__text { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 1.1rem 1.25rem; }
.video-card__text strong { display: block; font-family: var(--serif); font-size: 1.1rem; font-weight: 600; line-height: 1.3; }
.video-card__text span { font-size: .82rem; color: var(--gold-300); }
.video-card--main .video-card__play { width: 84px; height: 84px; }
.video-card--main .video-card__play svg { width: 32px; height: 32px; }
.video-card--main .video-card__text { padding: 1.6rem 1.75rem; }
.video-card--main .video-card__text strong { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem); }
.video-card--main img { aspect-ratio: 21 / 9; }
@media (max-width: 900px) { .video-card--main img { aspect-ratio: 16 / 9; } }
@media (max-width: 560px) {
  .video-card--main img { aspect-ratio: 4 / 3; }
  .video-card--main .video-card__play { width: 68px; height: 68px; top: 42%; }
  .video-card--main .video-card__text { padding: 1rem 1.1rem; }
  .video-card__play { top: 42%; }
}

/* ---------- Galería ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(140px, 16vw, 230px); gap: .9rem; }
.gallery a { position: relative; display: block; overflow: hidden; border-radius: var(--radius-sm); background: var(--cream-200); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery a:hover img { transform: scale(1.05); }
.gallery a::after { content: ""; position: absolute; inset: 0; background: rgba(13, 27, 49, 0); transition: background .3s; }
.gallery a:hover::after { background: rgba(13, 27, 49, .15); }
.g-1 { grid-column: span 7; grid-row: span 2; }
.g-2 { grid-column: span 5; grid-row: span 1; }
.g-3 { grid-column: span 5; grid-row: span 1; }
.g-4 { grid-column: span 5; grid-row: span 3; }
.g-5 { grid-column: span 7; grid-row: span 3; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; gap: .6rem; }
  .gallery a { grid-column: span 1 !important; grid-row: span 1 !important; }
  .gallery .g-1 { grid-column: span 2 !important; }
}

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 4.5rem 1rem 2rem; background: rgba(8, 15, 28, .95); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__stage { width: min(100%, 1400px); max-height: 100%; display: grid; place-items: center; }
.lightbox__stage img, .lightbox__stage video { max-width: 100%; max-height: calc(100dvh - 7rem); width: auto; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); background: #000; }
.lightbox__stage video { width: min(100%, 1280px); }
.lightbox__caption { margin-top: .9rem; color: rgba(255, 255, 255, .8); text-align: center; font-size: .95rem; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; background: rgba(255, 255, 255, .06); color: var(--white); cursor: pointer; transition: background .2s; }
.lightbox button:hover { background: var(--gold); border-color: var(--gold); }
.lightbox button svg { width: 22px; height: 22px; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 1rem; top: 50%; translate: 0 -50%; }
@media (max-width: 700px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 1rem; translate: none; } }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 1.5rem + 3vw, 5rem); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1rem; }
.contact-list a, .contact-list div { display: flex; gap: 1rem; align-items: center; text-decoration: none; color: inherit; }
.contact-list .ic { flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold-200); transition: background .25s, color .25s; }
.contact-list a:hover .ic { background: var(--gold); color: var(--white); }
.contact-list .ic svg { width: 22px; height: 22px; }
.contact-list small { display: block; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-list strong { font-weight: 700; color: var(--navy); font-size: 1.05rem; word-break: break-word; }

.form { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); border-top: 4px solid var(--gold); }
.form h3 { margin-bottom: 1.5rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.field label .opt { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .8rem 1rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--ivory); border: 1.5px solid var(--cream-200); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23162c4d' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 18px; padding-right: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 4px rgba(187, 144, 10, .15); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #c0392b; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: var(--muted); line-height: 1.5; }
.check input { flex: none; width: 20px; height: 20px; margin-top: .1rem; accent-color: var(--gold); }
.form .btn { width: 100%; margin-top: 1.4rem; min-height: 54px; }
.form-status { margin-top: 1rem; padding: .9rem 1rem; border-radius: var(--radius-sm); font-size: .95rem; display: none; }
.form-status.is-ok { display: block; background: #eaf6ec; color: #1e6b33; }
.form-status.is-error { display: block; background: #fbeaea; color: #8e2a2a; }
.hp { position: absolute; left: -9999px; }

/* ---------- Pie ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .7); padding: 4.5rem 0 2rem; font-size: .95rem; border-top: 3px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.site-footer img { height: 64px; width: auto; margin-bottom: 1.1rem; }
.site-footer h4 { font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--gold-200); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; padding-top: 1.75rem; font-size: .85rem; color: rgba(255, 255, 255, .55); }
.footer-bottom nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* ---------- Botón volver arriba ---------- */
.to-top { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--gold); color: var(--white); box-shadow: var(--shadow); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility .3s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Animaciones al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Páginas legales ---------- */
.legal { padding: calc(var(--header-h) + 4rem) 0 5rem; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 1.6rem + 2vw, 3rem); }
.legal h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.page-light .site-header { background: rgba(13, 27, 49, .96); }

@media print {
  .site-header, .hero__media, .to-top, .hero__sound, .lightbox { display: none !important; }
  .hero { min-height: auto; color: var(--ink); background: none; }
  .hero::after { display: none; }
  .reveal { opacity: 1; transform: none; }
}
