/* ========= TOKENS ========= */
:root {
  --bg: #F5F4F1;
  --bg-2: #EFEDE7;
  --ink: #0B0B0C;
  --ink-2: #1A1A1C;
  --muted: #545459;
  --muted-2: #A8A7A2;
  --line: #E2DFD7;
  --line-2: #D6D3C9;
  --red: #D7261E;
  --red-ink: #A81A14;
  --yellow: #F5C518;
  --ok: #2E7D32;
  --radius: 2px;
  --radius-lg: 4px;
  --maxw: 1360px;
  --pad: clamp(16px, 3vw, 32px);
  --font-display: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-ui: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

/* ========= LAYOUT ========= */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.row { display: flex; align-items: center; }
.between { justify-content: space-between; }
.gap-xs { gap: 6px; }
.gap-s { gap: 10px; }
.gap-m { gap: 16px; }
.gap-l { gap: 24px; }

/* ========= DIAGONAL SIGNAL BAR ========= */
.stripes {
  height: 10px;
  background: repeating-linear-gradient(
    -45deg,
    var(--yellow) 0 12px,
    #0B0B0C 12px 24px
  );
}
.stripes--thin { height: 4px; }

/* ========= TOP UTILITY BAR ========= */
.utilbar {
  background: var(--ink);
  color: #E7E5DF;
  font-size: 12px;
  letter-spacing: 0.02em;
}
.utilbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 34px;
}
.utilbar a { opacity: .8; }
.utilbar a:hover { opacity: 1; color: #fff; }
.utilbar .sep { color: var(--muted); margin: 0 10px; }

/* ========= HEADER ========= */
.header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header .container {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 18px;
}
.brand__mark {
  width: 38px; height: 38px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  position: relative;
}
.brand__mark::before, .brand__mark::after {
  content: ""; position: absolute; background: var(--red);
}
.brand__mark::before { inset: 6px 6px auto auto; width: 8px; height: 8px; }
.brand__mark svg { width: 22px; height: 22px; }
.brand--logo { gap: 0; }
.brand__img {
  height: 48px;
  width: auto;
  display: block;
  max-width: 160px;
  object-fit: contain;
  transition: transform .15s;
}
.brand--logo:hover .brand__img { transform: rotate(-1deg); }
@media (max-width: 700px) { .brand__img { height: 40px; max-width: 130px; } }

.brand__tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}
.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  padding: 10px 14px;
  font-weight: 500;
  font-size: 14px;
  color: var(--ink-2);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: var(--font-display);
}
.nav a:hover { color: var(--red); }
.nav a.active { color: var(--ink); }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--red);
}
.header__cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: none;
  transition: background .15s;
}
.header__cta:hover { background: var(--red); }
.header__cta .dot { width: 8px; height: 8px; background: #7CE27C; border-radius: 50%; }

.header__login {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  padding: 9px 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: border-color .15s, background .15s, color .15s;
}
.header__login:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.header__login svg { flex-shrink: 0; }

.burger {
  display: none;
  background: transparent;
  border: 1px solid var(--line-2);
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
}
.burger span { display:block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.burger span::before, .burger span::after { content:""; position:absolute; left:0; width:18px; height:2px; background: var(--ink); }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

@media (max-width: 900px) {
  .nav, .header__cta, .header__login { display: none; }
  .burger { display: inline-flex; margin-left: auto; }
}

.mobilenav {
  display: none;
  background: var(--ink);
  color: #fff;
  padding: 20px var(--pad);
}
.mobilenav.open { display: block; }
.mobilenav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid #2A2A2C;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mobilenav a.active { color: var(--red); }

/* ========= TYPE ========= */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--muted);
}
h1.display, .display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.92;
  text-transform: uppercase;
  margin: 0;
}
h2.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  font-size: clamp(28px, 4vw, 44px);
  margin: 0;
}
.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.lede { font-size: 17px; color: var(--muted); max-width: 62ch; }

/* ========= BUTTONS ========= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: transform .08s, background .15s, color .15s;
}
.btn:hover { background: var(--red); border-color: var(--red); }
.btn:active { transform: translateY(1px); }
.btn--red { background: var(--red); border-color: var(--red); }
.btn--red:hover { background: var(--red-ink); border-color: var(--red-ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--sm { padding: 10px 14px; font-size: 12px; }
.btn .arrow { display: inline-block; transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ========= HERO ========= */
.hero {
  position: relative;
  padding: clamp(40px, 7vw, 30px) 0 clamp(48px, 8vw, 120px);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
}
.hero h1 {
  font-size: clamp(52px, 10vw, 148px);
}
.hero h1 em {
  font-style: normal;
  color: var(--red);
}
.hero__meta {
  display: grid;
  gap: 20px;
}
.hero__sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 42ch;
}
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-2);
  margin-top: 40px;
  padding-top: 24px;
}
.hero__stat .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}
.hero__stat .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-top: 8px;
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
}

/* ========= SEARCH ========= */
.search {
  background: #fff;
  border: 1px solid var(--line-2);
  display: flex;
  align-items: stretch;
  position: relative;
}
.search__icon {
  display: grid; place-items: center;
  padding: 0 14px;
  color: var(--muted);
}
.search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 16px 0;
  font-size: 16px;
  background: transparent;
  min-width: 0;
}
.search input::placeholder { color: var(--muted-2); }
.search__btn {
  border: none;
  background: var(--red);
  color: #fff;
  padding: 0 22px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 13px;
  transition: background .15s;
}
.search__btn:hover { background: var(--red-ink); }

.search__hints {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 12px;
}
.search__hint {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 5px 8px;
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--muted);
  cursor: pointer;
}
.search__hint:hover { border-color: var(--ink); color: var(--ink); }

.autocomplete {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--line-2);
  z-index: 10;
  max-height: 340px;
  overflow: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.autocomplete__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.autocomplete__row:last-child { border-bottom: none; }
.autocomplete__row:hover, .autocomplete__row.active { background: var(--bg-2); }
.autocomplete__code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--ink);
  color: #fff;
  padding: 3px 6px;
}
.autocomplete__name { font-size: 14px; }
.autocomplete__type {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.autocomplete__empty {
  padding: 18px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* ========= HERO VISUAL ========= */
.hero__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.hero__visual svg.bg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .7; }
.hero__visual .tag {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 8px;
  background: var(--red);
}
.hero__visual .tag--br {
  top: auto; bottom: 16px; left: auto; right: 16px;
  background: #fff; color: var(--ink);
}
.hero__filter {
  position: absolute;
  inset: 12% 16%;
  display: grid;
  place-items: center;
}

/* ========= BENEFITS ========= */
.benefits {
  border-top: 1px solid var(--line-2);
  padding: clamp(40px, 6vw, 80px) 0;
}
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-left: 1px solid var(--line-2);
}
.benefit {
  padding: 28px;
  border-right: 1px solid var(--line-2);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  background: var(--bg);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  min-height: 240px;
}
.benefit__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.14em;
}
.benefit__title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 22px;
  line-height: 1.1;
  margin: 0;
}
.benefit__body { color: var(--muted); font-size: 14px; }
.benefit__icon {
  width: 44px; height: 44px;
  border: 1px solid var(--ink);
  display: grid; place-items: center;
}

@media (max-width: 800px) {
  .benefits__grid { grid-template-columns: 1fr; }
}

/* ========= CATEGORIES ========= */
.cats {
  padding: clamp(40px, 6vw, 80px) 0;
  background: var(--ink);
  color: #fff;
}
.cats__head {
  display: flex; align-items: end; justify-content: space-between;
  margin-bottom: 40px; gap: 20px; flex-wrap: wrap;
}
.cats h2 { color: #fff; max-width: 16ch; }
.cats .eyebrow { color: var(--muted-2); }
.cats .eyebrow::before { background: var(--muted-2); }
.cats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #2A2A2C;
  border: 1px solid #2A2A2C;
}
.cat {
  background: var(--ink);
  padding: 24px;
  min-height: 220px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
  cursor: pointer;
  transition: background .15s;
}
.cat:hover { background: #161618; }
.cat__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.14em;
}
.cat__name {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 24px;
  line-height: 1;
}
.cat__count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted-2);
}
.cat__arrow {
  width: 32px; height: 32px;
  border: 1px solid #fff;
  display: grid; place-items: center;
  transition: background .15s, color .15s;
}
.cat:hover .cat__arrow { background: var(--red); border-color: var(--red); }
@media (max-width: 800px) { .cats__grid { grid-template-columns: repeat(2, 1fr); } }

/* ========= BRAND SECTION ========= */
.brandsec {
  padding: clamp(40px, 6vw, 100px) 0;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.brandsec__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.brandsec__card {
  aspect-ratio: 4/3;
  background: #fff;
  border: 1px solid var(--line-2);
  position: relative;
  display: grid; place-items: center;
  overflow: hidden;
}
.brandsec__card .corners::before,
.brandsec__card .corners::after {
  content:"";
  position:absolute; width: 16px; height: 16px;
  border: 2px solid var(--ink);
}
.brandsec__card .corners::before { top: 14px; left: 14px; border-right:none; border-bottom:none; }
.brandsec__card .corners::after { bottom: 14px; right: 14px; border-left:none; border-top:none; }
.brandsec__plate {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 6vw, 72px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ink);
}
.brandsec__plate span {
  color: var(--red);
  display: block;
  font-size: 0.32em;
  letter-spacing: 0.24em;
  margin-top: 8px;
}
@media (max-width: 800px) { .brandsec__grid { grid-template-columns: 1fr; gap: 30px; } }

/* ========= CTA BAR ========= */
.ctabar {
  background: var(--red);
  color: #fff;
  padding: 40px 0;
}
.ctabar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.ctabar h3 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1;
  margin: 0;
  max-width: 26ch;
}
.ctabar .btn { background: #fff; color: var(--ink); border-color: #fff; }
.ctabar .btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ========= FOOTER ========= */
.footer {
  background: var(--ink);
  color: #E7E5DF;
  padding: 60px 0 30px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #2A2A2C;
}
.footer h5 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 13px;
  margin: 0 0 16px;
  color: #fff;
}
.footer a { display: block; color: var(--muted-2); padding: 4px 0; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-top: 24px; font-size: 12px; color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; } }

/* ========= CATALOG ========= */
.catalog {
  padding: 32px 0 80px;
}
.catalog__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: end;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-2);
  margin-bottom: 24px;
}
.catalog__title { font-size: clamp(36px, 6vw, 64px); }
.catalog__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  text-align: right;
  letter-spacing: 0.08em;
}
.catalog__layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
}
@media (max-width: 900px) { .catalog__layout { grid-template-columns: 1fr; } }

.sidebar {
  position: sticky;
  top: 86px;
  align-self: start;
  max-height: calc(100vh - 100px);
  overflow: auto;
  padding-right: 8px;
}
.sidebar__group { margin-bottom: 24px; }
.sidebar__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.filter-opt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  cursor: pointer;
  font-size: 14px;
  border-bottom: 1px solid transparent;
}
.filter-opt:hover { color: var(--red); }
.filter-opt input { display: none; }
.filter-opt .box {
  width: 16px; height: 16px;
  border: 1px solid var(--muted-2);
  display: inline-grid; place-items: center;
  margin-right: 10px;
  flex-shrink: 0;
}
.filter-opt.checked .box { background: var(--ink); border-color: var(--ink); }
.filter-opt.checked .box::after {
  content: "";
  width: 8px; height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}
.filter-opt .label { flex: 1; display: flex; align-items: center; }
.filter-opt .count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}
.sidebar__clear {
  background: none;
  border: 1px solid var(--line-2);
  padding: 8px 12px;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 8px;
}
.sidebar__clear:hover { color: var(--red); border-color: var(--red); }

@media (max-width: 900px) {
  .sidebar { position: static; max-height: none; overflow: visible; }
  .sidebar__collapsed { display: none; }
  .sidebar__toggle {
    display: flex !important;
  }
}
.sidebar__toggle { display: none; }

/* ========= CATALOG TOOLBAR ========= */
.toolbar {
  display: flex;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.toolbar .search { flex: 1; min-width: 220px; }
.toolbar__select {
  background: #fff;
  border: 1px solid var(--line-2);
  padding: 0 14px;
  font-size: 14px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
                    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 32px;
  min-width: 180px;
}
.toolbar__view {
  display: flex;
  border: 1px solid var(--line-2);
}
.toolbar__view button {
  background: #fff;
  border: none;
  padding: 0 14px;
  color: var(--muted);
  display: grid; place-items: center;
}
.toolbar__view button.active { background: var(--ink); color: #fff; }

.chips {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.chip button {
  background: none; border: none; color: #fff;
  padding: 0; font-size: 14px; line-height: 1;
}

/* ========= PRODUCT GRID ========= */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
}
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  padding: 20px;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 14px;
  position: relative;
  transition: background .15s;
}
.card:hover { background: var(--bg-2); }
.card__top {
  display: flex; align-items: center; justify-content: space-between;
}
.card__code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--ink);
  color: #fff;
  padding: 4px 7px;
  letter-spacing: 0.04em;
}
.card__stock {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ok);
}
.card__stock::before {
  content: ""; width: 6px; height: 6px; background: var(--ok); border-radius: 50%;
}
.card__stock--low { color: #B45309; }
.card__stock--low::before { background: #B45309; }
.card__img {
  aspect-ratio: 1;
  background: var(--bg-2);
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.card__img svg { width: 72%; height: 72%; }
.card__img .ph-stripes {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(0,0,0,.03) 10px 11px);
  pointer-events: none;
}
.card__name {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 15px;
  line-height: 1.1;
  margin: 0;
}
.card__type {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.card__apps {
  font-size: 12px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__cta {
  display: flex;
  gap: 1px;
  margin-top: 4px;
}
.card__cta .btn {
  flex: 1;
  justify-content: center;
  padding: 11px 12px;
  font-size: 12px;
}
.card__cta .btn--icon {
  flex: 0 0 auto;
  padding: 11px;
  width: 40px;
}

/* LIST VIEW */
.list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
}
.list .card {
  grid-template-rows: none;
  grid-template-columns: 80px auto 1fr auto auto;
  align-items: center;
  gap: 20px;
  padding: 14px 16px;
}
.list .card__img { aspect-ratio: 1; height: 72px; width: 72px; }
.list .card__top { flex-direction: column; align-items: flex-start; gap: 6px; }
.list .card__middle { display: grid; gap: 4px; }
.list .card__cta { margin: 0; }
.list .card__cta .btn { padding: 9px 14px; }
@media (max-width: 700px) { .list .card { grid-template-columns: 56px 1fr; grid-template-rows: auto auto; } .list .card__cta, .list .card__top.badges { grid-column: 1 / -1; } }

/* EMPTY STATE */
.empty {
  grid-column: 1 / -1;
  padding: 60px 24px;
  text-align: center;
  background: #fff;
  display: grid; gap: 16px; justify-items: center;
}
.empty__icon {
  width: 72px; height: 72px;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
}
.empty h3 { font-family: var(--font-display); text-transform: uppercase; margin: 0; font-size: 22px; }
.empty p { color: var(--muted); margin: 0; max-width: 40ch; }

/* ========= MODAL ========= */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(11,11,12,.7);
  display: grid; place-items: center;
  z-index: 100;
  padding: 20px;
  animation: fade .15s ease-out;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.modal {
  background: var(--bg);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  border: 1px solid var(--ink);
  animation: slide-up .2s ease-out;
  position: relative;
}
.modal__head {
  padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line-2);
  position: sticky; top: 0; background: var(--bg); z-index: 2;
}
.modal__head h4 {
  font-family: var(--font-display); text-transform: uppercase; margin: 0; font-size: 14px;
  letter-spacing: 0.06em;
}
.modal__close {
  background: none; border: 1px solid var(--line-2); width: 32px; height: 32px;
  display: grid; place-items: center;
}
.modal__close:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.modal__body { padding: 24px; }
.modal__body .grid2 {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px;
}
@media (max-width: 700px) { .modal__body .grid2 { grid-template-columns: 1fr; } }
.modal__img {
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  position: relative;
}
.modal__img svg { width: 70%; height: 70%; }
.modal__name {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 28px;
  line-height: 1.05;
  margin: 0;
}
.spec {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
  border-top: 1px solid var(--line-2);
}
.spec__row {
  display: contents;
}
.spec__row > * {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.spec__k {
  font-family: var(--font-mono);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
}
.spec__v { color: var(--ink); }

/* ========= INNER PAGES ========= */
.pagehead {
  padding: clamp(32px, 5vw, 64px) 0 clamp(24px, 4vw, 40px);
  border-bottom: 1px solid var(--line-2);
}
.pagehead h1 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.95;
  margin: 10px 0 0;
  letter-spacing: -0.02em;
}
.pagehead .crumbs {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.prose {
  max-width: 64ch;
  font-size: 16px;
  color: var(--ink-2);
}
.prose p { margin: 0 0 1em; }
.prose h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 0.02em;
  margin: 40px 0 12px;
}

.twocol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: clamp(40px, 6vw, 80px) 0;
}
@media (max-width: 900px) { .twocol { grid-template-columns: 1fr; gap: 30px; } }

.timeline {
  border-left: 1px solid var(--line-2);
  padding-left: 20px;
}
.timeline__item { padding: 0 0 28px; position: relative; }
.timeline__item::before {
  content:""; position: absolute;
  left: -25px; top: 6px;
  width: 10px; height: 10px; background: var(--red);
}
.timeline__year {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--muted); text-transform: uppercase;
}
.timeline__title {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: 18px; margin: 4px 0 6px;
}

/* ========= CONTACT FORM ========= */
.form {
  display: grid;
  gap: 14px;
}
.field { display: grid; gap: 6px; }
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.field input, .field textarea, .field select {
  background: #fff;
  border: 1px solid var(--line-2);
  padding: 12px 14px;
  font-size: 15px;
  outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
.field--err input, .field--err textarea { border-color: var(--red); }
.field__err { color: var(--red); font-size: 12px; font-family: var(--font-mono); }

.contact__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
}
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; gap: 40px; } }

.contact__info {
  background: var(--ink);
  color: #fff;
  padding: 32px;
}
.contact__info h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  margin: 0 0 24px;
  font-size: 22px;
}
.contact__row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #2A2A2C;
  align-items: start;
}
.contact__row:last-child { border-bottom: none; }
.contact__row .k {
  font-family: var(--font-mono); font-size: 10px; color: var(--muted-2);
  text-transform: uppercase; letter-spacing: 0.12em;
}
.contact__row .v { color: #fff; font-size: 15px; margin-top: 2px; }
.contact__row .v a { color: #fff; border-bottom: 1px solid var(--red); }

.success {
  background: #E8F5E9;
  border: 1px solid #A5D6A7;
  color: #1B5E20;
  padding: 14px;
  font-size: 14px;
  display: flex; gap: 10px; align-items: center;
}

/* ========= MAP ========= */
.mapph {
  aspect-ratio: 16/9;
  background: var(--ink);
  position: relative;
  overflow: hidden;
  color: #fff;
  display: grid; place-items: center;
}
.mapph iframe {
  /* Combina con la estética oscura del sitio; vuelve a color al interactuar */
  filter: grayscale(1) contrast(0.9) brightness(0.92);
  transition: filter 0.4s ease;
}
.mapph:hover iframe,
.mapph iframe:focus-within {
  filter: none;
}
.mapph .grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.mapph .pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -100%);
  background: var(--red); color: #fff;
  padding: 8px 12px;
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.mapph .pin::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -8px;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--red);
}

/* ========= WHATSAPP FAB ========= */
.fab {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 50;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  background: #25D366;
  color: #fff;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  transition: transform .15s;
}
.fab:hover { transform: translateY(-2px); }
.fab svg { width: 20px; height: 20px; }
@media (max-width: 600px) { .fab .fab-label { display: none; } .fab { padding: 14px; border-radius: 50%; } }

/* ========= UTIL ========= */
.hide-sm { }
@media (max-width: 700px) { .hide-sm { display: none; } }

/* scroll snap section transitions */
.fade-in { animation: fade .3s ease-out; }
