:root{
  --bg: #f2ece3;
  --ink: #3b2c22;
  --muted: rgba(59,44,34,.72);

  --glass: rgba(255,255,255,.48);
  --glass2: rgba(255,255,255,.34);

  --stroke: rgba(90,70,55,.18);
  --shadow: 0 18px 50px rgba(32,20,14,.12);
  --radius: 24px;
  --radius2: 18px;

  --accent: #6b2f2a;   /* vino */
  --accent2: #6b6b55;  /* olivo */
  --cream: #f6f1ea;

  --script: "Ocean Delight", cursive;
  --serif: "The Seasons", "Didot", serif;
  --sans: "Questrial", system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

/* =========================
   FUENTES LOCALES
========================= */

/* Script / caligrafía */
@font-face {
  font-family: "Ocean Delight";
  src: url("../fonts/Ocean-Delight.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Serif elegante */
@font-face {
  font-family: "The Seasons";
  src: url("../fonts/Theseasons-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Serif clásico (Didot) */
@font-face {
  font-family: "Didot";
  src: url("../fonts/Didot-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Sans limpia */
@font-face {
  font-family: "Questrial";
  src: url("../fonts/Questrial-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* =========================
   BASE
========================= */
*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: var(--sans);
  color: var(--ink);
  background:
  radial-gradient(1200px 700px at 20% 10%, rgba(255,255,255,.55), rgba(255,255,255,0) 55%),
  radial-gradient(900px 600px at 80% 30%, rgba(255,255,255,.35), rgba(255,255,255,0) 60%),
  linear-gradient(180deg, rgba(243,238,215,.92), rgba(223,214,175,.55));
  overflow-x:hidden;
  position: relative;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.container{
  width:min(1120px, calc(100% - 42px));
  margin-inline:auto;
}

.section{ padding: 72px 0; background: transparent;}
.section--tight{ padding: 56px 0; }
.section--soft{
  padding: 90px 0;
  background: linear-gradient(rgba(255,255,255,.12), rgba(255,255,255,.05));
}

@media (max-width: 920px){
  .section{ padding: 56px 0; }
}

/* Background blobs */
body::before, body::after{
  content:"";
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  filter: blur(60px);
  opacity: .20;
  z-index: -1;
  pointer-events:none;
}
body::before{
  left: -140px;
  top: 120px;
  background: radial-gradient(circle at 30% 30%, rgba(107,47,42,.60), rgba(107,47,42,0));
  animation: floaty 14s ease-in-out infinite;
}
body::after{
  right: -160px;
  top: 320px;
  background: radial-gradient(circle at 30% 30%, rgba(107,107,85,.55), rgba(107,107,85,0));
  animation: floaty2 16s ease-in-out infinite;
}
@keyframes floaty{
  0%,100%{ transform: translate(0,0) scale(1); }
  50%{ transform: translate(20px, -18px) scale(1.06); }
}
@keyframes floaty2{
  0%,100%{ transform: translate(0,0) scale(1); }
  50%{ transform: translate(-18px, 16px) scale(1.05); }
}

/* Optional grain overlay */
html::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events:none;
  z-index: 9999;
  opacity: .06;
  mix-blend-mode: multiply;
  background-image:
  repeating-linear-gradient(0deg, rgba(0,0,0,0), rgba(0,0,0,0) 2px, rgba(0,0,0,.03) 3px),
  repeating-linear-gradient(90deg, rgba(0,0,0,0), rgba(0,0,0,0) 2px, rgba(0,0,0,.02) 3px);
}

/* Typography helpers */
.h2{
  margin:0;
  font-family: var(--serif);
  font-size: 34px;
  letter-spacing:.2px;
}
.h3{
  margin: 0 0 8px 0;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: .6px;
  text-transform: uppercase;
  opacity: .9;
}
.muted{ color: var(--muted); }
.small{ font-size: 12.5px; }
.mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.center{ text-align:center; }
.mt-10{ margin-top:10px; }
.mt-14{ margin-top:14px; }

.script{
  font-family: var(--script);
  font-size: 76px;
  line-height: .9;
  margin: 0;
  color: #4a2f1e;
  text-shadow: 0 10px 40px rgba(38,22,14,.12);
}
.script--sm{
  font-size: clamp(46px, 4.8vw, 68px);
}

.section__title{
  text-align:center;
  margin-bottom: 26px;
}
.section__title p{ margin-top: 10px; }

/* =========================
   BUTTONS
========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius: 999px;
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,.25);
  font-weight: 500;
  cursor:pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, filter .18s ease;
  user-select:none;
}
.btn--primary{
  position: relative;
  color:#fff;
  background: linear-gradient(180deg, rgba(107,47,42,.92), rgba(107,47,42,.78));
  box-shadow: 0 14px 40px rgba(107,47,42,.22);
  border-color: rgba(255,255,255,.18);
}
.btn--ghost{
  color:#fff;
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.25);
}
.btn--big{ padding: 14px 22px; font-size: 15px; }
.btn:hover{ transform: translateY(-1px); box-shadow: 0 16px 46px rgba(0,0,0,.12); filter: brightness(1.02); }

.btn--primary::after{
  content:"";
  position:absolute;
  inset:-10px;
  border-radius:999px;
  background: radial-gradient(circle at 30% 30%, rgba(107,47,42,.26), rgba(107,47,42,0) 60%);
  opacity:0;
  filter: blur(6px);
  transition: opacity .2s ease;
  pointer-events:none;
}
@media (hover:hover){
  .btn--primary:hover::after{ opacity:.9; }
}

/* =========================
   SHEET (usado en Music)
========================= */
.sheet{
  border-radius: 28px;
  border: 1px solid rgba(90,70,55,.16);
  background: rgba(255,255,255,.22);
  backdrop-filter: blur(12px) saturate(1.05);
  -webkit-backdrop-filter: blur(12px) saturate(1.05);
  padding: 34px 30px;
  box-shadow: 0 14px 50px rgba(32,20,14,.08);
}
.sheet--tight{ padding: 26px 22px; }
@media (max-width: 720px){
  .sheet{ padding: 26px 18px; }
}

/* =========================
   HERO
========================= */
.hero{
  height: 100vh;
  position: relative;
  display:grid;
  place-items:center;
  background-image: url("/axa-ricardo/assets/img/hero.jpg");
  background-size: cover;
  background-position: left;
  background-attachment: fixed;
  overflow:hidden;
}
@media (max-width: 820px){
  .hero{ background-attachment: scroll; }
}

.hero__particles{
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
}

.hero__overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:
  radial-gradient(900px 520px at 50% 35%, rgba(255,255,255,.06), rgba(0,0,0,.35) 45%, rgba(0,0,0,.68)),
  linear-gradient(180deg, rgba(0,0,0,.42), rgba(0,0,0,.62));
}

.hero::before{
  content:"";
  position:absolute;
  inset:-30% -10%;
  pointer-events:none;
  z-index:2;
  opacity:.22;
  background: radial-gradient(closest-side at 30% 25%, rgba(255,255,255,.22), rgba(255,255,255,0) 65%);
  transform: rotate(-6deg);
}

#particles-js canvas{
  opacity: .95;
  filter: drop-shadow(0 0 10px rgba(255,255,255,.18));
}

.hero__content{
  position:relative;
  z-index:3;
  text-align:center;
  padding: 18px 16px;
  color: #fff;

  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 14px;              /* ✅ espacio real entre elementos */
}

.hero__kicker{
  letter-spacing: .35em;
  text-transform: uppercase;
  font-size: 12px;
  opacity:.9;
  margin:0;
}

.hero__title{
  font-family: var(--script);
  font-size: clamp(56px, 6.6vw, 98px); /* 🔻 leve reducción para swashes */
  margin: 0;
  line-height: 1.05;                   /* ✅ clave: evita choques */
  padding: 10px 0 8px;                 /* ✅ “colchón” visual */
  text-shadow: 0 16px 50px rgba(0,0,0,.35);
}

/* ✅ CAMBIO: el & SOLO en el hero, para que NO use StyleScript */
.hero__title .amp{
  font-family: var(--serif) !important;
  font-style: italic;
  font-weight: 400;
  font-size: 0.58em;
  margin: 0 0.26em;
  vertical-align: middle;
  opacity: 0.88;
  text-shadow: 0 10px 34px rgba(0,0,0,.22);
}

@media (max-width: 520px){
  .hero__title{
    font-size: clamp(44px, 12vw, 72px);
    line-height: 1.08;
    padding: 8px 0 6px;
  }

  /* ✅ ajuste móvil del & */
  .hero__title .amp{
    font-size: 0.62em;
    margin: 0 0.22em;
  }
}

.hero__subtitle{
  margin:0;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .92;
}

.hero__cta{
  display:flex;
  gap: 12px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top: 8px;
}

.hero__scroll{
  position:absolute;
  bottom: 18px;
  z-index:4;
  color: rgba(255,255,255,.9);
  font-size: 12px;
  letter-spacing: .25em;
  text-transform: uppercase;
  display:flex;
  align-items:center;
  gap:10px;
}
.hero__scroll .dot{
  width: 6px; height: 6px;
  border-radius:999px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 0 0 10px rgba(255,255,255,.08);
  animation: pulseDot 1.6s ease-in-out infinite;
}
@keyframes pulseDot{
  0%,100%{ transform: translateY(0); box-shadow: 0 0 0 10px rgba(255,255,255,.08); }
  50%{ transform: translateY(-4px); box-shadow: 0 0 0 14px rgba(255,255,255,.06); }
}

/* =========================
   MUSIC
========================= */
.music{ display:grid; gap: 14px; }
.music__toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
}
.music__embed{ width:100%; }
.spotify{ display:block; width:100%; border:0; }
.is-hidden{ display:none; }

.toggle{
  display:inline-flex;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(90,70,55,.14);
  background: rgba(255,255,255,.40);
  backdrop-filter: blur(10px);
}
.toggle__btn{
  border:0;
  background: transparent;
  padding: 10px 12px;
  border-radius: 999px;
  cursor:pointer;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(59,44,34,.78);
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.toggle__btn:hover{ transform: translateY(-1px); }
.toggle__btn.is-active{
  background: rgba(107,47,42,.16);
  color: rgba(59,44,34,.92);
}

/* =========================
   POSTER (sin tarjetas)
========================= */
.poster{
  padding: clamp(56px, 8vw, 110px) 0;
}

.poster--blush{
  background: rgba(199, 163, 142, .70);
}
.poster--light{
  background: rgba(255,255,255,.35);
}

.poster__inner{
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}

.poster__header{
  text-align: center;
  margin-bottom: clamp(36px, 6vw, 70px);
}

.poster__script{
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(56px, 7vw, 108px);
  line-height: .95;
  margin: 0 0 16px;
  color: rgba(70,45,30,.92);
}

.poster__script--big{
  margin-top: 8px;
  margin-bottom: 18px;
}

.poster__date{
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: clamp(14px, 1.7vw, 18px);
  color: rgba(255,255,255,.92);
  margin: 0 0 20px;
}

.poster__subtitle{
  font-family: var(--serif);
  color: rgba(70,45,30,.68);
  font-size: 18px;
  margin-top: 8px;
}

.poster__verse{
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.75;
  color: rgba(70,45,30,.72);
  margin: 0 auto 6px;
  max-width: 74ch;
}

.poster__ref{
  font-family: var(--serif);
  color: rgba(70,45,30,.62);
  margin: 0 auto 26px;
}

.poster__heart{
  font-size: 34px;
  line-height: 1;
  color: rgba(255,255,255,.95);
  margin: 0 0 26px;
}

.poster__lead{
  font-family: var(--serif);
  color: rgba(70,45,30,.78);
  font-size: 18px;
  margin: 0 0 10px;
}

.poster__parents{
  display: flex;
  justify-content: center;
  gap: clamp(24px, 5vw, 80px);
  flex-wrap: wrap;
  margin-top: 8px;
}

.poster__block{
  min-width: min(380px, 92vw);
}

.poster__title{
  font-family: var(--serif);
  font-size: 18px;
  color: rgba(70,45,30,.78);
  margin-bottom: 12px;
}

.poster__name{
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.55;
  color: rgba(70,45,30,.88);
  margin: 6px 0;
}

.poster__note{
  font-family: var(--sans);
  color: rgba(70,45,30,.68);
  font-size: 16px;
  margin: 24px auto 0;
  max-width: 70ch;
}

/* =========================
   COUNTDOWN BAND (CSS PURO)
========================= */
.countdown-band{
  position: relative;
  padding: 92px 0;
  overflow: hidden;
  isolation: isolate;

  background-image: url("/axa-ricardo/assets/img/bg_countdown.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

@media (max-width: 900px){
  .countdown-band{
    background-attachment: scroll;
    background-position: center;
  }
}

/* ocultamos el div de bg (ya no se usa) */
.countdown-band__bg{ display:none; }

.countdown-band__overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background: linear-gradient(180deg, rgba(0,0,0,.42), rgba(0,0,0,.34));
}

.countdown-band__content{
  position:relative;
  z-index:2;
  text-align:center;
  color:#fff;
}

.countdown-band__title{
  margin:0 0 18px 0;
  font-family: var(--script);
  font-size: clamp(44px, 5vw, 76px);
  text-shadow: 0 14px 50px rgba(0,0,0,.38);
}

.countdown{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 3vw, 28px);
  align-items:end;
  justify-items:center;
  width:min(860px, 100%);
  margin: 0 auto;
  padding-top: 8px;
}
@media (max-width: 720px){
  .countdown{ grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
}
.countdown__item{ text-align:center; }
.countdown__value{
  font-family: var(--serif);
  font-size: clamp(58px, 6vw, 84px);
  letter-spacing: .06em;
  line-height: 1;
  text-shadow:
  0 16px 50px rgba(0,0,0,.35),
  0 0 18px rgba(255,255,255,.08);
}
.countdown__label{
  margin-top: 6px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  opacity: .92;
}
.countdown-band__hint{ margin: 18px 0 0 0; opacity: .9; }

/* =========================
   WHEN & WHERE (STACK)
========================= */
.whenwhere-stack{
  display: grid;
  gap: clamp(40px, 6vw, 70px);
  margin-top: clamp(20px, 3vw, 34px);
}

.whenwhere-event{ text-align: center; }

.whenwhere-pill{
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: rgba(70,45,30,.78);
  border: 1px solid rgba(70,45,30,.25);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.whenwhere-info strong{
  display: block;
  font-size: 26px;
  color: rgba(70,45,30,.92);
  margin-bottom: 4px;
}
.whenwhere-info span{
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  color: rgba(70,45,30,.86);
}
.whenwhere-info small{
  display: block;
  margin-top: 6px;
  color: rgba(70,45,30,.65);
  line-height: 1.5;
}

.whenwhere-map{ margin-top: 18px; }
.whenwhere-map iframe{
  width: min(920px, 100%);
  height: 380px;
  border: none;
  border-radius: 14px;
  filter: grayscale(.18) contrast(1.05);
}
.whenwhere-actions{ margin-top: 16px; }

/* =========================
   TIMELINE
========================= */
.timeline{
  position:relative;
  padding: 28px 0 10px 0;
  display:grid;
  gap: 18px;
}
.timeline__line{
  position:absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    rgba(107,47,42,.00),
    rgba(107,47,42,.22),
    rgba(107,47,42,.00)
  );
  border-radius: 999px;
}
.timeline__item{
  position:relative;
  display:grid;
  grid-template-columns: 1fr 1fr;
  align-items:center;
  min-height: 92px;
}
.timeline__item--left .timeline__card{ grid-column: 1 / 2; justify-self:end; }
.timeline__item--right .timeline__card{ grid-column: 2 / 3; justify-self:start; }

.timeline__dot{
  position:absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 14px; height: 14px;
  border-radius:999px;
  background: rgba(255,255,255,.85);
  border: 2px solid rgba(107,47,42,.32);
  box-shadow:
  0 14px 40px rgba(0,0,0,.08),
  0 0 0 10px rgba(107,47,42,.06);
}

.timeline__card{
  width: min(420px, 92%);
  border-radius: 20px;
  border: 1px solid rgba(90,70,55,.14);
  background: linear-gradient(180deg, rgba(255,255,255,.56), rgba(255,255,255,.40));
  backdrop-filter: blur(14px) saturate(1.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
  box-shadow: 0 18px 50px rgba(32,20,14,.08);
  padding: 16px 16px 14px 16px;
  position:relative;
  transition: transform .18s ease, box-shadow .18s ease;
}
.timeline__card:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 60px rgba(32,20,14,.10);
}
.timeline__card h3{
  margin: 2px 0 6px 0;
  font-family: var(--serif);
  font-size: 24px;
}
.timeline__card p{ margin:0; }

.timeline__card::after{
  content:"";
  position:absolute;
  top: 50%;
  width: 14px; height: 14px;
  background: rgba(255,255,255,.50);
  border: 1px solid rgba(90,70,55,.14);
  transform: translateY(-50%) rotate(45deg);
}
.timeline__item--left .timeline__card::after{
  right: -7px;
  border-left: none;
  border-bottom: none;
}
.timeline__item--right .timeline__card::after{
  left: -7px;
  border-right: none;
  border-top: none;
}

.timeline__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.time{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(90,70,55,.14);
  background: rgba(255,255,255,.48);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(59,44,34,.85);
}

@media (max-width: 820px){
  .timeline__line{ left: 14px; transform:none; }
  .timeline__item{
    grid-template-columns: 1fr;
    padding-left: 32px;
  }
  .timeline__dot{
    left: 14px;
    transform: translate(-50%,-50%);
  }
  .timeline__item--left .timeline__card,
  .timeline__item--right .timeline__card{
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
  }
  .timeline__card::after{ display:none; }
}

/* =========================
   GALERÍA (FOTO TRAS FOTO)
========================= */
.stack-gallery{
  display: grid;
  gap: clamp(14px, 2.2vw, 22px);
  margin-top: clamp(14px, 2.4vw, 22px);
}
.stack-photo{ margin: 0; }
.stack-photo img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 22px 70px rgba(20, 12, 8, .14);
  transform: translateZ(0);
}

/* =========================
   DRESS CODE + PALETA
========================= */
.dc{
  text-align: center;
  margin-top: clamp(8px, 2vw, 18px);
}
.dc__kicker{
  font-family: var(--serif);
  color: rgba(70,45,30,.72);
  font-size: 18px;
  margin-bottom: 6px;
}
.dc__title{
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 34px);
  color: rgba(70,45,30,.92);
  margin-bottom: clamp(18px, 3vw, 28px);
}
.dc__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
  justify-content: center;
  margin: 0 auto;
  max-width: 980px;
}
@media (max-width: 900px){
  .dc__grid{ grid-template-columns: 1fr; }
}
.dc__item{ margin: 0; }
.dc__img{ width: 100%; height: auto; display: block; }
.dc__cap{ margin-top: 14px; }
.dc__who{
  font-family: var(--serif);
  font-size: 18px;
  color: rgba(70,45,30,.78);
  margin-bottom: 4px;
}
.dc__desc{
  font-family: var(--serif);
  font-size: 22px;
  color: rgba(70,45,30,.92);
}
.dc__note{ margin-top: 6px; }

.dc__chips{
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
}
.dc__chip{
  font-family: var(--sans);
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(70,45,30,.20);
  color: rgba(70,45,30,.78);
  background: rgba(255,255,255,.16);
}

/* Palette fabrics (clic para copiar) */
.dc-palette{
  text-align: center;
  margin-top: clamp(30px, 5vw, 56px);
}

.dc-palette__title{
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 30px);
  color: rgba(70,45,30,.92);
  margin: 0 0 8px;
}

.palette-fabrics{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 10px;
}
.fabric{
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(90,70,55,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.42), rgba(255,255,255,.28));
  cursor: pointer;
  text-align: left;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
@media (hover:hover){
  .fabric:hover{
    transform: translateY(-2px);
    box-shadow: 0 20px 60px rgba(32,20,14,.10);
    filter: brightness(1.01);
  }
}
.fabric__swatch{
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--c);
  border: 1px solid rgba(0,0,0,.10);
  position: relative;
  overflow: hidden;
  box-shadow:
  inset 0 0 0 1px rgba(255,255,255,.18),
  0 10px 30px rgba(0,0,0,.10);
}
.fabric__swatch::before{
  content:"";
  position:absolute;
  inset:0;
  opacity:.22;
  background:
  repeating-linear-gradient(45deg,
    rgba(255,255,255,.18) 0,
    rgba(255,255,255,.18) 2px,
    rgba(0,0,0,0) 3px,
    rgba(0,0,0,0) 6px);
  mix-blend-mode: overlay;
}
.fabric__swatch::after{
  content:"";
  position:absolute;
  inset:-45%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.32), rgba(255,255,255,0) 60%);
  transform: rotate(18deg);
  opacity: .95;
}
.fabric__meta strong{
  display:block;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: .2px;
}
.fabric__meta small{
  display:block;
  margin-top: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  color: rgba(59,44,34,.72);
  letter-spacing: .08em;
}

/* =========================
   CALLOUTS + REGALOS + RSVP
========================= */
.mini-callout{
  max-width: 820px;
  margin: 0 auto;
}

.gift-free, .rsvp-free{
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.gift-links{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 3vw, 24px);
  max-width: 820px;
  margin: 16px auto 6px;
}
@media (max-width: 760px){
  .gift-links{ grid-template-columns: 1fr; }
}

.gift-link{
  position: relative;
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 18px;
  color: inherit;
  background: rgba(255,255,255,.20);
  border: 1px solid rgba(70,45,30,.18);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.gift-link:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(20,12,8,.14);
  background: rgba(255,255,255,.28);
}
.gift-link__brand{
  font-family: var(--serif);
  font-size: 26px;
  color: rgba(70,45,30,.92);
}
.gift-link__meta{
  display: grid;
  gap: 4px;
  color: rgba(70,45,30,.78);
}
.gift-link__cta{
  margin-top: 6px;
  font-family: var(--sans);
  font-weight: 600;
  color: var(--accent);
}

/* =========================
   FOOTER
========================= */
.footer{
  padding: 30px 0 44px 0;
  text-align:center;
}

/* =========================
   REVEAL
========================= */
.reveal{
  opacity:0;
  transform: translateY(18px) scale(.988);
  filter: blur(3px);
  transition:
  opacity .75s ease,
  transform .75s cubic-bezier(.2,.85,.2,1),
  filter .75s ease;
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform, filter;
}
.reveal.is-visible{
  opacity:1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Gallery reveal */
.reveal-on-scroll{
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms ease, transform 700ms ease;
  will-change: opacity, transform;
}
.reveal-on-scroll.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   PRELOADER
========================= */
.preloader{
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  background:
  radial-gradient(900px 520px at 50% 35%, rgba(255,255,255,.10), rgba(0,0,0,.62)),
  linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.65));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity .5s ease, visibility .5s ease;
}
.preloader__panel{
  width: min(420px, calc(100% - 48px));
  padding: 26px 22px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.12);
  box-shadow: 0 24px 70px rgba(0,0,0,.25);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.preloader__panel::before{
  content:"";
  position:absolute;
  inset:-40%;
  background: linear-gradient(120deg,
    rgba(255,255,255,0) 35%,
    rgba(255,255,255,.28) 48%,
    rgba(255,255,255,0) 62%);
  transform: translateX(-35%) rotate(10deg);
  opacity: .35;
  animation: preloaderShine 1.4s ease-in-out infinite;
}
@keyframes preloaderShine{
  0%   { transform: translateX(-40%) rotate(10deg); }
  50%  { transform: translateX(15%)  rotate(10deg); }
  100% { transform: translateX(40%)  rotate(10deg); }
}
.preloader__mark{
  font-family: var(--script);
  color: #fff;
  font-size: 64px;
  line-height: .9;
  text-shadow: 0 18px 60px rgba(0,0,0,.35);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.preloader__spinner{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.25);
  border-top-color: rgba(255,255,255,.85);
  margin: 0 auto 12px auto;
  animation: preloaderSpin .9s linear infinite;
  position: relative;
  z-index: 1;
}
@keyframes preloaderSpin{ to{ transform: rotate(360deg); } }
.preloader__text{
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  position: relative;
  z-index: 1;
}
.preloader.is-hidden{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* =========================
   ACCESSIBILITY
========================= */
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior: auto !important; }
  body::before, body::after{ animation: none; }
  html::before{ display:none; }
  .hero__scroll .dot{ animation: none; }
  .reveal{ transition: none; filter:none; transform:none; opacity:1; }
  .reveal-on-scroll{ transition:none; transform:none; opacity:1; }
  .preloader__spinner{ animation: none; }
  .preloader__panel::before{ animation: none; }
}

/* =========================
   MUSIC FLOATING BUTTON
========================= */
.music-fab{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;

  width: 56px;
  height: 56px;
  border-radius: 999px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255,255,255,.22);
  background: linear-gradient(180deg, rgba(107,47,42,.92), rgba(107,47,42,.78));
  color: #fff;

  box-shadow: 0 18px 60px rgba(0,0,0,.22);
  cursor: pointer;

  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.music-fab:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 22px 70px rgba(0,0,0,.26);
}

.music-fab__icon{
  font-size: 18px;
  line-height: 1;
}

/* En móvil, un poco más arriba por barras del navegador */
@media (max-width: 520px){
  .music-fab{
    right: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
  }
}

/* =========================
   CIERRE NOVIOS
========================= */
.closing__logo{
  max-width: 260px;
  margin: 0 auto 22px;
  display: block;
  opacity: .95;
}

@media (max-width: 520px){
  .closing__logo{ max-width: 210px; }
}

.closing__text{
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(70,45,30,.75);
}


/* =========================
   FOOTER – SELLO + LISTÓN (para tu HTML actual)
========================= */
.footer-brand{
  position: relative;
  padding: 90px 0 54px;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.45),
    rgba(243,238,215,.55)
  );
  overflow: hidden;
}

.footer-brand__inner{
  width: min(1120px, calc(100% - 42px));
  margin: 0 auto;
  position: relative;
  display: grid;
  place-items: center;
}

/* Listón detrás del sello — FULL WIDTH real */
.footer-brand__ribbon{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;          /* ✅ ocupa todo el ancho */
  top: 105px;
  height: 56px;

  background: linear-gradient(
    90deg,
    rgba(107,47,42,.22),
    rgba(199,163,142,.38),
    rgba(107,107,85,.30),
    rgba(199,163,142,.38),
    rgba(107,47,42,.22)
  );

  border-radius: 999px;
  opacity: .85;
  filter: blur(.2px);
}

/* “Colitas” del listón */
.footer-brand__ribbon::before,
.footer-brand__ribbon::after{
  content:"";
  position: absolute;
  top: 50%;
  width: 86px;
  height: 44px;
  transform: translateY(-50%);
  opacity: .55;

  background: linear-gradient(
    90deg,
    rgba(107,47,42,.14),
    rgba(107,107,85,.14)
  );

  border: 1px solid rgba(70,45,30,.10);
  filter: blur(.15px);
}

.footer-brand__ribbon::before{
  left: -64px;
  border-radius: 14px 0 0 14px;
  clip-path: polygon(0 0, 100% 0, 72% 50%, 100% 100%, 0 100%);
}

.footer-brand__ribbon::after{
  right: -64px;
  border-radius: 0 14px 14px 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 28% 50%);
}

/* Sello centrado */
.footer-brand__seal{
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
}

.footer-brand__seal img{
  width: clamp(96px, 12vw, 140px);
  height: auto;

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

/* Texto opcional */
.footer-brand__text{
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  font-family: var(--serif);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(70,45,30,.58);
}

/* Ajuste móvil */
@media (max-width: 520px){
  .footer-brand{ padding: 78px 0 44px; }
  .footer-brand__ribbon{ top: 96px; height: 52px; }
}
