﻿/* ===== Paleta ramo â€” sage, mauve, blanco ===== */
:root {
  --sage-dark: #5c6b58;
  --sage: #8fa38c;
  --sage-light: #c5d4c3;
  --mauve: #9a8a9e;
  --lilac-deep: #6e6570;
  --lilac: #9a8a9e;
  --lilac-mid: #b5a8b8;
  --lilac-soft: #d4cad8;
  --lilac-pale: #f0ecf2;
  --white: #ffffff;
  --cream: #ffffff;
  --cream-dark: #f5f3f6;
  --bg-tint: #faf9fb;
  --gold: var(--sage);
  --gold-light: var(--sage-light);
  --text: #4a454c;
  --text-muted: #8a848f;
  --shadow: rgba(90, 85, 95, 0.07);
  --font-script: "Monsieur La Doulaise", cursive;
  --font-serif: "Tenor Sans", system-ui, sans-serif;
  --font-display: "Bodoni Moda", Georgia, serif;
  --font-romantic: "Cormorant Garamond", Georgia, serif;
  --radius: 4px;
  --max-width: 100%;
  --content-max: 100%;
  --content-pad: clamp(1.25rem, 4vw, 2rem);
  --content-inner: 100%;
  --nav-height: 4rem;
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --cemaco-blue: #001e8e;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 4rem;
}

html:has(.envelope-open) {
  scroll-padding-top: 1rem;
}

body {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

body.envelope-open {
  overflow: auto;
  background: var(--white);
}


.hidden {
  visibility: hidden;
  pointer-events: none;
}

.invitation:not(.hidden) {
  visibility: visible;
  pointer-events: auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== InvitaciÃ³n principal â€” columna centrada (pÃ©talos a los lados en desktop) ===== */
.invitation {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: var(--white);
  box-shadow: none;
  padding-bottom: 2rem;
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
}

/* MenÃº hero â€” enlaces a los lados, marca al centro */
.site-menu {
  position: relative;
  width: 100%;
  min-height: min(52vh, 480px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 4rem) var(--content-pad);
  overflow: visible;
}

.site-menu__bg {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* La portada usa un recorte propio; el fondo fijo desplaza el anillo en desktop. */
.site-menu__bg.parallax-bg {
  background-attachment: scroll;
  background-position: 28% 100% !important;
}

.site-menu__bar {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0.5rem 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1.25rem);
  filter: drop-shadow(0 2px 10px rgba(22, 20, 26, 0.55))
    drop-shadow(0 0 22px rgba(22, 20, 26, 0.35));
}

.site-menu__toggle {
  display: none;
}

.site-menu__panel {
  display: none;
}

.site-menu__desktop {
  display: contents;
}

.site-menu__nav--left .site-menu__links {
  justify-content: flex-end;
}

.site-menu__nav--right .site-menu__links {
  justify-content: flex-start;
}

.site-menu__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(0.45rem, 1.4vw, 1.15rem);
}

.site-menu__link {
  font-family: var(--font-serif);
  font-size: clamp(0.56rem, 1vw, 0.74rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  -webkit-text-stroke: 0.35px rgba(32, 28, 38, 0.55);
  paint-order: stroke fill;
  text-shadow:
    0 0 1px rgba(18, 16, 22, 0.95),
    0 1px 3px rgba(18, 16, 22, 0.85),
    0 2px 12px rgba(18, 16, 22, 0.55),
    0 0 20px rgba(18, 16, 22, 0.35);
  white-space: nowrap;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.site-menu__link:hover,
.site-menu__link:focus-visible {
  color: #fff;
  outline: none;
}

.site-menu__link.is-active {
  color: #fff;
  font-weight: 700;
}

.site-menu__link--cta {
  color: rgba(255, 255, 255, 0.95);
}

/* Cabecera: marca + hamburguesa (mobile) / solo marca en grid (desktop) */
.site-menu__head {
  display: contents;
}

.site-menu__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-decoration: none;
  color: inherit;
  text-align: center;
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  padding: 0 clamp(0.35rem, 1.5vw, 1.1rem);
  border-left: 1px solid rgba(255, 255, 255, 0.4);
  border-right: 1px solid rgba(255, 255, 255, 0.4);
}

.site-menu__nav--left {
  grid-column: 1;
  grid-row: 1;
}

.site-menu__nav--right {
  grid-column: 3;
  grid-row: 1;
}

.site-menu__brand-title {
  font-family: var(--font-script);
  font-size: clamp(1.85rem, 4.5vw, 2.7rem);
  font-weight: 400;
  line-height: 1.05;
  color: #fff;
  -webkit-text-stroke: 0.4px rgba(32, 28, 38, 0.5);
  paint-order: stroke fill;
  text-shadow:
    0 0 1px rgba(18, 16, 22, 0.9),
    0 2px 4px rgba(18, 16, 22, 0.8),
    0 4px 20px rgba(18, 16, 22, 0.5),
    0 0 28px rgba(18, 16, 22, 0.35);
  white-space: nowrap;
}

.site-menu__brand-title .amp {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.45em;
  color: rgba(236, 232, 240, 0.92);
}

.site-menu__date {
  font-family: var(--font-display);
  font-size: clamp(0.48rem, 1vw, 0.62rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(245, 242, 250, 0.95);
  -webkit-text-stroke: 0.3px rgba(32, 28, 38, 0.45);
  paint-order: stroke fill;
  text-shadow:
    0 0 1px rgba(18, 16, 22, 0.9),
    0 1px 3px rgba(18, 16, 22, 0.75),
    0 0 16px rgba(18, 16, 22, 0.4);
  white-space: nowrap;
}

/* Nombres bajo la cita */
.intro__names {
  font-family: var(--font-script);
  font-size: clamp(3.4rem, 14vw, 5.25rem);
  font-weight: 400;
  line-height: 1.05;
  text-align: center;
  color: var(--lilac-deep);
  margin: 0 0 1.25rem;
}

.intro__names .amp {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.5em;
  vertical-align: middle;
  color: var(--mauve);
}

/* Secciones â€” contenedor 100%; contenido centrado al 70% en desktop */
.section {
  padding: 2.5rem var(--content-pad);
  position: relative;
  width: 100%;
}

@media (min-width: 900px) {
  :root {
    --content-inner: 70%;
  }

  .site-menu__bar {
    width: min(96%, 1140px);
    max-width: 96%;
    margin-left: auto;
    margin-right: auto;
  }

  .site-menu__link {
    letter-spacing: 0.16em;
  }

  .section:not(.site-menu) > * {
    width: var(--content-inner);
    max-width: var(--content-inner);
    margin-left: auto;
    margin-right: auto;
  }
}

.section--cream { background: var(--white); }

.section--lilac {
  background: var(--white);
  color: var(--text);
}

.section--lilac-dark {
  background: var(--white);
  color: var(--text);
  text-align: center;
}

/* Parallax W3Schools â€” fondo fijo al hacer scroll (escritorio) */
.parallax-bg {
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center center;
}

.parallax-window {
  width: 100%;
  min-height: min(48vh, 460px);
  position: relative;
  z-index: 1;
}

/* MÃ³vil / tÃ¡ctil / iOS: el fondo fijo no funciona â€” fondo normal y franja
   horizontal (16:9) para que se vea TODA la pareja, no solo la cabeza. */
@media (max-width: 768px), (hover: none) and (pointer: coarse) {
  .parallax-bg {
    background-attachment: scroll;
  }

  .parallax-window {
    min-height: 0;
    aspect-ratio: 16 / 9;
    background-position: center 42%;
  }

  .site-menu__bg.parallax-bg {
    background-attachment: scroll;
  }
}

@media (prefers-reduced-motion: reduce) {
  .parallax-bg {
    background-attachment: scroll;
  }
}

/* Escala de grises parcial en los fondos (mantiene el parallax fijo).
   Se usa backdrop-filter sobre una capa encima del fondo, no filter sobre
   el propio elemento, porque filter rompe el background-attachment: fixed. */
.parallax-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  -webkit-backdrop-filter: grayscale(0.65);
  backdrop-filter: grayscale(0.65);
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--lilac-deep);
}

.section-title--light { color: var(--mauve); }

.section-sub {
  text-align: center;
  font-family: var(--font-romantic);
  font-style: italic;
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

.section--lilac .section-sub { color: var(--text-muted); }

/* Quote & monogram */
.quote {
  text-align: center;
  margin-bottom: 1.5rem;
  font-family: var(--font-serif);
  font-style: normal;
  color: var(--text-muted);
}

.quote p { font-size: 1.05rem; line-height: 1.6; margin-bottom: 0.5rem; }

.quote cite {
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* Fotos */
.photo-frame {
  margin: 1.5rem 0 0;
  width: 100%;
  max-width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(154, 138, 158, 0.1);
}

.photo-frame img {
  object-fit: cover;
  object-position: center 35%;
  width: 100%;
  filter: grayscale(0.6) saturate(1.05) contrast(1.02);
  transition: filter 0.5s ease;
}

.photo-frame:hover img {
  filter: grayscale(0) saturate(1.05) contrast(1.02);
}

.photo-frame--tall {
  min-height: 320px;
  background: var(--lilac-pale);
}

.photo-frame--tall img {
  aspect-ratio: 3/4;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 280px;
  display: block;
  filter: grayscale(0.6);
  image-rendering: auto;
}
.photo-frame--wide { max-width: 100%; }
.photo-frame--wide img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }

.photo-frame--banner {
  margin: 1.25rem auto 0;
  max-width: min(100%, 680px);
}

.photo-frame--banner img {
  display: block;
  width: 100%;
  height: clamp(160px, 28vw, 220px);
  max-height: 220px;
  object-fit: cover;
  object-position: center 42%;
  filter: grayscale(0.6);
}

/* MÃºsica */
.music-player {
  text-align: center;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.section--lilac .music-player__label {
  color: var(--text);
}

.section--lilac .music-btn {
  border-color: var(--lilac-soft);
  color: var(--mauve);
}

.section--lilac .music-btn:hover,
.section--lilac .music-btn:focus-visible {
  background: var(--lilac-pale);
}

.section--lilac .music-btn--play {
  border-color: var(--mauve);
}

.section--lilac .music-btn--play.playing {
  background: var(--lilac-pale);
}

.section--lilac .music-player__bar {
  background: var(--lilac-pale);
}

.section--lilac .music-player__progress {
  background: var(--mauve);
}

.section--lilac .music-player__track {
  color: var(--text-muted);
}

.music-player__label {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.music-player__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.music-btn {
  width: 48px;
  height: 48px;
  border: 2px solid var(--lilac-soft);
  border-radius: 50%;
  background: transparent;
  color: var(--mauve);
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition), transform 0.2s;
}

.music-btn:hover, .music-btn:focus-visible {
  background: var(--lilac-pale);
  outline: none;
}

.music-btn--play {
  width: 56px;
  height: 56px;
  font-size: 1.2rem;
  border-color: var(--gold-light);
}

.music-btn--play.playing { background: rgba(255,255,255,0.2); }

.music-player__bar {
  height: 3px;
  background: var(--lilac-pale);
  border-radius: 2px;
  max-width: 240px;
  margin: 0 auto 0.75rem;
  overflow: hidden;
}

.music-player__progress {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--mauve);
  border-radius: 2px;
  transition: width 0.1s linear;
}

.music-player__track { font-size: 0.85rem; opacity: 0.8; }

/* Padres */
.parents { text-align: center; }

.parents > p {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}

.parents__grid {
  display: grid;
  gap: 1.5rem;
  font-size: 0.95rem;
  opacity: 0.95;
}

.parents__grid p {
  line-height: 1.65;
  color: var(--text);
  margin: 0;
}

.parents h3 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  color: var(--lilac-deep);
}

.section--lilac .parents h3 {
  color: var(--lilac-deep);
}

/* Countdown */
.section--lilac-dark .countdown__unit span {
  color: var(--mauve);
}

.countdown__date {
  font-family: var(--font-display);
  font-size: clamp(1rem, 4vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--lilac-deep);
  margin: 0 0 1rem;
}

.countdown__label {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0.85;
}

.countdown__timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 3.5rem;
}

.countdown__unit span {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}

.countdown__unit small {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-top: 0.25rem;
}

.countdown__sep {
  font-size: 1.5rem;
  opacity: 0.5;
  padding-bottom: 1rem;
}

/* Historia */
.prologue {
  text-align: center;
  font-family: var(--font-romantic);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--lilac);
  margin-bottom: 0.5rem;
}

.story p {
  text-align: justify;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

/* Venue */
.venue-card {
  text-align: center;
  padding: 1.5rem 0;
}

.venue-card__icon { font-size: 2rem; margin-bottom: 0.5rem; }

.venue-card__time {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}

.venue-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0.5rem 0;
}

.venue-card__place {
  font-size: 1.25rem;
  color: var(--lilac);
  font-weight: 600;
}

.venue-card__city { color: var(--text-muted); margin-bottom: 1.25rem; }

/* Datos clave â€” contraste consistente sin recargar el diseÃ±o */
.countdown__unit span,
.venue-card__time,
.venue-card__place,
.gift-account .gift-account__number,
#rsvp-deadline {
  color: var(--lilac-deep);
  font-weight: 600;
}

#rsvp-deadline {
  padding: 0.08em 0.3em;
  background: var(--lilac-pale);
  border-radius: 3px;
}

.parking-info {
  margin-top: 2rem;
  padding: 1.25rem;
  background: var(--cream-dark);
  border-radius: var(--radius);
}

.parking-info h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--lilac-deep);
}

.parking-info ul {
  list-style: none;
  margin-bottom: 1rem;
}

.parking-info li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.parking-info li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--mauve);
}

/* Botones */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow var(--transition), background var(--transition);
}

.btn--primary {
  background: var(--mauve);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(154, 138, 158, 0.22);
}

.btn--primary:hover, .btn--primary:focus-visible {
  background: var(--lilac-deep);
  transform: translateY(-2px);
  outline: none;
}

.btn--outline {
  background: transparent;
  color: var(--lilac);
  border: 2px solid var(--lilac);
}

.btn--text {
  background: none;
  color: var(--lilac);
  margin-top: 0.75rem;
  font-size: 0.85rem;
}

/* GalerÃ­a */
.gallery__hint {
  margin-bottom: 1.25rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.gallery__item {
  border: none;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1;
  background: var(--lilac-pale);
  box-shadow: 0 4px 16px var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery__item--featured {
  grid-column: span 2;
  aspect-ratio: 1;
}

.gallery__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(154, 138, 158, 0.15);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Comparte tus momentos */
.share-text {
  text-align: center;
  max-width: 46ch;
  margin: 0 auto 1.5rem;
  color: var(--text);
}

.share-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.share-qr {
  width: 170px;
  height: 170px;
  border-radius: 12px;
  padding: 10px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(22, 20, 26, 0.18);
}

.share-note {
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: center;
}

/* Itinerario â€” timeline con fotos */
.itinerary {
  --timeline-x: 5.75rem;
  list-style: none;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0.5rem 0 0;
  position: relative;
}

.itinerary::before {
  content: "";
  position: absolute;
  left: var(--timeline-x);
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--lilac-soft) 6%,
    var(--mauve) 50%,
    var(--sage-light) 94%,
    transparent 100%
  );
  border-radius: 2px;
  opacity: 0.55;
}

.itinerary__item {
  display: grid;
  grid-template-columns: var(--timeline-x) 1fr;
  gap: 1rem;
  align-items: start;
  margin-bottom: 0.75rem;
  position: relative;
}

.itinerary__item:last-child {
  margin-bottom: 0;
}

.itinerary__marker {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-right: 1.15rem;
  padding-top: 0.15rem;
  position: relative;
  z-index: 1;
}

.itinerary__time {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--mauve);
  line-height: 1;
  margin-bottom: 0.65rem;
  text-align: right;
  white-space: nowrap;
}

.itinerary__time-end {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--lilac-soft);
  margin-top: 0.22rem;
}

.itinerary__dot {
  display: block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--mauve);
  box-shadow: 0 0 0 4px var(--lilac-pale);
  transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.itinerary__step {
  display: none;
}

.itinerary__item:hover .itinerary__dot,
.itinerary__item:focus-within .itinerary__dot {
  transform: scale(1.15);
  background: var(--mauve);
  border-color: var(--mauve);
}

.itinerary__card {
  display: grid;
  grid-template-columns: 4.75rem 1fr;
  gap: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(212, 202, 216, 0.55);
  border-radius: 12px;
  box-shadow:
    0 4px 20px rgba(154, 138, 158, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.itinerary__item:hover .itinerary__card {
  transform: translateX(4px);
  border-color: var(--lilac-soft);
  box-shadow: 0 12px 32px rgba(154, 138, 158, 0.12);
}

.itinerary__media {
  position: relative;
  min-height: 100%;
  background: var(--lilac-pale);
  overflow: hidden;
}

.itinerary__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 55%, rgba(255, 255, 255, 0.15));
  pointer-events: none;
}

.itinerary__media img {
  width: 100%;
  height: 100%;
  min-height: 108px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.itinerary__item:hover .itinerary__media img {
  transform: scale(1.06);
}

/* Itinerario con Ã­conos (line-art sobre fondo lila) */
.itinerary__media--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lilac-pale);
}

.itinerary__media--icon::after {
  display: none;
}

.itinerary__media--icon img {
  width: auto;
  height: auto;
  max-width: 48px;
  max-height: 48px;
  min-height: 0;
  object-fit: contain;
  padding: 0.35rem;
  transition: transform 0.5s ease;
}

.itinerary__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.8rem 1rem;
  min-width: 0;
}

.itinerary__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--lilac-deep);
  margin: 0;
  line-height: 1.25;
}

.itinerary__desc {
  font-family: var(--font-romantic);
  font-size: 0.98rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 520px) {
  .itinerary {
    --timeline-x: 5rem;
  }

  .itinerary__card {
    grid-template-columns: 4rem 1fr;
  }

  .itinerary__media img {
    min-height: 130px;
    max-height: 150px;
  }

  .itinerary__media--icon {
    min-height: 68px;
  }

  .itinerary__media--icon img {
    max-width: 44px;
    max-height: 44px;
    min-height: 0;
  }

  .itinerary__body {
    padding: 0.7rem 0.85rem;
  }
}

@media (min-width: 900px) {
  .itinerary__card {
    grid-template-columns: 5rem 1fr;
  }

  .itinerary__media img {
    min-height: 118px;
  }
}

/* Dress code */
.dress-code {
  width: 100%;
  max-width: 460px;
  margin: 0 auto 2rem;
  text-align: center;
  padding: 1.5rem 1.25rem;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.8), transparent 58%),
    var(--lilac-pale);
  border: 1px solid var(--lilac-soft);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(154, 138, 158, 0.14);
}

.dress-code__icon {
  display: block;
  width: 54px;
  height: 54px;
  object-fit: contain;
  margin: 0 auto 0.65rem;
  opacity: 0.78;
}

.dress-code h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lilac-deep);
  margin-bottom: 0.5rem;
}

.dress-code__type {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--mauve);
  margin-bottom: 0.5rem;
}

.dress-code__note {
  font-family: var(--font-romantic);
  font-size: 1.05rem;
  color: var(--text-muted);
  font-style: italic;
}

#regalos {
  background:
    radial-gradient(circle at top left, rgba(212, 202, 216, 0.42), transparent 48%),
    linear-gradient(180deg, #faf8fb 0%, var(--lilac-pale) 100%);
}

.gift-text {
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.65;
  width: 100%;
  max-width: 52ch;
  margin: 0 auto 1.75rem;
  color: var(--text-muted);
}

.gift-registry {
  display: flex;
  justify-content: center;
  width: 100%;
}

.gift-registry__card {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 380px;
  padding: 1.15rem 1.25rem;
  text-decoration: none;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--lilac-pale);
  border-radius: 12px;
  box-shadow:
    0 8px 28px rgba(154, 138, 158, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.gift-registry__card:hover,
.gift-registry__card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--lilac-soft);
  box-shadow: 0 14px 36px rgba(154, 138, 158, 0.16);
  outline: none;
}

.gift-registry__logo-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 7.5rem;
  padding: 0.45rem 0.7rem;
  background: var(--cemaco-blue);
  border-radius: 8px;
}

.gift-registry__logo {
  width: auto;
  height: 2rem;
  max-width: 9.5rem;
  object-fit: contain;
  display: block;
}

.gift-registry__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.2rem;
}

.gift-registry__title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lilac-deep);
}

.gift-registry__subtitle {
  font-family: var(--font-romantic);
  font-size: 0.98rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.3;
}

.gift-registry__arrow {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--mauve);
  transition: transform 0.3s ease;
}

.gift-registry__card:hover .gift-registry__arrow,
.gift-registry__card:focus-visible .gift-registry__arrow {
  transform: translateX(4px);
}

/* Lluvia de sobres + cuenta bancaria */
.gift-envelope {
  width: 100%;
  max-width: 420px;
  margin: 1.75rem auto 0;
  padding: 1.4rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(212, 202, 216, 0.75);
  border-radius: 14px;
}

.gift-envelope__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  color: var(--mauve);
  margin-bottom: 0.5rem;
}

.gift-envelope__text {
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 1.35rem;
}

.gift-account {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  padding: 0.9rem 1rem;
  background: var(--white);
  border: 1px solid var(--lilac-pale);
  border-radius: 12px;
  box-shadow:
    0 8px 28px rgba(154, 138, 158, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  text-align: left;
}

.gift-account__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.gift-account__name {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--lilac-deep);
}

.gift-account__bank {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.gift-account__number {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-top: 0.25rem;
}

.gift-account__cur {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--mauve);
}

.gift-account__copy {
  flex-shrink: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.5rem 0.7rem;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--mauve);
  background: var(--lilac-pale);
  border: none;
  border-radius: 9px;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.15s ease;
}

.gift-account__copy:hover {
  background: var(--mauve);
  color: #fff;
}

.gift-account__copy:active {
  transform: scale(0.95);
}

.gift-account__copy.is-copied {
  background: var(--sage);
  color: #fff;
}

.gift-account__copy-icon {
  font-size: 1rem;
  line-height: 1;
}

/* Nota: velada para adultos */
.adults-note {
  width: 100%;
  max-width: 480px;
  margin: 1rem auto 0;
  padding: 0.7rem 0.9rem;
  text-align: center;
  background: rgba(240, 236, 242, 0.55);
  border-left: 2px solid var(--lilac-soft);
  border-radius: 4px;
}

.adults-note__text {
  font-family: var(--font-romantic);
  font-style: italic;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text-muted);
  margin: 0;
}

/* RSVP */
.rsvp {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.rsvp__label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  color: var(--lilac-deep);
}

.rsvp__input {
  width: 100%;
  padding: 1rem 1.15rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  border: 1px solid var(--lilac-pale);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.rsvp__input:focus {
  outline: none;
  border-color: var(--lilac-soft);
  box-shadow: 0 0 0 3px rgba(154, 138, 158, 0.15);
}

.rsvp__results {
  list-style: none;
  margin-top: 0.5rem;
  border: 1px solid var(--lilac-pale);
  border-radius: var(--radius);
  background: var(--white);
  max-height: 200px;
  overflow-y: auto;
}

.rsvp__results li button {
  width: 100%;
  padding: 0.85rem 1rem;
  text-align: left;
  border: none;
  background: none;
  font-family: var(--font-serif);
  font-size: 1rem;
  cursor: pointer;
  border-bottom: 1px solid var(--cream-dark);
  transition: background 0.2s;
}

.rsvp__results li:last-child button { border-bottom: none; }

.rsvp__results li button:hover { background: var(--lilac-pale); }

.rsvp__group-title {
  font-family: var(--font-display);
  margin-bottom: 1rem;
  color: var(--lilac-deep);
}

.rsvp__guests { list-style: none; margin-bottom: 1.25rem; }

.rsvp__guest {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--cream-dark);
  gap: 1rem;
}

.rsvp__guest-name { flex: 1; }

.rsvp__guest-status {
  font-size: 0.75rem;
  color: var(--lilac-mid);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.rsvp__guest-status.confirmed { color: var(--sage-dark); }

.rsvp__toggle {
  display: flex;
  gap: 0.35rem;
}

.rsvp__toggle button {
  padding: 0.4rem 0.65rem;
  font-size: 0.75rem;
  border: 1px solid var(--lilac-pale);
  background: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-display);
  transition: all 0.2s;
}

.rsvp__toggle button.active-yes {
  background: var(--lilac);
  color: var(--white);
  border-color: var(--lilac);
}

.rsvp__toggle button.active-no {
  background: var(--text-muted);
  color: var(--white);
  border-color: var(--text-muted);
}

.rsvp__success {
  text-align: center;
  font-size: 1.15rem;
  color: var(--lilac);
  padding: 2rem 0;
}

#rsvp-submit { width: 100%; }

/* Footer */
.footer {
  text-align: center;
  padding: 2.5rem 1.5rem 3rem;
  background: var(--cream);
}

.footer__lead {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.footer__thanks {
  font-family: var(--font-script);
  font-size: 3.4rem;
  line-height: 1.1;
  color: var(--lilac);
  margin-bottom: 1.5rem;
}

.footer__signature {
  font-family: var(--font-script);
  font-size: 2.7rem;
  line-height: 1.1;
  color: var(--lilac-mid);
  margin-top: 1.5rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(74, 69, 76, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox[hidden] { display: none; }

.lightbox img {
  max-height: 90vh;
  max-width: 100%;
  object-fit: contain;
  border-radius: 2px;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 1.75rem;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== NavegaciÃ³n â€” desktop: barra | mobile: menÃº elegante ===== */
.site-nav {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
}

.site-nav[hidden] {
  display: block;
  visibility: hidden;
}

/* â€”â€”â€” Barra desktop (oculta en mÃ³vil) â€”â€”â€” */
.site-nav__header {
  display: none;
}

.site-nav__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__brand {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--lilac-deep);
  text-decoration: none;
  transition: color 0.25s ease;
}

.site-nav__brand span {
  font-style: italic;
  font-weight: 400;
  color: var(--mauve);
}

.site-nav__brand:hover,
.site-nav__brand:focus-visible {
  color: var(--mauve);
  outline: none;
}

/* â€”â€”â€” Hamburguesa mÃ³vil â€”â€”â€” */
.site-nav__toggle {
  position: fixed;
  top: calc(0.85rem + env(safe-area-inset-top, 0px));
  left: calc(0.85rem + env(safe-area-inset-left, 0px));
  z-index: 9002;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(212, 202, 216, 0.65);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--mauve);
  cursor: pointer;
  box-shadow:
    0 4px 20px rgba(154, 138, 158, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.site-nav:not([hidden]).site-nav--visible .site-nav__toggle {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-nav__toggle:hover,
.site-nav__toggle:focus-visible {
  transform: scale(1.04);
  border-color: var(--lilac-soft);
  outline: none;
  box-shadow: 0 8px 28px rgba(154, 138, 158, 0.18);
}

.site-nav--open .site-nav__toggle {
  border-color: var(--mauve);
  background: var(--white);
}

.site-nav__toggle-icon {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--mauve);
  position: relative;
  transition: background 0.2s;
}

.site-nav__toggle-icon::before,
.site-nav__toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--mauve);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), top 0.35s ease;
}

.site-nav__toggle-icon::before { top: -6px; }
.site-nav__toggle-icon::after { top: 6px; }

.site-nav--open .site-nav__toggle-icon {
  background: transparent;
}

.site-nav--open .site-nav__toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.site-nav--open .site-nav__toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

/* â€”â€”â€” Panel mÃ³vil elegante â€”â€”â€” */
.site-nav__panel {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background:
    radial-gradient(ellipse 120% 80% at 50% -10%, rgba(212, 202, 216, 0.35) 0%, transparent 55%),
    linear-gradient(175deg, #ffffff 0%, var(--lilac-pale) 48%, #ebe6f0 100%);
  transform: translateY(-102%);
  opacity: 1;
  transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
  pointer-events: none;
  z-index: 9001;
}

.site-nav--open .site-nav__panel {
  transform: translateY(0);
  pointer-events: auto;
}

.site-nav__panel[hidden] {
  display: block;
  visibility: hidden;
}

.site-nav--open .site-nav__panel[hidden] {
  visibility: visible;
}

.site-nav__panel-head {
  text-align: center;
  padding:
    calc(3.5rem + env(safe-area-inset-top, 0px))
    var(--content-pad)
    1.75rem;
  border-bottom: 1px solid rgba(154, 138, 158, 0.12);
  background: rgba(255, 255, 255, 0.45);
}

.site-nav__panel-eyebrow {
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--mauve);
  margin-bottom: 0.5rem;
}

.site-nav__panel-brand {
  font-family: var(--font-script);
  font-size: clamp(2rem, 9vw, 2.75rem);
  color: var(--lilac-deep);
  line-height: 1.1;
}

.site-nav__panel-brand span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.45em;
  color: var(--mauve);
}

.site-nav__list {
  list-style: none;
  width: 100%;
  margin: 0;
  padding: 1.5rem var(--content-pad) calc(2.5rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-nav__list li {
  width: 100%;
}

.site-nav__link--mob {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 3.1rem;
  padding: 0.95rem 1.15rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--lilac-deep);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(212, 202, 216, 0.5);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(154, 138, 158, 0.06);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.site-nav__link--mob::after {
  content: "â€º";
  font-size: 1.1rem;
  color: var(--lilac-soft);
  font-weight: 400;
  transition: transform 0.25s ease, color 0.25s ease;
}

.site-nav__link--mob:hover,
.site-nav__link--mob:focus-visible {
  background: var(--white);
  border-color: var(--lilac-soft);
  color: var(--mauve);
  transform: translateX(4px);
  outline: none;
  box-shadow: 0 6px 20px rgba(154, 138, 158, 0.1);
}

.site-nav__link--mob:hover::after,
.site-nav__link--mob:focus-visible::after {
  color: var(--mauve);
  transform: translateX(3px);
}

.site-nav__link--mob.is-active {
  background: var(--white);
  border-color: var(--mauve);
  color: var(--mauve);
  font-weight: 600;
  box-shadow: 0 4px 18px rgba(154, 138, 158, 0.12);
}

.site-nav__link--mob.site-nav__link--cta {
  margin-top: 0.75rem;
  justify-content: center;
  background: linear-gradient(135deg, var(--mauve) 0%, var(--lilac-deep) 100%);
  color: var(--white);
  border: none;
  border-radius: 999px;
  letter-spacing: 0.2em;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(154, 138, 158, 0.28);
}

.site-nav__link--mob.site-nav__link--cta::after {
  display: none;
}

.site-nav__link--mob.site-nav__link--cta:hover,
.site-nav__link--mob.site-nav__link--cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(154, 138, 158, 0.32);
  color: var(--white);
}

.site-nav__link--mob.site-nav__link--cta.is-active {
  background: linear-gradient(135deg, var(--lilac-deep) 0%, var(--mauve) 100%);
  color: var(--white);
}

.site-nav__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(74, 69, 76, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 8999;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.site-nav__backdrop[hidden] {
  display: block;
  pointer-events: none;
}

.site-nav--open .site-nav__backdrop {
  opacity: 1;
  pointer-events: auto;
}

/* â€”â€”â€” Desktop: enlaces a izquierda y derecha del monograma â€”â€”â€” */
@media (min-width: 900px) {
  .site-nav__toggle {
    display: none;
  }

  .site-nav__panel,
  .site-nav__backdrop {
    display: none !important;
  }

  .site-nav__header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    padding: 0 clamp(1.25rem, 3vw, 2.5rem);
    padding-top: env(safe-area-inset-top, 0);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--lilac-pale);
    box-shadow: 0 4px 24px rgba(154, 138, 158, 0.06);
    z-index: 9002;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }

  .site-nav:not([hidden]).site-nav--visible .site-nav__header {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav__links--left {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: clamp(0.65rem, 1.8vw, 1.35rem);
  }

  .site-nav__links--right {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: clamp(0.65rem, 1.8vw, 1.35rem);
  }

  .site-nav__brand {
    justify-self: center;
    font-size: 1.12rem;
    white-space: nowrap;
  }

  .site-nav__link--desk {
    font-family: var(--font-display);
    font-size: clamp(0.62rem, 0.85vw, 0.72rem);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-muted);
    padding: 0.25rem 0;
    position: relative;
    transition: color 0.25s ease;
    white-space: nowrap;
  }

  .site-nav__link--desk::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1px;
    background: var(--mauve);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
  }

  .site-nav__link--desk:hover,
  .site-nav__link--desk:focus-visible {
    color: var(--mauve);
    outline: none;
  }

  .site-nav__link--desk:hover::after,
  .site-nav__link--desk:focus-visible::after,
  .site-nav__link--desk.is-active::after {
    transform: scaleX(1);
  }

  .site-nav__link--desk.is-active {
    color: var(--lilac-deep);
    font-weight: 600;
  }

  .site-nav__link--desk.site-nav__link--cta {
    color: var(--mauve);
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    margin-left: 0.25rem;
    border: 1px solid var(--lilac-soft);
    border-radius: 999px;
    background: rgba(240, 236, 242, 0.6);
  }

  .site-nav__link--desk.site-nav__link--cta::after {
    display: none;
  }

  .site-nav__link--desk.site-nav__link--cta:hover,
  .site-nav__link--desk.site-nav__link--cta:focus-visible {
    background: var(--mauve);
    color: var(--white);
    border-color: var(--mauve);
  }

  .site-nav__link--desk.site-nav__link--cta.is-active {
    background: var(--mauve);
    color: var(--white);
    border-color: var(--mauve);
  }

}

/* Responsive â€” invitaciÃ³n */
@media (min-width: 768px) {
  body {
    font-size: 1.1rem;
  }

  .section {
    padding: 2.75rem var(--content-pad);
  }

  .gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
  }

  .gallery__item--featured {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: 1;
  }

  .photo-frame,
  .photo-frame--wide {
    max-width: 100%;
  }
}

@media (max-width: 899px) {
  .site-menu {
    --menu-head-h: 5.25rem;
    align-items: center;
    justify-content: center;
    min-height: 0;
    height: clamp(190px, 50vw, 280px);
    padding: 1rem var(--content-pad);
  }

  .site-menu__bg.parallax-bg {
    background-position: 28% 90% !important;
  }

  .site-menu__bar {
    width: 100%;
    max-width: 100%;
    padding: 0;
    display: block;
    filter: none;
  }

  .site-menu__desktop {
    display: none !important;
  }

  .site-menu__head {
    display: block;
    position: relative;
    z-index: 62;
    width: 100%;
    min-height: var(--menu-head-h);
    padding: 0.25rem 3.25rem 0.5rem;
  }

  .site-menu.is-open .site-menu__bar {
    min-height: var(--menu-head-h);
  }

  .site-menu.is-open .site-menu__head {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding:
      clamp(1rem, 3.5vw, 1.35rem) calc(var(--content-pad) + 3.25rem)
      0.65rem var(--content-pad);
    background: transparent;
  }

  .site-menu__brand {
    grid-column: unset;
    grid-row: unset;
    border: none;
    padding: 0;
    margin: 0 auto;
    max-width: 100%;
    align-items: center;
  }

  .site-menu__brand-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
    color: #fff;
  }

  .site-menu__brand-title .amp {
    color: rgba(236, 232, 240, 0.92);
  }

  .site-menu__date {
    font-size: 0.58rem;
    letter-spacing: 0.24em;
    color: rgba(245, 242, 250, 0.95);
  }

  .site-menu__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: max(0.85rem, env(safe-area-inset-top, 0px));
    right: var(--content-pad);
    z-index: 63;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 4px;
    background: rgba(28, 26, 32, 0.45);
    box-shadow: 0 2px 10px rgba(18, 16, 22, 0.35);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.25s ease, border-color 0.25s ease;
  }

  .site-menu.is-open .site-menu__toggle {
    top: clamp(1rem, 3.5vw, 1.35rem);
    right: var(--content-pad);
  }

  .site-menu__toggle:hover,
  .site-menu__toggle:focus-visible {
    background: rgba(28, 26, 32, 0.35);
    border-color: rgba(255, 255, 255, 0.75);
    outline: none;
  }

  .site-menu__toggle-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 1.15rem;
  }

  .site-menu__toggle-line {
    display: block;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 1px;
    box-shadow: 0 1px 3px rgba(18, 16, 22, 0.5);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .site-menu.is-open .site-menu__toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-menu.is-open .site-menu__toggle-line:nth-child(2) {
    opacity: 0;
  }

  .site-menu.is-open .site-menu__toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-menu__panel {
    display: block;
    position: fixed;
    top: var(--menu-head-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    padding: 1.25rem var(--content-pad) 2rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(20, 18, 24, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .site-menu.is-open .site-menu__panel {
    top: var(--menu-head-h);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-menu__panel-links {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.05rem;
  }

  .site-menu__panel-link {
    display: block;
    padding: 0.8rem 1rem;
    font-family: var(--font-serif);
    font-size: 0.86rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    text-align: center;
    -webkit-text-stroke: 0.3px rgba(32, 28, 38, 0.45);
    text-shadow:
      0 0 2px rgba(18, 16, 22, 0.95),
      0 1px 4px rgba(18, 16, 22, 0.85),
      0 2px 12px rgba(18, 16, 22, 0.6);
    transition: opacity 0.2s ease;
  }

  .site-menu__panel-link:hover,
  .site-menu__panel-link:focus-visible {
    opacity: 0.85;
    outline: none;
  }

  .site-menu__panel-link.is-active {
    font-weight: 700;
    opacity: 1;
  }

  .site-menu__panel-link--cta {
    margin-top: 0.35rem;
    letter-spacing: 0.18em;
  }

  body.site-menu-open {
    overflow: hidden;
  }
}

@media (min-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery__item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: 1;
  }
}
