/* ============================================================
   May & Luis · Invitación de Boda — v2
   Verde esmeralda · 18.07.2026
   ============================================================ */

:root {
  --green-deep: #253228;
  --green-deep-2: #1a241d;
  --green-olive: #4c5b44;
  --brown: #5d4c3c;
  --taupe: #b2a696;
  --gold: #c3a275;
  --gold-soft: #d8c3a0;
  --gold-deep: #a07f53;
  --cream: #f4ede1;
  --cream-2: #ebe2d2;
  --ivory: #faf5ec;
  --paper: #f7f0e2;
  --line: rgba(195, 162, 117, .45);
  --line-soft: rgba(195, 162, 117, .22);

  --shadow-sm: 0 2px 8px rgba(37, 50, 40, .08);
  --shadow-md: 0 12px 36px rgba(37, 50, 40, .14);
  --shadow-lg: 0 28px 70px rgba(37, 50, 40, .22);

  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "Outfit", "Inter", system-ui, sans-serif;

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

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; background: var(--green-deep); }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--green-deep);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Subtle paper grain */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 25% 30%, rgba(195,162,117,.04) 1px, transparent 1px),
    radial-gradient(circle at 70% 65%, rgba(37,50,40,.03) 1px, transparent 1px);
  background-size: 4px 4px, 6px 6px;
  opacity: .6;
  mix-blend-mode: multiply;
}

img { display: block; max-width: 100%; }

/* ==================== TYPOGRAPHY ==================== */
.serif { font-family: var(--serif); font-weight: 400; }
.italic { font-style: italic; }

.eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .5em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--gold-deep);
  padding-left: .5em;
}
.eyebrow.light { color: var(--gold-soft); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.005em;
  line-height: 1.05;
  color: var(--green-deep);
}

.section-title {
  font-size: clamp(2.8rem, 9vw, 5rem);
  text-align: center;
  font-style: italic;
  line-height: 1.02;
  margin: 1.2rem 0 1rem;
}
.section-title .alt {
  display: block;
  font-style: normal;
  letter-spacing: -.02em;
}

.section-num {
  display: block;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--gold-deep);
  letter-spacing: .4em;
  margin-bottom: .8rem;
  opacity: .85;
}

/* ==================== ORNAMENTS ==================== */
.sprig {
  width: 80px; height: 30px;
  color: var(--gold);
  flex: 0 0 auto;
}
.sprig.mirror { transform: scaleX(-1); }
.sprig.lg { width: 120px; height: 44px; }

.ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 14px;
  color: var(--gold);
}
.ornament .diamond {
  width: 8px; height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  display: inline-block;
  position: relative;
}
.ornament .diamond::before,
.ornament .diamond::after {
  content: ""; position: absolute;
  width: 6px; height: 6px;
  background: var(--gold);
  opacity: .55;
}
.ornament .diamond::before { left: -12px; top: 1px; }
.ornament .diamond::after { right: -12px; top: 1px; }

.divider-line {
  width: 1px; height: 60px;
  background: var(--gold);
  margin: 0 auto;
  opacity: .55;
}

/* ==================== LAYOUT ==================== */
section {
  position: relative;
  padding: 7rem 1.5rem;
  z-index: 2;
}
.wrap { max-width: 1100px; margin: 0 auto; position: relative; }
.narrow { max-width: 640px; margin: 0 auto; position: relative; }

/* ==================== HERO ==================== */
.hero {
  height: 100svh;
  min-height: 680px;
  padding: 0;
  display: flex; flex-direction: column;
  color: var(--ivory);
  background: var(--green-deep-2);
  overflow: hidden;
  position: relative;
  z-index: 3;
}
.hero__img {
  position: absolute; inset: -4%;
  background-image: image-set(url("/fotos/6G2A9837.webp") type("image/webp"), url("/fotos/6G2A9837.jpg") type("image/jpeg")); background-position: center; background-size: cover; background-repeat: no-repeat;
  filter: brightness(.45) contrast(1.05);
  transform: scale(1);
  will-change: transform;
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 35%, rgba(15,20,17,.55) 100%),
    linear-gradient(180deg, rgba(15,20,17,.35) 0%, transparent 25%, transparent 65%, rgba(15,20,17,.72) 100%);
}
.hero__corner {
  position: absolute; z-index: 3;
  width: 50px; height: 50px;
  border: 1px solid var(--gold-soft);
  opacity: .65;
}
.hero__corner.tl { top: 24px; left: 24px; border-right: none; border-bottom: none; }
.hero__corner.tr { top: 24px; right: 24px; border-left: none; border-bottom: none; }
.hero__corner.bl { bottom: 24px; left: 24px; border-right: none; border-top: none; }
.hero__corner.br { bottom: 24px; right: 24px; border-left: none; border-top: none; }

.hero__inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  justify-content: space-between;
  flex: 1;
  padding: 3rem 2rem 3rem;
  text-align: center;
}
.hero__top { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.hero__monogram {
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-soft);
}
.hero__logo {
  width: 84px; height: 84px;
  color: var(--gold-soft);
  filter: drop-shadow(0 2px 10px rgba(195, 162, 117, .35));
  animation: logoFloat 6s ease-in-out infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.hero__center {
  display: flex; flex-direction: column; align-items: center;
  gap: 1.4rem;
}
.hero__sprig-row {
  display: flex; align-items: center; gap: 22px;
  color: var(--gold-soft);
}

/* names block at bottom of hero */
.hero__names-block {
  display: flex; flex-direction: column; align-items: center;
  gap: 1.4rem;
  padding: 0 .5rem;
  margin-top: auto; /* push toward bottom, just above scroll cue */
  margin-bottom: 1rem;
}
.hero__names-block .hero__location {
  margin-top: .4rem;
}
.hero__names-block .hero__sprig-row {
  margin-top: .2rem;
}
.hero__names {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 13vw, 8rem);
  line-height: 1;
  letter-spacing: -.015em;
  white-space: nowrap;
  display: flex; align-items: baseline; justify-content: center;
  gap: clamp(.4rem, 2.2vw, 1.4rem);
  text-shadow:
    0 2px 18px rgba(0, 0, 0, .55),
    0 0 38px rgba(195, 162, 117, .35),
    0 0 90px rgba(195, 162, 117, .22);
}
.hero__name-word {
  font-style: italic;
  display: inline-block;
}
.hero__names .amp {
  display: inline-block;
  font-style: italic;
  font-weight: 300 !important;
  font-size: .58em;
  color: var(--gold) !important;
  transform: translateY(-.08em);
  text-shadow:
    0 0 24px rgba(195, 162, 117, .6),
    0 2px 12px rgba(0, 0, 0, .5);
}
.hero__date {
  display: flex; align-items: center; gap: 18px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .55em;
  text-transform: uppercase;
  color: var(--ivory);
  opacity: .95;
  padding-left: .55em;
}
.hero__date::before, .hero__date::after {
  content: ""; width: 40px; height: 1px; background: var(--gold-soft); opacity: .7;
}
.hero__bottom {
  display: flex; flex-direction: column; align-items: center; gap: 1.2rem;
  margin-top: 1.5rem;
}
.hero__location {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  opacity: .92;
  letter-spacing: .05em;
  color: var(--ivory);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}

/* ===== Hero entry animations ===== */
.hero-anim {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--anim-d, 0) * 1ms);
}
.hero-anim.is-in {
  opacity: 1;
  transform: translateY(0);
}
/* Names: special, scaling reveal */
.hero__names.hero-anim {
  transform: translateY(28px) scale(.96);
  filter: blur(6px);
  transition: opacity 1.4s var(--ease), transform 1.4s var(--ease), filter 1.4s var(--ease);
}
.hero__names.hero-anim.is-in {
  transform: translateY(0) scale(1);
  filter: blur(0);
}
/* Hero image gentle ken-burns: loop suave para que siempre haya movimiento */
.hero__img {
  animation: heroZoom 22s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.07) translate(-1.5%, -1%); }
}
/* Vignette/overlay fade */
.hero__overlay {
  animation: fadeIn 1.6s var(--ease) both;
}
.hero__corner {
  opacity: 0;
  animation: cornerIn 1s var(--ease) forwards;
}
.hero__corner.tl { animation-delay: .15s; }
.hero__corner.tr { animation-delay: .25s; }
.hero__corner.bl { animation-delay: .35s; }
.hero__corner.br { animation-delay: .45s; }
@keyframes cornerIn {
  from { opacity: 0; transform: scale(.6); }
  to { opacity: .65; transform: scale(1); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.scroll-cue {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 9px; letter-spacing: .5em; text-transform: uppercase;
  color: var(--gold-soft);
  opacity: .8;
  padding-left: .55em;
}
.scroll-cue__line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, var(--gold-soft) 0%, transparent 100%);
  position: relative;
  overflow: hidden;
}
.scroll-cue__line::after {
  content: ""; position: absolute; top: 0; left: 0;
  width: 100%; height: 50%;
  background: var(--gold);
  animation: cue 2.2s ease-in-out infinite;
}
@keyframes cue {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* ==================== SAVE THE DATE ==================== */
.save {
  background: var(--cream);
  overflow: hidden;
  padding: 0;
}
.save__wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 1440px;
  margin: 0 auto;
  align-items: stretch;
}

/* ---- Imagen protagonista ---- */
.save__media {
  position: relative;
  min-height: 280px;
  height: 46vh;
  max-height: 380px;
  overflow: hidden;
  isolation: isolate;
}
.save__media-img {
  position: absolute; inset: -8%;
  background-image: image-set(url("/fotos/6G2A0478.webp") type("image/webp"), url("/fotos/6G2A0478.jpg") type("image/jpeg")); background-position: center; background-size: cover; background-repeat: no-repeat;
  background-size: cover;
  background-position: 22% 55%;
  filter: saturate(.95) brightness(.96);
  will-change: transform;
  z-index: 1;
}
.save__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(37,50,40,.0) 0%, rgba(37,50,40,.0) 50%, rgba(37,50,40,.45) 100%),
    linear-gradient(160deg, rgba(37,50,40,.15) 0%, transparent 40%);
  z-index: 2;
  pointer-events: none;
}
.save__media-corner {
  position: absolute; z-index: 3;
  width: 38px; height: 38px;
  border: 1px solid var(--gold-soft);
  opacity: .85;
}
.save__media-corner.tl { top: 18px; left: 18px; border-right: none; border-bottom: none; }
.save__media-corner.br { bottom: 18px; right: 18px; border-left: none; border-top: none; }
.save__media-tag {
  position: absolute; z-index: 4;
  left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px;
  color: var(--ivory);
  background: rgba(15, 20, 17, .35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 10px 22px;
  border: 1px solid rgba(216, 195, 160, .35);
  white-space: nowrap;
}
.save__media-tag-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .5em;
  text-transform: uppercase;
  font-weight: 500;
  padding-left: .5em;
  color: var(--gold-soft);
}
.save__media-tag-line {
  width: 22px; height: 1px;
  background: var(--gold-soft);
  opacity: .7;
}
.save__media-tag-mono {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  letter-spacing: .15em;
  color: var(--ivory);
}

/* ---- Contenido ---- */
.save__content {
  padding: 4rem 1.5rem 5rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.save__ornament {
  margin-bottom: 2rem;
}

/* Fecha protagonista */
.save__date-hero {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem;
  margin: 0 auto 3rem;
  max-width: 560px;
}
.save__date-side {
  display: flex; flex-direction: column; align-items: center;
  gap: .9rem;
  flex: 1; min-width: 0;
}
.save__date-day-name {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding-left: .4em;
  font-weight: 500;
}
.save__date-side-bar {
  width: 100%; max-width: 100px;
  height: 1px;
  background: var(--gold);
  opacity: .55;
}
.save__date-main {
  display: flex; flex-direction: column; align-items: center;
  gap: .15rem;
  position: relative;
  padding: 0 .4rem;
}
.save__date-month {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  color: var(--green-olive);
  letter-spacing: .04em;
}
.save__date-big {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(7rem, 22vw, 12rem);
  line-height: .9;
  color: var(--green-deep);
  letter-spacing: -.04em;
  position: relative;
}
.save__date-big::before, .save__date-big::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 6px; height: 6px;
  background: var(--gold);
  transform: translateY(-50%) rotate(45deg);
  opacity: .8;
}
.save__date-big::before { left: -18px; }
.save__date-big::after { right: -18px; }
.save__date-year {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: .55em;
  text-transform: uppercase;
  color: var(--brown);
  padding-left: .55em;
  margin-top: .3rem;
  font-weight: 400;
}

/* Frase secundaria */
.save__lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--green-olive);
  max-width: 460px;
  margin: 3rem auto 0;
  line-height: 1.55;
  opacity: .85;
  position: relative;
  padding: 0 1rem;
}
.save__lead-mark {
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 0;
  color: var(--gold);
  vertical-align: -.4em;
  margin-right: .15em;
  opacity: .65;
}

/* Countdown */
.countdown {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
}
.countdown__cell {
  background: linear-gradient(180deg, var(--ivory) 0%, var(--paper) 100%);
  border: 1px solid var(--line-soft);
  padding: 1.5rem .4rem 1.1rem;
  text-align: center;
  border-radius: 2px;
  position: relative;
  transition: transform .6s var(--ease);
}
.countdown__cell::before {
  content: ""; position: absolute; top: 8px; left: 8px;
  width: 6px; height: 6px;
  border-top: 1px solid var(--gold); border-left: 1px solid var(--gold);
  opacity: .55;
}
.countdown__cell::after {
  content: ""; position: absolute; bottom: 8px; right: 8px;
  width: 6px; height: 6px;
  border-bottom: 1px solid var(--gold); border-right: 1px solid var(--gold);
  opacity: .55;
}
.countdown__num {
  font-family: var(--serif);
  font-size: clamp(2rem, 6.5vw, 2.8rem);
  font-style: italic;
  color: var(--green-deep);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.countdown__lbl {
  display: block;
  margin-top: .55rem;
  font-size: 9px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--brown);
  opacity: .85;
  padding-left: .35em;
}

/* ==================== PERSONAL WELCOME ==================== */
.welcome {
  background: var(--ivory);
  text-align: center;
}
.welcome__card {
  background:
    linear-gradient(180deg, var(--ivory) 0%, var(--paper) 100%);
  border: 1px solid var(--line);
  padding: 3.5rem 1.8rem 3rem;
  position: relative;
  margin: 0 .5rem;
}
.welcome__card::before, .welcome__card::after {
  content: ""; position: absolute;
  width: 22px; height: 22px;
  border: 1px solid var(--gold);
}
.welcome__card::before { top: 14px; left: 14px; border-right: none; border-bottom: none; }
.welcome__card::after { bottom: 14px; right: 14px; border-left: none; border-top: none; }

.welcome__sprig {
  display: flex; justify-content: center;
  margin-bottom: 1.4rem;
  color: var(--gold);
}
.welcome__hola {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 3.8vw, 1.6rem);
  color: var(--green-olive);
}
.welcome__name {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 8vw, 3.4rem);
  color: var(--green-deep);
  margin: .5rem 0 1.5rem;
  line-height: 1.1;
  font-style: italic;
}
.welcome__msg {
  font-size: 15px;
  color: var(--brown);
  max-width: 34ch;
  margin: 0 auto 2rem;
}
.welcome__pases {
  display: inline-flex; align-items: baseline; gap: 12px;
  padding: 1rem 2rem;
  background: var(--green-deep);
  color: var(--cream);
  border-radius: 1px;
  font-family: var(--serif);
  position: relative;
}
.welcome__pases::before, .welcome__pases::after {
  content: ""; position: absolute; top: 50%;
  width: 24px; height: 1px; background: var(--gold);
  transform: translateY(-50%);
}
.welcome__pases::before { left: -34px; }
.welcome__pases::after { right: -34px; }
.welcome__pases .n {
  font-size: 1.8rem; font-style: italic; color: var(--gold-soft);
}
.welcome__pases .t {
  font-size: 10px; letter-spacing: .35em; text-transform: uppercase;
  font-family: var(--sans); color: var(--cream);
  padding-left: .35em;
}

/* ==================== PHOTO BANNERS ==================== */
.photo-banner {
  position: relative;
  height: 92vh;
  min-height: 560px;
  max-height: 880px;
  overflow: hidden;
  padding: 0;
  background: var(--green-deep);
}
.photo-banner__img {
  position: absolute; inset: -8%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.photo-banner__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,20,17,.18) 0%, transparent 35%, transparent 60%, rgba(15,20,17,.6) 100%);
}
.photo-banner__inner {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--cream);
}
.photo-banner__eyebrow {
  font-size: 10px;
  letter-spacing: .55em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1rem;
  padding-left: .55em;
}
.photo-banner__title {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  line-height: 1.1;
  max-width: 18ch;
  margin: 0 auto;
  font-weight: 300;
}
.photo-banner__title .alt {
  display: block; font-style: normal;
  font-size: .65em;
  color: var(--gold-soft);
  letter-spacing: .04em;
  margin-top: .3em;
}
.photo-banner__corner {
  position: absolute;
  width: 38px; height: 38px;
  border: 1px solid var(--gold-soft);
  opacity: .55;
}
.photo-banner__corner.tl { top: 22px; left: 22px; border-right: none; border-bottom: none; }
.photo-banner__corner.br { bottom: 22px; right: 22px; border-left: none; border-top: none; }

.photo-banner.tall { height: 100svh; min-height: 640px; }
.photo-banner.short { height: 60vh; min-height: 420px; max-height: 600px; }

/* Stronger bottom gradient so text on bottom stays legible over busy photo */
.photo-banner__overlay.strong-bottom {
  background: linear-gradient(180deg,
    rgba(15,20,17,.15) 0%,
    transparent 30%,
    transparent 45%,
    rgba(15,20,17,.55) 75%,
    rgba(15,20,17,.85) 100%);
}

/* Left-aligned inner content variant */
.photo-banner.align-left .photo-banner__inner {
  align-items: flex-start;
  text-align: left;
  padding: 3rem 2rem 3.5rem;
}
@media (min-width: 780px) {
  .photo-banner.align-left .photo-banner__inner {
    padding: 4rem 5rem 4.5rem;
  }
}

/* ==================== DIPTYCH ==================== */
.diptych {
  background: var(--cream);
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
.diptych__cell {
  position: relative;
  height: 70vh;
  min-height: 460px;
  max-height: 680px;
  overflow: hidden;
}
.diptych__cell img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.diptych__cell:hover img { transform: scale(1.04); }
.diptych__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2rem 1.5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(15,20,17,.8) 100%);
  color: var(--cream);
  text-align: center;
}
.diptych__caption .label {
  font-size: 9px;
  letter-spacing: .55em;
  text-transform: uppercase;
  color: var(--gold-soft);
  display: block;
  margin-bottom: .5rem;
  padding-left: .55em;
}
.diptych__caption .title {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 4vw, 2rem);
  line-height: 1.1;
}

/* ==================== QUOTE ==================== */
.quote {
  background: var(--green-deep);
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quote__bg {
  position: absolute; inset: -10%;
  background-image: image-set(url("/fotos/anillo.webp") type("image/webp"), url("/fotos/anillo.jpg") type("image/jpeg")); background-position: center; background-size: cover; background-repeat: no-repeat;
  opacity: .18;
  filter: grayscale(1) contrast(1.1);
  will-change: transform;
}
.quote__inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.quote__mark {
  font-family: var(--serif); font-style: italic;
  font-size: 6rem; line-height: 0;
  color: var(--gold);
  display: inline-block;
  height: 0;
  margin-bottom: 2.5rem;
}
.quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.7rem, 5.2vw, 2.6rem);
  line-height: 1.4;
  margin: 2rem 0;
  font-weight: 300;
}
.quote__author {
  font-size: 10px;
  letter-spacing: .55em;
  text-transform: uppercase;
  color: var(--gold-soft);
  padding-left: .55em;
}

/* ==================== EVENTS ==================== */
.events {
  background: var(--cream);
  overflow: hidden;
}
.events__intro {
  text-align: center;
  margin-bottom: 4rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 3.5vw, 1.5rem);
  color: var(--green-olive);
  max-width: 38ch;
  margin-left: auto; margin-right: auto;
}
.event {
  background: var(--ivory);
  border: 1px solid var(--line-soft);
  margin-bottom: 2.5rem;
  overflow: hidden;
  position: relative;
}
.event__body {
  padding: 3rem 1.8rem 2rem;
  text-align: center;
  position: relative;
}
.event__sprig {
  display: flex; justify-content: center;
  margin-bottom: 1rem;
  color: var(--gold);
}
.event__kind {
  font-size: 10px; letter-spacing: .55em; text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 1rem;
  padding-left: .55em;
}
.event__time {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(2.6rem, 9vw, 3.6rem);
  color: var(--green-deep);
  line-height: 1;
  margin-bottom: .8rem;
}
.event__time small {
  font-size: .4em;
  letter-spacing: .15em;
  font-style: normal;
  color: var(--gold-deep);
  text-transform: uppercase;
}
.event__name {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 4.2vw, 1.7rem);
  color: var(--green-deep);
  margin-bottom: .6rem;
  font-style: italic;
}
.event__addr {
  font-size: 13px;
  color: var(--brown);
  max-width: 32ch;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
  letter-spacing: .02em;
}
.event__map {
  width: 100%; height: 280px;
  border: 0; display: block;
  filter: saturate(.55) contrast(.95);
}
.event__actions {
  display: flex; flex-direction: column; gap: 8px;
  padding: 1.2rem;
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--sans);
  font-size: 10px; letter-spacing: .35em; text-transform: uppercase;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--green-deep);
  background: var(--green-deep);
  color: var(--cream);
  transition: all .3s var(--ease);
  border-radius: 1px;
  padding-left: calc(24px + .35em);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: ""; position: absolute; inset: 0;
  background: var(--green-olive);
  transform: translateY(100%);
  transition: transform .35s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn > * { position: relative; z-index: 1; }
.btn.outline { background: transparent; color: var(--green-deep); }
.btn.outline::before { background: var(--green-deep); }
.btn.outline:hover { color: var(--cream); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--green-deep); }
.btn.gold::before { background: var(--brown); }
.btn.gold:hover { color: var(--cream); }
.btn.block { width: 100%; }
.btn.lg { padding: 18px 28px; font-size: 11px; padding-left: calc(28px + .35em); }
.btn .arrow {
  font-family: var(--serif); font-style: italic; font-size: 14px;
  transition: transform .3s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ==================== DRESS CODE ==================== */
.dress {
  background: var(--ivory);
  text-align: center;
}
.dress__figures {
  display: flex; justify-content: center; gap: clamp(2.5rem, 8vw, 5rem);
  margin: 2rem 0 2.5rem;
}
.dress__figure {
  display: flex; flex-direction: column; align-items: center;
  gap: 1rem;
}
.dress__figure svg,
.dress__figure img {
  width: clamp(90px, 24vw, 130px); height: auto;
  color: var(--green-deep);
}
.dress__figure .name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--green-olive);
}
.dress__label {
  display: inline-block;
  padding: .55rem 1.6rem;
  background: var(--green-deep);
  color: var(--cream);
  font-size: 11px; letter-spacing: .55em; text-transform: uppercase;
  margin-bottom: 1.4rem;
  padding-left: calc(1.6rem + .55em);
}
.dress__msg {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 3.8vw, 1.7rem);
  color: var(--green-olive);
  max-width: 28ch;
  margin: 0 auto 3rem;
  line-height: 1.4;
}
.dress__avoid {
  margin: 0 auto;
  padding: 2.2rem 1.5rem;
  max-width: 500px;
  border: 1px solid var(--line);
  position: relative;
  background: var(--paper);
}
.dress__avoid::before, .dress__avoid::after {
  content: ""; position: absolute; top: -1px;
  width: 30px; height: 1px; background: var(--ivory);
}
.dress__avoid::before { left: 50%; transform: translateX(-50%); top: -1px; }
.dress__avoid h4 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--green-deep);
  margin-bottom: .4rem;
}
.dress__avoid > p {
  font-size: 13px;
  color: var(--brown);
  margin-bottom: 1.4rem;
  max-width: 32ch;
  margin-left: auto; margin-right: auto;
}
.avoid-list {
  display: flex; flex-wrap: wrap; gap: 10px 14px; justify-content: center;
  list-style: none;
}
.avoid-list li {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px;
  color: var(--green-deep);
  padding: 6px 12px;
  background: var(--ivory);
  border: 1px solid var(--line-soft);
}
.avoid-list .chip-sm {
  width: 16px; height: 16px; border-radius: 50%;
  position: relative;
  box-shadow: 0 0 0 1px rgba(37,50,40,.1);
}
.avoid-list .chip-sm::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(45deg, transparent 44%, #b94133 44%, #b94133 56%, transparent 56%);
  border-radius: 50%;
}

/* ==================== CALENDAR ==================== */
.calendar {
  background: var(--green-deep);
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.calendar .ornament { color: var(--gold-soft); }
.calendar .sprig { color: var(--gold-soft); }
.calendar__title { color: var(--cream); }
.calendar .section-num { color: var(--gold-soft); }
.calendar__msg {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.2rem, 3.5vw, 1.5rem);
  color: var(--gold-soft);
  max-width: 32ch;
  margin: 0 auto 2.8rem;
}
.calendar__btns {
  display: flex; flex-direction: column; gap: 12px;
  max-width: 360px; margin: 0 auto;
}
.calendar .btn {
  background: transparent; border-color: var(--gold-soft); color: var(--cream);
}
.calendar .btn::before { background: var(--gold); }
.calendar .btn:hover { color: var(--green-deep); border-color: var(--gold); }

/* ==================== GALLERY SLIDER ==================== */
.gallery {
  background: var(--cream);
  overflow: hidden;
  padding-bottom: 5rem;
}
.slider {
  position: relative;
  margin: 3rem -1.5rem 0;
  overflow: hidden;
  touch-action: pan-y;
}
.slider__track {
  display: flex;
  transition: transform .8s var(--ease);
  will-change: transform;
}
.slider__slide {
  flex: 0 0 92%;
  padding: 0 6px;
  display: flex; justify-content: center;
  cursor: grab;
}
.slider__slide:active { cursor: grabbing; }
.slider__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--green-deep);
  transition: transform .8s var(--ease), filter .8s var(--ease);
  transform: scale(.88);
  filter: brightness(.55) saturate(.8);
}
.slider__slide.active .slider__media {
  transform: scale(1);
  filter: brightness(1) saturate(1);
  box-shadow: var(--shadow-lg);
}
.slider__media img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
.slider__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(15,20,17,.55) 100%);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.slider__slide.active .slider__media::after { opacity: 1; }
.slider__caption {
  position: absolute; left: 0; right: 0; bottom: 18px;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--cream);
  font-size: 1.1rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .6s .2s var(--ease), transform .6s .2s var(--ease);
  letter-spacing: .03em;
  padding: 0 1rem;
}
.slider__slide.active .slider__caption { opacity: 1; transform: translateY(0); }

.slider__controls {
  display: flex; align-items: center; justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}
.slider__btn {
  width: 48px; height: 48px;
  border: 1px solid var(--green-deep);
  background: transparent;
  color: var(--green-deep);
  font-family: var(--serif);
  font-size: 22px;
  cursor: pointer;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s var(--ease);
}
.slider__btn:hover { background: var(--green-deep); color: var(--cream); }
.slider__counter {
  font-family: var(--serif);
  font-style: italic;
  color: var(--green-deep);
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
}
.slider__counter .total { color: var(--gold-deep); }
.slider__counter .sep {
  display: inline-block; margin: 0 .4em;
  color: var(--gold-deep);
}

.slider__dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 1.4rem;
}
.slider__dot {
  width: 22px; height: 2px;
  background: var(--line);
  border: 0; padding: 0;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.slider__dot.active { background: var(--gold); width: 36px; }

/* Lightbox (mantener para zoom) */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(15, 20, 17, .96);
  z-index: 200;
  display: none;
  align-items: center; justify-content: center;
  padding: 1rem;
}
.lightbox.open { display: flex; }
.lightbox__img { max-width: 95vw; max-height: 88vh; object-fit: contain; }
.lightbox__close {
  position: absolute; top: 1.2rem; right: 1.2rem;
  background: transparent; border: 1px solid var(--gold-soft);
  color: var(--cream); width: 44px; height: 44px;
  border-radius: 50%; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox__counter {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  font-size: 11px; letter-spacing: .3em; color: var(--gold-soft);
  padding-left: .3em;
}

/* ==================== RSVP ==================== */
.rsvp {
  background: var(--ivory);
  text-align: center;
}
.rsvp__card {
  max-width: 540px; margin: 0 auto;
  padding: 3rem 1.5rem 2.5rem;
  background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
  border: 1px solid var(--line);
  position: relative;
}
.rsvp__card::before, .rsvp__card::after {
  content: ""; position: absolute;
  width: 22px; height: 22px;
  border: 1px solid var(--gold);
}
.rsvp__card::before { top: 14px; left: 14px; border-right: none; border-bottom: none; }
.rsvp__card::after { bottom: 14px; right: 14px; border-left: none; border-top: none; }
.rsvp__greeting {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.4rem, 4.2vw, 1.8rem);
  color: var(--green-olive);
  margin-bottom: .8rem;
}
.rsvp__greeting strong { font-style: normal; font-weight: 400; color: var(--green-deep); }
.rsvp__sub {
  font-size: 14px; color: var(--brown);
  max-width: 36ch; margin: 0 auto 2rem;
}

.rsvp__attend {
  display: flex; gap: 10px;
  margin-bottom: 1.6rem;
  justify-content: center;
}
.rsvp__attend button {
  flex: 1; max-width: 200px;
  padding: 14px 18px;
  background: transparent;
  border: 1px solid var(--green-deep);
  color: var(--green-deep);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .25s var(--ease);
  padding-left: calc(18px + .25em);
}
.rsvp__attend button.active {
  background: var(--green-deep);
  color: var(--gold-soft);
  border-color: var(--green-deep);
}
.rsvp__attend button.no.active {
  background: var(--brown);
  border-color: var(--brown);
}

.rsvp__pases-label {
  font-size: 10px; letter-spacing: .4em; text-transform: uppercase;
  color: var(--brown);
  margin-bottom: .8rem;
  padding-left: .4em;
}
.pases-picker {
  display: flex; gap: 8px; justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
}
.pases-picker button {
  width: 50px; height: 50px;
  border: 1px solid rgba(37, 50, 40, .25);
  background: var(--ivory);
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--green-deep);
  cursor: pointer;
  transition: all .2s var(--ease);
  font-style: italic;
  border-radius: 1px;
}
.pases-picker button:hover { border-color: var(--gold); }
.pases-picker button.active {
  background: var(--green-deep);
  color: var(--gold-soft);
  border-color: var(--green-deep);
}

.rsvp__field {
  text-align: left;
  margin: 1.2rem 0 1.8rem;
}
.rsvp__field label {
  display: block;
  font-size: 10px;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: .6rem;
  padding-left: .4em;
}
.rsvp__field textarea {
  width: 100%;
  min-height: 90px;
  padding: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--green-deep);
  background: var(--ivory);
  border: 1px solid var(--line-soft);
  border-radius: 1px;
  resize: vertical;
  transition: border-color .25s;
  font-weight: 300;
}
.rsvp__field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.rsvp__field textarea::placeholder {
  color: var(--brown);
  opacity: .55;
  font-style: italic;
}

.rsvp__state {
  display: none;
  padding: 1.5rem 1rem;
  text-align: center;
}
.rsvp__state.show { display: block; }
.rsvp__state .check {
  width: 64px; height: 64px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  animation: pop .5s var(--ease);
}
@keyframes pop {
  0% { transform: scale(.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.rsvp__state h3 {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  color: var(--green-deep);
  margin-bottom: 1rem;
}
.rsvp__state p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--brown);
  line-height: 1.55;
  margin-bottom: 1rem;
  max-width: 32ch;
  margin-left: auto; margin-right: auto;
}
.rsvp__state small {
  display: block;
  margin-top: 1rem;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding-left: .25em;
}

.rsvp__note {
  font-size: 11px; letter-spacing: .15em;
  color: var(--brown); opacity: .75;
  margin-top: 1rem;
}

/* ==================== GIFTS ==================== */
.gifts {
  background: var(--cream);
  text-align: center;
}
.gifts__msg {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.3rem, 3.8vw, 1.7rem);
  color: var(--green-olive);
  max-width: 30ch; margin: 0 auto 2.8rem;
  line-height: 1.45;
}
.gifts__card {
  max-width: 460px; margin: 0 auto;
  padding: 2.5rem 1.5rem;
  background: var(--ivory);
  border: 1px solid var(--line);
  position: relative;
}
.gifts__card::before, .gifts__card::after {
  content: ""; position: absolute;
  width: 8px; height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}
.gifts__card::before { top: -4px; left: 50%; margin-left: -4px; }
.gifts__card::after { bottom: -4px; left: 50%; margin-left: -4px; }

.gifts__bank {
  display: flex; flex-direction: column; gap: .35rem;
  margin-bottom: 1.6rem;
  text-align: center;
}
.gifts__bank-label {
  font-size: 9px; letter-spacing: .45em; text-transform: uppercase;
  color: var(--brown);
  padding-left: .45em;
}
.gifts__bank-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--green-deep);
}
.gifts__clabe {
  font-family: var(--sans);
  font-size: clamp(1.05rem, 4vw, 1.35rem);
  letter-spacing: .12em;
  color: var(--green-deep);
  font-weight: 500;
  margin: .8rem 0 1.4rem;
  word-break: break-all;
}

/* ==================== FINAL ==================== */
.final {
  background: var(--green-deep);
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 10rem 1.5rem 8rem;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
}
.final__bg {
  position: absolute; inset: -10%;
  background-image: image-set(url("/fotos/6G2A9850.webp") type("image/webp"), url("/fotos/6G2A9850.jpg") type("image/jpeg")); background-position: center; background-size: cover; background-repeat: no-repeat;
  opacity: .22;
  filter: grayscale(1) brightness(.65);
  will-change: transform;
}
.final__inner { position: relative; z-index: 2; }
.final__sprig { color: var(--gold-soft); display: flex; justify-content: center; margin-bottom: 2rem; }
.final__names {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(3.2rem, 12vw, 6rem);
  line-height: 1;
  margin-bottom: 1.8rem;
  color: var(--cream);
}
.final__names .amp { font-size: .55em; color: var(--gold); margin: 0 .1em; }
.final__date {
  font-size: 11px; letter-spacing: .55em; text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 2.8rem;
  padding-left: .55em;
}
.final__msg {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.2rem, 3.5vw, 1.5rem);
  color: var(--cream);
  max-width: 26ch; margin: 0 auto;
  opacity: .95;
  line-height: 1.5;
}

/* ==================== REVEAL ANIMATIONS ==================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.fade-left {
  transform: translateX(-30px);
}
.reveal.fade-left.in { transform: translateX(0); }
.reveal.fade-right {
  transform: translateX(30px);
}
.reveal.fade-right.in { transform: translateX(0); }
.reveal.scale-in {
  transform: scale(.92);
}
.reveal.scale-in.in { transform: scale(1); }

.reveal-image {
  position: relative;
  overflow: hidden;
}
.reveal-image::after {
  content: ""; position: absolute; inset: 0;
  background: var(--paper);
  transform: translateX(0);
  transition: transform 1.2s var(--ease);
  z-index: 2;
}
.reveal-image.in::after {
  transform: translateX(101%);
}

.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.stagger.in > * {
  opacity: 1;
  transform: translateY(0);
}
.stagger.in > *:nth-child(1) { transition-delay: 0s; }
.stagger.in > *:nth-child(2) { transition-delay: .1s; }
.stagger.in > *:nth-child(3) { transition-delay: .2s; }
.stagger.in > *:nth-child(4) { transition-delay: .3s; }
.stagger.in > *:nth-child(5) { transition-delay: .4s; }
.stagger.in > *:nth-child(6) { transition-delay: .5s; }

/* ==================== DESKTOP ==================== */
@media (min-width: 780px) {
  section { padding: 9rem 2rem; }
  .save { padding: 0; }

  /* Save the Date: desktop split layout */
  .save__wrap {
    grid-template-columns: 1.45fr 1fr;
    align-items: stretch;
    min-height: 720px;
  }
  .save__media {
    height: auto;
    max-height: none;
    min-height: 720px;
  }
  .save__media-img {
    background-position: 30% 55%;
  }
  .save__media-tag {
    bottom: 32px; top: auto;
    left: 32px; transform: none;
  }
  .save__content {
    padding: 6rem 4rem;
    max-width: 600px;
    align-self: center;
  }
  .save__date-big::before { left: -28px; }
  .save__date-big::after { right: -28px; }

  .countdown { max-width: 600px; }
  .countdown__cell { padding: 1.8rem 1rem 1.4rem; }

  .event {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
  .event__body { padding: 4rem 3rem; display: flex; flex-direction: column; justify-content: center; }
  .event__map { height: 100%; min-height: 420px; }
  .event__actions {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: center;
    padding: 1.5rem;
    gap: 12px;
  }
  .event__actions .btn { min-width: 220px; }

  .calendar__btns {
    flex-direction: row;
    max-width: 500px;
  }
  .calendar__btns .btn { flex: 1; }

  .slider { margin: 3rem 0 0; }
  .slider__slide { flex: 0 0 62%; padding: 0 14px; }
  .slider__media { aspect-ratio: 16/11; }
}

@media (min-width: 1100px) {
  .slider__slide { flex: 0 0 50%; padding: 0 18px; }
  .slider__media { aspect-ratio: 16/10; }
  .diptych { grid-template-columns: 1fr 1fr; }
  .diptych__cell { height: 90vh; max-height: 820px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .reveal-image::after { display: none; }
  .stagger > * { opacity: 1; transform: none; }
  .hero-anim { opacity: 1; transform: none; filter: none; }
  .hero__corner { opacity: .65; }
}

/* ========= Botón flotante de música ========= */
.music-wrap {
  position: fixed; right: 18px; bottom: 18px; z-index: 80;
  display: flex; align-items: center; gap: 10px;
}
.music-hint {
  background: rgba(37,50,40,.92); color: #f3e5c4; font-size: 12px;
  padding: 7px 12px; border-radius: 99px; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
  animation: hintBob 1.6s ease-in-out infinite;
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}
.music-hint.hide { opacity: 0; transform: translateX(8px); pointer-events: none; }
@keyframes hintBob { 0%,100% { transform: translateX(0); } 50% { transform: translateX(-4px); } }

.music-toggle {
  position: relative;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(37,50,40,.85); color: #f3e5c4; border: 1px solid rgba(243,229,196,.35);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.25);
  transition: transform .2s ease, background .2s ease;
  flex-shrink: 0;
}
/* Latido suave del botón cuando aún no suena, para invitar a tocarlo */
.music-toggle:not(.playing) {
  animation: idlePulse 1.8s ease-in-out infinite;
}
@keyframes idlePulse {
  0%, 100% { box-shadow: 0 6px 18px rgba(0,0,0,.25), 0 0 0 0 rgba(182,146,93,.55); }
  70% { box-shadow: 0 6px 18px rgba(0,0,0,.25), 0 0 0 12px rgba(182,146,93,0); }
}
.music-toggle:hover { transform: scale(1.06); background: rgba(37,50,40,1); }
.music-toggle .ic { width: 22px; height: 22px; display: block; }
.music-toggle .ic-pause { display: none; }
.music-toggle.playing .ic-play { display: none; }
.music-toggle.playing .ic-pause { display: block; }
.music-toggle.playing::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(182,146,93,.45);
  animation: musicPulse 2s ease-in-out infinite;
}
@keyframes musicPulse {
  0%, 100% { transform: scale(1); opacity: .8; }
  50% { transform: scale(1.18); opacity: 0; }
}

/* ========= Posición de fotos a la izquierda en mobile =========
   Mueve la imagen 50px hacia la izquierda → en pantalla se ve más
   del lado derecho de la foto (donde están los novios). */
@media (max-width: 720px) {
  .mobile-left img,
  .mobile-left picture img { object-position: -50px center !important; }
  .mobile-left-bg .photo-banner__img,
  .mobile-left-bg .final__bg { background-position: -50px center !important; }
  .final.mobile-left-bg .final__bg { background-position: -170px center !important; }
  .final {
    min-height: 0 !important;
    padding: 5rem 1.5rem 4rem !important;
  }
  .mobile-left img[src="/fotos/hero.jpg"] { object-position: -150px center !important; }
  .hero__img {
    background-position: center !important;
    inset: -4% !important;
    filter: brightness(.42) contrast(1.05) !important;
  }
  .hero__inner { padding-top: 1.5rem !important; }
  .photo-banner.tall { height: 50svh !important; min-height: 340px !important; max-height: 460px; }
  .hero__names-block { gap: .7rem !important; margin-bottom: .5rem !important; }
  .hero__names-block .hero__location { margin-top: .1rem !important; }
  .hero__names-block .hero__sprig-row { margin-top: 0 !important; }
  .hero__bottom { margin-top: .8rem !important; gap: .7rem !important; }
}
