/* ==========================================================================
   Ezzencias Perfume Bar — site.css
   Order: tokens → fonts → reset/base → utilities → header → components
          → index sections → contacto/merch/404 → footer → motion
   Conventions: style classes only (JS binds to data-* hooks);
   gold is TEXT only on dark/burgundy bands (contrast) — use --gold-ink on cream.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --ink: #221E1A;
  --black: #17130F;
  --cream: #F5F0E6;
  --cream-2: #EDE6D8;
  --white: #FCFAF4;
  --gold: #BC925A;
  --gold-soft: #D2B285;
  --gold-ink: #8A6434;
  --burgundy: #4C1F28;
  --burgundy-deep: #3D1820;
  --sage: #687061;
  --line: rgba(188, 146, 90, 0.35);
  --shadow: 0 24px 60px -30px rgba(23, 19, 15, 0.45);

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Jost", "Avenir Next", system-ui, sans-serif;

  --step--1: clamp(0.82rem, 0.80rem + 0.10vw, 0.88rem);
  --step-0: clamp(1.00rem, 0.96rem + 0.22vw, 1.13rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.50vw, 1.55rem);
  --step-2: clamp(1.60rem, 1.35rem + 1.20vw, 2.30rem);
  --step-3: clamp(2.10rem, 1.65rem + 2.20vw, 3.40rem);
  --step-4: clamp(2.70rem, 1.95rem + 3.80vw, 4.90rem);

  --space-section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --header-h: 4.25rem;
}

/* --------------------------------------------------------------------------
   2. Self-hosted fonts (latin subset, variable)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Playfair Display";
  src: url("/assets/fonts/playfair-var.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("/assets/fonts/playfair-italic-var.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("/assets/fonts/jost-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   3. Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scrollbar-gutter: stable;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; text-wrap: balance; }
p { text-wrap: pretty; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 1px; }

::selection { background: var(--gold); color: var(--black); }

/* Language switching — both languages live in the DOM, CSS shows one.       */
html[data-lang="es"] [lang="en"] { display: none !important; }
html[data-lang="en"] [lang="es"] { display: none !important; }

.header-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  padding: 0.7em 1.2em; background: var(--black); color: var(--cream);
  font-size: var(--step--1); letter-spacing: 0.12em; text-transform: uppercase;
  transition: top 0.2s ease;
}
.skip-link:focus-visible { top: 1rem; }

/* --------------------------------------------------------------------------
   4. Utilities, bands & shared pieces
   -------------------------------------------------------------------------- */
.container { max-width: 72rem; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 52rem; }

.section { padding-block: var(--space-section); position: relative; }
.section--flush { padding-block: 0; }

/* Band theming — swaps three custom properties per section */
[data-theme] { background: var(--bg); color: var(--fg); }
[data-theme="cream"]    { --bg: var(--cream);    --fg: var(--ink);   --accent: var(--gold-ink); }
[data-theme="paper"]    { --bg: var(--white);    --fg: var(--ink);   --accent: var(--gold-ink); }
[data-theme="dark"]     { --bg: var(--black);    --fg: var(--cream); --accent: var(--gold); }
[data-theme="burgundy"] { --bg: var(--burgundy); --fg: var(--cream); --accent: var(--gold-soft); }
[data-theme="sage"]     { --bg: var(--sage);     --fg: var(--cream); --accent: var(--cream); }

/* Subtle dot grid texture (propuesta motif) */
[data-dots] {
  background-image: radial-gradient(rgba(138, 100, 52, 0.13) 1px, transparent 1.5px);
  background-size: 26px 26px;
}
[data-theme="dark"][data-dots], [data-theme="burgundy"][data-dots] {
  background-image: radial-gradient(rgba(188, 146, 90, 0.10) 1px, transparent 1.5px);
}

/* Letterspaced small-caps label */
.kicker {
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent, var(--gold-ink));
}

/* Oversized outlined section numeral */
.sec-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.4rem, 2.4rem + 5vw, 6.5rem);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent, var(--gold-ink));
  opacity: 0.75;
  user-select: none;
}
@supports not (-webkit-text-stroke: 1px black) {
  .sec-num { color: var(--accent, var(--gold-ink)); opacity: 0.35; }
}

.h-section { font-size: var(--step-3); margin-top: 0.35em; }
.lede {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: var(--step-1);
  line-height: 1.45;
  color: var(--accent, var(--gold-ink));
}

.gold-rule { border: 0; height: 1px; background: var(--line); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.7em;
  padding: 0.95em 2em;
  font-family: var(--font-sans); font-size: var(--step--1); font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--gold);
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}
.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: currentColor; border-color: currentColor; }
.btn--ghost:hover { background: rgba(188, 146, 90, 0.14); transform: translateY(-2px); }

/* Photo with offset gold frame (propuesta motif, rebuilt in CSS) */
.frame-offset { position: relative; }
.frame-offset img { position: relative; z-index: 1; box-shadow: var(--shadow); }
.frame-offset::after {
  content: ""; position: absolute; z-index: 0;
  inset: 1.1rem -1.1rem -1.1rem 1.1rem;
  border: 1px solid var(--gold);
  pointer-events: none;
}

/* Parallax media wrapper */
.media { overflow: hidden; position: relative; }
.media > img { width: 100%; height: 100%; object-fit: cover; }
.media > [data-parallax] { height: 115%; width: 100%; position: absolute; inset: 0; }

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: transparent;
  color: var(--cream);
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}
.header .container {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.header.is-scrolled, .header--solid {
  background: rgba(23, 19, 15, 0.92);
  box-shadow: 0 1px 0 rgba(188, 146, 90, 0.35), 0 12px 30px -18px rgba(0, 0, 0, 0.6);
}
@supports (backdrop-filter: blur(8px)) {
  .header.is-scrolled, .header--solid { background: rgba(23, 19, 15, 0.78); backdrop-filter: blur(8px); }
}

.header__brand { display: inline-flex; align-items: center; text-decoration: none; }
.header__brand img { height: 2rem; width: auto; }

.header__nav { display: none; }
.header__nav a {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; opacity: 0.85; transition: opacity 0.2s ease, color 0.2s ease;
  padding: 0.4em 0;
}
.header__nav a:hover { opacity: 1; color: var(--gold-soft); }
.header__nav a[aria-current="true"] { opacity: 1; color: var(--gold-soft); border-bottom: 1px solid var(--gold); }

.header__actions { display: inline-flex; align-items: center; gap: 0.9rem; }
.header__cta { padding: 0.55em 1.2em; font-size: 0.72rem; }

/* ES · EN chip */
.lang-toggle {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 0.28em 0.5em; gap: 0.45em;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em;
}
.lang-toggle__opt { padding: 0.22em 0.65em; border-radius: 999px; opacity: 0.7; transition: all 0.2s ease; }
.lang-toggle__opt.is-active { background: var(--gold); color: var(--black); opacity: 1; }
.lang-toggle__sep { opacity: 0.45; }

@media (min-width: 60em) {
  .header__nav { display: flex; gap: 1.6rem; }
}

/* --------------------------------------------------------------------------
   6. Hero (index)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  margin-top: calc(-1 * var(--header-h));
  display: flex; align-items: center;
  color: var(--cream);
  background: var(--black);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img {
  width: 100%; height: 115%;
  object-fit: cover; object-position: 72% center;
  filter: brightness(0.7) saturate(1.05);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(23, 19, 15, 0.92) 18%, rgba(23, 19, 15, 0.55) 55%, rgba(23, 19, 15, 0.28) 100%),
    linear-gradient(to top, rgba(23, 19, 15, 0.85), transparent 42%);
}
.hero__content { position: relative; z-index: 1; padding-block: calc(var(--header-h) + 3rem) 5rem; max-width: 46rem; }
.hero__title { font-size: var(--step-4); font-weight: 700; letter-spacing: 0.045em; text-transform: uppercase; margin-top: 0.5em; }
.hero__title span { display: block; }
.hero__lede { margin-top: 1.1em; max-width: 30ch; --accent: var(--gold-soft); }
.hero__actions { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); z-index: 1;
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold-soft); text-decoration: none; opacity: 0.9;
}
.hero__scroll::after {
  content: ""; width: 1px; height: 2.6rem; background: var(--gold);
  animation: scroll-cue 2.2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scroll-cue {
  0% { transform: scaleY(0); opacity: 0; }
  35% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(1.2rem); opacity: 0; }
}

/* Contents strip (propuesta "CONTENIDO · CONTENTS") */
.toc { padding-block: 2.2rem; }
.toc__grid { display: grid; gap: 1.1rem; margin-top: 1.4rem; grid-template-columns: 1fr; }
.toc a {
  display: block; padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: var(--step-1);
  text-decoration: none; transition: color 0.2s ease, border-color 0.2s ease;
}
.toc a:hover { color: var(--gold-ink); border-color: var(--gold-ink); }
.toc a em { font-style: normal; color: var(--gold-ink); font-size: 0.8em; margin-right: 0.6em; letter-spacing: 0.08em; }
@media (min-width: 42em) { .toc__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 60em) { .toc__grid { grid-template-columns: repeat(4, 1fr); } }

/* --------------------------------------------------------------------------
   7. Index sections
   -------------------------------------------------------------------------- */

/* Generic split: numeral+heading | content */
.split { display: grid; gap: 2.2rem; align-items: start; }
@media (min-width: 60em) {
  .split { grid-template-columns: 5fr 7fr; gap: 4rem; }
  .split--rev { grid-template-columns: 7fr 5fr; }
}

/* 02 — photo + text */
.what { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 60em) { .what { grid-template-columns: 6fr 6fr; gap: 5rem; } }

/* 03 — value cards */
.cards-value { display: grid; gap: 1.1rem; margin-top: 3rem; grid-template-columns: 1fr; }
@media (min-width: 36em) { .cards-value { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 60em) { .cards-value { grid-template-columns: repeat(5, 1fr); } }
.card-value {
  background: var(--white);
  border: 1px solid rgba(138, 100, 52, 0.18);
  padding: 1.6rem 1.3rem 1.8rem;
  display: flex; flex-direction: column; gap: 0.9rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-value:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-value svg { width: 1.7rem; height: 1.7rem; stroke: var(--gold-ink); }
.card-value h3 { font-family: var(--font-sans); font-weight: 500; font-size: 0.98rem; line-height: 1.45; }

/* 04–05 — services (burgundy band) */
.services-head { display: grid; gap: 1.6rem; align-items: end; margin-bottom: 3rem; }
@media (min-width: 60em) { .services-head { grid-template-columns: 7fr 5fr; gap: 5rem; } }
.services-head p { opacity: 0.9; }
.cards-service { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 36em) { .cards-service { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 60em) { .cards-service { grid-template-columns: repeat(6, 1fr); } }
.card-service {
  background: var(--burgundy-deep);
  border-top: 1px solid var(--gold);
  padding: 1.5rem 1.4rem 1.9rem;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.card-service:hover { transform: translateY(-4px); background: #341219; }
.card-service .num { font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.3em; color: var(--gold-soft); }
.card-service h3 { font-size: var(--step-1); font-weight: 600; margin-top: 0.7rem; }
@media (min-width: 60em) {
  .card-service { grid-column: span 2; }
  .card-service:nth-child(4) { grid-column: 2 / span 2; }
}

/* 06 — how it works steps */
.steps { display: grid; gap: 2rem; margin-top: 3rem; grid-template-columns: 1fr; list-style: none; padding: 0; }
@media (min-width: 36em) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 60em) { .steps { grid-template-columns: repeat(5, 1fr); gap: 1.6rem; } }
.step { padding-top: 1.2rem; position: relative; }
.step::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 1px;
  background: var(--gold-ink); transform-origin: left;
}
.step .num {
  font-family: var(--font-display); font-size: var(--step-2); font-weight: 600; color: var(--gold-ink);
}
.step h3 { font-family: var(--font-sans); font-weight: 500; font-size: 0.98rem; margin-top: 0.5rem; line-height: 1.45; }

.menu-figure { margin: 4.5rem auto 0; max-width: 26rem; }
.menu-figure figcaption {
  margin-top: 2rem; text-align: center;
  font-size: var(--step--1); letter-spacing: 0.08em; color: var(--gold-ink);
}

/* 07 — client experience (dark split) */
.experience { display: grid; align-items: stretch; }
.experience__media { min-height: 24rem; }
.experience__media .media { height: 100%; }
.experience__body {
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--space-section) var(--gutter);
}
@media (min-width: 60em) {
  .experience { grid-template-columns: 6fr 6fr; }
  .experience__body { padding-inline: clamp(2.5rem, 6vw, 6rem); }
  .experience__media { min-height: min(46rem, 92vh); }
}

/* 08 — brand benefits */
.benefits { display: grid; gap: 2.5rem; }
@media (min-width: 60em) { .benefits { grid-template-columns: 5fr 7fr; gap: 5rem; } }
.benefits__list { list-style: none; padding: 0; }
.benefits__list li {
  padding: 1.4rem 0 1.3rem;
  border-top: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 1.4rem;
}
.benefits__list li:last-child { border-bottom: 1px solid var(--line); }
.benefits__list .num { font-family: var(--font-display); color: var(--gold-ink); font-size: var(--step-1); min-width: 2ch; }
.benefits__list h3 { font-family: var(--font-sans); font-weight: 500; font-size: var(--step-1); line-height: 1.4; }

/* 09 — custom proposal CTA band */
.cta-band { text-align: center; overflow: hidden; }
.cta-band .container { position: relative; z-index: 1; }
.cta-band__watermark {
  position: absolute; z-index: 0; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0.07; pointer-events: none;
}
.cta-band__watermark img { width: min(34rem, 80vw); }
.cta-band h2 { font-size: var(--step-3); }
.cta-band p { max-width: 46ch; margin: 1.4rem auto 0; opacity: 0.92; }
.cta-band .btn { margin-top: 2.6rem; }

/* 10 — investment tiers */
.tiers-head { max-width: 46rem; }
.tiers { display: grid; gap: 1.4rem; margin-top: 3rem; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 60em) { .tiers { grid-template-columns: repeat(3, 1fr); } }
.tier {
  background: var(--white);
  border: 1px solid rgba(138, 100, 52, 0.22);
  padding: 2.1rem 1.8rem;
  display: flex; flex-direction: column; gap: 1.1rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tier:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tier__label { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-ink); }
.tier h3 { font-size: var(--step-2); }
.tier p { font-size: 0.95rem; opacity: 0.9; }
.tier hr { margin-top: auto; }
.tier__price { font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); }
.tier .btn { justify-content: center; }
.tier--featured { background: var(--burgundy); color: var(--cream); border-color: var(--gold); padding-top: 3.6rem; }
.tier--featured .tier__label { padding-right: 8rem; }
.tier--featured .tier__label { color: var(--gold-soft); }
.tier--featured p { opacity: 0.92; }
.chip {
  position: absolute; top: 1.3rem; right: 1.3rem;
  background: var(--gold); color: var(--black);
  font-size: 0.66rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.4em 0.9em; border-radius: 999px;
}
@media (min-width: 60em) { .tier--featured { transform: scale(1.03); } .tier--featured:hover { transform: scale(1.03) translateY(-5px); } }

/* 11 — quote band */
.quote { text-align: center; }
.quote blockquote {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: var(--step-2); line-height: 1.5; max-width: 26ch; margin-inline: auto;
}
.quote blockquote::before { content: "“"; display: block; font-size: 2.2em; line-height: 0.6; opacity: 0.55; margin-bottom: 0.3em; }
.quote .kicker { display: block; margin-bottom: 2rem; }

/* --------------------------------------------------------------------------
   8. Contact page
   -------------------------------------------------------------------------- */
.page-hero { padding-block: calc(var(--header-h) + 3.5rem) 3.5rem; margin-top: calc(-1 * var(--header-h)); }
.page-hero h1 { font-size: var(--step-3); margin-top: 0.35em; }
.page-hero .lede { margin-top: 0.8em; max-width: 40ch; }

.contact-grid { display: grid; gap: 3.5rem; }
@media (min-width: 60em) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 5rem; } }

.channel {
  border: 1px solid rgba(138, 100, 52, 0.25);
  background: var(--white);
  padding: 1.5rem 1.5rem 1.6rem;
  display: flex; gap: 1.1rem; align-items: flex-start;
}
.channel + .channel { margin-top: 1rem; }
.channel svg { width: 1.5rem; height: 1.5rem; stroke: var(--gold-ink); flex: none; margin-top: 0.2rem; }
.channel h2 { font-family: var(--font-sans); font-weight: 500; font-size: 1rem; letter-spacing: 0.06em; }
.channel p { font-size: 0.92rem; opacity: 0.85; margin-top: 0.2rem; }
.channel a { color: var(--gold-ink); text-decoration-color: var(--line); text-underline-offset: 3px; }
.channel .email-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; margin-top: 0.4rem; }
.copy-btn {
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--line); padding: 0.35em 0.8em; border-radius: 999px;
  color: var(--gold-ink); transition: background-color 0.2s ease;
}
.copy-btn:hover { background: rgba(188, 146, 90, 0.15); }

.form { display: grid; gap: 1.6rem; }
.form__row { display: grid; gap: 1.6rem; }
@media (min-width: 42em) { .form__row { grid-template-columns: 1fr 1fr; } }
.field label {
  display: block; font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-ink);
  margin-bottom: 0.5rem;
}
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid rgba(138, 100, 52, 0.4);
  padding: 0.55em 0.1em; border-radius: 0;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-bottom-color: var(--gold-ink); box-shadow: 0 1px 0 var(--gold-ink);
}
.field textarea { resize: vertical; min-height: 7.5rem; }
.form__note { font-size: 0.85rem; opacity: 0.75; }

/* Floating WhatsApp button */
.whatsapp-fab {
  position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 90;
  width: 3.4rem; height: 3.4rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold); color: var(--black);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.55);
  transition: transform 0.25s ease, background-color 0.25s ease;
}
.whatsapp-fab:hover { transform: translateY(-3px) scale(1.05); background: var(--gold-soft); }
.whatsapp-fab svg { width: 1.7rem; height: 1.7rem; fill: currentColor; }

/* --------------------------------------------------------------------------
   9. Merch & 404
   -------------------------------------------------------------------------- */
.merch { min-height: 100svh; margin-top: calc(-1 * var(--header-h)); display: flex; align-items: center; text-align: center; }
.merch .container { padding-block: calc(var(--header-h) + 3rem) 4rem; }
.merch__poster { max-width: 17rem; margin: 0 auto 3rem; }
.merch h1 { font-size: var(--step-3); }
.merch .lede { margin: 1rem auto 0; max-width: 34ch; }
.merch__actions { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

.page-dark { background: var(--black); color: var(--cream); }
.merch__poster img { margin-inline: auto; }

.notfound { min-height: 100svh; margin-top: calc(-1 * var(--header-h)); display: flex; align-items: center; text-align: center; }
.notfound__mark { width: 7rem; margin: 0 auto 2.4rem; opacity: 0.9; }
.notfound h1 { font-size: var(--step-3); }
.notfound p { margin-top: 1rem; opacity: 0.85; }
.notfound__actions { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* --------------------------------------------------------------------------
   10. Footer
   -------------------------------------------------------------------------- */
.footer { --accent: var(--gold); background: var(--black); color: var(--cream); padding-block: 4.5rem 2.5rem; }
.footer__grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 60em) { .footer__grid { grid-template-columns: 4fr 4fr 4fr; gap: 4rem; } }
.footer__logo img { width: 11rem; }
.footer h2 { font-family: var(--font-sans); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1.2rem; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 0.65rem; }
.footer a { text-decoration: none; opacity: 0.85; transition: opacity 0.2s ease, color 0.2s ease; }
.footer a:hover { opacity: 1; color: var(--gold-soft); }
.footer address { font-style: normal; display: grid; gap: 0.65rem; }
.footer__bottom {
  margin-top: 3.5rem; padding-top: 1.6rem;
  border-top: 1px solid rgba(188, 146, 90, 0.25);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: 0.8rem; opacity: 0.75;
}

/* --------------------------------------------------------------------------
   11. Motion — reveals & reduced-motion guarantees
   -------------------------------------------------------------------------- */
section[id], footer[id] { scroll-margin-top: calc(var(--header-h) + 0.5rem); }

/* Hidden pre-reveal state exists ONLY when JS is running (html.js) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.75s ease calc(var(--reveal-i, 0) * 90ms),
    transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1) calc(var(--reveal-i, 0) * 90ms);
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Step rules draw in */
.js .step::before { transform: scaleX(0); transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) calc(var(--reveal-i, 0) * 120ms); }
.js .step.is-visible::before { transform: scaleX(1); }

[data-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .js .step::before { transform: none !important; }
  .hero__scroll::after { animation: none; }
}
