/* =============================================================
   BOTCO · Soluciones químicas para construcción
   Archetype: Industrial Grid (adaptación de 07 Brutalist Grid)
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* Azules profundos */
  --navy-950: #070d17;
  --navy-900: #0b1524;
  --navy-800: #102035;
  --navy-700: #1a2e49;
  --navy-600: #284264;

  /* Verde militar */
  --green-950: #10170d;
  --green-900: #172113;
  --green-800: #222f1a;
  --olive:     #4c5c30;
  --olive-2:   #6a7c43;
  --sage:      #a8b878;
  --sage-2:    #c8d4a0;

  /* Acento (hexágono del logo) */
  --brass:     #c9b458;
  --brass-2:   #e0cd78;

  /* Neutros */
  --bone:      #e9e7de;
  --bone-2:    #f4f3ee;
  --ink:       #0b1524;
  --muted:     rgba(233, 231, 222, .62);
  --line:      rgba(233, 231, 222, .12);
  --line-2:    rgba(233, 231, 222, .22);

  --sans: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --container: 1380px;
  --gutter: clamp(1.1rem, 4vw, 3rem);
  --section: clamp(5rem, 11vw, 9.5rem);
  --nav-h: 76px;
  --cut: 14px;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--navy-950);
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--bone);
  background: var(--navy-950);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.02; letter-spacing: -0.025em; font-weight: 800; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--brass); color: var(--navy-950); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 10000;
  padding: .6rem 1rem; background: var(--brass); color: var(--navy-950); font-weight: 600;
}
.skip-link:focus { top: 1rem; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; }
.chamfer {
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}

/* =============================================================
   4. Typography
   ============================================================= */
.kicker {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--sage); display: flex; gap: .7rem; align-items: center; margin-bottom: 1.4rem;
}
.kicker-num { color: var(--brass); }
.h2 {
  font-size: clamp(2.4rem, 5.6vw, 5.4rem);
  font-variation-settings: "wdth" 112;
  line-height: .95;
}
.h2 em, .hero-title em {
  font-style: normal; font-weight: 300; color: var(--sage);
  font-variation-settings: "wdth" 125;
}
.section-head { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); max-width: 900px; }
.section-head-row { max-width: none; display: grid; gap: 2rem; align-items: end; }
.section-sub { color: var(--muted); max-width: 42ch; font-size: 1.05rem; }

/* =============================================================
   5. Components
   ============================================================= */
/* Placeholders de imagen */
.ph {
  position: relative; overflow: hidden;
  background-color: var(--navy-800);
  background-image:
    repeating-linear-gradient(135deg, rgba(168,184,120,.07) 0 1px, transparent 1px 14px),
    radial-gradient(120% 90% at 30% 20%, rgba(40,66,100,.65), transparent 60%),
    linear-gradient(160deg, var(--navy-700), var(--navy-900));
  display: grid; place-items: center;
}
.ph::after {
  content: ""; position: absolute; inset: 12px;
  border: 1px dashed rgba(168,184,120,.25); pointer-events: none;
}
.ph-label {
  position: relative; z-index: 1; font-family: var(--mono); font-size: .66rem; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(200,212,160,.65); text-align: center; line-height: 1.6;
  padding: .4rem .7rem; background: rgba(7,13,23,.55);
}
.ph-hex { clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.ph-hex::after { display: none; }

/* Botones */
.btn {
  --bc: var(--brass); --bt: var(--navy-950);
  position: relative; display: inline-flex; align-items: center; gap: .75rem;
  padding: 1.05rem 1.6rem; font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  color: var(--bt); background: var(--bc); isolation: isolate; overflow: hidden;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: color .4s var(--ease-out), transform .4s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--sage-2);
  transform: translateY(101%); transition: transform .5s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .4s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn-ghost { --bc: transparent; --bt: var(--bone); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost::before { background: var(--bone); }
.btn-ghost:hover { color: var(--navy-950); }
.btn-sm { padding: .75rem 1.15rem; font-size: .85rem; }
.btn-block { width: 100%; justify-content: center; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-block; padding: .55rem .9rem; font-size: .85rem;
  border: 1px solid var(--line-2); color: var(--bone);
  transition: background .3s var(--ease-out), color .3s var(--ease-out), border-color .3s;
}
.chip:hover { background: var(--sage); border-color: var(--sage); color: var(--navy-950); }

.tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.tags li { padding: .3rem .55rem; border: 1px solid var(--line); font-size: .64rem; color: var(--sage-2); }

/* =============================================================
   6. Sections
   ============================================================= */

/* ---------- Splash ---------- */
.splash {
  position: fixed; inset: 0; z-index: 9999; background: var(--navy-950);
  display: grid; place-items: center; gap: 1.2rem; align-content: center;
  transition: clip-path 1s var(--ease-out), opacity .6s;
  clip-path: inset(0 0 0 0);
  animation: splashSafety .01s 4.5s forwards;
}
.splash.is-out { clip-path: inset(0 0 100% 0); pointer-events: none; }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }
.splash-hex { width: 92px; height: 92px; }
.splash-hex polygon {
  fill: none; stroke: var(--brass); stroke-width: 2.5;
  stroke-dasharray: 300; stroke-dashoffset: 300; animation: hexDraw 1.4s var(--ease-out) forwards;
}
@keyframes hexDraw { to { stroke-dashoffset: 0; } }
.splash-count { text-align: center; }
.splash-count span { display: block; font-size: 3.4rem; font-weight: 800; font-variation-settings: "wdth" 125; line-height: 1; }
.splash-count small { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); }
html:not(.js) .splash { display: none; }

/* ---------- Progreso ---------- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 1001;
  background: linear-gradient(90deg, var(--olive-2), var(--brass));
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--nav-h);
  display: flex; align-items: center; gap: 1.5rem; padding-inline: var(--gutter);
  transition: background .4s var(--ease-out), box-shadow .4s, height .4s var(--ease-out);
}
.nav.is-scrolled {
  height: 64px;
  background: rgba(7, 13, 23, .94);
  box-shadow: 0 1px 0 var(--line);
}
@supports (backdrop-filter: blur(12px)) {
  .nav.is-scrolled { background: rgba(7, 13, 23, .72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
}
.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; position: relative; z-index: 2; }
.brand-hex { width: 38px; height: 38px; transition: transform .8s var(--ease-out); }
.brand:hover .brand-hex { transform: rotate(60deg); }
.brand-hex polygon { fill: none; stroke: var(--brass); stroke-width: 6; }
.brand-hex .in { stroke: var(--sage); stroke-width: 3; }
.brand-word { font-weight: 900; font-size: 1.25rem; letter-spacing: .02em; font-variation-settings: "wdth" 118; line-height: 1; }
.brand-word small { display: block; font-family: var(--mono); font-weight: 400; font-size: .56rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; }

.nav-links {
  position: fixed; inset: 0; background: var(--navy-950);
  display: flex; flex-direction: column; justify-content: center; gap: .4rem; padding: var(--gutter);
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-out);
}
.nav-links a { font-size: clamp(2rem, 9vw, 3rem); font-weight: 800; font-variation-settings: "wdth" 112; padding-block: .2rem; border-bottom: 1px solid var(--line); }
.nav-links .nav-wa-mobile { font-size: 1rem; font-family: var(--mono); color: var(--brass); border: 0; margin-top: 1.5rem; }
.menu-open .nav-links { clip-path: inset(0 0 0 0); }
.nav-cta { display: none; }
.nav-toggle { width: 44px; height: 44px; position: relative; z-index: 2; display: grid; place-content: center; gap: 7px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--bone); transition: transform .5s var(--ease-out); }
.menu-open .nav-toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-open .nav-toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  padding-top: calc(var(--nav-h) + clamp(2rem, 5vw, 4rem)); padding-bottom: 3rem;
  background:
    radial-gradient(70% 60% at 85% 20%, rgba(76,92,48,.35), transparent 70%),
    radial-gradient(60% 70% at 0% 100%, rgba(26,46,73,.7), transparent 70%),
    var(--navy-950);
  overflow: clip;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-grid-bg, .hero-spot {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 88px 88px;
  background-position: -1px -1px;
}
.hero-grid-bg {
  opacity: .5;
  -webkit-mask-image: radial-gradient(90% 80% at 60% 40%, #000 30%, transparent 85%);
          mask-image: radial-gradient(90% 80% at 60% 40%, #000 30%, transparent 85%);
}
.hero-spot {
  background-image:
    linear-gradient(rgba(201,180,88,.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,180,88,.55) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(240px circle at var(--mx, 72%) var(--my, 38%), #000, transparent 75%);
          mask-image: radial-gradient(240px circle at var(--mx, 72%) var(--my, 38%), #000, transparent 75%);
  opacity: 0; transition: opacity .6s;
}
.hero.is-hover .hero-spot { opacity: .55; }
.hero-coords {
  position: absolute; right: var(--gutter); top: calc(var(--nav-h) + 1.2rem);
  color: var(--muted); font-size: .64rem; display: none;
}

.hero-inner { position: relative; display: grid; gap: 3.5rem; align-items: center; }
.hero-title {
  font-size: clamp(2.9rem, 8.4vw, 7.6rem);
  font-variation-settings: "wdth" 108;
  line-height: .9; letter-spacing: -.035em;
  margin-bottom: 1.6rem;
}
.hero-title em { position: relative; white-space: nowrap; }
.hero-title em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .08em;
  background: var(--brass); transform-origin: 0 50%; transform: scaleX(0);
  transition: transform 1.2s .9s var(--ease-out);
}
.hero-title.is-in em::after, html:not(.js) .hero-title em::after { transform: scaleX(1); }
.hero-lead { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 54ch; margin-bottom: 2rem; }
.hero-lead strong { color: var(--bone); font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.6rem; }
.hero-problems-label { color: var(--sage); margin-bottom: .8rem; }

.hero-visual { position: relative; aspect-ratio: 1 / 1.02; width: 100%; max-width: 620px; margin-inline: auto; }
.hero-visual > * { position: absolute; will-change: transform; }
.hero-hex-outline { inset: -6% -4% -6% 4%; width: 100%; height: 112%; }
.hero-hex-outline polygon { fill: none; stroke: var(--line-2); stroke-width: .25; stroke-dasharray: 1.2 1.2; }
.hero-hex-outline { animation: spinSlow 90s linear infinite; }
@keyframes spinSlow { to { rotate: 360deg; } }
.hero-main { right: 2%; top: 0; width: 86%; aspect-ratio: 1 / 1.155; }
.hero-detail { left: 0; bottom: 4%; width: 38%; aspect-ratio: 1; box-shadow: 0 30px 60px rgba(0,0,0,.4); border: 1px solid var(--line-2); }
.spec-card {
  left: -2%; bottom: 4%; width: min(260px, 54%);
  padding: 1.1rem 1.2rem; background: rgba(16, 32, 53, .92);
  border: 1px solid var(--line-2);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
@supports (backdrop-filter: blur(12px)) {
  .spec-card { background: rgba(16, 32, 53, .6); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
}
.spec-k { color: var(--brass); font-size: .62rem; }
.spec-t { font-weight: 700; font-size: 1.05rem; line-height: 1.2; margin: .35rem 0 .8rem; }
.spec-s { color: var(--muted); font-size: .58rem; line-height: 1.5; margin-top: .7rem; text-transform: none; letter-spacing: .02em; }
.spec-bars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; height: 26px; align-items: end; }
.spec-bars i { display: block; background: var(--olive-2); height: 30%; animation: bar 2.8s var(--ease-soft) infinite alternate; }
.spec-bars i:nth-child(2) { animation-delay: .2s; } .spec-bars i:nth-child(3) { animation-delay: .4s; background: var(--sage); }
.spec-bars i:nth-child(4) { animation-delay: .6s; } .spec-bars i:nth-child(5) { animation-delay: .8s; background: var(--brass); }
@keyframes bar { to { height: 100%; } }
.badge-17 { left: 4%; top: 4%; width: 26%; aspect-ratio: 1 / 1.1; display: grid; place-content: center; text-align: center; }
.badge-17 svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.badge-17 polygon { fill: var(--navy-950); stroke: var(--brass); stroke-width: 2.5; }
.badge-17 strong { position: relative; font-size: clamp(1.8rem, 4vw, 2.9rem); font-weight: 900; line-height: .9; font-variation-settings: "wdth" 125; color: var(--brass); }
.badge-17 span { position: relative; font-family: var(--mono); font-size: .58rem; text-transform: uppercase; letter-spacing: .14em; color: var(--bone); }

.stats {
  position: relative; margin-top: clamp(3rem, 6vw, 5rem);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.stat { background: var(--navy-950); padding: 1.3rem 1.2rem; }
.stat dt { color: var(--muted); font-size: .64rem; margin-bottom: .5rem; }
.stat dd { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 800; line-height: 1; font-variation-settings: "wdth" 118; font-variant-numeric: tabular-nums; }
.stat dd small { font-size: .45em; color: var(--sage); margin-left: .1em; }

.scroll-cue { position: absolute; left: 50%; bottom: 1rem; translate: -50% 0; display: none; flex-direction: column; align-items: center; gap: .5rem; color: var(--muted); font-size: .6rem; }
.scroll-cue span { width: 1px; height: 38px; background: var(--line-2); position: relative; overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; inset: 0; background: var(--brass); animation: cue 2.2s var(--ease-in-out, ease-in-out) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }

/* ---------- Marquee ---------- */
.marquee, .contact-marquee { overflow: hidden; white-space: nowrap; }
.marquee {
  background: var(--olive); color: var(--navy-950); padding-block: 1.1rem;
  border-block: 1px solid rgba(0,0,0,.2);
}
.marquee-track {
  display: inline-flex; align-items: center; gap: 2rem;
  animation: marquee 42s linear infinite;
  transform: skewX(var(--skew, 0deg));
}
.marquee-track span { font-size: clamp(1.6rem, 3.6vw, 3rem); font-weight: 800; font-variation-settings: "wdth" 125; text-transform: uppercase; letter-spacing: -.01em; }
.marquee-track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.2px var(--navy-950); }
.marquee-track b { font-size: 1.4rem; color: var(--brass-2); font-weight: 400; }
@keyframes marquee { to { translate: -50% 0; } }

/* ---------- Soluciones ---------- */
.solutions { background: var(--navy-900); padding-block: var(--section); position: relative; }
.solutions-head { display: grid; gap: 2rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.solutions-aside p { color: var(--muted); max-width: 46ch; margin-bottom: 1.4rem; }
.solutions-progress { display: none; align-items: center; gap: .8rem; color: var(--muted); }
.solutions-progress span { color: var(--brass); }
.solutions-progress i { display: block; width: 160px; height: 1px; background: var(--line-2); position: relative; }
.solutions-progress b { position: absolute; inset: 0; background: var(--brass); transform-origin: 0 50%; transform: scaleX(.125); }

.solutions-track-wrap {
  overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory;
  padding-inline: var(--gutter); padding-bottom: 1.5rem;
  scrollbar-width: thin; scrollbar-color: var(--olive) transparent;
}
.solutions-track { display: flex; gap: 1rem; width: max-content; }
.sol-card {
  position: relative; width: min(82vw, 380px); scroll-snap-align: start;
  background: var(--navy-800); border: 1px solid var(--line);
  padding: 1rem 1rem 1.6rem; display: flex; flex-direction: column; gap: .9rem;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  transition: border-color .4s var(--ease-out), background .4s var(--ease-out);
}
.sol-card:hover { border-color: rgba(168,184,120,.45); background: #13263f; }
.sol-media { aspect-ratio: 16 / 10; margin-bottom: .4rem; overflow: hidden; background: var(--navy-700); }
.sol-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.sol-card:hover .sol-media img { transform: scale(1.06); }
.sol-num { position: absolute; top: 1.6rem; right: 1.6rem; z-index: 2; font-size: .7rem; color: var(--brass); background: var(--navy-950); padding: .25rem .5rem; }
.sol-card h3 { font-size: 1.6rem; font-variation-settings: "wdth" 110; padding-inline: .4rem; }
.sol-card p { color: var(--muted); font-size: .95rem; padding-inline: .4rem; flex: 1; }
.sol-card .tags { padding-inline: .4rem; }
.sol-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: .4rem .4rem 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.sol-open::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.sol-quote { position: relative; z-index: 2; color: var(--muted); font-size: .66rem; padding: .45rem .7rem; border: 1px solid var(--line-2); transition: background .3s, color .3s; }
.sol-quote:hover { background: var(--brass); color: var(--navy-950); border-color: var(--brass); }
.sol-link { display: inline-flex; gap: .5rem; font-weight: 600; font-size: .9rem; color: var(--sage-2); }
.sol-link span { transition: transform .4s var(--ease-out); }
.sol-link:hover span { transform: translateX(6px); }

/* pin activo (solo escritorio, añadido por JS) */
.solutions.is-pinned { padding-block: 0; }
.solutions.is-pinned .solutions-pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: var(--nav-h); }
.solutions.is-pinned .solutions-track-wrap { overflow: visible; scroll-snap-type: none; padding-bottom: 0; }
.solutions.is-pinned .solutions-progress { display: flex; }

/* ---------- Ventajas (claro) ---------- */
.advantages { background: var(--bone); color: var(--ink); padding-block: var(--section); position: relative; }
.advantages::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(11,21,36,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(11,21,36,.06) 1px, transparent 1px);
  background-size: 88px 88px;
}
.advantages .kicker { color: var(--olive); }
.advantages .kicker-num { color: var(--navy-600); }
.advantages .h2 em { color: var(--olive-2); }
.bento { position: relative; display: grid; gap: 1rem; grid-template-columns: 1fr; }
.bento-cell {
  position: relative; padding: clamp(1.4rem, 2.6vw, 2.2rem);
  background: var(--bone-2); border: 1px solid rgba(11,21,36,.12);
  display: flex; flex-direction: column; gap: .8rem; overflow: hidden;
  transform-style: preserve-3d; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.bento-cell:hover { box-shadow: 0 30px 60px -30px rgba(11,21,36,.35); }
.bento-cell h3 { font-size: clamp(1.35rem, 2.2vw, 1.9rem); font-variation-settings: "wdth" 108; }
.bento-cell p { color: rgba(11,21,36,.68); font-size: .98rem; max-width: 46ch; }
.cell-k { color: var(--olive); font-size: .66rem; }
.bento-a { background: var(--navy-900); color: var(--bone); border-color: var(--navy-900); justify-content: space-between; min-height: 380px; }
.bento-a h3 { font-size: clamp(1.8rem, 3.4vw, 3rem); max-width: 16ch; }
.bento-a p { color: var(--muted); }
.bento-a .cell-k { color: var(--brass); }
.bento-e { background: var(--olive); color: var(--bone); border-color: var(--olive); }
.bento-e p { color: rgba(233,231,222,.78); }
.bento-e .cell-k { color: var(--sage-2); }
.cell-icon { width: 64px; height: 64px; margin-top: auto; align-self: flex-end; }
.cell-icon polygon, .cell-icon path { fill: none; stroke: var(--olive); stroke-width: 2; }
.cell-icon path { stroke: var(--navy-900); stroke-width: 3; stroke-dasharray: 40; stroke-dashoffset: 40; transition: stroke-dashoffset 1s .3s var(--ease-out); }
.bento-b.is-visible .cell-icon path { stroke-dashoffset: 0; }
.cell-leaf { position: absolute; right: -12px; bottom: -12px; width: 140px; height: 140px; opacity: .35; }
.cell-leaf path { fill: none; stroke: var(--sage-2); stroke-width: 2; }
.big-num { font-size: clamp(4rem, 9vw, 7.5rem); font-weight: 900; line-height: .85; font-variation-settings: "wdth" 125; color: var(--navy-900); letter-spacing: -.04em; }
.big-num small { font-size: .45em; color: var(--olive-2); }
.bento-c h3 { margin-top: -.2rem; }

.flow { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.4rem; }
.flow li {
  position: relative; padding: .5rem .75rem; font-size: .62rem; border: 1px solid var(--line-2); color: var(--muted);
  animation: flowStep 7.5s infinite;
}
.flow li:nth-child(2) { animation-delay: 1.5s; } .flow li:nth-child(3) { animation-delay: 3s; }
.flow li:nth-child(4) { animation-delay: 4.5s; } .flow li:nth-child(5) { animation-delay: 6s; }
@keyframes flowStep {
  0%, 22%, 100% { background: transparent; color: var(--muted); border-color: var(--line-2); }
  4%, 18% { background: var(--sage); color: var(--navy-950); border-color: var(--sage); }
}
.truck-line { margin-top: auto; height: 2px; background: repeating-linear-gradient(90deg, rgba(11,21,36,.25) 0 10px, transparent 10px 18px); position: relative; }
.truck-line i { position: absolute; top: -5px; left: 0; width: 12px; height: 12px; background: var(--brass); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); animation: truck 5s var(--ease-soft) infinite; }
@keyframes truck { 0% { left: 0; } 70%, 100% { left: calc(100% - 12px); } }

/* ---------- Para quién ---------- */
.audience { background: var(--green-900); padding-block: var(--section); }
.aud-list { border-bottom: 1px solid var(--line); }
.aud-row {
  position: relative; display: grid; grid-template-columns: 2.6rem 1fr 2rem; gap: .4rem 1rem; align-items: center;
  padding-block: 1.5rem; border-top: 1px solid var(--line); isolation: isolate; cursor: default;
}
.aud-row::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: var(--sage);
  transform: scaleY(0); transform-origin: 50% 100%; transition: transform .55s var(--ease-out);
}
.aud-row:hover::before { transform: scaleY(1); }
.aud-row > * { transition: color .4s var(--ease-out), transform .55s var(--ease-out); }
.aud-row:hover > * { color: var(--green-950); }
.aud-row:hover h3 { transform: translateX(12px); }
.aud-row span { color: var(--brass); grid-row: span 2; align-self: start; padding-top: .6rem; }
.aud-row h3 { font-size: clamp(1.7rem, 4.4vw, 3.6rem); font-variation-settings: "wdth" 115; }
.aud-row p { color: var(--muted); grid-column: 2; font-size: .98rem; }
.aud-row a { grid-row: 1; grid-column: 3; font-size: 1.6rem; justify-self: end; }
.aud-row:hover a { transform: rotate(-45deg); }

/* ---------- Obras (mosaico) ---------- */
.projects { background: var(--navy-950); padding-block: var(--section); overflow: clip; }
.mosaic { columns: 2; column-gap: clamp(.7rem, 1.8vw, 1.5rem); padding-top: 1rem; }
.mo {
  --r: 0deg; --py: 0px;
  position: relative; display: block; break-inside: avoid; overflow: hidden;
  margin-bottom: clamp(.7rem, 1.8vw, 1.5rem);
  background: var(--navy-800);
  transform: translateY(var(--py)) rotate(var(--r));
  transition: transform .7s var(--ease-out), opacity .5s var(--ease-out), filter .5s var(--ease-out), translate 1.1s var(--ease-out);
  transition-delay: 0s, 0s, 0s, var(--d, 0s);
}
.mo img { width: 100%; height: auto; transition: transform 1.4s var(--ease-out); }
.mo.sq, .mo.p45 { aspect-ratio: 1; }
.mo.p45 { aspect-ratio: 4 / 5; }
.mo.sq img, .mo.p45 img { height: 100%; object-fit: cover; }

/* desorden controlado: giros y anchos distintos */
.mo:nth-child(3n + 1) { --r: -1.4deg; }
.mo:nth-child(3n + 2) { --r: .9deg; }
.mo:nth-child(4n + 3) { width: 88%; margin-left: auto; --r: 1.8deg; }
.mo:nth-child(5n) { width: 80%; margin-left: 6%; --r: -.6deg; }
.mo:nth-child(7n + 1) { width: 92%; }

.js .mo { opacity: 0; translate: 0 50px; }
.js .mo.is-visible { opacity: 1; translate: 0 0; }

@media (hover: hover) and (pointer: fine) {
  .mosaic:hover .mo { opacity: .45; filter: grayscale(.6); }
  .mosaic .mo:hover { opacity: 1; filter: none; transform: translateY(var(--py)) rotate(0deg) scale(1.03); z-index: 2; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
  .mo:hover img { transform: scale(1.06); }
}
@media (min-width: 720px) { .mosaic { columns: 3; } }
@media (min-width: 1280px) { .mosaic { columns: 4; } }

/* ---------- Contacto ---------- */
.contact { background: var(--navy-900); padding-bottom: var(--section); position: relative; }
.contact-marquee { padding-block: clamp(2.5rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line); margin-bottom: var(--section); }
.contact-marquee .marquee-track { animation-duration: 60s; }
.contact-marquee span { font-size: clamp(3rem, 9vw, 8rem); color: transparent; -webkit-text-stroke: 1px rgba(168,184,120,.5); font-variation-settings: "wdth" 110; text-transform: none; }
.contact-marquee span:nth-of-type(even) { color: var(--bone); -webkit-text-stroke: 0; }
.contact-marquee b { color: var(--brass); font-size: 3rem; }
.contact-grid { display: grid; gap: 3.5rem; }
.contact-info > p:not(.kicker) { color: var(--muted); max-width: 46ch; margin: 1.6rem 0 2rem; }
.wa-big {
  display: inline-flex; align-items: center; gap: 1rem; padding: 1.1rem 1.6rem 1.1rem 1.2rem;
  background: var(--olive); color: var(--bone); margin-bottom: 2.5rem;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: background .4s var(--ease-out);
}
.wa-big:hover { background: var(--olive-2); }
.wa-big svg { width: 38px; height: 38px; fill: var(--sage-2); }
.wa-big span { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; font-variation-settings: "wdth" 115; line-height: 1.05; }
.wa-big small { display: block; color: var(--sage-2); font-weight: 400; font-size: .62rem; margin-bottom: .25rem; }
.contact-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); max-width: 520px; }
.contact-list div { background: var(--navy-900); display: grid; grid-template-columns: 7rem 1fr; padding: .85rem 1rem; }
.contact-list dt { color: var(--muted); }
.contact-list dd { text-transform: none; letter-spacing: .01em; font-size: .82rem; }
.contact-list a:hover { color: var(--brass); }

.form {
  background: var(--navy-800); padding: clamp(1.5rem, 3.4vw, 2.8rem); display: grid; gap: 1.3rem; align-content: start;
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}
.form-k { color: var(--brass); font-size: .64rem; margin-bottom: .4rem; }
.field-row { display: grid; gap: 1.3rem; }
.field { display: grid; gap: .45rem; }
.field > span { font-family: var(--mono); font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.field em { font-style: normal; opacity: .6; text-transform: none; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-2);
  padding: .6rem 0; font-size: 1.05rem; color: var(--bone); border-radius: 0; outline: 0;
  transition: border-color .3s var(--ease-out);
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--sage) 50%), linear-gradient(135deg, var(--sage) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%; background-size: 6px 6px; background-repeat: no-repeat; cursor: pointer; }
.field select option { background: var(--navy-900); color: var(--bone); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brass); }
.field input::placeholder, .field textarea::placeholder { color: rgba(233,231,222,.3); }
.form-note { font-size: .78rem; color: var(--muted); text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); padding-top: clamp(4rem, 8vw, 6rem); overflow: clip; border-top: 1px solid var(--line); }
.footer-top { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
.footer-tag { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.05; font-variation-settings: "wdth" 112; margin-bottom: 1rem; }
.footer-small { color: var(--muted); font-size: .64rem; }
.footer-nav, .footer-contact { display: grid; gap: .7rem; align-content: start; }
.footer-nav a, .footer-contact a { color: var(--muted); transition: color .3s; width: fit-content; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--brass); }
.footer-word {
  font-size: clamp(4rem, 19vw, 18.5rem); font-weight: 900; line-height: .78; letter-spacing: -.05em; text-align: center;
  font-variation-settings: "wdth" 125;
  color: transparent; -webkit-text-stroke: 1px rgba(233,231,222,.16);
  background: linear-gradient(90deg, var(--olive) 0%, var(--navy-600) 100%) 0 0 / 0% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text;
  transition: background-size 1.8s var(--ease-out);
  user-select: none; margin-bottom: -.06em;
}
.footer-word.is-visible { background-size: 100% 100%; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.6rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .62rem; position: relative; background: var(--navy-950); }
.footer-bottom a:hover { color: var(--brass); }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 900; width: 58px; height: 64px;
  display: grid; place-items: center; background: var(--olive-2); color: var(--bone);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  transition: background .3s, transform .5s var(--ease-out);
  transform: translateY(150%);
}
.wa-float.is-shown { transform: translateY(0); }
html:not(.js) .wa-float { transform: none; }
.wa-float:hover { background: var(--brass); color: var(--navy-950); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }

/* =============================================================
   7. Effects
   ============================================================= */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

.split-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.split-word { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms + .15s); }
.is-split.is-in .split-word { transform: none; }

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

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 720px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-a { grid-column: span 2; }
  .bento-e { grid-column: span 2; }
  .aud-row { grid-template-columns: 3.5rem 1fr 1.3fr 2.5rem; padding-block: 1.8rem; }
  .aud-row span { grid-row: auto; padding-top: 0; align-self: center; }
  .aud-row p { grid-column: auto; }
  .aud-row a { grid-row: auto; grid-column: auto; }
  .section-head-row { grid-template-columns: 1.2fr 1fr; }
  .footer-top { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 960px) {
  .nav-links {
    position: static; inset: auto; background: none; flex-direction: row; gap: 2rem; padding: 0; clip-path: none;
  }
  .nav-links a { font-size: .9rem; font-weight: 500; font-variation-settings: "wdth" 100; border: 0; position: relative; color: var(--muted); transition: color .3s; }
  .nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .45s var(--ease-out); }
  .nav-links a:hover, .nav-links a.is-active { color: var(--bone); }
  .nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: 0 50%; }
  .nav-links .nav-wa-mobile { display: none; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }

  .hero-inner { grid-template-columns: 1.12fr .88fr; gap: clamp(2rem, 4vw, 5rem); }
  .hero-coords, .scroll-cue { display: flex; }
  .solutions-head { grid-template-columns: 1.3fr 1fr; }
  .sol-card { width: clamp(320px, 27vw, 400px); }

  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento-a { grid-column: 1 / 3; grid-row: 1 / 3; min-height: 520px; }
  .bento-b { grid-column: 3; grid-row: 1; } .bento-c { grid-column: 4; grid-row: 1 / 3; } .bento-d { grid-column: 3; grid-row: 2; }
  .bento-e { grid-column: 1 / 4; grid-row: 3; } .bento-f { grid-column: 4; grid-row: 3; }
  .bento-c { justify-content: center; }


  .contact-grid { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; }
}
@media (min-width: 1280px) {
  .hero-title { font-size: clamp(5rem, 7.2vw, 7.8rem); }
}

/* =============================================================
   9. Reduced-motion (solo efectos intrusivos)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-hex-outline { animation: none; }
  .scroll-cue span::after { animation: none; }
}

/* Ajustes del modo fijado en pantallas bajas */
.solutions.is-pinned .h2 { font-size: clamp(2.2rem, 4.4vw, 4.2rem); }
@media (max-height: 860px) {
  .solutions.is-pinned .solutions-head { margin-bottom: 1.5rem; }
  .solutions.is-pinned .sol-media { aspect-ratio: 16 / 8; }
  .solutions.is-pinned .sol-card { gap: .6rem; padding-bottom: 1.2rem; }
}

/* =============================================================
   10. Logo en el hero
   ============================================================= */
.hero-logo {
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: #fff;
}
.hero-logo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }

/* =============================================================
   11. Catálogo de productos
   ============================================================= */
.catalog { background: var(--navy-950); position: relative; }
html:not(.js) .catalog { padding-block: var(--section); border-top: 1px solid var(--line); }
.js .catalog {
  position: fixed; inset: 0; z-index: 1500; display: flex; flex-direction: column;
  visibility: hidden; clip-path: inset(0 0 0 100%);
  transition: clip-path .85s var(--ease-out), visibility 0s .85s;
}
.js .catalog.is-open { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .85s var(--ease-out), visibility 0s; }
body.catalog-open { overflow: hidden; }

.cat-bar {
  display: flex; align-items: center; gap: 1.2rem; flex: none;
  height: 68px; padding-inline: var(--gutter); border-bottom: 1px solid var(--line);
  background: var(--navy-950);
}
html:not(.js) .cat-bar { position: sticky; top: 64px; z-index: 5; }
html:not(.js) .cat-close, html:not(.js) .cat-pager { display: none; }
.cat-bar-k { color: var(--brass); white-space: nowrap; display: none; }
.cat-tabs { display: flex; gap: .3rem; overflow-x: auto; scrollbar-width: none; flex: 1; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  flex: none; display: inline-flex; gap: .45rem; align-items: center;
  padding: .55rem .8rem; font-size: .82rem; color: var(--muted); border: 1px solid transparent;
  transition: color .3s, border-color .3s, background .3s;
}
.cat-tab span { font-family: var(--mono); font-size: .62rem; color: var(--brass); }
.cat-tab:hover { color: var(--bone); border-color: var(--line-2); }
.cat-tab.is-active { background: var(--bone); color: var(--navy-950); }
.cat-tab.is-active span { color: var(--olive); }
.cat-close { flex: none; width: 46px; height: 46px; border: 1px solid var(--line-2); display: grid; place-content: center; transition: background .3s, transform .5s var(--ease-out); }
.cat-close:hover { background: var(--brass); transform: rotate(90deg); }
.cat-close span, .lightbox-close span { display: block; width: 20px; height: 2px; background: currentColor; }
.cat-close span:first-child, .lightbox-close span:first-child { transform: translateY(1px) rotate(45deg); }
.cat-close span:last-child, .lightbox-close span:last-child { transform: translateY(-1px) rotate(-45deg); }
.cat-close:hover span { background: var(--navy-950); }

.js .cat-scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: var(--olive) transparent; }
.cat-panel { padding: clamp(1.6rem, 4vw, 3.5rem) var(--gutter) 3rem; max-width: var(--container); margin-inline: auto; }
html:not(.js) .cat-panel + .cat-panel { border-top: 1px solid var(--line); }
.js .cat-panel { display: none; }
.js .cat-panel.is-active { display: block; animation: panelIn .8s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(24px); } }

.cat-hero { display: grid; gap: 2rem; align-items: center; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.cat-cover { aspect-ratio: 16 / 10; overflow: hidden; clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px)); background: var(--navy-800); }
.cat-cover img { width: 100%; height: 100%; object-fit: cover; }
.cat-k { color: var(--brass); margin-bottom: 1rem; }
.cat-hero-copy h2 { font-size: clamp(2.3rem, 5vw, 4.6rem); font-variation-settings: "wdth" 112; line-height: .95; margin-bottom: 1.2rem; }
.cat-hero-copy > p:not(.cat-k):not(.cat-note) { color: var(--muted); font-size: 1.05rem; max-width: 50ch; margin-bottom: 1.4rem; }
.cat-note { text-transform: none; letter-spacing: .01em; font-size: .72rem; line-height: 1.6; color: var(--sage-2); border-left: 2px solid var(--brass); padding: .6rem .9rem; background: rgba(201,180,88,.06); margin-bottom: 1.4rem; max-width: 56ch; }

.prod-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); grid-template-columns: 1fr; }
.prod { background: var(--navy-900); display: grid; grid-template-columns: 110px 1fr; gap: 1.1rem; padding: 1.1rem; transition: background .35s var(--ease-out); }
.prod:hover { background: var(--navy-800); }
.prod-img { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--bone-2); align-self: start; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .8s var(--ease-out); }
a.prod-img::after { content: "+"; position: absolute; right: 6px; bottom: 6px; width: 24px; height: 24px; display: grid; place-items: center; background: var(--navy-950); color: var(--brass); font-size: 1rem; line-height: 1; }
.prod:hover .prod-img img { transform: scale(1.06); }
.prod-img-empty { background: var(--navy-800); display: grid; place-items: center; }
.prod-img-empty svg { position: absolute; inset: 18% 12%; width: 76%; height: 64%; }
.prod-img-empty polygon { fill: none; stroke: var(--olive-2); stroke-width: 2; }
.prod-img-empty span { position: relative; color: var(--sage-2); font-size: .58rem; text-align: center; padding: 0 .3rem; }
.prod-body { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.prod-body h3 { font-size: 1.15rem; font-variation-settings: "wdth" 112; letter-spacing: -.01em; }
.prod-body p { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.prod-body .prod-pres { display: grid; gap: .1rem; text-transform: none; letter-spacing: .01em; font-size: .7rem; color: var(--bone); }
.prod-pres span { color: var(--brass); text-transform: uppercase; letter-spacing: .06em; font-size: .58rem; }
.prod-cta { margin-top: auto; padding-top: .4rem; font-weight: 600; font-size: .84rem; color: var(--sage-2); display: inline-flex; gap: .4rem; }
.prod-cta span { transition: transform .4s var(--ease-out); }
.prod-cta:hover { color: var(--brass); }
.prod-cta:hover span { transform: translateX(5px); }

.cat-gallery { margin-top: clamp(2.2rem, 5vw, 3.5rem); }
.cat-gallery-k { color: var(--sage); margin-bottom: 1rem; }
.gal-track { display: flex; gap: .8rem; overflow-x: auto; overflow-y: visible; padding: .5rem 0 1rem; scroll-snap-type: x proximity; scrollbar-color: var(--olive) transparent; }
.gal-track a { flex: none; height: clamp(220px, 32vw, 320px); scroll-snap-align: start; overflow: hidden; border: 1px solid var(--line); transition: transform .5s var(--ease-out), border-color .3s; }
.gal-track a:hover { transform: translateY(-6px); border-color: var(--brass); }
.gal-track img { height: 100%; width: auto; max-width: none; }
.cat-foot { margin-top: 1.5rem; color: var(--muted); font-size: .62rem; text-transform: none; letter-spacing: .02em; }

.cat-pager { flex: none; display: flex; justify-content: space-between; gap: 1rem; padding: .7rem var(--gutter); border-top: 1px solid var(--line); background: var(--navy-950); }
.cat-nav { padding: .65rem 1rem; border: 1px solid var(--line-2); color: var(--muted); transition: background .3s, color .3s; }
.cat-nav:hover { background: var(--bone); color: var(--navy-950); }

/* Visor de imágenes */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; margin: auto; overflow: visible; }
.lightbox::backdrop { background: rgba(7, 13, 23, .92); }
.lightbox img { max-width: 94vw; max-height: 90vh; width: auto; height: auto; box-shadow: 0 40px 80px rgba(0,0,0,.5); }
.lightbox-close { position: fixed; top: 1rem; right: 1rem; width: 48px; height: 48px; display: grid; place-content: center; background: var(--bone); color: var(--navy-950); }

@media (min-width: 720px) {
  .prod-grid { grid-template-columns: 1fr 1fr; }
  .prod { grid-template-columns: 130px 1fr; }
}
@media (min-width: 960px) {
  .cat-bar-k { display: block; }
  .cat-hero { grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 4vw, 4rem); }
}
@media (min-width: 1280px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
}
