/* ============================================================
   KIMDA3D.RU — UI Design System (white / black, minimal)
   Reference: bambu-3dlab layout, zebra.cn catalog structure
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f5f6f7;
  --bg-dark: #0d0d0f;
  --text: #111214;
  --muted: #6b7280;
  --line: #e6e7ea;
  --line-dark: #26282c;
  --accent: #111214;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(17, 18, 20, .08);
  --shadow-sm: 0 4px 14px rgba(17, 18, 20, .06);
  --font: "Inter", "Segoe UI", -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px;
  background: var(--accent); color: #fff;
  font-weight: 600; font-size: 15px;
  border: 1px solid var(--accent);
  cursor: pointer; transition: all .2s ease;
  white-space: nowrap;
}
.btn:hover { background: #000; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn--outline { background: transparent; color: var(--text); border-color: var(--line); }
.btn--outline:hover { border-color: var(--text); background: var(--bg-soft); box-shadow: none; }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--block { width: 100%; justify-content: center; }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- Header ---------- */
.topbar {
  background: var(--bg-dark); color: #cfd2d6;
  font-size: 13px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar a:hover { color: #fff; }
.topbar__contacts { display: flex; gap: 22px; align-items: center; }
.topbar__contacts svg { vertical-align: -2px; margin-right: 6px; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header .container { display: flex; align-items: center; gap: 36px; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; letter-spacing: .02em; }
.logo__mark {
  display: block;
  flex: 0 0 auto;
}
.logo__mark img {
  display: block;
  height: 40px;
  width: auto;
  object-fit: contain;
}
.logo small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; }
.nav { display: flex; gap: 6px; margin-left: 8px; flex: 1; }
.nav a {
  padding: 9px 16px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: #3c3f43;
  transition: all .15s ease;
}
.nav a:hover { background: var(--bg-soft); color: var(--text); }
.nav a.is-active { background: var(--bg-dark); color: #fff; }
.header__actions { display: flex; align-items: center; gap: 16px; }
.header__phone { font-weight: 700; font-size: 15px; }
.header__phone span { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }

/* ---------- Hero (bambu-style, light) ---------- */
.hero {
  background:
    radial-gradient(1100px 480px at 85% 10%, #eceef1 0%, transparent 60%),
    linear-gradient(180deg, #fafafb 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero .container {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px;
  align-items: center; min-height: 560px; padding-top: 48px; padding-bottom: 48px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff;
  font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: #3c3f43;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #111; }
.hero h1 {
  font-size: 62px; line-height: 1.04; letter-spacing: -.03em;
  font-weight: 800; margin: 22px 0 18px;
}
.hero h1 em { font-style: normal; color: transparent; -webkit-text-stroke: 1.6px #111214; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 520px; margin-bottom: 32px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 40px; margin-top: 48px; }
.hero__stats b { display: block; font-size: 28px; letter-spacing: -.02em; }
.hero__stats span { font-size: 13px; color: var(--muted); }
.hero__visual { position: relative; }
.hero__video-wrap {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow); padding: 28px;
}
.hero__video {
  display: block; width: 100%; aspect-ratio: 4 / 3.4;
  object-fit: cover; border-radius: var(--radius-sm);
}

/* ---------- Product image placeholder ---------- */
.ph {
  position: relative;
  background: linear-gradient(145deg, #f1f2f4, #e7e9ec);
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  overflow: hidden;
}
.ph svg { opacity: .5; }
.ph__label {
  position: absolute; bottom: 10px; left: 12px;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: #9aa0a8; font-weight: 600;
}
.about-photo { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #fff; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; }
.section__head h2 { font-size: 40px; letter-spacing: -.025em; line-height: 1.1; font-weight: 800; }
.section__head p { color: var(--muted); max-width: 460px; margin-top: 10px; }
.section--dark .section__head p { color: #9aa0a8; }
.kicker {
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); display: block; margin-bottom: 12px;
}
.link-more { font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; border-bottom: 1.5px solid var(--text); padding-bottom: 3px; }
.link-more:hover { gap: 12px; }

/* ---------- Category tiles (home) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-tile {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; min-height: 300px;
  display: flex; flex-direction: column;
  background: #fff; transition: all .2s ease; overflow: hidden;
}
.cat-tile:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #d3d5d9; }
.cat-tile--featured { grid-column: span 2; background: var(--bg-dark); color: #fff; border-color: var(--bg-dark); }
.cat-tile--featured .cat-tile__desc { color: #9aa0a8; }
.cat-tile__num { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .1em; }
.cat-tile--featured .cat-tile__num { color: #6b7280; }
.cat-tile h3 { font-size: 22px; letter-spacing: -.02em; margin: 10px 0 8px; }
.cat-tile__desc { font-size: 14px; color: var(--muted); flex: 1; }
.cat-tile__meta { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.cat-tile__count { font-size: 13px; color: var(--muted); }
.cat-tile__arrow {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center;
  transition: all .2s ease;
}
.cat-tile:hover .cat-tile__arrow { background: var(--bg-dark); border-color: var(--bg-dark); color: #fff; }
.cat-tile--featured .cat-tile__arrow { border-color: var(--line-dark); }
.cat-tile__brands { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid var(--line-dark); color: #cfd2d6;
}
.cat-tile:not(.cat-tile--featured) .chip { background: var(--bg-soft); border-color: var(--line); color: #3c3f43; }

/* ---------- Product cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prod-grid--4 { grid-template-columns: repeat(4, 1fr); }
.pcard {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; overflow: hidden;
  display: flex; flex-direction: column; height: 100%;
  transition: all .2s ease;
}
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.pcard__media {
  position: relative;
  aspect-ratio: 4 / 3;
}
.pcard__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pcard__media .ph { position: absolute; inset: 0; border-radius: 0; }
.pcard__badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--bg-dark); color: #fff;
  padding: 6px 12px; border-radius: 999px;
}
.pcard__badge--new { background: #fff; color: var(--text); border: 1px solid var(--line); }
.pcard__tech {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  font-size: 11.5px; font-weight: 700;
  background: rgba(255,255,255,.9); backdrop-filter: blur(4px);
  border: 1px solid var(--line);
  padding: 6px 12px; border-radius: 999px;
}
.pcard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.pcard__brand {
  min-height: 1.55em;
  font-size: 12.5px; line-height: 1.55; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.pcard__name {
  min-height: 3.1em;
  font-size: 20px; line-height: 1.55; font-weight: 700;
  letter-spacing: -.015em; margin: 6px 0 4px;
}
.pcard__type {
  min-height: 3.1em;
  font-size: 13.5px; line-height: 1.55; color: var(--muted); margin-bottom: 14px;
}
.pcard__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin-bottom: 14px; }
.pcard__spec { font-size: 12.5px; color: var(--muted); }
.pcard__spec b { display: block; font-size: 13.5px; color: var(--text); font-weight: 600; }
.pcard__desc { font-size: 13.5px; color: var(--muted); flex: 1; margin-bottom: 18px; }
.pcard__foot { display: flex; gap: 10px; flex-wrap: wrap; }
.pcard__foot .btn { flex: 1 1 auto; justify-content: center; padding-left: 16px; padding-right: 16px; }

/* ---------- Catalog layout (zebra-style) ---------- */
.breadcrumbs { font-size: 13.5px; color: var(--muted); padding: 22px 0 0; }
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs span { margin: 0 8px; color: #c4c8cd; }
.page-head { padding: 26px 0 34px; }
.page-head h1 { font-size: 46px; letter-spacing: -.03em; font-weight: 800; }
.page-head p { color: var(--muted); max-width: 640px; margin-top: 10px; }

.cat-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.cat-tab {
  padding: 12px 22px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff;
  font-size: 14.5px; font-weight: 600; cursor: pointer;
  transition: all .15s ease;
}
.cat-tab:hover { border-color: var(--text); }
.cat-tab.is-active { background: var(--bg-dark); color: #fff; border-color: var(--bg-dark); }
.cat-tab small { opacity: .55; font-weight: 500; margin-left: 6px; }

.catalog { display: grid; grid-template-columns: 264px 1fr; gap: 36px; align-items: start; }
.filters {
  position: sticky;
  top: 90px;
  align-self: start;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.filters__group { border-bottom: 1px solid var(--line); }
.filters__group:last-child { border-bottom: 0; }
.filters__title {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; font-size: 14px; font-weight: 700; background: #fff; border: 0; cursor: pointer;
}
.filters__title svg { transition: transform .2s; }
.filters__group.is-open .filters__title svg { transform: rotate(180deg); }
.filters__list { padding: 2px 20px 18px; display: flex; flex-direction: column; gap: 10px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #3c3f43; cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: #111214; }
.check .cnt { margin-left: auto; font-size: 12.5px; color: #b0b5bb; }
.filters__reset {
  display: block; width: 100%; padding: 14px; text-align: center;
  font-size: 13.5px; font-weight: 600; color: var(--muted);
  background: var(--bg-soft); border: 0; cursor: pointer;
}
.filters__reset:hover { color: var(--text); }

.catalog__bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.catalog__count { font-size: 14px; color: var(--muted); }
.catalog__sort { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.catalog__sort select {
  border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px;
  font-size: 14px; font-family: inherit; background: #fff;
}
.is-hidden { display: none !important; }

/* brand quick-nav */
.brand-strip { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.brand-pill {
  padding: 10px 20px; border-radius: 12px; border: 1px solid var(--line);
  font-weight: 700; font-size: 14px; letter-spacing: .02em; cursor: pointer; background: #fff;
  transition: all .15s;
}
.brand-pill:hover { border-color: var(--text); }
.brand-pill.is-active { background: var(--bg-dark); color: #fff; border-color: var(--bg-dark); }

/* ---------- Product detail ---------- */
.pd { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; padding: 40px 0 60px; }
.pd__gallery-main { aspect-ratio: 1/1; border-radius: var(--radius); }
.pd__gallery-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.pd__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.pd__thumbs .ph { aspect-ratio: 1/1; cursor: pointer; border: 1px solid var(--line); }
.pd__thumbs .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.pd__thumbs .ph:hover { border-color: var(--text); }
.pd__thumb.is-active { border-color: var(--text); border-width: 2px; }
.pd__brand { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pd__info h1 { font-size: 42px; letter-spacing: -.025em; line-height: 1.08; margin: 8px 0 10px; }
.pd__sub { color: var(--muted); font-size: 16.5px; margin-bottom: 24px; }
.pd__tags { display: flex; gap: 8px; margin-bottom: 26px; flex-wrap: wrap; }
.pd__keyspecs { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 26px; }
.pd__keyspecs table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.pd__keyspecs td { padding: 13px 18px; border-bottom: 1px solid var(--line); }
.pd__keyspecs tr:last-child td { border-bottom: 0; }
.pd__keyspecs td:first-child { color: var(--muted); width: 46%; }
.pd__keyspecs td:last-child { font-weight: 600; }
.pd__cta { display: flex; gap: 12px; margin-bottom: 14px; }
.pd__messengers { display: flex; gap: 10px; }
.mbtn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600;
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px;
}
.mbtn:hover { border-color: var(--text); }
.pd__note { font-size: 13px; color: var(--muted); margin-top: 16px; }

.tabs { border-bottom: 1px solid var(--line); display: flex; gap: 4px; overflow-x: auto; }
.tabs button {
  padding: 16px 22px; font-size: 15px; font-weight: 600; color: var(--muted);
  background: none; border: 0; border-bottom: 2.5px solid transparent; cursor: pointer;
  white-space: nowrap; font-family: inherit;
}
.tabs button.is-active { color: var(--text); border-bottom-color: var(--text); }
.tabpane { padding: 40px 0; display: none; }
.tabpane.is-active { display: block; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th {
  text-align: left; padding: 14px 18px; background: var(--bg-soft);
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.spec-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.spec-table td:first-child { color: var(--muted); width: 42%; }
.spec-table td:last-child { font-weight: 600; }

.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.adv-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.adv-card__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--bg-dark); color: #fff; display: grid; place-items: center; margin-bottom: 16px; }
.adv-card h4 { font-size: 17px; margin-bottom: 8px; }
.adv-card p { font-size: 14px; color: var(--muted); }

.docs-list { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.doc-row {
  display: flex; align-items: center; gap: 16px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 20px;
}
.doc-row:hover { border-color: var(--text); }
.doc-row__icon { width: 40px; height: 40px; border-radius: 8px; background: var(--bg-soft); display: grid; place-items: center; font-size: 11px; font-weight: 800; color: var(--muted); }
.doc-row b { font-size: 14.5px; display: block; }
.doc-row span { font-size: 12.5px; color: var(--muted); }
.doc-row .dl { margin-left: auto; }

.video-box { border-radius: var(--radius); aspect-ratio: 16/9; max-width: 860px; }

/* ---------- Solutions ---------- */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sol-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; min-height: 240px; display: flex; flex-direction: column; background: #fff; transition: all .2s; }
.sol-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.sol-card__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--bg-soft); display: grid; place-items: center; margin-bottom: 20px; }
.sol-card h3 { font-size: 20px; letter-spacing: -.015em; margin-bottom: 10px; }
.sol-card p { font-size: 14.5px; color: var(--muted); flex: 1; }
.sol-card ul { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.sol-card ul li { font-size: 13.5px; color: #3c3f43; padding-left: 18px; position: relative; }
.sol-card ul li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 2px; background: var(--text); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-grid h2 { font-size: 38px; letter-spacing: -.025em; line-height: 1.12; margin-bottom: 20px; }
.about-grid p { color: var(--muted); margin-bottom: 16px; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.about-stat { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; }
.about-stat b { display: block; font-size: 34px; letter-spacing: -.02em; }
.about-stat span { font-size: 13.5px; color: var(--muted); }

/* Soft section modifier: inner gutters + rounded card (used on /about/) */
.section--soft--card {
  border-radius: 24px;
  padding-inline: clamp(24px, 5vw, 64px);
}

/* Brand marquee: two infinite rows, scrolling in opposite directions */
.brand-marquee {
  display: flex;
  flex-direction: column;
  gap: 14px;
  /* bleed out past section gutters so brand cells touch the card edges */
  margin-inline: calc(clamp(24px, 5vw, 64px) * -1);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}
.brand-marquee__row {
  overflow: hidden;
  position: relative;
}
.brand-marquee__track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: brand-scroll-left 36s linear infinite;
  will-change: transform;
}
.brand-marquee__row--right .brand-marquee__track {
  animation-name: brand-scroll-right;
}
.brand-marquee__row:hover .brand-marquee__track {
  animation-play-state: paused;
}
@keyframes brand-scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes brand-scroll-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-marquee__track { animation: none; }
}

/* Brand cell: keep existing look, force fixed width so the marquee rows are even */
.brand-cell {
  flex: 0 0 auto;
  width: 180px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  height: 84px; display: grid; place-items: center;
  font-weight: 800; font-size: 15px; letter-spacing: .02em; color: #3c3f43;
  background: #fff; transition: all .15s;
}
.brand-cell:hover { border-color: var(--text); }
@media (max-width: 640px) {
  .brand-cell { width: 148px; height: 72px; font-size: 14px; }
}
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team-grid .ph { aspect-ratio: 16/10; }

/* ---------- Contacts ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 52px; align-items: start; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.contact-row { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.contact-row:last-child { border-bottom: 0; }
.contact-row__icon { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--bg-dark); color: #fff; display: grid; place-items: center; }
.contact-row b { display: block; font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 3px; }
.contact-row a, .contact-row span.val { font-size: 16.5px; font-weight: 600; }
.contact-row a:hover { text-decoration: underline; }

.form { border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; background: #fff; }
.form h3 { font-size: 24px; letter-spacing: -.02em; margin-bottom: 6px; }
.form > p { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; }
.field label i { color: #c0392b; font-style: normal; }
.field input, .field select, .field textarea {
  border: 1px solid var(--line); border-radius: 10px;
  padding: 13px 15px; font-size: 14.5px; font-family: inherit;
  background: #fff; transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--text); }
.field textarea { min-height: 110px; resize: vertical; }
.form__agree { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted); margin: 18px 0; }
.form__agree input { margin-top: 2px; accent-color: #111; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--bg-dark); color: #fff; border-radius: 24px; padding: 64px; display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.cta-band h2 { font-size: 38px; letter-spacing: -.025em; line-height: 1.12; }
.cta-band p { color: #9aa0a8; margin-top: 12px; max-width: 520px; }
.cta-band .btn { background: #fff; color: #111; border-color: #fff; }
.cta-band .btn--outline { background: transparent; color: #fff; border-color: #3a3d42; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-dark); color: #9aa0a8; padding: 64px 0 32px; margin-top: 96px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line-dark); }
.footer h5 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; }
.footer a:hover { color: #fff; }
.footer__brand p { font-size: 14px; margin: 16px 0 20px; max-width: 300px; }
.footer__bottom { display: flex; justify-content: space-between; padding-top: 26px; font-size: 13px; color: #6b7280; }
.footer .logo { color: #fff; }


/* ---------- Design-doc annotations (components.html only) ---------- */
.doc-note { background: #fffbe8; border: 1px dashed #d8c96a; border-radius: 10px; padding: 14px 18px; font-size: 13.5px; color: #6b5d1a; margin: 18px 0 34px; }
.specimen { border: 1.5px dashed #c8ccd2; border-radius: 18px; padding: 34px; margin-bottom: 44px; background: #fcfcfd; }
.specimen__label { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: #9aa0a8; text-transform: uppercase; margin-bottom: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero .container { grid-template-columns: 1fr; min-height: auto; }
  .hero h1 { font-size: 46px; }
  .cat-grid, .prod-grid, .prod-grid--4, .sol-grid, .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog { grid-template-columns: 1fr; }
  .filters { position: static; }
  .pd, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .brand-marquee { gap: 10px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 44px; }
  .nav { display: none; }
}
@media (max-width: 640px) {
  .cat-grid, .prod-grid, .prod-grid--4, .sol-grid, .adv-grid, .form__grid, .team-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .page-head h1 { font-size: 32px; }
  .cat-tile--featured { grid-column: span 1; }
}
