/* ==========================================================================
   iCONSTRUCCIÓN — Sistema visual
   Arquetipo: Grid arquitectónico (retícula de hairlines, tipografía grotesca,
   esquinas rectas: todo se lee como un panel modulado).
   ========================================================================== */

:root {
  --bg: #ecece9;
  --bg-2: #f5f5f2;
  --paper: #fbfbf9;
  --ink: #0f1012;
  --ink-2: #2b2d31;
  --muted: #676a70;
  --line: rgba(15, 16, 18, 0.13);
  --line-strong: rgba(15, 16, 18, 0.85);

  --accent: #6c0ea8;
  --accent-hover: #560b86;
  --accent-ink: #ffffff;
  --accent-soft: #eee6fb;

  --ok: #1b7f4b;
  --warn: #9a5b00;

  --f-sans: "Geist", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --f-logo: "Archivo", "Arial Narrow", Arial, sans-serif;

  --gutter: clamp(16px, 3.2vw, 44px);
  --maxw: 1480px;
  --nav-h: 68px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

.theme-dark {
  --bg: #0f1012;
  --bg-2: #16171a;
  --paper: #1b1c20;
  --ink: #ecece9;
  --ink-2: #c9cacc;
  --muted: #95979c;
  --line: rgba(236, 236, 233, 0.14);
  --line-strong: rgba(236, 236, 233, 0.8);
  --accent-soft: rgba(108, 14, 168, 0.22);
  background: var(--bg);
  color: var(--ink);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.035em; line-height: 1; }
p { margin: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 14px; }
.skip:focus { top: 8px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(72px, 10vw, 150px); }
.section--tight { padding-block: clamp(48px, 6vw, 90px); }
.rule-top { border-top: 1px solid var(--line); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 1.6vw, 24px); }

/* ---------- Type ---------- */
.kicker {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  gap: 0.9em;
  align-items: center;
}
.kicker b { color: var(--ink); font-weight: 500; }
.kicker .dot { width: 7px; height: 7px; background: var(--accent); display: inline-block; }
.display {
  font-size: clamp(2.7rem, 7.2vw, 7.4rem);
  line-height: 0.93;
  letter-spacing: -0.052em;
  font-weight: 500;
  text-wrap: balance;
}
.h2 { font-size: clamp(2.1rem, 4.6vw, 4.4rem); line-height: 0.98; letter-spacing: -0.045em; text-wrap: balance; }
.h3 { font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.08; letter-spacing: -0.03em; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.45; color: var(--ink-2); max-width: 46ch; text-wrap: pretty; }
.muted { color: var(--muted); }
.mono { font-family: var(--f-mono); font-size: 0.86em; letter-spacing: 0.01em; }
.accent { color: var(--accent); }
.theme-dark .accent { color: #a878ff; }

/* ---------- Section header ---------- */
.sh { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px clamp(12px, 1.6vw, 24px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.sh .kicker { grid-column: 1 / -1; }
.sh h2 { grid-column: 1 / span 8; }
.sh .lead { grid-column: 9 / -1; justify-self: end; }
@media (max-width: 900px) {
  .sh h2, .sh .lead { grid-column: 1 / -1; justify-self: start; }
}

/* ---------- Buttons ---------- */
.btn {
  --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 52px; padding: 0 20px;
  background: var(--b-bg); color: var(--b-fg);
  border: 1px solid var(--b-bd); border-radius: 0;
  font-size: 15px; font-weight: 500; letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:hover { --b-bg: var(--ink); --b-fg: var(--bg); --b-bd: var(--ink); }
.btn--primary { --b-bg: var(--accent); --b-fg: var(--accent-ink); --b-bd: var(--accent); }
.btn--primary:hover { --b-bg: var(--ink); --b-fg: var(--bg); --b-bd: var(--ink); }
.btn--ink { --b-bg: var(--ink); --b-fg: var(--bg); --b-bd: var(--ink); }
.btn--ink:hover { --b-bg: var(--accent); --b-fg: #fff; --b-bd: var(--accent); }
.btn--wa { --b-bg: #128c4a; --b-fg: #fff; --b-bd: #128c4a; }
.btn--wa:hover { --b-bg: var(--ink); --b-fg: var(--bg); --b-bd: var(--ink); }
.btn--sm { min-height: 42px; padding: 0 14px; font-size: 14px; gap: 12px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.link-u { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .35s var(--ease); }
.link-u:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Logo ---------- */
.logo img { display: block; height: clamp(20px, 1.9vw, 27px); width: auto; }
.logo { display: inline-flex; align-items: baseline; text-decoration: none; font-family: var(--f-logo); font-weight: 800; font-stretch: 72%; font-size: 25px; letter-spacing: -0.02em; line-height: 1; color: var(--ink); }
.logo i { font-style: normal; color: var(--accent); margin-right: 1px; }
.theme-dark .logo i { color: #8f55ff; }
.logo sup { font-family: var(--f-sans); font-size: 9px; font-weight: 500; margin-left: 2px; transform: translateY(-9px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  height: var(--nav-h);
  background: #ecece9;
  border-bottom: 1px solid var(--line);
  transition: background-color .3s var(--ease), transform .4s var(--ease);
}

.nav.is-hidden { transform: translateY(-100%); }
.nav-in { height: 100%; display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 2px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a { display: block; padding: 8px 12px; font-size: 14.5px; text-decoration: none; color: var(--ink-2); transition: background-color .15s, color .15s; }
.nav-links a:hover { background: var(--ink); color: var(--bg); }
.nav-links a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.nav-cta { margin-left: 8px; }
.nav-burger { display: none; margin-left: auto; width: 48px; height: 48px; background: transparent; border: 1px solid var(--line-strong); position: relative; }
.nav-burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.nav-burger span:nth-child(1) { top: 18px; } .nav-burger span:nth-child(2) { top: 23px; } .nav-burger span:nth-child(3) { top: 28px; }
.nav.is-open .nav-burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav.is-open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.nav-drawer { display: none; }
@media (max-width: 1080px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  .nav-drawer {
    display: flex; flex-direction: column;
    position: fixed; inset: var(--nav-h) 0 0 0; z-index: 59;
    background: var(--bg); padding: 24px var(--gutter) 32px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s .4s;
    overflow-y: auto;
  }
  .nav.is-open + .nav-drawer { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .nav-drawer a.dl { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: clamp(1.6rem, 6vw, 2.2rem); letter-spacing: -0.035em; text-decoration: none; }
  .nav-drawer a.dl span { font-family: var(--f-mono); font-size: 12px; color: var(--muted); letter-spacing: 0; }
  .nav-drawer .drawer-ctas { display: grid; gap: 10px; margin-top: 28px; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   HOME — Hero
   ========================================================================== */
.hero { position: relative; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); min-height: calc(100svh - var(--nav-h)); }
.hero-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: clamp(28px, 4.5vw, 64px) var(--gutter) clamp(28px, 3vw, 44px); border-right: 1px solid var(--line); }
.hero-copy .display { margin-top: clamp(18px, 3vw, 40px); font-size: clamp(2.6rem, min(6vw, 9.2vh), 7rem); }
.hero-copy .display .sub { display: block; color: var(--muted); font-size: .56em; letter-spacing: -0.04em; line-height: 1; margin-top: .3em; }
.hero-slogan { display: flex; align-items: center; gap: 14px; font-family: var(--f-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.hero-slogan em { font-style: normal; color: var(--accent); }
.hero-paths { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-strong); }
.hero-path { position: relative; display: flex; flex-direction: column; gap: 22px; padding: 20px 20px 18px; text-decoration: none; min-height: 164px; transition: background-color .25s var(--ease), color .25s var(--ease); }
.hero-path + .hero-path { border-left: 1px solid var(--line-strong); }
.hero-path .tag { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; }
.hero-path strong { font-size: clamp(1.35rem, 2.2vw, 2rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1; margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.hero-path strong svg { width: 26px; height: 26px; flex: none; transition: transform .4s var(--ease); }
.hero-path small { font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.hero-path--buy { background: var(--accent); color: #fff; }
.hero-path--buy .tag, .hero-path--buy small { color: rgba(255,255,255,.78); }
.hero-path--buy:hover { background: var(--ink); }
.hero-path--install:hover { background: var(--ink); color: var(--bg); }
.hero-path--install:hover .tag, .hero-path--install:hover small { color: rgba(236,236,233,.7); }
.hero-path:hover strong svg { transform: translate(4px, -4px); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.hero-meta span::before { content: "■ "; color: var(--accent); font-size: 9px; vertical-align: 2px; }

.hero-visual { position: relative; overflow: hidden; background: #cfd0d1; min-height: 420px; }
.tiles { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(4, 1fr); gap: 3px; background: #0f1012; }
.tile {
  background-image: var(--img); background-size: 600% 400%; background-repeat: no-repeat;
  background-position: calc(var(--c) / 5 * 100%) calc(var(--r) / 3 * 100%);
  animation: tileIn 1.1s var(--ease) both; animation-delay: calc(var(--i, 0) * 55ms + 250ms);
  transition: transform .6s var(--ease), filter .6s var(--ease);
}
@keyframes tileIn {
  from { opacity: 0; transform: translateY(18px) scale(.985); filter: brightness(1.6) saturate(.4); }
  to { opacity: 1; transform: none; filter: none; }
}
.tile.is-lift { transform: translateY(-3px) scale(1.012); filter: brightness(1.08); }
.hero-visual .caption { position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; justify-content: space-between; gap: 12px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.45); pointer-events: none; }
.hero-visual .badge15 { position: absolute; top: 16px; right: 16px; background: var(--paper); color: var(--ink); padding: 14px 16px 12px; min-width: 150px; border: 1px solid var(--line); }
.badge15 b { display: block; font-size: 52px; font-weight: 500; letter-spacing: -0.06em; line-height: .85; }
.badge15 span { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { border-right: 0; }
  .hero-visual { order: -1; aspect-ratio: 4 / 3; min-height: 0; }
  .tiles { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 1fr); }
  .tile { background-size: 400% 300%; background-position: calc(var(--c) / 3 * 100%) calc(var(--r) / 2 * 100%); }
  .tile[data-m="0"] { display: none; }
}
@media (max-width: 560px) {
  .hero-paths { grid-template-columns: 1fr; }
  .hero-path + .hero-path { border-left: 0; border-top: 1px solid var(--line-strong); }
  .hero-path { min-height: 128px; }
  .hero-visual .badge15 { min-width: 0; padding: 10px 12px 8px; }
  .hero-visual .caption span:last-child { display: none; }
  .badge15 b { font-size: 38px; }
}

/* ---------- Truth strip (entender en 10s) ---------- */
.truths { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.truth { padding: 22px var(--gutter) 24px; border-right: 1px solid var(--line); display: grid; gap: 6px; }
.truth:last-child { border-right: 0; }
.truth b { font-size: clamp(1.5rem, 2.6vw, 2.4rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1; }
.truth > span { font-size: 14px; color: var(--muted); }
@media (max-width: 820px) { .truths { grid-template-columns: 1fr 1fr; } .truth:nth-child(2) { border-right: 0; } .truth:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* ---------- Two services split ---------- */
.split2 { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-strong); }
.svc { display: flex; flex-direction: column; min-width: 0; }
.svc + .svc { border-left: 1px solid var(--line-strong); }
.svc-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line-strong); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc:hover .svc-media img { transform: scale(1.04); }
.svc-media .tag { position: absolute; top: 14px; left: 14px; background: var(--paper); color: var(--ink); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; padding: 7px 10px; }
.svc--install .svc-media .tag { background: var(--ink); color: #ecece9; }
.svc-body { padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 22px; flex: 1; }
.svc-body .who { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-list li { display: grid; grid-template-columns: 34px 1fr; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.svc-list li span { font-family: var(--f-mono); font-size: 12px; color: var(--muted); padding-top: 3px; }
.svc-foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.svc-foot small { font-size: 13px; color: var(--muted); max-width: 30ch; }
@media (max-width: 860px) { .split2 { grid-template-columns: 1fr; } .svc + .svc { border-left: 0; border-top: 1px solid var(--line-strong); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); }
.stat { padding: 22px 18px 0 0; border-right: 1px solid var(--line); }
.stat + .stat { padding-left: 18px; }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: clamp(3rem, 6.5vw, 6.2rem); font-weight: 500; letter-spacing: -0.06em; line-height: .9; }
.stat span { display: block; margin-top: 12px; font-size: 14.5px; color: var(--muted); max-width: 22ch; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(3) { padding-left: 0; } .stat:nth-child(n+3) { margin-top: 28px; } }

/* ---------- Feature image band ---------- */
.band { position: relative; height: clamp(360px, 70vh, 760px); overflow: hidden; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-cap { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(18px, 3vw, 36px); display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; color: #fff; }
.band-cap h2 { max-width: 16ch; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8,8,10,.55)); pointer-events: none; }
.band-cap { z-index: 2; }

/* ---------- Projects preview / mosaic ---------- */
.proj-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; background: var(--ink); border: 3px solid var(--ink); }
.proj { position: relative; overflow: hidden; background: #222; text-decoration: none; color: #fff; min-height: 260px; }
.proj img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s var(--ease); }
.proj:hover img { transform: scale(1.045); }
.proj figcaption, .proj .pc { position: absolute; inset: auto 0 0 0; padding: 16px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; background: linear-gradient(180deg, transparent, rgba(8,8,10,.72)); }
.proj { margin: 0; }
.proj .pc b { display: block; font-family: var(--f-sans); font-size: 18px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; text-transform: none; margin-top: 4px; }
.proj .pc > span > span { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; opacity: .82; }
@media (max-width: 620px) { .proj .pc em { display: none; } }
.proj .pc em { font-style: normal; font-family: var(--f-mono); font-size: 11px; border: 1px solid rgba(255,255,255,.5); padding: 4px 7px; white-space: nowrap; }
.span-7 { grid-column: span 7; } .span-5 { grid-column: span 5; } .span-4 { grid-column: span 4; } .span-8 { grid-column: span 8; } .span-6 { grid-column: span 6; } .span-12 { grid-column: span 12; }
.tall { min-height: clamp(320px, 42vw, 620px); }
@media (max-width: 760px) { .proj-row > * { grid-column: span 12 !important; } .tall { min-height: 300px; } }

/* ---------- Process steps (horizontal hairline) ---------- */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line-strong); counter-reset: st; }
.step { position: relative; padding: 18px 16px 22px 0; border-right: 1px solid var(--line); }
.step + .step { padding-left: 16px; }
.step:last-child { border-right: 0; }
.step .n { font-family: var(--f-mono); font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; }
.step h3 { font-size: 19px; letter-spacing: -0.02em; line-height: 1.15; margin: 34px 0 10px; }
.step p { font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; height: 3px; width: 0; background: var(--accent); transition: width 1s var(--ease); transition-delay: var(--d, 0s); }
.steps.is-visible .step::before, .is-visible .step::before { width: 100%; }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(3, 1fr); } .step:nth-child(3) { border-right: 0; } .step:nth-child(4) { padding-left: 0; } .step:nth-child(n+4) { border-top: 1px solid var(--line); } }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; } .step, .step + .step { padding-left: 0; border-right: 0; border-bottom: 1px solid var(--line); } .step:nth-child(n+4) { border-top: 0; } .step h3 { margin-top: 14px; } }

/* ---------- Map ---------- */
.map-wrap { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); border: 1px solid var(--line-strong); background: var(--paper); }
.map-stage { position: relative; padding: clamp(14px, 2.5vw, 36px); border-right: 1px solid var(--line-strong); background:
  linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
  linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 40px 40px, var(--paper); }
.mx-map { width: 100%; height: auto; overflow: visible; }
.mx-dots { fill: none; stroke: var(--ink); stroke-opacity: .36; stroke-width: 4.6; stroke-linecap: round; }
.mx-dots--hub { stroke: var(--accent); stroke-opacity: 1; }
.mx-route { fill: none; stroke: var(--accent); stroke-width: 1.3; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .85; }
.is-drawn .mx-route { animation: draw 1.8s var(--ease) forwards; }
.mx-routes .mx-route:nth-child(4n+1) { animation-delay: .1s; } .mx-routes .mx-route:nth-child(4n+2) { animation-delay: .35s; }
.mx-routes .mx-route:nth-child(4n+3) { animation-delay: .6s; } .mx-routes .mx-route:nth-child(4n) { animation-delay: .85s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.mx-pin circle { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; }
.mx-pin text { font-family: var(--f-mono); font-size: 11px; fill: var(--ink-2); paint-order: stroke; stroke: var(--paper); stroke-width: 3px; }
.mx-pin { opacity: 0; transition: opacity .6s var(--ease) 1.2s; }
.is-drawn .mx-pin, .no-js .mx-pin { opacity: 1; }
.no-js .mx-route { stroke-dashoffset: 0; }
.mx-hq circle { fill: var(--accent); }
.mx-hq .mx-hq-pulse { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-opacity: .45; }
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(3.2); opacity: 0; } }
.mx-hq text { font-family: var(--f-mono); font-size: 12px; font-weight: 500; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 4px; }
@media (max-width: 700px) { .mx-pin text { display: none; } .mx-hq text { font-size: 18px; } }
.map-side { display: flex; flex-direction: column; }
.map-side .ms { padding: 22px clamp(18px, 2.4vw, 30px); border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.map-side .ms:last-child { border-bottom: 0; margin-top: auto; }
.map-side .ms h3 { font-size: 20px; letter-spacing: -0.02em; }
.map-side .ms p { font-size: 15px; color: var(--muted); }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.legend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; vertical-align: -1px; }
@media (max-width: 900px) { .map-wrap { grid-template-columns: 1fr; } .map-stage { border-right: 0; border-bottom: 1px solid var(--line-strong); } }

/* ---------- Advisory / differentiator ---------- */
.diff { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); align-items: start; }
.diff-media { grid-column: 1 / span 6; position: relative; }
.diff-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.diff-copy { grid-column: 8 / -1; display: grid; gap: 26px; padding-top: 12px; }
.optim { border: 1px solid var(--line-strong); background: var(--paper); }
.optim-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
.optim-row:last-child { border-bottom: 0; }
.optim-row b { font-weight: 500; font-family: var(--f-mono); font-size: 14px; }
.optim-bar { height: 8px; background: var(--line); position: relative; margin-top: 8px; grid-column: 1 / -1; }
.optim-bar i { position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--ink); transition: width 1.4s var(--ease); }
.optim-bar.good i { background: var(--accent); }
@media (max-width: 900px) { .diff-media, .diff-copy { grid-column: 1 / -1; } .diff-media img { aspect-ratio: 16/11; } }

/* ---------- CTA block ---------- */
.cta-big { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px clamp(12px, 1.6vw, 24px); align-items: end; }
.cta-big h2 { grid-column: 1 / span 8; font-size: clamp(2.6rem, 6.4vw, 6.4rem); letter-spacing: -0.055em; line-height: .92; }
.cta-big .cta-pair { grid-column: 9 / -1; display: grid; gap: 10px; }
@media (max-width: 900px) { .cta-big h2, .cta-big .cta-pair { grid-column: 1 / -1; } }

/* ==========================================================================
   Page heroes (interiores)
   ========================================================================== */
.phero { border-bottom: 1px solid var(--line); }
.phero-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px clamp(12px, 1.6vw, 24px); padding-block: clamp(36px, 6vw, 88px) clamp(28px, 4vw, 56px); align-items: end; }
.phero-top .kicker { grid-column: 1 / -1; }
.phero-top h1 { grid-column: 1 / span 9; }
.phero-top .lead { grid-column: 1 / span 6; }
.phero-top .phero-actions { grid-column: 8 / -1; display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
@media (max-width: 900px) { .phero-top h1, .phero-top .lead, .phero-top .phero-actions { grid-column: 1 / -1; justify-content: flex-start; } }
.phero-img { position: relative; height: clamp(300px, 58vh, 680px); overflow: hidden; border-top: 1px solid var(--line); }
.phero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.specbar { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); }
.specbar div { padding: 16px 16px 18px; border-right: 1px solid var(--line); }
.specbar div:first-child { padding-left: var(--gutter); }
.specbar div:last-child { border-right: 0; }
.specbar dt { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.specbar dd { margin: 6px 0 0; font-size: 19px; letter-spacing: -0.02em; font-weight: 500; }
@media (max-width: 900px) { .specbar { grid-template-columns: repeat(3, 1fr); } .specbar div:nth-child(3) { border-right: 0; } .specbar div:nth-child(n+4) { border-top: 1px solid var(--line); } .specbar div:nth-child(4) { padding-left: var(--gutter); } }
@media (max-width: 520px) { .specbar { grid-template-columns: 1fr 1fr; } .specbar div { border-right: 1px solid var(--line) !important; border-top: 1px solid var(--line); padding-left: 16px !important; } .specbar div:nth-child(2n) { border-right: 0 !important; } .specbar div:nth-child(-n+2) { border-top: 0; } .specbar div:nth-child(2n+1) { padding-left: var(--gutter) !important; } }

/* Sub-navigation on long pages */
.subnav { position: sticky; top: var(--nav-h); z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); transition: top .4s var(--ease); }
.nav.is-hidden ~ main .subnav { top: 0; }
.subnav ul { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 13px 16px; font-size: 14px; text-decoration: none; white-space: nowrap; color: var(--muted); border-right: 1px solid var(--line); }
.subnav li:first-child a { padding-left: 0; }
.subnav a:hover { color: var(--ink); }
.subnav a.is-active { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.subnav .sn-cta { margin-left: auto; }
.subnav .sn-cta a { color: var(--accent); border-right: 0; font-weight: 500; }

/* ==========================================================================
   SUMINISTRO — Ventajas, composición, especificaciones
   ========================================================================== */
.adv { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line); }
.adv > div { padding: 22px 20px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; min-height: 190px; transition: background-color .2s; }
.adv > div:hover { background: var(--paper); }
.adv svg { width: 30px; height: 30px; stroke: var(--ink); stroke-width: 1.3; fill: none; margin-bottom: 18px; }
.adv h3 { font-size: 18px; letter-spacing: -0.02em; line-height: 1.2; }
.adv p { font-size: 14.5px; color: var(--muted); line-height: 1.45; }
@media (max-width: 980px) { .adv { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .adv { grid-template-columns: 1fr; } .adv > div { min-height: 0; } }

.compo { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); align-items: center; }
.stack-stage { position: relative; aspect-ratio: 1 / 0.92; perspective: 1600px; display: grid; place-items: center; background:
  radial-gradient(60% 50% at 50% 55%, rgba(108,14,168,.10), transparent 70%); }
.stack { --p: .55; position: relative; width: 62%; aspect-ratio: 1.35; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-36deg); }
.stack .ly { position: absolute; inset: 0; transform: translateZ(calc(var(--i) * (4px + var(--p) * 46px))); transition: transform .12s linear; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.ly-5 { background: linear-gradient(135deg, rgba(255,255,255,.75), rgba(214,200,245,.55)); box-shadow: 0 0 0 1px rgba(108,14,168,.45) !important; }
.ly-4 { background: linear-gradient(135deg, #f1f2f3, #b9bcc0 60%, #dfe1e3); }
.ly-3 { background: #1c1c1e url("assets/img/tex-ruido.webp") 0 0 / 96px 96px; }
.ly-3::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 16px; background: #0c0c0d; transform-origin: bottom; transform: rotateX(-90deg); }
.ly-3::before { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 16px; background: #2a2a2c; transform-origin: right; transform: rotateY(90deg); }
.ly-2 { background: linear-gradient(135deg, #e3e5e7, #a7aaae 65%, #cfd1d4); }
.ly-1 { background: linear-gradient(135deg, #cdb58c, #a88a5c); }
.stack-labels { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-strong); }
.stack-labels li { display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); transition: color .3s; }
.stack-labels li span { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.stack-labels li b { font-weight: 500; font-size: 17px; letter-spacing: -0.015em; display: block; }
.stack-labels li small { font-size: 14px; color: var(--muted); }
.stack-labels li em { font-style: normal; font-family: var(--f-mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.stack-labels li.is-on span { color: var(--accent); }
@media (max-width: 900px) { .compo { grid-template-columns: 1fr; } .stack-stage { aspect-ratio: 1.2; } }

.spec-table-wrap { border: 1px solid var(--line-strong); overflow-x: auto; background: var(--paper); }
.spec-table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 15.5px; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table thead th { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 400; background: var(--bg-2); }
.spec-table tbody th { font-weight: 500; width: 30%; }
.spec-table td.std { font-family: var(--f-mono); font-size: 14.5px; }
.spec-table td.opt { color: var(--muted); font-family: var(--f-mono); font-size: 14px; }
.spec-table tbody tr:hover { background: var(--bg-2); }
.spec-table tbody tr:last-child > * { border-bottom: 0; }
.spec-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 18px; border-top: 1px solid var(--line); }
.spec-notes p { padding: 14px 16px 0 0; font-size: 14px; color: var(--muted); }
@media (max-width: 800px) { .spec-notes { grid-template-columns: 1fr; } }

.sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 24px); align-items: end; }
.size { display: grid; gap: 12px; }
.size-shape { --k: 1; height: calc(var(--hh) * var(--k) * 1px); width: auto; margin-top: 24px; position: relative; background: linear-gradient(135deg, #d9dbde, #b3b6ba 55%, #d4d6d9); border: 1px solid var(--line-strong); }
.size-shape::before, .size-shape::after { position: absolute; font-family: var(--f-mono); font-size: 11px; color: var(--ink-2); }
.size-shape::before { content: attr(data-w); top: -20px; left: 0; right: 0; text-align: center; }
.size-shape::after { content: attr(data-h); right: -8px; top: 50%; transform: translate(100%, -50%) rotate(90deg); transform-origin: left center; }
@media (max-width: 700px) { .size-shape { --k: .5; } .sizes { gap: 10px; } }
.size b { font-weight: 500; font-size: 18px; letter-spacing: -0.02em; }
.size small { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }

/* ==========================================================================
   CATÁLOGO — Material swatches (efecto firma)
   ========================================================================== */
.cat-bar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line-strong); background: transparent; padding: 9px 14px; font-size: 14px; line-height: 1; transition: background-color .15s, color .15s; }
.chip:hover { background: var(--ink); color: var(--bg); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.chip sup { font-family: var(--f-mono); font-size: 10px; margin-left: 4px; opacity: .7; }
.cat-count { font-family: var(--f-mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

.cat-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 0; border: 1px solid var(--line-strong); background: var(--paper); }
.swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; list-style: none; margin: 0; padding: 0; }
.swatches li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.swatches li[hidden] { display: none; }
.sw { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 14px; width: 100%; height: 100%; padding: 22px 18px 16px; background: transparent; border: 0; text-align: left; transition: background-color .2s; }
.sw:hover { background: var(--bg-2); }
.sw[aria-pressed="true"] { background: var(--accent-soft); box-shadow: inset 0 0 0 1.5px var(--accent); }
.sw-panel { --rx: 0deg; --ry: 0deg; --mx: 30%; --my: 22%; position: relative; display: block; aspect-ratio: 1.45; transform: perspective(700px) rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform .5s var(--ease); }
.sw:hover .sw-panel { transition: transform .12s linear; }
.sw-face { position: absolute; inset: 0 0 7px 0; background-color: var(--c); overflow: hidden; box-shadow: 0 14px 22px -14px rgba(0,0,0,.55), 0 2px 4px rgba(0,0,0,.12); }
.sw-face::before, .sw-face::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.sw-face::after { background: radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,calc(var(--spec, .35) * .55)), transparent 42%); transition: opacity .3s; }
.sw-edge { position: absolute; left: 0; right: 0; bottom: 0; height: 7px; background: linear-gradient(180deg, #e4e5e7 0 16%, #232325 16% 84%, #c9cbce 84%); box-shadow: inset 0 0 0 .5px rgba(0,0,0,.25); }
.sw-meta { display: grid; gap: 2px; }
.sw-code { font-family: var(--f-mono); font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.sw-name { font-size: 16px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; }
.sw-type { font-size: 12.5px; color: var(--muted); }

/* Material recipes */
.sw-face[data-t="solid"] { background-image: linear-gradient(135deg, rgba(255,255,255,.16), transparent 45%, rgba(0,0,0,.16)); --spec: .35; }
.sw-face[data-t="matte"] { background-image: linear-gradient(135deg, rgba(255,255,255,.08), transparent 50%, rgba(0,0,0,.1)); --spec: .18; }
.sw-face[data-t="gloss"] { background-image: linear-gradient(118deg, transparent 30%, rgba(255,255,255,.42) 38%, rgba(255,255,255,.08) 46%, transparent 54%), linear-gradient(135deg, rgba(255,255,255,.22), transparent 40%, rgba(0,0,0,.24)); --spec: .7; }
.sw-face[data-t="metal"] { background-image: linear-gradient(115deg, rgba(255,255,255,.34), rgba(255,255,255,0) 35%, rgba(0,0,0,.2) 65%, rgba(255,255,255,.22)); --spec: .6; }
.sw-face[data-t="metal"]::before, .sw-face[data-t="sparkle"]::before {
  background-image: url("assets/img/tex-ruido.webp"); background-size: 64px 64px;
  opacity: .5;
}
.sw-face[data-t="sparkle"] { background-image: radial-gradient(circle, rgba(255,255,255,.9) 0 .6px, transparent 1.2px), radial-gradient(circle, rgba(255,255,255,.55) 0 .5px, transparent 1px), linear-gradient(135deg, rgba(255,255,255,.2), transparent 45%, rgba(0,0,0,.2)); background-size: 9px 11px, 13px 7px, 100% 100%; background-position: 0 0, 4px 3px, 0 0; --spec: .75; }
.sw-face[data-t="sparkle"]::before { opacity: .9; }
.sw-face[data-t="brushed"] { background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.12) 0 1px, rgba(0,0,0,.035) 1px 2px), repeating-linear-gradient(0deg, transparent 0 5px, rgba(255,255,255,.08) 5px 6px, transparent 6px 11px), linear-gradient(100deg, rgba(0,0,0,.14), rgba(255,255,255,.42) 40%, rgba(0,0,0,.08) 70%, rgba(255,255,255,.3)); --spec: .5; }
.sw-face[data-t="mirror"] { background-image: linear-gradient(112deg, #7c8187 0%, #f7f8f9 18%, #c3c7cc 30%, #50555b 44%, #eef0f2 58%, #9aa0a6 72%, #ffffff 86%, #b7bcc1 100%); --spec: .9; }
.sw-face[data-t="wood"] {
  background-image: url("assets/img/tex-madera.webp"), linear-gradient(135deg, rgba(255,255,255,.14), transparent 50%, rgba(0,0,0,.2));
  background-size: 100% 100%; --spec: .32;
}
.sw-face[data-light] .x { }
@media (hover: none) { .sw-face::after { animation: sheen 6s var(--ease-io) infinite alternate; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%); background-size: 250% 100%; } }
@keyframes sheen { from { background-position: 100% 0; } to { background-position: 0 0; } }

.cat-detail { border-left: 1px solid var(--line-strong); display: flex; flex-direction: column; position: relative; }
.cat-detail-in { position: sticky; top: calc(var(--nav-h) + 56px); display: flex; flex-direction: column; }
.cd-visual { padding: 26px 26px 0; }
.cd-visual .sw-panel { aspect-ratio: 1.25; }
.cd-visual .sw-face { inset: 0 0 12px 0; }
.cd-visual .sw-edge { height: 12px; }
.cd-body { padding: 22px 26px 26px; display: grid; gap: 14px; }
.cd-body h3 { font-size: 28px; letter-spacing: -0.035em; }
.cd-list { margin: 0; border-top: 1px solid var(--line); }
.cd-list div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.cd-list dt { color: var(--muted); }
.cd-list dd { margin: 0; font-family: var(--f-mono); font-size: 13px; text-align: right; }
.avail { display: inline-flex; align-items: center; gap: 6px; }
.avail::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.avail[data-s="stock"]::before { background: #19a35c; }
.avail[data-s="pedido"]::before { background: #d08a00; }
.cd-note { font-size: 12.5px; color: var(--muted); }
@media (max-width: 1100px) { .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .cat-layout { grid-template-columns: minmax(0, 1fr); }
  .cat-detail { border-left: 0; border-top: 1px solid var(--line-strong); }
  .cat-detail-in { position: static; display: grid; grid-template-columns: 180px 1fr; }
  .cd-visual { padding: 20px 0 20px 20px; }
  .cd-body { padding: 20px; }
}
@media (max-width: 620px) { .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sw { padding: 14px 10px 12px; gap: 10px; } .sw-name { font-size: 13.5px; } .sw-type { display: none; } .cat-detail-in { grid-template-columns: 1fr; } .cd-visual { padding: 20px 20px 0; } }

/* ==========================================================================
   COTIZADORES (suministro e instalación)
   ========================================================================== */
.quote { display: grid; grid-template-columns: minmax(0, 1fr) 380px; border: 1px solid var(--line-strong); background: var(--paper); }
.q-main { min-width: 0; }
.q-steps { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); border-bottom: 1px solid var(--line-strong); list-style: none; margin: 0; padding: 0; counter-reset: qs; }
.q-steps li { padding: 14px 18px; font-size: 14px; color: var(--muted); border-right: 1px solid var(--line); display: flex; gap: 10px; align-items: baseline; position: relative; }
.q-steps li:last-child { border-right: 0; }
.q-steps li::before { counter-increment: qs; content: "0" counter(qs); font-family: var(--f-mono); font-size: 11.5px; }
.q-steps li.is-current { color: var(--ink); background: var(--bg-2); }
.q-steps li.is-current::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); }
.q-steps li.is-done { color: var(--ink); }
.q-steps li.is-done::before { content: "✓"; color: var(--accent); }
.q-panel { padding: clamp(20px, 3vw, 36px); display: grid; gap: 26px; }
.q-panel[hidden] { display: none; }
.q-panel > * { min-width: 0; }
.q-panel h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); letter-spacing: -0.03em; }
.q-panel > p.muted { margin-top: -14px; font-size: 15px; }
.q-nav { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 6px; border-top: 1px solid var(--line); padding-top: 20px; }

.field { display: grid; gap: 8px; }
.field > label, .field > .lbl { font-size: 14px; font-weight: 500; display: flex; justify-content: space-between; gap: 8px; }
.field > label small, .field > .lbl small { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 0; font-size: 16px; transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.textarea { min-height: 110px; resize: vertical; line-height: 1.45; }
.select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(108,14,168,.18); background: var(--paper); }
.input.is-invalid, .select.is-invalid { border-color: #c0262d; box-shadow: 0 0 0 3px rgba(192,38,45,.14); }
.err { font-size: 12.5px; color: #b3232a; min-height: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 620px) { .row2, .row3 { grid-template-columns: 1fr; } }

.opts { display: grid; grid-template-columns: repeat(var(--c, 3), minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 14px 13px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); font-size: 15px; font-weight: 500; cursor: pointer; transition: background-color .15s, color .15s; }
.opt span small { font-weight: 400; font-size: 12.5px; color: var(--muted); }
.opt span:hover { background: var(--bg-2); }
.opt input:checked + span { background: var(--ink); color: var(--bg); }
.opt input:checked + span small { color: rgba(236,236,233,.7); }
.opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: -3px; }
@media (max-width: 620px) { .opts { --c: 2 !important; } }

.q-finishes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; max-height: 360px; overflow-y: auto; padding: 2px; }
.q-fin { border: 1px solid var(--line); background: var(--bg); padding: 8px 8px 7px; text-align: left; display: grid; gap: 7px; transition: border-color .15s, background-color .15s; }
.q-fin:hover { border-color: var(--line-strong); }
.q-fin[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--accent-soft); }
.q-fin .sw-panel { aspect-ratio: 1.3; }
.q-fin .sw-face { inset: 0 0 4px 0; box-shadow: 0 6px 10px -8px rgba(0,0,0,.6); }
.q-fin .sw-edge { height: 4px; }
.q-fin b { font-size: 12px; font-weight: 500; line-height: 1.15; }
@media (max-width: 900px) { .q-finishes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 480px) { .q-finishes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.seg { display: inline-flex; border: 1px solid var(--line-strong); }
.seg button { background: transparent; border: 0; padding: 10px 14px; font-size: 14px; }
.seg button + button { border-left: 1px solid var(--line-strong); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.qty { display: grid; grid-template-columns: 52px 1fr 52px; border: 1px solid var(--line-strong); }
.qty button { background: var(--bg-2); border: 0; font-size: 22px; line-height: 1; }
.qty button:hover { background: var(--ink); color: var(--bg); }
.qty input { border: 0; border-left: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong); text-align: center; font-size: 20px; font-family: var(--f-mono); min-height: 52px; background: var(--paper); width: 100%; }
.qty input:focus { outline: none; background: var(--bg); }
.hint { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.hint::before { content: "i"; flex: none; width: 17px; height: 17px; border: 1px solid currentColor; display: grid; place-items: center; font-family: var(--f-mono); font-size: 10px; margin-top: 1px; }

.dropzone { position: relative; border: 1px dashed var(--line-strong); padding: 26px 20px; text-align: center; display: grid; gap: 6px; justify-items: center; background: var(--bg); transition: background-color .15s, border-color .15s; }
.dropzone.is-over { background: var(--accent-soft); border-color: var(--accent); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone b { font-weight: 500; }
.dropzone small { color: var(--muted); font-size: 13px; }
.files { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-family: var(--f-mono); font-size: 12.5px; }
.files li { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 6px 0; }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--accent); flex: none; }

/* Summary rail */
.q-rail { border-left: 1px solid var(--line-strong); background: var(--bg-2); }
.q-rail-in { position: sticky; top: calc(var(--nav-h) + 56px); padding: 22px 22px 24px; display: grid; gap: 16px; }
.q-rail h4 { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.q-sel { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; }
.q-sel .sw-panel { aspect-ratio: 1.3; }
.q-sel .sw-face { inset: 0 0 5px 0; }
.q-sel .sw-edge { height: 5px; }
.q-sel b { font-weight: 500; font-size: 17px; letter-spacing: -0.015em; display: block; line-height: 1.2; }
.q-sel small { color: var(--muted); font-size: 13px; }
.q-lines { margin: 0; border-top: 1px solid var(--line); }
.q-lines div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.q-lines dt { color: var(--muted); }
.q-lines dd { margin: 0; font-family: var(--f-mono); font-size: 13.5px; text-align: right; }
.q-lines .tot dt, .q-lines .tot dd { color: var(--ink); font-weight: 500; font-size: 16px; }
.q-lock { display: grid; gap: 6px; padding: 14px; border: 1px dashed var(--line-strong); font-size: 13.5px; color: var(--muted); }
.q-lock b { color: var(--ink); font-weight: 500; }
.q-zone { font-size: 13px; padding: 10px 12px; background: var(--paper); border: 1px solid var(--line); }
.q-zone b { font-weight: 500; }
.demo-note { font-family: var(--f-mono); font-size: 11px; color: var(--warn); border: 1px solid currentColor; padding: 6px 8px; }
@media (max-width: 1000px) {
  .quote { grid-template-columns: minmax(0, 1fr); }
  .q-rail { border-left: 0; border-top: 1px solid var(--line-strong); order: 2; }
  .q-rail-in { position: static; }
}
@media (max-width: 620px) { .q-steps li { padding: 12px 10px; font-size: 12.5px; } .q-steps li span { display: none; } }

/* Result */
.q-result { display: grid; gap: 22px; }
.q-result .ok { display: flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--ok); }
.q-result .ok::before { content: ""; width: 10px; height: 10px; background: currentColor; }
.breakdown { width: 100%; border-collapse: collapse; font-size: 15px; }
.breakdown td { padding: 12px 0; border-bottom: 1px solid var(--line); }
.breakdown td:last-child { text-align: right; font-family: var(--f-mono); font-size: 14.5px; }
.breakdown tr.tot td { font-size: 19px; font-weight: 500; border-bottom: 1px solid var(--line-strong); border-top: 1px solid var(--line-strong); }
.breakdown tr.freight td { color: var(--muted); }
.breakdown tr.freight td:last-child { color: var(--warn); }
.next-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 620px) { .next-steps { grid-template-columns: 1fr; } }
.summary-list { margin: 0; border-top: 1px solid var(--line-strong); display: grid; grid-template-columns: 1fr 1fr; }
.summary-list div { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.summary-list dt { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.summary-list dd { margin: 3px 0 0; font-size: 15px; }
@media (max-width: 620px) { .summary-list { grid-template-columns: 1fr; } }

/* ==========================================================================
   INSTALACIÓN
   ========================================================================== */
.phero--dark { background: var(--bg); }
.sys { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.sys article { padding: 0 20px 24px 0; border-right: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.sys article + article { padding-left: 20px; }
.sys article:last-child { border-right: 0; }
.sys figure { margin: 0 0 8px; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.sys figure img { width: 100%; height: 100%; object-fit: cover; }
.sys svg.diagram { width: 100%; height: 100%; }
.sys .n { font-family: var(--f-mono); font-size: 12px; color: var(--muted); padding-top: 14px; }
.sys h3 { font-size: 22px; letter-spacing: -0.025em; }
.sys p { font-size: 15px; color: var(--muted); }
@media (max-width: 860px) { .sys { grid-template-columns: 1fr; } .sys article, .sys article + article { padding-left: 0; border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 28px; } }

.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; background: var(--line-strong); border: 3px solid var(--ink); }
.type { position: relative; min-height: 300px; overflow: hidden; background: #222; color: #fff; }
.type img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.type:hover img { transform: scale(1.05); }
.type::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,8,10,.1), rgba(8,8,10,.75)); }
.type div { position: absolute; inset: auto 0 0 0; padding: 18px; z-index: 2; display: grid; gap: 6px; }
.type h3 { font-size: 24px; letter-spacing: -0.03em; }
.type p { font-size: 14px; opacity: .85; max-width: 34ch; }
@media (max-width: 860px) { .types { grid-template-columns: 1fr; } .type { min-height: 240px; } }

.guar { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.guar-big { grid-column: 1 / span 5; border: 1px solid var(--line-strong); padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; align-content: space-between; background: var(--paper); }
.guar-big b { font-size: clamp(4.5rem, 10vw, 9rem); font-weight: 500; letter-spacing: -0.07em; line-height: .8; }
.guar-list { grid-column: 7 / -1; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.guar-list li { display: grid; grid-template-columns: 1fr 1.3fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.guar-list b { font-weight: 500; font-size: 17px; letter-spacing: -0.015em; }
.guar-list span { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .guar-big, .guar-list { grid-column: 1 / -1; } .guar-list li { grid-template-columns: 1fr; gap: 4px; } }

.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 500; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); font-weight: 400; font-size: 20px; transition: transform .3s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; max-width: 70ch; color: var(--ink-2); }

/* ==========================================================================
   PROYECTOS
   ========================================================================== */
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(160px, 17vw, 260px); gap: 3px; background: var(--ink); border: 3px solid var(--ink); }
.mosaic .proj { min-height: 0; transition: opacity .35s var(--ease); }
.mosaic .proj.is-dim { opacity: .18; }
.mosaic .proj[hidden] { display: none; }
.m-a { grid-column: span 8; grid-row: span 2; } .m-b { grid-column: span 4; grid-row: span 2; }
.m-c { grid-column: span 4; grid-row: span 2; } .m-d { grid-column: span 4; grid-row: span 2; } .m-e { grid-column: span 4; grid-row: span 2; }
.m-f { grid-column: span 6; grid-row: span 2; } .m-g { grid-column: span 6; grid-row: span 2; }
@media (max-width: 820px) { .mosaic { grid-auto-rows: 220px; } .mosaic > * { grid-column: span 12 !important; grid-row: span 1 !important; } }

.ba { position: relative; aspect-ratio: 16 / 8; overflow: hidden; border: 1px solid var(--line-strong); user-select: none; touch-action: pan-y; background: #111; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .ba-after { clip-path: inset(0 0 0 var(--x, 50%)); }
.ba .ba-handle { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.ba .ba-handle::after { content: "◂ ▸"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #fff; color: var(--ink); font-size: 12px; padding: 10px 10px; font-family: var(--f-mono); white-space: nowrap; }
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-lbl { position: absolute; top: 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; background: rgba(15,16,18,.8); color: #fff; padding: 6px 9px; pointer-events: none; }
.ba-lbl.l { left: 14px; } .ba-lbl.r { right: 14px; }
@media (max-width: 620px) { .ba { aspect-ratio: 4 / 3.4; } }

/* ==========================================================================
   NOSOTROS
   ========================================================================== */
.big15 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); align-items: end; }
.big15 .num { grid-column: 1 / span 6; font-size: clamp(9rem, 30vw, 28rem); font-weight: 500; letter-spacing: -0.08em; line-height: .74; margin-left: -0.05em; }
.big15 .num sup { font-size: .18em; letter-spacing: -0.02em; vertical-align: top; position: relative; top: .3em; color: var(--accent); }
.big15 .txt { grid-column: 8 / -1; display: grid; gap: 20px; padding-bottom: 12px; }
@media (max-width: 860px) { .big15 .num, .big15 .txt { grid-column: 1 / -1; } }
.timeline { border-top: 1px solid var(--line-strong); }
.tl { display: grid; grid-template-columns: 180px 1fr 1.2fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.tl b { font-family: var(--f-mono); font-weight: 400; font-size: 13px; color: var(--muted); }
.tl h3 { font-size: 22px; letter-spacing: -0.025em; }
.tl p { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .tl { grid-template-columns: 1fr; gap: 6px; } }
.values { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); }
.values div { padding: 20px 18px 26px 0; border-right: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.values div + div { padding-left: 18px; }
.values div:last-child { border-right: 0; }
.values b { font-weight: 500; font-size: 19px; letter-spacing: -0.02em; }
.values p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 860px) { .values { grid-template-columns: 1fr 1fr; } .values div:nth-child(2) { border-right: 0; } .values div:nth-child(3) { padding-left: 0; } .values div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ==========================================================================
   CONTACTO
   ========================================================================== */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); border: 1px solid var(--line-strong); background: var(--paper); }
.contact-info { border-right: 1px solid var(--line-strong); display: flex; flex-direction: column; }
.ci { padding: 20px clamp(18px, 2.4vw, 30px); border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.ci dt { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.ci dd { margin: 0; font-size: clamp(1.1rem, 1.6vw, 1.4rem); letter-spacing: -0.02em; }
.ci dd a { text-decoration: none; }
.ci dd a:hover { color: var(--accent); }
.contact-routes { display: grid; grid-template-columns: 1fr 1fr; margin-top: auto; }
.contact-routes a { padding: 20px; text-decoration: none; display: grid; gap: 30px; border-top: 1px solid var(--line-strong); transition: background-color .2s, color .2s; }
.contact-routes a + a { border-left: 1px solid var(--line-strong); }
.contact-routes a:hover { background: var(--ink); color: var(--bg); }
.contact-routes small { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .07em; opacity: .7; }
.contact-routes b { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.contact-form { padding: clamp(20px, 3vw, 36px); display: grid; gap: 20px; align-content: start; }
.route-hint { display: none; padding: 14px 16px; background: var(--accent-soft); border: 1px solid var(--accent); font-size: 14.5px; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.route-hint.is-on { display: flex; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .contact-info { border-right: 0; border-bottom: 1px solid var(--line-strong); } }

/* ==========================================================================
   BLOG
   ========================================================================== */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.post { display: flex; flex-direction: column; gap: 14px; padding: 18px 18px 26px 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; }
.post:nth-child(3n+2), .post:nth-child(3n) { padding-left: 18px; }
.post:nth-child(3n) { border-right: 0; }
.post figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.post figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post:hover figure img { transform: scale(1.04); }
.post .meta { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; }
.post h3 { font-size: 22px; letter-spacing: -0.025em; line-height: 1.12; }
.post p { font-size: 15px; color: var(--muted); }
.post .soon { margin-top: auto; font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.post--feat { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(16px, 3vw, 48px); padding-left: 0 !important; border-right: 0; }
.post--feat figure { aspect-ratio: 16 / 9; }
.post--feat .pf-body { display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.post--feat h3 { font-size: clamp(1.8rem, 3vw, 2.8rem); letter-spacing: -0.04em; line-height: 1; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } .post:nth-child(n) { padding-left: 0; border-right: 0; padding-right: 0; } .post--feat { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .posts { grid-template-columns: 1fr; } }

.article { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.article-aside { grid-column: 1 / span 3; }
.article-aside .toc { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 4px; border-top: 1px solid var(--line-strong); padding-top: 14px; }
.article-aside .toc a { font-size: 14px; color: var(--muted); text-decoration: none; padding: 4px 0; }
.article-aside .toc a:hover { color: var(--ink); }
.prose { grid-column: 4 / span 7; font-size: 18.5px; line-height: 1.7; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--ink); margin-top: 2em; letter-spacing: -0.035em; line-height: 1.05; }
.prose h3 { font-size: 1.25rem; color: var(--ink); margin-top: 1.6em; letter-spacing: -0.02em; line-height: 1.2; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.prose th { font-family: var(--f-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 400; }
.prose .callout { border-left: 3px solid var(--accent); background: var(--paper); padding: 18px 20px; font-size: 16.5px; }
.prose figure { margin: 2em 0; }
.prose figcaption { font-family: var(--f-mono); font-size: 12px; color: var(--muted); margin-top: 8px; }
@media (max-width: 960px) { .article-aside { display: none; } .prose { grid-column: 1 / -1; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--bg); color: var(--ink); padding-top: clamp(56px, 7vw, 96px); }
.f-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px clamp(12px, 1.6vw, 24px); padding-bottom: 48px; }
.f-claim { grid-column: 1 / span 5; display: grid; gap: 22px; align-content: start; }
.f-claim p { font-size: clamp(1.4rem, 2.2vw, 1.9rem); letter-spacing: -0.03em; line-height: 1.12; max-width: 20ch; }
.f-col { grid-column: span 2; display: grid; gap: 6px; align-content: start; }
.f-col:first-of-type { grid-column: 7 / span 2; }
.f-col h4 { font-family: var(--f-mono); font-size: 11px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.f-col a, .f-col span { font-size: 15px; text-decoration: none; color: var(--ink-2); line-height: 1.5; }
.f-col a:hover { color: var(--accent); }
.theme-dark .f-col a:hover { color: #a878ff; }
.f-word img { display: block; width: min(440px, 62vw); height: auto; }
.f-word { font-family: var(--f-logo); font-weight: 800; font-stretch: 72%; font-size: clamp(2.4rem, 14.2vw, 17rem); line-height: .78; letter-spacing: -0.03em; white-space: nowrap; overflow: hidden; margin: 0; padding-top: .05em; color: var(--ink); }
.f-word i { font-style: normal; color: #8f55ff; }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 18px 22px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); letter-spacing: .03em; }
.f-bottom a { text-decoration: none; }
@media (max-width: 900px) { .f-claim { grid-column: 1 / -1; } .f-col, .f-col:first-of-type { grid-column: span 4; } }
@media (max-width: 560px) { .f-col, .f-col:first-of-type { grid-column: span 6; } }

/* ==========================================================================
   Dock (CTA flotante) + Chooser dialog + chatbot slot
   ========================================================================== */
.dock { position: fixed; right: 18px; bottom: 18px; z-index: 55; display: flex; gap: 0; box-shadow: 0 18px 40px -18px rgba(0,0,0,.5); transform: translateY(140%); transition: transform .5s var(--ease); }
.dock.is-on { transform: none; }
.dock button, .dock a { min-height: 54px; }
.dock .btn { border-width: 1px; }
.dock .dock-chat { width: 54px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--ink); border-left: 0; }
.dock .dock-chat svg { width: 22px; height: 22px; }
.dock .dock-chat[hidden] { display: none; }
@media (max-width: 620px) {
  .dock { left: 0; right: 0; bottom: 0; box-shadow: 0 -1px 0 var(--line-strong); }
  .dock > .btn { flex: 1; }
  body.has-dock .footer { padding-bottom: 54px; }
}

.chooser { border: 0; padding: 0; max-width: min(960px, calc(100vw - 24px)); width: 100%; background: var(--bg); color: var(--ink); box-shadow: 0 40px 120px -30px rgba(0,0,0,.6); }
.chooser::backdrop { background: rgba(10,10,12,.55); backdrop-filter: blur(4px); }
.chooser[open] { animation: dlgIn .45s var(--ease); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.ch-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line-strong); }
.ch-head h2 { font-size: 22px; letter-spacing: -0.03em; }
.ch-close { width: 42px; height: 42px; background: transparent; border: 1px solid var(--line-strong); font-size: 20px; line-height: 1; }
.ch-close:hover { background: var(--ink); color: var(--bg); }
.ch-grid { display: grid; grid-template-columns: 1fr 1fr; }
.ch-opt { display: flex; flex-direction: column; text-decoration: none; min-height: 360px; transition: background-color .2s, color .2s; }
.ch-opt + .ch-opt { border-left: 1px solid var(--line-strong); }
.ch-opt figure { margin: 0; height: 170px; overflow: hidden; border-bottom: 1px solid var(--line-strong); }
.ch-opt figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ch-opt:hover figure img { transform: scale(1.05); }
.ch-opt div { padding: 18px 20px 20px; display: grid; gap: 10px; flex: 1; align-content: start; }
.ch-opt .tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ch-opt b svg { width: 26px; height: 26px; flex: none; transition: transform .35s var(--ease); }
.ch-opt:hover b svg { transform: translate(3px, -3px); }
.ch-opt b { font-size: 28px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; display: flex; justify-content: space-between; }
.ch-opt p { font-size: 14.5px; color: var(--muted); }
.ch-opt ul { margin: 0; padding: 0; list-style: none; font-size: 13.5px; display: grid; gap: 4px; }
.ch-opt ul li::before { content: "— "; color: var(--accent); }
.ch-opt:hover { background: var(--ink); color: var(--bg); }
.ch-opt:hover p, .ch-opt:hover .tag { color: rgba(236,236,233,.7); }
.ch-foot { padding: 12px 20px; border-top: 1px solid var(--line-strong); font-size: 13px; color: var(--muted); }
@media (max-width: 680px) { .ch-grid { grid-template-columns: 1fr; } .ch-opt + .ch-opt { border-left: 0; border-top: 1px solid var(--line-strong); } .ch-opt { min-height: 0; } .ch-opt figure { height: 110px; } }

/* ---------- Misc ---------- */
.two-col { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.two-col > :first-child { grid-column: 1 / span 5; }
.two-col > :last-child { grid-column: 7 / -1; }
@media (max-width: 900px) { .two-col > :first-child, .two-col > :last-child { grid-column: 1 / -1; } }
.note-box { border: 1px solid var(--line-strong); padding: 18px 20px; display: grid; gap: 8px; background: var(--paper); }
.note-box b { font-weight: 500; }
.note-box p { font-size: 15px; color: var(--muted); }
.logistics { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line-strong); }
.logistics > div { padding: clamp(20px, 2.6vw, 32px); display: grid; gap: 12px; align-content: start; }
.logistics > div + div { border-left: 1px solid var(--line-strong); }
.logistics h3 { font-size: 22px; letter-spacing: -0.025em; }
.logistics p { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .logistics { grid-template-columns: 1fr; } .logistics > div + div { border-left: 0; border-top: 1px solid var(--line-strong); } }

@media (prefers-reduced-motion: reduce) {
  .mx-hq .mx-hq-pulse { animation: none; opacity: 0; }
}

/* ---------- Google Maps (contacto) ---------- */
.gmap { margin-top: clamp(24px, 3vw, 40px); border: 1px solid var(--line-strong); background: var(--paper); }
.gmap-head { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line-strong); font-size: 14.5px; }
.gmap-head a { font-size: 13px; }
.gmap iframe { display: block; width: 100%; height: clamp(320px, 45vw, 520px); border: 0; }

/* ==========================================================================
   Asistente (chatbot guiado)
   ========================================================================== */
.dock-ic { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: -6px; }
.dock-ic svg { width: 20px; height: 20px; }
.dock .btn { gap: 14px; }
body.bot-open .dock { transform: translateY(140%); }
.bot-inline { background: none; border: 0; padding: 0 0 2px; font: inherit; color: var(--accent); cursor: pointer; }
.bot-hint { margin: -20px 0 18px; font-size: 15px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; }
.bot-hint .bot-inline { font-weight: 500; }

.bot {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: min(410px, calc(100vw - 36px)); height: min(680px, calc(100vh - 110px)); height: min(680px, calc(100dvh - 110px));
  display: flex; flex-direction: column; background: var(--bg); color: var(--ink);
  border: 1px solid var(--ink); box-shadow: 0 30px 80px -24px rgba(0,0,0,.55);
  opacity: 0; transform: translateY(16px) scale(.985); transform-origin: bottom right;
  transition: opacity .25s var(--ease), transform .35s var(--ease);
}
.bot.is-open { opacity: 1; transform: none; }
.bot-head { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; background: var(--ink); color: #ecece9; }
.bot-avatar { width: 38px; height: 38px; flex: none; display: grid; place-items: center; background: var(--accent); color: #fff; font-family: var(--f-logo); font-weight: 800; font-stretch: 80%; font-size: 17px; letter-spacing: .02em; }
.bot-title { flex: 1; min-width: 0; display: grid; }
.bot-title b { font-weight: 500; font-size: 15.5px; letter-spacing: -0.01em; }
.bot-title small { font-family: var(--f-mono); font-size: 11px; color: rgba(236,236,233,.65); display: flex; gap: 6px; align-items: center; }
.bot-live { width: 7px; height: 7px; border-radius: 50%; background: #2bd576; flex: none; }
.bot-ic { width: 36px; height: 36px; background: transparent; border: 1px solid rgba(236,236,233,.25); color: inherit; font-size: 18px; line-height: 1; }
.bot-ic:hover { background: #ecece9; color: var(--ink); }
.bot-progress { height: 3px; background: var(--line); flex: none; }
.bot-progress i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .5s var(--ease); }
.bot-log { flex: 1; overflow-y: auto; padding: 16px 14px 10px; display: flex; flex-direction: column; gap: 8px; overscroll-behavior: contain; }
.bm, .um { max-width: 88%; padding: 10px 13px; font-size: 15px; line-height: 1.42; animation: bmIn .3s var(--ease) both; }
.bm { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); }
.bm small { display: block; margin-top: 5px; font-size: 12.5px; color: var(--muted); }
.bm a { color: var(--accent); }
.um { align-self: flex-end; background: var(--ink); color: #ecece9; }
@keyframes bmIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.bm--typing { display: flex; gap: 4px; padding: 13px 14px; }
.bm--typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: dot 1s infinite ease-in-out; }
.bm--typing span:nth-child(2) { animation-delay: .15s; }
.bm--typing span:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { opacity: .25; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
.bot-sum { margin-top: 10px; border-top: 1px solid var(--line-strong); }
.bot-sum > span { display: block; font-family: var(--f-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-top: 8px; }
.bot-sum dl { margin: 4px 0 0; }
.bot-sum dl div { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.bot-sum dt { color: var(--muted); }
.bot-sum dd { margin: 0; text-align: right; font-weight: 500; }

.bot-input { flex: none; border-top: 1px solid var(--line-strong); padding: 10px; background: var(--bg-2); max-height: 55%; overflow-y: auto; }
.bot-input:empty { display: none; }
.bot-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.bot-opts--final { grid-template-columns: 1fr; }
.bot-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 10px 12px; min-height: 46px; background: var(--paper); border: 1px solid var(--line-strong); font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; transition: background-color .15s, color .15s; }
.bot-opt small { font-weight: 400; font-size: 12px; color: var(--muted); }
.bot-opt:hover { background: var(--ink); color: #ecece9; }
.bot-opt:hover small { color: rgba(236,236,233,.7); }
.bot-opt--primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.bot-opt--primary small, .bot-opt--wa small { color: rgba(255,255,255,.8); }
.bot-opt--wa { background: #128c4a; border-color: #128c4a; color: #fff; }
.bot-row { display: grid; grid-template-columns: 1fr 50px; }
.bot-row .input, .bot-row .select { min-height: 48px; background: var(--paper); border-right: 0; }
.bot-send { background: var(--ink); color: #ecece9; border: 1px solid var(--ink); display: grid; place-items: center; }
.bot-send svg { width: 18px; height: 18px; }
.bot-send:hover { background: var(--accent); border-color: var(--accent); }
.bot-err { font-size: 12.5px; color: #b3232a; margin-top: 4px; }
.bot-err:empty { display: none; }
.bot-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; }
.bot-link { background: none; border: 0; padding: 4px 0; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.bot-link:hover { color: var(--ink); }
.bot-link--skip { margin-left: auto; color: var(--accent); }
.bot-fin { display: grid; gap: 8px; }
.bot-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.bot-tabs button { flex: none; padding: 6px 10px; font-size: 12.5px; background: transparent; border: 1px solid var(--line-strong); }
.bot-tabs button[aria-pressed="true"] { background: var(--ink); color: #ecece9; }
.bot-fin-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.bot-fin-grid .q-fin { padding: 6px; }
.bot-fin-grid .q-fin b { font-size: 11px; }

.bot-teaser { position: fixed; right: 18px; bottom: 84px; z-index: 56; display: flex; align-items: stretch; max-width: 300px; background: var(--paper); border: 1px solid var(--ink); box-shadow: 0 18px 40px -18px rgba(0,0,0,.45); opacity: 0; transform: translateY(10px); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.bot-teaser.is-on { opacity: 1; transform: none; }
.bot-teaser::after { content: ""; position: absolute; right: 28px; bottom: -7px; width: 12px; height: 12px; background: var(--paper); border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: rotate(45deg); }
.bot-teaser-go { background: none; border: 0; text-align: left; padding: 12px 6px 12px 14px; font-size: 14px; line-height: 1.35; color: var(--ink); }
.bot-teaser-x { background: none; border: 0; border-left: 1px solid var(--line); width: 34px; font-size: 18px; color: var(--muted); }
body.bot-open .bot-teaser { display: none; }

@media (max-width: 620px) {
  .bot { inset: 0; width: 100%; height: 100%; border: 0; transform-origin: bottom center; }
  .bot-teaser { left: 16px; right: 16px; max-width: none; bottom: 66px; }
  .bot-fin-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.bot-open { overflow: hidden; }
}

/* ---------- Cotizador: producto fijo + nota de agente ---------- */
.q-fixed { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-strong); background: var(--bg-2); }
.q-fixed div { padding: 12px 14px; border-right: 1px solid var(--line); }
.q-fixed div:last-child { border-right: 0; }
.q-fixed dt { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.q-fixed dd { margin: 4px 0 0; font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
@media (max-width: 620px) { .q-fixed { grid-template-columns: 1fr 1fr; } .q-fixed div:nth-child(2) { border-right: 0; } .q-fixed div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.agent-note { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--accent-soft); border: 1px solid var(--accent); font-size: 14.5px; }
.agent-note b { font-weight: 500; }
.size-one { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px clamp(20px, 3vw, 48px); align-items: start; }
.size-one .size-shape { --k: 1; width: 100%; height: auto; margin-top: 24px; }
.size-one .note-box { grid-column: 1 / -1; }
.size-facts { margin: 0; border-top: 1px solid var(--line-strong); }
.size-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.size-facts dt { color: var(--muted); }
.size-facts dd { margin: 0; font-weight: 500; }
@media (max-width: 800px) { .size-one { grid-template-columns: 1fr; } }
.logistics--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .logistics--3 { grid-template-columns: 1fr; } .logistics--3 > div + div { border-left: 0; border-top: 1px solid var(--line-strong); } }
.bot-opt--alt { border-style: dashed; }

/* ---------- Línea directa de ventas (solo prospectos calificados) ---------- */
.sales-call { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; padding: 16px 18px; border: 1px solid var(--line-strong); background: var(--bg-2); }
.sales-call b { display: block; font-weight: 500; font-size: 16px; letter-spacing: -0.01em; margin-top: 4px; }
.sales-locked { font-size: 15px !important; color: var(--muted); }
.sales-links { font-size: 12.5px; }

/* ---------- Dos medidas comerciales ---------- */
.size-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 48px); align-items: end; }
.size-card .size-shape { --k: 1; width: 100%; height: auto; margin-top: 24px; }
@media (max-width: 760px) { .size-two { grid-template-columns: 1fr; } }

/* ---------- Artículos: CTA y guías relacionadas ---------- */
.article-cta { margin-top: 2.4em !important; display: grid; gap: 16px; padding: 22px; border: 1px solid var(--line-strong); background: var(--paper); }
.article-cta b { display: block; font-size: 18px; font-weight: 500; letter-spacing: -0.015em; color: var(--ink); margin-top: 6px; }
.article-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.related { margin-top: 2em !important; display: grid; border-top: 1px solid var(--line-strong); }
.related .kicker { padding: 14px 0 6px; }
.related a { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 17px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.3; }
.related a small { font-family: var(--f-mono); font-size: 11px; font-weight: 400; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.related a:hover { color: var(--accent); }
.prose .tabla-wrap { overflow-x: auto; }
