/* ============================================================
   VIKTORIA VENTANAS - Variante B "Ingeniería"
   Datasheet-grade. Cool graphite + paper + signal orange.
   Space Grotesk (display/UI) · IBM Plex Mono (data) · IBM Plex Sans (body)
   ============================================================ */

:root {
  /* Palette - OKLCH */
  --paper:      oklch(0.962 0.003 250);
  --panel:      oklch(0.99 0.002 250);
  --graphite:   oklch(0.18 0.012 255);
  --graphite-2: oklch(0.225 0.013 255);
  --ink:        oklch(0.25 0.015 255);
  --muted:      oklch(0.55 0.012 255);
  --muted-2:    oklch(0.62 0.01 255);
  --hairline:   oklch(0.86 0.005 255);
  --hairline-2: oklch(0.91 0.004 255);
  --accent:     oklch(0.64 0.17 42);
  --accent-ink: oklch(0.50 0.16 42);
  --on-dark:    oklch(0.93 0.004 255);
  --on-dark-mut:oklch(0.66 0.012 255);
  --dark-hair:  oklch(0.32 0.013 255);

  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --disp: "Space Grotesk", system-ui, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1); /* expo-out */
  --col: clamp(1rem, 4vw, 2.75rem); /* gutter */
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.02rem);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--disp); font-weight: 600; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
::selection { background: var(--accent); color: var(--paper); }

/* ---- Layout primitives ---- */
.wrap { width: min(1280px, 100% - calc(var(--col) * 2)); margin-inline: auto; }
.mono { font-family: var(--mono); font-feature-settings: "tnum" 1; }
.num  { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

.kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.kicker::before {
  content: "";
  width: 14px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
.tick { color: var(--accent); }

/* focus */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* skip link */
.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--graphite); color: var(--on-dark);
  padding: 0.6rem 1rem; font-family: var(--mono); font-size: 0.8rem;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklch, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.head-rule {
  height: 18px;
  border-bottom: 1px solid var(--hairline);
  background:
    repeating-linear-gradient(to right,
      var(--hairline) 0 1px, transparent 1px 40px);
  background-position: left bottom;
  background-size: 40px 6px;
  background-repeat: repeat-x;
  position: relative;
}
.head-rule::after {
  content: "";
  position: absolute; left: 0; bottom: 0; width: 6px; height: 12px;
  border-right: 1px solid var(--accent);
}
.head-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 0.85rem 0;
}
.brand { display: flex; align-items: baseline; gap: 0.55rem; }
.brand .b-mark {
  font-family: var(--disp); font-weight: 700; font-size: 1.18rem;
  letter-spacing: -0.03em; color: var(--ink);
}
.brand .b-sub {
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
}
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.04em;
  color: var(--muted); position: relative; padding: 0.2rem 0;
  transition: color 0.25s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%;
  height: 1px; background: var(--accent);
}
.head-cta {
  display: flex; align-items: center; gap: 0.9rem;
}
.tel {
  font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.02em;
  color: var(--ink); white-space: nowrap;
}
.tel .tick { margin-right: 0.4em; }
.btn {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.62rem 1.05rem;
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  cursor: pointer;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--accent { background: var(--accent); border-color: var(--accent); }
.btn--accent:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn--dark { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--dark:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }

.nav-toggle { display: none; }

/* ============================================================
   HERO - technical exhibit
   ============================================================ */
.hero { position: relative; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4.5rem);
}
.hero-copy h1 {
  font-size: clamp(2.4rem, 1.6rem + 4vw, 4.6rem);
  line-height: 0.98;
  margin: 1.2rem 0 0;
  color: var(--ink);
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-lead {
  max-width: 46ch; margin-top: 1.4rem; color: var(--muted);
  font-size: clamp(1rem, 0.97rem + 0.2vw, 1.12rem);
}
.hero-chips {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.8rem;
}
.chip {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.02em;
  border: 1px solid var(--hairline);
  background: var(--panel);
  padding: 0.4rem 0.7rem;
  display: inline-flex; align-items: baseline; gap: 0.5em;
}
.chip b { color: var(--ink); font-weight: 600; }
.chip span { color: var(--muted); }
.chip .val { color: var(--accent); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }

/* exhibit */
.exhibit {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  padding: clamp(2.2rem, 5vw, 3.4rem) clamp(1.6rem, 4vw, 2.6rem);
  background:
    linear-gradient(var(--hairline-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline-2) 1px, transparent 1px),
    var(--panel);
  background-size: 30px 30px;
  border: 1px solid var(--hairline);
}
/* corner registration marks (all four) */
.exhibit::before, .exhibit::after {
  content: ""; position: absolute; width: 13px; height: 13px;
}
.exhibit::before {
  top: 9px; left: 9px;
  border-top: 1px solid var(--accent); border-left: 1px solid var(--accent);
}
.exhibit::after {
  bottom: 9px; right: 9px;
  border-bottom: 1px solid var(--accent); border-right: 1px solid var(--accent);
}
.exhibit-stage {
  display: block; flex: 1 1 auto; min-height: 0; align-self: stretch;
}
.exhibit-img {
  width: 100%; height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 16px 30px oklch(0.18 0.012 255 / 0.16));
}
/* measurement annotations - anchored to the exhibit frame, deliberate */
.measure {
  position: absolute;
  font-family: var(--mono); font-size: 0.7rem;
  color: var(--ink); letter-spacing: 0.01em; white-space: nowrap;
  line-height: 1; z-index: 2;
}
.measure b { color: var(--accent); font-weight: 600; }
.measure .u { color: var(--muted); }
.measure::before, .measure::after { content: ""; position: absolute; }

/* TOP: width dimension line with extension ticks, sits above the profile */
.m-width {
  top: clamp(0.9rem, 2.4vw, 1.5rem); left: clamp(1.6rem, 4vw, 2.6rem); right: clamp(1.6rem, 4vw, 2.6rem);
  padding-top: 0.5rem;
  border-top: 1px solid var(--muted);
  text-align: center; white-space: nowrap;
}
.m-width::before, .m-width::after {
  top: 0; width: 1px; height: 9px; background: var(--muted);
}
.m-width::before { left: 0; }
.m-width::after { right: 0; }

/* MIDDLE-RIGHT: leader to the chamber stack */
.m-cham {
  top: 31%; right: clamp(1.6rem, 4vw, 2.6rem);
  text-align: right; padding-right: 30px;
}
.m-cham::before {
  width: 22px; height: 1px; background: var(--accent);
  right: 0; top: 50%;
}
.m-cham::after {
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
  right: 20px; top: 50%; transform: translateY(-50%);
}

/* BOTTOM-LEFT: Uf value with vertical tick toward the frame */
.m-uf {
  bottom: clamp(2.1rem, 5vw, 3.2rem); left: clamp(1.6rem, 4vw, 2.6rem);
  padding-left: 14px;
}
.m-uf::before {
  width: 1px; height: 18px; background: var(--accent);
  left: 0; bottom: -2px;
}
.m-uf::after {
  width: 7px; height: 1px; background: var(--accent);
  left: -3px; bottom: -2px;
}
.exhibit-tag {
  position: absolute; bottom: clamp(0.7rem, 2vw, 1.1rem); left: clamp(1.6rem, 4vw, 2.6rem);
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); z-index: 2;
}

/* ============================================================
   SECTION scaffolding
   ============================================================ */
section { position: relative; }
.section {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
  border-top: 1px solid var(--hairline);
}
.sec-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.4rem;
}
.sec-head .sec-title {
  font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem);
  line-height: 1.04; color: var(--ink); max-width: 18ch;
}
.sec-index {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
}
.sec-index b { color: var(--accent); }

/* ============================================================
   SOBRE NOSOTROS - statement + spec table
   ============================================================ */
.about-grid {
  display: grid; grid-template-columns: 1.25fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start;
}
.about-statement p { color: var(--ink); font-size: clamp(1.05rem, 1rem + 0.4vw, 1.28rem); max-width: 60ch; }
.about-statement p + p { margin-top: 1.1rem; color: var(--muted); font-size: 1rem; }
.spec-table {
  border: 1px solid var(--hairline);
  background: var(--panel);
}
.spec-table .row {
  display: grid; grid-template-columns: 1fr auto;
  gap: 1rem; align-items: baseline;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--hairline);
}
.spec-table .row:last-child { border-bottom: 0; }
.spec-table .k {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}
.spec-table .v {
  font-family: var(--mono); font-size: 0.95rem; color: var(--ink); text-align: right;
}
.spec-table .v .tick { color: var(--accent); }

/* ============================================================
   VENTAJAS - indexed spec list
   ============================================================ */
.adv-list { border-top: 1px solid var(--hairline); }
.adv {
  display: grid;
  grid-template-columns: 7rem 1fr minmax(0, 30ch);
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--hairline);
  align-items: baseline;
}
.adv-code {
  font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.1em;
  color: var(--accent);
}
.adv-title { font-family: var(--disp); font-size: 1.3rem; font-weight: 600; color: var(--ink); }
.adv-desc { color: var(--muted); font-size: 0.96rem; }
.adv:hover .adv-title { color: var(--accent-ink); }

/* ============================================================
   FEATURED SYSTEMS - datasheet rows
   ============================================================ */
.ds-rows { border-top: 1px solid var(--hairline); }
.ds-row {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--hairline);
  transition: background 0.3s var(--ease);
}
.ds-row:hover { background: var(--panel); }
.ds-thumb {
  width: 130px; height: 110px;
  background:
    linear-gradient(var(--hairline-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline-2) 1px, transparent 1px),
    #fff;
  background-size: 18px 18px;
  border: 1px solid var(--hairline);
  display: grid; place-items: center;
  overflow: hidden;
}
.ds-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 6px; }
.ds-main .ds-name { font-family: var(--disp); font-size: 1.35rem; font-weight: 600; color: var(--ink); }
.ds-main .ds-type {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.45rem;
}
.spec-strip {
  display: flex; flex-wrap: wrap; gap: 0; margin-top: 0.85rem;
  border: 1px solid var(--hairline); width: fit-content; max-width: 100%;
}
.spec-strip .cell {
  padding: 0.4rem 0.85rem;
  border-right: 1px solid var(--hairline);
  display: flex; flex-direction: column; gap: 0.1rem;
}
.spec-strip .cell:last-child { border-right: 0; }
.spec-strip .cell .lab {
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
}
.spec-strip .cell .val {
  font-family: var(--mono); font-size: 0.88rem; color: var(--ink); font-weight: 500;
}
.spec-strip .cell .val.hi { color: var(--accent); }
.ds-end { text-align: right; white-space: nowrap; }
.ds-price {
  font-family: var(--mono); font-size: 1.05rem; color: var(--ink); font-weight: 600;
}
.ds-price small { display: block; font-size: 0.62rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 400; margin-bottom: 0.2rem; }
.ds-link {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em;
  color: var(--muted); margin-top: 0.7rem; display: inline-flex; gap: 0.4em;
  transition: color 0.2s var(--ease);
}
.ds-row:hover .ds-link { color: var(--accent); }

/* ============================================================
   HUMAN COUNTERPOINT BAND - engineering meets felt comfort
   ============================================================ */
.counterpoint {
  position: relative;
  min-height: clamp(420px, 56vw, 600px);
  display: grid; align-items: end;
  overflow: hidden;
  border-top: 1px solid var(--hairline);
}
.cp-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%;
}
.cp-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg,
      oklch(0.18 0.012 255 / 0.82) 0%,
      oklch(0.18 0.012 255 / 0.52) 42%,
      oklch(0.18 0.012 255 / 0.12) 72%,
      transparent 100%),
    linear-gradient(to top, oklch(0.18 0.012 255 / 0.45), transparent 45%);
}
.cp-inner {
  position: relative; z-index: 2;
  padding-block: clamp(2.4rem, 6vw, 4.2rem);
  max-width: 100%;
}
.cp-label {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
}
.cp-line {
  font-family: var(--disp); font-weight: 600;
  font-size: clamp(1.7rem, 1.2rem + 2.6vw, 3rem);
  line-height: 1.08; letter-spacing: -0.02em;
  color: var(--on-dark); margin-top: 1rem; max-width: 22ch;
}
.cp-line em { font-style: normal; color: var(--accent); }
.cp-note {
  color: var(--on-dark-mut); margin-top: 1.1rem; max-width: 46ch;
  font-size: clamp(0.95rem, 0.92rem + 0.2vw, 1.05rem);
}

/* ============================================================
   PARTNERS / CREDENTIALS strip (dark)
   ============================================================ */
.band-dark {
  background: var(--graphite);
  color: var(--on-dark);
  border-top: 1px solid var(--graphite);
}
.band-dark .sec-title, .band-dark h2, .band-dark h3 { color: var(--on-dark); }
.creds {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--dark-hair);
}
.cred {
  padding: 2rem clamp(1rem, 2vw, 2rem);
  border-right: 1px solid var(--dark-hair);
}
.cred:last-child { border-right: 0; }
.cred .cred-code { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; color: var(--accent); }
.cred .cred-name { font-family: var(--disp); font-size: 1.6rem; font-weight: 600; color: var(--on-dark); margin: 0.5rem 0 0.4rem; }
.cred .cred-desc { font-size: 0.9rem; color: var(--on-dark-mut); max-width: 32ch; }

/* ============================================================
   COLORES / ACABADOS - swatch grid
   ============================================================ */
.swatch-grid {
  display: grid; grid-template-columns: repeat(8, 1fr);
  border: 1px solid var(--hairline); background: var(--panel);
}
.swatch {
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.swatch .chip-img {
  aspect-ratio: 1; width: 100%; object-fit: cover; display: block;
  border-bottom: 1px solid var(--hairline);
  background: #fff;
}
.swatch .sw-meta { padding: 0.5rem 0.6rem; }
.swatch .sw-code { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.06em; color: var(--accent); }
.swatch .sw-name { font-family: var(--mono); font-size: 0.7rem; color: var(--ink); margin-top: 0.1rem; line-height: 1.3; }

/* ============================================================
   PRICE TABLES - the variant owns these
   ============================================================ */
.price-block + .price-block { margin-top: 2.4rem; }
.price-cap {
  display: flex; align-items: baseline; gap: 0.8rem; flex-wrap: wrap;
  margin-bottom: 0.9rem;
}
.price-cap h3 { font-size: 1.2rem; color: var(--ink); }
.price-cap .dim { font-family: var(--mono); font-size: 0.78rem; color: var(--accent); }
.ptable {
  width: 100%; border-collapse: collapse;
  border: 1px solid var(--hairline); background: var(--panel);
  font-family: var(--mono); font-size: 0.9rem;
}
.ptable thead th {
  text-align: left; padding: 0.7rem 1rem;
  font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
  border-bottom: 1px solid var(--hairline);
  background: var(--paper);
}
.ptable thead th.num-col, .ptable td.num-col { text-align: right; }
.ptable tbody td {
  padding: 0.72rem 1rem; border-bottom: 1px solid var(--hairline-2);
  color: var(--ink); vertical-align: middle;
}
.ptable tbody tr:last-child td { border-bottom: 0; }
.ptable tbody tr:hover td { background: var(--paper); }
.ptable .sys { font-family: var(--disp); font-weight: 600; letter-spacing: -0.01em; font-size: 0.95rem; }
.ptable .price { font-weight: 600; color: var(--ink); }
.ptable .price .from { color: var(--muted); font-size: 0.72rem; margin-right: 0.4em; }
.ptable .bar-cell { width: 32%; }
.bar {
  height: 6px; background: var(--hairline);
  position: relative; min-width: 60px;
}
.bar > span { position: absolute; inset: 0 auto 0 0; background: var(--accent); }
.price-note {
  font-family: var(--mono); font-size: 0.72rem; color: var(--muted);
  margin-top: 0.8rem; letter-spacing: 0.02em;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start;
}
.form { border: 1px solid var(--hairline); background: var(--panel); padding: clamp(1.2rem, 3vw, 2rem); }
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem;
}
.field label .req { color: var(--accent); }
.field input, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 0.95rem;
  color: var(--ink); background: var(--paper);
  border: 1px solid var(--hairline); padding: 0.7rem 0.85rem;
  transition: border-color 0.2s var(--ease);
}
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 120px; }
.form .btn { width: 100%; justify-content: center; }
.contact-side .spec-table { margin-bottom: 1.4rem; }
.contact-side .row a { color: var(--ink); }
.contact-side .row a:hover { color: var(--accent); }
.socials { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.social-link {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.04em;
  border: 1px solid var(--hairline); padding: 0.5rem 0.85rem; color: var(--muted);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.social-link:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-foot {
  background: var(--graphite); color: var(--on-dark-mut);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.5rem;
}
.foot-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--dark-hair);
}
.foot-brand .b-mark { font-family: var(--disp); font-weight: 700; font-size: 1.4rem; color: var(--on-dark); letter-spacing: -0.03em; }
.foot-brand p { margin-top: 0.8rem; max-width: 38ch; font-size: 0.9rem; }
.foot-col h4 { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.9rem; }
.foot-col a, .foot-col p { display: block; font-family: var(--mono); font-size: 0.82rem; color: var(--on-dark-mut); margin-bottom: 0.5rem; }
.foot-col a:hover { color: var(--on-dark); }
.foot-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding-top: 1.4rem;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.04em; color: var(--on-dark-mut);
}

/* ============================================================
   PRODUCTOS PAGE
   ============================================================ */
.page-hero {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}
.page-hero h1 { font-size: clamp(2rem, 1.5rem + 2.5vw, 3.4rem); color: var(--ink); margin-top: 0.9rem; max-width: 16ch; }
.page-hero p { color: var(--muted); max-width: 56ch; margin-top: 1rem; }

.cat-tabs {
  position: sticky; top: 53px; z-index: 40;
  background: color-mix(in oklch, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.cat-tabs-inner { display: flex; gap: 0; overflow-x: auto; }
.cat-tab {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.04em;
  white-space: nowrap; padding: 0.85rem 1.1rem; color: var(--muted);
  border-right: 1px solid var(--hairline);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.cat-tab:first-child { padding-left: 0; }
.cat-tab .cnt { color: var(--accent); margin-left: 0.4em; }
.cat-tab:hover { color: var(--ink); background: var(--panel); }

.cat-section { padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--hairline); scroll-margin-top: 110px; }
.cat-head { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.cat-head .cat-no { font-family: var(--mono); font-size: 0.8rem; color: var(--accent); letter-spacing: 0.1em; }
.cat-head h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem); color: var(--ink); }
.cat-head .cat-meta { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em; }

.prod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.prod {
  background: var(--panel);
  padding: 1.4rem;
  display: grid; grid-template-columns: 150px 1fr; gap: 1.3rem;
  transition: background 0.3s var(--ease);
}
.prod:hover { background: var(--paper); }
.prod-img {
  width: 150px; height: 150px;
  background:
    linear-gradient(var(--hairline-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline-2) 1px, transparent 1px),
    #fff;
  background-size: 18px 18px;
  border: 1px solid var(--hairline);
  display: grid; place-items: center; overflow: hidden;
}
.prod-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 8px; }
.prod-body { min-width: 0; }
.prod-body .p-type { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.prod-body .p-name { font-family: var(--disp); font-size: 1.25rem; font-weight: 600; color: var(--ink); margin: 0.25rem 0 0.2rem; line-height: 1.1; }
.prod-specs {
  margin: 0.9rem 0 0; padding: 0; list-style: none;
  border-top: 1px solid var(--hairline);
}
.prod-specs li {
  display: grid; grid-template-columns: 1fr auto; gap: 0.8rem;
  padding: 0.4rem 0; border-bottom: 1px solid var(--hairline-2);
  align-items: baseline;
}
.prod-specs .pk { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.prod-specs .pv { font-family: var(--mono); font-size: 0.8rem; color: var(--ink); text-align: right; }
.prod-specs .pv.hi { color: var(--accent); font-weight: 600; }
.prod-foot { display: flex; align-items: baseline; justify-content: space-between; margin-top: 1rem; gap: 1rem; flex-wrap: wrap; }
.prod-foot .p-price { font-family: var(--mono); font-size: 0.95rem; color: var(--ink); font-weight: 600; }
.prod-foot .p-price .from { color: var(--muted); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; margin-right: 0.4em; font-weight: 400; }
.prod-foot .p-link { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--muted); display: inline-flex; gap: 0.4em; }
.prod:hover .p-link { color: var(--accent); }

/* reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
.no-js .reveal { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .exhibit { max-width: 480px; margin-inline: auto; width: 100%; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .adv { grid-template-columns: 5rem 1fr; }
  .adv-desc { grid-column: 2; }
  .creds { grid-template-columns: 1fr; }
  .cred { border-right: 0; border-bottom: 1px solid var(--dark-hair); }
  .cred:last-child { border-bottom: 0; }
  .swatch-grid { grid-template-columns: repeat(4, 1fr); }
  .prod-grid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  /* counterpoint: stronger scrim so text is legible over the bright photo */
  .counterpoint { align-items: end; }
  .cp-scrim {
    background:
      linear-gradient(to top,
        oklch(0.16 0.012 255 / 0.92) 0%,
        oklch(0.16 0.012 255 / 0.78) 30%,
        oklch(0.16 0.012 255 / 0.42) 58%,
        oklch(0.16 0.012 255 / 0.12) 82%,
        transparent 100%);
  }
  .cp-photo { object-position: center 30%; }
  .nav, .head-cta .tel { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 0.5em;
    font-family: var(--mono); font-size: 0.74rem;
    background: transparent; border: 1px solid var(--hairline); color: var(--ink);
    padding: 0.5rem 0.8rem; cursor: pointer;
  }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--hairline);
    padding: 0.5rem var(--col) 1rem;
  }
  .nav.open a { padding: 0.7rem 0; border-bottom: 1px solid var(--hairline-2); font-size: 0.9rem; }
  .ds-row { grid-template-columns: 90px 1fr; }
  .ds-thumb { width: 90px; height: 80px; }
  .ds-end { grid-column: 2; text-align: left; margin-top: 0.4rem; }
  .ds-link { margin-top: 0.4rem; }
  .ptable { font-size: 0.8rem; }
  .ptable .bar-cell { display: none; }
  .ptable thead th.bar-col { display: none; }
  .prod { grid-template-columns: 1fr; }
  .prod-img { width: 100%; height: 180px; }
}
@media (max-width: 480px) {
  .swatch-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-top { grid-template-columns: 1fr; }
  .spec-strip { width: 100%; }
  .hero-actions .btn { flex: 1; justify-content: center; }
}
