/* ═══════════════════════════════════════════════════════
   StickersFX — Web Pública
   Guía de desarrollo: DESIGN.md (raíz del proyecto)
   Fuentes: self-hosted via /fonts/fonts.css
   ═══════════════════════════════════════════════════════ */

:root {
  /* Neutros */
  --ink: #0a0a0a;
  --ink-mute: #555555;
  --ink-soft: #6b6b6b;
  --white: #ffffff;
  --cream: #faf8f3;
  --paper: #f5f3ee;

  /* Paleta viva */
  --blue: #4D7CFF;
  --blue2: #6B91FF;
  --blue-dark: #3A5FCC;
  --cyan: #00e5c3;
  --cyan2: #00ffd5;
  --pink: #ff4db8;
  --orange: #ff8840;
  --orange-hot: #ff3c00;
  --yellow: #ffd23f;
  --purple: #a78bfa;

  /* Semántica de marca — usar estos tokens, no hex/orange crudos */
  --color-brand: var(--orange-hot);
  --color-brand-hover: #e63400;
  --color-brand-soft: var(--orange);
  --color-focus: var(--orange-hot);

  /* Variantes "text-safe" para texto pequeño (≤14px) sobre fondo cream/paper.
     Los tokens vivos --orange-hot y --cyan no llegan a WCAG AA 4.5:1
     en eyebrows, sec-num y labels minúsculos.
     Auditoría Lighthouse 2026-05-03 (color-contrast 0% antes de este fix). */
  --orange-text: #c83000;   /* ratio ≈ 6.8:1 sobre #faf8f3 */
  --cyan-text:   #006b5d;   /* ratio ≈ 7:1 sobre #faf8f3 */

  /* Escala de espaciado — base 4px */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-8: 32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: 64px;
  --s-20: 80px;
  --s-24: 96px;
  --s-32: 128px;

  /* Bordes */
  --border: rgba(0,0,0,0.08);
  --border2: rgba(0,0,0,0.12);
  --border-solid: var(--ink);

  /* Elevación de paneles flotantes de la tienda. */
  --shadow-lg: 0 16px 48px rgba(10,10,10,0.16);

  /* Radii */
  --r: 4px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-pill: 100px;

  /* Stack inferior fijo en mobile — altura de la sticky-CTA. Otros widgets fijos
     (chat FAB, popups) calculan offset desde aquí. Documentado en rules/brand-rules.md. */
  --mobile-stack-bottom: 64px;

  /* Fuentes — la web pública usa Inter (display + body) + JetBrains Mono (datos).
     Archivo Black y Bricolage Grotesque documentadas en brand/ NO están cargadas. */
  --font-display: Inter, -apple-system, sans-serif;
  --font-body: Inter, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Type scale — 12 pasos */
  --fs-2xs:     10px;                    /* badges, eyebrows, tiny labels */
  --fs-xs:      12px;                    /* captions, meta, secondary labels */
  --fs-sm:      14px;                    /* supporting text, card copy */
  --fs-base:    16px;                    /* body copy */
  --fs-md:      18px;                    /* lead text, feature titles */
  --fs-lg:      24px;                    /* section headings small */
  --fs-xl:      32px;                    /* section headings */
  --fs-2xl:     clamp(28px, 3vw, 44px);  /* card names, marquee, product titles */
  --fs-3xl:     clamp(44px, 5vw, 64px);  /* counters, stats */
  --fs-4xl:     clamp(44px, 5.5vw, 88px);/* hero h1, legal h1, pillar numbers */
  --fs-5xl:     clamp(56px, 8vw, 112px); /* sec-h2 default, page heroes */
  --fs-display: 72px;                    /* decorative step numbers */
  /* ⚠ Las páginas de la tienda suben --fs-2xs/--fs-xs un escalón (bloque
     «Escalón tipográfico», tras el :root). Aquí quedan los valores del sitio viejo. */

  /* ── LEGACY ALIASES (eliminar cuando nadie los use) ── */
  --bg: var(--cream);
  --bg2: var(--paper);
  --bg3: #f0eeea;
  --ink2: #1a1a1a;
  --ink3: var(--ink-mute);
  --ink4: var(--ink-soft);
  --black: var(--ink);

  /* Z-index scale — web pública */
  --z-fab:         200;  /* FABs: back-to-top, WhatsApp float */
  --z-mobile-menu: 299;  /* mobile dropdown — debajo del nav */
  --z-nav:         300;  /* navegación principal */
  --z-cta:         450;  /* sticky mobile CTA bar */
  --z-progress:    500;  /* scroll progress indicator */
  --z-skip:        900;  /* skip-to-content (a11y) */
}

/* ── Escalón tipográfico de la tienda ──
   Medido el 2026-08-26: en el configurador 75 de 101 textos visibles iban por debajo
   de 16px, y el escalón de 10px vestía frases enteras, no solo etiquetas. Subir los dos
   tokens pequeños UN punto en las páginas de tienda sube todo un escalón coherente sin
   tocar regla a regla. El sitio viejo (index) conserva los valores del :root. */
body[data-page="catalogo"],
body[data-page="ficha-producto"],
body[data-page="producto"],
body[data-page="solicitud"],
body[data-page="cuenta"],
body[data-page="merchandising"],
body[data-page="nosotros"],
body[data-page="contacto"] {
  --fs-2xs: 11px;
  --fs-xs: 13px;
}

/* ── Barra de anuncio de la tienda ──
   34px fijos sobre el nav con los tres argumentos del taller (solo afirmaciones ya
   publicadas en FAQ y solicitud). El nav y la barra de progreso bajan esos 34px y el
   main los compensa — todo condicionado a :has(), así el sitio viejo no se mueve. */
.hj-announce {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: calc(var(--z-nav) + 1);
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 16px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  letter-spacing: .05em;
  white-space: nowrap;
}

.hj-announce > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.hj-announce-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--color-brand);
  flex: 0 0 auto;
}

body:has(.hj-announce) nav#mainNav { top: 34px; }
body:has(.hj-announce) .scroll-progress { top: 34px; }
/* El desplazamiento va en BODY, no en main: `body:has(...) main` (0-1-2) pisaba
   por especificidad el padding propio de .request-page (128px) y .account-page
   (140px) —el main ES ese contenedor en solicitud y cuenta— y sus heros
   quedaban DEBAJO del nav. El padding de body se SUMA al del main y no compite
   con nadie; los fijos (nav, barra, panel de busqueda) ni lo notan. */
body:has(.hj-announce) { padding-top: 34px; }
body:has(.hj-announce) .store-search-panel { margin-top: 34px; }

@media (max-width: 760px) {
  /* Dos clases para ganar a `.hj-announce > span` (0-1-1): con `.hj-announce-extra`
     a secas (0-1-0) el inline-flex del span seguía mandando y los extras se veían. */
  .hj-announce > .hj-announce-extra { display: none; }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }
button { cursor: pointer; }
::selection { background: var(--ink); color: var(--cream); }
img { max-width: 100%; display: block; }

/* ── NAV ───────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav);
  display: flex; align-items: center; justify-content: center;
  padding: 0 48px; height: 64px; gap: 32px;
  background: transparent;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
/* El logo medía 31px de alto como zona pulsable. Se amplía a 44px con flex, sin mover
   la imagen: crece el área táctil, no el logotipo. */
.nav-logo { flex-shrink: 0; display: flex; align-items: center; min-height: 44px; }
.nav-links { flex: 1; display: flex; justify-content: center; }
.nav-end { flex-shrink: 0; }
nav.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: var(--fs-lg); font-weight: 900;
  letter-spacing: -1.5px; text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
  color: var(--ink);
  transition: color .3s;
}
.nav-logo img {
  display: block;
  width: auto;
  height: auto;
}
.nav-logo img.nav-logo-mascot {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.nav-logo img.nav-logo-wordmark {
  width: 96px;
}
nav.scrolled .nav-logo { color: var(--ink); }
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  /* --fs-2xs (10px) es el escalón de las etiquetas diminutas; la navegación principal
     no es una etiqueta. A 10px en mayúsculas con 1,5px de tracking cuesta leerla. */
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ink2);
  padding: 8px 18px; border-radius: var(--r-pill);
  border: 1px solid var(--border2);
  transition: background .2s, color .2s, border-color .2s;
}
.nav-links a:hover {
  background: var(--ink); color: var(--bg);
  border-color: var(--ink);
}
/* nav.scrolled uses same styles since hero is now white */
.nav-end { display: flex; gap: 8px; align-items: center; }
.nav-icon {
  width: 40px; height: 40px; border-radius: var(--r-pill);
  border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink2);
  transition: border-color .2s, color .2s;
}
.nav-icon:hover { border-color: var(--ink); color: var(--ink); }
/* nav always on white bg — no scrolled overrides needed for icons */
.lang-toggle { font-size: var(--fs-2xs); font-weight: 700; letter-spacing: 1px; }
.btn-nav-cta {
  padding: 12px 22px; border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--orange-hot); color: var(--ink);
  border: 1px solid var(--orange-hot);
  transition: background .2s, border-color .2s, transform .2s;
  display: inline-flex; align-items: center; gap: 4px;
}
.btn-nav-cta:hover { background: var(--color-brand-hover); border-color: var(--color-brand-hover); color: var(--ink); transform: translateY(-1px); }
.btn-nav-cta[hidden], .mobile-menu a[hidden] { display: none; }

/* Hamburger */
.nav-burger {
  display: none; width: 40px; height: 40px;
  background: transparent; border: 1px solid var(--border2);
  border-radius: var(--r-pill);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  cursor: pointer; transition: .2s;
}
.nav-burger:hover { border-color: var(--ink); }
.nav-burger span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: .3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-3.25px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; top: 64px; left: 0; right: 0; z-index: var(--z-mobile-menu);
  background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateY(-110%); opacity: 0;
  transition: transform .35s cubic-bezier(.16,1,.3,1), opacity .3s;
  pointer-events: none;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-menu a {
  display: block; padding: 14px 16px;
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink2);
  letter-spacing: 1px; text-transform: uppercase;
  border-radius: var(--r-lg); transition: .15s;
}
.mobile-menu a:hover { background: var(--bg2); }
.mobile-menu .mobile-cta {
  margin-top: 8px; padding: 14px;
  border-radius: var(--r-pill);
  background: var(--ink); color: var(--bg);
  text-align: center; font-weight: 700; font-size: var(--fs-xs);
  letter-spacing: 1px; text-transform: uppercase;
}

/* ── HERO (asymmetric editorial) ─────────────────────── */
.hero {
  position: relative;
  padding: 132px 48px 100px;
  overflow: hidden;
  background: var(--cream);
  color: var(--ink);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--ink) 1px, transparent 1px),
    linear-gradient(90deg, var(--ink) 1px, transparent 1px);
  background-size: 96px 96px;
  background-position: -1px -1px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 42%;
  background:
    radial-gradient(circle at 80% 30%, rgba(255,60,0,0.06) 0%, transparent 55%),
    radial-gradient(circle at 60% 70%, rgba(77,124,255,0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 64px;
}
.hero-text {
  animation: hero-fade .8s cubic-bezier(.16,1,.3,1) .15s both;
}
@keyframes hero-fade {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 700;
  padding: 8px 16px;
  border: 1.5px solid var(--ink);
  border-radius: 100px;
  margin-bottom: 32px;
  background: var(--cream);
}
.hero-kicker .hk-dot {
  width: 8px; height: 8px;
  background: var(--orange-hot);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255,60,0,.18);
  animation: hero-pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes hero-pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(255,60,0,.18); }
  50%     { box-shadow: 0 0 0 8px rgba(255,60,0,.0); }
}
/* Word rotator (21st.dev style) */
.hero-kicker .hk-static { color: var(--ink-mute); font-weight: 600; }
.hero-kicker .hk-rotator {
  display: inline-block;
  height: 1.4em;
  overflow: hidden;
  vertical-align: middle;
  position: relative;
  min-width: 6.2em;
}
.hero-kicker .hk-roll {
  display: block;
  animation: hk-roll 12s cubic-bezier(.7,0,.3,1) infinite;
}
.hero-kicker .hk-word {
  display: block;
  height: 1.4em;
  line-height: 1.4;
  color: var(--orange-hot);
  font-weight: 800;
  white-space: nowrap;
}
@keyframes hk-roll {
  0%, 18%   { transform: translateY(0); }
  25%, 43%  { transform: translateY(-1.4em); }
  50%, 68%  { transform: translateY(-2.8em); }
  75%, 93%  { transform: translateY(-4.2em); }
  100%      { transform: translateY(-5.6em); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-kicker .hk-roll { animation: none; transform: translateY(0); }
}
.hero-h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-4xl);
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 28px;
}
.hero-h1 .hero-dot {
  color: var(--orange-hot);
  display: inline-block;
  transform-origin: center;
  animation: hero-dot-breathe 2.6s cubic-bezier(.4,0,.6,1) infinite;
}
@keyframes hero-dot-breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.18); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-h1 .hero-dot { animation: none; }
}
/* Magnetic button — JS sets --mx, --my; CSS reacts smoothly */
.is-magnetic {
  transform: translate3d(var(--mx, 0), var(--my, 0), 0);
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s cubic-bezier(.16,1,.3,1), background-color .25s ease;
  will-change: transform;
}
.is-magnetic:hover {
  /* Magnet handles transform; suppress the default hover translate so we don't double-shift */
  transform: translate3d(var(--mx, 0), var(--my, 0), 0);
}
.hero-sub {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: 1.55;
  color: var(--ink-mute);
  max-width: 520px;
  margin-bottom: 40px;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 18px 28px;
  border-radius: 100px;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s cubic-bezier(.16,1,.3,1), box-shadow .18s cubic-bezier(.16,1,.3,1);
  text-decoration: none;
}
.hero-btn-primary {
  background: var(--ink);
  color: var(--cream);
  border: 2px solid var(--ink);
}
.hero-btn-primary:hover {
  transform: translate(-3px,-3px);
  box-shadow: 6px 6px 0 var(--orange-hot);
  background: var(--orange-hot);
  color: var(--ink);
  border-color: var(--orange-hot);
}
.hero-btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}
.hero-btn-ghost:hover {
  transform: translate(-3px,-3px);
  box-shadow: 6px 6px 0 var(--ink);
  background: var(--ink);
  color: var(--cream);
}

/* ── HERO VISUAL (sticker stack) ─────────────────────── */
.hero-visual {
  position: relative;
  height: 540px;
  display: grid;
  place-items: center;
  animation: hero-fade .8s cubic-bezier(.16,1,.3,1) .35s both;
}
.hero-stack {
  position: relative;
  width: 100%;
  height: 100%;
}
.hs-card {
  position: absolute;
  width: 240px;
  height: 240px;
  border: 3px solid var(--ink);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 22px 26px;
  overflow: hidden;
  transform-origin: center;
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s cubic-bezier(.16,1,.3,1);
  cursor: default;
  font-family: var(--font-display);
}
.hs-card .hs-tag {
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  letter-spacing: 0.14em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--cream);
  padding: 4px 8px;
  border: 1.5px solid var(--ink);
  border-radius: 100px;
  align-self: flex-start;
  position: relative;
  z-index: 3;
}
.hs-card .hs-name {
  font-weight: 900;
  font-size: var(--fs-xl);
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  z-index: 3;
}
.hs-card .hs-curl {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, transparent 50%, var(--ink) 50%);
  z-index: 2;
}

/* Stagger drop entrance — opacity + blur preserve the per-card rotate */
.hs-card { animation: hs-card-in 1s cubic-bezier(.16,1,.3,1) both; }
.hs-card-uv      { animation-delay: .45s; }
.hs-card-holo    { animation-delay: .60s; }
.hs-card-relieve { animation-delay: .75s; }
.hs-card-tex     { animation-delay: .90s; }
@keyframes hs-card-in {
  from { opacity: 0; filter: blur(6px); }
  to   { opacity: 1; filter: blur(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hs-card { animation: none; }
}

/* Card 1 — Spot UV (cream + glossy highlight) */
.hs-card-uv {
  top: 6%;
  left: 4%;
  transform: rotate(-9deg);
  box-shadow: 12px 12px 0 var(--ink);
  z-index: 4;
  background:
    linear-gradient(135deg, transparent 35%, rgba(255,255,255,0.85) 50%, transparent 65%),
    var(--cream);
}

/* Card 2 — Holo (conic rainbow) */
.hs-card-holo {
  top: 0%;
  right: 2%;
  transform: rotate(7deg);
  box-shadow: 12px 12px 0 var(--ink);
  z-index: 3;
  background:
    conic-gradient(from 200deg at 60% 40%, var(--pink), #ffe45e, var(--cyan), var(--blue), var(--pink));
}
.hs-card-holo .hs-name {
  background: var(--cream);
  border: 2px solid var(--ink);
  padding: 6px 12px;
  font-size: var(--fs-2xl);
  align-self: flex-start;
}
.hs-card-holo::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(110deg, rgba(255,255,255,0.18) 0 2px, transparent 2px 8px);
  pointer-events: none;
  z-index: 1;
}

/* Card 3 — Relieve (paper + emboss pattern) */
.hs-card-relieve {
  bottom: 6%;
  left: 14%;
  transform: rotate(-3deg);
  box-shadow: 12px 12px 0 var(--ink);
  z-index: 2;
  background: var(--paper);
  background-image:
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(0,0,0,0.05) 12px 14px),
    radial-gradient(circle at 50% 60%, rgba(0,0,0,0.04), transparent 60%);
}
.hs-card-relieve .hs-name { font-size: var(--fs-xl); }

/* Card 4 — Textura (kraft) */
.hs-card-tex {
  bottom: 0%;
  right: 8%;
  transform: rotate(9deg);
  box-shadow: 12px 12px 0 var(--ink);
  z-index: 1;
  background: #c8a878;
  background-image:
    radial-gradient(circle at 25% 30%, rgba(0,0,0,0.12), transparent 35%),
    radial-gradient(circle at 75% 75%, rgba(0,0,0,0.10), transparent 40%),
    radial-gradient(circle at 60% 20%, rgba(255,255,255,0.18), transparent 30%);
}
.hs-card-tex .hs-name { font-size: var(--fs-xl); }
.hs-card-tex .hs-tag { background: #c8a878; }

/* Hover dance — separate slightly */
.hero-stack:hover .hs-card-uv      { transform: rotate(-12deg) translate(-12px,-8px); }
.hero-stack:hover .hs-card-holo    { transform: rotate(10deg) translate(12px,-6px); }
.hero-stack:hover .hs-card-relieve { transform: rotate(-5deg) translate(-10px,8px); }
.hero-stack:hover .hs-card-tex     { transform: rotate(12deg) translate(12px,8px); }
.hero-stack:hover .hs-card { box-shadow: 16px 16px 0 var(--ink); }

/* Responsive hero */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hs-card { width: 200px; height: 200px; padding: 18px 18px 22px; }
  .hs-card .hs-name { font-size: var(--fs-xl); }
  .hs-card-holo .hs-name { font-size: var(--fs-lg); }
  .hs-card-relieve .hs-name { font-size: var(--fs-lg); }
  .hs-card-tex .hs-name { font-size: var(--fs-lg); }
}
@media (max-width: 860px) {
  .hero { padding: 120px 24px 80px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
    text-align: left;
  }
  .hero-visual { height: 380px; }
  .hs-card { width: 180px; height: 180px; }
  .hero-h1 { font-size: clamp(44px, 11vw, 72px); }
  .hero-sub { font-size: var(--fs-base); }
}
@media (max-width: 500px) {
  .hero { padding: 110px 20px 64px; }
  .hero-grid { gap: 40px; }
  .hero-visual { height: 320px; }
  .hs-card { width: 150px; height: 150px; padding: 14px 14px 18px; }
  .hs-card .hs-name { font-size: var(--fs-lg); }
  .hs-card .hs-tag { font-size: var(--fs-2xs); padding: 3px 7px; }
  .hs-card-holo .hs-name { font-size: var(--fs-md); }
  .hs-card-relieve .hs-name { font-size: var(--fs-lg); }
  .hs-card-tex .hs-name { font-size: var(--fs-md); }
  .hero-btn { padding: 14px 22px; font-size: var(--fs-sm); flex: 1 1 auto; justify-content: center; }
  .hero-actions { width: 100%; }
}

/* Botones usados en otras páginas (catalogo, producto, contacto, nosotros) */
.btn-cta-lg {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 28px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--cream);
  font-family: var(--font-body);
  /* El CTA principal iba a 14px, por debajo del cuerpo de texto de la página. */
  font-size: var(--fs-base); font-weight: 700; letter-spacing: 0.2px;
  border: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  line-height: 1;
}
.btn-cta-lg:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }

.btn-ghost-lg {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px; border-radius: var(--r-pill);
  border: 1px solid var(--border2);
  background: transparent; color: var(--ink2);
  font-family: var(--font-mono);
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer; transition: .2s;
}
.btn-ghost-lg:hover { border-color: var(--ink); color: var(--ink); background: var(--paper); }
.btn-ghost-lg svg { stroke: var(--ink-mute); }
.btn-outline {
  display: inline-block;
  padding: 14px 32px; border-radius: var(--r-pill);
  border: 1px solid var(--border2);
  background: transparent; color: var(--ink2);
  font-family: var(--font-mono);
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer; transition: .2s;
}
.btn-outline:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ══════════════════ ACABADOS STRIP ══════════════════ */
.acabados {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--ink);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.sw-uv { background: var(--ink); color: #fff; }
.sw-uv::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.5) 0%, transparent 40%, transparent 60%, rgba(255,255,255,0.25) 100%);
  mix-blend-mode: overlay;
}
.sw-uv::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 45%;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), transparent);
}
.sw-relieve {
  background: var(--cream); color: var(--cream);
  text-shadow:
    1px 1px 0 rgba(0,0,0,0.6),
    2px 2px 0 rgba(0,0,0,0.4),
    3px 3px 3px rgba(0,0,0,0.3),
    -1px -1px 0 rgba(255,255,255,0.8);
}
.sw-holo {
  background: conic-gradient(from 120deg at 30% 30%, var(--pink), var(--yellow), var(--cyan), var(--blue), var(--purple), var(--pink));
  color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.sw-holo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.4) 0%, transparent 40%, transparent 60%, rgba(255,255,255,0.25) 100%);
  mix-blend-mode: screen;
}
.sw-tex {
  background: var(--cream); color: var(--ink);
  background-image:
    repeating-linear-gradient(45deg, rgba(0,0,0,0.08) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,0.05) 0 1px, transparent 1px 4px);
  background-size: 8px 8px, 8px 8px;
}

@media (max-width: 900px) {
  .acabados { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .acabados { grid-template-columns: 1fr; }
}

/* ══════════════════ SECTION HEADERS ══════════════════ */
section { padding: 80px 48px; position: relative; }
.sec-wrap { max-width: 1320px; margin: 0 auto; }

/* Cabecera centrada con numero + titulo + subtitulo + divider */
.sec-head {
  text-align: center;
  padding-bottom: 32px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 40px;
}
.sec-num {
  font-family: var(--font-mono); font-size: var(--fs-2xs); letter-spacing: 3px;
  color: var(--orange-text); font-weight: 700;
  margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 10px;
}
/* Las líneas decorativas pueden seguir en orange vivo (no son texto, no aplica WCAG). */
.sec-num::before, .sec-num::after {
  content: ''; width: 20px; height: 1.5px; background: var(--orange-hot);
}
.sec-h2 {
  font-family: var(--font-display);
  font-size: var(--fs-5xl);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.88;
  text-transform: uppercase;
  text-align: center;
}
.sec-h2-dot {
  display: inline-block; width: 20px; height: 20px; border-radius: 50%;
  background: var(--orange-hot); vertical-align: middle; margin-left: 10px; transform: translateY(-12px);
}
.sec-sub {
  font-family: var(--font-mono);
  font-size: var(--fs-2xs); letter-spacing: 2px; text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 18px;
  text-align: center;
}

@media (max-width: 760px) {
  section { padding: 56px 24px; }
  .sec-h2 { font-size: clamp(44px, 10vw, 72px); }
}

/* ── SCROLL REVEAL ─────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }
.reveal-d5 { transition-delay: .40s; }
.reveal-d6 { transition-delay: .48s; }

/* ══════════════════ FINISH COMPARISON MATRIX ══════════════════ */
.finish-matrix-wrap {
  margin-top: 56px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.fm-title {
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange-hot);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.fm-title::before, .fm-title::after {
  content: ''; flex: 0 0 40px; height: 1.5px; background: var(--orange-hot);
}
.finish-matrix {
  display: grid;
  grid-template-columns: 140px repeat(4, 1fr);
  gap: 0;
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--cream);
}
.fm-header, .fm-row-label, .fm-cell { padding: 16px 14px; border-bottom: 1px solid rgba(0,0,0,0.1); }
.fm-header { background: var(--ink); color: var(--cream); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; border-right: 1px solid rgba(255,255,255,0.08); }
.fm-header:last-child { border-right: none; }
.fm-header .fm-swatch-mini {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 900; font-size: var(--fs-md);
  letter-spacing: -0.5px;
  border: 2px solid rgba(255,255,255,0.2);
  overflow: hidden;
  position: relative;
}
.fm-header .fm-name {
  font-family: var(--font-display);
  font-size: var(--fs-sm); font-weight: 900;
  letter-spacing: -0.2px;
  text-transform: uppercase;
  line-height: 1.1;
}
.fm-row-label {
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  align-items: center;
  border-right: 2px solid var(--ink);
}
.fm-cell {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: var(--ink-mute);
  border-right: 1px solid rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.4;
  transition: background .15s;
}
.fm-cell:last-child { border-right: none; }
.fm-cell:hover { background: var(--paper); }
.finish-matrix > :nth-last-child(-n+5) { border-bottom: none; }
.fm-chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1.5px solid var(--ink);
  color: var(--ink);
}
.fm-chip-dark { background: var(--ink); color: var(--cream); }
.fm-impact {
  letter-spacing: 3px;
  color: var(--orange-hot);
  font-weight: 700;
}

/* Mobile: scroll horizontal con snap para que la tabla quepa */
@media (max-width: 760px) {
  .finish-matrix-wrap {
    margin-left: -24px; margin-right: -24px;
    padding-left: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .finish-matrix {
    min-width: 720px;
    grid-template-columns: 120px repeat(4, 160px);
    scroll-snap-align: start;
  }
  .fm-header, .fm-row-label, .fm-cell { padding: 12px 10px; font-size: var(--fs-xs); }
  .fm-cell { font-size: var(--fs-xs); }
}

/* ══════════════════ TRUSTED INDUSTRIES STRIP ══════════════════ */
.trusted-strip {
  background: var(--cream);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
  padding: 28px 0;
  position: relative;
}
.trusted-strip .ts-label {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan-text);
  background: var(--cream);
  padding: 0 14px;
  z-index: 2;
}
.trusted-strip .ts-track {
  display: flex;
  align-items: center;
  gap: 56px;
  white-space: nowrap;
  animation: marquee-top 45s linear infinite;
  width: max-content;
  margin-top: 14px;
}
.trusted-strip .ts-track:hover { animation-play-state: paused; }
@keyframes marquee-top {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.trusted-strip .ts-item {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-2xl);
  letter-spacing: -0.8px;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 56px;
}
.trusted-strip .ts-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--orange-hot);
  flex-shrink: 0;
}
.trusted-strip .ts-item.ts-outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}

/* ══════════════════ MATERIALS SECTION (soportes) ══════════════════ */
.materiales {
  padding: 80px 48px;
  background: var(--cream);
  border-top: 2px solid var(--ink);
}
.materiales-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
}
@media (max-width: 1100px) { .materiales-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .materiales-grid { grid-template-columns: repeat(2, 1fr); } }

.mat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  transition: transform .2s;
  cursor: default;
}
.mat-item:hover { transform: translateY(-3px); }
.mat-item:hover .mat-swatch { box-shadow: 4px 4px 0 var(--ink); }

.mat-swatch {
  width: 100%;
  max-width: 140px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow .2s;
}
.mat-swatch::before {
  content: '';
  position: absolute;
  top: 10%; left: 12%;
  width: 28%; height: 22%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.6), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.mat-vinilo-mate { background: var(--cream); }
.mat-vinilo-mate::after {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0 2px, rgba(0,0,0,0.04) 2px 3px);
}
.mat-vinilo-brillo { background: radial-gradient(circle at 30% 30%, #fff, var(--cream) 70%); }
.mat-vinilo-transparente {
  background:
    linear-gradient(45deg, rgba(0,0,0,0.08) 25%, transparent 25%, transparent 75%, rgba(0,0,0,0.08) 75%, rgba(0,0,0,0.08)),
    linear-gradient(45deg, rgba(0,0,0,0.08) 25%, transparent 25%, transparent 75%, rgba(0,0,0,0.08) 75%, rgba(0,0,0,0.08)),
    var(--cream);
  background-size: 16px 16px;
  background-position: 0 0, 8px 8px;
}
.mat-holografico {
  background: conic-gradient(from 120deg at 40% 40%, var(--pink), var(--yellow), var(--cyan), var(--blue), var(--purple), var(--pink));
}
.mat-holografico::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.5) 0%, transparent 40%, transparent 60%, rgba(255,255,255,0.3) 100%);
  mix-blend-mode: screen;
}
.mat-kraft {
  background: linear-gradient(135deg, #d4b78a, #b89761);
  background-image:
    radial-gradient(circle at 20% 30%, rgba(74,50,20,0.15) 1px, transparent 2px),
    radial-gradient(circle at 70% 60%, rgba(74,50,20,0.12) 1px, transparent 2px),
    linear-gradient(135deg, #d4b78a, #b89761);
  background-size: 12px 12px, 16px 16px, 100% 100%;
}
.mat-metalizado {
  background: linear-gradient(135deg, #d8d8d8 0%, #fff 20%, #b8b8b8 40%, #e8e8e8 60%, #a0a0a0 80%, #d0d0d0 100%);
}
.mat-metalizado::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.6) 50%, transparent 60%);
}
.mat-name {
  font-family: var(--font-display);
  font-size: var(--fs-sm); font-weight: 900;
  letter-spacing: -0.3px;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--ink);
}
.mat-tags {
  font-family: var(--font-mono);
  font-size: var(--fs-2xs); font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ink-mute);
  line-height: 1.4;
}

/* ── PRODUCTOS ─────────────────────────────────────── */
.prod-section { background: var(--cream); border-top: none; }
.prod-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 36px;
  justify-content: center;
}
.prod-tab {
  font-family: var(--font-body);
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.5px;
  padding: 10px 18px; border-radius: var(--r-pill);
  border: 2px solid var(--ink);
  background: var(--cream); color: var(--ink);
  cursor: pointer; transition: background .2s, color .2s;
}
.prod-tab:hover, .prod-tab.active { background: var(--ink); color: var(--cream); }

.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .prod-grid { grid-template-columns: 1fr; } }

/* CTA card al final del grid de la home — fondo distinto + ilustra intent abierto. */
.pc--cta { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.pc--cta .pc-body { background: var(--ink); }
.pc--cta .pc-name { color: var(--cream); }
.pc--cta .pc-from { color: var(--cream); }
.pc--cta .pc-desc { color: rgba(245,242,233,0.78); }
.pc--cta .pc-vis--cta {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink2) 100%);
  color: var(--orange-hot, #ff3c00);
  display: flex; align-items: center; justify-content: center;
  border-bottom: 2px solid var(--ink);
}
.pc--cta .pc-cta { background: var(--orange-hot, #ff3c00); color: var(--ink); }

.pc {
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
  color: var(--ink);
}
.pc:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.pc.hidden { display: none; }
.pc-vis {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4/3;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
  background-image: radial-gradient(circle, rgba(255,255,255,0.15) 1px, transparent 1.2px);
  background-size: 14px 14px;
}
/* Color por categoria */
.pc[data-cat="pegatinas"] .pc-vis { background-color: var(--blue); }
.pc[data-cat="etiquetas"] .pc-vis { background-color: var(--cyan); }
.pc[data-cat="packaging"] .pc-vis { background-color: var(--orange-hot); }
.pc[data-cat="merch"] .pc-vis { background-color: var(--purple); }
/* Product card media: image, video, SVG placeholder */

/* Shimmer loading state */
.pc-vis::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.04) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: pcShimmer 1.8s ease-in-out infinite;
  pointer-events: none;
  opacity: 1; transition: opacity .3s;
}
@keyframes pcShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.pc-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--font-mono);
  font-size: var(--fs-2xs); font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 10px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--cream);
}
.badge-lime { background: var(--cyan); color: var(--ink); }
.badge-cyan { background: var(--cyan); color: var(--ink); }
.badge-orng { background: var(--orange); color: var(--ink); }
.badge-pink { background: var(--pink); color: var(--ink); }
.pc-body { padding: 18px; flex: 1; display: flex; flex-direction: column; background: var(--cream); }
.pc-name {
  font-family: var(--font-display);
  font-size: var(--fs-md); font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.4px;
  line-height: 1;
  margin-bottom: 6px;
}
.pc-desc { font-size: var(--fs-xs); color: var(--ink-mute); line-height: 1.45; flex: 1; }
/* specs ya no se muestran en las cards del rediseno */
.pc-specs { display: none; }
.pc-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px;
  padding-top: 0;
  border-top: none;
}
.pc-from {
  font-family: var(--font-display);
  font-size: var(--fs-md); font-weight: 900; color: var(--ink);
  line-height: 1;
}
.pc-from strong { font-weight: 900; }
.pc-from small {
  display: block;
  font-family: var(--font-mono); font-size: var(--fs-2xs); font-weight: 500;
  letter-spacing: 1.2px; color: var(--ink-mute);
  text-transform: uppercase; margin-top: 4px;
}
.pc-cta {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--cream);
  font-family: var(--font-body);
  font-size: var(--fs-sm); font-weight: 700;
  flex-shrink: 0;
  transition: background .2s;
  line-height: 1;
  padding: 0;
  letter-spacing: normal;
}
.pc:hover .pc-cta { background: var(--orange-hot); }

.prod-more { text-align: center; margin-top: 48px; }

/* ── SEPARATOR IMAGE ───────────────────────────────── */

/* ══════════════════ FINISH CARDS (ACABADOS) ══════════════════ */
.finishes-section { background: var(--cream); border-top: none; }
.finishes-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .finishes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .finishes-grid { grid-template-columns: 1fr; } }

.finish-card {
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  display: grid; grid-template-rows: auto 1fr;
}
.finish-card:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }

/* Preview: reuso del mismo truco de los swatches del acabados strip */
.finish-preview {
  aspect-ratio: 16 / 11;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 900; font-size: var(--fs-display);
  letter-spacing: -3px;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  transition: transform .25s cubic-bezier(.16,1,.3,1);
}
.finish-card:hover .finish-preview { transform: scale(1.03); }

.fp-uv { background: var(--ink); color: #fff; }
.fp-uv::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.5) 0%, transparent 40%, transparent 60%, rgba(255,255,255,0.25) 100%);
  mix-blend-mode: overlay;
}
.fp-uv::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 45%;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), transparent);
}
.fp-relieve {
  background: var(--cream); color: var(--cream);
  text-shadow:
    2px 2px 0 rgba(0,0,0,0.55),
    4px 4px 0 rgba(0,0,0,0.35),
    6px 6px 8px rgba(0,0,0,0.25),
    -1px -1px 0 rgba(255,255,255,0.85);
}
.fp-holo {
  background: conic-gradient(from 120deg at 30% 30%, var(--pink), var(--yellow), var(--cyan), var(--blue), var(--purple), var(--pink));
  color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,0.45);
}
.fp-holo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.45) 0%, transparent 40%, transparent 60%, rgba(255,255,255,0.25) 100%);
  mix-blend-mode: screen;
}
.fp-tex {
  background: var(--cream); color: var(--ink);
  background-image:
    repeating-linear-gradient(45deg, rgba(0,0,0,0.1) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,0.07) 0 1px, transparent 1px 6px);
  background-size: 10px 10px, 10px 10px;
}
/* "FX" mark inside finish previews — la marca visible con el efecto aplicado para que se entienda como muestra. */
.finish-preview .fp-mark {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -3px;
  font-size: inherit;
  line-height: 1;
}
.fp-uv .fp-mark { background: linear-gradient(180deg, #ffffff 0%, #d6d6d6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fp-holo .fp-mark { background: linear-gradient(120deg, #ffffff 30%, rgba(255,255,255,0.6) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.finish-body { padding: 20px 22px 22px; background: var(--cream); }
.finish-num {
  font-family: var(--font-mono); font-size: var(--fs-2xs); letter-spacing: 2px;
  color: var(--orange-hot); font-weight: 700;
  margin-bottom: 6px;
}
.finish-name {
  font-family: var(--font-display);
  font-size: var(--fs-md); font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.4px;
  line-height: 1;
  margin-bottom: 8px;
}
.finish-desc { font-family: var(--font-body); font-size: var(--fs-sm); color: var(--ink-mute); line-height: 1.55; }

/* ══════════════════ CUSTOM SECTION (A MEDIDA) ══════════════════
   Fondo oscuro intencional — momento editorial fuerte en medio de la página.
   El marquee con pills de categorías actúa como "etiquetas" de servicios. */
.custom-section {
  background: var(--ink); color: var(--cream);
  padding: 96px 48px 0;
  overflow: hidden;
  position: relative;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.custom-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1.2px);
  background-size: 18px 18px;
  pointer-events: none;
}
.custom-section > * { position: relative; }
.custom-section .sec-head { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.custom-section .sec-num {
  color: var(--orange); /* suave sobre negro */
}
.custom-section .sec-num::before, .custom-section .sec-num::after { background: var(--orange); }
.custom-section .sec-h2 { color: var(--cream); }
.custom-section .sec-h2 .custom-accent {
  background: linear-gradient(135deg, var(--cyan), var(--blue), var(--pink));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.custom-section .sec-sub { color: rgba(255,255,255,0.55); margin: 18px auto 0; }
.custom-section .marquee-wrap {
  margin-top: 64px;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: none;
  background: transparent;
  padding: 24px 0 56px;
}
.custom-section .marquee-pill {
  border: 2px solid rgba(255,255,255,0.2);
  background: transparent;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: var(--fs-sm); font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase;
}
.custom-section .marquee-pill:hover {
  border-color: var(--orange-hot); color: var(--orange-hot);
  background: rgba(255,60,0,0.08);
}

/* ── MARQUEE ───────────────────────────────────────── */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg); padding: 14px 0;
}
.marquee-track {
  display: flex; gap: 0;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.marquee-item {
  display: inline-flex; align-items: center; gap: 0;
  padding: 0 12px; white-space: nowrap;
}
.marquee-pill {
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.5px;
  padding: 8px 20px; border-radius: var(--r-pill);
  border: 1px dashed var(--border2); color: var(--ink3);
  transition: .2s;
}

/* ══════════════════ PROCESO (ASÍ DE FÁCIL) — bento ══════════════════ */
.proceso-section { background: var(--paper); border-top: 2px solid var(--ink); }
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
/* 01 + 02 arriba lado a lado, 03 (entrega) abajo full-width como cierre */
.how-card:nth-child(3) { grid-column: 1 / -1; }
@media (max-width: 900px) {
  .how-grid { grid-template-columns: 1fr; }
  .how-card:nth-child(3) { grid-column: auto; }
}

.how-card {
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  padding: 32px 30px;
  position: relative;
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
  min-height: 240px;
}
/* Card 03 (full-width): orienta horizontalmente para aprovechar el ancho */
.how-card:nth-child(3) {
  flex-direction: row;
  align-items: center;
  gap: 36px;
  padding: 36px 40px;
}
.how-card:nth-child(3) .how-step-num {
  margin-bottom: 0;
  font-size: 110px;
  flex-shrink: 0;
}
.how-card:nth-child(3) .how-card-body {
  flex: 1;
}
@media (max-width: 900px) {
  .how-card:nth-child(3) {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 32px 30px;
  }
  .how-card:nth-child(3) .how-step-num {
    margin-bottom: 18px;
    font-size: var(--fs-display);
  }
}
.how-card:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }

.how-step-num {
  font-family: var(--font-display);
  font-weight: 900; font-size: var(--fs-display);
  letter-spacing: -3px;
  color: var(--ink);
  line-height: 0.85;
  margin-bottom: 18px;
  position: relative;
  display: inline-block;
}
.how-step-num::after {
  content: ''; position: absolute;
  left: 0; right: -6px; bottom: 8px; height: 10px;
  z-index: -1;
  background: var(--yellow);
  transform: skewX(-8deg);
  border-radius: 2px;
}
.how-card:nth-child(1) .how-step-num::after { background: var(--cyan); }
.how-card:nth-child(2) .how-step-num::after { background: var(--pink); }
.how-card:nth-child(3) .how-step-num::after { background: var(--orange-hot); }

.how-card-body { flex: 1; display: flex; flex-direction: column; }
.how-card-title {
  font-family: var(--font-display);
  font-size: var(--fs-lg); font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.5px;
  line-height: 1;
  margin-bottom: 10px;
}
.how-card-desc {
  font-family: var(--font-body);
  font-size: var(--fs-sm); color: var(--ink-mute); line-height: 1.6;
  flex: 1;
}
.how-card-tags {
  margin-top: 16px;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.how-card-tags span {
  font-family: var(--font-mono);
  font-size: var(--fs-2xs); font-weight: 500;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 10px; border-radius: var(--r-pill);
  border: 1.5px solid var(--ink); color: var(--ink);
  background: var(--cream);
}
.how-cta { text-align: center; margin-top: 56px; }

/* ── BENEFICIOS ────────────────────────────────────── */

/* ══════════════════ COUNTERS (stats / features) ══════════════════ */
.counter-num {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 900;
  color: var(--orange-hot);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 8px;
}

/* ── TESTIMONIOS ───────────────────────────────────── */

/* ══════════════════ INSTAGRAM ══════════════════ */
.ig-section { background: var(--cream); border-top: 2px solid var(--ink); }
.ig-accounts {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  max-width: 1040px; margin: 0 auto;
}
@media (max-width: 760px) { .ig-accounts { grid-template-columns: 1fr; } }
.ig-card {
  display: flex; flex-direction: column;
  padding: 28px 28px 24px;
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  background: var(--cream);
  color: var(--ink);
  transition: transform .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
  min-height: 220px;
}
.ig-card:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.ig-sfx { background: linear-gradient(135deg, var(--cream) 0%, rgba(255,60,0,0.1) 100%); }
.ig-hj { background: linear-gradient(135deg, var(--cream) 0%, rgba(77,124,255,0.08) 100%); }

.ig-card-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 40px;
}
.ig-card-brand {
  font-family: var(--font-display);
}
.ig-logo-block {
  display: inline-flex; align-items: center; gap: 2px;
  font-size: var(--fs-xl); font-weight: 900;
  letter-spacing: -1.5px; text-transform: uppercase;
  color: var(--ink);
}
.ig-logo-block span {
  background: var(--ink); color: var(--cream);
  padding: 2px 10px; border-radius: var(--r-sm);
  transform: rotate(-2deg);
}
.ig-logo-hj span {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #fff;
}

.ig-icon {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #fff;
  padding: 8px;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  width: 40px; height: 40px;
}

.ig-card-body { flex: 1; }
.ig-handle {
  font-family: var(--font-display);
  font-weight: 900; font-size: var(--fs-2xl);
  letter-spacing: -0.8px;
  line-height: 1;
  margin-bottom: 6px;
}
.ig-label {
  font-family: var(--font-mono);
  font-size: var(--fs-2xs); letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--ink-mute);
}
.ig-card-cta {
  align-self: flex-end;
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--ink); color: var(--cream);
  transition: background .2s;
}
.ig-card:hover .ig-card-cta { background: var(--orange-hot); }

/* ══════════════════ FAQ ══════════════════ */
.faq-section { background: var(--cream); border-top: 2px solid var(--ink); }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 2px solid var(--ink);
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--cream);
  transition: transform .2s, box-shadow .2s;
}
.faq-item:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--fs-sm); font-weight: 800; letter-spacing: -0.2px;
  color: var(--ink);
  user-select: none; transition: .15s;
  gap: 16px;
}
.faq-icon {
  width: 44px; height: 44px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--fs-lg); font-weight: 500;
  transition: transform 0.25s ease, background 0.2s;
  flex-shrink: 0;
  line-height: 1;
  border: none;
}
.faq-item.open { background: var(--paper); box-shadow: 4px 4px 0 var(--ink); transform: translate(-2px, -2px); }
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--orange-hot);
}
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s cubic-bezier(.16,1,.3,1), padding .35s;
  padding: 0 24px;
}
.faq-item.open .faq-a { max-height: 240px; padding: 0 24px 20px; }
.faq-a p {
  font-family: var(--font-body);
  font-size: var(--fs-sm); color: var(--ink-mute); line-height: 1.7;
  border-top: 1px solid rgba(0,0,0,0.08); padding-top: 14px;
}

/* ── PAGE HERO / CTA OVERLAY (halftone sutil, sin pattern-organic) ── */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,0.05) 1px, transparent 1.2px);
  background-size: 18px 18px;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1.2px);
  background-size: 18px 18px;
  pointer-events: none;
  z-index: 0;
}
.cta-section > *,
.page-hero > * {
  position: relative;
  z-index: 1;
}

/* ── CTA FINAL (oscura intencional, cierre fuerte) ──── */
.cta-section {
  background: var(--ink); color: var(--cream);
  text-align: center; position: relative; overflow: hidden;
  padding: 96px 48px;
}
.cta-section .sec-head { border-bottom: none; padding-bottom: 0; margin-bottom: 32px; }
.cta-section .sec-num {
  color: var(--orange); /* naranja suave sobre negro en lugar de orange-hot */
}
.cta-section .sec-num::before, .cta-section .sec-num::after { background: var(--orange); }
.cta-section .sec-h2 { color: var(--cream); }
.cta-section .sec-sub { color: rgba(255,255,255,0.6); margin: 18px auto 0; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.cta-section .btn-cta-lg {
  background: var(--orange-hot); color: var(--ink);
}
.cta-section .btn-cta-lg:hover { transform: translate(-2px,-2px); box-shadow: 4px 4px 0 var(--orange); color: var(--ink); }

/* ══════════════════ FOOTER ══════════════════ */
footer {
  background: var(--ink); color: var(--cream);
  border-top: 2px solid var(--ink);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
footer::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1.2px);
  background-size: 18px 18px;
  pointer-events: none;
}
footer > * { position: relative; }

.ft-main { padding: 56px 48px 40px; max-width: 1296px; margin: 0 auto; }
.ft-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px; }
.ft-col .ft-h,
.ft-col h2.ft-h {
  font-family: var(--font-mono);
  font-size: var(--fs-2xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: 2.5px;
  color: var(--orange);
  margin: 0 0 18px;
}
.ft-col a {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-sm); font-weight: 500;
  color: rgba(255,255,255,0.65); letter-spacing: 0.1px;
  padding: 6px 0;
  transition: color .15s, transform .15s;
}
.ft-col a:hover { color: var(--cream); transform: translateX(4px); }
.ft-col-brand .ft-logo {
  font-family: var(--font-display);
  font-size: var(--fs-lg); font-weight: 900;
  letter-spacing: -1.5px; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 2px;
  color: var(--cream);
  margin-bottom: 16px;
}
.ft-col-brand .ft-logo img {
  display: block;
  width: 132px;
  height: auto;
}
.ft-col-brand p {
  font-family: var(--font-body);
  font-size: var(--fs-sm); line-height: 1.6;
  color: rgba(255,255,255,0.5);
}

.ft-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  padding: 24px 48px;
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: 1296px; margin: 0 auto;
}
.ft-brand { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ft-logo {
  font-family: var(--font-display);
  font-size: var(--fs-sm); font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.3px;
  color: var(--cream);
}
.ft-copy {
  font-family: var(--font-mono);
  font-size: var(--fs-2xs); color: rgba(255,255,255,0.35);
  letter-spacing: 1.5px; text-transform: uppercase;
}
.ft-bottom-right { display: flex; align-items: center; gap: 20px; }
.ft-social { display: flex; gap: 8px; }
.ft-social a {
  width: 40px; height: 40px; border-radius: var(--r-pill);
  background: transparent;
  border: 2px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s, transform .15s;
}
.ft-social a:hover {
  border-color: var(--orange-hot);
  background: rgba(255,60,0,0.1);
  transform: translate(-2px, -2px);
}
.ft-social a svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.6); transition: .2s; }
.ft-social a:hover svg { fill: var(--orange-hot); }

/* ── BACK TO TOP ───────────────────────────────────── */
.btt {
  position: fixed; bottom: 24px; right: 24px; z-index: var(--z-fab);
  width: 42px; height: 42px; border-radius: var(--r);
  background: var(--ink); border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--fs-base); color: rgba(255,255,255,0.5);
  cursor: pointer; transition: .3s;
  opacity: 0; transform: translateY(16px); pointer-events: none;
}
.btt.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.btt:hover { border-color: var(--ink); color: var(--ink); }

/* ── WHATSAPP FLOTANTE ─────────────────────────────── */
.wa-float {
  position: fixed; bottom: 24px; left: 24px; z-index: var(--z-fab);
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: .3s;
  box-shadow: 0 4px 20px rgba(37,211,102,.35);
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,.5); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ── PAGE HERO (subpáginas) ──────────────────────────
   Mismo lenguaje que el home: cream bg, halftone, title XL centrado */
.page-hero {
  background: var(--cream); color: var(--ink);
  padding: 140px 48px 72px;
  text-align: center;
  position: relative; overflow: hidden;
  border-bottom: 2px solid var(--ink);
}
.page-hero .sec-h2 {
  color: var(--ink);
  text-align: center;
  font-size: var(--fs-5xl);
  line-height: 0.88;
  letter-spacing: -0.045em;
}
.page-hero .sec-sub {
  color: var(--ink-mute);
  margin: 18px auto 0;
  font-family: var(--font-mono);
  font-size: var(--fs-xs); letter-spacing: 2px; text-transform: uppercase;
  max-width: 640px;
}
.breadcrumb {
  font-family: var(--font-mono);
  font-size: var(--fs-2xs); letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--orange-hot); font-weight: 700;
  margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.breadcrumb::before, .breadcrumb::after {
  content: ''; width: 20px; height: 1.5px; background: var(--orange-hot);
}
.breadcrumb a {
  color: var(--ink-mute); font-weight: 500; transition: .15s;
  letter-spacing: 2.5px;
}
.breadcrumb a:hover { color: var(--orange-hot); }
@media (max-width: 760px) {
  .page-hero { padding: 120px 24px 56px; }
  .page-hero .sec-h2 { font-size: clamp(44px, 10vw, 72px); }
}

/* ══════════════════ CONTACT FORM ══════════════════ */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; margin-top: 32px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-family: var(--font-mono);
  font-size: var(--fs-2xs); font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--orange-text);   /* texto pequeno: tono accesible (WCAG AA), no el vivo */
}
.form-group input, .form-group select, .form-group textarea {
  padding: 16px 18px; border-radius: var(--r-md);
  border: 2px solid var(--ink);
  background: var(--cream);
  font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 500;
  color: var(--ink); outline: none;
  transition: transform .15s, box-shadow .15s;
}
.form-group input::placeholder, .form-group textarea::placeholder {
  color: var(--ink-soft); font-weight: 400; /* WCAG AA: ratio ~4.84:1 on --cream (#faf8f3) */
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink);
}
.form-group select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 48px;
}
.form-group textarea { min-height: 140px; resize: vertical; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.ci-item {
  display: flex; gap: 16px; align-items: center;
  padding: 18px 20px;
  border: 2px solid var(--ink); border-radius: var(--r-lg);
  background: var(--cream);
  transition: transform .2s, box-shadow .2s;
}
.ci-item:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.ci-ico {
  width: 44px; height: 44px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: var(--fs-md);
}
.ci-title {
  font-family: var(--font-display);
  font-size: var(--fs-sm); font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.2px;
  margin-bottom: 4px;
  line-height: 1;
}
.ci-desc { font-family: var(--font-body); font-size: var(--fs-sm); color: var(--ink-mute); line-height: 1.4; }

/* GDPR consent + submit + success */
.form-consent {
  display: flex; align-items: flex-start; gap: 12px;
  margin: 8px 0 4px;
  font-family: var(--font-body); font-size: var(--fs-sm); color: var(--ink-mute); line-height: 1.5;
  cursor: pointer;
}
.form-consent input[type="checkbox"] {
  margin-top: 3px;
  width: 18px; height: 18px;
  accent-color: var(--orange-hot);
  flex-shrink: 0;
  cursor: pointer;
}
.form-consent a {
  color: var(--ink); text-decoration: underline;
  text-decoration-color: var(--orange-hot);
  text-underline-offset: 3px;
  font-weight: 600;
}
.form-consent a:hover { color: var(--orange-hot); }
.form-submit {
  align-self: stretch;
  text-align: center;
  justify-content: center;
  padding: 18px 32px;
  margin-top: 8px;
}
.form-success {
  display: none;
  padding: 16px 20px;
  background: rgba(0,229,195,0.15);
  border: 2px solid var(--cyan);
  border-radius: var(--r-md);
  text-align: center;
  color: var(--ink);
  font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 600;
  margin-top: 12px;
}

/* ══════════════════ SCROLL PROGRESS BAR ══════════════════ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--orange-hot);
  z-index: var(--z-progress);
  transition: width 0.05s linear;
  pointer-events: none;
}
@media (max-width: 600px) { .scroll-progress { height: 2px; } }

/* ══════════════════ SKIP-TO-CONTENT LINK ══════════════════ */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: var(--z-skip);
  padding: 12px 20px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.2px;
  border-radius: var(--r-pill);
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform .25s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--orange-hot);
  outline-offset: 2px;
}

/* ══════════════════ SCREEN-READER ONLY UTILITY ══════════════════ */
/* Contenido solo para lectores de pantalla: las marquesinas duplican su texto
   dentro del mismo track para el loop infinito, así que el track va
   aria-hidden y la alternativa (el contenido UNA vez) vive en un .sr-only. */
.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;
}

/* ══════════════════ STICKY MOBILE BOTTOM CTA ══════════════════ */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-cta);
  /* Altura compartida con var --mobile-stack-bottom para que el chat FAB y otros widgets calculen offset. */
  height: var(--mobile-stack-bottom, 64px);
  background: var(--ink);
  border-top: 2px solid var(--cream);
  padding: 0 16px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sticky-mobile-cta .smc-text {
  flex: 1;
  min-width: 0;
  color: var(--cream);
  line-height: 1.1;
}
.sticky-mobile-cta .smc-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 4px;
}
.sticky-mobile-cta .smc-title {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 900;
  letter-spacing: -0.2px;
  text-transform: uppercase;
  color: var(--cream);
}
.sticky-mobile-cta .smc-btn {
  flex-shrink: 0;
  padding: 12px 20px;
  background: var(--orange-hot);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
@media (max-width: 760px) {
  .sticky-mobile-cta { display: flex; }
  body { padding-bottom: 72px; }
  /* En mobile, el chat-FAB y la sticky CTA cubren la función del back-to-top — lo ocultamos para evitar el triple solape. */
  .btt { display: none; }
}
body[data-page="contacto"] .sticky-mobile-cta { display: none; }
/* En producto.html, el editor tiene su propia .mobile-price-bar (precio en vivo + CTA dinámica
   "Pedir →"). La sticky global se oculta para evitar dos barras inferiores compitiendo. */
body[data-page="producto"] .sticky-mobile-cta { display: none; }
body[data-page="ficha-producto"] .sticky-mobile-cta { display: none; }
@media (max-width: 760px) {
  body[data-page="contacto"] { padding-bottom: 0; }
  body[data-page="ficha-producto"] { padding-bottom: 0; }
  /* Sin sticky CTA en contacto, recuperamos el back-to-top en su sitio. */
  body[data-page="contacto"] .btt { display: flex; bottom: 20px; }
  /* En producto: la mobile-price-bar ya ocupa el bottom y el chat FAB el rincón derecho — el
     back-to-top no aporta y choca con el FAB, lo dejamos oculto como en el resto de la web. */
}

/* ══════════════════ LEGAL PAGES (aviso-legal, privacidad, cookies) ══════════════════ */
.legal-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 32px 96px;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--ink);
}
.legal-page h1 {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
}
.legal-page h2 {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 900;
  letter-spacing: -0.3px;
  text-transform: uppercase;
  margin-top: 48px;
  margin-bottom: 14px;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 14px;
  line-height: 1.15;
}
.legal-page h2::before {
  content: attr(data-num);
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--orange-hot);
  letter-spacing: 2px;
  flex-shrink: 0;
}
.legal-page p {
  margin-bottom: 14px;
  color: var(--ink-mute);
}
.legal-page p strong { color: var(--ink); font-weight: 700; }
.legal-page ul {
  padding-left: 0;
  margin: 18px 0;
  list-style: none;
}
.legal-page ul li {
  position: relative;
  padding: 8px 0 8px 28px;
  color: var(--ink-mute);
  border-bottom: 1px dashed rgba(0,0,0,0.1);
}
.legal-page ul li:last-child { border-bottom: none; }
.legal-page ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--orange-hot);
  font-weight: 700;
}
.legal-page ul li strong { color: var(--ink); font-weight: 700; }
.legal-page a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--orange-hot);
  text-underline-offset: 3px;
  transition: color .15s;
}
.legal-page a:hover { color: var(--orange-hot); }
.legal-page .legal-foot {
  margin-top: 72px;
  padding: 20px 24px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: var(--ink-mute);
}

/* ══════════════════ ABOUT PAGE ══════════════════ */

/* Product page configurator */
.size-inputs { display: flex; gap: 12px; }
.size-inputs input {
  width: 100px; padding: 12px 14px;
  border: 1px solid var(--border2); border-radius: var(--r);
  font-family: var(--font-mono); font-size: var(--fs-sm);
  text-align: center; outline: none;
}
.size-inputs input:focus { border-color: var(--blue); }
.qty-option {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border: 1px solid var(--border);
  border-radius: var(--r); cursor: pointer; transition: .15s;
}
/* Estado seleccionado unificado: relleno tinta. Ver rules/brand-rules.md — un solo
   lenguaje de «esto está elegido» en toda la tienda; el naranja queda reservado a avisos. */
.qty-option:hover { border-color: var(--ink); }
.qty-option.active { border-width: 2px; border-color: var(--ink); background: rgba(10,10,10,0.06); color: var(--ink); font-weight: 700; box-shadow: 0 0 0 2px rgba(10,10,10,0.12); }
.material-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.mat-option {
  padding: 14px; border: 1px solid var(--border);
  border-radius: var(--r); text-align: center;
  cursor: pointer; transition: .15s;
  position: relative;
}
.mat-option:hover { border-color: var(--ink); }
.mat-option.active { border-width: 2px; border-color: var(--ink); background: rgba(10,10,10,0.06); box-shadow: 0 0 0 2px rgba(10,10,10,0.12); }
.mat-option.active::after {
  content: '✓';
  position: absolute; top: 5px; right: 7px;
  font-size: var(--fs-2xs); font-weight: 700; line-height: 1;
  color: var(--ink);
  animation: matCheckPop .2s cubic-bezier(.16,1,.3,1) both;
}
@keyframes matCheckPop {
  from { transform: scale(0) rotate(-30deg); opacity: 0; }
  to   { transform: scale(1) rotate(0deg);   opacity: 1; }
}
.mat-name { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; }
.price-amount {
  font-family: var(--font-body);
  font-size: var(--fs-xl); font-weight: 900;
  color: var(--ink); margin-bottom: 4px;
}
.product-details { margin-top: 48px; max-width: 700px; }
.product-details h3 {
  font-family: var(--font-body);
  font-size: var(--fs-base); font-weight: 800; text-transform: uppercase;
  margin-bottom: 12px;
}
.product-details p {
  font-family: var(--font-body);
  font-size: var(--fs-sm); color: var(--ink3); line-height: 1.8;
}

/* ── HERO PARTICLES ───────────────────────────────── */
@keyframes float-up {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-110vh) rotate(360deg); }
}

/* ── HERO LIVE BADGE ──────────────────────────────── */

/* ── 3D TILT ──────────────────────────────────────── */
.pc, .finish-card { transition: transform .15s ease-out, box-shadow .3s; }

/* ── PRODUCT PREVIEW / UPLOAD ─────────────────────── */
.upload-dropzone.has-file {
  border-color: var(--blue); border-style: solid;
  background: rgba(77,124,255,0.04);
}
.upload-hint { font-size: var(--fs-2xs); color: var(--ink4); font-weight: 400; }

/* ── RESPONSIVE ────────────────────────────────────── */
@media(max-width:1200px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
}
@media(max-width:1024px) {
  nav { padding: 0 24px; }
  section { padding: 80px 24px; }
  .sec-h2 { font-size: clamp(36px, 7vw, 80px); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .finishes-grid { grid-template-columns: repeat(2, 1fr); }
  .ft-cols { grid-template-columns: repeat(2, 1fr); }
  .ft-main { padding: 48px 24px; }
  .ft-bottom { padding: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media(max-width:960px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}
@media(max-width:768px) {
  nav { padding: 0 20px; gap: 12px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-icon { display: none; } /* simplificar nav mobile */
  .btn-nav-cta { padding: 10px 14px; font-size: var(--fs-2xs); letter-spacing: 1px; }
  .nav-logo { font-size: var(--fs-md); }
  .nav-end { gap: 6px; }
  .how-grid { grid-template-columns: 1fr; }
}
@media(max-width:600px) {
  nav { top: 0; padding: 0 16px; height: 58px; }
  .nav-logo { font-size: var(--fs-base); letter-spacing: -1px; }
  .nav-logo img.nav-logo-mascot { width: 31px; height: 31px; }
  .nav-logo img.nav-logo-wordmark { width: 78px; }
  .btn-nav-cta { padding: 9px 12px; font-size: var(--fs-2xs); letter-spacing: 0.5px; }
  .mobile-menu { top: 58px; }
  .hero { padding: 110px 24px 60px; }
  .hero h1 { letter-spacing: -1px; }
  .prod-grid { grid-template-columns: 1fr; }
  .finishes-grid { grid-template-columns: 1fr 1fr; }
  .ft-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .ft-bottom { flex-direction: column; text-align: center; }
  .ft-brand { flex-direction: column; gap: 8px; }
  .ft-bottom-right { flex-direction: column; gap: 12px; }
  .custom-section { padding: 80px 24px 0; }
  .page-hero { padding: 100px 24px 60px; }
}

/* ═══ GUARANTEES BAR ═══ */

/* ═══ IG GRID 6 items ═══ */

/* ═══════════════════════════════════════════════════════
   CREATIVE TEXTURES — Full-page organic pattern
   ═══════════════════════════════════════════════════════ */

/* Footer: bg + z-index definidos en la regla base (línea ~1730) */

/* Color stripe divider */
/* .color-stripe eliminado — dejaba de tener sentido sin value-icons */

/* (Product card hover gradient line eliminada — la sombra dura 6px 6px hace el trabajo) */

/* ═══ 3D DEPTH & PREMIUM EFFECTS ═══ */

/* Elevated cards — la regla de .pc hover se define en Task 11 (hard shadow) */
.card, .finish-card, .how-card {
  box-shadow:
    0 1px 2px rgba(0,0,0,0.04),
    0 4px 12px rgba(0,0,0,0.03);
  transition: transform 0.3s cubic-bezier(.16,1,.3,1), box-shadow 0.3s;
}
.finish-card:hover, .how-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 2px 4px rgba(0,0,0,0.06),
    0 8px 24px rgba(0,0,0,0.06);
}

/* Glassmorphism nav on scroll */
nav.scrolled {
  background: rgba(254,254,254,0.85);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  box-shadow:
    0 1px 0 rgba(0,0,0,0.04),
    0 4px 20px rgba(0,0,0,0.03);
}

/* (Section titles: typography sólida sin text-shadow) */

/* Hero title ya no usa text-shadow — tipografía sólida sobre cream */

/* Inset shadow on inputs for tactile feel */
.cfg-select, input[type="number"], input[type="text"], input[type="email"], textarea, select {
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.04);
}

/* Button press effect */
.btn-cta-lg:active, .btn-outline:active, .btn-ghost-lg:active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

/* (Box-shadow glow removed — botones usan sombra dura en :hover ahora) */

/* Finish cards with inner glow */
.finish-card {
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow:
    0 1px 3px rgba(0,0,0,0.04),
    inset 0 1px 0 rgba(255,255,255,0.8);
}

/* Value icons subtle lift */

/* (.how-step-num usa subrayado de color en lugar de text-shadow) */

/* (reglas duplicadas de .faq-item movidas al bloque principal) */

/* ═══ CONFIGURATOR ENHANCEMENTS ═══ */
.cfg-select {
  width: 100%; padding: 12px 14px; font-size: var(--fs-sm); font-family: var(--font-body);
  background: var(--bg); border: 1px solid var(--border2); border-radius: 8px;
  color: var(--ink); cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.cfg-select:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(77,124,255,0.12); }
.cfg-select optgroup { font-weight: 700; color: var(--ink2); }

/* Step numbers in config */

/* Price box enhancement */

/* Responsive configurator */

/* ── SCROLL REVEAL ANIMATIONS ─────────────────────────
   Elements start hidden, animate in when .revealed class
   is added via IntersectionObserver in JS. */
.reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(.16,1,.3,1), transform 0.6s cubic-bezier(.16,1,.3,1);
}
.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger children */
.reveal-item:nth-child(2) { transition-delay: 0.08s; }
.reveal-item:nth-child(3) { transition-delay: 0.16s; }
.reveal-item:nth-child(4) { transition-delay: 0.24s; }
.reveal-item:nth-child(5) { transition-delay: 0.32s; }
.reveal-item:nth-child(6) { transition-delay: 0.40s; }
.reveal-item:nth-child(7) { transition-delay: 0.48s; }
.reveal-item:nth-child(8) { transition-delay: 0.56s; }
.reveal-item:nth-child(9) { transition-delay: 0.64s; }

/* ── NAV ACTIVE PAGE INDICATOR ────────────────────────
   Highlight the current page link in nav. */
.nav-links a.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* ═══════════════════════════════════════════════════════
   ACCESSIBILITY & UX IMPROVEMENTS
   ═══════════════════════════════════════════════════════ */

/* ── FOCUS STATES ─────────────────────────────────────
   Visible focus ring on ALL interactive elements.
   Uses :focus-visible so mouse clicks stay clean. */

/* Inputs already change border on :focus — add ring too */
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible,
.size-inputs input:focus-visible,
.cfg-select:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 1px;
}

/* Nav links, buttons, cards — ensure ring is visible */
.nav-links a:focus-visible,
.btn-nav-cta:focus-visible,
.btn-cta-lg:focus-visible,
.btn-ghost-lg:focus-visible,
.btn-outline:focus-visible,
.nav-icon:focus-visible,
.nav-burger:focus-visible,
.btt:focus-visible,
.wa-float:focus-visible,
.mobile-menu a:focus-visible,
.ft-col a:focus-visible,
.ft-social a:focus-visible,
.breadcrumb a:focus-visible,
.catalogo-vacio-contacto:focus-visible,
.ficha-contacto-rapido-ig:focus-visible,
.instagram-post--follow:focus-visible,
.catalogo-marcas-lista a:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

/* Product cards, tabs, options — ring outside border */
.pc:focus-visible,
.prod-tab:focus-visible,
.faq-q:focus-visible,
.mat-option:focus-visible,
.qty-option:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

/* ── CURSOR POINTER ───────────────────────────────────
   All clickable elements get pointer cursor. */
.pc,
.prod-tab,
.faq-q,
.mat-option,
.qty-option,
.nav-burger,
.btt,
.wa-float,
.nav-icon,
.btn-nav-cta,
.btn-cta-lg,
.btn-ghost-lg,
.btn-outline,
.mobile-menu a,
.breadcrumb a,
.ft-col a {
  cursor: pointer;
}

/* ── TOUCH TARGET MINIMUM 44x44 ──────────────────────
   Ensure small interactive elements meet 44x44px min. */
.nav-icon,
.nav-burger,
.btt,
.faq-icon,
.ft-social a {
  min-width: 44px;
  min-height: 44px;
}
.prod-tab {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.qty-option {
  min-height: 44px;
}
.mat-option {
  min-height: 44px;
}

/* ── PREFERS-REDUCED-MOTION ──────────────────────────
   Disable animations and transitions for users who
   prefer reduced motion. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .reveal-item { opacity: 1; transform: none; }
  .pc:hover, .finish-card:hover, .how-card:hover { transform: none; }
  .wa-float:hover { transform: none; }
  .btn-cta-lg:hover, .btn-nav-cta:hover { transform: none; }
  .aurora-blob { animation: none !important; }
  .ts-track { animation: none !important; }
  .has-spotlight::before { display: none; }
  .has-tilt { transform: none !important; }
}

/* ════════════════════════════════════════════════════════
   9 EFECTOS 21st.dev portados (Sprint adicional)
   ════════════════════════════════════════════════════════ */

/* #1 · SPOTLIGHT cursor follower (cards) */
.has-spotlight {
  position: relative;
  overflow: hidden;
}
.has-spotlight::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(
    420px circle at var(--sx, 50%) var(--sy, 50%),
    rgba(0, 229, 195, 0.22) 0%,
    rgba(0, 229, 195, 0.08) 25%,
    transparent 55%
  );
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
  z-index: 1;
  border-radius: inherit;
}
.has-spotlight:hover::before { opacity: 1; }
.has-spotlight > * { position: relative; z-index: 2; }
.finish-card.has-spotlight::before {
  background: radial-gradient(
    480px circle at var(--sx, 50%) var(--sy, 50%),
    rgba(255, 60, 0, 0.15) 0%,
    rgba(255, 60, 0, 0.05) 25%,
    transparent 55%
  );
}

/* #2 · PARALLAX hero sticker — wrapper preserva translateY, body preserva rotación */
.hero-sticker {
  will-change: transform;
}

/* #3 · NUMBER TICKER — visible-on-mount, JS set initial value */
.ticker-num { font-variant-numeric: tabular-nums; }

/* #4 · BORDER BEAM en CTA */
@property --beam-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
@keyframes beam-rotate { to { --beam-angle: 360deg; } }

/* #5 · MARQUEE 3D perspective — aplicar a trusted-strip
   La animación de marquee usa transform translateX, así que combinamos
   rotateX dentro de los keyframes específicos para que no se pisen. */
.trusted-strip {
  perspective: 1000px;
  perspective-origin: center 60%;
}
.trusted-strip .ts-track {
  transform-origin: center center;
  animation: marquee-3d 45s linear infinite;
}
.trusted-strip .ts-track:hover { animation-play-state: paused; }
@keyframes marquee-3d {
  0%   { transform: rotateX(8deg) translate3d(0, 0, 0); }
  100% { transform: rotateX(8deg) translate3d(-50%, 0, 0); }
}

/* #6 · AURORA BLUR BLOB en custom-section oscura */
.custom-section { isolation: isolate; }
.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: aurora-float 22s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.aurora-blob.b1 {
  width: 480px; height: 480px;
  background: var(--blue);
  top: -120px; left: -120px;
  animation-delay: 0s;
}
.aurora-blob.b2 {
  width: 420px; height: 420px;
  background: var(--pink);
  bottom: -120px; right: -100px;
  animation-delay: -8s;
}
.aurora-blob.b3 {
  width: 360px; height: 360px;
  background: var(--cyan);
  top: 40%; left: 50%;
  animation-delay: -14s;
}
@keyframes aurora-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 50px) scale(0.95); }
}
.custom-section .sec-wrap { position: relative; z-index: 2; }

/* #7 · CARD TILT 3D on mousemove */
.has-tilt {
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transition: transform .25s ease-out;
  will-change: transform;
}
.how-grid { perspective: 1200px; }
.how-card.has-tilt:hover { transform: perspective(1000px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)) translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.how-card.has-tilt .how-step-num { transform: translateZ(30px); }
.how-card.has-tilt .how-card-title { transform: translateZ(20px); }

/* #8 · ANIMATED GRID en hero */
@keyframes grid-drift {
  0% { background-position: 0 0, 0 0, 0 0; }
  100% { background-position: 18px 18px, 80px 80px, 80px 80px; }
}

.price-amount.is-loading,
.price-amount.is-loading + .price-unit { visibility: hidden; }
.cfg-price-box.is-loading .sk-shell { display: block; }

/* ════════════════════════════════════════════════════════════════
   CATÁLOGO — layout editorial (Prioridad 2 taste-skill audit)
   Rompe el grid 3-col uniforme con bento style: featured + tall
   cards. Solo afecta /catalogo (scoped via body[data-page]).
   ════════════════════════════════════════════════════════════════ */

body[data-page="catalogo"] .prod-grid {
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

/* Card featured: hero del catálogo, ocupa 2 cols × 2 rows */
body[data-page="catalogo"] .pc {
  grid-column: span 4;
}

/* Cards "tall": packaging + clipper con aspect-ratio vertical */

/* Hover distintivo (no translate+shadow genérico):
   - Borde lateral en accent que aparece desde abajo
   - Imagen zoom + sutile rotación
   - Nombre adopta color accent */
body[data-page="catalogo"] .pc {
  position: relative;
  transition: transform .35s cubic-bezier(.16,1,.3,1);
  transform: translateZ(0);
}
body[data-page="catalogo"] .pc::before {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 4px; height: 0;
  background: var(--orange-hot, #ff3c00);
  z-index: 5;
  transition: height .45s cubic-bezier(.16,1,.3,1);
}
body[data-page="catalogo"] .pc:hover {
  transform: translateY(-4px); /* override del translate(-3px,-3px) genérico */
  box-shadow: 0 12px 32px rgba(10,10,10,0.16); /* shadow más cinematográfico */
}
body[data-page="catalogo"] .pc:hover::before {
  height: 100%;
}
body[data-page="catalogo"] .pc:hover .pc-name {
  color: var(--orange-hot, #ff3c00);
  transition: color .25s ease;
}
body[data-page="catalogo"] .pc-name {
  transition: color .25s ease;
}

/* Tabs: motion suave al cambiar activo */
body[data-page="catalogo"] .prod-tabs {
  gap: 8px;
  flex-wrap: wrap;
}
body[data-page="catalogo"] .prod-tab {
  position: relative;
  transition: background .25s ease, color .25s ease, transform .15s ease;
}
body[data-page="catalogo"] .prod-tab:active {
  transform: scale(0.96);
}

/* Filter transition: cards filtradas hacen fade-out elegante */
body[data-page="catalogo"] .pc.hidden {
  display: none;
}
body[data-page="catalogo"] .pc {
  animation: pcFilterIn .45s cubic-bezier(.16,1,.3,1) both;
}
@keyframes pcFilterIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Responsive: bento se simplifica progresivamente */
@media (max-width: 1100px) {
  body[data-page="catalogo"] .prod-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  body[data-page="catalogo"] .pc {
    grid-column: span 2;
  }
}

@media (max-width: 700px) {
  body[data-page="catalogo"] .prod-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  body[data-page="catalogo"] .pc {
    grid-column: span 1;
  }
  
  body[data-page="catalogo"] .pc-vis {
    aspect-ratio: 1/1;
  }
}

@media (max-width: 480px) {
  body[data-page="catalogo"] .prod-grid {
    grid-template-columns: 1fr;
  }
  body[data-page="catalogo"] .pc {
    grid-column: span 1;
  }
}

/* Reduced motion: desactiva la entrada animada y la línea lateral */
@media (prefers-reduced-motion: reduce) {
  body[data-page="catalogo"] .pc {
    animation: none;
    transition: none;
  }
  body[data-page="catalogo"] .pc::before { display: none; }
  body[data-page="catalogo"] .pc:hover { transform: none; }
}

/* ════════════════════════════════════════════════════════════════
   v467 — taste-skill: nosotros.html (pillars + services)
   ════════════════════════════════════════════════════════════════ */

/* Pillars: añade número de orden grande como contador editorial */

/* Service cards: hover line + name color (consistencia con catálogo) */

/* About-intro: pull-quote treatment para el primer párrafo */

/* ════════════════════════════════════════════════════════════════
   v467 — taste-skill: contacto.html (form + info items)
   ════════════════════════════════════════════════════════════════ */

/* Inputs: focus state con accent border más visible + sutil glow */
body[data-page="contacto"] .contact-form input,
body[data-page="contacto"] .contact-form select,
body[data-page="contacto"] .contact-form textarea {
  transition: border-color .25s ease, box-shadow .25s ease, transform .15s ease;
}
body[data-page="contacto"] .contact-form input:focus,
body[data-page="contacto"] .contact-form select:focus,
body[data-page="contacto"] .contact-form textarea:focus {
  outline: none;
  border-color: var(--orange-hot, #ff3c00);
  box-shadow: 0 0 0 3px rgba(255, 60, 0, 0.12);
}

/* Submit button: motion al hover (no es genérico btn-cta-lg) */
body[data-page="contacto"] .form-submit {
  transition: transform .2s cubic-bezier(.16,1,.3,1), box-shadow .2s ease, background .2s ease;
}
body[data-page="contacto"] .form-submit:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 60, 0, 0.25);
}
body[data-page="contacto"] .form-submit:not(:disabled):active {
  transform: translateY(0);
}

/* Success state: card animada cuando el form se envía */
body[data-page="contacto"] .form-success {
  display: none;
  margin-top: 16px;
  padding: 16px 20px;
  background: rgba(0, 229, 195, 0.08);
  border: 1px solid rgba(0, 229, 195, 0.3);
  border-left: 4px solid var(--cyan, #00e5c3);
  border-radius: 8px;
  font-size: var(--fs-sm);
  color: var(--ink, #0a0a0a);
  font-weight: 600;
  animation: contactSuccessIn .55s cubic-bezier(.16,1,.3,1);
}
@keyframes contactSuccessIn {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Contact info items: hover con accent line + traslación */
body[data-page="contacto"] .ci-item {
  position: relative;
  transition: transform .25s cubic-bezier(.16,1,.3,1);
  padding-left: 14px;
}
body[data-page="contacto"] .ci-item::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%) scaleY(0);
  transform-origin: center;
  width: 3px; height: 60%;
  background: var(--orange-hot, #ff3c00);
  border-radius: 2px;
  transition: transform .3s cubic-bezier(.16,1,.3,1);
}
body[data-page="contacto"] .ci-item:hover {
  transform: translateX(4px);
}
body[data-page="contacto"] .ci-item:hover::before {
  transform: translateY(-50%) scaleY(1);
}

/* ════════════════════════════════════════════════════════════════
   v467 — taste-skill: plantillas.html (cards reveal + hover)
   ════════════════════════════════════════════════════════════════ */

body[data-page="plantillas"] .pl-card {
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease, border-color .3s ease;
  animation: plCardIn .5s cubic-bezier(.16,1,.3,1) both;
}
body[data-page="plantillas"] .pl-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(10,10,10,0.12);
  border-color: var(--orange-hot, #ff3c00);
}
body[data-page="plantillas"] .pl-card:nth-child(1) { animation-delay: .04s; }
body[data-page="plantillas"] .pl-card:nth-child(2) { animation-delay: .09s; }
body[data-page="plantillas"] .pl-card:nth-child(3) { animation-delay: .14s; }
body[data-page="plantillas"] .pl-card:nth-child(4) { animation-delay: .19s; }
body[data-page="plantillas"] .pl-card:nth-child(5) { animation-delay: .24s; }
body[data-page="plantillas"] .pl-card:nth-child(6) { animation-delay: .29s; }
body[data-page="plantillas"] .pl-card:nth-child(7) { animation-delay: .34s; }
body[data-page="plantillas"] .pl-card:nth-child(8) { animation-delay: .39s; }
body[data-page="plantillas"] .pl-card:nth-child(9) { animation-delay: .44s; }
@keyframes plCardIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Reduced motion para todas las nuevas animations */
@media (prefers-reduced-motion: reduce) {
  
  body[data-page="contacto"] .form-success,
  body[data-page="contacto"] .ci-item,
  body[data-page="contacto"] .ci-item::before,
  body[data-page="plantillas"] .pl-card {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* ════════════════════════════════════════════════════════════════
   PRODUCTO — precio cinemático (Prioridad 1 taste-skill audit)
   Eleva tipográficamente el PVP con clamp grande, scale pulse + glow
   al recalcular y trust strip estructurada. Solo afecta /producto.
   ════════════════════════════════════════════════════════════════ */
body[data-page="producto"] .cfg-price-cta {
  margin-top: 18px;
  padding: 18px;
  background: var(--bg2, #faf7ee);
  border: 1px solid var(--ink5, rgba(0,0,0,0.08));
  border-radius: 12px;
  transition: border-color .35s cubic-bezier(.16,1,.3,1), box-shadow .35s cubic-bezier(.16,1,.3,1);
}
body[data-page="producto"] .cfg-price-cta:has(.flash) {
  border-color: var(--color-brand, #f4d65a);
  box-shadow: 0 0 32px rgba(244, 214, 90, 0.18);
}
body[data-page="producto"] .cfg-price-box {
  margin-bottom: 14px;
}
body[data-page="producto"] .price-label {
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink4, #6b6b6b);
  margin-bottom: 6px;
}
body[data-page="producto"] .price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
body[data-page="producto"] .price-amount {
  font-family: var(--font-mono);
  font-size: clamp(36px, 6.4vw, 72px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--ink, #0a0a0a);
  font-variant-numeric: tabular-nums;
  display: inline-block;
  transform-origin: left center;
  transition: transform .35s cubic-bezier(.16,1,.3,1);
  will-change: transform;
}
body[data-page="producto"] .price-amount.flash {
  animation: cfgPriceFlash .55s cubic-bezier(.16,1,.3,1);
}
/* Cuando no hay cifra sino una frase («Tras revisión»), el bloque usa cuerpo de texto.
   El modificador vive en editor.css con especificidad 0,1,0 y esta regla de arriba
   (0,2,1) lo anulaba en silencio: la frase salía a 72px en una caja de 342x144. */
body[data-page="producto"] .price-amount--quote {
  font-family: var(--font-body);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-wrap: balance;
}
body[data-page="producto"] .price-unit {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--ink3, #4a4a4a);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.2px;
}
body[data-page="producto"] .price-badge-green,
body[data-page="producto"] .price-badge-orange {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
body[data-page="producto"] .price-badge-green {
  background: rgba(34, 197, 94, 0.12);
  /* WCAG AA: bg verde claro requiere fg muy oscuro para 4.5+. #14532d ratio 8.0 */
  color: rgb(20, 83, 45);
  border: 1px solid rgba(34, 197, 94, 0.3);
}
body[data-page="producto"] .price-badge-orange {
  background: rgba(249, 115, 22, 0.12);
  /* WCAG AA: sobre el fondo naranja claro, #c2410c daba 4.17. #a82c00 sube a ~5.7 (igual que la badge verde hermana) */
  color: rgb(168, 44, 0);
  border: 1px solid rgba(249, 115, 22, 0.3);
}
body[data-page="producto"] .cfg-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--ink4, #6b6b6b);
}
body[data-page="producto"] .cfg-trust > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
body[data-page="producto"] .cfg-trust > span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-brand, #f4d65a);
}

@keyframes cfgPriceFlash {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.04); }
  100% { transform: scale(1); }
}

/* Mobile sticky bar — refinar tipografía */
body[data-page="producto"] .mobile-price-bar .mpb-price {
  font-family: var(--font-mono);
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
body[data-page="producto"] .mobile-price-bar .mpb-unit {
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  letter-spacing: 0.5px;
  color: var(--ink4, #6b6b6b);
  text-transform: uppercase;
}
body[data-page="producto"] .mobile-price-bar .mpb-price.flash {
  animation: cfgPriceFlash .45s cubic-bezier(.16,1,.3,1);
}

@media (max-width: 768px) {
  body[data-page="producto"] .price-amount {
    font-size: clamp(32px, 9vw, 52px);
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="producto"] .price-amount,
  body[data-page="producto"] .price-amount.flash,
  body[data-page="producto"] .mobile-price-bar .mpb-price.flash,
  body[data-page="producto"] .cfg-price-cta {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* ══════════════════════════════════════════════════════════
   21st.dev-inspired UI patterns — adapted to vanilla CSS
   ══════════════════════════════════════════════════════════ */

/* Shared keyframe: diagonal shine sweep */
@keyframes shineSweep {
  from { left: -80%; }
  to   { left: 130%; }
}

/* ① Shine sweep — .btn-cta-lg (dark ink pill button)
   A diagonal highlight slides across on hover, 21st.dev "shimmer button" pattern */
.btn-cta-lg {
  position: relative;
  overflow: hidden;
}
.btn-cta-lg::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 45%; height: 100%;
  background: linear-gradient(105deg,
    transparent 0%,
    rgba(255,255,255,.22) 50%,
    transparent 100%);
  transform: skewX(-15deg);
  pointer-events: none;
}
.btn-cta-lg:hover::before { animation: shineSweep .5s ease forwards; }

/* ② Shine sweep — .btn-outline (light pill button, darker subtle tint) */
.btn-outline {
  position: relative;
  overflow: hidden;
}
.btn-outline::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 45%; height: 100%;
  background: linear-gradient(105deg,
    transparent 0%,
    rgba(10,10,10,.06) 50%,
    transparent 100%);
  transform: skewX(-15deg);
  pointer-events: none;
}
.btn-outline:hover::before { animation: shineSweep .5s ease forwards; }

/* ③ Gradient text eyebrows — .sec-num (21st.dev "gradient label" pattern)
   orange-hot → pink sweep gives the eyebrow numbers brand personality */
.sec-num {
  background: linear-gradient(90deg, var(--orange-hot) 0%, var(--pink) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
/* Decorative lines keep their own background — unaffected by clip */
.sec-num::before, .sec-num::after { background: var(--orange-hot); }
/* Override: .custom-section eyebrow reverts to ink text */
.custom-section .sec-num {
  background: none;
  -webkit-text-fill-color: var(--ink);
  color: var(--ink);
}

/* ④ Product card (.pc) shine — overlay sweeps across on hover */
.pc { position: relative; }
.pc::before {
  content: '';
  position: absolute;
  inset: 0;
  left: -80%;
  width: 40%;
  background: linear-gradient(105deg,
    transparent 0%,
    rgba(255,255,255,.14) 50%,
    transparent 100%);
  transform: skewX(-15deg);
  pointer-events: none;
  z-index: 2;
}
.pc:hover::before { animation: shineSweep .55s ease forwards; }

/* ⑤ Featured product card (.pc--cta) — brand glow ring on hover
   21st.dev "spotlight card" pattern: radial warm glow emanates from brand CTA */
.pc.pc--cta:hover {
  box-shadow:
    6px 6px 0 var(--ink),
    0 0 0 1px rgba(255,60,0,.25),
    0 0 28px 6px rgba(255,60,0,.18);
}

/* ⑥ How-it-works cards — upgrade flat hover to brand glow accent
   21st.dev "card hover glow" pattern */
.how-card {
  overflow: hidden;
}
.how-card::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 45%; height: 100%;
  background: linear-gradient(105deg,
    transparent 0%,
    rgba(255,255,255,.12) 50%,
    transparent 100%);
  transform: skewX(-15deg);
  pointer-events: none;
}
.how-card:hover::before { animation: shineSweep .5s ease forwards; }
.how-card:hover {
  transform: translate(-3px,-3px);
  box-shadow: 6px 6px 0 var(--ink), 0 0 20px rgba(0,0,0,.06);
}

/* ⑦ Finish cards — same shine pattern */
.finish-card {
  overflow: hidden;
  position: relative;
}
.finish-card::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 45%; height: 100%;
  background: linear-gradient(105deg,
    transparent 0%,
    rgba(255,255,255,.13) 50%,
    transparent 100%);
  transform: skewX(-15deg);
  pointer-events: none;
  z-index: 2;
}
.finish-card:hover::before { animation: shineSweep .5s ease forwards; }

/* ⑧ sec-num animated underline on hover — 21st.dev "animated label" */
@keyframes secNumLineGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ⑨ Reduced-motion: disable all 21st.dev effects */
@media (prefers-reduced-motion: reduce) {
  .btn-cta-lg::before,
  .btn-outline::before,
  .pc::before,
  .how-card::before,
  .finish-card::before            { display: none !important; }
  .pc.pc--cta:hover               { box-shadow: 6px 6px 0 var(--ink) !important; }
  .how-card:hover                 { box-shadow: 6px 6px 0 var(--ink) !important; }
}

/* ══════════════════════════════════════════════════════════
   HOLOGRAPHIC FOIL SYSTEM — .pc product cards
   Two divs injected by JS: .pc-holo (rainbow) + .pc-shine (specular).
   --holo-angle, --shine-x, --shine-y are set via JS on mousemove.
   mix-blend-mode: color-dodge/screen on cream background creates
   iridescent reflection that shifts as the card tilts.
   ══════════════════════════════════════════════════════════ */
.pc-holo,
.pc-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 3;
}
.pc-holo {
  background: linear-gradient(
    calc(var(--holo-angle, 135deg)),
    hsl(0,   100%, 64%)   0%,
    hsl(35,  100%, 62%)  14%,
    hsl(65,  100%, 58%)  28%,
    hsl(120, 100%, 58%)  42%,
    hsl(190, 100%, 57%)  56%,
    hsl(240, 100%, 65%)  70%,
    hsl(295, 100%, 62%)  85%,
    hsl(360, 100%, 64%) 100%
  );
  opacity: 0;
  mix-blend-mode: color-dodge;
  transition: opacity .18s ease;
}
.pc-shine {
  background: radial-gradient(
    circle at var(--shine-x, 50%) var(--shine-y, 50%),
    rgba(255,255,255,.60)  0%,
    rgba(255,255,255,.16) 28%,
    transparent           65%
  );
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity .18s ease;
}
.pc:hover .pc-holo { opacity: .20; }
.pc:hover .pc-shine { opacity: 1; }

/* Hero stack parallax — smooth transition when cursor moves */
.hs-card {
  transition: transform .12s cubic-bezier(.16,1,.3,1);
  will-change: transform;
}

/* Reduced motion: disable holo overlays + parallax */
@media (prefers-reduced-motion: reduce) {
  .pc-holo, .pc-shine { display: none !important; }
  .hs-card             { transition: none !important; will-change: auto !important; }
}

/* ════════════════════════════════════════════════════════════════
   CATÁLOGO Y FICHAS DE PRODUCTO — escaparate limpio
   El fondo blanco y el tratamiento sin marcos integran las fotos.
   Los precios viven únicamente en las fichas editoriales.
   ════════════════════════════════════════════════════════════════ */
body[data-page="catalogo"],
body[data-page="ficha-producto"],
.catalogo-editorial,
.ficha-producto {
  background: var(--white);
  color: var(--ink);
}

.catalogo-editorial h1,
.catalogo-editorial h2,
.catalogo-editorial h3,
.ficha-producto h1,
.ficha-producto h2 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
}

.catalogo-kicker {
  color: var(--orange-text);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.catalogo-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .2s ease, border-color .2s ease;
}

.catalogo-link:hover,
.catalogo-link:focus-visible {
  color: var(--orange-text);
  border-color: var(--orange-text);
}

/* Portada: la imagen descansa directamente sobre el fondo de la página. */


.ficha-acciones {
  display: flex;
  align-items: center;
  gap: var(--s-8);
  margin-top: var(--s-10);
}

/* Secciones de familias: jerarquía amplia y una retícula repetible. */
.catalogo-showcase {
  max-width: 1536px;
  margin-inline: auto;
  padding: clamp(var(--s-20), 8vw, var(--s-32)) 48px;
  border-top: 1px solid var(--border2);
  scroll-margin-top: 112px;
}

.catalogo-productos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(var(--s-16), 6vw, var(--s-24)) clamp(var(--s-6), 3vw, var(--s-12));
}

.catalogo-producto {
  min-width: 0;
  display: block;
  color: var(--ink);
}

.catalogo-producto-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--white);
  isolation: isolate;
}

.catalogo-producto-media img {
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .35s cubic-bezier(.16, 1, .3, 1);
}


.ficha-hero-media--transparentes {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 7%;
  padding-block: 14%;
}


.ficha-hero-media--transparentes img {
  width: auto;
  height: auto;
  object-fit: contain;
}


.ficha-hero-media--transparentes img:first-child {
  width: 29%;
}


.ficha-hero-media--transparentes img:last-child {
  width: 37%;
}

.catalogo-producto:hover .catalogo-producto-media img,
.catalogo-producto:focus-visible .catalogo-producto-media img {
  transform: scale(1.025);
}

.catalogo-producto-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: var(--s-6);
  padding-top: var(--s-6);
  border-top: 1px solid var(--ink);
}

.catalogo-producto h3 {
  max-width: 20ch;
  margin-top: var(--s-3);
  font-size: clamp(28px, 3.5vw, 54px);
  line-height: .92;
  letter-spacing: -.045em;
}

.catalogo-producto-copy > p:not(.catalogo-producto-num) {
  grid-column: 1;
  max-width: 48ch;
  margin-top: var(--s-4);
  color: var(--ink-mute);
  font-size: var(--fs-sm);
}

.catalogo-producto:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: var(--s-2);
}

/* Ilustración sobria para pegatinas mientras no haya una sesión fotográfica. */

/* Fichas: una foto, datos esenciales y la tarifa, sin competir entre sí. */
.ficha-producto {
  min-height: 100svh;
  padding-top: 76px;
}

.ficha-contenido[hidden],
.ficha-no-encontrada[hidden] {
  display: none;
}

.ficha-miga {
  max-width: 1440px;
  display: flex;
  gap: var(--s-3);
  margin-inline: auto;
  padding: var(--s-8) 48px 0;
  color: var(--ink-mute);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
}

.ficha-miga a {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}

.ficha-hero {
  max-width: 1440px;
  min-height: 540px;
  display: grid;
  grid-template-columns: minmax(320px, .95fr) minmax(340px, .8fr);
  gap: clamp(var(--s-6), 4vw, var(--s-16));
  align-items: center;
  margin-inline: auto;
  padding: var(--s-8) 48px var(--s-12);
}

.ficha-hero h1 {
  max-width: 11ch;
  margin-top: var(--s-4);
  font-size: clamp(58px, 7vw, 106px);
  line-height: .84;
  letter-spacing: -.06em;
}

.ficha-intro {
  max-width: 53ch;
  margin-top: var(--s-8);
  color: var(--ink-mute);
  font-size: var(--fs-md);
}

.ficha-datos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: var(--s-6);
  border-block: 1px solid var(--border2);
}

.ficha-datos > div {
  min-width: 0;
  padding: var(--s-4);
  border-right: 1px solid var(--border2);
}

.ficha-datos > div:first-child { padding-left: 0; }
.ficha-datos > div:last-child { border-right: 0; }

.ficha-datos dt {
  color: var(--ink-mute);
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ficha-datos dd {
  margin-top: var(--s-2);
  font-size: var(--fs-sm);
  font-weight: 700;
}

.ficha-hero-media {
  max-width: 520px;
  width: 100%;
  aspect-ratio: 4 / 3;
  position: relative;
  display: grid;
  place-items: center;
  justify-self: end;
  overflow: hidden;
  background: var(--white);
}

.ficha-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ficha-hero-media--chubby img {
  width: auto;
  height: 62%;
}

.ficha-hero-media--tubo img {
  width: auto;
  height: 76%;
}

.ficha-precios {
  padding: clamp(var(--s-12), 5vw, var(--s-20)) max(48px, calc((100vw - 1440px) / 2));
  border-top: 1px solid var(--border2);
  background: var(--white);
}

.ficha-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .45fr);
  gap: var(--s-8);
  align-items: end;
  margin-bottom: var(--s-8);
}

.ficha-section-head h2 {
  grid-column: 1;
  max-width: 17ch;
  margin-top: var(--s-3);
  font-size: clamp(42px, 5vw, 74px);
  line-height: .9;
  letter-spacing: -.045em;
}

.ficha-section-head > p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--ink-mute);
}

.catalogo-precio-scroll {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  overflow-x: auto;
  contain: inline-size;
  overscroll-behavior-inline: contain;
  scrollbar-color: var(--ink) var(--paper);
}

.catalogo-precio-scroll:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: var(--s-2);
}

.catalogo-precios {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.catalogo-precios th,
.catalogo-precios td {
  padding: var(--s-5) var(--s-4);
  border-bottom: 1px solid var(--border2);
  text-align: right;
  white-space: nowrap;
}

.catalogo-precios th:first-child,
.catalogo-precios td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 180px;
  background: var(--white);
  text-align: left;
}

.catalogo-precios thead th {
  color: var(--ink-mute);
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.catalogo-precios tbody th,
.catalogo-precios tbody td {
  font-size: var(--fs-base);
  font-weight: 800;
}

.catalogo-precios tbody tr:last-child th,
.catalogo-precios tbody tr:last-child td {
  border-bottom-color: var(--ink);
}

.catalogo-precios--stickers {
  min-width: 720px;
}

.catalogo-precios--stickers th:first-child {
  min-width: 420px;
}

.catalogo-cut,
.catalogo-cut-desc {
  display: block;
}

.catalogo-cut {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  text-transform: uppercase;
}

.catalogo-cut-desc {
  max-width: 52ch;
  margin-top: var(--s-2);
  color: var(--ink-mute);
  font-size: var(--fs-sm);
  font-weight: 400;
  line-height: 1.4;
  white-space: normal;
}

.ficha-no-encontrada {
  max-width: 900px;
  min-height: 70svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-inline: auto;
  padding: var(--s-24) 48px;
}

.ficha-no-encontrada h1 {
  max-width: 12ch;
  margin-top: var(--s-4);
  font-size: clamp(48px, 8vw, 96px);
  line-height: .86;
  letter-spacing: -.055em;
}

.ficha-no-encontrada > p:last-of-type {
  max-width: 48ch;
  margin-top: var(--s-6);
  color: var(--ink-mute);
}

.ficha-no-encontrada .btn-cta-lg {
  width: max-content;
  margin-top: var(--s-8);
}

@media (max-width: 980px) {
  
  .ficha-hero {
    grid-template-columns: 1fr;
  }

  .ficha-hero {
    min-height: auto;
  }

  .ficha-hero-copy {
    max-width: 760px;
  }

  .ficha-hero-media {
    max-width: 520px;
    justify-self: center;
  }
}

@media (max-width: 700px) {
  
  .catalogo-showcase,
  .ficha-hero,
  .ficha-precios {
    padding-inline: 24px;
  }

  
  .ficha-intro {
    font-size: var(--fs-base);
  }

  
  .ficha-acciones {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--s-4);
  }

  .catalogo-showcase {
    padding-block: var(--s-20);
  }

  
  .ficha-section-head {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-5);
  }

  
  .ficha-section-head > p:last-child {
    grid-column: 1;
    grid-row: auto;
  }

  .catalogo-productos {
    grid-template-columns: 1fr;
    gap: var(--s-16);
  }

  .catalogo-producto-media {
    aspect-ratio: 4 / 3;
  }

  .catalogo-producto-copy {
    grid-template-columns: 1fr;
    padding-top: var(--s-5);
  }

  .catalogo-producto h3 {
    font-size: clamp(30px, 10vw, 42px);
  }

  .ficha-producto {
    padding-top: 68px;
  }

  .ficha-miga {
    padding: var(--s-6) 24px 0;
  }

  .ficha-hero {
    gap: var(--s-6);
    padding-top: var(--s-6);
    padding-bottom: var(--s-12);
  }

  .ficha-hero h1 {
    font-size: clamp(48px, 14vw, 70px);
  }

  .ficha-datos {
    grid-template-columns: 1fr;
  }

  .ficha-datos > div,
  .ficha-datos > div:first-child {
    padding: var(--s-4) 0;
    border-right: 0;
    border-bottom: 1px solid var(--border2);
  }

  .ficha-datos > div:last-child {
    border-bottom: 0;
  }

  .ficha-contenido:not([data-ficha-referencia="true"]) .ficha-datos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ficha-contenido:not([data-ficha-referencia="true"]) .ficha-hero-media {
    max-height: 240px;
    aspect-ratio: 3 / 2;
  }

  .ficha-contenido:not([data-ficha-referencia="true"]) .ficha-hero-media img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  .ficha-contenido:not([data-ficha-referencia="true"]) .ficha-hero-media:not(.ficha-hero-media--transparentes) img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .ficha-contenido:not([data-ficha-referencia="true"]) .ficha-hero-media--transparentes img:first-child {
    width: 29%;
  }

  .ficha-contenido:not([data-ficha-referencia="true"]) .ficha-hero-media--transparentes img:last-child {
    width: 37%;
  }

  .ficha-contenido:not([data-ficha-referencia="true"]) .ficha-datos > div,
  .ficha-contenido:not([data-ficha-referencia="true"]) .ficha-datos > div:first-child {
    padding: var(--s-4);
    border-right: 1px solid var(--border2);
  }

  .ficha-contenido:not([data-ficha-referencia="true"]) .ficha-datos > div:first-child,
  .ficha-contenido:not([data-ficha-referencia="true"]) .ficha-datos > div:last-child {
    padding-left: 0;
  }

  .ficha-contenido:not([data-ficha-referencia="true"]) .ficha-datos > div:nth-child(2),
  .ficha-contenido:not([data-ficha-referencia="true"]) .ficha-datos > div:last-child {
    padding-right: 0;
    border-right: 0;
  }

  .ficha-contenido:not([data-ficha-referencia="true"]) .ficha-datos > div:last-child {
    grid-column: 1 / -1;
  }

  .ficha-precios {
    padding-block: var(--s-12);
  }

  .ficha-section-head {
    margin-bottom: var(--s-8);
  }

  .ficha-section-head h2 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .catalogo-precios {
    min-width: 650px;
  }

  .catalogo-precios th,
  .catalogo-precios td {
    padding: var(--s-4) var(--s-3);
  }

  .catalogo-precios th:first-child,
  .catalogo-precios td:first-child {
    min-width: 150px;
    box-shadow: 1px 0 0 var(--border2);
  }

  .catalogo-precios--stickers th:first-child {
    min-width: 300px;
  }

  .ficha-no-encontrada {
    padding-inline: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .catalogo-link,
  .catalogo-producto-media img {
    transition: none;
  }
}
