/* =====================================================================
   CAROLYN & JOSHUE — Sistema de diseño
   Vino · rosa pastel · beige · ilustraciones acuarela · elegante
   ===================================================================== */

:root {
  /* Color */
  --wine:       #5E2536;
  --wine-deep:  #431826;
  --wine-soft:  #8A4E5C;
  --blush:      #E3C4C0;
  --blush-deep: #C99A96;
  --rose:       #D7A9A6;
  --paper:      #F5EDE0;
  --paper-2:    #EFE4D3;
  --paper-3:    #E7D9C3;
  --gold:       #C2A56B;
  --gold-soft:  #D8C39A;
  --text:       #4A2A33;
  --text-soft:  #7C5860;
  --on-wine:    #F4E7D9;

  /* Tipografías */
  --f-script:  'Great Vibes', cursive;
  --f-display: 'Cormorant Garamond', Georgia, serif;
  --f-body:    'EB Garamond', Georgia, serif;
  --f-label:   'Jost', 'Helvetica Neue', sans-serif;

  /* Easing */
  --ease-silk: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-soft: cubic-bezier(0.45, 0, 0.15, 1);

  --gutter: clamp(1.25rem, 5vw, 3rem);
  --nav-h:  clamp(3.6rem, 8vh, 4.6rem);
  --maxw:   1080px;
}

/* 1. RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar { display: none; width: 0; height: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

body {
  font-family: var(--f-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.7;
  overflow-x: hidden;
  animation: pageIn .8s var(--ease-silk) both;
}
body.is-leaving { animation: pageOut .42s var(--ease-soft) forwards; }

@media (prefers-reduced-motion: reduce) {
  body, body.is-leaving { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* 2. TIPOGRAFÍA */
.script { font-family: var(--f-script); font-weight: 400; line-height: 1.1; color: var(--wine); }
.eyebrow {
  font-family: var(--f-label); font-weight: 400; font-size: .68rem;
  letter-spacing: .34em; text-transform: uppercase; color: var(--wine-soft);
  display: inline-block;
}
.muted { color: var(--text-soft); }
strong { font-weight: 600; color: var(--wine); }

/* Título de sección: script grande + línea de mayúsculas */
.stitle { display: flex; flex-direction: column; align-items: center; gap: .1rem; }
.stitle__script { font-family: var(--f-script); font-size: clamp(2.6rem, 2rem + 3.2vw, 4.4rem); color: var(--wine); line-height: 1; }
.stitle__caps {
  font-family: var(--f-label); font-weight: 400; font-size: clamp(.62rem,.58rem+.2vw,.74rem);
  letter-spacing: .32em; text-transform: uppercase; color: var(--wine-soft); margin-top: .5rem;
}

/* Filete dorado */
.rule { display: flex; align-items: center; justify-content: center; gap: .8rem; margin: 1.2rem auto; }
.rule::before, .rule::after { content: ""; width: clamp(34px, 12vw, 80px); height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.rule::after { background: linear-gradient(90deg, var(--gold), transparent); }
.rule i { width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); display: block; }

/* 3. NAV — es parte del encabezado, NO queda fija: al hacer scroll se
   desplaza junto con el resto de la página y deja de verse. */
.nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: .7rem var(--gutter);
  background: rgba(94,37,54,0); transition: background .5s var(--ease-soft), box-shadow .5s;
}
.nav.is-stuck { background: rgba(245,237,224,.95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgba(94,37,54,.16); }
.nav__links { display: flex; align-items: center; justify-content: center; list-style: none; flex-wrap: wrap; }
.nav__links li { display: flex; align-items: center; }
.nav__links li:not(:last-child)::after { content: "\2766"; font-size: .7rem; color: var(--gold); opacity: .85; margin: 0 clamp(.55rem,1.5vw,1.1rem); }
.nav__links a {
  font-family: var(--f-label); font-weight: 400; font-size: .64rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--wine); position: relative; padding: .4em 0; transition: color .35s;
}
.nav__links a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 1.5px; background: var(--gold); transition: left .4s var(--ease-silk), right .4s var(--ease-silk); }
.nav__links a:hover { color: var(--gold); }
.nav__links a:hover::after, .nav__links a.is-active::after { left: 0; right: 0; }
/* Sobre el hero vino del inicio: enlaces en blanco hasta hacer scroll */
body.hero-dark .nav:not(.is-stuck) .nav__links a { color: var(--on-wine); text-shadow: 0 1px 6px rgba(0,0,0,.3); }
body.hero-dark .nav:not(.is-stuck) .nav__links a:hover { color: var(--gold-soft); }
.nav__toggle { display: none; }

/* 4. BOTONES */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--f-label); font-weight: 400; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--on-wine); background: var(--wine); padding: .92em 2em; border-radius: 2px; border: 1px solid var(--wine);
  transition: background .4s, color .4s, transform .4s var(--ease-silk), letter-spacing .4s, box-shadow .4s;
  box-shadow: 0 10px 22px -14px rgba(67,24,38,.8);
}
.btn:hover { background: var(--wine-deep); border-color: var(--wine-deep); transform: translateY(-2px); letter-spacing: .26em; }
.btn--ghost { background: transparent; color: var(--wine); box-shadow: none; }
.btn--ghost:hover { background: var(--wine); color: var(--on-wine); }
.btn--gold {
  background: linear-gradient(155deg, var(--gold-soft), var(--gold) 55%, #A8894F);
  color: var(--wine-deep); border-color: var(--gold);
  box-shadow: 0 14px 30px -14px rgba(194,165,107,.75), inset 0 1px 0 rgba(255,255,255,.5);
  font-weight: 500;
}
.btn--gold:hover { background: linear-gradient(155deg, #E4D2A8, var(--gold-soft) 55%, var(--gold)); border-color: var(--gold-soft); color: var(--wine-deep); }

/* 4b. MODAL · CONFIRMAR ASISTENCIA (WhatsApp / iMessage) */
.rsvp-modal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; visibility: hidden; opacity: 0; transition: opacity .35s var(--ease-soft), visibility .35s; }
.rsvp-modal.is-open { visibility: visible; opacity: 1; }
.rsvp-modal__backdrop { position: absolute; inset: 0; background: rgba(30,10,16,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.rsvp-modal__box { position: relative; z-index: 1; width: min(90vw, 360px); background: var(--paper); border: 1px solid var(--gold); border-radius: 4px; padding: 2.2rem 1.8rem 1.8rem; display: flex; flex-direction: column; align-items: stretch; gap: .8rem; text-align: center; box-shadow: 0 40px 70px -30px rgba(30,10,16,.6); transform: translateY(14px) scale(.96); transition: transform .4s var(--ease-silk); }
.rsvp-modal.is-open .rsvp-modal__box { transform: none; }
.rsvp-modal__close { position: absolute; top: .5rem; right: .7rem; width: 32px; height: 32px; border: 0; background: transparent; color: var(--text-soft); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.rsvp-modal__close:hover { color: var(--wine); }
.rsvp-modal__title { font-family: var(--f-script); font-size: clamp(1.6rem, 5vw, 2rem); color: var(--wine); margin-bottom: .3rem; }
.rsvp-modal__opt { justify-content: center; }
.rsvp-modal__opt svg { width: 1.2em; height: 1.2em; }
.rsvp-modal__step { display: flex; flex-direction: column; gap: .8rem; }
.rsvp-modal__step[hidden] { display: none; }
.rsvp-modal__input {
  font-family: var(--f-body); font-size: 1rem; color: var(--text); background: #fff;
  border: 1px solid var(--gold-soft); border-radius: 2px; padding: .8em 1em; text-align: center;
  transition: border-color .3s, box-shadow .3s;
}
.rsvp-modal__input:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgba(194,165,107,.28); }
.rsvp-modal__back {
  background: transparent; border: 0; margin-top: .2rem; padding: .3em; cursor: pointer;
  font-family: var(--f-label); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft);
}
.rsvp-modal__back:hover { color: var(--wine); }
@media (prefers-reduced-motion: reduce) { .rsvp-modal, .rsvp-modal__box { transition: none; } }
/* botones dentro de bandas vino */
.band--wine .btn { background: var(--on-wine); color: var(--wine); border-color: var(--on-wine); }
.band--wine .btn:hover { background: #fff; color: var(--wine-deep); }
.band--wine .btn--ghost { background: transparent; color: var(--on-wine); border-color: rgba(244,231,217,.6); }
.band--wine .btn--ghost:hover { background: var(--on-wine); color: var(--wine); }

/* 5. LAYOUT */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.center { text-align: center; }
.section { padding-block: clamp(3.5rem, 9vw, 6.5rem); position: relative; }
.band { padding-block: clamp(3.5rem, 9vw, 6.5rem); position: relative; }
.band--cream { background: var(--paper-2); }
.band--wine { background: var(--wine); color: var(--on-wine); }
.band--wine .eyebrow, .band--wine .stitle__caps { color: var(--gold-soft); }
.band--wine .stitle__script, .band--wine .script { color: var(--on-wine); }
.band--wine .muted { color: rgba(244,231,217,.78); }
.band--wine strong { color: #fff; }
.band--wine .rule i { border-color: var(--gold-soft); }

/* 6. FLORALES */
.floral { position: absolute; pointer-events: none; z-index: 3; height: auto; filter: drop-shadow(0 6px 14px rgba(67,24,38,.22)); }
.garland { width: clamp(150px, 30vw, 260px); height: auto; margin: 0 auto; display: block; }
.divider-floral { display: block; margin: 0 auto clamp(1.4rem, 4vw, 2.4rem); width: clamp(120px, 24vw, 200px); opacity: .96; }

/* 7. HERO (centrado, sobre papel) */
.page { position: relative; overflow: hidden; }

.hero { text-align: center; padding: calc(var(--nav-h) + clamp(2rem,7vw,4rem)) var(--gutter) clamp(2rem,6vw,3.5rem); max-width: 760px; margin-inline: auto; position: relative; z-index: 2; }
.hero .eyebrow { color: var(--wine-soft); }
.hero__logo { width: clamp(230px, 48vw, 380px); height: auto; margin: .4rem auto 1rem; }
.hero__date {
  display: inline-flex; flex-direction: column; align-items: center; gap: .5rem;
  position: relative; margin-top: 1.1rem;
  font-family: var(--f-label); font-weight: 400; text-transform: uppercase;
  font-size: clamp(.72rem,.66rem+.22vw,.92rem); color: var(--gold-soft);
  padding: .92em 1.8em; border: 1px solid rgba(216,195,154,.5);
  transition: color .45s var(--ease-silk), background .45s var(--ease-silk), box-shadow .45s, transform .45s var(--ease-silk);
}
.hero__date-day { letter-spacing: .26em; }
.hero__date-loc { display: inline-flex; align-items: center; gap: .45em; position: relative; padding-top: .6rem; font-size: .82em; letter-spacing: .16em; }
.hero__date-loc::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 66%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-soft), transparent); }
.hero__pin { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.hero__date::before, .hero__date::after { content: ""; position: absolute; top: 50%; width: 6px; height: 6px; margin-top: -3px; border: 1px solid var(--gold); transform: rotate(45deg); transition: background .45s; }
.hero__date::before { left: -3.5px; }
.hero__date::after { right: -3.5px; }
.hero__date:hover { color: var(--wine-deep); background: var(--gold-soft); border-color: var(--gold-soft); transform: translateY(-2px); box-shadow: 0 14px 28px -16px rgba(216,195,154,.85); }
.hero__date:hover::before, .hero__date:hover::after { background: var(--gold-soft); }
.hero__date:hover .hero__date-loc::before { background: linear-gradient(90deg, transparent, rgba(67,24,38,.6), transparent); }
.hero__quote { font-family: var(--f-display); font-style: italic; color: var(--wine-soft); font-size: clamp(1.15rem,1rem+.8vw,1.55rem); max-width: 30ch; margin: 1.3rem auto 0; line-height: 1.5; }

/* Cita de amor del hero — simple y elegante */
.lovequote {
  font-family: var(--f-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.35rem, 1.05rem + 1.5vw, 2.15rem); line-height: 1.5;
  color: var(--on-wine); max-width: 22ch; margin: 1.8rem auto 0; text-align: center;
}
.lovequote__ref {
  display: block; margin-top: .9rem; font-style: normal;
  font-family: var(--f-script); font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.4rem);
  line-height: 1; color: var(--gold);
  text-shadow: 0 1px 10px rgba(194,165,107,.35);
}
.lovequote__ref::before, .lovequote__ref::after {
  content: ""; display: inline-block; vertical-align: middle;
  width: clamp(22px, 6vw, 44px); height: 1px; margin: 0 .7rem;
  background: linear-gradient(90deg, transparent, var(--gold-soft));
}
.lovequote__ref::after { background: linear-gradient(90deg, var(--gold-soft), transparent); }
.scroll-cue { font-family: var(--f-label); font-size: .56rem; letter-spacing: .24em; text-transform: uppercase; color: var(--wine-soft); margin-top: 2.6rem; display: inline-flex; flex-direction: column; align-items: center; gap: .55rem; }
.scroll-cue span { width: 1px; height: 32px; background: linear-gradient(var(--gold), transparent); animation: cue 1.9s var(--ease-soft) infinite; }
@keyframes cue { 0% { transform: scaleY(.25); transform-origin: top; opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(.25); transform-origin: bottom; opacity: .35; } }

/* FOTO PAREJA (encabezado enmarcado) */
.couple-photo { position: relative; max-width: 540px; margin: 0 auto; }
.couple-photo__img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; border: 7px solid var(--wine); outline: 1px solid var(--gold); outline-offset: 5px; box-shadow: 0 26px 54px -30px rgba(67,24,38,.6); }
.couple-photo .floral { position: absolute; z-index: 3; pointer-events: none; height: auto; filter: drop-shadow(0 8px 16px rgba(67,24,38,.26)); }
.couple-photo .floral--tl { top: -9%; left: -11%; width: clamp(100px, 27vw, 188px); transform: rotate(180deg); }
.couple-photo .floral--br { bottom: -8%; right: -11%; width: clamp(100px, 27vw, 188px); }
/* foto sobre banda vino: marco beige + dorado */
.band--wine .couple-photo__img { border-color: var(--on-wine); outline-color: var(--gold-soft); box-shadow: 0 26px 54px -30px rgba(0,0,0,.55); }
.couple-band { display: flex; flex-direction: column; align-items: center; padding-inline: var(--gutter); }
.couple-band .rule { margin-top: 1.9rem; }
@media (max-width: 560px) {
  .couple-photo { max-width: 320px; }
  .couple-photo .floral--tl { top: -7%; left: -8%; width: clamp(70px, 24vw, 106px); }
  .couple-photo .floral--br { bottom: -6%; right: -8%; width: clamp(70px, 24vw, 106px); }
}

/* FOTO ENMARCADA HORIZONTAL */
.bigphoto { position: relative; max-width: 880px; margin: 0 auto; }
.bigphoto__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: center 26%; display: block;
  border: 7px solid var(--on-wine); outline: 1px solid var(--gold); outline-offset: 5px;
  box-shadow: 0 26px 54px -30px rgba(0,0,0,.55); }
.bigphoto .floral { position: absolute; z-index: 3; pointer-events: none; height: auto; filter: drop-shadow(0 8px 16px rgba(67,24,38,.26)); }
.bigphoto .floral--tl { top: -16%; left: -3%; width: clamp(96px, 15vw, 180px); transform: rotate(180deg); }
.bigphoto .floral--br { bottom: -16%; right: -3%; width: clamp(96px, 15vw, 180px); }
@media (max-width: 560px) {
  .bigphoto { max-width: 280px; }
  .bigphoto__img { aspect-ratio: 4/3; }
  .bigphoto .floral--tl { top: -9%; left: -7%; width: clamp(72px, 24vw, 110px); }
  .bigphoto .floral--br { bottom: -9%; right: -7%; width: clamp(72px, 24vw, 110px); }
}

/* FRASE DE AMOR */
.love-quote { text-align: center; padding-block: clamp(2.5rem, 9vw, 6rem); }
.love-quote__text { font-family: var(--f-script); color: var(--on-wine); font-size: clamp(2.9rem, 2rem + 6.5vw, 6rem); line-height: 1.12; max-width: 16ch; margin-inline: auto; }
.love-quote__text::after { content: ""; display: block; width: 64px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-soft), transparent); margin: 1.4rem auto 0; }
/* Variante compacta: la flor es el único separador con la sección siguiente */
.love-quote--tight { padding-bottom: clamp(.6rem,2vw,1.2rem); }
.love-quote--tight .love-quote__text::after { display: none; }

/* SECTION HEAD + CALENDARIO */
.section__head { text-align: center; margin-bottom: clamp(1.6rem,4vw,2.4rem); }
.section__head .divider-floral { margin-bottom: .8rem; }
.section-title { font-family: var(--f-script); font-size: clamp(2.4rem,1.9rem+3vw,3.8rem); color: var(--wine); line-height: 1; margin-top: .2rem; }
.calendar { max-width: 360px; margin: 0 auto; position: relative; padding: clamp(1.5rem,4vw,2.1rem); background: var(--paper); border: 1px solid var(--gold); box-shadow: 0 20px 44px -28px rgba(67,24,38,.5); }
.calendar::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(194,165,107,.4); pointer-events: none; }
.calendar__sticker { position: absolute; top: -44px; right: -24px; width: clamp(76px,19vw,116px); transform: rotate(-20deg); z-index: 4; pointer-events: none; filter: drop-shadow(0 7px 14px rgba(67,24,38,.22)); }
.calendar__month { font-family: var(--f-script); font-size: clamp(2rem,7vw,2.7rem); color: var(--wine); margin-bottom: .5rem; }
.calendar table { width: 100%; border-collapse: collapse; position: relative; z-index: 1; }
.calendar th { font-family: var(--f-label); font-weight: 400; font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); padding: .5rem 0; }
.calendar td { font-family: var(--f-display); font-size: 1.02rem; color: var(--text); height: 2.3em; text-align: center; }
.calendar td.is-day { color: var(--on-wine); font-weight: 600; background: radial-gradient(circle at 50% 50%, var(--wine) 0 1.05em, transparent 1.05em); }
.calendar__note { font-family: var(--f-label); font-weight: 300; letter-spacing: .14em; text-transform: uppercase; font-size: .62rem; color: var(--wine-soft); margin-top: .9rem; }

/* 8. CONTADOR (artístico) */
.countdown { display: inline-flex; justify-content: center; gap: clamp(.45rem,1.8vw,1rem); margin-top: 2.2rem; }
.countdown__cell {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: .5rem;
  min-width: clamp(60px,16vw,84px); padding: 1.1rem .5rem .85rem;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  border: 1px solid var(--gold-soft);
  box-shadow: 0 16px 32px -24px rgba(67,24,38,.55), inset 0 0 0 3px rgba(255,255,255,.4);
}
.countdown__cell::before { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 16px; height: 1px; background: var(--gold); }
.countdown__num { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.9rem,7vw,2.9rem); line-height: 1; color: var(--wine); font-variant-numeric: tabular-nums; }
.countdown__label { font-family: var(--f-label); font-weight: 400; font-size: .54rem; letter-spacing: .24em; text-transform: uppercase; color: var(--wine-soft); }

/* 9. FOTO ENMARCADA (genérica) */
.framephoto { position: relative; max-width: 460px; margin: 0 auto; }
.framephoto__img { width: 100%; aspect-ratio: 4/5; object-fit: cover; box-shadow: 0 24px 50px -28px rgba(67,24,38,.55); }
.framephoto .floral--tl { top: -8%; left: -10%; width: clamp(100px, 26vw, 190px); }
.framephoto .floral--br { bottom: -7%; right: -10%; width: clamp(100px, 26vw, 200px); transform: rotate(180deg); }
/* Espacio reservado para una foto que aún no tenemos */
.framephoto__placeholder {
  width: 100%; aspect-ratio: 4/5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem;
  background: var(--paper-2); border: 2px dashed rgba(194,165,107,.55); box-shadow: 0 24px 50px -28px rgba(67,24,38,.35);
  color: var(--wine-soft); text-align: center; padding: 1.6rem;
}
.framephoto__placeholder svg { width: 42px; height: 42px; opacity: .55; }
.framephoto__placeholder span { font-family: var(--f-label); font-weight: 400; font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; max-width: 20ch; }
.band--cream .framephoto__placeholder { background: var(--paper); }

/* 10. MONOGRAMA */
.mono { display: inline-flex; align-items: stretch; gap: .7rem; font-family: var(--f-display); font-weight: 500; font-size: clamp(2.4rem,7vw,3.4rem); color: var(--wine); letter-spacing: .04em; }
.mono span:nth-child(2) { width: 1px; background: var(--gold); align-self: stretch; }

/* 11. VERSO / CITA */
.verse { font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: clamp(1.4rem,1.1rem+1.4vw,2.1rem); color: var(--wine); line-height: 1.45; max-width: 24ch; margin-inline: auto; }

/* 12. REPRODUCTOR (decorativo, "nuestra canción") */
.player { max-width: 420px; margin: 1.4rem auto 0; padding: 1.2rem 1.4rem; border: 1px solid rgba(216,195,154,.4); border-radius: 4px; }
.player__label { font-family: var(--f-label); font-weight: 300; letter-spacing: .2em; text-transform: uppercase; font-size: .62rem; color: var(--gold-soft); }
.player__bar { display: flex; align-items: center; gap: 1.3rem; justify-content: center; margin-top: .9rem; color: var(--on-wine); }
.player__bar svg { width: 20px; height: 20px; }
.player__bar .player__play { width: 40px; height: 40px; border: 1px solid var(--gold-soft); border-radius: 50%; display: grid; place-items: center; transition: background .3s, color .3s; }
.player__bar .player__play:hover { background: var(--on-wine); color: var(--wine); }

/* 13. ANIMACIONES */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease-silk), transform 1s var(--ease-silk); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }
.reveal--write { opacity: 1; transform: none; -webkit-mask: linear-gradient(#000,#000) left center / 0% 300% no-repeat; mask: linear-gradient(#000,#000) left center / 0% 300% no-repeat; }
.reveal--write.is-in { animation: handwrite 1.6s var(--ease-silk) forwards; }
@keyframes handwrite { from { -webkit-mask-size: 0% 300%; mask-size: 0% 300%; } to { -webkit-mask-size: 100% 300%; mask-size: 100% 300%; } }
@media (prefers-reduced-motion: reduce) { .reveal--write { -webkit-mask: none; mask: none; } .reveal--write.is-in { animation: none; } }
/* OJO: pageIn NO debe animar transform. Con fill:both el <body> queda con un
   transform (matriz identidad en WebKit) y eso rompe todo position:fixed
   (menú, toggle de idioma) en iPhone/iPad. Solo opacidad. */
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pageOut { from { opacity: 1; } to { opacity: 0; transform: translateY(-8px); } }

.petal { position: absolute; top: 0; left: 0; border-radius: 100% 0 100% 0; background: var(--wine-soft); opacity: 0; box-shadow: 0 1px 3px rgba(67,24,38,.18); will-change: transform, opacity; }
.petal--burst { position: fixed; z-index: 150; }

/* 14. PIE */
.footer { text-align: center; padding: clamp(3rem,8vw,4.5rem) var(--gutter); background: var(--wine-deep); color: var(--on-wine); }
.footer__flourish { width: clamp(86px, 17vw, 138px); height: auto; margin: 0 auto 1rem; filter: drop-shadow(0 6px 14px rgba(0,0,0,.3)); }
.footer__names { font-family: var(--f-script); font-size: clamp(2.4rem,7vw,3.4rem); color: var(--on-wine); line-height: 1; }
.footer .credit { font-family: var(--f-label); font-weight: 300; font-size: .6rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-soft); margin-top: 1rem; }

/* 15. PAGE-INTRO (páginas interiores) */
.page-intro { padding-top: calc(var(--nav-h) + clamp(2.4rem,7vw,4.4rem)); text-align: center; }

/* 15b. LÍNEA DEL TIEMPO (Nuestra Historia) */
.timeline { position: relative; max-width: 920px; margin: clamp(2rem,5vw,3.5rem) auto 0; }
.timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: 50%; width: 2px; transform: translateX(-50%); background: linear-gradient(var(--gold), var(--blush-deep)); z-index: 0; }
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem,4vw,3rem); align-items: center; margin-bottom: clamp(2.6rem,6vw,4.8rem); }
.tl-item:last-child { margin-bottom: 0; }
.tl-item::after { content: ""; position: absolute; top: 50%; left: 50%; width: 15px; height: 15px; transform: translate(-50%,-50%) rotate(45deg); background: var(--wine); box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--gold); z-index: 2; }
.tl-media { position: relative; }
.tl-photo { aspect-ratio: 4/3; border: 6px solid var(--wine); outline: 1px solid var(--gold); outline-offset: 4px; background: var(--paper-2); box-shadow: 0 18px 40px -26px rgba(67,24,38,.5); display: grid; place-items: center; color: var(--blush-deep); }
.tl-photo svg { width: 36px; height: 36px; opacity: .45; }
.tl-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tl-ill { position: absolute; top: 0; right: -30px; left: auto; transform: translateY(-50%); width: clamp(120px, 38%, 190px); height: auto; z-index: 3; pointer-events: none; filter: drop-shadow(0 6px 14px rgba(67,24,38,.22)); }
.tl-year { display: block; font-family: var(--f-label); font-weight: 500; letter-spacing: .26em; font-size: .74rem; color: var(--gold); }
.tl-title { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.5rem,1.2rem+1.2vw,2.1rem); color: var(--wine); margin: .25rem 0 .55rem; }
.tl-desc { color: var(--text-soft); max-width: 42ch; }
/* alternancia izquierda / derecha */
.tl-item:nth-child(even) .tl-media { order: 2; }
.tl-item:nth-child(even) .tl-text { order: 1; text-align: right; }
.tl-item:nth-child(even) .tl-desc { margin-left: auto; }
@media (max-width: 760px) {
  .timeline::before { left: 22px; }
  .tl-item { grid-template-columns: 1fr; gap: 1.1rem; padding-left: 56px; margin-bottom: 2.8rem; }
  .tl-item::after { left: 22px; top: 20px; transform: translate(-50%,0) rotate(45deg); }
  .tl-item:nth-child(even) .tl-media { order: 0; }
  .tl-item:nth-child(even) .tl-text { order: 0; text-align: left; }
  .tl-item:nth-child(even) .tl-desc { margin-left: 0; }
  .tl-ill { width: clamp(96px, 34%, 150px); top: 0; right: -18px; left: auto; transform: translateY(-50%); }
  .tl-desc { max-width: none; }
}

/* 16. DETALLES */
.details { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(1.6rem,4vw,2.6rem); margin-top: 2.4rem; }
.detail { display: flex; flex-direction: column; align-items: center; gap: .55rem; text-align: center; }
.detail__icon { width: clamp(46px,11vw,62px); height: clamp(46px,11vw,62px); color: var(--wine); }
.detail__icon svg { width: 100%; height: 100%; }
.detail__name { font-family: var(--f-label); font-weight: 400; letter-spacing: .22em; text-transform: uppercase; font-size: .72rem; color: var(--wine-soft); }
.detail__val { font-family: var(--f-display); font-weight: 500; font-size: 1.3rem; color: var(--wine); }
.band--wine .detail__icon { color: var(--gold-soft); }
.band--wine .detail__name { color: var(--gold-soft); }
.band--wine .detail__val { color: var(--on-wine); }

/* swatches dress code */
.swatches { display: flex; justify-content: center; gap: .7rem; margin-top: 1.4rem; }
.swatch { width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }

/* 17. ITINERARIO */
.itin { max-width: 460px; margin: 2.4rem auto 0; display: flex; flex-direction: column; gap: 0; position: relative; text-align: left; }
.itin__step { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: center; padding: 1rem 0; position: relative; }
.itin__step:not(:last-child)::after { content: ""; position: absolute; left: calc(clamp(56px,13vw,72px) / 2); top: 50%; width: 1px; height: 100%; background: linear-gradient(var(--gold), rgba(194,165,107,.25)); z-index: 0; }
.itin__icon { width: clamp(56px,13vw,72px); height: clamp(56px,13vw,72px); display: grid; place-items: center; position: relative; z-index: 1; }
.itin__icon svg { width: 56%; height: 56%; }
.itin__icon img { width: 100%; height: 100%; object-fit: contain; }
.itin__time { font-family: var(--f-label); font-weight: 400; letter-spacing: .14em; font-size: .66rem; text-transform: uppercase; color: var(--gold); }
.itin__name { font-family: var(--f-display); font-weight: 500; font-size: 1.25rem; color: var(--wine); }
.band--wine .itin__icon { color: var(--on-wine); }
.band--wine .itin__name { color: var(--on-wine); }

/* 18. UBICACIÓN */
/* Marco con ilustración que respeta la proporción real de la foto (sin recortar) */
.venue-frame { position: relative; max-width: 760px; margin: clamp(1.8rem,4vw,2.6rem) auto 0; }
.venue-frame__img { width: 100%; height: auto; display: block; border: 7px solid var(--wine); outline: 1px solid var(--gold); outline-offset: 5px; box-shadow: 0 26px 54px -30px rgba(67,24,38,.6); }
.venue-frame .floral--br { bottom: -8%; right: -9%; width: clamp(90px, 20vw, 170px); }
@media (max-width: 560px) {
  .venue-frame .floral--br { bottom: -6%; right: -7%; width: clamp(70px, 24vw, 110px); }
}

.venue-layout { display: grid; grid-template-columns: minmax(220px,340px) 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; max-width: 920px; margin: clamp(1.6rem,4vw,2.6rem) auto 0; }
.venue { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; text-align: left; }
.venue__icon { width: 56px; height: 56px; color: var(--wine); }
.band--wine .venue__icon { color: var(--gold-soft); }
.venue h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.5rem,1.2rem+1.2vw,2.1rem); color: var(--wine); }
.band--wine .venue h3 { color: var(--on-wine); }
.venue .btn { margin-top: 1rem; }
@media (max-width: 720px) {
  .venue-layout { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .venue { align-items: center; text-align: center; }
}

/* 19. TARJETAS (hoteles / actividades — texto + floral) */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(1.4rem, 3.4vw, 2.4rem); margin-top: 2.6rem; }
.card {
  position: relative; background: var(--paper); border: 1px solid rgba(194,165,107,.45);
  padding: clamp(1.6rem,4vw,2.2rem) clamp(1.4rem,3.5vw,2rem); text-align: center; overflow: hidden;
  box-shadow: 0 14px 30px -24px rgba(67,24,38,.5);
}
.card__floral { position: absolute; top: -14px; right: -14px; width: clamp(76px,18%,104px); opacity: .9; pointer-events: none; }
.card__name { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.3rem,1.1rem+.8vw,1.7rem); color: var(--wine); position: relative; }
.card__tag { font-family: var(--f-label); font-weight: 300; letter-spacing: .14em; text-transform: uppercase; font-size: .6rem; color: var(--wine-soft); margin-top: .35rem; }
.card > p { margin-top: .9rem; color: var(--text-soft); }
.card__actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.3rem; }
.card__actions .btn { padding: .72em 1.3em; font-size: .58rem; }

/* lista "qué llevar" */
.bring { margin-top: 1.2rem; text-align: left; }
.bring-label { font-family: var(--f-label); font-weight: 400; letter-spacing: .2em; text-transform: uppercase; font-size: .58rem; color: var(--gold); }
.bring ul { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem .5rem; margin-top: .6rem; justify-content: center; }
.bring li { font-size: .82rem; color: var(--text-soft); border: 1px solid rgba(138,78,92,.3); border-radius: 30px; padding: .15em .8em; }

/* 20. TRANSPORTE */
.transport { display: grid; grid-template-columns: repeat(2,1fr); gap: clamp(1.4rem,3.4vw,2.2rem); margin-top: 2.4rem; }
.tcard { background: var(--paper); border: 1px solid rgba(194,165,107,.45); padding: clamp(1.6rem,4vw,2.2rem); text-align: center; }
.tcard__icon { width: 58px; height: 58px; margin: 0 auto .8rem; color: var(--wine); }
.tcard h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.4rem; color: var(--wine); }
.tcard p { color: var(--text-soft); margin: .5rem 0 1.1rem; font-size: .94rem; }

/* 21. FAQ */
.faq { max-width: 720px; margin: 2.4rem auto 0; }
.faq__item { border-bottom: 1px solid rgba(138,78,92,.25); }
.faq__q {
  width: 100%; background: none; border: 0; text-align: left; padding: 1.3rem .3rem;
  display: flex; align-items: center; gap: 1rem; color: var(--wine);
  font-family: var(--f-display); font-weight: 500; font-size: clamp(1.05rem,.95rem+.5vw,1.3rem);
}
.faq__num { font-family: var(--f-script); font-size: 1.7rem; color: var(--gold); line-height: 1; min-width: 1.6em; }
.faq__qtext { flex: 1; }
.faq__icon { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--wine-soft); transition: transform .4s var(--ease-silk); }
.faq__icon::before { top: 6px; left: 0; width: 14px; height: 1.5px; }
.faq__icon::after { left: 6px; top: 0; width: 1.5px; height: 14px; }
.faq__item.is-open .faq__icon::after { transform: scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease-soft); }
.faq__a p { padding: 0 .3rem 1.4rem calc(1.6em + 1rem); color: var(--text-soft); }

/* 22. REGALOS */
/* Banda con foto de los novios de fondo, a baja opacidad */
.gift-band { position: relative; background: var(--paper-2); }
.gift-band::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url('../IMAGENES%20DE%20REFERENCIA/Imagenes%20par%20carrusel/3.jfif') center 30% / cover no-repeat;
  opacity: .22;
}
.gift-band > .wrap { position: relative; z-index: 1; }
.gift { max-width: 620px; margin-inline: auto; text-align: center; }
.gift__art { width: clamp(130px,26vw,200px); height: auto; margin: 0 auto 1.4rem; }
.gift__options { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin: 1.8rem 0; }
.account { margin-top: 1.6rem; display: inline-grid; grid-template-columns: auto auto; gap: .35rem 1.2rem; text-align: left; padding: 1.4rem 1.8rem; border: 1px solid rgba(194,165,107,.5); background: var(--paper); }
.account dt { font-family: var(--f-label); font-weight: 400; letter-spacing: .12em; text-transform: uppercase; font-size: .58rem; color: var(--wine-soft); align-self: center; }
.account dd { font-family: var(--f-display); font-size: 1.05rem; color: var(--wine); }

/* 23. RSVP */
.rsvp { max-width: 560px; margin-inline: auto; position: relative; }
.rsvp__form { display: grid; gap: 1.3rem; }
.field { display: flex; flex-direction: column; gap: .5rem; text-align: left; }
.field label { font-family: var(--f-label); font-weight: 400; letter-spacing: .14em; text-transform: uppercase; font-size: .62rem; color: var(--wine-soft); }
.field input, .field select, .field textarea {
  font-family: var(--f-body); font-size: 1rem; color: var(--text); background: var(--paper);
  border: 1px solid rgba(138,78,92,.35); border-radius: 2px; padding: .8em .9em; transition: border-color .3s, box-shadow .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgba(94,37,54,.1); }
.field textarea { resize: vertical; min-height: 90px; }
.field-group { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.field-note { font-size: .85rem; color: var(--text-soft); margin-top: -.3rem; }
@media (max-width: 520px) { .field-group { grid-template-columns: 1fr; } }
.choice { display: flex; flex-wrap: wrap; gap: .7rem; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label { font-family: var(--f-body); text-transform: none; letter-spacing: 0; font-size: .95rem; color: var(--text); border: 1px solid rgba(138,78,92,.35); border-radius: 30px; padding: .55em 1.2em; cursor: pointer; transition: all .3s; }
.choice input:checked + label { background: var(--wine); color: var(--on-wine); border-color: var(--wine); }
.rsvp__submit { text-align: center; margin-top: .5rem; }
.rsvp__status { font-size: .85rem; color: var(--wine-soft); margin-top: .8rem; min-height: 1.2em; opacity: 0; transition: opacity .3s; }
.rsvp__status.is-visible { opacity: 1; }
.rsvp__thanks { display: none; text-align: center; }
.rsvp.is-sent .rsvp__form { display: none; }
.rsvp.is-sent .rsvp__thanks { display: block; animation: pageIn .7s var(--ease-silk) both; }
.rsvp__thanks h2 { font-family: var(--f-script); font-size: clamp(2.6rem,8vw,3.6rem); color: var(--wine); margin-bottom: .4rem; }

/* 24. RESPONSIVE */
@media (max-width: 860px) {
  .couple-photo { max-width: 340px; }
  .frame-corner { width: clamp(78px, 26vw, 150px); }
}
@media (max-width: 720px) {
  /* Menú hamburguesa: botón de 3 líneas que despliega las opciones */
  .nav { padding: .55rem .7rem; justify-content: flex-start; background: transparent; box-shadow: none; }
  .nav__toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; padding: 11px; border-radius: 4px; z-index: 210;
    background: rgba(67,24,38,.92); border: 1px solid rgba(216,195,154,.4);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  }
  .nav__toggle span { display: block; width: 100%; height: 2px; border-radius: 2px; background: var(--on-wine); transition: transform .35s var(--ease-silk), opacity .25s; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav__links {
    position: fixed; top: 0; left: 0; right: 0; z-index: 205;
    flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 0; width: 100%;
    padding: calc(var(--nav-h) + 1.3rem) 1.5rem 2rem;
    background: rgba(67,24,38,.99); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 22px 44px -18px rgba(0,0,0,.6);
    transform: translateY(-100%); transition: transform .5s var(--ease-silk);
    max-height: 100svh; overflow-y: auto;
  }
  .nav.is-open .nav__links { transform: translateY(0); }
  .nav__links li { width: 100%; justify-content: center; border-top: 1px solid rgba(216,195,154,.16); }
  .nav__links li:first-child { border-top: 0; }
  .nav__links li:not(:last-child)::after { display: none; }
  .nav__links a { display: block; width: 100%; text-align: center; padding: .95rem 0; font-size: .82rem; letter-spacing: .22em; color: var(--on-wine); }
  .nav__links a::after { display: none; }
  .nav__links a.is-active { color: var(--gold-soft); }

  .details { grid-template-columns: repeat(2,1fr); gap: 2.4rem 1rem; }
}
@media (max-width: 560px) {
  .transport { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .account { grid-template-columns: 1fr; gap: .1rem .4rem; text-align: center; }
  .account dt { margin-top: .6rem; }
}

/* ===== Página en construcción (overlay borroso) ===== */
.uc-overlay {
  position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: var(--gutter);
  background: rgba(67,24,38,.4); text-align: center;
  -webkit-backdrop-filter: blur(9px) saturate(.92); backdrop-filter: blur(9px) saturate(.92);
  animation: pageIn .7s var(--ease-silk) both;
}
.uc-card {
  position: relative; background: var(--paper); border: 1px solid var(--gold);
  padding: clamp(2rem,6vw,3.4rem) clamp(1.8rem,7vw,4rem);
  box-shadow: 0 34px 70px -34px rgba(0,0,0,.6); max-width: 92vw;
}
.uc-card::after { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(194,165,107,.4); pointer-events: none; }
.uc-card__icon { width: 44px; height: 44px; margin: 0 auto .9rem; color: var(--gold); }
.uc-card__title { font-family: var(--f-script); font-size: clamp(2.8rem,2rem+5vw,4.6rem); color: var(--wine); line-height: 1; }
.uc-card__sub { font-family: var(--f-label); font-weight: 400; text-transform: uppercase; letter-spacing: .24em; font-size: clamp(.6rem,.56rem+.2vw,.72rem); color: var(--wine-soft); margin-top: 1rem; }
.uc-card__back { margin-top: 1.7rem; }
/* en construcción: bloquear scroll, solo la tarjeta fija */
body.is-construction { position: fixed; inset: 0; overflow: hidden; }

/* ===== Conmutador de idioma ES/EN (vino) ===== */
.lang-toggle { position: absolute; top: .7rem; right: .8rem; z-index: 600; display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 40px; font-family: 'Jost','Helvetica Neue',sans-serif; background: rgba(245,237,224,.93); border: 1px solid rgba(194,165,107,.7); box-shadow: 0 6px 16px -10px rgba(67,24,38,.7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lang-toggle button { font-family: inherit; font-size: .62rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--wine); background: transparent; border: 0; border-radius: 30px; padding: .4em .72em; cursor: pointer; line-height: 1; transition: background .3s, color .3s; }
.lang-toggle button.is-active { background: var(--wine); color: var(--on-wine); }
.lang-toggle button:not(.is-active):hover { color: var(--wine-soft); }
@media (max-width: 720px) { .lang-toggle { top: .5rem; right: .5rem; padding: 2px; } .lang-toggle button { font-size: .58rem; padding: .36em .62em; } }

/* ===== Fondo decorativo de página completa (se desplaza con el scroll, no es fijo) ===== */
body.bg-fondo { position: relative; }
body.bg-fondo::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url('../IMAGENES%20DE%20REFERENCIA/fondo.png') 22% center / cover no-repeat;
  opacity: .25;
}

/* ===== Tema VINO completo (solo index) ===== */
body.theme-wine {
  background-color: var(--wine);
  background-image: url('../IMAGENES%20DE%20REFERENCIA/fondo%20inicio.png');
  background-repeat: repeat-y;
  background-position: center top;
  background-size: 100% auto;
  background-attachment: scroll;
  color: var(--on-wine);
}
/* imagen visible en toda la página (bandas y pie transparentes) */
body.theme-wine::before { display: none; }
body.theme-wine .band--wine { background: transparent; }
body.theme-wine .footer { background: transparent; }
body.theme-wine .hero .eyebrow,
body.theme-wine .section__head .eyebrow { color: var(--gold-soft); }
body.theme-wine .hero__quote { color: rgba(244,231,217,.85); }
body.theme-wine .section-title { color: var(--on-wine); }
body.theme-wine .muted { color: rgba(244,231,217,.8); }
body.theme-wine .scroll-cue { color: var(--gold-soft); }
body.theme-wine .nav__links a { color: var(--on-wine); }
body.theme-wine .nav__links a:hover { color: var(--gold-soft); }
body.theme-wine .nav.is-stuck { background: rgba(67,24,38,.94); box-shadow: 0 1px 0 rgba(216,195,154,.22); }
body.theme-wine .section { padding-inline: var(--gutter); }

/* opción "Save the Date" destacada (script + dorado, más llamativa) */
.nav__links a.nav__save { font-family: var(--f-script); text-transform: none; letter-spacing: .01em; font-size: 1.4rem; color: var(--gold) !important; }
@media (max-width: 720px) { .nav__links a.nav__save { font-size: 1.7rem; } }

/* ===== Carrusel de fondo del logo (hero index) ===== */
.hero-carousel { position: relative; width: 100%; max-width: 600px; margin: .6rem auto .2rem; aspect-ratio: 16 / 10; border-radius: 4px; overflow: hidden; border: 1px solid rgba(216,195,154,.45); box-shadow: 0 28px 56px -30px rgba(0,0,0,.55); }
.hero-carousel__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: 0; transition: opacity 1.5s ease; z-index: 1; }
.hero-carousel__slide.is-active { opacity: 1; }
.hero-carousel__overlay { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(67,24,38,.35), rgba(67,24,38,.58)); }
.hero-carousel .hero__logo { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 3; width: clamp(190px, 52%, 320px); margin: 0; filter: drop-shadow(0 6px 14px rgba(0,0,0,.55)); }

/* ===== Tira de fotos horizontal continua (hero, full-bleed) ===== */
.hero-strip { position: relative; left: 50%; width: 100vw; margin-left: -50vw; margin-top: .4rem; margin-bottom: .3rem; height: clamp(440px, 80vh, 900px); overflow: hidden; }
.hero-strip__track { display: flex; height: 100%; width: max-content; animation: heroMarquee 55s linear infinite; will-change: transform; }
.hero-strip__track img { height: 100%; width: auto; flex: 0 0 auto; display: block; }
.hero-strip__overlay { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(58% 78% at 50% 50%, rgba(67,24,38,.62), rgba(67,24,38,.28) 58%, transparent 82%),
              linear-gradient(rgba(67,24,38,.12), rgba(67,24,38,.12)); }
.hero-strip__logo { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 3;
  width: clamp(260px, 30vw, 480px); height: auto; margin: 0; filter: drop-shadow(0 6px 18px rgba(0,0,0,.75)); }
@keyframes heroMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* En celular reducimos la altura de la tira → imágenes más pequeñas (sin recorte) */
@media (max-width: 600px) {
  .hero-strip { height: clamp(220px, 38vh, 340px); }
  .hero-strip__logo { width: clamp(170px, 52vw, 240px); }
}
