/* ============================================================
   ПСК СТУ — Метизы оптом, Красноярск
   Industrial B2B aesthetic — dense, utilitarian, hexagon leitmotif
   ============================================================ */

:root {
  /* PALETTE — Cobalt (default) */
  --deep:     #0b1a2e;  /* dark blue, headers/footers */
  --deep-2:   #102544;  /* gradient pair */
  --mid:      #1f4b8e;  /* medium blue */
  --mid-2:    #2b6ed0;  /* link / hover */
  --soft:     #eaf1fb;  /* light blue panel */
  --neutral:  #f4f5f7;  /* gray panel */
  --paper:    #ffffff;
  --ink:      #0e1726;  /* primary text */
  --ink-2:    #475467;  /* secondary text */
  --ink-3:    #8a94a6;  /* tertiary */
  --line:     #d9dee6;  /* border */
  --line-2:   #e7eaef;  /* faint border */

  --amber:    #f6a623;  /* warm amber accent */
  --amber-2:  #d98f12;
  --green:    #25d366;  /* whatsapp green */
  --green-2:  #1ebd5b;

  /* RADII */
  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 10px;

  /* SPACING SCALE */
  --gap-xs: 6px;
  --gap-sm: 10px;
  --gap-md: 16px;
  --gap-lg: 24px;
  --gap-xl: 40px;
  --gap-2xl: 72px;

  /* TYPE */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* HEADER */
  --header-h: 88px;
}

/* Density modes (driven by data attr if needed later) */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ========== LAYOUT ========== */
.wrap {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ========== TYPE ========== */
.h-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.h1 {
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0;
}
.h2 {
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-weight: 700;
  margin: 0;
}
.h3 {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 600;
  margin: 0;
}
.mono { font-family: var(--font-mono); }
.text-muted { color: var(--ink-2); }
.text-faint { color: var(--ink-3); }

/* ========== BADGE ========== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid var(--amber);
  background: rgba(246, 166, 35, 0.08);
  border-radius: var(--r-xs);
}
.badge--green { color: var(--green-2); border-color: var(--green-2); background: rgba(37, 211, 102, 0.08); }
.badge--blue  { color: var(--mid-2); border-color: var(--mid-2); background: rgba(43, 110, 208, 0.08); }
.badge--solid { color: white; background: var(--amber); border-color: var(--amber); }

/* ========== BUTTON ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  transition: transform 0.06s ease, background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--amber {
  background: var(--amber);
  color: #1a1407;
  border-color: var(--amber);
}
.btn--amber:hover { background: var(--amber-2); border-color: var(--amber-2); }

.btn--green {
  background: var(--green);
  color: #073718;
  border-color: var(--green);
}
.btn--green:hover { background: var(--green-2); border-color: var(--green-2); }

.btn--ghost {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.4);
}
.btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.7); }

.btn--blue {
  background: var(--mid);
  color: white;
  border-color: var(--mid);
}
.btn--blue:hover { background: var(--mid-2); border-color: var(--mid-2); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--outline:hover { border-color: var(--ink); }

.btn--lg { padding: 18px 28px; font-size: 15px; }
.btn--full { width: 100%; }

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--deep);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  z-index: 100;
}
.header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: white;
}
.brand__hex {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.brand__hex svg { width: 100%; height: 100%; }
.brand__name {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
  line-height: 1;
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  text-transform: uppercase;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__item {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  border-radius: var(--r-sm);
  transition: color 0.12s, background 0.12s;
  position: relative;
}
.nav__item:hover { color: white; background: rgba(255,255,255,0.06); }
.nav__item.is-active {
  color: white;
}
.nav__item.is-active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
}
.header__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}
.header__phone {
  color: var(--amber);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
  display: flex; align-items: center; gap: 8px;
}
.header__phone-icon { opacity: 0.85; }

/* spacer to compensate fixed header */
.page-pad { padding-top: var(--header-h); }

/* ========== SECTIONS ========== */
.section { padding: var(--gap-2xl) 0; }
.section--tight { padding: 56px 0; }
.section--white { background: var(--paper); }
.section--neutral { background: var(--neutral); }
.section--soft { background: var(--soft); }
.section--deep {
  background: var(--deep);
  color: white;
}
.section--deep .text-muted { color: rgba(255,255,255,0.7); }

/* Section header row */
.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.section--deep .section-head { border-bottom-color: rgba(255,255,255,0.12); }
.section-head__sub {
  font-size: 15px;
  color: var(--ink-2);
  max-width: 480px;
  text-align: right;
  text-wrap: pretty;
}
.section--deep .section-head__sub { color: rgba(255,255,255,0.65); }

/* ========== HERO ========== */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(43,110,208,0.25), transparent 60%),
    linear-gradient(180deg, var(--deep-2) 0%, var(--deep) 100%);
  color: white;
  overflow: hidden;
  padding: 96px 0 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hero__hex {
  position: absolute;
  right: -180px;
  top: 40px;
  width: 720px;
  height: 720px;
  opacity: 0.35;
  pointer-events: none;
}
.hero__hex svg { width: 100%; height: 100%; }
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
  padding-bottom: 80px;
}
.hero__title {
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 24px 0 28px;
  text-wrap: balance;
}
.hero__title .amber { color: var(--amber); }
.hero__sub {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 580px;
  margin: 0 0 36px;
  text-wrap: pretty;
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  padding: 28px;
  backdrop-filter: blur(6px);
}
.hero__panel-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.12);
  font-family: var(--font-mono);
  font-size: 13px;
}
.hero__panel-row:last-child { border-bottom: 0; }
.hero__panel-row .k { color: rgba(255,255,255,0.55); letter-spacing: 0.05em; text-transform: uppercase; font-size: 11px; }
.hero__panel-row .v { color: white; font-weight: 600; }
.hero__panel-row .v.amber { color: var(--amber); }

/* Hero stats strip */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.1);
  position: relative;
}
.hero-stat {
  padding: 28px 32px;
  border-right: 1px solid rgba(255,255,255,0.1);
  position: relative;
}
.hero-stat:last-child { border-right: 0; }
.hero-stat__num {
  font-size: 42px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--amber);
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.hero-stat__num small {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}
.hero-stat__label {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

/* ========== CATEGORY GRID (home) ========== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.cat-grid[data-cols="4"] { grid-template-columns: repeat(4, 1fr); }
.cat-grid[data-cols="list"] { grid-template-columns: 1fr; }

.cat-card {
  position: relative;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition: background 0.15s ease, transform 0.15s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 200px;
}
.cat-card:hover {
  background: var(--soft);
}
.cat-card:hover .cat-card__icon { color: var(--mid); }
.cat-card:hover .cat-card__arrow { opacity: 1; transform: translate(2px, -2px); }

.cat-card__icon {
  width: 56px;
  height: 56px;
  color: var(--ink);
  transition: color 0.15s ease;
}
.cat-card__icon svg { width: 100%; height: 100%; }
.cat-card__num {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.05em;
}
.cat-card__arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  opacity: 0;
  color: var(--mid);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.cat-card__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}
.cat-card__desc {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.45;
  margin: 0;
}

.cat-grid[data-cols="list"] .cat-card {
  flex-direction: row;
  align-items: center;
  min-height: 0;
  padding: 20px 28px;
  gap: 24px;
}
.cat-grid[data-cols="list"] .cat-card__icon { width: 40px; height: 40px; flex-shrink: 0; }
.cat-grid[data-cols="list"] .cat-card__title { font-size: 17px; flex-shrink: 0; min-width: 220px; }
.cat-grid[data-cols="list"] .cat-card__desc { flex: 1; }
.cat-grid[data-cols="list"] .cat-card__num { position: static; margin-left: auto; }
.cat-grid[data-cols="list"] .cat-card__arrow { position: static; }

/* ========== FEATURE GRID (why) ========== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--mid);
  border-radius: var(--r-sm);
  padding: 28px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 200px;
}
.feature__icon { width: 36px; height: 36px; color: var(--mid); }
.feature__icon svg { width: 100%; height: 100%; }
.feature__title { font-size: 17px; font-weight: 700; margin: 0; letter-spacing: -0.005em; }
.feature__text { font-size: 14px; color: var(--ink-2); line-height: 1.5; margin: 0; }
.feature--accent { border-left-color: var(--amber); }
.feature--accent .feature__icon { color: var(--amber); }

/* ========== TERMS CARDS ========== */
.terms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.term {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--mid);
  border-radius: var(--r-sm);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.term__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid);
  font-weight: 600;
}
.term__value {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1;
}
.term__value small { font-size: 14px; font-weight: 500; color: var(--ink-2); margin-left: 4px; }
.term__note { font-size: 12px; color: var(--ink-2); line-height: 1.4; }

/* ========== CTA SECTION ========== */
.cta {
  background: linear-gradient(135deg, var(--deep-2) 0%, var(--deep) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.cta__hex {
  position: absolute;
  left: -120px;
  bottom: -160px;
  width: 480px;
  opacity: 0.18;
  pointer-events: none;
}
.cta__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.cta__title {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 16px 0 16px;
  text-wrap: balance;
}
.cta__sub { color: rgba(255,255,255,0.7); font-size: 16px; max-width: 480px; }

.contact-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-list li {
  display: grid;
  grid-template-columns: 32px 140px 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-mono);
  font-size: 13px;
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list .k { color: rgba(255,255,255,0.5); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.contact-list .v { color: white; font-weight: 500; }
.contact-list .v.amber { color: var(--amber); font-weight: 700; }

.cta__panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cta__panel h4 { margin: 0; font-size: 18px; font-weight: 700; }
.cta__panel p { margin: 0 0 8px; color: rgba(255,255,255,0.7); font-size: 14px; }

/* ========== FOOTER ========== */
.footer {
  background: #060d1a;
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 60px;
  padding-bottom: 48px;
}
.footer__col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer__col p,
.footer__col li {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
  margin: 0 0 8px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col a:hover { color: white; }
.footer__brand {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 16px; color: white;
}
.footer__brand .brand__name { color: white; }
.footer__legal {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

/* ========== BREADCRUMBS / PAGE HEAD ========== */
.page-head {
  background: var(--soft);
  padding: 48px 0 52px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-head__hex {
  position: absolute;
  right: -100px;
  top: -60px;
  width: 320px;
  opacity: 0.4;
  pointer-events: none;
  color: var(--mid);
}
.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--ink-3);
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.crumbs a:hover { color: var(--mid); }
.crumbs .sep { opacity: 0.4; }
.crumbs .cur { color: var(--ink); }

.page-head__title { font-size: 44px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 12px; line-height: 1.05; }
.page-head__sub { font-size: 16px; color: var(--ink-2); max-width: 640px; margin: 0; line-height: 1.5; text-wrap: pretty; }

/* ========== CATALOG: expandable cards ========== */
.cat-full {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.cat-full__row {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition: background 0.15s ease;
}
.cat-full__row.is-open { background: var(--neutral); }
.cat-full__head {
  display: grid;
  grid-template-columns: 64px 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 22px 28px;
  cursor: pointer;
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  font: inherit;
  color: inherit;
}
.cat-full__head:hover { background: var(--soft); }
.cat-full__row.is-open .cat-full__head:hover { background: transparent; }
.cat-full__icon { width: 44px; height: 44px; color: var(--mid); }
.cat-full__icon svg { width: 100%; height: 100%; }
.cat-full__name { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.cat-full__name small {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  margin-top: 4px;
  text-transform: uppercase;
}
.cat-full__count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
  padding: 4px 10px;
  background: var(--neutral);
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
}
.cat-full__chev {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  color: var(--ink-2);
  transition: transform 0.2s ease;
}
.cat-full__row.is-open .cat-full__chev { transform: rotate(180deg); color: var(--mid); }

.cat-full__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 8px 28px 28px 120px;
}
.cat-full__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cat-full__list li {
  font-size: 14px;
  line-height: 1.55;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.cat-full__list li:last-child { border-bottom: 0; }
.cat-full__list li::before {
  content: "";
  flex-shrink: 0;
  width: 4px; height: 4px;
  background: var(--mid);
  transform: rotate(45deg);
}
.cat-full__spec {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 12px;
  align-self: start;
}
.cat-full__spec h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 4px;
  font-weight: 500;
}
.cat-full__spec dl {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 6px 16px;
  margin: 0;
  font-size: 13px;
  font-family: var(--font-mono);
}
.cat-full__spec dt { color: var(--ink-3); }
.cat-full__spec dd { margin: 0; color: var(--ink); }
.cat-full__cta { display: flex; gap: 10px; margin-top: 8px; }

/* ========== DELIVERY METHODS ========== */
.method-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.method {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--mid);
  border-radius: var(--r-sm);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.method__head { display: flex; align-items: center; gap: 14px; }
.method__icon { width: 36px; height: 36px; color: var(--mid); }
.method__icon svg { width: 100%; height: 100%; }
.method__title { font-size: 19px; font-weight: 700; letter-spacing: -0.005em; margin: 0; }
.method__body { font-size: 14px; color: var(--ink-2); line-height: 1.55; margin: 0; }
.method__body strong { color: var(--ink); }
.method__meta {
  display: flex; flex-direction: column; gap: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.method__meta .row { display: flex; justify-content: space-between; gap: 12px; }
.method__meta .k { color: var(--ink-3); letter-spacing: 0.04em; text-transform: uppercase; font-size: 11px; }
.method__badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }

/* ========== PAY METHODS ========== */
.pay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pay {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.pay__icon { width: 32px; height: 32px; color: var(--mid); }
.pay__title { font-size: 16px; font-weight: 700; margin: 0; }
.pay__text { font-size: 13px; color: var(--ink-2); line-height: 1.5; margin: 0; }

/* ========== LEGAL LIST ========== */
.legal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 28px;
}
.legal-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.legal-list li svg { width: 18px; height: 18px; color: var(--mid); }

/* ========== FAQ ========== */
.faq { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: grid;
  grid-template-columns: 1fr 24px;
  gap: 16px;
  align-items: center;
  width: 100%;
  background: transparent;
  border: 0;
  padding: 22px 0;
  text-align: left;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.faq__q:hover { color: var(--mid); }
.faq__chev { color: var(--ink-3); transition: transform 0.2s ease; }
.faq__item.is-open .faq__chev { transform: rotate(180deg); color: var(--mid); }
.faq__a {
  padding: 0 24px 22px 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 800px;
  text-wrap: pretty;
}

/* ========== CONTACTS PAGE ========== */
.contacts-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-block { margin-bottom: 36px; }
.contact-block__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: 10px;
}
.contact-block__items {
  display: flex; flex-direction: column; gap: 4px;
  font-size: 17px; font-weight: 500;
}
.contact-block__items .amber { color: var(--amber-2); font-weight: 700; font-size: 20px; letter-spacing: -0.005em; }
.contact-block__items .green { color: var(--green-2); font-weight: 600; }

.contact-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.contact-card h3 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.contact-card p { margin: 0 0 8px; color: var(--ink-2); font-size: 14px; }

/* ========== MAP ========== */
.map-block {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.map-head {
  padding: 20px 28px;
  background: var(--neutral);
  border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 13px;
}
.map-head .k { color: var(--ink-3); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.map-canvas {
  height: 360px;
  background:
    repeating-linear-gradient(45deg, transparent, transparent 18px, rgba(31, 75, 142, 0.04) 18px, rgba(31, 75, 142, 0.04) 19px),
    repeating-linear-gradient(-45deg, transparent, transparent 18px, rgba(31, 75, 142, 0.04) 18px, rgba(31, 75, 142, 0.04) 19px),
    linear-gradient(180deg, #e8efef 0%, #dfe7e7 100%);
  display: grid; place-items: center;
  position: relative;
}
.map-pin {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.map-pin__dot {
  width: 18px; height: 18px;
  background: var(--amber);
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.map-pin__label {
  background: var(--deep);
  color: white;
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 6px 12px;
  border-radius: var(--r-xs);
  letter-spacing: 0.02em;
}
.map-watermark {
  position: absolute;
  bottom: 12px; right: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

/* ========== REQUISITES TABLE ========== */
.req-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.req-table tr { border-bottom: 1px solid var(--line); }
.req-table tr:last-child { border-bottom: 0; }
.req-table th, .req-table td {
  text-align: left;
  padding: 14px 22px;
  font-size: 14px;
  vertical-align: top;
}
.req-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  width: 38%;
  background: var(--neutral);
  border-right: 1px solid var(--line);
}
.req-table td { color: var(--ink); font-weight: 500; }
.req-table td.mono { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.02em; }

/* ========== HEX UTIL ========== */
.hex-bg {
  position: absolute;
  pointer-events: none;
}

/* ========== SCROLL TARGET OFFSET ========== */
:target { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ========== RESPONSIVE (basic — desktop-first) ========== */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__title { font-size: 48px; }
  .cat-grid, .cat-grid[data-cols="4"] { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .terms-grid { grid-template-columns: repeat(2, 1fr); }
  .method-grid { grid-template-columns: 1fr; }
  .pay-grid { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .legal-list { grid-template-columns: 1fr; }
  .cta__inner { grid-template-columns: 1fr; gap: 32px; }
  .cat-full__body { grid-template-columns: 1fr; padding-left: 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .section-head { grid-template-columns: 1fr; }
  .section-head__sub { text-align: left; }
}


/* ========== RESPONSIVE: TABLET (max 768px) ========== */
@media (max-width: 768px) {
  :root { --header-h: 0px; }

  .header { height: auto !important; min-height: 0 !important; position: sticky !important; top: 0 !important; z-index: 100 !important; }
  .header-desktop { display: none !important; }
  .header-mobile { display: block !important; overflow: hidden; }
  .header-mobile img { width: calc(100% - 32px) !important; max-width: calc(100% - 32px) !important; margin: 0 16px; height: auto !important; display: block !important; }

  .wrap { padding: 0 16px; }
  .nav { display: none !important; }
  .brand__sub { display: none; }

  .hero { padding: 40px 0 0; }
  .hero__inner { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
  .hero__title { font-size: 32px; }
  .hero__sub { font-size: 15px; }
  .hero__panel { display: none; }
  .hero__hex { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat { padding: 16px 10px; }
  .hero-stat__num { font-size: 22px; white-space: nowrap; }
  .hero-stat__label { font-size: 9px; }
  .hero-stat:nth-child(2) { border-right: 0; }
  .hero-stat:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.1); }

  .section { padding: 40px 0; }
  .section--tight { padding: 32px 0; }
  .section-head { margin-bottom: 24px; }
  .h2 { font-size: 24px; }

  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid[data-cols="4"] { grid-template-columns: repeat(2, 1fr); }
  .cat-card { padding: 16px; min-height: 0; }
  .cat-card__title { font-size: 14px; }

  .feature-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature { padding: 18px; min-height: 0; }

  .terms-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .term__value { font-size: 20px; }

  .cta__inner { grid-template-columns: 1fr; gap: 24px; }
  .cta__title { font-size: 26px; }
  .contact-list .k { display: none; }

  .footer { padding: 36px 0 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__legal { flex-direction: column; gap: 6px; }

  .page-head { padding: 28px 0 32px; }
  .page-head__title { font-size: 28px; }
  .page-head__hex { display: none; }

  .cat-full__head { grid-template-columns: 44px 1fr auto; gap: 12px; padding: 14px 16px; }
  .cat-full__count { display: none; }
  .cat-full__icon { width: 32px; height: 32px; }
  .cat-full__name { font-size: 15px; }
  .cat-full__body { grid-template-columns: 1fr; gap: 16px; padding: 8px 16px 18px; }

  .method-grid { grid-template-columns: 1fr; }
  .pay-grid { grid-template-columns: 1fr; }
  .legal-list { grid-template-columns: 1fr; }
  .faq__q { font-size: 14px; }

  .contacts-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-card { position: static; }
  .req-table th, .req-table td { padding: 10px 12px; font-size: 13px; }
  .req-table th { width: 44%; }
}

/* ========== RESPONSIVE: MOBILE (max 480px) ========== */
@media (max-width: 480px) {
  .wrap { padding: 0 12px; }
  .hero__title { font-size: 26px; }
  .hero__cta { flex-direction: column; gap: 10px; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .section { padding: 32px 0; }
  .h2 { font-size: 20px; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-grid[data-cols="4"] { grid-template-columns: 1fr; }
  .terms-grid { grid-template-columns: 1fr; }
  .cat-full__head { grid-template-columns: 36px 1fr auto; gap: 8px; padding: 12px; }
  .cat-full__body { padding: 6px 12px 14px; }
  .req-table { display: block; overflow-x: auto; }
  .contact-card { padding: 18px; }
  .contact-card .btn { width: 100%; }
  .footer { padding: 28px 0 0; }
}

/* ========== BURGER ========== */
@media (max-width: 768px) {
  .burger { display: flex !important; }
}

/* ========== FOOTER LOGO ========== */
.footer__brand img,
.footer .brand__logo {
  width: 440px !important;
  max-width: 100% !important;
  height: auto !important;
}

/* ========== CATALOG LIST MOBILE ========== */
@media (max-width: 768px) {
  .cat-grid[data-cols="list"] .cat-card__num,
  .cat-grid[data-cols="list"] .cat-card__arrow { display: none !important; }
}
