
/* =========================================================
   EDICIÓN RÁPIDA
   Tipografía elegante: Great Vibes + Cormorant Garamond
   Colores principales: variables dentro de :root
   ========================================================= */
:root {
  --cream: #f2eee8;
  --paper: #fbfaf7;
  --ink: #34312f;
  --muted: #7a746d;
  --olive: #5b5752;
  --olive-light: #8f8880;
  --gold: #b8985f;
  --line: rgba(184, 152, 95, 0.28);
  --serif: "Cormorant Garamond", Georgia, serif;
  --script: "Corinthia", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.55;
}
body.locked { overflow: hidden; }
button, a { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.welcome {
  position: fixed;
  inset: 0;
  z-index: 20;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 28px;
  color: white;
  text-align: center;
  background: url("assets/images/grecia-mauricio-swing.jpeg") center 44% / cover no-repeat;
  transition: opacity .9s ease, visibility .9s ease;
}
.welcome.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.welcome-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(39,36,33,.34), rgba(39,36,33,.62));
  backdrop-filter: blur(1px);
}
.welcome-content { position: relative; width: min(760px, 100%); }
.eyebrow {
  margin: 0 0 16px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--olive);
}
.eyebrow.light { color: rgba(255,255,255,.86); }
.welcome h1,
.names {
  margin: 0;
  font-family: var(--script);
  font-weight: 400;
  line-height: .95;
}
.welcome h1 { font-size: clamp(4rem, 12vw, 8rem); text-shadow: 0 3px 28px rgba(0,0,0,.3); }
.welcome h1 span, .names span { font-family: var(--serif); font-size: .58em; font-style: italic; }
.welcome-copy { margin: 25px auto 32px; font-size: clamp(1.05rem, 2.6vw, 1.35rem); }

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(620px, 100%);
  margin: 0 auto;
}
.countdown > div { padding: 16px 8px; border-left: 1px solid currentColor; }
.countdown > div:first-child { border-left: 0; }
.countdown strong { display: block; font-size: clamp(1.55rem, 5vw, 2.6rem); font-weight: 400; line-height: 1; }
.countdown span { display: block; margin-top: 8px; font-size: .67rem; letter-spacing: .12em; text-transform: uppercase; }
.countdown-light { color: white; }

.open-button,
.solid-button,
.outline-button,
.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  padding: 12px 28px;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .73rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.open-button { margin-top: 32px; border: 1px solid rgba(255,255,255,.75); color: white; background: rgba(255,255,255,.08); }
.open-button:hover, .solid-button:hover, .outline-button:hover, .whatsapp-button:hover { transform: translateY(-2px); }
.music-note { margin: 10px 0 0; font-size: .8rem; opacity: .8; }

.music-button {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 15;
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 15px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px;
  color: white;
  background: rgba(52,49,47,.84);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.music-button.visible { display: flex; }
.music-icon { font-size: 1.15rem; }
.music-state { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }

main { opacity: 0; transition: opacity .8s ease .2s; }
main.visible { opacity: 1; }
.section { padding: clamp(70px, 10vw, 120px) max(24px, calc((100vw - 1060px) / 2)); text-align: center; }
.intro-section { background: var(--paper); }
.monogram { width: 86px; height: 86px; margin: 0 auto 28px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-size: 1rem; letter-spacing: .14em; }
.names { font-size: clamp(4rem, 10vw, 7rem); color: var(--olive); }
.date-line { margin: 24px 0 0; font-size: 1.2rem; }
.divider { margin: 30px auto 18px; color: var(--gold); }
.divider::before, .divider::after { content: ""; display: inline-block; width: 70px; height: 1px; margin: 0 15px 4px; background: var(--line); }
.blessing { margin: 0; color: var(--muted); font-style: italic; }

.story-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(45px, 7vw, 90px); text-align: left; background: var(--cream); }
.story-copy blockquote { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.12; font-weight: 400; }
.story-copy cite { display: block; margin-top: 22px; color: var(--muted); }
.photo-frame { margin: 0; padding: 14px; border: 1px solid var(--gold); background: var(--paper); }
.photo-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.photo-frame figcaption { padding: 16px 8px 4px; text-align: center; font-style: italic; color: var(--muted); }

.events-section h2, .dress-section h2, .whatsapp-section h2 { margin: 0; font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 500; line-height: 1; }
.section-lead { max-width: 600px; margin: 20px auto 50px; color: var(--muted); }
.event-grid, .dress-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.event-card { padding: clamp(32px, 5vw, 52px); border: 1px solid var(--line); background: white; }
.roman { color: var(--gold); font-size: 2.4rem; font-style: italic; }
.event-type { margin: 12px 0; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--olive); }
.event-card h3 { margin: 0 auto 18px; max-width: 390px; font-size: 1.65rem; font-weight: 500; line-height: 1.2; }
.outline-button { margin-top: 18px; border: 1px solid var(--olive); color: var(--olive); background: transparent; }
.outline-button:hover { color: white; background: var(--olive); }

.dress-section { background: var(--cream); }
.dress-grid { margin-top: 44px; }
.dress-grid article { padding: 36px; border-top: 1px solid var(--gold); }
.dress-icon { display: block; color: var(--gold); font-size: 2rem; }
.dress-grid h3 { margin: 12px 0 6px; font-size: 1.7rem; }
.dress-grid p { margin: 0; }
.palette-block { margin-top: 50px; }
.palette-block > p { font-style: italic; color: var(--muted); }
.palette { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.palette span { position: relative; width: 76px; height: 76px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 5px rgba(255,255,255,.28); }
.palette small { position: absolute; top: 88px; left: 50%; transform: translateX(-50%); white-space: nowrap; color: var(--ink); font-size: .72rem; }
.palette { padding-bottom: 34px; }

.countdown-section {
  position: relative;
  color: white;
  background:
    linear-gradient(rgba(52,49,47,.68), rgba(52,49,47,.68)),
    url("assets/images/grecia-mauricio-countdown.jpeg") center 48% / cover no-repeat;
}
.countdown-section .countdown { margin-bottom: 38px; }
.solid-button { color: var(--olive); background: white; }
.whatsapp-section p:not(.eyebrow) { color: var(--muted); }
.whatsapp-button { margin-top: 18px; color: white; background: var(--olive); }
footer { padding: 70px 24px; text-align: center; color: white; background: var(--ink); }
footer p { margin: 8px 0; }
footer .names { color: white; font-size: clamp(3.5rem, 8vw, 5.5rem); }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .welcome { background-position: 55% center; }
  .story-section { grid-template-columns: 1fr; text-align: center; }
  .story-copy { order: 2; }
  .photo-frame { order: 1; }
  .event-grid, .dress-grid { grid-template-columns: 1fr; }
  .event-card { padding: 34px 24px; }
  .countdown > div { padding-inline: 4px; }
  .palette span { width: 58px; height: 58px; }
  .palette small { top: 68px; }
  .music-state { display: none; }
  .music-button { width: 48px; padding: 0; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* ===== AJUSTES FINALES: GRISES, BEIGE Y DORADO ===== */
body {
  background: var(--paper);
  color: var(--ink);
}

.eyebrow,
.event-type,
.date-line,
.blessing,
.palette-block > p {
  color: var(--muted);
}

.monogram,
.divider,
.roman,
.dress-icon,
.gift-icon {
  color: var(--gold);
}

.event-card,
.dress-grid article,
.photo-frame,
.gift-section {
  border-color: var(--line);
}

.outline-button {
  border-color: var(--gold);
  color: var(--ink);
}

.outline-button:hover {
  color: white;
  background: var(--gold);
}

.countdown-section {
  position: relative;
  color: white;
  background:
    linear-gradient(rgba(52,49,47,.68), rgba(52,49,47,.68)),
    url("assets/images/grecia-mauricio-countdown.jpeg") center 48% / cover no-repeat;
}

/* Portada visible después de abrir */
.post-open-hero {
  position: relative;
  min-height: 100svh;
  width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 40px 24px;
  color: white;
  text-align: center;
  background:
    url("assets/images/grecia-mauricio-swing.jpeg")
    center 44% / cover no-repeat;
}

.post-open-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(40,37,34,.30), rgba(40,37,34,.56));
  backdrop-filter: blur(.5px);
}

.post-open-monogram {
  position: absolute;
  top: 24px;
  left: 28px;
  z-index: 2;
  font-size: .72rem;
  letter-spacing: .5em;
  color: rgba(255,255,255,.86);
}

.post-open-content {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
}

.post-open-content .eyebrow {
  margin-bottom: 18px;
  color: rgba(255,255,255,.88);
  font-size: .72rem;
  letter-spacing: .26em;
}

.post-open-names {
  margin: 0;
  display: grid;
  justify-items: center;
  font-family: var(--serif);
  font-size: clamp(4rem, 9.2vw, 8.6rem);
  font-weight: 400;
  line-height: .8;
  letter-spacing: -.055em;
  color: white;
  text-shadow: 0 4px 30px rgba(0,0,0,.2);
}

.post-open-names em {
  margin: -.08em 0 -.12em;
  font-family: var(--script);
  font-size: .72em;
  font-style: normal;
  font-weight: 700;
  line-height: .7;
}

.post-open-date {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) auto minmax(100px, 1fr);
  align-items: center;
  gap: 22px;
  width: min(520px, 92%);
  margin: 48px auto 0;
}

.post-open-date strong {
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 400;
  line-height: 1;
}

.date-side {
  display: grid;
  gap: 8px;
}

.date-side span {
  height: 1px;
  background: rgba(255,255,255,.58);
}

.date-side small {
  font-family: Arial, sans-serif;
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  font-size: 1.5rem;
  color: rgba(255,255,255,.9);
}

/* Foto panorámica completa del bote */
.full-photo-section {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #d6d1ca;
}

.full-photo-section img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

/* Regalos */
.gift-section {
  text-align: center;
  background: var(--paper);
}

.gift-section h2 {
  margin: 0 0 18px;
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  font-weight: 500;
  line-height: 1;
}

.gift-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 24px;
  color: var(--gold);
}

.gift-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gift-copy {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.8;
}

@media (max-width: 760px) {
  .post-open-hero {
    background-position: 56% center;
  }

  .post-open-monogram {
    top: 18px;
    left: 18px;
  }

  .post-open-names {
    font-size: clamp(3.8rem, 19vw, 6.4rem);
  }

  .post-open-date {
    gap: 12px;
    margin-top: 36px;
  }

  .post-open-date strong {
    font-size: 3.25rem;
  }

  .date-side small {
    font-size: .55rem;
    letter-spacing: .12em;
  }

  .full-photo-section img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

@media (max-width: 760px) {
  .countdown-section {
    background-position: 58% center;
    background-attachment: scroll;
  }
}


/* ===== AJUSTES SOLICITADOS SEPTIEMBRE 2026 ===== */

/* Equilibra visualmente el & entre Grecia y Mauricio */
.post-open-names {
  row-gap: 0;
}
.post-open-names em {
  margin: .10em 0 .10em;
  line-height: .58;
}

/* Indicación sutil para continuar */
.scroll-cue {
  bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: min(92%, 340px);
  font-family: Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .16em;
  text-shadow: 0 2px 12px rgba(0,0,0,.32);
}
.scroll-cue span {
  font-size: .60rem;
  font-weight: 500;
}
.scroll-cue b {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: .75;
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: translateY(0); opacity: .65; }
  50% { transform: translateY(5px); opacity: 1; }
}

/* Paleta ampliada */
.palette {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  row-gap: 38px;
}
.palette span {
  flex: 0 0 auto;
}

/* Regalos */
.gift-section .eyebrow {
  margin-bottom: 10px;
}
.gift-section h2 {
  margin-bottom: 28px;
}
.gift-icon {
  margin-bottom: 24px;
}
.gift-options {
  margin: 30px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}
.gift-envelope-option {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.gift-registry-button {
  margin-top: 0;
}

/* Mobile-first refinements */
@media (max-width: 760px) {
  .post-open-hero {
    min-height: 100svh;
    padding: 72px 16px 84px;
  }
  .post-open-content {
    width: 100%;
  }
  .post-open-content .eyebrow {
    font-size: .62rem;
    line-height: 1.55;
    letter-spacing: .20em;
    padding: 0 8px;
  }
  .post-open-names {
    font-size: clamp(3.55rem, 18vw, 5.6rem);
    letter-spacing: -.045em;
  }
  .post-open-names em {
    margin: .12em 0 .12em;
    font-size: .66em;
  }
  .post-open-date {
    width: 100%;
    max-width: 430px;
    grid-template-columns: minmax(74px, 1fr) auto minmax(112px, 1fr);
    gap: 10px;
    margin-top: 32px;
  }
  .post-open-date strong {
    font-size: 3rem;
  }
  .date-side small {
    white-space: normal;
    line-height: 1.3;
  }
  .scroll-cue {
    bottom: 14px;
  }
  .palette {
    max-width: 390px;
    gap: 34px 14px;
    padding-bottom: 28px;
  }
  .palette span {
    width: 54px;
    height: 54px;
  }
  .palette small {
    top: 63px;
    max-width: 78px;
    white-space: normal;
    line-height: 1.05;
    text-align: center;
    font-size: .62rem;
  }
  .gift-options {
    flex-direction: column;
    width: min(100%, 340px);
  }
  .gift-envelope-option,
  .gift-registry-button {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }
  .post-open-names {
    font-size: clamp(3.2rem, 17vw, 4.4rem);
  }
  .post-open-date {
    grid-template-columns: minmax(62px, 1fr) auto minmax(96px, 1fr);
    gap: 7px;
  }
  .date-side small {
    font-size: .50rem;
    letter-spacing: .08em;
  }
}


/* ===== CORRECCIONES V2 ===== */

/* Título principal: serif más editorial/elegante y & realmente separado */
.post-open-names {
  font-family: "Cormorant Infant", "Cormorant Garamond", Georgia, serif;
  line-height: .82;
  letter-spacing: -.035em;
}
.post-open-names em {
  display: block;
  margin: .26em 0 .24em;
  font-family: "Corinthia", cursive;
  font-size: .62em;
  font-style: normal;
  font-weight: 700;
  line-height: .48;
}

/* En móvil, centrar toda la composición de “Juntos, para siempre”.
   Escritorio conserva la alineación original a la izquierda. */
@media (max-width: 900px) {
  .story-card-inner {
    align-items: center;
    text-align: center;
  }

  .story-card .eyebrow {
    width: 100%;
    text-align: center;
  }

  .story-title {
    width: 100%;
    text-align: center;
  }

  .story-ornament {
    margin-left: auto;
    margin-right: auto;
  }

  .story-card blockquote {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .story-card cite {
    width: 100%;
    text-align: center;
  }

  .post-open-names em {
    margin-top: .30em;
    margin-bottom: .28em;
  }
}

@media (max-width: 520px) {
  .post-open-names {
    line-height: .84;
    letter-spacing: -.025em;
  }

  .post-open-names em {
    margin-top: .34em;
    margin-bottom: .32em;
  }
}


/* ===== CORRECCIONES V3 ===== */

/* 20px exactos de aire arriba y abajo del ampersand */
.post-open-names em {
  margin: 20px 0 !important;
  line-height: .55;
}

/* Portada previa a abrir: nombres en Cormorant Infant */
.welcome h1 {
  font-family: "Cormorant Infant", "Cormorant Garamond", Georgia, serif !important;
  font-weight: 400 !important;
  letter-spacing: -.035em;
  line-height: .95;
}
.welcome h1 span {
  font-family: "Cormorant Infant", "Cormorant Garamond", Georgia, serif !important;
  font-size: .72em;
  font-style: italic;
  display: inline-block;
  margin: 0 .10em;
}

/* Contador: fotografía adjunta + velo café translúcido */
.countdown-section {
  position: relative;
  color: white;
  background:
    linear-gradient(rgba(74, 55, 43, .70), rgba(74, 55, 43, .70)),
    url("assets/images/grecia-mauricio-countdown.jpeg") center 48% / cover no-repeat !important;
}

/* Ya no hay opción separada de Sobre: solo botón Liverpool */
.gift-options {
  justify-content: center;
}
.gift-registry-button {
  min-width: min(100%, 290px);
}

@media (max-width: 760px) {
  .post-open-names em {
    margin: 20px 0 !important;
  }

  .welcome h1 {
    font-size: clamp(3.7rem, 18vw, 6.2rem);
  }

  .countdown-section {
    background:
      linear-gradient(rgba(74, 55, 43, .72), rgba(74, 55, 43, .72)),
      url("assets/images/grecia-mauricio-countdown.jpeg") 58% center / cover no-repeat !important;
  }
}


/* ===== PREVIEW V4: título corregido ===== */
.post-open-names,
.post-open-names span,
.post-open-names em {
  font-family: "Cormorant Infant", "Cormorant Garamond", Georgia, serif !important;
  font-weight: 400 !important;
}

.post-open-names {
  display: grid;
  justify-items: center;
  align-items: center;
  line-height: .82;
  letter-spacing: -.035em;
}

.post-open-names em {
  display: block;
  margin: 0 !important;
  padding: 20px 0 !important;
  font-size: .58em;
  font-style: italic;
  line-height: .60;
  letter-spacing: 0;
}


/* ===== AJUSTES V5 ===== */

/* Nombres conservan Cormorant Infant; ampersand clásico aprobado */
.post-open-names,
.post-open-names span {
  font-family: "Cormorant Infant", "Cormorant Garamond", Georgia, serif !important;
  font-weight: 400 !important;
}
.post-open-names em {
  display: block;
  margin: 0 !important;
  padding: 20px 0 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-weight: 400 !important;
  font-style: italic !important;
  font-size: .48em;
  line-height: .65;
  letter-spacing: 0;
  transform: translateY(10px);
}

/* Reduce el vacío antes de Código de vestimenta */
.dress-section {
  padding-top: 76px !important;
}
.dress-section .eyebrow {
  margin-top: 0 !important;
}

/* Contador: un poco más oscuro, manteniendo visible la fotografía */
.countdown-section {
  background:
    linear-gradient(rgba(58, 43, 34, .78), rgba(58, 43, 34, .78)),
    url("assets/images/grecia-mauricio-countdown.jpeg") center 48% / cover no-repeat !important;
}

/* Botón del contador */
.countdown-section .gold-button,
.countdown-section .calendar-button,
.countdown-section a[class*="button"] {
  background: #bba367 !important;
  border-color: #bba367 !important;
}

/* Ornamento de Juntos, para siempre centrado en móvil */
@media (max-width: 900px) {
  .story-ornament {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .dress-section {
    padding-top: 54px !important;
  }

  .countdown-section {
    background:
      linear-gradient(rgba(58, 43, 34, .80), rgba(58, 43, 34, .80)),
      url("assets/images/grecia-mauricio-countdown.jpeg") 58% center / cover no-repeat !important;
  }
}


/* ===== AJUSTES V6 ===== */

/* Código de vestimenta: volver al espaciado original anterior a V5 */
.dress-section {
  padding-top: initial !important;
}
@media (max-width: 900px) {
  .dress-section {
    padding-top: initial !important;
  }
}

/* Portada previa a abrir:
   mantener Grecia/Mauricio en Cormorant Infant y usar el mismo & clásico aprobado */
.welcome h1 {
  font-family: "Cormorant Infant", "Cormorant Garamond", Georgia, serif !important;
  font-weight: 400 !important;
}
.welcome h1 span {
  font-family: Georgia, "Times New Roman", serif !important;
  font-weight: 400 !important;
  font-style: italic !important;
}


/* ===== V7 CORREGIDA: se conserva intacto el hero de V6 ===== */

/* Solo subir ligeramente la frase de invitación, sin alterar el flujo del hero */
.hero-copy {
  transform: translateY(-8px);
}

/* El aviso de scroll permanece exactamente centrado donde estaba */
.scroll-hint {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) translateY(-10px) !important;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: .52rem .9rem !important;
  background: #bba367 !important;
  color: #fff !important;
  border-radius: 2px;
  text-align: center;
}

/* Sección independiente de padres, fuera de la portada */
.parents-section {
  background: #f7f4ef;
  color: #514a45;
  padding: clamp(4.5rem, 8vw, 7rem) 1.5rem;
  text-align: center;
}
.parents-section-inner {
  width: min(850px, 100%);
  margin: 0 auto;
}
.parents-kicker {
  margin: 0 0 2.2rem;
  font-family: "Cormorant Infant", "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-style: italic;
  font-weight: 400;
}
.parents-columns {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(2.5rem, 7vw, 6rem);
}
.parents-pair {
  flex: 1 1 0;
  max-width: 300px;
}
.parents-pair p {
  margin: .25rem 0;
  font-family: "Cormorant Infant", "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
}
.parents-pair span {
  display: block;
  margin: .3rem 0;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  color: #bba367;
}
.parents-divider {
  width: 1px;
  background: rgba(187,163,103,.55);
}

/* Regalos */
.gift-envelope-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  margin: 1.2rem auto .9rem;
}
.gift-envelope-option span:first-child {
  font-size: 1.8rem;
}

/* RSVP */
.rsvp-section {
  background: #bba367;
  color: #fff;
  padding: clamp(4.5rem, 8vw, 6.5rem) 1.5rem;
  text-align: center;
}
.rsvp-inner {
  width: min(650px, 100%);
  margin: 0 auto;
}
.rsvp-kicker {
  margin: 0 0 .7rem;
  font-size: .75rem;
  letter-spacing: .25em;
}
.rsvp-section h2 {
  margin: 0 0 1rem;
  font-family: "Cormorant Infant", "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 400;
}
.rsvp-section p:not(.rsvp-kicker) {
  margin: 0 auto 1.5rem;
  max-width: 500px;
}
.rsvp-button {
  display: inline-block;
  padding: .9rem 1.45rem;
  border: 1px solid #fff;
  color: #fff !important;
  text-decoration: none;
  letter-spacing: .08em;
}

@media (max-width: 760px) {
  .parents-columns {
    flex-direction: column;
    align-items: center;
    gap: 1.7rem;
  }
  .parents-divider {
    width: 90px;
    height: 1px;
  }
  .scroll-hint {
    transform: translateX(-50%) translateY(-14px) !important;
    font-size: .7rem;
  }
}


/* PREVIEW: "Desliza..." centrado, dorado y apenas más arriba */
.scroll-gold {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  display: table !important;
  width: max-content !important;
  max-width: calc(100% - 32px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: .52rem .95rem !important;
  background: #bba367 !important;
  color: #fff !important;
  text-align: center !important;
  border-radius: 2px;
  transform: translateY(-12px) !important;
}
@media (max-width: 760px) {
  .scroll-gold {
    transform: translateY(-16px) !important;
  }
}




  :root {
    --ivory: #f7f5f1;
    --warm-white: #fcfbf8;
    --stone: #d8d4ce;
    --warm-gray: #aaa59e;
    --charcoal: #54504b;
    --gold: #c2a064;
    --deep-gold: #9f7f47;
  }

  /* Tipografía script principal */
  .welcome h1,
  .names,
  footer .names {
    font-family: "Corinthia", cursive;
    font-weight: 700;
  }

  /* Paleta general: grises cálidos, blanco, beige y dorado */
  body {
    background: var(--ivory);
    color: var(--charcoal);
  }

  .eyebrow,
  .event-type,
  .date-line,
  .blessing,
  .palette-block > p,
  footer > p {
    color: var(--deep-gold);
  }

  .divider,
  .event-card,
  .dress-grid article,
  .palette-block,
  .gift-section {
    border-color: rgba(194, 160, 100, 0.5);
  }

  .divider span,
  .roman,
  .dress-icon,
  .gift-icon {
    color: var(--gold);
  }

  .outline-button,
  .solid-button,
  .open-button {
    border-color: var(--gold);
  }

  .outline-button {
    color: var(--deep-gold);
    background: transparent;
  }

  .outline-button:hover {
    background: var(--gold);
    color: var(--warm-white);
  }

  .solid-button,
  .open-button {
    background: var(--charcoal);
    color: var(--warm-white);
  }

  .solid-button:hover,
  .open-button:hover {
    background: var(--deep-gold);
  }

  .music-button {
    background: rgba(84, 80, 75, 0.92);
    color: var(--warm-white);
    border: 1px solid rgba(194, 160, 100, 0.65);
  }

  .countdown-section {
    background: var(--charcoal);
  }

  /* Fotografía completa */
  .full-photo-section {
    width: 100%;
    margin: 0;
    padding: 0;
    background: var(--stone);
  }

  .full-photo-section img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 900px;
    object-fit: cover;
  }

  /* Sección de regalos */
  .gift-section {
    text-align: center;
    background: var(--warm-white);
  }

  .gift-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 1.25rem;
  }

  .gift-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .gift-section h2 {
    margin-bottom: 1rem;
  }

  .gift-copy {
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
  }

  /* Sustituye cualquier fondo verde heredado por gris cálido */
  .intro-section,
  .events-section,
  .dress-section,
  .story-section {
    background-color: var(--ivory);
  }

  @media (max-width: 700px) {
    .full-photo-section img {
      min-height: 390px;
      object-fit: cover;
      object-position: center;
    }

    .gift-icon {
      width: 62px;
      height: 62px;
    }
  }

  /* Sección editorial de la frase */
  .story-section {
    position: relative;
    display: grid;
    grid-template-columns: minmax(320px, 0.82fr) minmax(420px, 1.18fr);
    align-items: center;
    max-width: 1320px;
    margin: 0 auto;
    padding: 6rem 4rem;
    background: var(--ivory);
    overflow: visible;
  }

  .story-photo {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    margin: 0;
    position: relative;
    z-index: 1;
  }

  .story-photo img {
    display: block;
    width: 100%;
    height: clamp(560px, 62vw, 820px);
    object-fit: cover;
    object-position: center;
  }

  .story-photo figcaption {
    margin-top: 1rem;
    text-align: right;
    color: var(--warm-gray);
    font-family: "Cormorant Garamond", serif;
    font-size: 1.05rem;
    font-style: italic;
    letter-spacing: 0.06em;
  }

  .story-card {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    z-index: 2;
    width: calc(100% + 4.75rem);
    margin-right: -4.75rem;
    padding: 1rem;
    background: rgba(252, 251, 248, 0.93);
    box-shadow: 0 22px 55px rgba(84, 80, 75, 0.09);
    backdrop-filter: blur(3px);
  }

  .story-card-inner {
    min-height: 620px;
    padding: 5.2rem 4.6rem 4.4rem;
    border: 1px solid rgba(159, 127, 71, 0.28);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }

  .story-card .eyebrow {
    margin: 0 0 1.5rem;
    color: var(--warm-gray);
    font-size: 0.78rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
  }

  .story-title {
    margin: 0;
    color: #34312e;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(4.8rem, 7vw, 7.8rem);
    font-weight: 400;
    line-height: 0.79;
    letter-spacing: -0.045em;
  }

  .story-ornament {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 160px;
    margin: 3.1rem 0 2.6rem;
    color: var(--gold);
    opacity: 0.68;
  }

  .story-ornament span {
    display: block;
    flex: 1;
    height: 1px;
    background: currentColor;
  }

  .story-ornament i {
    font-size: 0.7rem;
    font-style: normal;
  }

  .story-card blockquote {
    max-width: 480px;
    margin: 0;
    color: #6f6a65;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.55rem, 2.3vw, 2.1rem);
    font-weight: 400;
    line-height: 1.45;
  }

  .story-card cite {
    margin-top: 2rem;
    color: var(--warm-gray);
    font-family: Arial, sans-serif;
    font-size: 0.72rem;
    font-style: normal;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  @media (max-width: 900px) {
    .story-section {
      display: flex;
      flex-direction: column;
      padding: 4rem 1.25rem;
    }

    .story-photo {
      width: 100%;
    }

    .story-photo img {
      height: 520px;
    }

    .story-card {
      width: calc(100% - 1.25rem);
      margin: -5rem auto 0;
      order: 2;
    }

    .story-card-inner {
      min-height: auto;
      padding: 3.8rem 2.3rem 3.2rem;
    }

    .story-title {
      font-size: clamp(4.2rem, 18vw, 6rem);
    }

    .story-card blockquote {
      font-size: 1.55rem;
    }
  }

  @media (max-width: 520px) {
    .story-section {
      padding-left: 0.85rem;
      padding-right: 0.85rem;
    }

    .story-photo img {
      height: 430px;
    }

    .story-card {
      width: calc(100% - 0.75rem);
      margin-top: -3.3rem;
      padding: 0.55rem;
    }

    .story-card-inner {
      padding: 3rem 1.55rem 2.7rem;
    }

    .story-title {
      line-height: 0.84;
    }
  }




@media (max-width: 760px) {
  .honor-mas-arriba {
    position: relative !important;
    top: -46px !important;
    transform: none !important;
    margin-bottom: -46px !important;
    z-index: 3 !important;
  }
}



@media (max-width: 760px) {
  .honor-mas-arriba {
    position: relative !important;
    top: -82px !important;
    transform: none !important;
    margin-bottom: -82px !important;
    z-index: 4 !important;
  }
}



/* RESTAURAR "Tenemos el honor..." EXACTAMENTE A SU POSICIÓN ORIGINAL */
.honor-mas-arriba,
.invitation-honor {
  position: static !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  margin-bottom: initial !important;
}
@media (max-width: 760px) {
  .honor-mas-arriba,
  .invitation-honor {
    position: static !important;
    top: auto !important;
    transform: none !important;
    margin-bottom: initial !important;
  }
}



.gift-options .gift-icon { margin: 0 auto 1rem !important; }



/* Regalos: desktop horizontal y centrado; móvil conserva disposición vertical */
@media (min-width: 761px) {
  .gift-options {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1.35rem !important;
  }
  .gift-options .gift-icon {
    margin: 0 !important;
    flex: 0 0 auto;
  }
  .gift-options .gift-registry-button {
    margin: 0 !important;
  }
}
@media (max-width: 760px) {
  .gift-options {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .gift-options .gift-icon {
    margin: 0 auto 1rem !important;
  }
}


/* Ajuste final: separar "Tenemos el honor..." de Grecia moviéndolo hacia arriba */
@media (min-width: 761px) {
  .hero-copy,
  .invitation-honor,
  .honor-mas-arriba {
    position: relative !important;
    transform: translateY(-28px) !important;
  }
}
@media (max-width: 760px) {
  .hero-copy,
  .invitation-honor,
  .honor-mas-arriba {
    position: relative !important;
    top: -34px !important;
    transform: none !important;
  }
}
