/* =========================================================
   Caporales Raíces La Paz — sistema de diseño
   ========================================================= */
:root {
  --burdeo: #8B1E24;
  --burdeo-2: #651215;
  --burdeo-3: #2A080A;
  --burdeo-ink: #1a0506;
  --oro: #D4AF37;
  --oro-2: #F59E0B;
  --oro-3: #FDE047;
  --blanco: #FFFFFF;
  --crema: #FFFDF7;
  --crema-dim: rgba(255, 253, 247, .74);
  --line: rgba(212, 175, 55, .24);
  --line-strong: rgba(212, 175, 55, .55);

  --gold-grad: linear-gradient(100deg, #b8892a 0%, #D4AF37 22%, #FDE047 45%, #F59E0B 62%, #D4AF37 80%, #a97b22 100%);
  --font-display: 'Cinzel', 'Times New Roman', serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;

  --radius: 20px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(88px, 12vw, 168px);

  /* Curvas compartidas (Emil Kowalski) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-padding-top: 90px;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--burdeo-3);
  color: var(--crema);
  font-family: var(--font-body);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.7;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--oro); color: var(--burdeo-3); }
.nowrap { white-space: nowrap; }

/* Controles táctiles: sin retardo, sin selección por pulsación larga */
a, button, [role="button"], [role="tab"], label.chip, .shot {
  touch-action: manipulation;
}
button, .btn, [role="tab"], .chip, .shot, .nav__burger {
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
:focus-visible { outline: 2px solid var(--oro-3); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Fondo global ---------- */
#gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .footer { position: relative; z-index: 2; }

/* ---------- Tipografía ---------- */
.gold-text {
  background: var(--gold-grad);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: goldShift 9s linear infinite;
}
@keyframes goldShift { to { background-position: -200% 0; } }

.title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: .02em;      /* grandes: tracking más cerrado */
  text-transform: uppercase;
  margin: .25em 0 .5em;
  text-wrap: balance;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .74rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  color: var(--oro);
  margin: 0;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--oro-3); box-shadow: 0 0 12px var(--oro-3); flex: none; }
.eyebrow:has(.dot)::before, .eyebrow:has(.pulse)::before { display: none; }

p { margin: 0 0 1.1em; color: var(--crema-dim); text-wrap: pretty; }
p strong { color: var(--crema); font-weight: 600; }

/* Split text */
.split-char { display: inline-block; will-change: transform; }
/* padding extra para no recortar tildes (Í) ni descendentes dentro de la máscara */
.split-mask { display: inline-block; overflow: hidden; vertical-align: bottom; padding: .2em .02em .08em; margin: -.2em -.02em -.08em; }
.split-word { display: inline-block; white-space: nowrap; }
/* background-clip:text solo pinta dentro de la caja: se agranda para incluir la tilde */
.split-char.gold-text { padding: .2em 0 .08em; margin: -.2em 0 -.08em; }

/* ---------- Borde luminoso dorado (material) ---------- */
.glass-edge { position: relative; isolation: isolate; }
.glass-edge::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 1;
  background: linear-gradient(160deg, rgba(253,224,71,.55), rgba(212,175,55,.12) 35%, rgba(212,175,55,.06) 65%, rgba(245,158,11,.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}

/* ---------- Botones ---------- */
.btn {
  --pad: .95em 1.6em;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px;
  padding: var(--pad);
  border-radius: 999px;
  font: 600 .84rem/1.1 var(--font-body); letter-spacing: .07em; text-transform: uppercase; text-align: center;
  border: 1px solid transparent; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform 160ms var(--ease-out), box-shadow 300ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.btn:active { transform: scale(.97); }
.btn--sm { --pad: .7em 1.2em; min-height: 42px; font-size: .72rem; }
.btn--block { width: 100%; }
.btn--gold {
  background: var(--gold-grad); background-size: 200% 100%;
  color: var(--burdeo-3);
  box-shadow: 0 10px 30px -12px rgba(245, 158, 11, .65), inset 0 1px 0 rgba(255,255,255,.55);
}
.btn--gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.65) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 700ms var(--ease-out);
}
.btn--outline { border-color: var(--line-strong); color: var(--oro-3); background: rgba(42, 8, 10, .45); }
.btn--ghost { border-color: rgba(255,253,247,.22); color: var(--crema); }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); }
  .btn:active { transform: translateY(0) scale(.97); }
  .btn--gold:hover::after { transform: translateX(120%); }
  .btn--gold:hover { box-shadow: 0 16px 40px -12px rgba(253, 224, 71, .7), inset 0 1px 0 rgba(255,255,255,.6); }
  .btn--outline:hover { background: rgba(212, 175, 55, .14); border-color: var(--oro); }
  .btn--ghost:hover { border-color: var(--oro); color: var(--oro-3); }
}

.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { to { transform: scale(3); opacity: 0; } }

.ornament {
  width: 180px; max-width: 100%; height: 18px; margin: 0 0 1.6em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 18'%3E%3Cg fill='none' stroke='%23D4AF37' stroke-width='1.2'%3E%3Cpath d='M0 9h60M120 9h60'/%3E%3Cpath d='M90 1l8 8-8 8-8-8z'/%3E%3Cpath d='M90 5l4 4-4 4-4-4z' fill='%23D4AF37'/%3E%3Cpath d='M70 9l5-5 5 5-5 5zM100 9l5-5 5 5-5 5z'/%3E%3C/g%3E%3Ccircle cx='62' cy='9' r='2' fill='%23F59E0B'/%3E%3Ccircle cx='118' cy='9' r='2' fill='%23F59E0B'/%3E%3C/svg%3E") no-repeat left center / contain;
}

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: radial-gradient(ellipse at center, var(--burdeo-2) 0%, var(--burdeo-3) 60%, #120304 100%); }
.preloader__inner { display: grid; justify-items: center; gap: 18px; }
.preloader__logo { position: relative; width: 140px; overflow: hidden; border-radius: 50%; }
.preloader__logo img { width: 100%; filter: drop-shadow(0 0 30px rgba(212,175,55,.45)); }
.preloader__shine { position: absolute; inset: -20%; background: linear-gradient(110deg, transparent 40%, rgba(255,247,200,.85) 50%, transparent 60%); transform: translateX(-100%); animation: shine 1.6s .3s var(--ease-out) infinite; mix-blend-mode: overlay; }
@keyframes shine { to { transform: translateX(100%); } }
.preloader__name { font-family: var(--font-display); letter-spacing: .4em; text-transform: uppercase; color: var(--oro); margin: 0; font-size: .9rem; }
.preloader__bar { width: 160px; height: 1px; background: rgba(212,175,55,.2); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 100%; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; }

/* ---------- Navbar (material translúcido) ---------- */
.nav {
  position: fixed; z-index: 50; top: max(14px, env(safe-area-inset-top)); left: 50%;
  width: min(1240px, 100% - 2 * var(--gutter));
  transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 14px;
  border-radius: 999px;
  background: rgba(42, 8, 10, .42);
  box-shadow: 0 10px 40px -20px rgba(0,0,0,.7), inset 0 1px 0 rgba(253,224,71,.12), inset 0 0 0 1px rgba(212,175,55,.16);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: background-color 300ms ease, transform 450ms var(--ease-out);
}
.nav.is-scrolled { background: rgba(26, 5, 6, .74); }
.nav.is-hidden { transform: translate(-50%, calc(-100% - 30px)); }
.nav__brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: .8rem; line-height: 1.05; letter-spacing: .14em; text-transform: uppercase; flex: none; }
.nav__brand img { width: 40px; height: auto; filter: drop-shadow(0 0 8px rgba(212,175,55,.35)); }
.nav__brand em { font-style: normal; color: var(--oro); }
.nav__links { display: flex; align-items: center; gap: 2px; min-width: 0; }
.nav__links > a:not(.btn) {
  position: relative; padding: .5em .78em;
  font-size: .79rem; font-weight: 500; letter-spacing: .04em; color: var(--crema-dim);
  transition: color 200ms ease;
}
.nav__links > a:not(.btn)::after {
  content: ""; position: absolute; left: .78em; right: .78em; bottom: .25em; height: 1px;
  background: var(--oro); transform: scaleX(0); transform-origin: right; transition: transform 300ms var(--ease-out);
}
.nav__links > a.is-active { color: var(--oro-3); }
.nav__links > a.is-active::after { transform: scaleX(1); transform-origin: left; }
@media (hover: hover) and (pointer: fine) {
  .nav__links > a:not(.btn):hover { color: var(--oro-3); }
  .nav__links > a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
}
.nav__socials { display: flex; gap: 2px; margin: 0 4px; }
/* Escritorio mediano: sin espacio para los íconos (siguen en el widget y el footer) */
@media (min-width: 1141px) and (max-width: 1400px) { .nav__socials { display: none; } }
.nav__actions { display: flex; align-items: center; gap: 8px; flex: none; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; position: relative; transition: transform 160ms var(--ease-out); }
.nav__burger:active { transform: scale(.94); }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--crema); transition: transform 300ms var(--ease-out), top 300ms var(--ease-out); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.nav.is-open .nav__burger span:first-child { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav__burger span:last-child { top: 21px; transform: rotate(-45deg); }

/* Íconos sociales */
.social-icon {
  position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  color: var(--crema-dim); transition: color 200ms ease, background-color 200ms ease, transform 160ms var(--ease-out);
}
.social-icon svg { width: 18px; height: 18px; }
.social-icon:active { transform: scale(.92); }
.social-icon.is-soon { opacity: .45; cursor: default; }
@media (hover: hover) and (pointer: fine) {
  .social-icon:not(.is-soon):hover { color: var(--oro-3); background: rgba(212,175,55,.12); }
}
.soon-badge {
  display: inline-block; padding: .3em .7em; border-radius: 99px;
  font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1;
  color: var(--burdeo-3); background: var(--gold-grad); white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; z-index: 2;
  min-height: 100vh; min-height: 100svh;
  display: grid; align-items: center;
  padding: 116px 0 96px;
  overflow: hidden;
  perspective: 1200px;
}
.hero__bg { position: absolute; inset: -6%; z-index: -3; will-change: transform; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero__veil {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 70% 60% at 28% 50%, rgba(139, 30, 36, .35), transparent 70%),
    linear-gradient(90deg, rgba(26,5,6,.95) 0%, rgba(42,8,10,.84) 48%, rgba(42,8,10,.6) 100%),
    linear-gradient(0deg, var(--burdeo-3) 0%, transparent 32%);
}
.hero__pattern {
  position: absolute; right: -6vw; top: 50%; z-index: -1;
  width: min(62vw, 760px); aspect-ratio: 1;
  translate: 0 -50%;
  background: url("../assets/estampado-gold.png") no-repeat center / contain;
  opacity: .1; will-change: transform;
}
.hero__content {
  width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(24px, 4vw, 64px);
  transform-style: preserve-3d;
}
.hero__crest { position: relative; justify-self: center; width: min(100%, 440px); transform-style: preserve-3d; will-change: transform; }
.hero__crest-tilt, .hero__crest-float { position: relative; transform-style: preserve-3d; will-change: transform; }
.hero__crest img { position: relative; width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.55)) drop-shadow(0 0 40px rgba(212,175,55,.25)); transform: translateZ(60px); }
.hero__halo { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(253, 224, 71, .32) 0%, rgba(212, 175, 55, .1) 40%, transparent 70%); filter: blur(20px); }
.hero__text { min-width: 0; }
.hero__eyebrow { margin-bottom: 1.1em; }
.hero__title { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; margin: 0 0 .35em; line-height: .92; letter-spacing: .01em; }
.hero__line { display: block; font-size: clamp(3rem, 8vw, 7rem); }
.hero__line--sm { font-size: clamp(1.2rem, 2.8vw, 2.2rem); letter-spacing: .4em; font-weight: 700; color: var(--crema); margin-bottom: .22em; }
.hero__sub { font-size: clamp(.78rem, 1.1vw, .95rem); letter-spacing: .16em; text-transform: uppercase; color: var(--crema); margin-bottom: .8em; }
.hero__sub i { color: var(--oro); font-style: normal; margin: 0 .35em; }
.hero__motto { font-family: var(--font-display); font-size: clamp(1.05rem, 1.7vw, 1.4rem); color: var(--crema); margin-bottom: 1.3em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__scroll { position: absolute; bottom: max(24px, env(safe-area-inset-bottom)); left: 50%; translate: -50% 0; display: grid; justify-items: center; gap: 10px; font-size: .64rem; letter-spacing: .4em; text-transform: uppercase; color: var(--oro); }
.hero__scroll-line { width: 1px; height: 46px; background: linear-gradient(var(--oro), transparent); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--oro-3); animation: scrollLine 2s var(--ease-in-out) infinite; }
@media (max-height: 920px) { .hero__scroll { display: none; } }
@keyframes scrollLine { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* Grito en el hero */
.grito {
  margin: 0 0 1.8em; padding: 14px 18px 12px;
  max-width: 520px;
  border-left: 2px solid var(--oro);
  background: linear-gradient(90deg, rgba(139,30,36,.45), rgba(139,30,36,0));
  border-radius: 0 14px 14px 0;
}
.grito__label { font-size: .64rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--oro); margin-bottom: 4px; }
.grito__stage { position: relative; display: grid; overflow: hidden; min-height: 1.5em; }
.grito__line {
  grid-area: 1 / 1;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, 1.9vw, 1.55rem); line-height: 1.25;
  color: var(--crema); letter-spacing: .01em;
  opacity: 0;
}
.grito__line.is-active { opacity: 1; }
.grito__line em { font-style: normal; color: var(--oro-3); }
.grito__dots { list-style: none; display: flex; gap: 6px; padding: 0; margin: 8px 0 0; }
.grito__dots li { width: 18px; height: 2px; border-radius: 2px; background: rgba(212,175,55,.25); overflow: hidden; }
.grito__dots li span { display: block; width: 100%; height: 100%; background: var(--oro-3); transform: scaleX(0); transform-origin: left; }

/* ---------- Marquee del grito ---------- */
.marquee {
  position: relative; z-index: 2; overflow: hidden;
  padding: clamp(14px, 1.8vw, 22px) 0;
  border-block: 1px solid var(--oro);
}
.marquee--burdeo { background: linear-gradient(90deg, var(--burdeo-2), var(--burdeo), var(--burdeo-2)); }
.marquee--oro { background: var(--gold-grad); transform: rotate(-1.2deg) scale(1.02); margin-block: 10px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.7); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item {
  display: inline-flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); padding-right: clamp(18px, 2.4vw, 36px);
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase; white-space: nowrap;
  font-size: clamp(1.3rem, 3.2vw, 2.6rem); letter-spacing: .03em; line-height: 1;
}
.marquee--burdeo .marquee__item { color: var(--oro-3); }
.marquee--burdeo .marquee__item:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--oro); }
.marquee--oro .marquee__item { color: var(--burdeo-3); }
.marquee__sep { width: .5em; height: .5em; flex: none; rotate: 45deg; background: currentColor; }
.marquee--burdeo .marquee__item:nth-child(even) .marquee__sep { background: var(--oro); }

/* ---------- Secciones ---------- */
.section { position: relative; z-index: 2; padding: var(--section-y) 0; }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }
.section-head .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.section-head .eyebrow:has(.pulse)::after { display: none; }
.section-head__lead { font-size: 1.05em; }

/* ---------- Historia ---------- */
.history { background: linear-gradient(180deg, var(--burdeo-3) 0%, rgba(42,8,10,.6) 50%, var(--burdeo-3) 100%); }
.history__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.history__media { position: relative; aspect-ratio: 4 / 4.4; }
.history__photo { position: absolute; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.history__photo img { width: 100%; height: 100%; object-fit: cover; }
.history__photo--main { inset: 0 18% 14% 0; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px var(--line); }
.history__photo--main img { object-position: 50% 60%; transform: scale(1.15); }
.history__photo--float { width: 44%; aspect-ratio: 3 / 4; right: 0; bottom: 0; box-shadow: 0 30px 60px -20px rgba(0,0,0,.9), 0 0 0 3px var(--oro); }
.history__stamp { position: absolute; left: -6%; bottom: -4%; width: 34%; aspect-ratio: 1; background: url("../assets/estampado-gold.png") no-repeat center / contain; opacity: .5; animation: spinSlow 60s linear infinite; }
@keyframes spinSlow { to { rotate: 360deg; } }

.stats {
  margin-top: clamp(64px, 9vw, 120px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-radius: var(--radius); background: rgba(26, 5, 6, .7); overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(253,224,71,.14);
}
.stat { padding: clamp(24px, 3vw, 42px) 12px; text-align: center; display: grid; gap: 8px; align-content: start; min-width: 0; }
.stat + .stat { box-shadow: inset 1px 0 0 var(--line); }
.stat__value {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: 1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums; white-space: nowrap; padding-top: .1em;
}
/* inline-block no hereda el recorte del padre: lleva su propio degradado */
.stat__plus { display: inline-block; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-top: .1em; margin-top: -.1em; }
.stat--long .stat__value { font-size: clamp(1.05rem, 5vw, 2.5rem); }
.stat__label { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--crema-dim); line-height: 1.4; }

/* ---------- Bloques: dúo ---------- */
.blocks { background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(139,30,36,.45), transparent 70%); }
.duo-switch, .duo-switch.seg { display: none; }
.duo { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 32px); perspective: 1600px; }
.duo::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: clamp(70px, 8vw, 104px); aspect-ratio: 1; translate: -50% -50%; z-index: 3; pointer-events: none;
  border-radius: 50%; background: url("../assets/logo-sm.png") no-repeat center / 74%, radial-gradient(circle, var(--burdeo-2), var(--burdeo-3));
  box-shadow: 0 0 0 1px var(--oro), 0 0 0 6px rgba(42,8,10,.85), 0 0 40px rgba(212,175,55,.35);
}
.duo-card {
  --mx: 50%; --my: 50%;
  position: relative; min-height: clamp(560px, 70vh, 720px);
  /* en flujo: si el texto crece, la tarjeta crece con él */
  display: flex; flex-direction: column; justify-content: flex-end;
  border-radius: calc(var(--radius) + 4px);
  transform-style: preserve-3d; will-change: transform;
  box-shadow: 0 40px 80px -36px rgba(0,0,0,.95), 0 0 0 1px var(--line);
}
.duo-card__media { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; background: var(--burdeo-ink); }
.duo-card__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%;
  opacity: 0; transform: scale(1.08);
  transition: opacity 900ms ease, transform 6s linear;
}
.duo-card__media img.is-active { opacity: 1; transform: scale(1); }
.duo-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42,8,10,.05) 25%, rgba(42,8,10,.7) 58%, rgba(26,5,6,.97) 100%); }
.duo-card__dim { position: absolute; inset: 0; border-radius: inherit; background: rgba(18,3,4,.5); opacity: 0; transition: opacity 400ms var(--ease-out); pointer-events: none; z-index: 1; }
.duo-card__glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(circle at var(--mx) var(--my), rgba(253,224,71,.26), transparent 45%); mix-blend-mode: screen; opacity: 0; transition: opacity 300ms ease; z-index: 1; }
.duo-card__frame { position: absolute; inset: 12px; border-radius: calc(var(--radius) - 4px); box-shadow: inset 0 0 0 1px rgba(212,175,55,.4); pointer-events: none; transform: translateZ(30px); z-index: 2; }
.duo-card__body {
  position: relative; z-index: 2; margin-top: 38%;
  padding: clamp(24px, 3vw, 44px); transform: translateZ(50px);
  border-radius: 0 0 calc(var(--radius) + 4px) calc(var(--radius) + 4px);
  background: linear-gradient(180deg, transparent, rgba(26,5,6,.78) 22%, rgba(26,5,6,.9));
}
.duo-card__tag { display: inline-flex; align-items: center; gap: .5em; font-size: .7rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--oro); }
.duo-card h3 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.2vw, 2.9rem); letter-spacing: .02em; text-transform: uppercase; margin: .15em 0 .1em; color: var(--crema); line-height: 1.02; overflow-wrap: anywhere; }
.duo-card__verse { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.3; margin: .5em 0 .7em; text-wrap: balance; }
.duo-card__text { font-size: .95rem; line-height: 1.6; margin: 0 0 1.1em; max-width: 46ch; }
.duo-card__traits { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.duo-card__traits li { padding: .45em .95em; border-radius: 99px; font-size: .74rem; letter-spacing: .04em; color: var(--crema); background: rgba(26,5,6,.55); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.duo-card__count { position: absolute; top: 24px; right: 26px; z-index: 2; display: flex; gap: 5px; }
.duo-card__count i { width: 16px; height: 2px; border-radius: 2px; background: rgba(255,253,247,.3); transition: background-color 300ms ease; }
.duo-card__count i.is-active { background: var(--oro-3); }
@media (hover: hover) and (pointer: fine) {
  .duo:hover .duo-card:not(:hover) .duo-card__dim { opacity: 1; }
  .duo-card:hover .duo-card__glare { opacity: 1; }
}

/* ---------- Galería ---------- */
.gallery { position: relative; z-index: 2; padding: clamp(70px, 8vw, 100px) 0 48px; overflow: hidden; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.gallery__head { display: flex; align-items: end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: clamp(16px, 2.6vw, 30px); }
.gallery__head .title { margin-bottom: 0; }
.gallery__hint { margin: 0; font-size: .78rem; letter-spacing: .08em; color: var(--crema-dim); }
.gallery__hint-touch { display: none; }
.gallery__viewport { display: grid; gap: clamp(12px, 1.6vw, 22px); perspective: 1600px; }
.gallery__row { position: relative; display: flex; gap: clamp(12px, 1.6vw, 22px); width: max-content; padding-inline: max(var(--gutter), calc((100vw - 1240px) / 2)); transform-style: preserve-3d; will-change: transform; }
.shot {
  position: relative; flex: none; margin: 0; padding: 0; border: 0; background: var(--burdeo-ink);
  height: min(34vh, 330px); aspect-ratio: var(--ar, 3/4);
  border-radius: 16px; overflow: hidden; cursor: zoom-in;
  will-change: transform;
  box-shadow: 0 30px 60px -32px rgba(0,0,0,.95), 0 0 0 1px rgba(212,175,55,.22);
  transition: box-shadow 300ms ease;
}
.shot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
.shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 58%, rgba(26,5,6,.82)); pointer-events: none; }
.shot__cap { position: absolute; z-index: 1; left: 14px; bottom: 12px; right: 14px; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--crema); text-align: left; text-shadow: 0 2px 10px rgba(0,0,0,.8); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; }
.shot:active { box-shadow: 0 30px 60px -32px rgba(0,0,0,.95), 0 0 0 2px var(--oro); }
@media (hover: hover) and (pointer: fine) {
  .shot:hover { box-shadow: 0 30px 60px -32px rgba(0,0,0,.95), 0 0 0 1px var(--oro), 0 0 30px -6px rgba(212,175,55,.45); }
}
.gallery__progress { width: min(1240px, 100% - 2 * var(--gutter)); margin: 24px auto 0; height: 2px; background: rgba(212,175,55,.18); border-radius: 2px; overflow: hidden; }
.gallery__progress span { display: block; height: 100%; width: 100%; background: var(--gold-grad); transform-origin: left; transform: scaleX(0); }

/* ---------- Agenda ---------- */
.agenda__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.events { display: grid; gap: 12px; }
.event {
  display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 20px; align-items: center;
  padding: 18px 22px; border-radius: var(--radius);
  background: linear-gradient(100deg, rgba(139,30,36,.38), rgba(26,5,6,.6));
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 300ms ease, transform 400ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .event:hover { box-shadow: inset 0 0 0 1px var(--oro); transform: translateX(6px); }
}
.event__date { text-align: center; font-family: var(--font-display); line-height: 1; box-shadow: 1px 0 0 var(--line); padding-right: 16px; }
.event__date b { display: block; font-size: 2rem; color: var(--oro-3); }
.event__date small { display: block; margin-top: 4px; font-size: .66rem; letter-spacing: .16em; color: var(--oro); text-transform: uppercase; }
.event h3 { margin: 0 0 .25em; font-family: var(--font-display); font-size: 1.08rem; letter-spacing: .03em; color: var(--crema); line-height: 1.25; overflow-wrap: anywhere; }
.event p { margin: 0; font-size: .86rem; line-height: 1.5; overflow-wrap: anywhere; }
.event__tag { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; padding: .6em 1em; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); color: var(--oro); white-space: nowrap; }
.event__tag--next { background: var(--oro); color: var(--burdeo-3); box-shadow: none; }
.agenda__poster { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 1px var(--line); position: sticky; top: 110px; }

/* ---------- Convocatoria / ensayos ---------- */
.join { overflow: hidden; }
.join__bg { position: absolute; inset: 0; z-index: -1; }
.join__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; opacity: .2; filter: grayscale(.3); }
.join__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--burdeo-3) 0%, rgba(101,18,21,.86) 26%, rgba(101,18,21,.86) 74%, var(--burdeo-3) 100%); }

.seasons { border-radius: calc(var(--radius) + 6px); background: rgba(26,5,6,.72); padding: clamp(20px, 3vw, 40px); margin-bottom: clamp(16px, 2vw, 28px); }
.seasons__head { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; margin-bottom: clamp(18px, 2.4vw, 30px); }
.seasons__title { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: .04em; text-transform: uppercase; margin: 0 0 .2em; }
.seasons__lead { margin: 0; }
.seasons__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 32px); align-items: stretch; }
.seasons__panels { display: grid; }
.season { grid-area: 1 / 1; display: grid; grid-template-rows: auto 1fr; gap: 18px; opacity: 0; visibility: hidden; transition: opacity 300ms ease, visibility 0s 300ms; }
.season.is-active { opacity: 1; visibility: visible; transition: opacity 300ms ease; }
.season__photo { margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; box-shadow: 0 0 0 1px var(--line); }
.season__photo img { width: 100%; height: 100%; object-fit: cover; }
.season__info { display: grid; gap: 6px; align-content: start; }
.season__kicker { font-size: .68rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--oro); }
.season__place { font-family: var(--font-display); font-size: clamp(1.15rem, 1.9vw, 1.5rem); line-height: 1.25; color: var(--crema); margin: 0; overflow-wrap: anywhere; }
.season__detail { margin: 0; font-size: .92rem; }
.map { border-radius: 16px; overflow: hidden; min-height: 300px; background: var(--burdeo-ink); box-shadow: 0 0 0 1px var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }

/* Control segmentado con indicador deslizante */
.seg { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 999px; background: rgba(18,3,4,.7); box-shadow: inset 0 0 0 1px var(--line); max-width: 100%; }
.seg__pill { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 999px; background: var(--gold-grad); box-shadow: 0 6px 18px -8px rgba(245,158,11,.7); transition: transform 380ms var(--ease-out), width 380ms var(--ease-out); }
.seg button {
  position: relative; z-index: 1; min-height: 44px; padding: 0 1.2em; border: 0; background: none; cursor: pointer;
  font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--crema-dim); white-space: nowrap;
  transition: color 250ms ease;
}
.seg button[aria-selected="true"] { color: var(--burdeo-3); }

.join__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(16px, 2vw, 28px); }
.panel { position: relative; padding: clamp(26px, 3vw, 40px); border-radius: var(--radius); background: rgba(26, 5, 6, .72); }
.panel--accent { background: linear-gradient(160deg, rgba(139,30,36,.9), rgba(42,8,10,.94)); display: flex; flex-direction: column; gap: 12px; }
.panel--accent p { flex: 1; }
.notice {
  display: grid; gap: 6px; padding: 14px 16px; border-radius: 14px;
  background: rgba(253,224,71,.08); box-shadow: inset 0 0 0 1px rgba(212,175,55,.35);
  font-size: .9rem; line-height: 1.5; color: rgba(255,253,247,.85);
}
.notice strong { color: var(--oro-3, #FDE047); font-size: 1rem; }
.notice__badge { display: inline-flex; align-items: center; gap: 8px; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: #4ade80; }
.panel__icon { width: 50px; height: 50px; color: var(--oro); margin-bottom: 14px; }
.panel h3 { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 .7em; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; color: var(--crema-dim); font-size: .94rem; line-height: 1.5; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0l2 6 6 2-6 2-2 6-2-6-6-2 6-2z' fill='%23D4AF37'/%3E%3C/svg%3E") no-repeat center / contain; }

/* ---------- Invitaciones ---------- */
.invite__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.invite__media { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; box-shadow: 0 50px 90px -40px rgba(0,0,0,.95), 0 0 0 1px var(--line); }
.invite__media img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 0%; }
.invite__media figcaption { position: absolute; left: 16px; bottom: 16px; padding: .5em 1em; border-radius: 99px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; background: rgba(26,5,6,.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.invite__options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: .4em; }
.option { display: flex; flex-direction: column; gap: 8px; padding: clamp(20px, 2.4vw, 30px); border-radius: var(--radius); background: rgba(26,5,6,.68); }
.option--gold { background: linear-gradient(160deg, rgba(139,30,36,.85), rgba(42,8,10,.9)); }
.option__kicker { font-size: .66rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--oro); }
.option h3 { margin: 0; font-family: var(--font-display); font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.25; letter-spacing: .02em; text-transform: uppercase; }
.option p { flex: 1; font-size: .9rem; line-height: 1.55; margin: 0 0 6px; }

/* ---------- Contacto ---------- */
.contact { background: linear-gradient(180deg, transparent, rgba(101,18,21,.4)); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.social-cards { display: grid; gap: 12px; margin-top: 1.4em; }
.social-card {
  display: flex; align-items: center; gap: 14px; min-height: 72px;
  padding: 12px 18px 12px 12px; border-radius: 999px;
  background: linear-gradient(100deg, rgba(139,30,36,.6), rgba(26,5,6,.6));
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 300ms ease, transform 160ms var(--ease-out);
}
.social-card:not(.is-soon):active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) {
  .social-card:not(.is-soon):hover { box-shadow: inset 0 0 0 1px var(--oro); }
  .social-card:not(.is-soon):hover .social-card__arrow { transform: translateX(4px); }
}
.social-card.is-soon { opacity: .75; }
.social-card__icon { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--burdeo-3); background: var(--gold-grad); }
.social-card.is-soon .social-card__icon { background: rgba(255,253,247,.12); color: var(--crema-dim); }
.social-card__icon svg { width: 22px; height: 22px; }
.social-card__body { display: grid; flex: 1; min-width: 0; line-height: 1.35; }
.social-card__body strong { color: var(--crema); font-size: .98rem; overflow-wrap: anywhere; }
.social-card__body small { color: var(--crema-dim); font-size: .78rem; overflow-wrap: anywhere; }
.social-card__arrow { flex: none; color: var(--oro); font-size: 1.3rem; transition: transform 300ms var(--ease-out); }

.form { padding: clamp(22px, 3.4vw, 44px); border-radius: calc(var(--radius) + 6px); background: linear-gradient(160deg, rgba(139,30,36,.78), rgba(42,8,10,.92)); box-shadow: 0 50px 100px -40px rgba(0,0,0,.9); display: grid; gap: 16px; }
.form h3 { margin: 0; font-family: var(--font-display); font-size: 1.45rem; letter-spacing: .06em; text-transform: uppercase; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.chips legend { padding: 0; margin-bottom: 8px; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--oro); }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 40px; padding: .5em 1em; border-radius: 99px;
  font-size: .8rem; font-weight: 600; line-height: 1.25; color: var(--crema-dim);
  background: rgba(26,5,6,.55); box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease, transform 160ms var(--ease-out);
}
.chip:active span { transform: scale(.97); }
.chip input:checked + span { background: var(--oro); color: var(--burdeo-3); box-shadow: none; }
.chip input:focus-visible + span { outline: 2px solid var(--oro-3); outline-offset: 2px; }
.form__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field span { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--oro); }
.field input, .field textarea {
  width: 100%; padding: .85em 1em; min-height: 48px;
  font: 400 16px/1.4 var(--font-body); color: var(--crema);
  background: rgba(26,5,6,.6); border: 1px solid rgba(212,175,55,.22); border-radius: 12px;
  transition: border-color 200ms ease, box-shadow 200ms ease; resize: vertical;
}
.field textarea::placeholder { color: rgba(255,253,247,.35); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--oro); box-shadow: 0 0 0 4px rgba(212,175,55,.15); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #f87171; }
.form__note { margin: 0; font-size: .8rem; text-align: center; }
.form__note a, .contact__info p a { color: var(--oro); text-underline-offset: 3px; overflow-wrap: anywhere; }
.form__actions { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 10px; }
@media (max-width: 600px) { .form__actions { grid-template-columns: minmax(0, 1fr); } }
/* Honeypot: fuera de la vista pero no display:none (algunos bots lo detectan) */
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .82rem; line-height: 1.5; color: rgba(255,253,247,.8); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--oro); cursor: pointer; }
.consent.is-invalid { color: #fca5a5; }
.consent.is-invalid input { outline: 2px solid #f87171; outline-offset: 2px; }
.link-btn {
  padding: 0; border: 0; background: none; font: inherit; letter-spacing: inherit;
  color: var(--oro); text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.link-btn:focus-visible { outline: 2px solid var(--oro-3); outline-offset: 2px; border-radius: 2px; }

/* ---------- Novedades: Instagram en vivo ---------- */
.ig__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.ig__text p { max-width: 46ch; }
.ig__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ig__frame {
  position: relative; min-width: 0; padding: 10px; border-radius: 24px;
  background: #fff; box-shadow: 0 40px 90px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(212,175,55,.25), 0 0 60px -20px rgba(212,175,55,.35);
}
.ig__frame iframe { display: block; width: 100%; min-height: 360px; border: 0; border-radius: 16px; background: #fff; opacity: 0; transition: opacity 400ms var(--ease-out); }
.ig__frame.is-loaded iframe { opacity: 1; }
.ig__fallback {
  position: absolute; inset: 10px; display: grid; place-content: center; justify-items: center; gap: 8px;
  border-radius: 16px; color: var(--burdeo-3); text-decoration: none; text-align: center;
  background: linear-gradient(160deg, #fffdf7, #f7ecd0);
}
.ig__fallback img { width: 64px; height: auto; }
.ig__fallback span { font-size: .85rem; opacity: .7; }
.ig__frame.is-loaded .ig__fallback { visibility: hidden; }
@media (max-width: 860px) {
  .ig__grid { grid-template-columns: minmax(0, 1fr); }
  .ig__text { text-align: center; }
  .ig__text p { margin-inline: auto; }
  .ig__text .ornament { margin-inline: auto; }
  .ig__cta { justify-content: center; }
}
@media (max-width: 600px) {
  .ig__frame { padding: 6px; border-radius: 18px; }
  .ig__fallback { inset: 6px; }
  .ig__cta .btn { flex: 1 1 100%; }
}

/* ---------- Aviso legal (modal) ---------- */
.legal {
  width: min(680px, calc(100vw - 32px)); max-height: min(82svh, 760px); padding: 0;
  color: var(--crema); background: linear-gradient(160deg, #3a0c0f, var(--burdeo-3));
  border: 0; border-radius: 22px; box-shadow: 0 40px 120px -30px rgba(0,0,0,.95);
  overflow: hidden; flex-direction: column;
}
.legal[open] { display: flex; animation: legalIn 260ms var(--ease-out); }
.legal::backdrop { background: rgba(10,2,3,.72); backdrop-filter: blur(6px); }
@keyframes legalIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.legal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 24px 14px; border-bottom: 1px solid rgba(212,175,55,.18); }
.legal__head h2 { margin: 0; font: 700 clamp(1.05rem, 3.6vw, 1.35rem)/1.25 var(--font-display); color: var(--oro); }
.legal__close { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; font-size: 1.5rem; line-height: 1; color: var(--crema); background: rgba(255,255,255,.08); cursor: pointer; }
.legal__close:active { transform: scale(.97); }
.legal__body { padding: 8px 24px 24px; overflow-y: auto; overscroll-behavior: contain; font-size: .92rem; line-height: 1.65; }
.legal__body h3 { margin: 20px 0 6px; font: 700 .95rem/1.3 var(--font-display); letter-spacing: .04em; color: var(--oro-3, #FDE047); }
.legal__body p { margin: 0 0 10px; color: rgba(255,253,247,.85); }
.legal__body a { color: var(--oro); }
.legal__meta { margin-top: 18px !important; font-size: .8rem; opacity: .8; }
.legal__body ul { margin: 0 0 10px; padding-left: 1.2em; color: rgba(255,253,247,.85); }
.legal__body li { margin: 0 0 6px; }
.legal__body li::marker { color: var(--oro); }
@media (prefers-reduced-motion: reduce) { .legal[open] { animation-duration: 1ms; } }
.form.is-highlight { animation: formGlow 1.2s var(--ease-out); }
@keyframes formGlow { 0% { box-shadow: 0 0 0 0 rgba(253,224,71,.6), 0 50px 100px -40px rgba(0,0,0,.9); } 100% { box-shadow: 0 0 0 18px rgba(253,224,71,0), 0 50px 100px -40px rgba(0,0,0,.9); } }

/* ---------- Cierre monumental ---------- */
.finale { position: relative; z-index: 2; min-height: 90vh; min-height: 90svh; display: grid; place-items: center; overflow: hidden; padding: var(--section-y) var(--gutter); text-align: center; }
.finale__bg { position: absolute; inset: 0; z-index: -1; }
.finale__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.finale__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(101,18,21,.55), var(--burdeo-3) 75%), linear-gradient(180deg, var(--burdeo-3), transparent 25%, transparent 75%, var(--burdeo-3)); }
.finale__inner { display: grid; justify-items: center; gap: .1em; max-width: 100%; }
.finale__lead { margin: 0; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .3em; color: var(--crema); font-size: clamp(1rem, 2.4vw, 1.8rem); }
.finale__shout { margin: 0; display: flex; gap: .3em; justify-content: center; font-family: var(--font-display); font-weight: 900; font-size: clamp(2.6rem, 12.5vw, 15rem); line-height: 1; padding-top: .12em; }
.finale__word { display: inline-block; will-change: transform; }
.finale__name { margin: 0; font-family: var(--font-display); font-weight: 900; text-transform: uppercase; color: var(--crema); letter-spacing: .04em; font-size: clamp(1.6rem, 5.6vw, 4.6rem); line-height: 1.1; text-wrap: balance; }

/* ---------- Footer ---------- */
.footer { padding: clamp(80px, 10vw, 130px) 0 calc(40px + env(safe-area-inset-bottom)); overflow: hidden; background: linear-gradient(180deg, var(--burdeo-3), #120304 60%); box-shadow: inset 0 1px 0 var(--line); text-align: center; }
.footer__pattern { position: absolute; inset: 0; background: url("../assets/estampado-gold.png") repeat center / 220px; opacity: .035; }
.footer__inner { position: relative; display: grid; justify-items: center; }
.footer__crest { width: clamp(140px, 15vw, 210px); height: auto; filter: drop-shadow(0 0 40px rgba(212,175,55,.3)); }
.footer__giant { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.4rem, 10.5vw, 10rem); line-height: .9; letter-spacing: 0; margin: .15em 0 .1em; padding-top: .18em; white-space: nowrap; }
.footer__motto { font-family: var(--font-display); color: var(--crema); font-size: clamp(1rem, 1.6vw, 1.3rem); margin-bottom: 3em; }
.footer__cols { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; text-align: left; padding: 40px 0; box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.footer__cols h4 { margin: 0 0 1em; font-family: var(--font-display); letter-spacing: .2em; text-transform: uppercase; color: var(--oro); font-size: .84rem; }
.footer__cols a { display: flex; align-items: center; gap: 10px; min-height: 36px; color: var(--crema-dim); transition: color 200ms ease, transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .footer__cols a:hover { color: var(--oro-3); transform: translateX(4px); }
}
.footer__cols a svg, .footer__soon svg { width: 18px; height: 18px; flex: none; }
.footer__soon { display: flex; align-items: center; gap: 10px; min-height: 36px; color: rgba(255,253,247,.45); }
.footer__cols p { font-size: .92rem; }
.footer__legal { margin: 28px 0 0; font-size: .76rem; letter-spacing: .08em; }

/* ---------- Música ---------- */
.music { background: radial-gradient(ellipse 70% 60% at 80% 50%, rgba(139,30,36,.5), transparent 70%); }
.music__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
/* Tarjeta con disco que controla el reproductor flotante */
.record { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(20px, 3vw, 40px); padding: clamp(22px, 3vw, 40px); border-radius: 24px; background: linear-gradient(160deg, rgba(139,30,36,.82), rgba(26,5,6,.92)); box-shadow: 0 30px 70px -30px rgba(0,0,0,.9), 0 0 50px -14px rgba(212,175,55,.45); }
.record__disc {
  width: clamp(140px, 16vw, 210px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: repeating-radial-gradient(circle, #1a1a1a 0 2px, #0d0d0d 2px 4px), #111;
  box-shadow: 0 20px 40px -14px rgba(0,0,0,.9), 0 0 0 3px rgba(212,175,55,.5), inset 0 0 30px rgba(255,255,255,.06);
  animation: spin 4s linear infinite; animation-play-state: paused;
}
.is-music-playing .record__disc { animation-play-state: running; }
@keyframes spin { to { transform: rotate(360deg); } }
.record__label { width: 40%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, var(--burdeo), var(--burdeo-2)); box-shadow: 0 0 0 3px var(--oro); }
.record__label img { width: 76%; }
.record__info { min-width: 0; display: grid; gap: 6px; }
.record__kicker { font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--oro); }
.record__title { margin: 0; font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.9rem); line-height: 1.15; text-transform: uppercase; letter-spacing: .02em; }
.record__artists { margin: 0 0 8px; font-size: .88rem; line-height: 1.5; }
.record__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.record__link { justify-self: start; margin-top: 4px; font-size: .78rem; color: var(--oro); }

/* ---------- Reproductor flotante ---------- */
.player {
  position: fixed; z-index: 61;
  left: max(14px, env(safe-area-inset-left)); bottom: max(14px, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
}
.player__pill {
  display: flex; align-items: center; gap: 10px; min-height: 52px; max-width: 260px;
  padding: 6px 8px 6px 6px; border: 0; border-radius: 999px; cursor: pointer; text-align: left;
  color: var(--crema); background: rgba(26,5,6,.88);
  box-shadow: 0 14px 30px -12px rgba(0,0,0,.85), inset 0 0 0 1px var(--line-strong), inset 0 1px 0 rgba(253,224,71,.18);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform 160ms var(--ease-out), box-shadow 300ms ease;
}
.player__pill:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .player__pill:hover { box-shadow: 0 14px 30px -12px rgba(0,0,0,.85), inset 0 0 0 1px var(--oro), 0 0 24px -6px rgba(212,175,55,.5); } }
.player__disc { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, var(--burdeo), #111 70%); box-shadow: 0 0 0 2px var(--oro); animation: spin 4s linear infinite; animation-play-state: paused; }
.player__disc img { width: 70%; }
.player.is-playing .player__disc { animation-play-state: running; }
.player__text { display: grid; min-width: 0; line-height: 1.2; }
.player__text strong { font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: var(--oro-3); white-space: nowrap; }
.player__text small { font-size: .68rem; color: var(--crema-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__state { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--burdeo-3); background: var(--gold-grad); }
.player__ico-play { width: 18px; height: 18px; margin-left: 2px; }
.player__bars { display: none; align-items: flex-end; gap: 2px; height: 14px; }
.player__bars i { width: 3px; height: 100%; border-radius: 2px; background: currentColor; transform-origin: bottom; animation: eq .9s ease-in-out infinite; }
.player__bars i:nth-child(2) { animation-delay: -.3s; } .player__bars i:nth-child(3) { animation-delay: -.6s; }
.player.is-playing .player__ico-play { display: none; }
.player.is-playing .player__bars { display: flex; }

.player__panel {
  width: min(360px, calc(100vw - 28px)); padding: 6px; border-radius: 18px;
  background: linear-gradient(160deg, rgba(139,30,36,.95), rgba(26,5,6,.97));
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.95), 0 0 40px -12px rgba(212,175,55,.45), inset 0 0 0 1px var(--line-strong);
  transform-origin: 0 100%;
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(.96);
  transition: opacity 200ms ease, transform 260ms var(--ease-out), visibility 0s 260ms;
}
.player.is-open .player__panel { opacity: 1; visibility: visible; transform: none; transition: opacity 200ms ease, transform 260ms var(--ease-out); }
.player__bar { display: flex; align-items: center; gap: 4px; padding: 2px 2px 6px 10px; }
.player__now { flex: 1; min-width: 0; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--oro); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__icon-btn { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--crema-dim); cursor: pointer; transition: background-color 200ms ease, color 200ms ease; }
.player__icon-btn svg { width: 18px; height: 18px; }
.player__icon-btn:active { transform: scale(.92); }
@media (hover: hover) and (pointer: fine) { .player__icon-btn:hover { background: rgba(212,175,55,.14); color: var(--oro-3); } }
.player__embed { border-radius: 12px; overflow: hidden; background: #121212; }
.player__embed iframe { display: block; width: 100%; height: 152px; border: 0; transition: height 300ms var(--ease-out); }
.player.is-list .player__embed iframe { height: min(420px, 58vh); }
.eq { display: flex; align-items: flex-end; gap: 5px; height: 34px; margin: 0 0 1.6em; }
.eq i { width: 6px; height: 100%; border-radius: 3px; background: var(--gold-grad); transform-origin: bottom; animation: eq 1.1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.3s; } .eq i:nth-child(3) { animation-delay: -.6s; } .eq i:nth-child(4) { animation-delay: -.15s; }
.eq i:nth-child(5) { animation-delay: -.75s; } .eq i:nth-child(6) { animation-delay: -.45s; } .eq i:nth-child(7) { animation-delay: -.9s; }
@keyframes eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }

/* ---------- Widget de contacto: Paceñita Funko + redes ---------- */
.dock {
  position: fixed; z-index: 60;
  right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom));
  display: flex; align-items: flex-end; gap: 10px;
  pointer-events: none;
}
.dock > * { pointer-events: auto; }
.dock__icons { display: flex; flex-direction: column; gap: 8px; }
.dock__icon {
  position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  color: var(--burdeo-3); background: var(--gold-grad);
  box-shadow: 0 10px 24px -10px rgba(0,0,0,.8), 0 0 0 2px rgba(42,8,10,.9), 0 0 0 3px rgba(212,175,55,.6);
  transition: box-shadow 200ms ease, background-color 200ms ease;
}
.dock__icon svg { width: 22px; height: 22px; }
.dock__icon:active { transform: scale(.92); }
.dock__icon--whatsapp { background: radial-gradient(circle at 30% 30%, #4ade80, #16a34a); color: #fff; }
.dock__icon.is-soon { background: rgba(42,8,10,.92); color: rgba(255,253,247,.45); cursor: default; }
.dock__icon.is-soon::after { content: ""; position: absolute; top: 2px; right: 2px; width: 10px; height: 10px; border-radius: 50%; background: var(--oro-2); box-shadow: 0 0 0 2px var(--burdeo-3); }
.dock__tip {
  position: absolute; right: calc(100% + 10px); top: 50%; translate: 0 -50%;
  padding: .45em .8em; border-radius: 8px; white-space: nowrap;
  font-size: .72rem; font-weight: 600; color: var(--crema); background: rgba(26,5,6,.95); box-shadow: inset 0 0 0 1px var(--line);
  opacity: 0; transform: translateX(4px); transition: opacity 150ms ease, transform 200ms var(--ease-out); pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .dock__icon:not(.is-soon):hover { box-shadow: 0 12px 28px -10px rgba(0,0,0,.8), 0 0 0 2px rgba(42,8,10,.9), 0 0 0 3px var(--oro-3), 0 0 22px rgba(253,224,71,.5); }
  .dock__icon:hover .dock__tip { opacity: 1; transform: none; }
}
.dock__icon:focus-visible .dock__tip { opacity: 1; transform: none; }

.dock__funko {
  position: relative; width: 84px; aspect-ratio: 281 / 520; padding: 0; border: 0; cursor: pointer; background: none;
  transform-origin: 50% 100%;
  animation: caporalHop 3.6s var(--ease-out) infinite;
}
.dock__funko img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  border-radius: 999px 999px 16px 16px;
  box-shadow: 0 18px 30px -12px rgba(0,0,0,.85), 0 0 0 2px var(--oro), 0 0 0 5px rgba(42,8,10,.85), 0 0 26px -4px rgba(212,175,55,.55);
}
.dock__funko::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -8px; height: 10px; border-radius: 50%; background: rgba(0,0,0,.45); filter: blur(4px); z-index: -1; animation: hopShadow 3.6s var(--ease-out) infinite; }
/* Pequeño salto de caporal: reposo, impulso, aterrizaje con leve compresión */
@keyframes caporalHop {
  0%, 62%, 100% { transform: translateY(0) rotate(0) scale(1); }
  70% { transform: translateY(-14px) rotate(-4deg) scale(1.02); }
  78% { transform: translateY(0) rotate(0) scale(1.03, .95); }
  84% { transform: translateY(-5px) rotate(3deg); }
  90% { transform: translateY(0) rotate(0) scale(1); }
}
@keyframes hopShadow { 0%, 62%, 100% { transform: scale(1); opacity: 1; } 70% { transform: scale(.7); opacity: .5; } 78% { transform: scale(1.08); opacity: 1; } 84% { transform: scale(.88); } }
@media (hover: hover) and (pointer: fine) { .dock__funko:hover { animation-play-state: paused; } }

.dock__bubble {
  position: absolute; right: 58px; bottom: calc(100% + 12px);
  width: max-content; max-width: min(240px, calc(100vw - 90px));
  padding: 12px 34px 12px 16px; border-radius: 16px 16px 4px 16px;
  background: linear-gradient(150deg, var(--burdeo), var(--burdeo-2));
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.9), 0 0 0 1px var(--oro), inset 0 1px 0 rgba(253,224,71,.25);
  transform-origin: 100% 100%;
}
.dock__bubble[hidden] { display: none; }
/* Cola del globo apuntando hacia la columna de redes */
.dock__bubble::after { content: ""; position: absolute; right: -7px; bottom: 10px; width: 14px; height: 14px; rotate: 45deg; background: var(--burdeo-2); box-shadow: 1px -1px 0 var(--oro); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.dock__msg { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: .92rem; line-height: 1.3; color: var(--oro-3); }
.dock__close { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: var(--crema-dim); font-size: 1.1rem; line-height: 1; cursor: pointer; }
.dock__close:active { transform: scale(.9); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 24px; background: rgba(18, 3, 4, .95); overscroll-behavior: contain; touch-action: pan-y pinch-zoom; }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; display: grid; justify-items: center; gap: 14px; height: 100%; align-content: center; min-width: 0; }
.lightbox__figure img { max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); max-width: 100%; width: auto; object-fit: contain; border-radius: 12px; box-shadow: 0 0 0 1px var(--line), 0 40px 100px rgba(0,0,0,.8); }
.lightbox__figure figcaption { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--oro); text-align: center; }
.lightbox__close, .lightbox__nav { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: rgba(42,8,10,.75); color: var(--crema); font-size: 1.8rem; line-height: 1; cursor: pointer; transition: border-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out); }
.lightbox__close:active, .lightbox__nav:active { transform: scale(.92); }
.lightbox__close { position: absolute; top: max(18px, env(safe-area-inset-top)); right: 18px; }

/* ---------- Toggle de datos (solo desarrollo local) ---------- */
.dev-toggle { position: fixed; z-index: 200; left: 50%; top: 84px; translate: -50% 0; display: flex; padding: 3px; gap: 2px; border-radius: 99px; background: #e5e5e5; font: 500 12px/1 system-ui, sans-serif; box-shadow: 0 4px 16px rgba(0,0,0,.4); }
.dev-toggle a { padding: 7px 12px; border-radius: 99px; color: #444; }
.dev-toggle a[aria-current="true"] { background: #fff; color: #111; box-shadow: 0 1px 3px rgba(0,0,0,.2); }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .nav__links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px; border-radius: 26px;
    background: rgba(26,5,6,.96);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.8), inset 0 0 0 1px var(--line);
    max-height: calc(100svh - 110px); overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top right;
    transition: opacity 200ms ease, transform 260ms var(--ease-out), visibility 0s 260ms;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; transition: opacity 200ms ease, transform 260ms var(--ease-out); }
  .nav__links > a:not(.btn) { display: flex; align-items: center; min-height: 52px; padding: 0 1em; font-size: 1.02rem; box-shadow: inset 0 -1px 0 rgba(212,175,55,.1); }
  .nav__links > a:not(.btn)::after { display: none; }
  .nav__socials { justify-content: center; margin: 10px 0 4px; gap: 8px; }
  .nav__socials .social-icon { width: 46px; height: 46px; box-shadow: inset 0 0 0 1px var(--line); }
  .nav__burger { display: block; }
  .agenda__grid { grid-template-columns: minmax(0, 1fr); }
  .agenda__poster { position: relative; top: 0; max-width: 420px; justify-self: center; }
}
@media (max-width: 960px) {
  .seasons__body, .join__grid, .invite__grid, .music__grid { grid-template-columns: minmax(0, 1fr); }
  .invite__media { max-width: 440px; width: 100%; justify-self: center; aspect-ratio: 4 / 5; }
}
@media (max-width: 860px) {
  .hero { padding-top: 104px; }
  .hero__content { grid-template-columns: minmax(0, 1fr); text-align: center; gap: 8px; }
  .hero__crest { width: min(50vw, 230px); }
  .hero__eyebrow { flex-wrap: wrap; justify-content: center; letter-spacing: .18em; }
  .hero__cta { justify-content: center; }
  .grito { margin-inline: auto; text-align: left; border-left: 0; border-top: 2px solid var(--oro); border-radius: 0 0 14px 14px; background: linear-gradient(180deg, rgba(139,30,36,.5), rgba(139,30,36,.08)); text-align: center; }
  .grito__dots { justify-content: center; }
  .hero__veil { background: linear-gradient(180deg, rgba(26,5,6,.72) 0%, rgba(42,8,10,.86) 45%, var(--burdeo-3) 100%); }
  .hero__pattern { right: 50%; translate: 50% -50%; width: 120vw; opacity: .07; }
  .hero__scroll { display: none; }
  .history__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .history__media { max-width: 520px; width: 100%; justify-self: center; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { box-shadow: inset 0 1px 0 var(--line); }
  .stat:nth-child(4) { box-shadow: inset 1px 0 0 var(--line), inset 0 1px 0 var(--line); }

  /* Dúo: carrusel deslizable nativo con selector */
  .duo-switch.seg { display: grid; width: fit-content; margin: -16px auto 20px; }
  .duo { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 24px; scroll-padding-inline: var(--gutter); perspective: none; }
  .duo::-webkit-scrollbar { display: none; }
  .duo::after { display: none; }
  .duo-card { flex: 0 0 86%; scroll-snap-align: center; min-height: min(620px, 130vw); }
  .duo-card__frame, .duo-card__body { transform: none; }

  /* Galería: dos filas deslizables con el dedo */
  .gallery { min-height: 0; padding-bottom: 32px; }
  .gallery__hint-touch { display: inline; }
  .gallery__hint-mouse { display: none; }
  .gallery__viewport { perspective: none; }
  .gallery__row { width: auto; overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain; scrollbar-width: none; scroll-padding-inline: var(--gutter); padding-inline: var(--gutter); padding-block: 2px; will-change: auto; }
  .gallery__row::-webkit-scrollbar { display: none; }
  .shot { height: clamp(200px, 46vw, 300px); scroll-snap-align: start; }
  .shot img { transform: none; }
}
@media (max-width: 600px) {
  .nav { padding: 6px 6px 6px 10px; gap: 8px; }
  .nav__brand span { display: none; }
  .nav__actions .btn { --pad: .6em .95em; font-size: .64rem; letter-spacing: .04em; min-height: 44px; }
  .hero__line { font-size: clamp(2.5rem, 14vw, 4rem); }
  .hero__line--sm { letter-spacing: .22em; font-size: 1.1rem; }
  .hero__sub { letter-spacing: .08em; }
  .hero__cta .btn { flex: 1 1 100%; }
  .stat { padding-inline: 8px; }
  .stat__label { letter-spacing: .12em; }
  .duo-card { flex-basis: 88%; min-height: 520px; }
  .duo-card__body { margin-top: 55%; }
  .duo-card__body { padding: 22px; }
  .event { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 16px; }
  .event__date { padding-right: 10px; }
  .event__date b { font-size: 1.6rem; }
  .event__tag { grid-column: 2; justify-self: start; }
  .seg { width: 100%; }
  .seg button { padding: 0 .6em; font-size: .7rem; letter-spacing: .06em; }
  .invite__options { grid-template-columns: minmax(0, 1fr); }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .footer__cols { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .footer__cols a, .footer__soon { justify-content: center; }
  .lightbox { grid-template-columns: minmax(0, 1fr); padding: 70px 12px 96px; }
  .lightbox__nav { position: absolute; bottom: max(20px, env(safe-area-inset-bottom)); }
  .lightbox__nav--prev { left: calc(50% - 64px); }
  .lightbox__nav--next { right: calc(50% - 64px); }
  /* Reproductor: deja libre la columna de la Paceñita a la derecha */
  .player__panel { width: calc(100vw - 28px - 72px); }
  .player__pill { max-width: calc(100vw - 28px - 72px); }
  .record { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .record__info { justify-items: center; }
  .record__actions { justify-content: center; }
  .record__link { justify-self: center; }
  /* Móvil: plegado muestra solo la Paceñita; al abrir aparecen las redes y el globo */
  .dock { gap: 8px; }
  .dock__icons { position: absolute; right: 0; bottom: calc(100% + 10px); opacity: 0; visibility: hidden; transform: translateY(8px) scale(.94); transform-origin: bottom right; transition: opacity 200ms ease, transform 260ms var(--ease-out), visibility 0s 260ms; }
  .dock.is-open .dock__icons { opacity: 1; visibility: visible; transform: none; transition: opacity 200ms ease, transform 260ms var(--ease-out); }
  .dock__funko { width: 58px; }
  .dock__icon { width: 44px; height: 44px; }
  .dock__icon svg { width: 20px; height: 20px; }
  .dock__bubble { right: 52px; bottom: calc(100% + 30px); padding: 10px 30px 10px 12px; }
  .dock__msg { font-size: .8rem; }
}
@media (max-width: 360px) {
  .nav__actions .btn { --pad: .55em .75em; font-size: .6rem; }
  .hero__line:not(.hero__line--sm) { font-size: 2.35rem; }
  .finale__lead { letter-spacing: .18em; }
}

/* Movimiento reducido: menos y más suave, no cero */
@media (prefers-reduced-motion: reduce) {
  .gold-text, .history__stamp, .preloader__shine, .pulse::after, .dock__funko, .dock__funko::after, .eq i, .record__disc, .player__disc, .player__bars i, .hero__scroll-line::after { animation: none !important; }
  .duo-card__media img { transition: opacity 600ms ease; transform: none !important; }
  .btn:hover { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav { background: rgba(26,5,6,.97); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
