/* =========================
   GA WEB — styles.css (PRO) — 2026
   FIXED + OPTIMIZADO (V3)
   ✅ Misma estética / diseño
   ✅ Limpieza: duplicados (galería), overrides redundantes, variables repetidas
   ✅ Rendimiento: contain, will-change solo donde toca, menos repaints
   ✅ Accesible: reduce motion coherente
   ========================= */

/* =========================
   TOKENS
   ========================= */
:root{
  --ivory: #f5f1e7;
  --ivory-2:#efe7d6;
  --sand:  #e7ddc7;

  --ink: #161616;
  --muted: rgba(22,22,22,.72);

  --gold: #c8a24a;
  --gold-2:#b8923f;

  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --font-display: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-title: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-script: "Allura", cursive;
  --font-elegant: "Playfair Display", Georgia, "Times New Roman", serif;

  /* ✅ Subtítulos (Allura) — control centralizado */
  --sub-size: clamp(21px, 2.25vw, 33px);
  --sub-size-m: 24px; /* móvil */

  /* granate */
  --garnet: #6b1f2b;

  --radius-xl: 28px;
  --radius-lg: 20px;

  --shadow-soft: 0 16px 44px rgba(0,0,0,.10);

  --content-max: 1160px;
  --gutter: 22px;
  --section-pad: 44px;

  --intro-dim: rgba(0,0,0,.52);
  --intro-blur: 12px;

  --card-radius: 28px;
  --card-shadow: 0 30px 90px rgba(0,0,0,.32);

  --card-white: rgba(255,255,255,.92);
  --card-border: rgba(22,22,22,.10);

  --timeline-line: rgba(200,162,74,.28);
  --timeline-line-strong: rgba(200,162,74,.50);

  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* ✅ Alternancia fondos A/B */
  --bgA: #f6f1ea;
  --bgB: #efe5d9;

  /* “corte quebrado” */
  --break-h: 44px;
  --break-h-mobile: 34px;

  /* Separadores legacy */
  --garnet-ink: #C8A24A;

  /* Evitar que móviles alteren colores en modo oscuro */
  color-scheme: light;
}

/* =========================
   FUENTE LOCAL
   ========================= */
@font-face {
  font-family: "VintageGoods";
  src: url("assets/fonts/Vintage Goods.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* =========================
   BASE
   ========================= */
*{ box-sizing: border-box; }

html, body{
  height: 100%;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body{
  font-family: var(--font);
  color: var(--ink);

  background:
    radial-gradient(1100px 640px at 18% 0%, rgba(200,162,74,.12), rgba(200,162,74,0) 62%),
    radial-gradient(980px 600px at 82% 6%, rgba(22,22,22,.07), rgba(22,22,22,0) 62%),
    linear-gradient(180deg, #f7f4ee 0%, #efe7d6 100%);
  background-attachment: fixed;

  overflow-x: hidden;
}

img{ max-width: 100%; height: auto; display: block; }
::selection{ background: rgba(200,162,74,.22); }
a{ color: inherit; text-decoration: none; }

:focus-visible{
  outline: 3px solid rgba(200,162,74,.38);
  outline-offset: 3px;
}

.frame{
  width: min(var(--content-max), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
}

.section{
  position: relative;
  padding: var(--section-pad) 0;
}

/* =========================
   Fondos alternos por sección
   ========================= */
.section--a{ background: var(--bgA); }
.section--b{ background: var(--bgB); }
.footer--b{ background: var(--bgB); }

.section.section--a,
.section.section--b{ background-clip: padding-box; }

/* =========================
   Corte “quebrado”
   ========================= */
.sectionBreak{
  height: var(--break-h);
  width: 100%;
  line-height: 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.sectionBreak svg{
  display:block;
  width: 100%;
  height: 100%;
}
.sectionBreak--a-to-b{ background: var(--bgB); }
.sectionBreak--b-to-a{ background: var(--bgA); }
.sectionBreak--a-to-b .sbFill{ fill: var(--bgA); }
.sectionBreak--b-to-a .sbFill{ fill: var(--bgB); }

@media (max-width: 768px){
  .sectionBreak{ height: var(--break-h-mobile); }
}

/* Helpers */
.kicker{
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 900;
  color: rgba(22,22,22,.68);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before{
  content:"";
  width: 26px;
  height: 1px;
  background: rgba(200,162,74,.85);
}

.h3{
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .2px;
  font-size: clamp(20px, 1.7vw, 28px);
  line-height: 1.12;
}

.p{
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
  max-width: 75ch;
}

.hr-gold{
  margin-top: 18px;
  width: 70px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), rgba(200,162,74,0));
}

.srOnly{
  position:absolute !important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}

/* =========================
   SITE
   ========================= */
.site{
  width: 100%;
  padding: 0;
  transition: opacity 650ms ease;
}
.site--hidden{
  opacity: 0;
  pointer-events: none;
}

/* =========================
   Header de sección
   ========================= */
.sectionHead{
  display:flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 6px;
}
.sectionHead__line{
  width: 30px;
  height: 1px;
  flex: 0 0 auto;
  background: rgba(200,162,74,.85);
  transform: translateY(-2px);
}
.sectionHead__title{
  margin: 0;
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: .2px;
  line-height: 1.06;
  font-size: clamp(34px, 3.4vw, 56px);
  color: var(--garnet);
  text-shadow: 0 16px 34px rgba(0,0,0,.06);
}
.sectionHead__sub{
  margin: 6px 0 0;
  font-family: var(--font-script);
  font-size: var(--sub-size);
  color: rgba(22,22,22,.52);
  line-height: 1.25;
}
@media (max-width: 768px){
  .sectionHead__sub{ font-size: var(--sub-size-m); }
}

/* =========================
   INTRO (SOBRE)
   ========================= */
.intro{
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--intro-dim);
  backdrop-filter: blur(var(--intro-blur));
  -webkit-backdrop-filter: blur(var(--intro-blur));
  z-index: 9999;
  opacity: 1;
  transition: opacity 480ms ease;
}
.intro--closing{ opacity: 0; }

.envelopeBtn{
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  width: min(780px, 92vw);
  -webkit-tap-highlight-color: transparent;
}

.envelopeCard{
  position: relative;
  width: 100%;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transform: translateZ(0);
  transition: transform 900ms cubic-bezier(.2,.8,.2,1), filter 900ms cubic-bezier(.2,.8,.2,1);
}

.envelopeImg{ display:block; width:100%; height:auto; }

.envelopeCard::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 30% 18%, rgba(255,255,255,.22), rgba(255,255,255,0) 55%),
    linear-gradient(to bottom, rgba(0,0,0,.10), rgba(0,0,0,0) 40%);
}

.envelopeOverlay{
  position: absolute;
  inset: 0;
  padding: 18px;
  text-align: center;
  color: rgba(34,34,34,.84);
  pointer-events: none;
}

.envelopeTop{
  position:absolute;
  top: 10%;
  left: 8%;
  right: 8%;
  display:flex;
  justify-content:center;
  pointer-events:none;
}

/* Nombres sobre invitación */
.envelopeNamesTop{
  font-family: "VintageGoods", serif;
  font-weight: normal;
  font-size: clamp(37px, 6.2vw, 77px);
  letter-spacing: .8px;
  color: rgba(255,255,255,0.96);
  text-shadow:
    0 2px 4px rgba(0,0,0,.35),
    0 8px 18px rgba(0,0,0,.18);
}

.envelopeNamesTop--baskerville{
  font-family: var(--font-title);
  color: var(--garnet);
  letter-spacing: .15px;
  text-shadow: 0 12px 26px rgba(0,0,0,.08);
}

.envelopeSeal,
.envelopeSeal__logo{ display:none !important; }

.envelopeBottom{
  position:absolute;
  left: 50%;
  bottom: 10%;
  transform: translateX(-50%);
  width: min(420px, 76%);
  display:grid;
  gap: 7px;
  pointer-events:none;
  text-align: center;
}

.envelopeTextBottom{
  font-family: var(--font-script);
  font-size: clamp(16px, 2.2vw, 22px);
  color: rgba(255,255,255,0.95);
  max-width: 26ch;
  margin: 0 auto;
  line-height: 1.12;
  text-wrap: balance;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
  letter-spacing: 0.3px;
}

.envelopeHint{
  font-family: var(--font-script);
  font-size: 18px;
  letter-spacing: .25px;
  color: rgba(255,255,255,0.8);
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
  font-weight: 400;
}

.envelopeDate{
  position:absolute;
  left: 0;
  right: 0;
  bottom: 3.5%;
  font-size: 12px;
  letter-spacing: 2.4px;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
  pointer-events:none;
}

@media (min-width: 900px){
  .envelopeTextBottom{ font-size: clamp(17px, 2.25vw, 27px); }
  .envelopeHint{ font-size: 23px; }
  .envelopeDate{ font-size: 17px; }
}

@media (hover:hover){
  .envelopeBtn:hover .envelopeCard{ transform: translateY(-6px) scale(1.01); }
}
.intro--open .envelopeCard{
  transform: translateY(-10px) rotate(-1.5deg) scale(.985);
  filter: brightness(1.03);
}

@media (max-width: 430px){
  .envelopeOverlay{ position: absolute; inset: 0; }
  .envelopeBottom{
    position: static !important;
    transform: none;
    width: auto;
    display: contents;
  }
  .envelopeTextBottom{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 17.0%;
    width: min(360px, 76%);
    max-width: 24ch;
    margin: 0;
    text-align: center;
    line-height: 1.10;
  }
  .envelopeHint{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 8%;
    width: min(360px, 76%);
    margin: 0;
    text-align: center;
  }
  .envelopeDate{
    bottom: 2.2%;
    font-size: 11px;
  }
}

/* =========================
   MUSIC BUTTON
   ========================= */
.musicBtn{
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 9000;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(22,22,22,.12);
  background: rgba(245,241,231,.72);
  box-shadow: 0 14px 34px rgba(0,0,0,.10);
  cursor: pointer;
  font-weight: 900;
  color: rgba(22,22,22,.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.musicBtn.is-on{
  border-color: rgba(200,162,74,.55);
  background: rgba(255,255,255,.78);
}

/* =========================
   CORAZONES
   ========================= */
.floatHearts{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: .9;
}
.fh{
  position: absolute;
  font-size: 14px;
  color: rgba(107,31,43,.68);
  opacity: 0;
  filter: drop-shadow(0 10px 16px rgba(0,0,0,.08));
}
.fh1{ left: 6%;  top: 14%; animation: floatA 8.4s ease-in-out infinite; }
.fh2{ right: 7%; top: 12%; animation: floatB 9.2s ease-in-out infinite; }
.fh3{ right: 10%; top: 40%; animation: floatC 10.0s ease-in-out infinite; font-size: 13px; }
.fh4{ left: 10%; top: 62%; animation: floatB 9.6s ease-in-out infinite; font-size: 13px; }
.fh5{ right: 6%; top: 68%; animation: floatA 8.8s ease-in-out infinite; font-size: 13px; }
.fh6{ left: 50%; top: 8%; transform: translateX(-50%); animation: floatC 10.6s ease-in-out infinite; font-size: 12px; opacity: 0; }

@keyframes floatA{
  0%{ transform: translate(0,0) scale(.92); opacity: 0; }
  18%{ opacity: .45; }
  55%{ transform: translate(22px,-16px) scale(1); opacity: .45; }
  85%{ opacity: 0; }
  100%{ transform: translate(28px,-6px) scale(.92); opacity: 0; }
}
@keyframes floatB{
  0%{ transform: translate(0,0) scale(.92); opacity: 0; }
  20%{ opacity: .40; }
  55%{ transform: translate(-26px,12px) scale(1); opacity: .40; }
  85%{ opacity: 0; }
  100%{ transform: translate(-16px,24px) scale(.92); opacity: 0; }
}
@keyframes floatC{
  0%{ transform: translate(0,0) scale(.92); opacity: 0; }
  24%{ opacity: .32; }
  55%{ transform: translate(-12px,-18px) scale(1); opacity: .32; }
  85%{ opacity: 0; }
  100%{ transform: translate(-6px,-26px) scale(.92); opacity: 0; }
}
@media (prefers-reduced-motion: reduce){
  .fh{ animation: none !important; opacity: 0 !important; }
}

/* =========================
   HERO
   ========================= */
.hero{ padding: 0 !important; margin: 0 !important; }

.heroStage{
  width: 100%;
  min-height: 100svh;
  min-height: 100dvh;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  overflow: hidden;
}

@media (min-width: 980px){
  .heroStage{
    grid-template-columns: 50% 50%;
    height: 100svh;
    height: 100dvh;
    height: 100vh;
  }
}

/* FOTO */
.heroPhoto--full{
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: var(--ivory);

  /* ✅ aislar repaints */
  contain: paint;
}

.heroPhoto--full .heroPhoto__bg{
  position:absolute;
  inset:0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  filter: blur(18px) saturate(1.06) brightness(.84);
  opacity: .95;
}

.heroPhoto--full .heroPhoto__bg::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 520px at 65% 18%, rgba(200,162,74,.12), rgba(0,0,0,0) 58%),
    linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,0) 62%);
}

.heroPhoto__img{
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center bottom;
}

/* DEGRADADOS FOTO */
@media (max-width: 979px){
  .heroPhoto--full::after{
    content:"";
    position:absolute;
    left: 0; right: 0; bottom: 0;
    height: 140px;
    pointer-events:none;
    z-index: 2;
    background: linear-gradient(
      180deg,
      rgba(245,241,231,0) 0%,
      rgba(245,241,231,.55) 55%,
      rgba(245,241,231,.92) 100%
    );
  }
}
@media (min-width: 980px){
  .heroPhoto--full::after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    z-index: 2;
    background:
      linear-gradient(90deg,
        rgba(245,241,231,0) 0%,
        rgba(245,241,231,0) 62%,
        rgba(245,241,231,.65) 82%,
        rgba(245,241,231,.96) 100%
      );
  }
  .heroPhoto--full .heroPhoto__bg{
    filter: blur(12px) saturate(1.03) brightness(.88);
    opacity: .62;
    transform: scale(1.06);
  }
}

/* TEXTO */
.heroText{
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 22px var(--gutter) 26px;
  background: rgba(245,241,231,.94);
  isolation: isolate;
  position: relative;
  z-index: 2;

  /* ✅ aislar repaints */
  contain: content;
}

@media (min-width: 980px){
  .heroText{ padding: 0 74px; }
}

.heroBand{
  height: 10px;
  border-radius: 999px;
  width: 120px;
  opacity: .85;
  background: linear-gradient(90deg, rgba(200,162,74,.55), rgba(22,22,22,.10), rgba(200,162,74,0));
}
.heroBand--top{ margin-bottom: 10px; }
.heroBand--bottom{ margin-top: 10px; width: 140px; opacity:.65; }

.heroNames{
  font-family: var(--font-display);
  font-size: clamp(44px, 3.4vw, 66px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: .15px;
  background: linear-gradient(90deg, rgba(22,22,22,.92), rgba(200,162,74,.98), rgba(22,22,22,.92));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: shine 3.6s ease-in-out infinite;
  padding: 2px 0 6px;
}

.heroLead{
  margin-top: 8px;
  line-height: 1.6;
  max-width: 60ch;
}
.heroLead--allura{
  font-family: var(--font-script);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.32;
  color: rgba(22,22,22,.65);
  max-width: 54ch;
  margin-bottom: 32px;
}

.heroDateLabel{
  margin-top: 8px;
  font-size: 14px;
  color: rgba(22,22,22,.70);
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.heroDateWrap{
  display:flex;
  justify-content:center;
  margin-top: 6px;
  margin-bottom: 28px;
}

.heroDate--fancy .heroDate__text{
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(46px, 4.4vw, 76px);
  letter-spacing: .8px;
  line-height: 1.05;

  background: linear-gradient(90deg, rgba(22,22,22,.92), rgba(200,162,74,.98), rgba(22,22,22,.92));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;

  animation: shine 3.6s ease-in-out infinite;
}

@keyframes shine{
  0%{ background-position: 0% 50%; }
  50%{ background-position: 100% 50%; }
  100%{ background-position: 0% 50%; }
}

.heroFade{
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 150px;
  pointer-events:none;
  background: linear-gradient(180deg, rgba(245,241,231,0) 0%, rgba(245,241,231,.90) 55%, rgba(245,241,231,1) 100%);
}

@media (max-width: 768px){
  .heroNames{ font-size: 40px; }
  .heroLead--allura{ font-size: 21px; line-height: 1.5; }
  .heroDateLabel{ font-size: 15px; }
  .heroDate--fancy .heroDate__text{ font-size: 44px; }

  .heroNames,
  .heroDate--fancy .heroDate__text{
    filter: drop-shadow(0 2px 10px rgba(0,0,0,.35));
  }
}

/* =========================
   BANDA1 + BLOQUE FALTAN
   ========================= */
.sectionBlock--faltan{
  background: var(--bgB);
}

.sepImage.sepImage--bg{
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  overflow: hidden;

  background-image: url("../assets/img/banda1.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  background-color: var(--bgB);

  filter: drop-shadow(0 10px 18px rgba(0,0,0,.10));
}

/* Compactar “Faltan” (móvil) */
@media (max-width: 979px){
  #faltan.section{
    padding-top: 10px;
    padding-bottom: 26px;
  }
  .sepImage.sepImage--bg{
    height: 110px;
    background-position: center 65%;
  }
  #faltan .sectionHead{ margin-bottom: 4px; }
  .countdownWrap{ margin-top: 10px; padding: 6px 0; }
  #faltan .sectionHead__sub{ margin-top: 10px; }
}
@media (min-width: 980px){
  .sepImage.sepImage--bg{
    height: 70px;
    background-size: auto 100%;
    background-repeat: repeat-x;
  }
}

/* Legacy separadores (apagados) */
.sectionSepMinimal,
.sectionSep{ display:none !important; }

/* =========================
   BUTTONS
   ========================= */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .5px;
  border: 1px solid rgba(22,22,22,.10);
  background: rgba(255,255,255,.75);
  box-shadow: 0 18px 44px rgba(0,0,0,.10);
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
  cursor: pointer;
}
.btn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.92); border-color: rgba(200,162,74,.26); }

.btn--primary{
  background: rgba(200,162,74,.92);
  border-color: rgba(200,162,74,.65);
  color: rgba(22,22,22,.92);
}
.btn--primary:hover{ background: rgba(200,162,74,.98); }

.btn--ghost{
  background: rgba(255,255,255,.70);
  color: rgba(22,22,22,.86);
}

/* =========================
   COUNTDOWN
   ========================= */
.countdownWrap{
  margin: 18px auto 0;
  width: min(980px, 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 0;
}
.cdChip{
  width: min(820px, 100%);
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  padding: 14px 14px;
  border-radius: 26px;
  background: var(--card-white);
  border: 1px solid rgba(22,22,22,.10);
  box-shadow: 0 18px 52px rgba(0,0,0,.10);
  position: relative;
  clip-path: polygon(3% 0%, 97% 0%, 100% 18%, 100% 82%, 97% 100%, 3% 100%, 0% 82%, 0% 18%);
}
.cdChip::before{
  content:"";
  position:absolute;
  inset: 8px;
  border: 1px solid rgba(200,162,74,.35);
  clip-path: inherit;
  pointer-events:none;
  opacity:.9;
}
.cdUnit{
  display: grid;
  justify-items: center;
  align-content: center;
  padding: 10px 6px;
  min-width: 0;
}
.cdNum{
  font-size: clamp(22px, 3.0vw, 38px);
  font-weight: 900;
  letter-spacing: .5px;
  font-variant-numeric: tabular-nums;
  color: rgba(22,22,22,.90);
  line-height: 1;
}
.cdLab{
  margin-top: 6px;
  font-size: clamp(9px, 1.2vw, 11px);
  letter-spacing: 1.2px;
  color: rgba(22,22,22,.60);
  font-weight: 900;
  text-transform: uppercase;
}
.cdDivider{
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, rgba(200,162,74,0), rgba(200,162,74,.45), rgba(200,162,74,0));
  opacity: .9;
}
@media (max-width: 520px){
  .cdChip{ padding: 12px 10px; border-radius: 22px; }
  .cdDivider{ height: 38px; }
}
#faltan .sectionHead__sub{ text-align: center; }

/* =========================
   CARDS — BLANCAS (global)
   ========================= */
.placeCard,
.rsvpCallout,
.rsvpPanel,
.actionCard,
.footer__inner{
  background: var(--card-white) !important;
  border: 1px solid rgba(22,22,22,.10) !important;
}

/* =========================
   UBICACIÓN
   ========================= */
.placeGrid{
  margin-top: 18px;
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.placeCard{
  border-radius: var(--radius-xl);
  box-shadow: 0 18px 52px rgba(0,0,0,.10);
  padding: 18px 18px 20px;
  position: relative;
  overflow: hidden;
  background: var(--card-white);
  border: 1px solid rgba(22,22,22,.10);
}

/* Tarjeta con foto */
.placeCard--withMedia{
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
}

.placeMedia{
  position: relative;
  overflow: hidden;
  min-height: 220px;
  background: rgba(0,0,0,.03);
}

/* Imagen base */
.placeMedia img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.03) contrast(1.02);

  /* máscara suave */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-composite: intersect;
}

/* Viñeta suave */
.placeMedia::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  box-shadow: inset 0 0 40px rgba(245,241,231,.75);
}

/* Overlay integración paleta */
.placeMedia::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(520px 240px at 30% 20%, rgba(200,162,74,.14), rgba(0,0,0,0) 60%),
    linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,0) 55%);
  pointer-events:none;
}

/* Body */
.placeBody{
  padding: 18px 18px 20px;
  position: relative;
}

@media (min-width: 980px){
  .placeCard--withMedia{
    grid-template-columns: 42% 58%;
    align-items: stretch;
  }
  .placeMedia{ min-height: 100%; }
  .placeBody{ padding: 22px 22px 22px; }
}

/* En móvil, redondeo arriba */
@media (max-width: 979px){
  .placeCard--withMedia .placeMedia{
    border-top-left-radius: var(--radius-xl);
    border-top-right-radius: var(--radius-xl);
    border-bottom-left-radius: 0;
  }
}

/* Centrado pro desktop (mantiene tu look) */
@media (min-width: 980px){
  .placeCard--withMedia .placeBody{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 26px 26px;
  }
  .placeCard--withMedia .placeHead{
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .placeCard--withMedia .placeTag{ justify-content: center; }
  .placeCard--withMedia .placeBtns{
    justify-content: center;
    margin-top: 18px;
  }
}

.placeHead{
  display:flex;
  gap: 14px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}
.placeHead__text{ flex: 1; min-width: 0; }

.placeTag{
  font-weight:900;
  letter-spacing:1.4px;
  text-transform:uppercase;
  font-size:11px;
  color: rgba(22,22,22,.75);
  margin-bottom:6px;
  display:inline-flex;
  gap:8px;
  align-items:center;
}
.placeTag::before{
  content:"";
  width:10px;
  height:10px;
  border-radius:999px;
  background: rgba(200,162,74,.95);
  box-shadow: 0 10px 18px rgba(200,162,74,.18);
}

.placeTitle{
  font-family: var(--font-display);
  font-weight:700;
  font-size: clamp(22px, 1.6vw, 30px);
  margin:0;
}

.placeMeta{
  margin-top:10px;
  color: var(--muted);
  line-height:1.65;
  font-size:14px;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

.placeBtns{
  margin-top:14px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  position: relative;
  z-index: 1;
}

/* Pin */
.placePin{
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(200,162,74,.28);
  box-shadow: 0 16px 36px rgba(0,0,0,.08);
  position: relative;
  flex: 0 0 auto;
  margin-top: 2px;
}
.placePin--icon .pinDot,
.placePin--icon .pinPulse{ display: none !important; }

.pinIcon{
  width: 22px;
  height: 22px;
  fill: none;
  stroke: rgba(200,162,74,.95);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 10px 16px rgba(0,0,0,.08));
}

@media (max-width: 520px){
  .placeBtns{ justify-content: center; }
  .placeBtns .btn{
    width: min(520px, 100%);
    justify-content: center;
  }
}

/* Layout legacy centrado si lo usas */
@media (min-width: 980px){
  .placeCard--centerDesktop .placeHead{
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 12px;
  }
  .placeCard--centerDesktop .placeHead__text{ max-width: 72ch; }
  .placeCard--centerDesktop .placeTag{ justify-content: center; }
  .placeCard--centerDesktop .placeBtns{ justify-content: center; }
}

/* =========================
   TIMELINE (PRO + Lottie)
   ========================= */
.timelineWrap{ margin-top: 24px; display:grid; place-items:center; }
.timeline{
  width: min(920px, 100%);
  position: relative;
  padding: 10px 0;
}

.timelineLine{
  position:absolute;
  left: 50%;
  top: 6px;
  bottom: 6px;
  width: 10px;
  height: calc(100% - 12px);
  transform: translateX(-50%);
  z-index: 0;
}
.timelineLine__path{
  fill: none;
  stroke: var(--timeline-line);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.06));
}
.timeline.is-drawn .timelineLine__path{
  animation: drawLine 1.25s ease-out forwards;
}
@keyframes drawLine{ to{ stroke-dashoffset: 0; } }

.tItem{
  position: relative;
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 18px 0;
  z-index: 1;
  opacity: 1;
  transform: none;
}

@media (min-width: 860px){
  .tItem{
    grid-template-columns: 1fr 86px 1fr;
    align-items: center;
    gap: 12px;
  }
  .tSide--left{
    grid-column: 1;
    display: flex;
    justify-content: flex-end;
    justify-self: end;
  }
  .tDot{
    grid-column: 2;
    justify-self: center;
    align-self: center;
  }
  .tSide--right{
    grid-column: 3;
    display: flex;
    justify-content: flex-start;
    justify-self: start;
  }
}

.timeline.is-ready .tItem{
  opacity: 0;
  transform: translateY(12px);
}
.timeline.is-ready .tItem.is-in{
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out);
}

/* Dot */
.tDot{
  width: 86px; height: 86px;
  border-radius: 999px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(200,162,74,.26);
  box-shadow: 0 16px 36px rgba(0,0,0,.08);
  margin: 0 auto;
  position: relative;
}

/* Lottie pop */
.tDot.has-lottie{
  transform: scale(1);
  will-change: transform;
  animation: lottiePop .42s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes lottiePop{
  0%{ transform: scale(.96); }
  60%{ transform: scale(1.03); }
  100%{ transform: scale(1); }
}
@media (prefers-reduced-motion: reduce){
  .tDot.has-lottie{ animation: none !important; }
}

.tLottie{
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border-radius: 999px;
  overflow: hidden;
  transform: translateZ(0);
}
.tLottie > svg{
  width: 74%;
  height: 74%;
  display: block;
}

.tIcon{
  font-size: 20px;
  line-height: 1;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: .95;
}
.tDot.has-lottie .tIcon{ opacity: 0; }

.tPulse{
  position:absolute; inset: -2px; border-radius: 999px;
  border: 1px solid rgba(22,22,22,.10);
  opacity: .65;
  animation: ringPulse2 3.2s ease-in-out infinite;
}
@keyframes ringPulse2{
  0%{ transform: scale(1); opacity:.55; }
  60%{ transform: scale(1.14); opacity:0; }
  100%{ transform: scale(1.14); opacity:0; }
}

.tCard{
  border-radius: 22px;
  padding: 14px 18px;
  box-shadow: 0 14px 38px rgba(0,0,0,.08);
  max-width: 520px;
  position: relative;
  border: 1.5px solid rgba(200,162,74,.55);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Punta hacia el círculo */
.tCard::after,
.tCard::before{
  content:"";
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  pointer-events: none;
}
.tCard::after{ border: 10px solid transparent; }
.tCard::before{ border: 11px solid transparent; }

/* Izquierda */
.tItem:nth-child(odd) .tCard::after{
  left: -18px;
  border-right-color: rgba(255,255,255,.94);
}
.tItem:nth-child(odd) .tCard::before{
  left: -20px;
  border-right-color: rgba(200,162,74,.55);
}
/* Derecha */
.tItem:nth-child(even) .tCard::after{
  right: -18px;
  border-left-color: rgba(255,255,255,.94);
}
.tItem:nth-child(even) .tCard::before{
  right: -20px;
  border-left-color: rgba(200,162,74,.55);
}

@media (min-width: 860px){
  .tCard{ max-width: 440px; }
  .tItem:nth-child(odd) .tCard{
    margin-left: auto;
    margin-right: 7px;
    text-align: center;
  }
  .tItem:nth-child(even) .tCard{
    margin-right: auto;
    margin-left: 7px;
    text-align: center;
  }
}

/* Tipografía timeline */
.tTime{
  font-family: var(--font-elegant);
  font-weight: 900;
  letter-spacing: 1px;
  font-size: 12.5px;
  color: rgba(107,31,43,.88);
  text-transform: none;
}
.tLabel{
  font-family: var(--font-elegant);
  margin-top: 6px;
  font-size: 14.5px;
  color: rgba(22,22,22,.66);
  line-height: 1.32;
}

@media (max-width: 859px){
  .timelineLine__path{
    stroke: var(--timeline-line-strong);
    stroke-width: 2.0;
  }
  .tItem{
    grid-template-columns: 1fr 72px 1fr;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
  }
  .tDot{ width: 60px; height: 60px; }
  .tIcon{ font-size: 22px; }
  .tLottie > svg{ width: 78%; height: 78%; }

  .tCard{
    width: 100%;
    max-width: none;
    padding: 12px 12px;
    border-radius: 22px;
    text-align: center;
  }
  .tTime{ font-size: 13px; }
  .tLabel{ font-size: 15px; line-height: 1.32; }

  .tSide[aria-hidden="true"]{ visibility: hidden; }
  .tSide--left{ padding-right: 8px; }
  .tSide--right{ padding-left: 8px; }
}

/* =========================
   RSVP
   ========================= */
.rsvpCallout{
  margin: 26px auto 0;
  width: min(920px, 100%);
  border-radius: var(--radius-xl);
  padding: 18px;
  border: 1.6px solid rgba(200,162,74,.55);
  background: rgba(255,255,255,.92);
  box-shadow:
    0 18px 52px rgba(0,0,0,.10),
    0 0 0 6px rgba(200,162,74,.10);
  position: relative;
  overflow: hidden;
}
.rsvpCallout::before{
  content:"CONFIRMA TU ASISTENCIA";
  position:absolute;
  top: 14px;
  right: -56px;
  transform: rotate(12deg);
  background: rgba(200,162,74,.92);
  color: rgba(22,22,22,.92);
  font-weight: 900;
  letter-spacing: 1.4px;
  font-size: 11px;
  padding: 8px 62px;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(0,0,0,.12);
  pointer-events:none;
  opacity: .95;
}
.rsvpCallout__kicker{
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(22,22,22,.70);
  display:inline-flex;
  gap:10px;
  align-items:center;
}
.rsvpCallout__kicker::before{
  content:"";
  width: 26px;
  height: 1px;
  background: rgba(200,162,74,.85);
}
.rsvpCallout__text{
  margin: 10px 0 14px;
  color: rgba(22,22,22,.66);
  line-height: 1.6;
  font-size: 14px;
}
.rsvpStatus{
  margin-top: 12px;
  font-size: 13px;
  color: rgba(22,22,22,.70);
}
.rsvpStatus.is-ok{
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(200,162,74,.14);
  border: 1px solid rgba(200,162,74,.28);
}

.hoverCardBtn{
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  width: min(420px, 100%);
  display: block;
  margin: 10px auto 0;
}

.rsvpPanel{
  margin: 14px auto 0;
  width: min(920px, 100%);
  border-radius: var(--radius-xl);
  box-shadow: 0 18px 52px rgba(0,0,0,.10);
  padding: 18px;
  display: none;
}
.rsvpPanel.is-open{ display:block; }

.rsvpGrid{
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 860px){
  .rsvpGrid{ grid-template-columns: 1fr 1fr; }
  .field--full{ grid-column: 1 / -1; }
}
.field{ display:grid; gap:8px; }
.field__label{
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-size: 11px;
  color: rgba(22,22,22,.70);
}
.field__input{
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(22,22,22,.12);
  background: rgba(255,255,255,.92);
  padding: 12px 12px;
  font-family: var(--font);
  font-size: 14px;
  color: rgba(22,22,22,.86);
  outline: none;
}
.field__input:focus{
  border-color: rgba(200,162,74,.55);
  background: rgba(255,255,255,.98);
}
textarea.field__input{ resize: vertical; min-height: 96px; }

.rsvpActions{ margin-top: 14px; display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.rsvpFine{ margin: 10px 0 0; font-size: 12px; color: rgba(22,22,22,.55); line-height: 1.5; }

.hoverCardInner{
  position: relative;
  width: 100%;
  height: 98px;
  display: block;
  transform-style: preserve-3d;
  transition: transform 420ms ease;
  border-radius: 18px;
  border: 1.6px solid rgba(200,162,74,.55);
  box-shadow:
    0 18px 52px rgba(0,0,0,.12),
    0 0 0 6px rgba(200,162,74,.10);
  background: transparent;
}
@media (hover:hover){
  .hoverCardBtn:hover .hoverCardInner{ transform: rotateY(180deg); }
}
.hoverCardBtn:focus-visible .hoverCardInner{ transform: rotateY(180deg); }

@media (hover:hover) and (prefers-reduced-motion: no-preference){
  .hoverCardBtn{ animation: rsvpPulse 2.4s ease-in-out infinite; }
  @keyframes rsvpPulse{
    0%,100%{ transform: translateY(0); }
    50%{ transform: translateY(-2px); }
  }
}

.hoverCardFace{
  position:absolute;
  inset:0;
  border-radius: 18px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction: column;
  gap: 4px;
  padding: 14px 14px;
}

.hoverCardFront{
  background:
    radial-gradient(700px 240px at 18% 20%, rgba(107,31,43,.14), rgba(0,0,0,0) 55%),
    radial-gradient(700px 260px at 82% 80%, rgba(200,162,74,.16), rgba(0,0,0,0) 58%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.90));
  border: 1px solid rgba(22,22,22,.08);
}

.hoverCardBack{
  transform: rotateY(180deg);
  background:
    radial-gradient(700px 240px at 20% 30%, rgba(200,162,74,.18), rgba(0,0,0,0) 60%),
    radial-gradient(700px 260px at 80% 70%, rgba(107,31,43,.12), rgba(0,0,0,0) 58%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.90));
  border: 1px solid rgba(22,22,22,.08);
}

.hoverCardIcon{ font-size: 18px; filter: drop-shadow(0 10px 14px rgba(0,0,0,.06)); }
.hoverCardTitle{
  font-weight: 900;
  letter-spacing: 1px;
  font-size: 14.5px;
  color: rgba(22,22,22,.92);
  text-transform: uppercase;
}
.hoverCardHint{
  font-size: 12.5px;
  color: rgba(22,22,22,.62);
}
@media (max-width: 720px){
  .hoverCardInner{ transform: none !important; }
  .hoverCardHint{ display: none; }
}

/* =========================
   ASISTENCIA CARDS
   ========================= */
.actionGrid{
  margin-top: 22px;
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 980px){
  .actionGrid{ grid-template-columns: repeat(3, 1fr); }
}

.actionCard{
  border-radius: var(--radius-xl);
  padding: 18px;
  cursor: pointer;
  box-shadow: 0 16px 44px rgba(0,0,0,.10);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;

  min-height: 168px;
}
.actionCard:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 60px rgba(0,0,0,.14);
  background: rgba(255,255,255,.98);
}

@media (max-width: 979px){
  .actionGrid--centerMobile{ justify-items: center; }
  .actionGrid--centerMobile .actionCard{ width: min(520px, 100%); }
}

/* Badge icon */
.actionIcon{
  width: 48px; height: 48px;
  border-radius: 16px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(200,162,74,.30);
  box-shadow: 0 14px 34px rgba(0,0,0,.08);
  font-size: 18px;
  margin-bottom: 2px;
  position: relative;
  overflow: hidden;
}

.actionTitle{
  font-family: var(--font-elegant);
  font-weight: 700;
  letter-spacing: .9px;
  text-transform: uppercase;
  color: rgba(22,22,22,.82);
  font-size: 12px;
}
.actionSub{
  font-family: var(--font-elegant);
  margin-top: 2px;
  color: rgba(22,22,22,.62);
  font-size: 14px;
  line-height: 1.35;
  max-width: 28ch;
  flex: 1;
  display:flex;
  align-items:center;
  justify-content:center;
}
.actionBtn{
  font-family: var(--font-elegant);
  margin-top: 6px;
  display:inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(200,162,74,.14);
  border: 1px solid rgba(200,162,74,.30);
  color: rgba(22,22,22,.86);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .4px;
}

@media (max-width: 768px){
  .actionIcon{ width: 54px; height: 54px; font-size: 22px; }
  .actionTitle{ font-size: 13px; }
  .actionSub{ font-size: 15px; }
}

/* Lottie en actionIcon */
.actionIcon .actionLottie{
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}
.actionIcon .actionLottie svg{
  width: 78%;
  height: 78%;
  display: block;
}
.actionIcon .actionEmojiFallback{
  display: none;
  font-size: inherit;
  line-height: 1;
}
.no-lottie .actionIcon .actionEmojiFallback{ display: inline; }
.no-lottie .actionIcon .actionLottie{ display: none; }

/* =========================
   GALERÍA PRO + POLAROID
   (✅ deduplicada)
   ========================= */
.gallery{ margin-top: 22px; position: relative; }

.galleryTrack{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(240px, 72vw, 360px);
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 2px 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.galleryTrack::-webkit-scrollbar{ height: 0; }

.galleryItem{ margin: 0; scroll-snap-align: center; }

.gallery--polaroid .galleryItem--polaroid{
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

/* Polaroid frame */
.gallery--polaroid .galleryFrame{
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;

  padding: 12px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 20px 60px rgba(0,0,0,.16);
  cursor: zoom-in;
  transform: translateZ(0);
  transition: transform 180ms ease;
  overflow: visible;
}

.gallery--polaroid .galleryImg{
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 14px;
  object-fit: cover;
  object-position: center;

  outline: 4px solid rgba(22,22,22,.88);
  outline-offset: 0;
  background: rgba(255,255,255,.20);
}

/* 2 bordes detrás (tamaño foto) */
.gallery--polaroid .galleryFrame::before,
.gallery--polaroid .galleryFrame::after{
  content:"";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 12px;
  bottom: 12px;
  border-radius: 14px;
  border: 4px solid rgba(22,22,22,.88);
  background: transparent;
  pointer-events: none;
  z-index: -1;
}
.gallery--polaroid .galleryFrame::before{
  transform: translate(-10px, 8px) rotate(-2.2deg);
  opacity: .70;
}
.gallery--polaroid .galleryFrame::after{
  transform: translate(10px, 12px) rotate(2.0deg);
  opacity: .55;
}

@media (hover:hover){
  .gallery--polaroid .galleryFrame:hover{
    transform: translateY(-2px) rotate(0.6deg);
  }
}

.galleryHint{
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(22,22,22,.55);
  font-weight: 900;
  opacity: .72;
  transition: opacity .35s ease;
}
@media (hover:hover){
  .gallery:hover .galleryHint{ opacity: 1; }
}
@media (prefers-reduced-motion: reduce){
  .galleryHint{ transition: none; }
}

.galleryTrack, .galleryImg{
  user-select: none;
  -webkit-user-drag: none;
}

/* Flechas carrusel */
.galleryNav{
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(22,22,22,.12);
  background: rgba(255,255,255,.78);
  box-shadow: 0 18px 44px rgba(0,0,0,.12);
  cursor: pointer;
  font-size: 0;
  line-height: 0;
  color: rgba(22,22,22,.80);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 5;
  place-items: center;
  -webkit-tap-highlight-color: transparent;
}
.galleryNav svg{ width: 20px; height: 20px; opacity: .92; }
.galleryNav--prev{ left: -10px; }
.galleryNav--next{ right: -10px; }

@media (min-width: 980px){
  .galleryNav{ display: grid; }
  .galleryNav:hover{ transform: translateY(-50%) scale(1.04); }
}
@media (max-width: 979px){
  .galleryNav{ display: none !important; }
}

/* Modal gallery nav */
.modalGalleryMedia{ position: relative; }

.modalGalleryNav{
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto 0;

  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 12px 32px rgba(0,0,0,.22);
  cursor: pointer;
  z-index: 5;

  display: grid;
  place-items: center;
  -webkit-tap-highlight-color: transparent;
  transition: transform .18s ease, background .18s ease, opacity .18s ease;
}
.modalGalleryNav--prev{ left: 14px; right: auto; }
.modalGalleryNav--next{ right: 14px; left: auto; }
.modalGalleryNav svg{ width: 22px; height: 22px; opacity: .92; }

@media (hover:hover){
  .modalGalleryNav:hover{
    transform: scale(1.06);
    background: rgba(255,255,255,.22);
  }
}
@media (max-width: 768px){
  .modalGalleryNav{ width: 40px; height: 40px; }
  .modalGalleryNav svg{ width: 20px; height: 20px; }
  .modalGalleryNav--prev{ left: -18px; }
  .modalGalleryNav--next{ right: -18px; }
}

/* =========================
   Ring3D (oculto)
   ========================= */
.ring3dWrap{ display:none; }

/* =========================
   OTROS PUNTOS DE VISTA
   ========================= */
.kidsGrid{
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
}
@media (min-width: 980px){
  .kidsGrid{
    grid-template-columns: 1.1fr .9fr;
    gap: 26px;
    align-items: center;
  }
}

.kidsFeatured{
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.kidsFeaturedFrame{
  border-radius: 22px;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  display: inline-block;
}
.opvChosenImg{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  object-fit: contain;
  cursor: zoom-in;
}
.kidsCaption{
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(22,22,22,.58);
  font-weight: 900;
  text-align: center;
  width: fit-content;
}
@media (max-width: 768px){
  .opvChosenImg{
    width: min(520px, 92vw);
    margin: 0 auto;
  }
  .kidsCaption{ text-align: center; }
}

/* Cubo wrap */
.kidsCubeWrap{
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 16px 16px 14px;
  border-radius: 26px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(200,162,74,.24);
  box-shadow: 0 18px 52px rgba(0,0,0,.10);
  position: relative;
  overflow: visible;
}
.kidsCubeWrap::before{
  content:"";
  position:absolute;
  inset:-40px -40px auto -40px;
  height: 170px;
  background: radial-gradient(circle at 30% 30%, rgba(200,162,74,.18), rgba(200,162,74,0) 65%);
  pointer-events:none;
  opacity: .9;
}
.kidsCubeHint{
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(22,22,22,.55);
  font-weight: 900;
  margin-top: 10px;
}
@media (max-width: 768px){
  .kidsCubeWrap{
    padding: 14px 14px 12px;
    border-radius: 24px;
  }
}

/* Cubo 3D */
.cubeScene{
  --cube-size: clamp(250px, 30vw, 330px);
  width: var(--cube-size);
  aspect-ratio: 1 / 1;
  --cube-z: calc((var(--cube-size) / 2) - 14px);
  perspective: 900px;
  display: grid;
  place-items: center;
  overflow: visible;
}
@media (max-width: 768px){
  .cubeScene{
    --cube-size: clamp(210px, 62vw, 260px);
    perspective: 760px;
  }
}

.cube{
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(-14deg) rotateY(28deg);
  will-change: auto;
}

[data-cube]{
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
[data-cube].is-dragging{
  cursor: grabbing;
  touch-action: none;
}

.cubeFace{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: rgba(255,255,255,.94);
  cursor: pointer;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(22,22,22,.10);
  box-shadow: 0 18px 52px rgba(0,0,0,.12);
}
@media (max-width: 768px){
  .cubeFace{
    border-radius: 20px;
    box-shadow: 0 14px 34px rgba(0,0,0,.12);
  }
}

.cubeFace img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}
.cubeFace{ touch-action: none; }
.cubeFace img{ pointer-events: none; }

.cubeFace--front{  transform: rotateY(0deg) translateZ(var(--cube-z)); }
.cubeFace--back{   transform: rotateY(180deg) translateZ(var(--cube-z)); }
.cubeFace--right{  transform: rotateY(90deg) translateZ(var(--cube-z)); }
.cubeFace--left{   transform: rotateY(-90deg) translateZ(var(--cube-z)); }
.cubeFace--top{    transform: rotateX(90deg) translateZ(var(--cube-z)); }
.cubeFace--bottom{ transform: rotateX(-90deg) translateZ(var(--cube-z)); }

/* =========================
   FOOTER
   ========================= */
.footer{ padding: 42px 0 70px; }

.footer__inner{
  border-radius: var(--radius-xl);
  box-shadow: 0 18px 52px rgba(0,0,0,.10);
  padding: 18px;

  /* premium polish (conserva tu look) */
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(22,22,22,.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 18px 52px rgba(0,0,0,.10),
    inset 0 1px 0 rgba(255,255,255,.55);
}

.footerTop{
  display:flex;
  gap:18px;
  align-items:flex-start;
  justify-content:space-between;
  flex-wrap:wrap;
}

.footerBrand{ display:grid; gap:6px; }

.footerNames{
  font-family: var(--font-display);
  font-weight:700;
  font-size:28px;
  line-height:1.05;
  letter-spacing: .2px;
}

.footerMeta{
  display:flex;
  align-items:center;
  gap:12px;
}

.footerDate{
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform:uppercase;
  font-size:12px;
  color: rgba(22,22,22,.62);
}

.footerLogo{
  width:78px;
  height:78px;
  object-fit:contain;
  opacity:.28;
  filter: grayscale(20%) drop-shadow(0 10px 20px rgba(0,0,0,.08));
  transform: translateY(2px);
  pointer-events:none;
  user-select:none;
  transition: transform .35s ease, opacity .35s ease;
}
@media (hover:hover){
  .footerLogo:hover{
    transform: translateY(0px) scale(1.08);
    opacity:.45;
  }
}

.footerLinks{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
  margin-top:6px;
}

.footerLink{
  position: relative;
  font-weight:900;
  letter-spacing:1.35px;
  text-transform:uppercase;
  font-size:11px;
  color: rgba(22,22,22,.70);
  padding:10px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.66);
  border:1px solid rgba(22,22,22,.10);
  box-shadow:
    0 10px 26px rgba(0,0,0,.08),
    inset 0 1px 0 rgba(255,255,255,.65);
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}
.footerLink::before{
  content:"";
  position:absolute;
  inset: 1px;
  border-radius: 999px;
  pointer-events:none;
  background: linear-gradient(to bottom, rgba(255,255,255,.55), rgba(255,255,255,0));
  opacity: .55;
}
.footerLink:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.92);
  border-color: rgba(200,162,74,.22);
}
@media (hover:hover){
  .footerLink:hover{
    border-color: rgba(200,162,74,.28);
    box-shadow:
      0 16px 36px rgba(0,0,0,.10),
      inset 0 1px 0 rgba(255,255,255,.75);
  }
}

.footerBottom{
  margin-top:14px;
  display:flex;
  justify-content:center;
}
.footerNote{
  font-size:12px;
  color: rgba(22,22,22,.58);
  text-align:center;
  letter-spacing: .2px;
}

/* MÓVIL footer — versión mejorada */
@media (max-width:768px){
  .footer{
    padding: 34px 0 58px;
  }

  .footer__inner{
    overflow: hidden;
    padding: 22px 18px 20px;
    border-radius: 30px;
  }

  .footerTop{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding-right: 0;
  }

  .footerBrand{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    text-align: center;
  }

  .footerNames{
    font-size: clamp(24px, 8vw, 34px);
    line-height: 1.05;
    text-align: center;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    color: rgba(22,22,22,.92);
    width: 100%;
    margin: 0 auto;
  }

  .footerMeta{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 0;
    min-width: 0;
    text-align: center;
  }

  .footerDate{
    font-size: 12px;
    line-height: 1.1;
    letter-spacing: 2.2px;
    color: rgba(22,22,22,.66);
    text-align: center;
  }

  .footerLogo{
    width: 58px;
    height: 58px;
    opacity: .24;
    transform: none;
    flex: 0 0 auto;
  }

  .footerLinks{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 11px;
    width: 100%;
    margin-top: 6px;
    padding-right: 0;
  }

  .footerLink{
    width: min(270px, 84%);
    max-width: 270px;
    text-align: center;
    padding: 13px 14px;
    font-size: 10px;
    letter-spacing: 1.15px;
    white-space: nowrap;
    line-height: 1;
    overflow: hidden;
    text-overflow: clip;

    /* ✅ mismo color suave que en web */
    color: rgba(22,22,22,.70);
    background: rgba(255,255,255,.66);
    border: 1px solid rgba(22,22,22,.10);
    box-shadow:
      0 10px 26px rgba(0,0,0,.08),
      inset 0 1px 0 rgba(255,255,255,.65);
  }

  .footerLink::before{
    content:"";
    position:absolute;
    inset: 1px;
    border-radius: 999px;
    pointer-events:none;
    background: linear-gradient(
      to bottom,
      rgba(255,255,255,.55),
      rgba(255,255,255,0)
    );
    opacity: .55;
  }

  .footerBottom{
    margin-top: 18px;
    display: flex;
    justify-content: center;
  }

  .footerNote{
    text-align: center;
    max-width: 24ch;
    margin: 0 auto;
    color: rgba(22,22,22,.56);
    line-height: 1.45;
  }
}

@media (max-width:360px){
  .footer__inner{
    padding: 20px 14px 18px;
  }

  .footerNames{
    font-size: clamp(22px, 8vw, 30px);
  }

  .footerLink{
    width: min(250px, 88%);
    max-width: 250px;
    font-size: 9px;
    letter-spacing: 1.0px;
    padding: 12px 12px;
  }

  .footerNote{
    max-width: 22ch;
  }
}

/* =========================
   MODAL
   ========================= */
.modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 99999;
}
.modal.is-open{ display: block; }

.modal__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .35s ease;
}
.modal.is-open .modal__backdrop{ opacity: 1; }

.modal__panel{
  position: relative;
  width: min(820px, calc(100vw - 32px));
  margin: 8svh auto;
  margin: 8dvh auto;
  margin: 8vh auto;
  border-radius: 26px;
  background: rgba(245,241,231,.96);
  border: 1px solid rgba(200,162,74,.22);
  box-shadow: 0 30px 100px rgba(0,0,0,.34);
  padding: 18px 18px 20px;
  transform: scale(.94) translateY(10px);
  opacity: 0;
  transition:
    transform .42s cubic-bezier(.16, 1, .3, 1),
    opacity .32s ease;
}
.modal.is-open .modal__panel{
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal__close{
  position:absolute;
  right: 12px;
  top: 10px;
  border: 0;
  background: rgba(22,22,22,.08);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 18px;
  transition: background .2s ease, transform .2s ease;
}
.modal__close:hover{
  background: rgba(22,22,22,.14);
  transform: scale(1.05);
}

.modal__content{
  padding-top: 18px;
  color: rgba(22,22,22,.84);
  line-height: 1.65;
  font-size: 14px;
  font-family: var(--font-elegant);
}
.modal__content h2{
  font-family: var(--font-elegant);
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.1;
  font-weight: 700;
}
.modal__content p{
  margin: 10px 0;
  font-family: var(--font-elegant);
}

.modal__content .modalImage{
  width: 100%;
  max-height: 72svh;
  max-height: 72dvh;
  max-height: 72vh;
  object-fit: contain;
  object-position: center center;
  border-radius: 18px;
  display:block;
  box-shadow: 0 18px 44px rgba(0,0,0,.16);
  border: 1px solid rgba(22,22,22,.10);
  background: rgba(255,255,255,.20);
}

/* Honeypot invisible */
.hp-field{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}

/* =========================
   REDUCE MOTION (global)
   ========================= */
@media (prefers-reduced-motion: reduce){
  .timeline.is-drawn .timelineLine__path{ animation: none !important; stroke-dashoffset: 0 !important; }
  .heroNames, .heroDate--fancy .heroDate__text{ animation: none !important; }
  .hoverCardInner{ transition: none !important; }
  .cube{ animation: none !important; }
  .tPulse{ animation: none !important; opacity: .15 !important; }
  .modal__backdrop,
  .modal__panel{ transition: none !important; }
}