/* ==========================================================================
   IMPERIO CAPILAR — Estilos
   Sistema: mármol negro + oro champaña + marfil · Bodoni Moda / Switzer
   ========================================================================== */

@font-face {
  font-family: "Switzer";
  src: url("../fonts/Switzer-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Bodoni's didone "%" reads as "°o" — borrow Switzer's for that single glyph */
@font-face {
  font-family: "Imperio Pct";
  src: url("../fonts/Switzer-Variable.woff2") format("woff2");
  font-weight: 100 900;
  unicode-range: U+0025;
  font-display: swap;
}

:root {
  /* Color */
  --ink: #0b0a09;
  --ink-2: #13110f;
  --ink-3: #1c1916;
  --ink-line: rgba(236, 212, 157, 0.14);
  --ivory: #f2ede4;
  --ivory-2: #e9e2d5;
  --ivory-3: #ddd3c2;
  --ivory-line: rgba(28, 24, 20, 0.14);
  --gold: #c9a35a;
  --gold-hi: #ecd49d;
  --gold-lo: #8a6a30;
  --text-light: #f2ede4;
  --muted-light: rgba(242, 237, 228, 0.62);
  --text-dark: #16130f;
  --muted-dark: rgba(22, 19, 15, 0.64);

  --gold-grad: linear-gradient(105deg, #9c7a3a 0%, #c9a35a 20%, #f3e0ad 42%, #c9a35a 60%, #a8853f 78%, #ecd49d 100%);
  --gold-grad-dark: linear-gradient(105deg, #6f521f 0%, #9a7633 30%, #c09a52 50%, #8a6a30 70%, #6f521f 100%);

  /* Type */
  --font-display: "Imperio Pct", "Bodoni Moda", "Didot", "Bodoni 72", "Times New Roman", serif;
  --font-sans: "Switzer", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1480px;
  --radius-sheet: clamp(22px, 3.6vw, 52px);
  --radius: 6px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);

  interpolate-size: allow-keywords;
  font-variant-numeric: lining-nums;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text-light);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { text-wrap: pretty; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.2em; height: 1.2em; flex: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 3000; padding: 10px 16px;
  background: var(--gold); color: var(--ink); border-radius: 999px; font-weight: 600;
  transform: translateY(-160%); transition: transform 0.3s var(--ease-out);
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  margin: 0 0 clamp(18px, 2vw, 28px);
  font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.8; }
.sheet--light .eyebrow { color: var(--gold-lo); }

.h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 5.4vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.h2--sm { font-size: clamp(2.4rem, 4.4vw, 4.6rem); }

/* Gold italic accents */
:where(.hero__title, .h2, .about__statement, .contact__title, .footer__claim, .marquee, .tones__code, .facts__num, .footer__word) em,
.t-gold {
  font-style: italic;
  background-image: var(--gold-grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-inline: 0.06em;
  margin-inline: -0.06em;
  animation: shimmer 9s linear infinite;
}
.sheet--light :where(.h2, .about__statement) em,
.sheet--light .t-gold { background-image: var(--gold-grad-dark); }
.sheet--light .frontales :where(.h2) em,
.sheet--light .frontales .t-gold { background-image: var(--gold-grad); }
em.em--split { background: none !important; color: inherit; padding: 0; margin: 0; animation: none; }
.t-gold { font-style: inherit; }
em .t-gold { font-style: italic; }

@keyframes shimmer { to { background-position: -200% 0; } }

/* Split words */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.07em 0.12em; margin: 0 -0.07em -0.12em; }
.w__i { display: inline-block; will-change: transform; }

.line { display: block; overflow: hidden; padding: 0 0.08em 0.1em; margin: 0 -0.08em -0.1em; }
.line__i { display: inline-block; }

/* ---------- Buttons & links ---------- */
.btn {
  --h: 56px;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 28px;
  border-radius: 999px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  white-space: nowrap; cursor: pointer;
  transition: box-shadow 0.6s var(--ease-out), background-position 1s var(--ease-out), background-color 0.4s, color 0.4s;
}
.btn .icon { width: 18px; height: 18px; }
.btn--gold {
  color: var(--ink);
  background-image: var(--gold-grad);
  background-size: 230% 100%;
  background-position: 0% 0;
  box-shadow: 0 0 0 0 rgba(201, 163, 90, 0);
}
.btn--gold:hover { background-position: 100% 0; box-shadow: 0 14px 44px -14px rgba(201, 163, 90, 0.75); }
.btn--dark { background: var(--ink); color: var(--ivory); }
.btn--dark:hover { background: #262019; box-shadow: 0 14px 40px -16px rgba(11, 10, 9, 0.6); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 11px; }
.btn--xl { --h: clamp(60px, 6vw, 76px); padding: 0 clamp(26px, 3vw, 40px); font-size: clamp(12px, 1vw, 14px); }
.btn--xl .icon { width: 22px; height: 22px; }

.btn__label { display: inline-block; overflow: hidden; line-height: 1.35; vertical-align: middle; }
.btn__roll { display: inline-block; text-shadow: 0 1.6em 0 currentColor; transition: transform 0.7s var(--ease-out); }
.btn:hover .btn__roll, a:hover > .btn__label .btn__roll { transform: translateY(-1.6em); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding-bottom: 6px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.7s var(--ease-out), color 0.3s;
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform 0.6s var(--ease-out); }
.link-arrow:hover { background-size: 0% 1px; background-position: 100% 100%; color: var(--gold-hi); }
.link-arrow:hover .icon { transform: translateY(3px); }
.link-arrow--dark:hover { color: var(--gold-lo); }
.link-arrow--dark:hover .icon { transform: translateX(4px); }

/* ---------- Grain, progress, cursor ---------- */
.grain { position: fixed; inset: 0; z-index: 2500; pointer-events: none; overflow: hidden; opacity: 0.065; }
.grain::before {
  content: ""; position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, -2%); }
  80% { transform: translate(5%, 4%); }
  100% { transform: translate(0, 0); }
}

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 2400; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--gold-grad); transform-origin: 0 50%; transform: scaleX(0); }

.cursor { display: none; }
.has-cursor .cursor { display: block; position: fixed; top: 0; left: 0; z-index: 2600; pointer-events: none; }
.has-cursor, .has-cursor * { cursor: none !important; }
.has-cursor iframe { cursor: auto !important; }
.cursor__dot {
  position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px;
  border-radius: 50%; background: var(--gold-hi);
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
}
.cursor__ring {
  position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border-radius: 50%; border: 1px solid rgba(236, 212, 157, 0.55);
  display: grid; place-items: center;
  transition: width 0.5s var(--ease-out), height 0.5s var(--ease-out), margin 0.5s var(--ease-out),
              background-color 0.4s, border-color 0.4s, opacity 0.3s;
}
.cursor__label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
  opacity: 0; transform: scale(0.6); transition: opacity 0.3s, transform 0.5s var(--ease-out);
  white-space: nowrap;
}
.cursor.is-link .cursor__ring { width: 60px; height: 60px; margin: -30px 0 0 -30px; border-color: var(--gold); }
.cursor.is-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--gold); border-color: var(--gold); }
.cursor.is-label .cursor__label { opacity: 1; transform: none; }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-hidden { opacity: 0; }

/* ---------- Loader ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 3000;
  display: grid; place-items: center;
  background: var(--ink);
  animation: loader-failsafe 0.6s 7s forwards;
}
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; } }
.loader__inner { display: grid; justify-items: center; gap: 28px; }
.loader__logo {
  width: clamp(96px, 12vw, 150px); height: auto; aspect-ratio: 214 / 225.5;
  fill: rgba(201, 163, 90, 0);
  stroke: var(--gold); stroke-width: 0.8;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
.loader__tag {
  display: flex; align-items: center; gap: 14px; margin: 0;
  font-size: 11px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted-light);
}
.loader__tag span { display: inline-block; }
.loader__tag i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.loader__count {
  position: absolute; right: var(--gutter); bottom: clamp(20px, 4vh, 40px);
  font-family: var(--font-display); font-size: clamp(4rem, 10vw, 9rem); line-height: 0.8;
  color: transparent; -webkit-text-stroke: 1px rgba(236, 212, 157, 0.4);
  font-variant-numeric: tabular-nums lining-nums;
}
.loader__brand {
  position: absolute; left: var(--gutter); bottom: clamp(24px, 4vh, 44px);
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted-light);
}
@media (max-width: 600px) { .loader__tag { gap: 8px; letter-spacing: 0.18em; font-size: 10px; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 18px var(--gutter);
  transition: transform 0.7s var(--ease-out), background-color 0.5s, border-color 0.5s, padding 0.5s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding-block: 12px;
  background: rgba(11, 10, 9, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border-bottom-color: var(--ink-line);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.nav__logo { width: 34px; height: auto; aspect-ratio: 214 / 225.5; fill: var(--gold); transition: transform 0.8s var(--ease-out); }
.nav__brand:hover .nav__logo { transform: rotate(-8deg) scale(1.06); }
.nav__word { font-size: 10.5px; font-weight: 700; letter-spacing: 0.3em; line-height: 1.35; text-transform: uppercase; }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.nav__links a {
  position: relative; font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: var(--muted-light);
  transition: color 0.3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform 0.6s var(--ease-out);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--text-light); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { justify-self: end; }
.nav__burger { display: none; }

@media (max-width: 960px) {
  .nav { grid-template-columns: 1fr auto auto; gap: 10px; }
  .nav__links { display: none; }
  .nav__burger {
    display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px 0 14px;
    border: 1px solid var(--ink-line); border-radius: 999px; font-size: 11px; font-weight: 700;
    letter-spacing: 0.16em; text-transform: uppercase;
    background: rgba(11, 10, 9, 0.4);
  }
  .nav__burger-lines { display: grid; gap: 5px; width: 18px; }
  .nav__burger-lines i { display: block; height: 1.5px; background: currentColor; transition: transform 0.5s var(--ease-out); }
  .nav__burger[aria-expanded="true"] .nav__burger-lines i:first-child { transform: translateY(3.25px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] .nav__burger-lines i:last-child { transform: translateY(-3.25px) rotate(-45deg); }
}
@media (max-width: 520px) {
  .nav__word { display: none; }
  .nav__cta { display: none; }
}

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 800;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 110px var(--gutter) 32px;
}
.menu[hidden] { display: none; }
.menu__bg { position: absolute; inset: 0; background: var(--ink); z-index: -1; }
.menu__bg::after {
  content: ""; position: absolute; inset: 0;
  background: url("../img/marmol-oscuro.webp") center / cover; opacity: 0.25;
}
.menu__links { display: grid; gap: 4px; }
.menu__links a {
  display: flex; align-items: baseline; gap: 16px;
  font-family: var(--font-display); font-size: clamp(2.6rem, 11vw, 4.4rem); line-height: 1.08;
  border-bottom: 1px solid var(--ink-line); padding-bottom: 6px;
}
.menu__links a span { font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.2em; color: var(--gold); }
.menu__foot { display: grid; gap: 16px; justify-items: start; }
.menu__foot p { margin: 0; font-size: 13px; color: var(--muted-light); }

/* ---------- Hero: la transformación ---------- */
.hero {
  --fig-h: min(88svh, 1000px);
  position: relative; isolation: isolate;
  height: 100vh; height: 100svh; min-height: 640px;
  overflow: hidden; background: var(--ink);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__marble {
  position: absolute; inset: -4%;
  background: url("../img/marmol-oscuro.webp") center / cover;
  opacity: 0.2;
  -webkit-mask-image: radial-gradient(90% 80% at 50% 45%, #000 20%, transparent 80%);
  mask-image: radial-gradient(90% 80% at 50% 45%, #000 20%, transparent 80%);
}
.hero__glow {
  position: absolute; left: 50%; top: 42%; width: min(110vw, 1300px); aspect-ratio: 1.3;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(201, 163, 90, 0.22), rgba(201, 163, 90, 0.06) 55%, transparent 75%);
}
.beam {
  position: absolute; top: -20%; width: 36vw; height: 120%;
  background: radial-gradient(50% 60% at 50% 0%, rgba(236, 212, 157, 0.2), transparent 70%);
  filter: blur(18px); mix-blend-mode: screen; pointer-events: none;
  animation: breathe 7s ease-in-out infinite alternate;
}
.beam--a { left: 32%; }
.beam--b { left: 58%; animation-delay: -3s; opacity: 0.7; }
@keyframes breathe { from { opacity: 0.55; transform: scaleY(0.94); } to { opacity: 1; transform: scaleY(1.04); } }

/* Monumental wordmark behind the client */
.hero__word {
  position: absolute; left: 0; right: 0; z-index: 1; margin: 0;
  top: calc(100% - var(--fig-h) - 0.02 * var(--fig-h));
  display: flex; justify-content: center;
  font-family: var(--font-display); font-weight: 560;
  font-variation-settings: "opsz" 40;
  font-size: min(18.5vw, calc(var(--fig-h) * 0.4));
  line-height: 0.82; letter-spacing: -0.03em;
  pointer-events: none; user-select: none;
}
.hero__word-in { display: flex; overflow: hidden; padding: 0.04em 0.06em 0.06em; }
.hero__word-in > span {
  display: inline-block;
  background-image: linear-gradient(180deg, #f3e0ad 0%, #c9a35a 38%, #8a6a30 78%, #5d4520 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  will-change: transform;
}

/* Client figure (canvas) */
.hero__figure {
  position: absolute; z-index: 2; left: 50%; bottom: 0; margin: 0;
  height: var(--fig-h); aspect-ratio: 1080 / 1133;
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 99%), linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, #000 70%, transparent 99%), linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
  mask-composite: intersect;
}
.hero__figure > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__fallback { object-fit: contain; }
.js .hero__fallback { display: none; }
.hero__canvas { display: none; touch-action: pan-y; }
.js .hero__canvas { display: block; }

.hero__ghost {
  width: auto; height: auto; inset: auto;
  left: 0; top: 0; width: 84px; height: 84px; margin: -42px 0 0 -42px;
  border-radius: 50%; border: 1px solid var(--gold-hi);
  box-shadow: 0 0 30px rgba(236, 212, 157, 0.35), inset 0 0 20px rgba(236, 212, 157, 0.2);
  opacity: 0; pointer-events: none;
}
.hero__hint {
  --fig-x: 50%;
  position: absolute; z-index: 3;
  left: calc(var(--fig-x) + var(--fig-h) * 0.953 * 0.17);
  top: calc(100% - var(--fig-h) * 0.9);
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap;
  color: var(--ivory);
  background: rgba(11, 10, 9, 0.55); border: 1px solid rgba(236, 212, 157, 0.35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  pointer-events: none;
  transition: opacity 0.6s, transform 0.8s var(--ease-out);
}
.hero__hint i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.hero__hint i::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--gold); animation: ping 2s var(--ease-out) infinite; }
.hero__hint::before {
  content: ""; position: absolute; right: 100%; top: 50%; width: 48px; height: 1px; margin-right: 6px;
  background: linear-gradient(90deg, transparent, var(--gold-hi));
}
.hero__hint.is-off { opacity: 0; transform: translateX(10px); }

/* UI layer */
.hero__ui {
  position: relative; z-index: 3; height: 100%;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(96px, 14vh, 128px) var(--gutter) clamp(28px, 5vh, 48px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr auto;
  pointer-events: none;
}
.hero__ui > * { pointer-events: auto; }
.hero__eyebrow { color: var(--gold-hi); margin-bottom: 18px; }
.hero__eyebrow::before { display: none; }
.dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.dot::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--gold);
  animation: ping 2.4s var(--ease-out) infinite;
}
@keyframes ping { from { transform: scale(0.4); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

.hero__copy { grid-column: 1; grid-row: 3; align-self: end; max-width: 350px; }
.hero__ui::before {
  content: ""; position: absolute; inset: 0 auto 0 calc(50% - 50vw); width: 46vw; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(11, 10, 9, 0.82) 0%, rgba(11, 10, 9, 0.5) 45%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 35%, #000 65%);
  mask-image: linear-gradient(180deg, transparent 35%, #000 65%);
}
@media (min-width: 1101px) { .hero__figure { left: 55%; } .hero__hint { --fig-x: 55%; } }
.hero__title {
  margin: 0;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.2rem, 3.3vw, 3.6rem); line-height: 1; letter-spacing: -0.02em;
  text-shadow: 0 2px 30px rgba(11, 10, 9, 0.6);
}
.hero__lead { margin: 16px 0 26px; font-size: 15px; line-height: 1.6; color: var(--muted-light); }
.hero__ctas { display: flex; align-items: center; gap: 18px 26px; flex-wrap: wrap; }

.badge {
  grid-column: 2; grid-row: 2; align-self: end; justify-self: end; margin-bottom: 28px;
  position: relative; z-index: 3;
  width: 120px; height: 120px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(11, 10, 9, 0.5);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--ink-line);
  transition: background-color 0.5s, transform 0.6s var(--ease-out);
}
.badge:hover { background: rgba(201, 163, 90, 0.18); transform: scale(1.05); }
.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge__ring text {
  fill: var(--gold-hi); font-family: var(--font-sans); font-size: 13px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
}
.badge__logo { width: 34%; height: auto; aspect-ratio: 214 / 225.5; fill: var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Transformation meter */
.meter {
  grid-column: 2; grid-row: 3; align-self: end;
  width: min(320px, 26vw);
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(11, 10, 9, 0.5);
  border: 1px solid var(--ink-line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.meter__kicker { margin: 0 0 14px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.meter__row { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-light); }
.meter__track { position: relative; flex: 1; height: 3px; border-radius: 2px; background: rgba(242, 237, 228, 0.12); overflow: hidden; }
.meter__fill {
  position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--m, 0));
  background: var(--gold-grad); background-size: 200% 100%;
  box-shadow: 0 0 12px rgba(236, 212, 157, 0.7);
}
.meter__foot { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 12px; }
.meter__val {
  font-family: var(--font-sans); font-weight: 250; font-size: 2.5rem; line-height: 0.9; letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  background-image: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.meter__btn {
  padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(236, 212, 157, 0.4);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-hi);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.meter__btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.meter__caption { margin: 10px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--muted-light); min-height: 2.9em; }
.meter.is-done .meter__caption { color: var(--ivory); }

/* Brush cursor */
.cursor.is-brush .cursor__ring {
  width: var(--brush, 90px); height: var(--brush, 90px);
  margin: calc(var(--brush, 90px) / -2) 0 0 calc(var(--brush, 90px) / -2);
  border-color: var(--gold-hi); background: rgba(236, 212, 157, 0.06);
  box-shadow: 0 0 24px rgba(236, 212, 157, 0.25);
}
.cursor.is-brush .cursor__dot { background: var(--gold-hi); }

@media (max-width: 1100px) {
  .hero { --fig-h: min(82svh, 900px); }
  .badge { display: none; }
}
@media (max-width: 900px) {
  .hero { --fig-h: min(84svh, 760px); min-height: 600px; }
  .hero__word { font-size: 21vw; top: calc(100% - var(--fig-h) - 0.035 * var(--fig-h)); }
  .hero__figure { left: 50%; width: auto; }
  .hero__hint { display: none; }
  .hero__ui {
    grid-template-columns: 1fr; grid-template-rows: 1fr auto auto;
    padding-top: 88px; padding-bottom: 20px;
  }
  .hero__ui::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 52%; z-index: -1; pointer-events: none;
    background: linear-gradient(180deg, transparent 0%, rgba(11, 10, 9, 0.78) 40%, rgba(11, 10, 9, 0.96) 100%);
  }
  .hero__eyebrow { font-size: 10.5px; margin-bottom: 12px; }
  .hero__ui::before { display: none; }
  .meter {
    grid-column: 1; grid-row: 2; width: 100%; margin-bottom: 18px;
    padding: 0; border: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .meter__kicker { display: none; }
  .meter__caption { grid-column: 1 / -1; margin: 0; min-height: 0; font-size: 12px; }
  .meter__foot { display: contents; }
  .meter__row { gap: 10px; }
  .meter { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 14px; }
  .meter__row { grid-column: 1; }
  .meter__val { grid-column: 2; grid-row: 1; font-size: 1.7rem; }
  .meter__btn { grid-column: 1 / -1; display: none; }
  .hero__copy { grid-column: 1; grid-row: 3; max-width: none; }
  .hero__title { font-size: clamp(2rem, 8.6vw, 2.6rem); }
  .hero__lead { display: none; }
  .hero__ctas { margin-top: 18px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__ctas .link-arrow { display: none; }
}
@media (max-height: 700px) and (min-width: 901px) {
  .hero__lead { display: none; }
  .meter__caption { display: none; }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative; z-index: 1; overflow: hidden;
  padding: clamp(18px, 2.6vw, 30px) 0;
  border-block: 1px solid var(--ink-line);
  background: var(--ink);
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group {
  display: flex; align-items: center; flex: none;
  gap: clamp(24px, 3.4vw, 52px); padding-right: clamp(24px, 3.4vw, 52px);
  font-family: var(--font-display); font-size: clamp(1.9rem, 4.2vw, 4.2rem); line-height: 1.1;
  white-space: nowrap;
}
.marquee__sep { width: 0.62em; height: 0.66em; fill: var(--gold); opacity: 0.85; flex: none; }

/* ---------- Generic section ---------- */
.section { padding-block: clamp(96px, 13vw, 200px); }
.sheet {
  position: relative; z-index: 1;
  margin-top: calc(var(--radius-sheet) * -1);
  border-radius: var(--radius-sheet) var(--radius-sheet) 0 0;
  padding-block: clamp(96px, 12vw, 180px) calc(clamp(96px, 12vw, 180px) + var(--radius-sheet));
}
.sheet--light { background: var(--ivory); color: var(--text-dark); box-shadow: 0 -40px 80px -40px rgba(0, 0, 0, 0.5); }
.sheet--dark { background: var(--ink); color: var(--text-light); }

.section-head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end;
  margin-bottom: clamp(44px, 6vw, 88px);
}
.section-head .eyebrow { grid-column: 1 / -1; justify-self: start; }
.section-head .h2 { grid-column: 1 / 8; }
.section-head__lead { grid-column: 9 / 13; margin: 0; color: var(--muted-light); }

/* ---------- About ---------- */
.about__head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
  margin-bottom: clamp(64px, 9vw, 140px);
}
.about__head .eyebrow { grid-column: 1 / 4; align-self: start; margin-top: 0.9em; }
.about__statement {
  grid-column: 4 / 13; margin: 0;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 3.7rem); line-height: 1.1; letter-spacing: -0.025em;
  text-wrap: pretty;
}
.about__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.about__media { grid-column: 1 / 6; margin: 0; }
.about__frame { position: relative; aspect-ratio: 4 / 5.3; overflow: hidden; border-radius: 999px 999px var(--radius) var(--radius); }
.about__frame img, .why__media img { position: relative; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.about__media figcaption {
  margin-top: 16px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-light);
}
.about__body { grid-column: 7 / 13; padding-top: clamp(0px, 7vw, 130px); }
.about__body p { margin: 0 0 1.2em; color: var(--muted-light); max-width: 54ch; }
.about__body .about__lead { font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.55; color: var(--text-light); }
.facts {
  list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--ink-line);
}
.facts li {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px 24px 28px 0; border-bottom: 1px solid var(--ink-line);
}
.facts li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--ink-line); }
.facts__num {
  font-family: var(--font-sans); font-weight: 250; font-size: clamp(2.8rem, 4.8vw, 4.6rem); line-height: 0.9; letter-spacing: -0.05em;
  background-image: var(--gold-grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 9s linear infinite;
}
.facts__num b { font-weight: inherit; }
.facts__num--word { font-family: var(--font-display); font-weight: 400; font-style: italic; letter-spacing: -0.02em; }
.facts__label { font-size: 14px; line-height: 1.45; color: var(--muted-light); max-width: 22ch; }

@media (max-width: 900px) {
  .about__head .eyebrow, .about__statement { grid-column: 1 / -1; }
  .about__head .eyebrow { margin-top: 0; }
  .about__media { grid-column: 1 / -1; max-width: 460px; }
  .about__body { grid-column: 1 / -1; padding-top: 56px; }
}

/* ---------- Why ---------- */
.why__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.why__intro { display: contents; }
.why .eyebrow { grid-column: 1 / -1; grid-row: 1; justify-self: start; }
.why .h2 { grid-column: 1 / 9; grid-row: 2; margin-bottom: clamp(48px, 6vw, 96px); }
.why__media {
  grid-column: 1 / 6; grid-row: 3;
  position: relative; margin: 0;
  aspect-ratio: 4 / 4.6; overflow: hidden; border-radius: var(--radius);
  background: var(--ink);
}
.why__media img { filter: grayscale(1) contrast(1.12) brightness(0.92); }
.why__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, #caa560 0%, #4a3515 100%);
  mix-blend-mode: color;
}
.pillars { grid-column: 7 / 13; grid-row: 3; align-self: center; list-style: none; margin: 0; padding: 0; }
.pillar {
  display: grid; grid-template-columns: clamp(80px, 9vw, 128px) 1fr; gap: 24px; align-items: start;
  padding: clamp(28px, 3.4vw, 44px) 0; border-top: 1px solid var(--ivory-line);
}
.pillar:last-child { border-bottom: 1px solid var(--ivory-line); }
.pillar__n {
  font-family: var(--font-display); font-weight: 300; font-size: clamp(3.4rem, 6vw, 6rem); line-height: 0.78;
  color: transparent; -webkit-text-stroke: 1px var(--gold-lo);
  transition: color 0.6s var(--ease-out);
}
.pillar:hover .pillar__n { color: var(--gold); }
.pillar__title { margin: 0 0 10px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 2.8vw, 2.7rem); line-height: 1; }
.pillar p { margin: 0; color: var(--muted-dark); max-width: 36ch; }

@media (max-width: 900px) {
  .why .eyebrow, .why .h2, .why__media, .pillars { grid-column: 1 / -1; grid-row: auto; }
  .why__media { max-width: 520px; aspect-ratio: 4 / 3.4; margin-bottom: 40px; }
}

/* ---------- Results ---------- */
.results__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; align-items: start; }
.compare {
  --p: 50%;
  grid-column: 1 / 7;
  position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius);
  background: var(--ink-3);
  user-select: none; -webkit-user-select: none; touch-action: pan-y;
  cursor: ew-resize;
}
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--p); width: 1px;
  background: var(--gold-hi); box-shadow: 0 0 18px rgba(236, 212, 157, 0.6);
  pointer-events: none;
}
.compare__knob {
  position: absolute; top: 50%; left: 0; width: 60px; height: 60px; transform: translate(-50%, -50%);
  display: grid; place-items: center; border-radius: 50%;
  color: var(--gold-hi); background: rgba(11, 10, 9, 0.5);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--gold);
  transition: transform 0.5s var(--ease-out);
}
.compare.is-dragging .compare__knob { transform: translate(-50%, -50%) scale(0.86); }
.compare__tag {
  position: absolute; top: 18px; z-index: 1; padding: 7px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  background: rgba(11, 10, 9, 0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  pointer-events: none;
}
.compare__tag--before { left: 18px; }
.compare__tag--after { right: 18px; color: var(--ink); background: var(--gold); }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.compare:has(.compare__range:focus-visible) { outline: 2px solid var(--gold); outline-offset: 4px; }

.cases { grid-column: 8 / 13; display: grid; gap: clamp(28px, 3vw, 40px); }
.case { margin: 0; }
.case__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.case__img { position: relative; aspect-ratio: 4 / 4.6; overflow: hidden; border-radius: var(--radius); background: var(--ink-3); }
.case__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter 0.8s; }
.case__img:first-child img { filter: grayscale(0.35) brightness(0.92); }
.case:hover .case__img img { transform: scale(1.06); }
.case:hover .case__img:first-child img { filter: none; }
.case__img span {
  position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; border-radius: 999px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  background: rgba(11, 10, 9, 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.case__img:last-child span { background: var(--gold); color: var(--ink); }
.case figcaption { display: flex; gap: 14px; margin-top: 14px; font-size: 14px; color: var(--muted-light); }
.case figcaption span { color: var(--gold); font-weight: 600; letter-spacing: 0.06em; }

@media (max-width: 900px) {
  .section-head .h2, .section-head__lead { grid-column: 1 / -1; }
  .section-head__lead { margin-top: 20px; }
  .compare, .cases { grid-column: 1 / -1; }
  .compare { aspect-ratio: 4 / 4.8; }
}

/* ---------- Collection ---------- */
.collection__head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 24px; align-items: end;
  margin-bottom: clamp(36px, 4.4vw, 64px);
}
.collection__head > div { grid-column: 1 / 8; }
.collection__lead { grid-column: 9 / 13; margin: 0; color: var(--muted-dark); }

.collection__tools {
  display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap;
  padding: 18px 0; margin-bottom: 28px;
  border-top: 1px solid var(--ivory-line);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--ivory-line);
  font-size: 13px; font-weight: 500; line-height: 1.2; white-space: nowrap;
  transition: background-color 0.4s, color 0.4s, border-color 0.4s;
}
.chip:hover { border-color: currentColor; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.chips--dark .chip { border-color: var(--ink-line); color: var(--muted-light); }
.chips--dark .chip:hover { color: var(--text-light); border-color: rgba(236, 212, 157, 0.5); }
.chips--dark .chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.collection__meta { display: flex; align-items: center; gap: 20px; }
.collection__count { font-size: 13px; color: var(--muted-dark); white-space: nowrap; }
.collection__count b { font-weight: 700; color: var(--text-dark); }
.view-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--ivory-2); }
.view-toggle button {
  padding: 8px 16px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted-dark); transition: background-color 0.4s, color 0.4s;
}
.view-toggle button.is-active { background: var(--ivory); color: var(--text-dark); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07); }

.products {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ivory-line); border-left: 1px solid var(--ivory-line);
}
.products[hidden] { display: none; }
.product {
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(18px, 2vw, 28px);
  border-right: 1px solid var(--ivory-line); border-bottom: 1px solid var(--ivory-line);
  background: var(--ivory);
  transition: background-color 0.6s var(--ease-out);
}
.product:hover { background: #ebe3d5; }
.product.is-out { display: none; }
.product__top { display: flex; justify-content: space-between; align-items: center; min-height: 26px; }
.product__index { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; color: var(--muted-dark); }
.product__badge {
  padding: 5px 11px; border-radius: 999px; border: 1px solid var(--gold-lo); color: var(--gold-lo);
  font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
}
.product__media { aspect-ratio: 1; margin: -6px -6px 0; display: grid; place-items: center; overflow: hidden; }
.product__media img {
  width: 94%; height: 94%; object-fit: contain; mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(closest-side, #000 80%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 80%, transparent 100%);
  transition: transform 1.4s var(--ease-out);
}
.product:hover .product__media img { transform: rotate(-9deg) scale(1.07); }
.product__info { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.product__name { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 2.5vw, 2.6rem); line-height: 1; }
.product__price { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.product__price small { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; color: var(--muted-dark); margin-left: 3px; }
.product__short { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted-dark); min-height: 3.1em; }
.product__foot { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--ivory-line); display: grid; gap: 14px; }
.product__more {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
}
.product__more .icon { width: 16px; height: 16px; transition: transform 0.6s var(--ease-out); }
.product:hover .product__more .icon { transform: translateX(6px); }
.product__hit { position: absolute; inset: 0; z-index: 2; border-radius: 0; }
.product__hit:focus-visible { outline-offset: -4px; }

/* Duration meter */
.life { display: grid; gap: 8px; }
.life__label { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--muted-dark); }
.life__label b { color: var(--text-dark); font-weight: 600; }
.life__track {
  position: relative; height: 4px; border-radius: 2px; background: var(--ivory-3);
  background-image: linear-gradient(90deg, transparent calc(40% - 1px), rgba(22, 19, 15, 0.25) calc(40% - 1px), rgba(22, 19, 15, 0.25) 40%, transparent 40%,
                                    transparent calc(80% - 1px), rgba(22, 19, 15, 0.25) calc(80% - 1px), rgba(22, 19, 15, 0.25) 80%, transparent 80%);
}
.life__fill {
  position: absolute; top: 0; bottom: 0; left: var(--from); right: calc(100% - var(--to));
  border-radius: 2px; background: var(--gold-grad-dark);
  transform-origin: left; transition: transform 1.2s var(--ease-out);
}
.life__fill.is-plus { right: 0; background: linear-gradient(90deg, #8a6a30, #c9a35a 70%, rgba(201, 163, 90, 0)); }
.life__scale { position: relative; height: 12px; font-size: 10px; line-height: 12px; letter-spacing: 0.08em; color: var(--muted-dark); }
.life__scale span { position: absolute; top: 0; white-space: nowrap; }
.life__scale span:nth-child(1) { left: 0; }
.life__scale span:nth-child(2) { left: 40%; transform: translateX(-50%); }
.life__scale span:nth-child(3) { left: 80%; transform: translateX(-50%); }
.life--lg .life__track { height: 6px; }

/* Compare table */
.table-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border-top: 1px solid var(--ivory-line);
  scrollbar-width: thin;
}
.table-wrap[hidden] { display: none; }
.spec-table { width: 100%; min-width: 880px; border-collapse: collapse; font-size: 14.5px; line-height: 1.45; }
.spec-table th {
  padding: 18px 16px; text-align: left; white-space: nowrap;
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dark);
  border-bottom: 1px solid var(--ivory-line);
}
.spec-table td { padding: 20px 16px; border-bottom: 1px solid var(--ivory-line); vertical-align: middle; }
.spec-table tbody tr { transition: background-color 0.3s; }
.spec-table tbody tr:hover { background: rgba(22, 19, 15, 0.035); }
.spec-table td:first-child { white-space: nowrap; }
.spec-table th:first-child, .spec-table td:first-child { position: sticky; left: 0; background: var(--ivory); z-index: 1; }
.spec-table tbody tr:hover td:first-child { background: #ece6db; }
.spec-table__name { font-family: var(--font-display); font-size: 1.7rem; line-height: 1; }
.spec-table__badge { display: block; margin-top: 4px; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-lo); }
.spec-table .is-strong { color: var(--gold-lo); font-weight: 600; }
.spec-table__price { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.spec-table__btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--ivory-line); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap;
  transition: background-color 0.3s, color 0.3s;
}
.spec-table__btn:hover { background: var(--ink); color: var(--ivory); }

.collection__note { margin: 28px 0 0; font-size: 14px; color: var(--muted-dark); }
.collection__note a { color: var(--text-dark); font-weight: 600; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat; }

@media (max-width: 1100px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .collection__head > div, .collection__lead { grid-column: 1 / -1; }
  .collection__tools { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .chips::-webkit-scrollbar { display: none; }
  .collection__meta { justify-content: space-between; }
}
@media (max-width: 560px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product { padding: 14px 12px 16px; gap: 10px; }
  .product__info { flex-direction: column; gap: 4px; }
  .product__name { font-size: 1.65rem; }
  .product__price { font-size: 13px; }
  .product__short, .product__foot .life { display: none; }
  .product__badge { font-size: 8.5px; padding: 4px 8px; letter-spacing: 0.1em; }
  .product__index { font-size: 10px; }
  .product__foot { padding-top: 10px; }
  .product__more { font-size: 10px; }
}

/* Frontales */
.frontales {
  margin-top: clamp(80px, 10vw, 150px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--ink); color: var(--text-light);
  border-radius: var(--radius); overflow: hidden;
}
.frontales__media { position: relative; aspect-ratio: 768 / 936; overflow: hidden; }
.frontales__media img { width: 100%; height: 100%; object-fit: cover; }
.frontales__lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--gold-hi); stroke-width: 1.4; }
.frontales__lines path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.frontales__lines circle { fill: var(--gold-hi); stroke: rgba(236, 212, 157, 0.35); stroke-width: 8; }
.frontales__notes { list-style: none; margin: 0; padding: 0; }
.frontales__notes li {
  position: absolute; max-width: 15em; padding: 9px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; line-height: 1.3; text-transform: uppercase;
  background: rgba(11, 10, 9, 0.62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(236, 212, 157, 0.35);
}
.frontales__notes .n1 { left: 3%; top: 4%; }
.frontales__notes .n2 { right: 3%; top: 3%; }
.frontales__notes .n3 { right: 3%; top: 38%; }
.frontales__body { padding: clamp(32px, 5.4vw, 88px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.frontales__price {
  margin: 22px 0 26px; font-family: var(--font-display); font-size: clamp(2.2rem, 3.6vw, 3.6rem); line-height: 1;
  background-image: var(--gold-grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 9s linear infinite;
}
.frontales__price small {
  font-family: var(--font-sans); font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted-light); -webkit-text-fill-color: var(--muted-light); vertical-align: middle; margin-inline: 4px;
}
.frontales__price .nw { white-space: nowrap; }
.frontales__price .nw:first-child small { margin-left: 0; }
.frontales__list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.frontales__list li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.frontales__list li::before { content: ""; width: 18px; height: 1px; background: var(--gold); flex: none; }
.frontales__note { margin: 0 0 32px; color: var(--muted-light); font-size: 14.5px; max-width: 40ch; }

@media (max-width: 900px) {
  .frontales { grid-template-columns: 1fr; }
  .frontales__notes li { font-size: 9.5px; padding: 7px 10px; letter-spacing: 0.08em; max-width: 13em; }
}

/* ---------- Tones ---------- */
.tones { overflow-x: clip; }
.tones__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: clamp(48px, 6vw, 80px);
  align-items: center;
}
.tones__intro { grid-column: 1 / 6; }
.tones__lead { margin: 24px 0 28px; color: var(--muted-light); max-width: 46ch; }
.tones__stage { grid-column: 7 / 13; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.tones__plate {
  position: relative; width: min(100%, 460px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 32%, #fbf8f2 0%, #ece4d6 55%, #d6cab4 100%);
  box-shadow: inset 0 -30px 60px rgba(60, 40, 10, 0.16), 0 50px 90px -30px rgba(0, 0, 0, 0.7);
}
.tones__plate::before {
  content: ""; position: absolute; inset: -16px; border-radius: 50%;
  border: 1px solid var(--ink-line);
}
.tones__plate::after {
  content: ""; position: absolute; inset: -16px; border-radius: 50%;
  border: 1px solid transparent; border-top-color: var(--gold);
  animation: spin 14s linear infinite;
}
.tones__img { width: 70%; height: auto; mix-blend-mode: multiply; }
.tones__readout { display: grid; justify-items: center; gap: 10px; text-align: center; }
.tones__code {
  font-family: var(--font-display); font-weight: 300; font-size: clamp(3.4rem, 5.6vw, 5.4rem); line-height: 0.85;
  background-image: var(--gold-grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tones__name { font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
.tones__grey { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted-light); }
.tones__grey i {
  position: relative; width: 120px; height: 4px; border-radius: 2px; background: var(--ink-3); overflow: hidden;
}
.tones__grey i::after {
  content: ""; position: absolute; inset: 0; right: auto; width: calc(var(--g) * 1%);
  background: linear-gradient(90deg, #9a958d, #e2ded6); border-radius: 2px;
  transition: width 0.8s var(--ease-out);
}
.tones__grey b { font-weight: 600; }

.swatches {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 22px 10px;
  padding-top: clamp(28px, 3vw, 44px); border-top: 1px solid var(--ink-line);
}
.swatch {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted-light);
  transition: opacity 0.5s, color 0.3s;
}
.swatch__chip {
  width: 60px; height: 60px; border-radius: 50%; overflow: hidden;
  outline: 1px solid var(--ink-line); outline-offset: 4px;
  transition: transform 0.6s var(--ease-out), outline-color 0.3s, outline-offset 0.4s;
}
.swatch__chip img { width: 100%; height: 100%; object-fit: cover; }
.swatch:hover .swatch__chip { transform: scale(1.08); }
.swatch[aria-pressed="true"] { color: var(--gold-hi); }
.swatch[aria-pressed="true"] .swatch__chip { outline: 1.5px solid var(--gold); outline-offset: 6px; }
.swatch.is-dim { opacity: 0.2; }
.swatch:focus-visible { outline: none; }
.swatch:focus-visible .swatch__chip { outline: 2px solid var(--gold); }

@media (max-width: 900px) {
  .tones__intro, .tones__stage { grid-column: 1 / -1; }
  .tones__plate { width: min(78vw, 380px); }
  .tones .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .swatches { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px 6px; }
  .swatch__chip { width: 52px; height: 52px; }
}

/* ---------- Process ---------- */
.process__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; }
.process__intro { grid-column: 1 / 6; align-self: start; position: sticky; top: 110px; }
.process__lead { margin: 24px 0 32px; color: var(--muted-dark); max-width: 40ch; }
.process__media {
  margin: clamp(40px, 5vw, 64px) 0 0; width: min(100%, 380px);
  aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px var(--radius) var(--radius);
}
.process__media img { position: relative; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.steps { grid-column: 7 / 13; list-style: none; margin: 0; padding: 0; }
.step {
  display: grid; grid-template-columns: clamp(64px, 7vw, 104px) 1fr; gap: 24px;
  padding: clamp(32px, 3.6vw, 48px) 0; border-top: 1px solid var(--ivory-line);
}
.step__n { font-family: var(--font-display); font-weight: 300; font-size: clamp(3rem, 4.6vw, 4.6rem); line-height: 0.8; color: var(--gold-lo); }
.step__title { margin: 0 0 12px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 2.6vw, 2.5rem); line-height: 1.02; }
.step p { margin: 0; color: var(--muted-dark); max-width: 44ch; }
.step strong { color: var(--text-dark); font-weight: 700; }
.step--note {
  margin-top: 12px; padding: clamp(24px, 3vw, 36px); border: 0;
  background: var(--ivory-2); border-radius: var(--radius);
}
.step--note .step__n { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--gold); }
.step--note .step__n .icon { width: 24px; height: 24px; }

@media (max-width: 900px) {
  .process__intro { grid-column: 1 / -1; position: static; }
  .steps { grid-column: 1 / -1; }
}

/* ---------- FAQ ---------- */
.faq {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px;
  margin-top: clamp(96px, 12vw, 180px);
  scroll-margin-top: 80px;
}
.faq__intro { grid-column: 1 / 6; }
.faq__list { grid-column: 7 / 13; border-top: 1px solid var(--ivory-line); }
.qa { border-bottom: 1px solid var(--ivory-line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.2;
  transition: color 0.3s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--gold-lo); }
.qa__icon {
  position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--ivory-line); transition: background-color 0.4s, border-color 0.4s, transform 0.6s var(--ease-out);
}
.qa__icon::before, .qa__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px;
  background: currentColor; transition: transform 0.5s var(--ease-out);
}
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon { background: var(--ink); border-color: var(--ink); color: var(--ivory); transform: rotate(180deg); }
.qa[open] .qa__icon::after { transform: rotate(0deg); }
.qa__a p { margin: 0; padding: 0 56px 26px 0; color: var(--muted-dark); max-width: 60ch; }
.qa::details-content {
  height: 0; overflow: clip;
  transition: height 0.6s var(--ease-out), content-visibility 0.6s allow-discrete;
}
.qa[open]::details-content { height: auto; }

@media (max-width: 900px) {
  .faq__intro, .faq__list { grid-column: 1 / -1; }
  .qa__a p { padding-right: 0; }
}

/* ---------- PQRS ---------- */
.pqrs {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px;
  margin-top: clamp(96px, 12vw, 180px);
  scroll-margin-top: 80px;
}
.pqrs__intro { grid-column: 1 / 6; align-self: start; position: sticky; top: 110px; }
.pqrs__lead { margin: 24px 0 28px; color: var(--muted-dark); max-width: 44ch; }
.pqrs__notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pqrs__notes li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--text-dark); }
.pqrs__notes .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--gold-lo); }

.pqrs__card {
  grid-column: 7 / 13;
  position: relative;
  padding: clamp(24px, 3.4vw, 48px);
  border-radius: 20px;
  background: #f8f4ed;
  border: 1px solid var(--ivory-line);
  box-shadow: 0 30px 80px -40px rgba(60, 40, 10, 0.35);
}
.pqrs__form { display: grid; gap: 30px; }
.pqrs__form[hidden] { display: none; }
.pqrs__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.field__label {
  display: block; padding: 0; margin: 0 0 12px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.5;
  color: var(--text-dark);
}
.field__label .req { color: var(--gold-lo); }
.field__label .opt { margin-left: 6px; font-weight: 500; letter-spacing: 0.06em; text-transform: none; color: var(--muted-dark); }
.field__input {
  width: 100%; padding: 10px 0 12px;
  font: inherit; font-size: 16px; color: var(--text-dark);
  background: transparent; border: 0; border-bottom: 1px solid rgba(22, 19, 15, 0.25); border-radius: 0;
  transition: border-color 0.3s, box-shadow 0.3s;
  -webkit-appearance: none; appearance: none;
}
.field__input::placeholder { color: rgba(22, 19, 15, 0.35); }
.field__input:focus { outline: none; border-bottom-color: var(--gold-lo); box-shadow: 0 1px 0 0 var(--gold-lo); }
.field__input[aria-invalid="true"] { border-bottom-color: #a5452f; box-shadow: 0 1px 0 0 #a5452f; }
.field__textarea {
  min-height: 140px; resize: vertical; line-height: 1.6;
  padding: 14px 16px; border: 1px solid rgba(22, 19, 15, 0.2); border-radius: 12px; background: #fff;
}
.field__textarea:focus { border-color: var(--gold-lo); box-shadow: 0 0 0 3px rgba(138, 106, 48, 0.15); }
.field__textarea[aria-invalid="true"] { border-color: #a5452f; box-shadow: 0 0 0 3px rgba(165, 69, 47, 0.12); }
.field--date .field__input { max-width: 260px; color-scheme: light; }
.field__prefix { display: flex; align-items: baseline; gap: 10px; }
.field__prefix > span { font-size: 16px; color: var(--muted-dark); padding-bottom: 12px; border-bottom: 1px solid rgba(22, 19, 15, 0.25); }
.field__meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 8px; }
.field__count { margin-left: auto; font-size: 12px; color: var(--muted-dark); font-variant-numeric: tabular-nums; }
.field__error { margin: 8px 0 0; font-size: 13px; color: #a5452f; }
.field__meta .field__error { margin: 0; }

/* Request type tiles */
.types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.type { position: relative; }
.type input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.type__tile {
  display: flex; flex-direction: column; gap: 8px; height: 100%;
  padding: 16px 14px 14px; border-radius: 14px;
  border: 1px solid var(--ivory-line); background: #fff;
  transition: background-color 0.4s var(--ease-out), border-color 0.4s, transform 0.5s var(--ease-out), color 0.4s;
  pointer-events: none;
}
.type__letter { font-family: var(--font-display); font-size: 2.6rem; line-height: 0.8; color: var(--gold-lo); transition: color 0.4s; }
.type__name { font-size: 14px; font-weight: 600; }
.type__hint { font-size: 12px; line-height: 1.4; color: var(--muted-dark); transition: color 0.4s; }
.type:hover .type__tile { border-color: rgba(22, 19, 15, 0.4); transform: translateY(-2px); }
.type input:checked + .type__tile { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.type input:checked + .type__tile .type__letter { color: var(--gold-hi); }
.type input:checked + .type__tile .type__hint { color: rgba(242, 237, 228, 0.65); }
.type input:focus-visible + .type__tile { outline: 2px solid var(--gold-lo); outline-offset: 3px; }

/* Topic chips (radio) */
.chips--form { flex-wrap: wrap; }
.chip--radio { position: relative; cursor: pointer; }
.chip--radio input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip--radio:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.chip--radio:has(input:focus-visible) { outline: 2px solid var(--gold-lo); outline-offset: 3px; }

/* Answer channel */
.channels-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pick { position: relative; }
.pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pick__tile {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px;
  border: 1px solid var(--ivory-line); background: #fff; font-size: 14.5px; font-weight: 600;
  transition: background-color 0.4s, border-color 0.4s, color 0.4s; pointer-events: none;
}
.pick__tile .icon { width: 20px; height: 20px; color: var(--gold-lo); }
.pick:hover .pick__tile { border-color: rgba(22, 19, 15, 0.4); }
.pick input:checked + .pick__tile { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.pick input:checked + .pick__tile .icon { color: var(--gold-hi); }
.pick input:focus-visible + .pick__tile { outline: 2px solid var(--gold-lo); outline-offset: 3px; }

/* Consent */
.consent { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent__box {
  flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px;
  border-radius: 6px; border: 1.5px solid rgba(22, 19, 15, 0.4); background: #fff;
  transition: background-color 0.3s, border-color 0.3s;
}
.consent__box .icon { width: 15px; height: 15px; color: var(--ivory); opacity: 0; transform: scale(0.6); transition: opacity 0.3s, transform 0.4s var(--ease-out); }
.consent input:checked + .consent__box { background: var(--ink); border-color: var(--ink); }
.consent input:checked + .consent__box .icon { opacity: 1; transform: none; }
.consent input:focus-visible + .consent__box { outline: 2px solid var(--gold-lo); outline-offset: 3px; }
.consent input[aria-invalid="true"] + .consent__box { border-color: #a5452f; }
.consent__text { font-size: 13.5px; line-height: 1.55; color: var(--muted-dark); }

/* Submit */
.pqrs__submit { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.pqrs__btn { width: 100%; justify-content: space-between; }
.pqrs__btn .icon { transition: transform 0.6s var(--ease-out); }
.pqrs__btn:hover .icon { transform: translateX(5px); }
.pqrs__btn[aria-busy="true"] { pointer-events: none; opacity: 0.85; }
.pqrs__btn[aria-busy="true"] .icon { animation: nudge 0.9s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }
.pqrs__status { margin: 0; font-size: 13.5px; color: var(--muted-dark); }
.pqrs__status a { color: var(--text-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pqrs__status.is-error { color: #a5452f; }

/* Done */
.pqrs__done { display: grid; justify-items: start; gap: 6px; padding: clamp(12px, 2vw, 24px) 0; outline: none; }
.pqrs__done[hidden] { display: none; }
.pqrs__check { width: 76px; height: 76px; margin-bottom: 18px; fill: none; stroke: var(--gold-lo); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pqrs__check circle, .pqrs__check path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.pqrs__done.is-in .pqrs__check circle { animation: draw 0.9s var(--ease-out) both; }
.pqrs__done.is-in .pqrs__check path { animation: draw 0.6s 0.5s var(--ease-out) both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.pqrs__done-title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height: 1; letter-spacing: -0.02em; }
.pqrs__done-title em { font-style: italic; color: var(--gold-lo); }
.pqrs__done-text { margin: 14px 0 26px; color: var(--muted-dark); max-width: 46ch; }
.pqrs__done-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }

.footer__link { color: var(--gold-hi); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }

@media (max-width: 1100px) {
  .types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .pqrs__intro, .pqrs__card { grid-column: 1 / -1; }
  .pqrs__intro { position: static; }
  .pqrs__card { margin-inline: calc(var(--gutter) * -0.5); }
}
@media (max-width: 560px) {
  .pqrs__row, .channels-pick { grid-template-columns: 1fr; }
  .type__tile { padding: 14px 12px 12px; }
  .type__letter { font-size: 2.2rem; }
  .chips--form { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .chips--form .chip { white-space: normal; }
}

/* ---------- Contact ---------- */
.contact { overflow: hidden; padding-bottom: clamp(80px, 9vw, 130px); }
.contact__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit; overflow: hidden; }
.contact__marble {
  position: absolute; inset: 0;
  background: url("../img/marmol-oscuro.webp") center / cover; opacity: 0.2;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.6) 45%, transparent 85%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.6) 45%, transparent 85%);
}
.beam--c { left: 30%; width: 50vw; top: -30%; }
.contact .container { position: relative; z-index: 1; }
.contact__hero {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
  align-items: end;
}
.contact__title {
  grid-column: 1 / 9; grid-row: 1; margin: 0;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.8rem, 6.6vw, 7.6rem); line-height: 0.96; letter-spacing: -0.03em;
  text-wrap: balance;
}
.contact__person {
  grid-column: 9 / 13; grid-row: 1 / 3; justify-self: end; align-self: end;
  width: 100%; max-width: 440px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%), linear-gradient(180deg, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 26%), linear-gradient(180deg, #000 78%, transparent 100%);
  mask-composite: intersect;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
}
.contact__hero .btn { grid-column: 1 / 9; grid-row: 2; justify-self: start; margin-top: clamp(32px, 4vw, 56px); }

.contact__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 24px;
  margin-top: clamp(56px, 7vw, 110px);
}
.channels { grid-column: 1 / 7; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink-line); }
.channels a {
  display: grid; grid-template-columns: 26px minmax(90px, 120px) 1fr 20px; align-items: center; gap: 16px;
  padding: 22px 0; border-bottom: 1px solid var(--ink-line);
  transition: padding 0.6s var(--ease-out), color 0.3s;
}
.channels a:hover { padding-left: 12px; color: var(--gold-hi); }
.channels .icon { width: 22px; height: 22px; color: var(--gold); }
.channels__k { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-light); }
.channels__v { font-size: 15.5px; }
.channels__go { opacity: 0.4; transition: transform 0.6s var(--ease-out), opacity 0.3s; }
.channels a:hover .channels__go { opacity: 1; transform: translateX(4px); }

.reserve {
  grid-column: 7 / 13;
  display: flex; gap: clamp(20px, 3vw, 40px); align-items: center;
  padding: clamp(22px, 2.4vw, 32px);
  border: 1px solid var(--ink-line); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(236, 212, 157, 0.06), rgba(236, 212, 157, 0.01));
  scroll-margin-top: 100px;
}
.reserve__text { flex: 1; min-width: 0; }
.reserve__title { margin: 0; font-family: var(--font-display); font-size: clamp(1.5rem, 2vw, 1.9rem); line-height: 1.15; }
.reserve__title b { font-weight: 500; color: var(--gold-hi); }
.reserve__key {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 20px 0 16px; padding: 8px 8px 8px 18px;
  border: 1px dashed rgba(236, 212, 157, 0.5); border-radius: 999px; max-width: 100%;
}
.reserve__key > span { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-light); }
.reserve__key code { font-family: var(--font-sans); font-size: clamp(15px, 1.4vw, 18px); font-weight: 700; letter-spacing: 0.08em; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.reserve__copy {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px;
  background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  transition: background-color 0.3s;
}
.reserve__copy:hover { background: var(--gold-hi); }
.reserve__copy .icon { width: 15px; height: 15px; }
.reserve__hint { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted-light); }
.reserve__qr { width: clamp(120px, 11vw, 168px); flex: none; border-radius: 8px; }

.map {
  grid-column: 1 / -1; position: relative; min-height: clamp(280px, 30vw, 380px);
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--ink-line); background: var(--ink-3);
}
.map iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: grayscale(1) invert(0.92) sepia(0.25) contrast(0.9) brightness(0.95);
}
.map__label {
  position: absolute; left: 12px; bottom: 12px; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.map__label .icon { width: 15px; height: 15px; }

@media (max-width: 900px) {
  .contact__title { grid-column: 1 / -1; }
  .contact__person { grid-column: 7 / 13; grid-row: 2; width: 100%; max-width: 230px; margin-top: 12px; }
  .contact__hero .btn { grid-column: 1 / 8; align-self: center; margin-top: 24px; }
  .channels, .reserve { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .contact__hero .btn { grid-column: 1 / -1; grid-row: 3; width: 100%; }
  .contact__person { grid-column: 4 / 13; max-width: 260px; }
  .channels a { grid-template-columns: 22px 1fr 18px; row-gap: 2px; }
  .channels__k { grid-column: 2; grid-row: 1; }
  .channels__v { grid-column: 2; grid-row: 2; }
  .channels .icon:first-child { grid-row: 1 / 3; }
  .channels__go { grid-column: 3; grid-row: 1 / 3; }
  .reserve { flex-direction: column; }
  .reserve__qr { width: 150px; }
}

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 1; background: var(--ink); padding: clamp(56px, 7vw, 96px) 0 28px; overflow: hidden; border-top: 1px solid var(--ink-line); }
.footer__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__claim { margin: 0; font-family: var(--font-display); font-size: clamp(1.7rem, 2.8vw, 2.6rem); line-height: 1.05; }
.footer__up { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-light); transition: color 0.3s; }
.footer__up:hover { color: var(--gold-hi); }
.footer__up .icon { width: 16px; height: 16px; }
.footer__word {
  display: flex; align-items: center; justify-content: center; gap: 0.1em;
  margin: clamp(40px, 6vw, 88px) 0 clamp(28px, 4vw, 48px);
  font-family: var(--font-display); font-weight: 500;
  font-variation-settings: "opsz" 40;
  font-size: min(10.8vw, 13.5rem); line-height: 0.86; letter-spacing: -0.03em;
  white-space: nowrap;
}
.footer__word span {
  background-image: var(--gold-grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 12s linear infinite;
  padding-bottom: 0.08em;
}
.footer__word span:last-child { font-style: italic; }
.footer__mono { width: 0.5em; height: auto; aspect-ratio: 214 / 225.5; fill: var(--gold); flex: none; margin-inline: 0.04em; }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid var(--ink-line);
  font-size: 13px; color: var(--muted-light);
}
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--ink-line); transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.footer__social a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.footer__social .icon { width: 17px; height: 17px; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 850;
  display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px 0 16px; border-radius: 999px;
  background: var(--gold-grad); background-size: 220% 100%; color: var(--ink);
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.6);
  transform: translateY(140%); opacity: 0;
  transition: transform 0.8s var(--ease-out), opacity 0.5s, background-position 1s var(--ease-out);
}
.wa-float.is-visible { transform: none; opacity: 1; }
.menu-open .wa-float { transform: translateY(140%); opacity: 0; pointer-events: none; }
.wa-float:hover { background-position: 100% 0; }
.wa-float .icon { width: 22px; height: 22px; }
@media (max-width: 560px) {
  .wa-float { width: 56px; height: 56px; padding: 0; justify-content: center; }
  .wa-float span { display: none; }
}

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 1000; display: flex; justify-content: flex-end; }
.drawer[hidden] { display: none; }
.drawer__backdrop {
  position: absolute; inset: 0; background: rgba(11, 10, 9, 0.62);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.drawer__panel {
  position: relative; width: min(640px, 100%); height: 100%;
  display: flex; flex-direction: column;
  background: var(--ivory); color: var(--text-dark);
  box-shadow: -40px 0 80px rgba(0, 0, 0, 0.35);
  outline: none;
}
.drawer__close {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); color: var(--ivory);
  transition: transform 0.6s var(--ease-out), background-color 0.3s;
}
.drawer__close:hover { transform: rotate(90deg); background: var(--gold-lo); }
.drawer__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.drawer__media { position: relative; aspect-ratio: 1.12; display: grid; place-items: center; background: var(--ivory-2); overflow: hidden; }
.drawer__media img {
  width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(closest-side, #000 80%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 80%, transparent 100%);
}
.drawer__body { padding: clamp(28px, 4vw, 44px) clamp(22px, 4vw, 48px) 48px; }
.drawer__body .eyebrow { margin-bottom: 14px; }
.drawer__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.8rem, 6vw, 4.4rem); line-height: 0.92; letter-spacing: -0.01em; }
.drawer__price { margin: 14px 0 22px; font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; }
.drawer__price small { font-size: 11px; color: var(--muted-dark); letter-spacing: 0.14em; margin-left: 4px; }
.drawer__desc { margin: 0; color: var(--muted-dark); line-height: 1.7; }
.drawer__specs { margin: 30px 0 26px; border-top: 1px solid var(--ivory-line); }
.drawer__specs div { display: grid; grid-template-columns: minmax(110px, 160px) 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--ivory-line); }
.drawer__specs dt { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dark); padding-top: 3px; }
.drawer__specs dd { margin: 0; font-size: 15px; }
.drawer__ideal { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; }
.drawer__ideal li { padding: 8px 14px; border-radius: 999px; background: var(--ivory-2); font-size: 13px; font-weight: 500; }
.drawer__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 34px; }
.drawer__nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ivory-line); background: var(--ivory); }
.drawer__nav button {
  display: flex; align-items: center; gap: 10px; padding: 18px clamp(18px, 3vw, 28px);
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  transition: background-color 0.3s;
}
.drawer__nav button:hover { background: var(--ivory-2); }
.drawer__nav button + button { justify-content: flex-end; border-left: 1px solid var(--ivory-line); text-align: right; }
.drawer__nav .icon { width: 16px; height: 16px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 1200;
  padding: 12px 20px; border-radius: 999px;
  background: var(--ivory); color: var(--ink); font-size: 13px; font-weight: 600;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, 160%); opacity: 0; pointer-events: none;
  transition: transform 0.7s var(--ease-out), opacity 0.4s;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .grain { display: none; }
  .js .loader { display: none; }
}

/* ==========================================================================
   Nuevas secciones: cuenta, probador IA, mayoristas
   ========================================================================== */

/* Nav: acceso a la cuenta */
.nav__end { justify-self: end; display: flex; align-items: center; gap: 10px; }
.nav__account {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 12px;
  border: 1px solid var(--ink-line); border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-light);
  transition: color 0.3s, border-color 0.3s, background-color 0.3s;
}
.nav__account:hover { color: var(--text-light); border-color: rgba(236, 212, 157, 0.5); }
.nav__account .icon { width: 18px; height: 18px; color: var(--gold); }
@media (max-width: 1180px) { .nav__account span { display: none; } .nav__account { width: 42px; padding: 0; justify-content: center; } }
@media (max-width: 960px) { .nav__end { gap: 8px; } }
@media (max-width: 520px) { .nav__end .nav__cta { display: none; } }

.footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__links a { color: var(--muted-light); transition: color 0.3s; }
.footer__links a:hover { color: var(--gold-hi); }

/* ---------- Probador IA (teaser) ---------- */
.tryon-teaser__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 56px; align-items: center;
}
.tryon-teaser__intro { grid-column: 1 / 7; }
.tryon-teaser__lead { margin: 26px 0 34px; max-width: 46ch; color: var(--muted-dark); }
.tryon-steps { list-style: none; margin: 0 0 40px; padding: 0; display: grid; border-top: 1px solid var(--ivory-line); }
.tryon-steps li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--ivory-line); }
.tryon-steps__n { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.1; color: var(--gold-lo); }
.tryon-steps b { display: block; font-size: 16px; font-weight: 600; }
.tryon-steps p { margin: 2px 0 0; font-size: 14.5px; color: var(--muted-dark); }
.tryon-teaser__ctas { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; }
.tryon-teaser__note { margin: 0; font-size: 14px; color: var(--muted-dark); }
.tryon-teaser__note b { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: var(--gold-lo); }

.tryon-demo { grid-column: 8 / 13; margin: 0; }
.tryon-demo__screen {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5;
  border-radius: 28px; background: radial-gradient(120% 90% at 50% 20%, #2a241c 0%, var(--ink) 65%);
  box-shadow: 0 40px 90px -40px rgba(30, 20, 5, 0.65), inset 0 0 0 1px rgba(236, 212, 157, 0.14);
}
.tryon-demo__img { position: absolute; left: 50%; bottom: -4%; width: 118%; max-width: none; transform: translateX(-50%); }
.tryon-demo__img--after { clip-path: inset(0 0 100% 0); animation: tryon-reveal 6s var(--ease-in-out) infinite; }
.tryon-demo__scan {
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--gold-grad); box-shadow: 0 0 24px 4px rgba(236, 212, 157, 0.55);
  animation: tryon-scan 6s var(--ease-in-out) infinite;
}
@keyframes tryon-reveal { 0%, 12% { clip-path: inset(0 0 100% 0); } 55%, 88% { clip-path: inset(0 0 0% 0); } 100% { clip-path: inset(0 0 100% 0); } }
@keyframes tryon-scan { 0%, 12% { top: 0; opacity: 0; } 16% { opacity: 1; } 55% { top: 100%; opacity: 1; } 58%, 100% { top: 100%; opacity: 0; } }
.tryon-demo__chips {
  position: absolute; left: 16px; right: 16px; top: 16px; margin: 0; padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.tryon-demo__chips li {
  display: inline-flex; gap: 6px; padding: 7px 12px; border-radius: 999px;
  background: rgba(11, 10, 9, 0.62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(236, 212, 157, 0.2);
  font-size: 12px; font-weight: 600; color: var(--text-light);
}
.tryon-demo__chips span { color: var(--gold-hi); font-weight: 500; }
.tryon-demo__status {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; white-space: nowrap;
  background: var(--ivory); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.tryon-demo__status i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.25; transform: scale(0.7); } }
.tryon-demo figcaption { margin-top: 14px; font-size: 12.5px; line-height: 1.5; color: var(--muted-dark); }

@media (max-width: 900px) {
  .tryon-teaser__intro, .tryon-demo { grid-column: 1 / -1; }
  .tryon-demo { max-width: 460px; }
}

/* ---------- Mayoristas y distribuidores ---------- */
.trade__tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tier {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(26px, 3vw, 44px); border-radius: 22px;
  background: var(--ink-2); border: 1px solid var(--ink-line);
}
.tier--gold { background: linear-gradient(160deg, #241e15 0%, var(--ink-2) 60%); border-color: rgba(236, 212, 157, 0.32); }
.tier__kicker { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.tier__kicker span { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: 0; color: var(--gold-hi); }
.tier__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 2.6vw, 2.5rem); line-height: 1.05; letter-spacing: -0.015em; }
.tier__text { margin: 0; color: var(--muted-light); }
.tier__list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 10px; }
.tier__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.tier__list .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--gold); }
.tier__min { margin: 6px 0 0; padding-top: 14px; border-top: 1px solid var(--ink-line); font-size: 14px; color: var(--muted-light); }
.tier__min b { color: var(--gold-hi); }
.tier__note { margin: 0; font-size: 13.5px; color: var(--muted-light); }

.trade__apply {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px;
  margin-top: clamp(64px, 8vw, 120px);
}
.trade__apply-intro { grid-column: 1 / 5; align-self: start; position: sticky; top: 110px; }
.trade__apply-title { margin: 0 0 18px; font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 3vw, 3rem); line-height: 1.02; letter-spacing: -0.02em; }
.trade__apply-title em { font-style: italic; color: var(--gold-hi); }
.trade__apply-intro p { margin: 0 0 26px; color: var(--muted-light); max-width: 40ch; }
.trade__card {
  grid-column: 6 / 13;
  padding: clamp(24px, 3.4vw, 48px); border-radius: 20px;
  background: #f8f4ed; color: var(--text-dark);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.7);
}
.trade__card .eyebrow { color: var(--gold-lo); }
.trade__form { display: grid; gap: 28px; }
.trade__form[hidden] { display: none; }
.trade__form .pick__tile { justify-content: center; }
.trade__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.field__select {
  cursor: pointer; padding-right: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2316130f' stroke-width='1.6' d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 4px center / 14px no-repeat;
}

@media (max-width: 900px) {
  .trade__tiers { grid-template-columns: 1fr; }
  .trade__apply-intro, .trade__card { grid-column: 1 / -1; position: static; }
}
@media (prefers-reduced-motion: reduce) {
  .tryon-demo__scan { display: none; }
  .tryon-demo__img--after { animation: none; clip-path: none; opacity: 0; }
}
