/* OD-LAYOUT-PRIMITIVES v1 — structure only: display, flex/grid, overflow, wrapping, ratio, geometry.
   Put this @layer first; product CSS outside the layer always wins. */
@layer od-layout {
  :where(.od-stack,.od-row,.od-row-top,.od-cluster,.od-grid,.od-field,.od-stat,.od-cell,.od-tile) > :where(*) { min-width: 0; }

  /* containers */
  .od-stack   { display: flex; flex-direction: column; gap: var(--od-gap, 8px); }
  .od-row     { display: flex; align-items: center; gap: var(--od-gap, 8px); }
  .od-row-top { display: flex; align-items: flex-start; gap: var(--od-gap, 8px); }
  .od-cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--od-gap, 8px); }
  .od-fill    { flex: 1 1 0; min-width: 0; }
  .od-fixed   { flex: none; }
  .od-grid    { display: grid; gap: var(--od-gap, 12px); grid-template-columns: repeat(var(--od-cols, 3), minmax(0, 1fr)); }

  /* stacked information: each piece is its own line — never sibling inline spans */
  .od-stat, .od-field, .od-cell { display: grid; gap: var(--od-gap, 2px); }
  :where(.od-stat,.od-field,.od-cell) > :where(*) { display: block; }
  .od-tile { display: grid; grid-template-rows: auto 1fr; }
  :where(.od-tile) > :where(*) { display: block; }

  /* media keeps its intrinsic ratio by default; never a distorted or cropped
     cover by accident. height:auto lets the ratio win over an <img height="…">
     attribute. Cropping to a uniform box is an explicit opt-in: set --od-ratio
     AND add .od-media-cover together (per the core rule, only where a crop is
     deliberate — tile thumbs, decorative fills — never on full-frame content). */
  .od-media { display: block; width: 100%; height: auto; aspect-ratio: var(--od-ratio, auto); }
  .od-media-cover { object-fit: cover; }

  /* functional inline SVG icons opt into bounded geometry; content SVGs keep their own */
  .od-icon { display: inline-block; inline-size: var(--od-icon-size, 1em); block-size: var(--od-icon-size, 1em); flex: none; }

  /* data text only — authored copy is rewritten to its budget instead */
  .od-truncate { display: block; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .od-clamp-2, .od-clamp-3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
  .od-clamp-2 { -webkit-line-clamp: 2; }
  .od-clamp-3 { -webkit-line-clamp: 3; }
  .od-lines-2 { min-height: calc(2 * 1.4em); }   /* block-level reservation for a shared baseline */
  .od-nowrap  { white-space: nowrap; }           /* 数字+单位 · 价格+起 · 日期+星期 */
  .od-keep    { word-break: keep-all; overflow-wrap: anywhere; } /* CJK labels break at spaces / <wbr> first */

  /* screen skeleton (optional): bars take their own space, the middle scrolls — no padding guessed for chrome */
  .od-screen { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; }
  .od-scroll { overflow-y: auto; overscroll-behavior: contain; min-height: 0; }

  /* horizontal rail: the next item peeks at the edge; trailing room survives overflow */
  .od-rail { display: flex; gap: var(--od-gap, 8px); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
             padding-inline: var(--od-rail-pad, 16px); scroll-padding-inline: var(--od-rail-pad, 16px); }
  .od-rail::-webkit-scrollbar { display: none; }
  :where(.od-rail) > :where(*) { flex: none; scroll-snap-align: start; }
  :where(.od-rail) > :where(:last-child) { margin-inline-end: var(--od-rail-pad, 16px); }

  .od-spacer { flex: none; visibility: hidden; pointer-events: none; }
  .od-touch  { min-width: 44px; min-height: 44px; }
}
/* /OD-LAYOUT-PRIMITIVES v1 */

/* ============================================================
   Repuestos 3D Quito — sistema de diseño
   Neon / taller técnico: grafito, lima de señal, placas de espécimen
   ============================================================ */

@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/jetbrains-mono.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #08090c;
  --bg-deep: #050609;
  --surface: #0f1116;
  --surface-2: #14171e;
  --plate: #f1f0ea;
  --plate-ink: #15171c;
  --plate-muted: #565b52;

  --fg: #f5f6f3;
  --fg-2: #cbd0c7;
  --muted: #9ba192;
  --border: #262a33;
  --border-soft: #1b1e25;

  --accent: #bbf351;
  --accent-ink: #0b1200;
  --accent-hover: #cdf96f;
  --accent-dim: rgba(187, 243, 81, 0.12);
  --cyan: #00bcff;
  --wa: #25d366;
  --wa-ink: #04210f;
  --danger: #ff7b88;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 22px;
  --text-2xl: 28px;
  --text-3xl: clamp(30px, 4.4vw, 44px);
  --text-hero: clamp(34px, 6.2vw, 72px);

  --leading-tight: 1.04;
  --leading-snug: 1.25;
  --leading-body: 1.6;
  --tracking-display: -0.03em;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  --header-h: 64px;
  --wrap: 1200px;
  --gutter: 20px;

  --motion-fast: 150ms;
  --motion-base: 240ms;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --focus-ring: 0 0 0 4px rgba(187, 243, 81, 0.3);
}

/* ---------- reseteo ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
img { border: 0; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--accent); color: var(--accent-ink); }
[hidden] { display: none !important; }

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- tipografía ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
  color: var(--fg);
}
h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-3xl); text-wrap: balance; }
h3 { font-size: var(--text-xl); letter-spacing: -0.02em; }
p { color: var(--fg-2); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
  flex: none;
}
.lead {
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 58ch;
}
.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }
.accent { color: var(--accent); }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: 64px; border-top: 1px solid var(--border-soft); }
.section--tight { padding-block: 48px; }
.section-head {
  display: grid;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}
.section-head h2 { max-width: 20ch; }
.section-head p { max-width: 56ch; }
.section-head__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--fg);
  text-decoration: none;
}
.link-arrow:hover { color: var(--accent); }
.link-arrow .od-icon { transition: transform var(--motion-fast) var(--ease); }
.link-arrow:hover .od-icon { transform: translateX(3px); }

@media (min-width: 640px) {
  :root { --gutter: 28px; }
}
@media (min-width: 1024px) {
  :root { --gutter: 40px; }
  .section { padding-block: 96px; }
  .section--tight { padding-block: 64px; }
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(8, 9, 12, 0.9);
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--motion-base) var(--ease), background-color var(--motion-base) var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border-soft);
  background: rgba(8, 9, 12, 0.97);
  background: color-mix(in oklab, var(--bg) 97%, transparent);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--fg);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.brand:hover { color: var(--fg); }
.brand__mark {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 2px;
  box-shadow: 0 0 0 3px rgba(187, 243, 81, 0.14);
  flex: none;
}
.brand__3d { color: var(--accent); }
.brand__tld {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
  margin-left: 1px;
}
.nav { display: none; }
.header__actions { display: flex; align-items: center; gap: 10px; }
@media (max-width: 559px) {
  .header__actions .btn { display: none; }
  .brand { font-size: 18px; }
}
.header__wa {
  display: none;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 10px;
  color: var(--fg-2);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
}
.header__wa:hover { color: var(--wa); }
.header__wa .od-icon { --od-icon-size: 17px; }
.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--fg);
  font-size: var(--text-sm);
  font-weight: 500;
}
.menu-btn:hover { border-color: var(--muted); }

@media (min-width: 1024px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    color: var(--fg-2);
    font-size: var(--text-sm);
    font-weight: 500;
    text-decoration: none;
    transition: color var(--motion-fast) var(--ease), background-color var(--motion-fast) var(--ease);
  }
  .nav a:hover { color: var(--fg); background: var(--surface); }
  .nav a[aria-current="page"] { color: var(--fg); }
  .nav a[aria-current="page"]::after {
    content: "";
    width: 5px;
    height: 5px;
    margin-left: 7px;
    border-radius: 50%;
    background: var(--accent);
  }
  .menu-btn { display: none; }
}
@media (min-width: 1180px) {
  .nav a { padding: 0 14px; }
  .header__wa { display: inline-flex; }
}

/* ---------- menú móvil ---------- */
.nav-panel {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  padding: calc(16px + env(safe-area-inset-top)) var(--gutter) calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--motion-base) var(--ease), transform var(--motion-base) var(--ease), visibility var(--motion-base);
}
.nav-panel.is-open { opacity: 1; visibility: visible; transform: none; }
.nav-panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  margin-bottom: 20px;
}
.nav-panel__close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
}
.nav-panel__links { display: flex; flex-direction: column; }
.nav-panel__links a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-soft);
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav-panel__links a span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.nav-panel__links a[aria-current="page"] { color: var(--accent); }
.nav-panel__foot { margin-top: 28px; display: grid; gap: 12px; }
.nav-panel__note {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-top: 6px;
}
body.nav-open { overflow: hidden; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.005em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease), color var(--motion-fast) var(--ease), transform var(--motion-fast) var(--ease);
}
.btn .od-icon { --od-icon-size: 18px; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--fg);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--wa { background: var(--wa); color: var(--wa-ink); }
.btn--wa:hover { background: #3ee27c; color: var(--wa-ink); }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 13px; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: var(--text-base); }
.btn--block { width: 100%; }

/* ---------- héroe ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
  background:
    radial-gradient(60% 50% at 78% 8%, rgba(187, 243, 81, 0.09), transparent 70%),
    var(--bg);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse at 72% 28%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse at 72% 28%, #000 10%, transparent 72%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  gap: 40px;
  padding-block: 44px 40px;
}
.hero__copy { display: grid; gap: 22px; align-content: center; }
.hero h1 { font-size: var(--text-hero); line-height: 1.0; font-weight: 600; text-wrap: balance; }
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  display: block;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2px; }
.hero__meta {
  display: grid;
  gap: 10px;
  margin-top: 6px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
}
.hero__meta div { display: flex; align-items: baseline; gap: 10px; }
.hero__meta dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 88px;
}
.hero__meta dd { font-size: var(--text-sm); color: var(--fg); }

.hero__figure { display: grid; gap: 10px; align-content: start; }
.plate {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--plate);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 8px;
}
.plate img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.plate--hero { aspect-ratio: 16 / 10; }
.plate--tick::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: 14px;
  height: 14px;
  border-top: 2px solid var(--plate-ink);
  border-left: 2px solid var(--plate-ink);
  opacity: 0.55;
  z-index: 2;
}
.plate--tick::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 14px;
  height: 14px;
  border-bottom: 2px solid var(--plate-ink);
  border-right: 2px solid var(--plate-ink);
  opacity: 0.55;
  z-index: 2;
}
.hero__caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__caption strong { color: var(--fg-2); font-weight: 500; }

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
    gap: 56px;
    align-items: center;
    padding-block: 72px 52px;
  }
  .hero__meta { grid-template-columns: repeat(3, auto); gap: 28px; }
  .hero__meta div { display: grid; gap: 4px; }
  .hero__meta dt { min-width: 0; }
}
@media (min-width: 1100px) {
  .hero__inner { padding-block: 88px 64px; }
}

/* ---------- franja de confianza ---------- */
.trust {
  border-top: 1px solid var(--border-soft);
  background: var(--bg-deep);
}
.trust__grid { display: grid; }
.trust__item {
  display: grid;
  gap: 3px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-soft);
}
.trust__item:last-child { border-bottom: 0; }
.trust__item strong {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.trust__item span { font-size: 13px; color: var(--muted); }
@media (min-width: 720px) {
  .trust__grid { grid-template-columns: repeat(3, 1fr); }
  .trust__item { padding: 22px 28px; border-bottom: 0; border-left: 1px solid var(--border-soft); }
  .trust__item:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- tarjetas de categoría ---------- */
.category-grid { display: grid; gap: 14px; }
.category {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--fg);
  transition: border-color var(--motion-base) var(--ease), transform var(--motion-base) var(--ease), background-color var(--motion-base) var(--ease);
}
.category:hover { border-color: #3a404b; transform: translateY(-2px); background: var(--surface-2); color: var(--fg); }
.category__media {
  position: relative;
  height: clamp(170px, 44vw, 220px);
  background: var(--plate);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}
.category__media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.category__index {
  position: absolute;
  left: 12px;
  top: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--plate-ink);
  background: rgba(241, 240, 234, 0.85);
  padding: 2px 6px;
  border-radius: 3px;
}
.category__body { display: grid; gap: 8px; padding: 20px 20px 22px; }
.category__body h3 { font-size: 20px; }
.category__body p { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.category__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
@media (min-width: 760px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}

/* ---------- pasos ---------- */
.steps { display: grid; gap: 0; counter-reset: step; }
.step {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 22px 0 22px 54px;
  border-top: 1px solid var(--border-soft);
}
.step:last-child { border-bottom: 1px solid var(--border-soft); }
.step__num {
  position: absolute;
  left: 0;
  top: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.step h3 { font-size: 18px; font-weight: 500; }
.step p { font-size: 14.5px; color: var(--muted); max-width: 40ch; }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .step { padding: 24px 0 0; border-top: 2px solid var(--border); border-bottom: 0; }
  .step::after {
    content: "";
    position: absolute;
    top: -2px;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--accent);
  }
  .step__num { position: static; margin-bottom: 2px; }
}

/* ---------- productos ---------- */
.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.product {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 8px 8px 14px;
  transition: border-color var(--motion-base) var(--ease), transform var(--motion-base) var(--ease);
}
.product:hover { border-color: #3a404b; }
.product__media {
  position: relative;
  height: clamp(120px, 34vw, 190px);
  background: var(--plate);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  overflow: hidden;
}
.product__media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.product__body { display: flex; flex-direction: column; gap: 6px; padding: 12px 6px 0; flex: 1; }
.product__ref {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}
.product__name {
  font-family: var(--font-display);
  font-size: clamp(14px, 3.8vw, 17px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--fg);
}
.product__meta { font-size: 12.5px; color: var(--muted); }
.product__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}
.product__price {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg);
  white-space: nowrap;
}
.product__price small {
  font-size: 9.5px;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-right: 4px;
  text-transform: uppercase;
}
.product__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}
.product__link:hover { background: var(--accent-dim); border-color: var(--accent); color: var(--accent); }
@media (min-width: 760px) {
  .products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .product { padding: 10px 10px 16px; }
  .product__media { height: clamp(150px, 17vw, 205px); }
}
@media (max-width: 759px) {
  .products--rail {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1);
    padding-bottom: 4px;
  }
  .products--rail::-webkit-scrollbar { display: none; }
  .products--rail > .product {
    flex: 0 0 68%;
    scroll-snap-align: start;
  }
  .products--rail > .product:last-child { margin-right: var(--gutter); }
}

/* ---------- tabla de materiales ---------- */
.mat {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.mat__row { display: grid; gap: 6px; padding: 18px 20px; border-top: 1px solid var(--border-soft); }
.mat__row:first-child { border-top: 0; }
.mat__head { display: none; }
.mat__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.mat__name code {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 400;
}
.mat__cell { font-size: 13.5px; color: var(--muted); }
.mat__cell::before {
  content: attr(data-label) " · ";
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7b8276;
}
@media (min-width: 780px) {
  .mat__head {
    display: grid;
    grid-template-columns: 1.1fr 1.5fr 1fr;
    gap: 20px;
    padding: 12px 20px;
    background: var(--surface-2);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    border-top: 0;
  }
  .mat__row {
    grid-template-columns: 1.1fr 1.5fr 1fr;
    gap: 20px;
    align-items: baseline;
    padding: 18px 20px;
  }
  .mat__cell::before { content: none; }
}

/* ---------- panel de límites ---------- */
.limits {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.limits h3 { font-size: 18px; }
.limits ul { display: grid; gap: 10px; }
.limits li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--muted);
}
.limits li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--font-mono);
}
@media (min-width: 860px) {
  .materials-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr); gap: 24px; align-items: start; }
}

/* ---------- FAQ ---------- */
.group-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.group-title::before { content: ""; width: 18px; height: 2px; background: var(--accent); flex: none; }
.faq { border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  color: var(--accent);
  flex: none;
  margin-top: 2px;
  transition: transform var(--motion-fast) var(--ease);
}
.faq__item[open] summary::after { content: "−"; }
.faq__item summary:hover { color: var(--accent); }
.faq__body { padding: 0 0 22px; max-width: 72ch; }
.faq__body p { font-size: 15px; color: var(--fg-2); }
.faq__body p + p { margin-top: 10px; }
.faq__body ul { margin-top: 10px; display: grid; gap: 6px; }
.faq__body li { position: relative; padding-left: 16px; font-size: 14.5px; color: var(--fg-2); }
.faq__body li::before { content: "·"; position: absolute; left: 4px; color: var(--accent); }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(90% 140% at 90% 10%, rgba(187, 243, 81, 0.12), transparent 62%),
    var(--surface);
  padding: 32px 24px;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 20% 100%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse at 20% 100%, #000, transparent 70%);
  pointer-events: none;
}
.cta > * { position: relative; }
.cta h2 { max-width: 22ch; margin-bottom: 14px; }
.cta p { max-width: 50ch; margin-bottom: 24px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 820px) {
  .cta { padding: 56px 56px; }
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-soft);
  padding-top: 56px;
}
.footer__grid { display: grid; gap: 34px; padding-bottom: 44px; }
.footer__brand p { font-size: 14px; color: var(--muted); max-width: 34ch; margin-top: 12px; }
.footer__h {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer__list { display: grid; gap: 2px; }
.footer__list a, .footer__list span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--fg-2);
  font-size: 14px;
  text-decoration: none;
}
.footer__list a:hover { color: var(--accent); }
.footer address { font-style: normal; font-size: 14px; color: var(--fg-2); display: grid; gap: 6px; }
.footer address span { color: var(--muted); font-size: 13px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  padding-block: 20px 24px;
  border-top: 1px solid var(--border-soft);
  font-size: 12px;
  color: var(--muted);
}
.footer__bottom a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; }
.footer__bottom a:hover { color: var(--fg); text-decoration: underline; }
@media (min-width: 700px) {
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 24px; }
}

/* ---------- barra móvil ---------- */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: flex;
  gap: 8px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(8, 9, 12, 0.96);
  background: color-mix(in oklab, var(--bg) 96%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-soft);
}
.mobile-bar .btn { flex: 1; }
body.has-bar { padding-bottom: 76px; }
@media (min-width: 861px) {
  .mobile-bar { display: none; }
  body.has-bar { padding-bottom: 0; }
}

/* ---------- páginas internas ---------- */
.page-head {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
  padding-block: 40px 32px;
  background: radial-gradient(70% 120% at 85% 0%, rgba(187, 243, 81, 0.07), transparent 60%), var(--bg);
}
.page-head__inner { display: grid; gap: 18px; }
.page-head h1 { font-size: clamp(32px, 5.6vw, 56px); max-width: 22ch; }
.page-head p { max-width: 60ch; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span[aria-hidden] { color: #4c5147; }
@media (min-width: 900px) {
  .page-head { padding-block: 64px 48px; }
}

.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(26px, 3.4vw, 34px); margin-bottom: 14px; }
.prose h3 { margin: 30px 0 10px; font-size: 19px; }
.prose p { margin-bottom: 14px; }
.prose ul { display: grid; gap: 8px; margin: 0 0 18px; }
.prose ul li { position: relative; padding-left: 20px; color: var(--fg-2); font-size: 15.5px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 0.65em; width: 6px; height: 6px; background: var(--accent); border-radius: 1px; }
.prose a { color: var(--accent); }

.split { display: grid; gap: 32px; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: start; }
  .split--wide { grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr); }
}

.aside-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 24px;
  display: grid;
  gap: 14px;
}
.aside-card h3 { font-size: 17px; }
.aside-card p { font-size: 14px; color: var(--muted); }
.aside-card ul { display: grid; gap: 8px; }
.aside-card li { font-size: 14px; color: var(--fg-2); display: flex; gap: 10px; align-items: baseline; }
.aside-card li::before { content: "→"; color: var(--accent); font-family: var(--font-mono); font-size: 12px; }

.fact-strip {
  display: grid;
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.fact {
  background: var(--bg);
  padding: 16px 18px;
  display: grid;
  gap: 3px;
}
.fact dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.fact dd { font-size: 14px; color: var(--fg); }
@media (min-width: 640px) {
  .fact-strip { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- catálogo ---------- */
.catalog-bar {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: transparent;
  color: var(--fg-2);
  font-size: 13px;
  font-weight: 500;
  transition: border-color var(--motion-fast) var(--ease), color var(--motion-fast) var(--ease), background-color var(--motion-fast) var(--ease);
}
.filter-btn:hover { border-color: var(--muted); color: var(--fg); }
.filter-btn[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.search {
  position: relative;
  display: flex;
  align-items: center;
}
.search .od-icon {
  position: absolute;
  left: 14px;
  --od-icon-size: 17px;
  color: var(--muted);
  pointer-events: none;
}
.search input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px 0 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
}
.search input::placeholder { color: #7d8377; }
.search input:focus { outline: none; border-color: var(--accent); box-shadow: var(--focus-ring); }
.catalog-count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.catalog-count strong { color: var(--fg); font-weight: 500; }
.empty {
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
  display: grid;
  gap: 10px;
  justify-items: center;
}
.empty h3 { font-size: 18px; }
.empty p { font-size: 14px; color: var(--muted); max-width: 38ch; }
@media (min-width: 760px) {
  .catalog-bar { grid-template-columns: 1fr 280px; align-items: center; }
  .catalog-bar .search { justify-self: end; width: 280px; }
}

/* ---------- formularios ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field > label, .label {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.label__hint { font-weight: 400; color: var(--muted); font-size: 12px; }
.req { color: var(--accent); font-size: 11px; }
.input, .select, .textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--fg);
  font-size: 15px;
  transition: border-color var(--motion-fast) var(--ease), box-shadow var(--motion-fast) var(--ease);
}
.input::placeholder, .textarea::placeholder { color: #767c70; }
.input:hover, .select:hover, .textarea:hover { border-color: #3a404b; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--focus-ring);
}
.textarea { min-height: 118px; resize: vertical; line-height: 1.5; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239ba192' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field__help { font-size: 12px; color: var(--muted); }
.field__error { font-size: 12.5px; color: var(--danger); display: flex; gap: 6px; align-items: baseline; }
.field__error::before { content: "!"; font-family: var(--font-mono); font-weight: 700; }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); }
.input[aria-invalid="true"]:focus, .select[aria-invalid="true"]:focus, .textarea[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(255, 123, 136, 0.22); }
.grid-2 { display: grid; gap: 18px; }
@media (min-width: 620px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.check {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding-block: 4px;
  font-size: 13.5px;
  color: var(--fg-2);
  line-height: 1.5;
}
.check input {
  appearance: none;
  width: 20px;
  height: 20px;
  flex: none;
  margin: 1px 0 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  display: grid;
  place-content: center;
  cursor: pointer;
}
.check input::before {
  content: "";
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--accent-ink);
  border-bottom: 2px solid var(--accent-ink);
  transform: rotate(-45deg) scale(0);
  transition: transform var(--motion-fast) var(--ease);
  margin-top: -2px;
}
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::before { transform: rotate(-45deg) scale(1); }
.check input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.check a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--muted); }
.check a:hover { color: var(--accent); }

/* ---------- cotizador ---------- */
.quote { display: grid; gap: 24px; align-items: start; }
.quote__main {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 20px;
}
.quote__steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-soft);
}
.qstep {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  flex: 1;
  min-width: 0;
}
.qstep__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  flex: none;
}
.qstep__label { display: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qstep[data-state="current"] { color: var(--fg); }
.qstep[data-state="current"] .qstep__num { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.qstep[data-state="done"] { color: var(--fg-2); }
.qstep[data-state="done"] .qstep__num { border-color: var(--accent); color: var(--accent); }
.qstep[data-state="done"] .qstep__num::after { content: "✓"; font-size: 11px; }
.qstep[data-state="done"] .qstep__num { font-size: 0; }
.qstep + .qstep::before { content: ""; flex: 1 1 auto; min-width: 10px; height: 1px; background: var(--border-soft); margin-right: 2px; }
@media (min-width: 560px) {
  .qstep__label { display: block; }
}
.step-panel { display: grid; gap: 20px; }
.form-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
}
.form-nav .btn { min-width: 120px; }
.quote__note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}
.quote__note .od-icon { --od-icon-size: 16px; color: var(--accent); margin-top: 2px; }

.drop {
  position: relative;
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
  padding: 28px 18px;
  border: 1px dashed #3a404b;
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color var(--motion-fast) var(--ease), background-color var(--motion-fast) var(--ease);
}
.drop:hover, .drop.is-drag { border-color: var(--accent); background: rgba(187, 243, 81, 0.04); }
.drop .od-icon { --od-icon-size: 26px; color: var(--accent); margin-bottom: 4px; }
.drop strong { font-size: 14px; font-weight: 600; }
.drop span { font-size: 12px; color: var(--muted); }
.drop input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.file-list { display: grid; gap: 8px; }
.file-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-size: 13px;
}
.file-item__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-item__size { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.file-item__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
}
.file-item__remove:hover { color: var(--danger); border-color: var(--danger); }
.file-item__remove .od-icon { --od-icon-size: 14px; }

.quote__aside { display: grid; gap: 14px; }
.summary {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 20px;
}
.summary h3 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 14px;
}
.summary dl { display: grid; gap: 10px; }
.summary__row { display: flex; justify-content: space-between; gap: 14px; font-size: 13px; align-items: baseline; }
.summary__row dt { color: var(--muted); flex: none; }
.summary__row dd { color: var(--fg); text-align: right; overflow-wrap: anywhere; }
.summary__empty { font-size: 13px; color: #7d8377; }
.summary__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}
.summary__total strong { color: var(--accent); font-weight: 500; }
.quote__help { font-size: 12px; color: var(--muted); line-height: 1.5; padding-inline: 4px; }

.success {
  display: grid;
  gap: 14px;
  padding: 28px 22px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  background: rgba(187, 243, 81, 0.05);
}
.success__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
}
.success h2 { font-size: 24px; }
.success p { font-size: 14px; color: var(--fg-2); }
.success__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.success ol { display: grid; gap: 8px; counter-reset: s; margin: 4px 0; }
.success ol li {
  counter-increment: s;
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  color: var(--fg-2);
}
.success ol li::before {
  content: counter(s);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  flex: none;
}
@media (min-width: 980px) {
  .quote { grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; }
  .quote__main { padding: 28px; }
  .quote__aside { position: sticky; top: calc(var(--header-h) + 20px); }
}

/* ---------- contacto ---------- */
.contact-grid { display: grid; gap: 32px; }
.contact-info { display: grid; gap: 20px; }
.info-block { border-top: 1px solid var(--border-soft); padding-top: 16px; display: grid; gap: 5px; }
.info-block__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.info-block__value { font-size: 15px; color: var(--fg); }
.info-block__value a { color: var(--fg); text-decoration: none; }
.info-block__value a:hover { color: var(--accent); }
.info-block span { font-size: 13px; color: var(--muted); }
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; }
}

/* ---------- privacidad ---------- */
.legal { max-width: 76ch; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal h3 { font-size: 17px; margin: 22px 0 8px; }
.legal p, .legal li { font-size: 14.5px; color: var(--fg-2); }
.legal p { margin-bottom: 12px; }
.legal ul { display: grid; gap: 8px; margin: 0 0 16px; }
.legal ul li { position: relative; padding-left: 18px; }
.legal ul li::before { content: "—"; position: absolute; left: 0; color: var(--muted); font-family: var(--font-mono); }
.legal a { color: var(--accent); }
.credits { display: grid; gap: 10px; margin-top: 12px; }
.credits li { font-size: 12.5px; color: var(--muted); padding-left: 0; }
.credits li::before { content: none; }
.credits a { color: var(--fg-2); }

/* ---------- utilidades ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip:focus-visible { outline-offset: 2px; }
.stack-24 { display: grid; gap: 24px; }
.stack-16 { display: grid; gap: 16px; }
.stack-12 { display: grid; gap: 12px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

/* revelado suave, sólo con JS y sin movimiento reducido */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(10px); }
  .js .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: opacity 420ms var(--ease), transform 420ms var(--ease);
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  .site-header, .mobile-bar, .cta, .site-footer { display: none; }
  body { background: #fff; color: #000; }
}

/* ajustes del cotizador */
.quote__step-title { font-size: 22px; margin-bottom: 18px; letter-spacing: -0.02em; }
.quote__main form[hidden] { display: none; }
.fieldset-reset { border: 0; padding: 0; margin: 0; min-width: 0; }
.dims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dims .field > label { font-size: 12px; color: var(--muted); font-weight: 500; }
.dims .input { padding-inline: 12px; }
.input:disabled { opacity: 0.45; cursor: not-allowed; }
.quote__main .btn[hidden] { display: none; }

/* A role of `operator` may read everything and change nothing. The server
   refuses the writes; these rules stop the screen from offering them. Filters,
   tabs and sign-out stay available because they only read. */
body.is-operator #workshop-catalog-form,
body.is-operator #workshop-customer-form,
body.is-operator #workshop-detail-actions,
body.is-operator #workshop-quote-note,
body.is-operator #workshop-quote-save,
body.is-operator #workshop-quote-actions,
body.is-operator #workshop-job-assignment,
body.is-operator #workshop-printer-form,
body.is-operator #workshop-job-stage-actions,
body.is-operator #workshop-job-check-form,
body.is-operator #workshop-job-delivery-form,
body.is-operator #workshop-quotation-start-job,
body.is-operator [data-action='edit'],
body.is-operator [data-action='toggle'],
body.is-operator [data-action='save'],
body.is-operator [data-action='cancel'],
body.is-operator [data-action='edit-customer'],
body.is-operator [data-action='save-customer'],
body.is-operator [data-action='cancel-customer'],
body.is-operator [data-action='edit-printer'],
body.is-operator [data-action='edit-rate'],
body.is-operator #workshop-settings-save,
body.is-operator #workshop-rate-form,
body.is-operator #workshop-report-export,
body.is-operator [data-next-status],
body.is-operator [data-next-job-status] {
  display: none !important;
}
