/* =============================================================================
   CIDAF Waylluy Tusuy — hoja de estilos
   Paleta y composición: docs/diseno/paleta.jpeg y docs/diseno/mockup.png
    1. Tokens
    2. Base
    3. Tipografía y piezas
    4. Botones
    5. Animaciones de entrada
    6. Cabecera y menú
    7. Portada
    8. Marquesina
    9. Nosotros
   10. Repertorio
   11. Convocatorias
   12. Por qué unirte y proceso
   13. Galería y visor
   13b. Videos
   14. Dirección
   15. Eventos
   16. Postulación
   17. Preguntas
   18. Cierre y pie
   19. Movimiento reducido
   ============================================================================ */

/* 1. Tokens ---------------------------------------------------------------- */

:root {
  /* Paleta oficial */
  --beige:      #D9C9B0;
  --rojo:       #E30613;
  --gris-claro: #C9C9BD;
  --gris:       #6B6B73;
  --navy:       #1F3A5F;
  --negro:      #111111;

  /* Derivados */
  --beige-2:  #e9dcc6;
  --rojo-2:   #ff2a36;
  --ink:      #0b111a;   /* fondo base: negro con un velo de azul marino */
  --ink-1:    #0f1723;
  --ink-2:    #15202f;
  --ink-3:    #1c2a3d;
  --cream:    #f1e9dc;   /* títulos: blanco cálido */
  --line:     rgba(217, 201, 176, 0.22);
  --line-2:   rgba(217, 201, 176, 0.12);
  --text:     var(--gris-claro);
  --text-dim: rgba(201, 201, 189, 0.72);
  --wa:       #25d366;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Manrope', 'Segoe UI', system-ui, sans-serif;

  --step--1: clamp(0.84rem, 0.8rem + 0.18vw, 0.94rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1:  clamp(1.15rem, 1.08rem + 0.4vw, 1.4rem);
  --step-2:  clamp(1.4rem, 1.25rem + 0.8vw, 1.95rem);
  --step-3:  clamp(1.85rem, 1.45rem + 1.9vw, 3rem);
  --step-4:  clamp(2.3rem, 1.6rem + 3.1vw, 4.3rem);
  --step-hero: clamp(3.8rem, 1.6rem + 9.8vw, 10rem);

  --gutter:  clamp(1rem, 4vw, 3rem);
  --shell:   76rem;
  --section: clamp(4.5rem, 9vw, 8rem);
  --radius:  14px;
  --radius-sm: 10px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 5rem;
}

/* 2. Base ------------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.5rem);
  -webkit-text-size-adjust: 100%;
}
html, body { overflow-x: clip; }

body {
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(31, 58, 95, 0.35), transparent 60%),
    var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; padding: 0; }
[hidden] { display: none !important; }

::selection { background: var(--beige); color: var(--negro); }

:focus-visible {
  outline: 2px solid var(--beige);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  padding: 0.7rem 1.1rem; border-radius: 999px;
  background: var(--beige); color: var(--negro); font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

.shell {
  width: min(100% - 2 * var(--gutter), var(--shell));
  margin-inline: auto;
}
.shell--wide   { width: min(100% - 2 * var(--gutter), 86rem); }
.shell--narrow { width: min(100% - 2 * var(--gutter), 48rem); }

.section { position: relative; padding-block: var(--section); }
.section--tight { padding-top: clamp(2rem, 4vw, 3rem); }
.section--ink { background: rgba(0, 0, 0, 0.25); }
.section--navy {
  background:
    radial-gradient(ellipse 70% 80% at 0% 100%, rgba(31, 58, 95, 0.55), transparent 65%),
    linear-gradient(180deg, var(--ink-1), var(--ink-2));
  border-block: 1px solid var(--line-2);
}

/* 3. Tipografía y piezas --------------------------------------------------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--cream);
  font-variation-settings: 'opsz' 144;
}
h2 { font-size: var(--step-4); text-wrap: balance; }
h3 { font-size: var(--step-1); line-height: 1.2; font-variation-settings: 'opsz' 48; }
h2 em, .finale__quote em, .shot--cta__title em, .call--invite h3 em {
  font-style: italic;
  font-weight: 400;
  color: var(--beige);
}

.lead {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--text);
  max-width: 36rem;
}
.prose { color: var(--text); }
.prose p + p { margin-top: 1rem; }
.prose strong { color: var(--cream); font-weight: 700; }

/* Antetítulo: línea roja + versalitas espaciadas, como en el mockup */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--beige);
}
.eyebrow::before {
  content: '';
  width: 2rem; height: 2px;
  background: var(--rojo);
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: '';
  width: 2rem; height: 2px;
  background: var(--rojo);
}

.rule {
  display: inline-block;
  width: 2.2rem; height: 2px;
  background: var(--rojo);
  flex: none;
}

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .lead { margin-top: 1.25rem; }
.section-head--center { text-align: center; }
.section-head--center h2 { max-width: 20ch; margin-inline: auto; }
.section-head--split {
  display: flex; flex-wrap: wrap;
  align-items: end; justify-content: space-between;
  gap: 1.5rem 3rem;
}
.section-head--split h2 { max-width: 16ch; }
.section-head--split .lead { margin-top: 0; font-size: var(--step-0); color: var(--text-dim); }

/* 4. Botones --------------------------------------------------------------- */

.btn {
  --bg: var(--beige);
  --fg: var(--negro);
  --bd: var(--beige);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid var(--bd);
  background: var(--bg);
  color: var(--fg);
  font-weight: 700;
  font-size: 0.95rem;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease-out), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.35s;
}
.btn::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(217, 201, 176, 0.55); }
.btn:hover::before { transform: translateX(120%); }
.btn > svg { width: 1.1em; height: 1.1em; transition: transform 0.35s var(--ease-out); }
.btn:hover > svg { transform: translateX(3px); }

.btn--sm { padding: 0.65rem 1.25rem; font-size: 0.9rem; }
.btn--red { --bg: var(--rojo); --fg: #fff; --bd: var(--rojo); }
.btn--red:hover { box-shadow: 0 14px 30px -14px rgba(227, 6, 19, 0.7); }
.btn--ghost {
  --bg: rgba(11, 17, 26, 0.35);
  --fg: var(--cream);
  --bd: rgba(241, 233, 220, 0.55);
  padding-right: 0.55rem;
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { --bd: var(--beige); box-shadow: none; }
.btn__circle {
  display: grid; place-items: center;
  width: 2.1rem; height: 2.1rem;
  border-radius: 50%;
  border: 1.5px solid currentColor;
}
.btn__circle svg { width: 14px; height: 14px; }
.btn--wa { --bg: #1faa55; --fg: #fff; --bd: #1faa55; }
.btn--wa:hover { box-shadow: 0 14px 30px -14px rgba(31, 170, 85, 0.7); }
.btn--wa > svg { width: 20px; height: 20px; }
.btn--wa:hover > svg { transform: none; }
.btn--line { --bg: transparent; --fg: var(--negro); --bd: var(--negro); }
.btn--line:hover { --bg: var(--negro); --fg: var(--beige-2); box-shadow: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.circle-arrow {
  display: grid; place-items: center;
  width: 2.2rem; height: 2.2rem;
  border-radius: 50%;
  border: 1.5px solid rgba(241, 233, 220, 0.7);
  color: var(--cream);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.4s var(--ease-out);
}
.circle-arrow svg { width: 15px; height: 15px; }

/* 5. Animaciones de entrada ------------------------------------------------ */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal="left"]  { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js [data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal-stagger].is-in > * { opacity: 1; transform: none; }

/* 6. Cabecera y menú ------------------------------------------------------- */

.progress { position: fixed; inset: 0 0 auto; z-index: 60; height: 2px; }
.progress__bar {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--rojo), var(--beige));
  transform-origin: left;
  transform: scaleX(var(--p, 0));
}

.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: transform 0.5s var(--ease-out), background 0.4s, box-shadow 0.4s;
}
.header__inner {
  display: flex; align-items: center; gap: 1.5rem;
  height: var(--header-h);
  width: min(100% - 2 * var(--gutter), 86rem);
  margin-inline: auto;
}
.header.is-solid {
  background: rgba(11, 17, 26, 0.82);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line-2);
}
.header.is-hidden { transform: translateY(-100%); }

.brand { display: flex; align-items: center; gap: 0.75rem; margin-right: auto; }
.brand__mark { width: 44px; height: 44px; transition: transform 1.2s var(--ease-out); }
.brand:hover .brand__mark { transform: rotate(-120deg); }
.brand__text { display: grid; line-height: 1.1; white-space: nowrap; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--cream);
}
.brand__sub {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--beige);
}

.nav { display: flex; gap: 0.2rem; }
.nav__link {
  position: relative;
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cream);
  opacity: 0.8;
  transition: opacity 0.25s;
}
.nav__link::after {
  content: '';
  position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.2rem;
  height: 2px;
  background: var(--rojo);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out);
}
.nav__link:hover, .nav__link.is-current { opacity: 1; }
.nav__link:hover::after, .nav__link.is-current::after { transform: scaleX(1); }

.burger {
  display: none;
  width: 44px; height: 44px;
  place-content: center;
  gap: 7px;
  border-radius: 50%;
  border: 1px solid var(--line);
  position: relative; z-index: 70;
}
.burger__line {
  display: block;
  width: 20px; height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.45s var(--ease-out);
}
.burger[aria-expanded="true"] .burger__line:first-of-type { transform: translateY(4.5px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:last-of-type  { transform: translateY(-4.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem;
  background: radial-gradient(circle at 85% 90%, rgba(31, 58, 95, 0.7), transparent 60%), var(--ink);
  clip-path: circle(0% at calc(100% - 3rem) 2.5rem);
  transition: clip-path 0.8s var(--ease-out);
  overflow: hidden;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 3rem) 2.5rem); }
.menu__list { display: grid; gap: 0.4rem; counter-reset: m; position: relative; z-index: 1; }
.menu__list li { opacity: 0; transform: translateY(20px); transition: opacity 0.5s, transform 0.6s var(--ease-out); }
.menu.is-open .menu__list li { opacity: 1; transform: none; }
.menu.is-open .menu__list li:nth-child(2) { transition-delay: 60ms; }
.menu.is-open .menu__list li:nth-child(3) { transition-delay: 120ms; }
.menu.is-open .menu__list li:nth-child(4) { transition-delay: 180ms; }
.menu.is-open .menu__list li:nth-child(5) { transition-delay: 240ms; }
.menu.is-open .menu__list li:nth-child(6) { transition-delay: 300ms; }
.menu.is-open .menu__list li:nth-child(7) { transition-delay: 360ms; }
.menu__link {
  display: flex; align-items: baseline; gap: 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3rem);
  line-height: 1.2;
  color: var(--cream);
  counter-increment: m;
}
.menu__link::before {
  content: '0' counter(m);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--rojo);
}
.menu__link--accent { color: var(--beige); font-style: italic; }
.menu__logo {
  position: absolute; right: -25%; bottom: -12%;
  width: 90vw; max-width: 520px;
  opacity: 0.07;
  animation: spin 80s linear infinite;
}

@media (max-width: 1180px) {
  .nav, .header__cta { display: none; }
  .burger { display: grid; }
}

/* 7. Portada --------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: min(100svh, 62rem);
  display: grid;
  align-items: center;
  padding: calc(var(--header-h) + 2.5rem) 0 6rem;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 55%;
  transform: scale(1.1);
  animation: hero-zoom 18s var(--ease) forwards;
}
@keyframes hero-zoom { to { transform: scale(1.02); } }

.hero__veil {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(11, 17, 26, 0.96) 0%, rgba(11, 17, 26, 0.82) 32%, rgba(11, 17, 26, 0.25) 65%, rgba(11, 17, 26, 0.35) 100%),
    linear-gradient(0deg, var(--ink) 0%, transparent 28%),
    linear-gradient(180deg, rgba(11, 17, 26, 0.7) 0%, transparent 22%);
}

/* El logo es una ronda de bailarines: gira despacio, en trazo tenue, como en el mockup. */
.hero__emblem {
  position: absolute; z-index: -1;
  right: -7rem; top: 42%;
  width: min(42vw, 36rem);
  translate: 0 -50%;
  opacity: 0;
  animation: emblem-in 2s 0.6s var(--ease-out) forwards, spin 90s linear infinite;
  pointer-events: none;
}
@keyframes emblem-in { to { opacity: 0.16; } }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__inner { position: relative; }
.hero__kicker {
  margin-bottom: 1.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cream);
}

.hero__title {
  font-size: var(--step-hero);
  line-height: 0.86;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--cream);
}
/* Cada línea recorta su texto para la animación de entrada. El relleno inferior deja
   sitio a los descendentes (las "y") y el margen negativo conserva el interlineado. */
.hero__title .line {
  display: block;
  overflow: hidden;
  padding: 0.04em 0.12em 0.26em 0;
  margin-bottom: -0.2em;
}
.hero__title .line > * { display: inline-block; }
.hero__title em {
  padding-left: 0.1em;
  padding-right: 0.12em;
  font-style: italic;
  font-weight: 600;
  color: var(--rojo);
  text-shadow: 0 6px 40px rgba(227, 6, 19, 0.35);
}

.hero__lead {
  max-width: 31rem;
  margin: 1.75rem 0 2.25rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 400;
  line-height: 1.45;
  color: var(--cream);
  font-variation-settings: 'opsz' 24;
}

.js [data-hero] {
  opacity: 0;
  transform: translateY(24px);
  animation: rise 1.1s var(--ease-out) forwards;
}
.js .hero__title .line[data-hero] { opacity: 1; transform: none; animation: none; }
.js .hero__title .line > * { transform: translateY(110%); animation: rise-line 1.2s var(--ease-out) forwards; }
.js .hero__title .line:nth-child(1) > * { animation-delay: 0.25s; }
.js .hero__title .line:nth-child(2) > * { animation-delay: 0.4s; }
.js .hero__kicker[data-hero] { animation-delay: 0.1s; }
.js .hero__lead[data-hero] { animation-delay: 0.7s; }
.js .hero__inner .btn-row[data-hero] { animation-delay: 0.85s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes rise-line { to { transform: none; } }

.hero__notice {
  position: absolute;
  left: 50%; bottom: 1.5rem;
  translate: -50% 0;
  display: inline-flex; align-items: center; gap: 0.8rem;
  max-width: calc(100% - 2 * var(--gutter));
  padding: 0.55rem 1.1rem 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(11, 17, 26, 0.75);
  backdrop-filter: blur(10px);
  color: var(--cream);
  font-size: 0.88rem;
  transition: transform 0.35s var(--ease-out), border-color 0.3s;
  animation: rise 1s 1.3s var(--ease-out) both;
}
.hero__notice:hover { transform: translateY(-3px); border-color: var(--beige); }
.hero__notice-label {
  flex: none;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--rojo);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero__notice-title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero__notice svg { width: 18px; height: 18px; flex: none; }
.pulse { position: relative; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--rojo); }
.pulse::after {
  content: '';
  position: absolute; inset: 0; border-radius: 50%;
  background: var(--rojo);
  animation: ping 1.8s var(--ease-out) infinite;
}
@keyframes ping { to { transform: scale(3); opacity: 0; } }

@media (max-width: 860px) {
  .hero__media img { object-position: 70% 50%; }
  .hero__veil {
    background:
      linear-gradient(90deg, rgba(11, 17, 26, 0.92), rgba(11, 17, 26, 0.55)),
      linear-gradient(0deg, var(--ink) 0%, transparent 30%);
  }
  .hero__emblem { width: 80vw; right: -30%; top: 30%; }
}
@media (max-width: 480px) {
  .hero__notice-title { display: none; }
}

/* 8. Marquesina ------------------------------------------------------------ */

/* Franja entre dos filetes dobles, con rombos beige y rojos alternados. */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 1.3rem;
  background: rgba(0, 0, 0, 0.35);
}
.marquee::before, .marquee::after {
  content: '';
  position: absolute; left: 0; right: 0;
  height: 5px;
  border-block: 1px solid var(--line);
}
.marquee::before { top: 0; }
.marquee::after  { bottom: 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; }
.marquee__list li {
  display: flex; align-items: center;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem);
  font-style: italic;
  font-weight: 400;
  white-space: nowrap;
  color: var(--cream);
}
.marquee__list li::before {
  content: '';
  width: 0.5em; height: 0.5em;
  margin-inline: 1.6em 1.2em;
  background: var(--beige);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.marquee__list li:nth-child(even)::before { background: var(--rojo); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 9. Nosotros -------------------------------------------------------------- */

.about {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.42fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.about__media { position: relative; padding: 0 9% 12% 0; }
.frame { position: relative; overflow: hidden; border-radius: var(--radius); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.frame:hover img { transform: scale(1.04); }
.frame--main { aspect-ratio: 4 / 3; overflow: visible; }
.frame--main img { border-radius: var(--radius); position: relative; z-index: 1; }
.frame--main:hover img { transform: none; }
/* Contorno rojo desplazado detrás de la foto principal */
.frame--main::before {
  content: '';
  position: absolute; inset: -1rem 1rem 1rem -1rem;
  border: 1.5px solid var(--rojo);
  border-radius: calc(var(--radius) + 4px);
}
.frame--inset {
  position: absolute; right: 0; bottom: 0; z-index: 2;
  width: 50%;
  aspect-ratio: 4 / 3;
  border: 2px solid var(--beige);
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.8);
}

.about__copy h2 { margin-bottom: 1.5rem; }
.about__copy .prose { margin-bottom: 2rem; }

.about__aside {
  align-self: stretch;
  display: flex; flex-direction: column; justify-content: center;
  gap: 1.25rem;
  padding-left: 1.75rem;
  border-left: 1px solid var(--line-2);
  color: var(--gris);
}
.mountain { width: 100%; max-width: 13rem; color: rgba(201, 201, 189, 0.45); }
.about__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-1);
  line-height: 1.4;
  color: var(--gris-claro);
}

.about__foot {
  display: grid;
  grid-template-columns: 0.9fr 2fr;
  gap: 1.25rem;
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  align-items: stretch;
}
.name-card {
  position: relative;
  padding: 1.6rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(31, 58, 95, 0.45), transparent 70%), var(--ink-1);
}
.name-card__label {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gris);
  margin-bottom: 0.9rem;
}
.name-card__words { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.name-card dt {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-style: italic;
  color: var(--beige);
  line-height: 1.1;
}
.name-card div:last-child dt { color: var(--rojo-2); }
.name-card dd { color: var(--text); font-size: 0.93rem; margin-top: 0.3rem; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.pillar {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--ink-1);
  transition: border-color 0.4s, transform 0.5s var(--ease-out);
}
.pillar:hover { transform: translateY(-4px); border-color: var(--line); }
.pillar__icon { flex: none; width: 34px; height: 34px; color: var(--beige); }
.pillar h3 { margin-bottom: 0.35rem; }
.pillar p { color: var(--text-dim); font-size: 0.92rem; line-height: 1.5; }

@media (max-width: 1100px) {
  .about { grid-template-columns: 1fr 1fr; }
  .about__aside {
    grid-column: 1 / -1;
    flex-direction: row; align-items: center;
    padding: 1.5rem 0 0; border-left: 0; border-top: 1px solid var(--line-2);
  }
  .mountain { max-width: 8rem; }
  .about__aside .rule { display: none; }
  .about__foot { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 36rem; width: 100%; margin-inline: auto; }
  .pillars { grid-template-columns: 1fr; }
}

/* 10. Repertorio ----------------------------------------------------------- */

.repertoire {
  display: grid;
  grid-template-columns: 0.8fr 2.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.repertoire__intro .lead { margin: 1.25rem 0 2rem; font-size: var(--step-0); }

.regions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.region {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  transition: border-color 0.4s, transform 0.5s var(--ease-out);
}
.region img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}
.region::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(11, 17, 26, 0.97) 0%, rgba(11, 17, 26, 0.6) 35%, transparent 62%);
}
.region:hover { border-color: var(--beige); transform: translateY(-4px); }
.region:hover img { transform: scale(1.07); }
.region:hover .circle-arrow { background: var(--beige); color: var(--negro); border-color: var(--beige); }
.region__body { position: absolute; inset: auto 0 0; padding: 1.4rem 4rem 1.4rem 1.4rem; }
.region__tag {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: var(--tag-bg, var(--beige));
  color: var(--tag-fg, var(--negro));
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.region h3 { font-size: var(--step-2); margin-bottom: 0.4rem; }
.region p { color: var(--text); font-size: 0.88rem; line-height: 1.45; }
.region .circle-arrow { position: absolute; right: 1.2rem; bottom: 1.4rem; }

@media (max-width: 1000px) {
  .repertoire { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .regions {
    grid-template-columns: repeat(3, 80%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.75rem;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .regions::-webkit-scrollbar { display: none; }
  .region { scroll-snap-align: center; }
}

/* 11. Convocatorias -------------------------------------------------------- */

/* Tira de textil andino en el borde derecho (rombos y escalonados). */
.textile {
  position: absolute; top: 0; bottom: 0; right: 0;
  width: clamp(3rem, 7vw, 6.5rem);
  opacity: 0.28;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60' fill='none' stroke='%23D9C9B0' stroke-width='1.4'%3E%3Cpath d='M30 4 56 30 30 56 4 30Z'/%3E%3Cpath d='M30 14 46 30 30 46 14 30Z'/%3E%3Cpath d='M30 24 36 30 30 36 24 30Z' fill='%23D9C9B0'/%3E%3Cpath d='M0 0h6v6h6v6M60 0h-6v6h-6v6M0 60h6v-6h6v-6M60 60h-6v-6h-6v-6'/%3E%3C/svg%3E") repeat-y center top / 100% auto;
  -webkit-mask: linear-gradient(90deg, transparent, #000 40%);
          mask: linear-gradient(90deg, transparent, #000 40%);
  pointer-events: none;
}

.calls-layout {
  display: grid;
  grid-template-columns: 0.8fr 2.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
  padding-right: clamp(0rem, 5vw, 4rem);
}
.calls-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.calls-intro h2 { margin-bottom: 2rem; }

.filters { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.filter {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.filter:hover { border-color: var(--beige); color: var(--cream); }
.filter.is-active { background: var(--beige); border-color: var(--beige); color: var(--negro); }
.filter .count { opacity: 0.6; margin-left: 0.3rem; font-weight: 600; }

.calls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 1.1rem;
}

.call {
  position: relative;
  display: flex; flex-direction: column;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(11, 17, 26, 0.55);
  backdrop-filter: blur(4px);
  transition: transform 0.5s var(--ease-out), border-color 0.4s, background 0.4s;
  animation: card-in 0.7s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 80ms);
}
@keyframes card-in { from { opacity: 0; transform: translateY(24px); } }
.call:hover { transform: translateY(-5px); border-color: var(--beige); background: rgba(11, 17, 26, 0.75); }
.call[data-estado="cerrada"] > *:not(.call__top) { opacity: 0.55; }

.call__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge--abierta { background: rgba(227, 6, 19, 0.16); color: #ff5a63; }
.badge--abierta::before { background: var(--rojo); box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.3); }
.badge--proxima { background: rgba(217, 201, 176, 0.14); color: var(--beige); }
.badge--cerrada { background: rgba(107, 107, 115, 0.25); color: var(--gris-claro); }
.call__type {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gris);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.call h3 { font-size: var(--step-2); margin-bottom: 0.7rem; }
.call__text { color: var(--text); font-size: 0.93rem; line-height: 1.55; }

.call__reqs { margin: 1.1rem 0 0; display: grid; gap: 0.4rem; }
.call__reqs li { display: flex; gap: 0.6rem; align-items: baseline; font-size: 0.9rem; color: var(--cream); }
.call__reqs li::before {
  content: '';
  flex: none;
  width: 0.45em; height: 0.45em;
  translate: 0 -0.05em;
  background: var(--rojo);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.call__meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem;
  margin-top: auto;
  padding-top: 1.4rem;
  font-size: 0.83rem;
  color: var(--text-dim);
}
.call__meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.call__meta svg { width: 15px; height: 15px; }
.call__meta strong { color: var(--beige); font-weight: 800; }

.call__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 1.3rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line-2);
}
.call__cta {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-weight: 800;
  color: var(--beige);
}
.call__cta svg {
  width: 2.1rem; height: 2.1rem;
  padding: 0.5rem;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  transition: background 0.3s, color 0.3s, transform 0.35s var(--ease-out);
}
.call__cta:hover svg { background: var(--beige); color: var(--negro); transform: translateX(3px); }
.call__share {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--text);
  transition: background 0.3s, color 0.3s;
}
.call__share:hover { background: var(--cream); color: var(--negro); }
.call__share svg { width: 16px; height: 16px; }

/* Ocupa toda la fila, en horizontal, para no quedar suelta junto a un hueco. */
.call--invite {
  grid-column: 1 / -1;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 2rem;
  overflow: hidden;
  background: radial-gradient(circle at 0% 100%, rgba(31, 58, 95, 0.9), transparent 70%), var(--ink-2);
}
.call--invite img {
  position: absolute; right: -18%; bottom: -18%;
  width: 70%;
  opacity: 0.1;
  animation: spin 70s linear infinite;
}
.call--invite h3, .call--invite p { position: relative; }
.call--invite h3 { margin: 0; }
.call--invite p { color: var(--text); flex: 1 1 16rem; }
.call--invite .btn { position: relative; }

.calls-empty {
  display: grid; justify-items: center; gap: 0.5rem;
  padding: 3rem 1.5rem;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
}
.calls-empty img { opacity: 0.5; margin-bottom: 0.5rem; }
.calls-empty p { font-weight: 700; color: var(--cream); }
.calls-empty__hint { font-weight: 400 !important; color: var(--text) !important; margin-bottom: 1rem; }

@media (max-width: 1000px) {
  .calls-layout { grid-template-columns: 1fr; padding-right: 0; }
  .calls-intro { position: static; }
  .textile { display: none; }
}

/* 12. Por qué unirte y proceso --------------------------------------------- */

.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.perk {
  padding: 1.9rem 1.5rem;
  border-radius: var(--radius);
  background: var(--ink-1);
  border: 1px solid var(--line-2);
  transition: border-color 0.4s, transform 0.5s var(--ease-out);
}
.perk:hover { border-color: var(--line); transform: translateY(-4px); }
.perk svg { width: 38px; height: 38px; color: var(--beige); margin-bottom: 1.2rem; }
.perk:nth-child(even) svg { color: var(--rojo-2); }
.perk h3 { margin-bottom: 0.5rem; }
.perk p { color: var(--text-dim); font-size: 0.93rem; }

.steps { margin-top: clamp(4rem, 8vw, 6rem); }
.steps__list { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.steps__list::before {
  content: '';
  position: absolute; left: 1.6rem; right: 1.6rem; top: 1.6rem;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
}
.step { position: relative; }
.step__num {
  position: relative;
  display: grid; place-items: center;
  width: 3.2rem; height: 3.2rem;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  background: var(--ink);
  border: 1.5px solid var(--beige);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--beige);
}
.step:last-child .step__num { background: var(--rojo); border-color: var(--rojo); color: #fff; }
.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--text-dim); font-size: 0.93rem; }

@media (max-width: 960px) {
  .perks { grid-template-columns: repeat(2, 1fr); }
  .steps__list { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .steps__list::before { display: none; }
}
@media (max-width: 560px) {
  .perks, .steps__list { grid-template-columns: 1fr; }
  .steps__list { gap: 1.75rem; }
  .step { display: grid; grid-template-columns: auto 1fr; column-gap: 1.25rem; }
  .step__num { grid-row: span 2; margin: 0; }
}

/* 13. Galería y visor ------------------------------------------------------ */

.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(11rem, 17vw, 15rem);
  grid-auto-flow: dense;
  gap: 0.9rem;
}
.shot {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--ink-2);
  border: 1px solid var(--line-2);
}
.shot--wide { grid-column: span 2; }
.shot--tall { grid-row: span 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.shot::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(11, 17, 26, 0.8), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
}
.shot:hover img { transform: scale(1.06); }
.shot:hover::after, .shot:focus-visible::after { opacity: 1; }
.shot__label {
  position: absolute; left: 1rem; bottom: 0.9rem; z-index: 1;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--cream);
  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.45s var(--ease-out), opacity 0.4s;
}
.shot:hover .shot__label, .shot:focus-visible .shot__label { transform: none; opacity: 1; }

.shot--cta {
  display: grid; place-items: center;
  text-align: center;
  background: radial-gradient(circle at 20% 120%, rgba(227, 6, 19, 0.35), transparent 55%),
              radial-gradient(circle at 90% 0%, rgba(31, 58, 95, 0.9), transparent 60%), var(--ink-2);
}
.shot--cta img {
  position: absolute; right: -10%; top: 50%;
  width: 60%; height: auto;
  translate: 0 -50%;
  object-fit: contain;
  opacity: 0.1;
  animation: spin 70s linear infinite;
}
.shot--cta:hover img { transform: none; }
.shot--cta::after { display: none; }
.shot--cta__text { position: relative; display: grid; gap: 0.75rem; justify-items: center; }
.shot--cta__title { font-family: var(--font-display); font-size: var(--step-3); line-height: 1.05; color: var(--cream); }
.shot--cta__link { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 800; color: var(--beige); }
.shot--cta__link svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease-out); }
.shot--cta:hover .shot--cta__link svg { transform: translateX(4px); }

@media (max-width: 760px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 10rem; }
}

.lightbox {
  position: fixed; inset: 0; z-index: 90;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(6, 9, 14, 0.95);
  backdrop-filter: blur(10px);
  animation: fade 0.35s var(--ease);
}
@keyframes fade { from { opacity: 0; } }
.lightbox__figure { display: grid; justify-items: center; gap: 1rem; min-width: 0; }
.lightbox__figure img {
  max-height: 82vh;
  width: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  animation: zoom-in 0.5s var(--ease-out);
}
@keyframes zoom-in { from { opacity: 0; transform: scale(0.94); } }
.lightbox__figure figcaption { font-family: var(--font-display); font-style: italic; color: var(--text); }
.lightbox__btn {
  display: grid; place-items: center;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--cream);
  background: rgba(241, 233, 220, 0.06);
  transition: background 0.3s;
}
.lightbox__btn:hover { background: rgba(241, 233, 220, 0.16); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { position: absolute; top: 1.25rem; right: 1.25rem; }
@media (max-width: 640px) {
  .lightbox { grid-template-columns: 1fr 1fr; padding: 4.5rem 1rem 1.5rem; }
  .lightbox__figure { grid-column: 1 / -1; grid-row: 1; }
  .lightbox__prev { justify-self: end; }
}

/* 13b. Videos ------------------------------------------------------------- */

.videos {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.9rem;
}
.video {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  background: #000;
  text-align: left;
  isolation: isolate;
  transition: border-color 0.4s;
}
.video--main { grid-row: span 2; aspect-ratio: auto; min-height: 100%; }
.video img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.85);
  transition: transform 1.2s var(--ease-out), filter 0.5s;
}
.video::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(11, 17, 26, 0.92) 0%, rgba(11, 17, 26, 0.2) 55%, transparent 80%);
}
.video:hover { border-color: var(--beige); }
.video:hover img { transform: scale(1.05); filter: saturate(1.05) brightness(1); }
.video__play {
  position: absolute; left: 50%; top: 45%;
  translate: -50% -50%;
  display: grid; place-items: center;
  width: 4.2rem; height: 4.2rem;
  border-radius: 50%;
  background: var(--rojo);
  color: #fff;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.video--main .video__play { width: 5.4rem; height: 5.4rem; }
.video__play svg { width: 45%; height: 45%; translate: 8% 0; }
.video:hover .video__play { transform: scale(1.1); box-shadow: 0 0 0 12px rgba(227, 6, 19, 0.18); }
.video__caption {
  position: absolute; inset: auto 0 0;
  display: grid; gap: 0.2rem;
  padding: 1.1rem 1.25rem;
}
.video__title {
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.15;
  color: var(--cream);
}
.video--main .video__title { font-size: var(--step-3); }
.video__sub { font-size: 0.82rem; color: var(--text); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video.is-playing::before,
.video.is-playing > :not(iframe) { display: none; }

@media (max-width: 860px) {
  .videos { grid-template-columns: 1fr; grid-template-rows: none; }
  .video--main { grid-row: auto; aspect-ratio: 16 / 9; min-height: 0; }
  .video--main .video__title { font-size: var(--step-2); }
}

/* 14. Dirección ------------------------------------------------------------ */

.team { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.member {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.75rem;
  align-items: start;
  padding: 2.1rem;
  border-radius: var(--radius);
  background: var(--ink-1);
  border: 1px solid var(--line-2);
}
.member__photo {
  width: 7.5rem; height: 7.5rem;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(var(--rojo), var(--beige), var(--navy), var(--rojo));
}
.member__photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid var(--ink-1); }
.member__name { font-size: var(--step-2); }
.member__role {
  margin: 0.35rem 0 1rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--beige);
}
.member__bio { color: var(--text-dim); font-size: 0.95rem; }

@media (max-width: 900px) { .team { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .member { grid-template-columns: 1fr; padding: 1.75rem; } }

/* 15. Eventos -------------------------------------------------------------- */

.events {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.events__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.events__media img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; }
.events__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(11, 17, 26, 0.55), transparent 50%);
}
.events__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 1.75rem 0 2rem; }
.events__list li {
  display: flex; gap: 0.75rem; align-items: center;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  background: var(--ink-1);
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--cream);
}
.events__list svg { flex: none; width: 22px; height: 22px; color: var(--beige); }
@media (max-width: 900px) { .events { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .events__list { grid-template-columns: 1fr; } }

/* 16. Postulación ---------------------------------------------------------- */

.apply__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.apply__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.apply__intro .lead { margin-top: 1.25rem; }
.apply__contact { display: grid; gap: 0.9rem; margin-top: 2.5rem; }
.apply__contact a, .apply__contact span {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-weight: 700;
  color: var(--cream);
}
.apply__contact svg {
  width: 40px; height: 40px;
  padding: 10px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--beige);
  transition: background 0.3s, color 0.3s;
}
.apply__contact a:hover svg { background: var(--beige); color: var(--negro); }

/* El formulario va en una tarjeta beige clara: contrasta con el azul y se lee mejor. */
.form {
  display: grid;
  gap: 1.3rem;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  border-radius: calc(var(--radius) + 6px);
  background: #f4eee4;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
  color: var(--negro);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form__row:first-child { grid-template-columns: 1fr 7rem; }

.field { display: grid; gap: 0.45rem; border: 0; padding: 0; min-width: 0; }
.field__label {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4d4d55;
  padding: 0;
  margin-bottom: 0.1rem;
}
.field__label small { text-transform: none; letter-spacing: 0; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(17, 17, 17, 0.14);
  border-radius: 12px;
  background: #fff;
  color: var(--negro);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; min-height: 6rem; }
.field select {
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B6B73' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.9rem center / 18px;
  padding-right: 2.6rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(31, 58, 95, 0.16);
}
.field__error { display: none; font-size: 0.82rem; font-weight: 700; color: var(--rojo); }
.field.is-invalid input { border-color: var(--rojo); }
.field.is-invalid .field__error { display: block; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1.5px solid rgba(17, 17, 17, 0.14);
  background: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s var(--ease-out);
}
.chip:hover span { border-color: var(--navy); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; transform: scale(1.03); }
.chip input:focus-visible + span { outline: 2px solid var(--rojo); outline-offset: 2px; }

.form__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.4rem; }
.form__note { font-size: 0.84rem; color: var(--gris); }

@media (max-width: 900px) {
  .apply__grid { grid-template-columns: 1fr; }
  .apply__intro { position: static; }
}
@media (max-width: 520px) {
  .form__row, .form__row:first-child { grid-template-columns: 1fr; }
  .form__actions .btn { width: 100%; }
}

/* 17. Preguntas ------------------------------------------------------------ */

.faq { display: grid; gap: 0.7rem; }
.faq__item {
  border-radius: var(--radius-sm);
  background: var(--ink-1);
  border: 1px solid var(--line-2);
  transition: border-color 0.3s;
}
.faq__item[open] { border-color: var(--line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: var(--cream);
  font-variation-settings: 'opsz' 36;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '';
  flex: none;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background:
    linear-gradient(var(--beige), var(--beige)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--beige), var(--beige)) center / 1.5px 12px no-repeat;
  transition: transform 0.4s var(--ease-out), background-size 0.3s;
}
.faq__item[open] summary::after { transform: rotate(180deg); background-size: 12px 1.5px, 1.5px 0; }
.faq__item p { padding: 0 1.5rem 1.4rem; color: var(--text); }
.faq__item a { color: var(--beige); text-decoration: underline; text-underline-offset: 3px; }

/* 18. Cierre y pie --------------------------------------------------------- */

.finale {
  position: relative;
  padding-block: clamp(7rem, 16vw, 12rem) clamp(5rem, 10vw, 8rem);
  overflow: hidden;
  isolation: isolate;
}
.finale__bg { position: absolute; inset: 0; z-index: -1; }
.finale__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.finale__bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--ink) 0%, rgba(11, 17, 26, 0.55) 45%, rgba(11, 17, 26, 0.8) 100%);
}
.finale__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
}
.finale__center { grid-column: 1; text-align: center; padding-left: clamp(0rem, 6vw, 6rem); }
.finale__quote {
  display: flex; align-items: center; justify-content: center; gap: 1.5rem;
  margin: 0 auto 2.25rem;
  font-family: var(--font-display);
  font-size: var(--step-4);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--cream);
  text-wrap: balance;
}
.finale__quote > span:not(.rule) { max-width: 20ch; }
.finale__quote .rule { width: 3.5rem; }
.finale__side {
  max-width: 13rem;
  padding-left: 1.5rem;
  border-left: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  line-height: 2;
  text-transform: uppercase;
  color: var(--cream);
}
.finale__side::after { content: ''; display: block; width: 1.8rem; height: 2px; margin-top: 1rem; background: var(--rojo); }
@media (max-width: 800px) {
  .finale__inner { grid-template-columns: 1fr; }
  .finale__center { padding-left: 0; }
  .finale__side { justify-self: center; text-align: center; border-left: 0; padding-left: 0; }
  .finale__side::after { margin-inline: auto; }
  .finale__quote .rule { display: none; }
}

.footer { background: #080c12; border-top: 1px solid var(--line-2); }
.footer__grid {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 2rem;
  padding-block: 3.25rem 2.25rem;
}
.footer__brand { display: flex; align-items: center; gap: 1rem; max-width: 24rem; }
.footer__brand img { flex: none; }
.footer__name { font-family: var(--font-display); font-size: 1.3rem; color: var(--cream); }
.footer__desc { font-size: 0.88rem; color: var(--gris); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; font-weight: 600; font-size: 0.93rem; color: var(--text); }
.footer__nav a:hover { color: var(--beige); }

.socials { display: flex; gap: 0.6rem; }
.socials a {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--cream);
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.3s var(--ease-out);
}
.socials a:hover { background: var(--beige); border-color: var(--beige); color: var(--negro); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }

.footer__bar {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.5rem 2rem;
  border-top: 1px solid var(--line-2);
  font-size: 0.82rem;
  color: var(--gris);
}
.footer__credit a { text-decoration: underline; text-underline-offset: 2px; }
.footer__credit a:hover { color: var(--beige); }
.footer__parent { display: inline-flex; align-items: center; gap: 0.8rem; }
.footer__parent img { height: 30px; width: auto; opacity: 0.9; transition: opacity 0.3s; }
.footer__parent:hover img { opacity: 1; }

.fab {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40;
  display: grid; place-items: center;
  width: 3.4rem; height: 3.4rem;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.6);
  transform: scale(0);
  transition: transform 0.5s var(--ease-out);
}
.fab.is-visible { transform: scale(1); }
.fab:hover { transform: scale(1.08); }
.fab svg { width: 28px; height: 28px; }

/* 19. Movimiento reducido -------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal], .js [data-reveal-stagger] > *, .js [data-hero] { opacity: 1; transform: none; }
  .hero__emblem { opacity: 0.16; }
}
