@import url('https://fonts.googleapis.com/css2?family=MonteCarlo&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Prata&display=swap');

/* =========================================================
   Mis XV · Natalia Olivera Jacobo
   1. Tokens
   2. Base
   3. Utilidades (label, icono, botón)
   4. Hero
   5. Invitación
   6. Cuenta regresiva
   7. Ceremonia y recepción
   8. Momento fotográfico
   9. Itinerario
  10. Código de vestimenta
  11. Alberca
  12. Regalos
  13. Instagram
  14. Cierre
  15. Footer
  16. Control de música
  17. Reveal / movimiento
   ========================================================= */

/* 1. Tokens ------------------------------------------------ */
:root {
  --accent: #D979A6;
  --rose-deep: #9B4368;
  --rose: #BF7590;
  --rose-soft: #D9BACB;
  --coral: #D99484;
  --pastel: #F5CBD6;
  --ink: #252124;
  --ink-soft: #4A4548;
  --paper: #FAF8F6;
  --neutral: #F0F0F2;

  --line-rose: rgba(191, 117, 144, .28);
  --line-rose-soft: rgba(191, 117, 144, .24);
  --line-rose-faint: rgba(191, 117, 144, .22);
  --line-light: rgba(217, 186, 203, .25);

  /* Prata → serif del sistema; Poppins → sans del sistema;
     MonteCarlo → script del sistema. Ver nota de entrega. */
  --font-serif: "Prata", Georgia, "Times New Roman", "Nimbus Roman", serif;
  --font-sans: "Poppins", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-script: "MonteCarlo", "Snell Roundhand", "Apple Chancery", "Segoe Script", "Brush Script MT", cursive;

  --pad-x: clamp(20px, 5vw, 64px);
  --pad-y: clamp(72px, 11vw, 170px);
  --wrap: 1240px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Base -------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  overflow-x: hidden;
}

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

a {
  color: var(--ink);
  text-decoration: none;
}

a:hover { color: var(--accent); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

::selection {
  background: var(--rose-soft);
  color: var(--ink);
}

p { margin: 0; }

h1, h2 {
  margin: 0;
  font-weight: 400;
}

.page { position: relative; }

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* 3. Utilidades -------------------------------------------- */
.label {
  display: block;
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--rose-deep);
}

.label--sm {
  font-size: 10px;
  letter-spacing: .28em;
  margin-bottom: 12px;
}

.label--light { color: var(--rose-soft); }
.label--dark { color: var(--ink); font-weight: 500; }

.label--icon {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ic {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ic--sm { width: 15px; height: 15px; }
.ic--md { width: 18px; height: 18px; }
.ic--lg { width: 20px; height: 20px; }
.ic--faint { opacity: .7; }
.ic--rose { color: var(--rose-deep); }
.ic--accent { color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.btn--outline {
  border: 1px solid var(--rose-deep);
  color: var(--rose-deep);
  background: transparent;
}

.btn--outline:hover {
  background: var(--rose-deep);
  color: #FFFFFF;
}

.btn--outline:active {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}

.btn--solid {
  min-height: 44px;
  padding: 0 18px;
  gap: 8px;
  font-size: 11px;
  background: var(--rose-deep);
  color: #FFFFFF;
}

.btn--solid:hover { background: var(--accent); }
.btn--solid:active { background: var(--rose); }

.btn--white {
  min-height: 52px;
  padding: 0 26px;
  background: #FFFFFF;
  color: var(--ink);
}

.btn--white:hover,
.btn--white:active {
  background: var(--accent);
  color: #FFFFFF;
}

.btn--ghost {
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid rgba(250, 248, 246, .6);
  color: var(--paper);
  background: transparent;
}

.btn--ghost:hover,
.btn--ghost:active {
  background: rgba(250, 248, 246, .16);
  color: var(--paper);
}

.btn[disabled] {
  opacity: .45;
  cursor: not-allowed;
}

/* 4. Hero -------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(94vh, 900px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  background: var(--neutral);
}

.hero__img {
  position: absolute;
  inset: -6% 0;
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: 56% 28%;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,
      color-mix(in srgb, var(--rose-deep) 85%, transparent) 0%,
      color-mix(in srgb, var(--accent) 65%, transparent) 25%,
      color-mix(in srgb, var(--rose-soft) 30%, transparent) 40%,
      transparent 80%),
    linear-gradient(to bottom,
      rgba(37, 33, 36, .42) 0%,
      rgba(37, 33, 36, .06) 35%,
      rgba(37, 33, 36, .18) 62%,
      rgba(37, 33, 36, .78) 100%);
}

.hero__bar {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: clamp(20px, 3vw, 40px);
}

.hero__mark {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1;
  color: var(--paper);
}

.hero__place {
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--paper);
  text-align: right;
}

.hero__title {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0 clamp(20px, 3vw, 40px);
}

.hero__title-in {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

.hero__kicker {
  margin: 0 0 clamp(8px, 1.5vw, 18px);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(18px, 1.2vw, 32px);
  line-height: 1.6;
  max-width: 27ch;
  color: var(--paper);
  opacity: .92;
}

.hero__name {
  font-family: var(--font-serif);
  color: var(--paper);
  font-size: clamp(20px, 13vw, 115px);
  line-height: 1.2;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.hero__foot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(14px, 2vw, 22px);
  padding: clamp(20px, 3vw, 40px);
  max-width: 1580px;
  margin: 0 auto;
  width: 100%;
}

.hero__date {
  display: flex;
  align-items: baseline;
  gap: clamp(10px, 1.4vw, 20px);
  color: var(--paper);
  font-weight: 300;
  font-size: clamp(22px, 3.4vw, 46px);
  letter-spacing: .06em;
  line-height: 1;
}

.hero__sep {
  opacity: .55;
  font-size: .5em;
}

.hero__cue {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.ic--cue { animation: natyCue 2.4s ease-in-out infinite; }

@keyframes natyCue {
  0%, 100% { transform: translateY(0); opacity: .5; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* 5. Invitación -------------------------------------------- */
.invite { padding: clamp(72px, 11vw, 180px) var(--pad-x); }

.invite__in {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}

.invite .label { margin-bottom: clamp(20px, 3vw, 36px); }

.invite__lead {
  margin: 0 0 1.1em;
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.18;
  letter-spacing: -.01em;
  text-wrap: pretty;
}

.invite__body {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.75;
  max-width: 46ch;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.invite__people {
  margin-top: clamp(32px, 4vw, 56px);
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--line-rose-faint);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 28px;
}

.invite__names {
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.4;
}

.invite__figure {
  margin: 0;
  position: relative;
}

.invite__figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 22%;
}

.invite__figure figcaption {
  position: absolute;
  left: -16px;
  bottom: clamp(18px, 3vw, 34px);
  background: var(--paper);
  padding: 10px 16px;
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--rose-deep);
}

/* 6. Cuenta regresiva -------------------------------------- */
.count {
  background: var(--ink);
  color: var(--paper);
  padding: var(--pad-y) var(--pad-x);
  overflow: hidden;
}

.count__in {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.count__lead { margin-bottom: clamp(28px, 4vw, 48px); }

.count__grid {
  display: grid;
  gap: clamp(14px, 2vw, 26px);
}

.count__days {
  display: flex;
  align-items: baseline;
  gap: clamp(14px, 2vw, 24px);
  border-bottom: 1px solid var(--line-light);
  padding-bottom: clamp(10px, 1.5vw, 18px);
}

.count__d {
  font-family: var(--font-serif);
  font-size: clamp(52px, 10vw, 132px);
  line-height: .86;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}

.count__rest {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 24px);
}

.count__n {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4.6vw, 60px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.count__n--accent { color: var(--accent); }

.count__u {
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(217, 186, 203, .85);
}

.count__note {
  margin-top: clamp(32px, 4vw, 52px);
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.35;
  color: rgba(250, 248, 246, .9);
  max-width: 26ch;
}

.count__note span {
  color: var(--accent);
  font-weight: 400;
}

.count__figure { margin: 0; }

.count__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
}

/* 7. Ceremonia y recepción --------------------------------- */
.venues { padding: var(--pad-y) var(--pad-x); }

.venues__in {
  max-width: var(--wrap);
  margin: 0 auto;
}

.venues__lead { margin-bottom: clamp(28px, 4vw, 48px); }

.venues__list {
  display: grid;
  gap: clamp(4px, 1vw, 10px);
}

.venue {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(28px, 4vw, 48px) 0;
  border-top: 1px solid var(--line-rose);
}

.venue--last { border-bottom: 1px solid var(--line-rose); }

.venue__time {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.venue__hour {
  font-family: var(--font-serif);
  font-size: clamp(38px, 6vw, 84px);
  line-height: .9;
}

.venue__hour--accent { color: var(--rose-deep); }

.venue__mer {
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--rose-deep);
}

.venue__kind {
  margin-top: 14px;
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.2;
}

.venue__place {
  margin-bottom: 10px;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 500;
  line-height: 1.4;
}

.venue__addr {
  margin-bottom: clamp(20px, 2.5vw, 28px);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 34ch;
}

/* 8. Momento fotográfico ----------------------------------- */
.shot {
  position: relative;
  min-height: min(88vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--neutral);
}

.shot__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.shot__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(37, 33, 36, .72) 0%,
    rgba(37, 33, 36, .08) 55%,
    rgba(37, 33, 36, 0) 100%);
}

.shot__in {
  position: relative;
  padding: clamp(32px, 6vw, 90px);
  max-width: var(--wrap);
  margin: 0 auto;
  width: 100%;
}

.shot__quote {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.6vw, 56px);
  line-height: 1.18;
  color: var(--paper);
  max-width: 22ch;
  text-wrap: pretty;
}

/* 9. Itinerario -------------------------------------------- */
.agenda { padding: var(--pad-y) var(--pad-x); }

.agenda__in {
  max-width: var(--wrap);
  margin: 0 auto;
}

.agenda__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: clamp(28px, 4vw, 56px);
}

.agenda__head .label:last-child { letter-spacing: .24em; }

.agenda__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.agenda__row {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 44px);
  align-items: center;
  padding: clamp(18px, 2.4vw, 30px) 0;
  border-top: 1px solid var(--line-rose-soft);
}

.agenda__row--accent { color: var(--rose-deep); }
.agenda__row--last { border-bottom: 1px solid var(--line-rose-soft); }

.agenda__time {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.6vw, 52px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.agenda__mer {
  font-family: var(--font-sans);
  font-size: .36em;
  letter-spacing: .14em;
  margin-left: .5em;
}

.agenda__what {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(15px, 1.5vw, 21px);
  letter-spacing: .02em;
}

.agenda__what .ic { width: 18px; height: 18px; }

/* 10. Código de vestimenta --------------------------------- */
.dress {
  background: var(--rose-soft);
  color: var(--ink);
  padding: var(--pad-y) var(--pad-x);
}

.dress__in {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}

.dress .label {
  color: var(--ink);
  margin-bottom: clamp(20px, 3vw, 36px);
}

.dress__title {
  font-family: var(--font-serif);
  font-size: clamp(56px, 11vw, 150px);
  line-height: .88;
  letter-spacing: -.02em;
}

.dress__aside { padding-top: clamp(8px, 2vw, 40px); }

.dress__text {
  margin-bottom: clamp(24px, 3vw, 32px);
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.7;
  max-width: 40ch;
  text-wrap: pretty;
}

.dress__text strong { font-weight: 600; }

.swatch {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, .72);
}

.swatch__chip {
  width: 56px;
  height: 56px;
  background: var(--pastel);
  border: 3px solid var(--coral);
  flex: none;
}

.swatch__label {
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
}

.swatch__value {
  font-size: 15px;
  font-weight: 500;
  margin-top: 4px;
}

/* 11. Alberca ---------------------------------------------- */
.pool { padding: clamp(56px, 9vw, 140px) var(--pad-x); }

.pool__in {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  border: 1px solid var(--line-rose);
  padding: clamp(28px, 4vw, 56px);
}

.pool .label { margin-bottom: 18px; }

.pool__title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.2vw, 44px);
  line-height: 1.14;
  letter-spacing: -.01em;
}

.pool__text {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 40ch;
  text-wrap: pretty;
}

/* 12. Regalos ---------------------------------------------- */
.gifts { padding: clamp(56px, 9vw, 150px) var(--pad-x); }

.gifts__in {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}

.gifts .label { margin-bottom: clamp(20px, 3vw, 32px); }

.gifts__title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.2vw, 44px);
  line-height: 1.16;
  letter-spacing: -.01em;
  max-width: 26ch;
  text-wrap: pretty;
}

.gifts__text {
  margin-top: 1.2em;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 42ch;
  text-wrap: pretty;
}

.gifts__cards {
  display: grid;
  gap: 14px;
  padding-top: clamp(8px, 2vw, 36px);
}

.card { border: 1px solid var(--line-rose); }

.card--row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
}

.card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
}

.card__headtext {
  flex: 1;
  min-width: 0;
}

.card__title {
  font-size: 15px;
  font-weight: 500;
}

.card__sub {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 3px;
}

.card__toggle {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 20px;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line-rose);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rose-deep);
  cursor: pointer;
  transition: background .25s ease;
}

.card__toggle:hover { background: rgba(217, 121, 166, .10); }
.card__toggle:active { background: rgba(217, 121, 166, .18); }

.card__toggle .ic { transition: transform .25s var(--ease); }
.card__toggle[aria-expanded="true"] .ic { transform: rotate(180deg); }

.card__panel {
  padding: 20px;
  border-top: 1px solid var(--line-rose);
  background: rgba(217, 121, 166, .08);
  display: grid;
  gap: 16px;
}

/* El atributo `hidden` lo pone el script; sin JavaScript el panel
   permanece visible y no se pierde contenido. */
.card__panel[hidden] { display: none; }

.bank {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bank__label {
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--rose-deep);
}

.bank__number {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 26px);
  margin-top: 6px;
  letter-spacing: .04em;
}

.bank__note {
  font-size: 12px;
  line-height: 1.6;
  color: var(--rose-deep);
}

/* 13. Instagram -------------------------------------------- */
.social {
  background: var(--rose);
  color: var(--paper);
  padding: clamp(60px, 9vw, 150px) var(--pad-x);
}

.social__in {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.social .label { margin-bottom: 20px; }

.social__text {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.35;
  max-width: 26ch;
  text-wrap: pretty;
}

.social__tag {
  font-family: var(--font-serif);
  font-size: clamp(34px, 6vw, 86px);
  line-height: .95;
  letter-spacing: -.02em;
  word-break: break-word;
}

.social__pending {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, .5);
  color: var(--ink);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.social__pending .ic { width: 14px; height: 14px; }

/* 14. Cierre ----------------------------------------------- */
.close {
  position: relative;
  min-height: min(96vh, 940px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--neutral);
}

.close__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 26%;
}

.close__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(37, 33, 36, .86) 0%,
    rgba(37, 33, 36, .3) 48%,
    rgba(37, 33, 36, .04) 100%);
}

.close__in {
  position: relative;
  padding: clamp(32px, 6vw, 90px);
  max-width: var(--wrap);
  margin: 0 auto;
  width: 100%;
  color: var(--paper);
}

.close__quote {
  margin-bottom: clamp(24px, 3vw, 36px);
  font-family: var(--font-serif);
  font-size: clamp(26px, 4.2vw, 66px);
  line-height: 1.4;
  letter-spacing: -.01em;
  max-width: 24ch;
  text-wrap: pretty;
}

.close__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.close__actions .btn--white .ic { width: 17px; height: 17px; }

.close__note {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(250, 248, 246, .78);
  max-width: 38ch;
}

/* 15. Footer ----------------------------------------------- */
.foot {
  background: var(--ink);
  color: rgba(250, 248, 246, .72);
  padding: clamp(28px, 4vw, 44px) var(--pad-x);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
}

/* 16. Control de música ------------------------------------ */
.music {
  position: fixed;
  right: clamp(14px, 2vw, 28px);
  bottom: clamp(14px, 2vw, 28px);
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  max-width: calc(100vw - 32px);
  padding: 0 18px;
  background: rgba(37, 33, 36, .94);
  color: var(--paper);
  border: 0;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background .25s ease;
}

.music:hover { background: var(--rose-deep); }
.music:active { background: var(--accent); }

.music[disabled] {
  opacity: .55;
  cursor: not-allowed;
}

.music[disabled]:hover { background: rgba(37, 33, 36, .94); }

.music .ic { width: 17px; height: 17px; }

.music__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 17. Reveal / movimiento ---------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
