/* ==========================================================================
   PIÑERO TOPOGRAFÍA — Design System
   Dark-tech premium · acento único verde · Space Grotesk + JetBrains Mono
   Dials (taste-skill): VARIANCE 7 · MOTION 6 · DENSITY 4 · tema oscuro LOCKED
   ========================================================================== */

/* ---------- Fuentes (self-hosted) ---------- */
@font-face {
  font-family: 'Space Grotesk';
  src: url('../assets/fonts/space-grotesk-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../assets/fonts/space-grotesk-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../assets/fonts/space-grotesk-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../assets/fonts/jetbrains-mono-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../assets/fonts/jetbrains-mono-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #0b0d0c;            /* casi negro, tinte verde frío */
  --bg-raise: #12米1514;
  --bg-raise: #121514;
  --bg-card: #161a18;
  --line: rgba(235, 245, 240, 0.08);
  --line-strong: rgba(235, 245, 240, 0.16);
  --ink: #f2f5f3;
  --ink-dim: #9aa6a0;
  --ink-faint: #5d6661;
  --accent: #00c853;
  --accent-press: #00a847;
  --accent-ghost: rgba(0, 200, 83, 0.12);
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --radius: 14px;           /* escala única de radios (lock) */
  --radius-sm: 8px;
  --container: 1280px;
  --nav-h: 78px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset mínimo ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; border: 0; cursor: pointer; background: none; }

::selection { background: var(--accent); color: #04150a; }

/* ---------- Utilidades ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); }
.mono { font-family: var(--font-mono); }
.accent { color: var(--accent); }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .35s var(--ease-out), border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 13, 12, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  width: 100%; max-width: var(--container); margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo { font-weight: 700; font-size: 17px; letter-spacing: -0.01em; white-space: nowrap; }
.nav-logo .dot { color: var(--accent); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 14.5px; color: var(--ink-dim); transition: color .2s; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-cta {
  font-size: 14px; font-weight: 500; color: #04150a;
  background: var(--accent); padding: 9px 18px; border-radius: 999px;
  transition: transform .15s, background .2s; white-space: nowrap;
}
.nav-cta:hover { background: var(--accent-press); }
.nav-cta:active { transform: scale(0.98); }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span { width: 22px; height: 2px; background: var(--ink); transition: .25s; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100dvh;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0; z-index: 0;
}
.hero-media video, .hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 38%;
}
.hero-mask {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(11,13,12,.62) 0%, rgba(11,13,12,.18) 34%, rgba(11,13,12,.30) 62%, var(--bg) 96%),
    radial-gradient(120% 70% at 18% 78%, rgba(11,13,12,.84) 0%, rgba(11,13,12,.28) 52%, transparent 78%);
}
.hero-stec-cell {
  display: flex; align-items: flex-end; justify-content: flex-end;
  pointer-events: none; padding-bottom: 18px;
}
.hero-stec {
  width: clamp(180px, 19vw, 360px); height: auto;
  opacity: 0;
  filter: drop-shadow(0 10px 38px rgba(229, 9, 20, 0.30));
  animation: stecIn 1.2s var(--ease-out) 0.25s forwards,
             stecFloat 7s ease-in-out 2.2s infinite;
}
@keyframes stecIn {
  from { opacity: 0; transform: translateY(30px) scale(0.94); }
  to   { opacity: 1; transform: none; }
}
@keyframes stecFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-stec { animation: none; opacity: 1; }
}

.hero-content {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--container); margin-inline: auto;
  padding: 0 clamp(20px, 4vw, 48px) clamp(56px, 9vh, 110px);
  display: grid; grid-template-columns: minmax(0, 7.2fr) minmax(0, 4.8fr);
}
.hero-copy { max-width: 640px; }
.hero h1 {
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.02; letter-spacing: -0.03em; font-weight: 700;
  margin-bottom: 18px;
}
.hero-sub {
  font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-dim);
  max-width: 46ch; margin-bottom: 30px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; border-radius: 999px;
  transition: transform .15s var(--ease-out), background .2s, border-color .2s;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary {
  background: var(--accent); color: #04150a;
  font-size: 16px; padding: 14px 26px;
}
.btn-primary:hover { background: var(--accent-press); }
.btn-secondary {
  border: 1px solid var(--line-strong); color: var(--ink);
  font-size: 15px; padding: 13px 24px; background: rgba(11,13,12,.4);
  backdrop-filter: blur(6px);
}
.btn-secondary:hover { border-color: var(--ink-dim); }
.btn svg { flex: none; }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(72px, 11vw, 140px); }
.section-tight { padding-block: clamp(56px, 8vw, 96px); }
.section h2 {
  font-size: clamp(28px, 3.6vw, 46px);
  letter-spacing: -0.025em; line-height: 1.08; font-weight: 700;
  max-width: 24ch;
}
.section-lede { color: var(--ink-dim); max-width: 62ch; margin-top: 16px; font-size: 17px; }

/* ---------- Scroll-scrub (despiece SDi Pro) ---------- */
.scrub { position: relative; }
.scrub-sticky {
  position: sticky; top: 0; height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.scrub-canvas-wrap { position: absolute; inset: 0; }
.scrub-canvas-wrap canvas { width: 100%; height: 100%; object-fit: cover; }
.scrub-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, transparent 14%, transparent 86%, var(--bg) 100%);
  pointer-events: none;
}
.scrub-col {
  position: absolute; z-index: 3;
  left: clamp(20px, 5vw, 84px);
  top: calc(var(--nav-h) + clamp(14px, 4vh, 44px));
  width: min(430px, 88vw);
  display: flex; flex-direction: column; gap: 13px;
  pointer-events: none;
}
.scrub-kicker { display: flex; align-items: center; gap: 18px; margin-bottom: 2px; }
.scrub-kicker .k-stec { height: 36px; width: auto; filter: drop-shadow(0 5px 18px rgba(229, 9, 20, 0.35)); }
.scrub-kicker .k-sdipro { height: 32px; width: auto; }
.scrub-col h2 { font-size: clamp(22px, 2.3vw, 32px); letter-spacing: -0.025em; line-height: 1.08; margin-bottom: 6px; max-width: 18ch; }
.scrub-card {
  background: rgba(11, 13, 12, 0.74);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 18px 22px 20px;
  opacity: 0; transform: translateY(26px);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}
.scrub-card.active { opacity: 1; transform: translateY(0); }
.scrub-card .idx { font-family: var(--font-mono); font-size: 11.5px; color: var(--accent); margin-bottom: 10px; display: block; }
.scrub-card h3 { font-size: 19px; letter-spacing: -0.02em; margin-bottom: 6px; }
.scrub-card p { color: var(--ink-dim); font-size: 14px; }

/* Burbuja de contraste para logos de caracteristicas */
.feat-bubble {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; margin-bottom: 12px;
  border-radius: 999px;
  background: radial-gradient(130% 150% at 32% 22%,
    rgba(255, 255, 255, 0.72) 0%,
    rgba(240, 245, 242, 0.58) 55%,
    rgba(228, 235, 231, 0.42) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.6),
    inset 0 -8px 18px rgba(140, 165, 152, 0.18),
    0 10px 26px rgba(0, 0, 0, 0.3);
}
.feat-bubble::before {
  content: ""; position: absolute; top: 5px; left: 16px;
  width: 26%; height: 28%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,0.6), transparent);
  pointer-events: none;
}
.feat-bubble img { display: block; width: auto; }
.scrub-card.active .feat-bubble { animation: bubbleFloat 5.5s ease-in-out infinite; }
@keyframes bubbleFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-5px) scale(1.015); }
}
@media (prefers-reduced-motion: reduce) {
  .scrub-card.active .feat-bubble { animation: none; }
}
.scrub-track { height: 320vh; }

/* ---------- Grilla de categorías ---------- */
.cats { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; margin-top: 44px; }
.cat-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
  min-height: 240px;
  display: flex; align-items: flex-end;
  transition: border-color .25s, transform .3s var(--ease-out);
  grid-column: span 4;
}
.cat-card:nth-child(1), .cat-card:nth-child(2) { grid-column: span 6; min-height: 300px; }
.cat-card:hover { border-color: rgba(0, 200, 83, 0.45); transform: translateY(-3px); }
.cat-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .5;
  transition: opacity .35s, transform .6s var(--ease-out);
}
.cat-card:hover img { opacity: .72; transform: scale(1.04); }
.cat-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(8,10,9,.9) 92%);
}
.cat-card .cat-label {
  position: relative; z-index: 2; padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 12px;
}
.cat-card .cat-label strong { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.cat-card .cat-label .arrow { color: var(--accent); transition: transform .25s; }
.cat-card:hover .arrow { transform: translateX(4px); }

/* ---------- Why Piñero ---------- */
.why { border-top: 1px solid var(--line); }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 48px; border-top: 1px solid var(--line); }
.why-item { padding: 34px 34px 38px 0; border-bottom: 1px solid var(--line); }
.why-item:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 44px; }
.why-item:nth-child(even) { padding-left: 44px; }
.why-item .n { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent); display: block; margin-bottom: 14px; }
.why-item h3 { font-size: 20px; letter-spacing: -0.015em; margin-bottom: 8px; font-weight: 500; }
.why-item p { color: var(--ink-dim); font-size: 15.5px; max-width: 44ch; }

/* ---------- Banda CTA final ---------- */
.cta-band { text-align: left; position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.cta-band .glow {
  position: absolute; width: 720px; height: 480px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 200, 83, .14), transparent);
  right: -160px; top: -120px; pointer-events: none;
}
.cta-band h2 { max-width: 20ch; }
.cta-band p { color: var(--ink-dim); margin: 18px 0 30px; max-width: 52ch; }

/* ---------- Página de categoría ---------- */
.page-head { padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 88px)); }
.page-head .crumb { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-faint); display: block; margin-bottom: 18px; }
.page-head .crumb a:hover { color: var(--ink-dim); }
.page-head h1 { font-size: clamp(32px, 4.6vw, 56px); letter-spacing: -0.03em; line-height: 1.05; max-width: 18ch; }
.page-head .lede { color: var(--ink-dim); font-size: 17px; max-width: 60ch; margin-top: 18px; }

.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 52px; }
.prod-card {
  border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.012) 100%), var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 14px 34px rgba(0,0,0,0.35);
  display: flex; flex-direction: column;
  transition: border-color .25s, transform .3s var(--ease-out);
}
.prod-card:hover { border-color: rgba(0, 200, 83, 0.5); transform: translateY(-3px); }
.prod-card .ph { aspect-ratio: 4/3.4; display: grid; place-items: center; overflow: hidden; }
.prod-card .ph img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease-out); }
.prod-card:hover .ph img { transform: scale(1.04); }
.prod-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.prod-card h3 { font-size: 17.5px; font-weight: 500; letter-spacing: -0.01em; }
.prod-card p { color: var(--ink-dim); font-size: 14px; flex: 1; }
.prod-card .go { font-size: 14px; color: var(--accent); display: inline-flex; gap: 8px; align-items: center; }

/* ---------- Ficha de producto ---------- */
.pd { display: grid; grid-template-columns: minmax(0, 6.5fr) minmax(0, 5.5fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.pd-gallery { position: sticky; top: calc(var(--nav-h) + 24px); }
.pd-main {
  border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.012) 100%), var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 14px 34px rgba(0,0,0,0.35);
  aspect-ratio: 1/1; display: grid; place-items: center;
}
.pd-main img { width: 100%; height: 100%; object-fit: contain; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd-thumbs button {
  width: 72px; height: 72px; border-radius: var(--radius-sm); overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.05);
  opacity: .6; transition: opacity .2s, border-color .2s;
}
.pd-thumbs button.sel { opacity: 1; border-color: var(--accent); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd-info h1 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -0.025em; line-height: 1.08; }
.pd-brand { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent); display: block; margin-bottom: 14px; }
.pd-short { color: var(--ink-dim); font-size: 16.5px; margin-top: 16px; }
.pd-high { margin-top: 26px; display: grid; gap: 10px; }
.pd-high li { display: flex; gap: 12px; align-items: baseline; font-size: 15.5px; }
.pd-high li::before { content: "+"; color: var(--accent); font-family: var(--font-mono); flex: none; }
.pd-cta { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Specs: grupos con tarjetas (anti spec-table del skill) */
.specs { margin-top: clamp(48px, 7vw, 80px); }
.specs h2 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 28px; }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.spec-cell {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-card); padding: 16px 18px;
  display: flex; justify-content: space-between; gap: 18px; align-items: baseline;
}
.spec-cell .k { color: var(--ink-dim); font-size: 14px; }
.spec-cell .v { font-family: var(--font-mono); font-size: 13.5px; text-align: right; }

/* ---------- Guías (índice) ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 52px; }
@media (max-width: 1023px) { .guide-grid { grid-template-columns: 1fr; } }
.g-card {
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.012) 100%), var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 14px 34px rgba(0,0,0,0.35);
  transition: border-color .25s, transform .3s var(--ease-out);
}
.g-card:hover { border-color: rgba(0, 200, 83, 0.5); transform: translateY(-3px); }
.g-card .cover { aspect-ratio: 16/9; overflow: hidden; position: relative; }
.g-card .cover img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: transform .5s var(--ease-out); }
.g-card:hover .cover img { transform: scale(1.04); }
.g-card .cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10,12,11,.78) 100%); }
.g-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.g-card .gtag { font-family: var(--font-mono); font-size: 11.5px; color: var(--accent); letter-spacing: .08em; text-transform: uppercase; }
.g-card h3 { font-size: 18.5px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; }
.g-card p { color: var(--ink-dim); font-size: 14px; flex: 1; }
.g-card .gmeta { font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); }

/* ---------- Artículo (prosa) ---------- */
.article-wrap { max-width: 780px; margin-inline: auto; }
.article-meta { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-faint); display: flex; gap: 16px; margin-top: 18px; }
.article-meta .gtag { color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
.prose { margin-top: clamp(32px, 5vw, 56px); }
.prose p { color: #c6cfc9; font-size: 16.5px; line-height: 1.75; margin-bottom: 1.35em; max-width: 70ch; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(0,200,83,.4); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--accent); }
.prose h2 { font-size: clamp(23px, 2.6vw, 30px); letter-spacing: -0.02em; line-height: 1.15; margin: 2.1em 0 .7em; }
.prose h3 { font-size: clamp(18px, 1.9vw, 21px); letter-spacing: -0.015em; margin: 1.7em 0 .55em; }
.prose ul { margin: 0 0 1.35em; padding-left: 4px; }
.prose ul li { color: #c6cfc9; font-size: 16px; line-height: 1.7; margin-bottom: .55em; padding-left: 22px; position: relative; }
.prose ul li::before { content: "+"; position: absolute; left: 0; color: var(--accent); font-family: var(--font-mono); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0 2em; font-size: 14px;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.prose table th { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em;
  color: var(--ink-dim); text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-strong); background: rgba(255,255,255,.03); }
.prose table td { padding: 11px 14px; border-bottom: 1px solid var(--line); color: #c6cfc9; vertical-align: top; }
.prose table tr:last-child td { border-bottom: 0; }
.prose table td:first-child { color: var(--ink); }
.table-scroll { overflow-x: auto; }
@media (max-width: 700px) { .prose table { font-size: 13px; min-width: 560px; } }
.article-cta {
  margin: clamp(40px, 6vw, 64px) 0 0; padding: 28px 30px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(0,200,83,.07), rgba(0,200,83,.02)), var(--bg-card);
}
.article-cta h2 { font-size: 22px; margin-bottom: 8px; }
.article-cta p { color: var(--ink-dim); font-size: 15px; margin-bottom: 18px; }

/* ---------- Sticky WhatsApp (mobile) ---------- */
.wsp-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent); display: grid; place-items: center;
  box-shadow: 0 8px 28px rgba(0, 200, 83, .35);
  transition: transform .2s var(--ease-out);
}
.wsp-fab:hover { transform: scale(1.06); }
.wsp-fab svg { width: 28px; height: 28px; fill: #04150a; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 56px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot-grid .tagline { color: var(--ink-dim); font-size: 15px; max-width: 36ch; margin-top: 12px; }
.foot-grid h4 { font-size: 13px; font-family: var(--font-mono); color: var(--ink-faint); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.foot-grid li { margin-bottom: 10px; }
.foot-grid a { color: var(--ink-dim); font-size: 14.5px; transition: color .2s; }
.foot-grid a:hover { color: var(--ink); }
.foot-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; color: var(--ink-faint); font-size: 13px; flex-wrap: wrap; }

/* ---------- Marca: badge oficial + logos ---------- */
.badge-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 13.5px; letter-spacing: .06em;
  color: var(--ink); border: 1px solid var(--line-strong);
  padding: 10px 18px; border-radius: 999px; margin-bottom: 22px;
  background: rgba(11,13,12,.45); backdrop-filter: blur(6px);
}
.badge-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.logo-img { display: block; height: 58px; width: auto; }
.logo-img-foot { display: block; height: 56px; width: auto; }
.brand-row .logo-img-foot { height: 52px; }
.badge-chip .badge-logo { height: 34px; width: auto; display: inline-block; vertical-align: middle; margin: -3px 6px 0; }
.logo-ph {
  display: inline-flex; align-items: center; justify-content: center;
  background: #2a2e2c; color: var(--ink-faint);
  font-family: var(--font-mono); font-size: 11px;
  padding: 6px 12px; border-radius: 6px; border: 1px dashed var(--line-strong);
  white-space: nowrap;
}
.brand-row { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; margin-top: 22px; }
.pd-ficha { font-size: 14px; color: var(--ink-dim); margin-top: 14px; display: inline-flex; gap: 8px; }
.pd-ficha:hover { color: var(--ink); }
.related { margin-top: clamp(48px, 7vw, 80px); }
.related h2 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 8px; }

/* Formulario (Netlify) */
.form { display: grid; gap: 18px; max-width: 560px; margin-top: 36px; }
.form label { display: grid; gap: 8px; font-size: 14.5px; color: var(--ink-dim); }
.form input, .form textarea {
  background: var(--bg-card); border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); color: var(--ink);
  padding: 12px 14px; font: inherit; font-size: 15px;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.form .hint { font-size: 13px; color: var(--ink-faint); }

/* Mapa / contacto */
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 36px; }
.map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 36px; }
@media (max-width: 1023px) { .contact-grid { grid-template-columns: 1fr; } }
.completar {
  display: inline-block; background: rgba(255, 196, 0, 0.12); color: #ffd54d;
  border: 1px dashed rgba(255, 196, 0, 0.4); border-radius: 6px;
  font-family: var(--font-mono); font-size: 13px; padding: 4px 10px;
}

/* ---------- Reveals ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .scrub-track { height: auto; }
}

/* ---------- Mobile ---------- */
@media (max-width: 1023px) {
  .nav-links { display: none; position: fixed; inset: var(--nav-h) 0 auto 0;
    background: rgba(11,13,12,.97); backdrop-filter: blur(16px);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 12px 24px 24px; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; font-size: 16px; width: 100%; }
  .nav-burger { display: flex; }
  .logo-img { height: 42px; }
  .hero-stec-cell { justify-content: flex-start; padding: 26px 0 0; }
  .hero-stec { width: 42vw; }
  .hero-content { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item:nth-child(odd) { border-right: 0; padding-right: 0; }
  .why-item:nth-child(even) { padding-left: 0; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .pd { grid-template-columns: 1fr; }
  .pd-gallery { position: static; }
  .cats { gap: 12px; }
  .cat-card, .cat-card:nth-child(1), .cat-card:nth-child(2) { grid-column: span 12; min-height: 200px; }
  .scrub-col { left: 16px; right: 16px; width: auto; top: calc(var(--nav-h) + 10px); }
  .scrub-kicker .k-stec { height: 28px; }
  .scrub-kicker .k-sdipro { height: 25px; }
  .scrub-card { display: none; }
  .scrub-card.current { display: block; }
  .feat-bubble { padding: 10px 18px; }
  .feat-bubble img { max-height: 24px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 599px) {
  .prod-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(34px, 9.5vw, 44px); }
}
