/* =========================================================
   KST BETON 2022 — extended components for inner pages
   Catalog · About · Cases · Contact · Animations
   Built on top of kst2/styles.css. Same tokens, no new palette.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --stock-in: #2F7D4F;       /* приглушённый зелёный, не ядовитый */
  --stock-in-bg: #E6F1EA;
  --stock-order: #6B7280;
  --stock-order-bg: #EFEFF1;
}

/* ────────── Page hero (компактный) ────────── */
.page-hero {
  position: relative;
  background: var(--charcoal);
  color: #fff;
  overflow: hidden;
  padding: clamp(40px, 6vw, 84px) 0 clamp(40px, 6vw, 72px);
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background: center/cover no-repeat;
  opacity: 0.25;
  filter: grayscale(0.4) contrast(1.05);
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15,17,20,.92) 0%, rgba(15,17,20,.7) 60%, rgba(15,17,20,.55) 100%);
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero__eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.page-hero__eyebrow::before {
  content: ''; width: 28px; height: 2px; background: var(--orange);
}
.page-hero__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 18px 0 0;
  max-width: 22ch;
  text-wrap: balance;
}
.page-hero__lead {
  color: rgba(255,255,255,.75);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.55;
  max-width: 64ch;
  margin: 18px 0 0;
}
.page-hero__meta {
  margin: 28px 0 0;
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
}
.page-hero__meta-cell {
  font-family: var(--font-head);
  line-height: 1.15;
}
.page-hero__meta-cell strong {
  display: block;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.page-hero__meta-cell span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-top: 6px;
}

/* ────────── Breadcrumbs ────────── */
.crumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,.65);
  margin: 0 0 24px;
  font-family: var(--font-head);
  font-weight: 500;
  flex-wrap: wrap;
}
.crumbs a {
  color: rgba(255,255,255,.65);
  transition: color .15s;
}
.crumbs a:hover { color: var(--orange); }
.crumbs i { width: 12px; height: 12px; color: rgba(255,255,255,.35); }
.crumbs span[aria-current="page"] { color: #fff; }

/* light variant when on white page bg */
.crumbs--light { color: var(--steel); }
.crumbs--light a { color: var(--steel); }
.crumbs--light i { color: var(--border-strong); }
.crumbs--light span[aria-current="page"] { color: var(--charcoal); }

/* ────────── Catalog layout ────────── */
.catalog-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: var(--section-y);
}
@media (max-width: 1024px) {
  .catalog-layout { grid-template-columns: 1fr; gap: 24px; }
}

/* ─── Sidebar ─── */
.catalog-side {
  position: sticky;
  top: 96px;
  align-self: start;
}
@media (max-width: 1024px) { .catalog-side { position: static; } }

.catalog-side__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 14px;
  padding: 0 12px;
}
.catalog-tree {
  list-style: none;
  margin: 0;
  padding: 0;
  border-radius: var(--r-xl);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  overflow: hidden;
}
.catalog-tree > li + li {
  border-top: 1px solid var(--border);
}
.catalog-tree__cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--charcoal);
  background: transparent;
  border: 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.catalog-tree__cat:hover,
.catalog-tree__cat.is-active {
  background: #fff;
  color: var(--orange);
}
.catalog-tree__cat.is-active {
  box-shadow: inset 3px 0 0 var(--orange);
}
.catalog-tree__count {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--steel);
  background: rgba(107,114,128,.12);
  padding: 2px 8px;
  border-radius: 99px;
  letter-spacing: 0.02em;
}
.catalog-tree__cat.is-active .catalog-tree__count {
  background: var(--orange-tint);
  color: var(--orange-deep);
}
.catalog-tree__sub {
  list-style: none;
  margin: 0;
  padding: 0 16px 12px 16px;
  display: none;
}
.catalog-tree li.is-open .catalog-tree__sub { display: block; }
.catalog-tree__sub a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 12px;
  margin: 2px -8px;
  font-size: 13px;
  color: var(--graphite);
  border-radius: var(--r-sm);
  transition: background .15s, color .15s;
}
.catalog-tree__sub a:hover { background: rgba(232,93,31,0.08); color: var(--orange); }
.catalog-tree__sub a.is-active { background: var(--orange-tint); color: var(--orange-deep); font-weight: 600; }
.catalog-tree__sub a span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--steel);
}

.catalog-side__help {
  margin-top: 16px;
  padding: 18px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--charcoal);
  color: #fff;
}
.catalog-side__help i { color: var(--orange); width: 20px; height: 20px; }
.catalog-side__help h4 {
  font-family: var(--font-head); font-weight: 800;
  font-size: 14px; margin: 8px 0 6px;
}
.catalog-side__help p {
  margin: 0; font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.5;
}
.catalog-side__help a {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px;
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  color: var(--orange);
}
.catalog-side__help a i { width: 14px; height: 14px; }

/* ─── Toolbar ─── */
.catalog-toolbar {
  position: sticky;
  top: 84px;
  z-index: 20;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  margin-bottom: 24px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}
.catalog-chips {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.catalog-chip {
  appearance: none;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 99px;
  padding: 8px 14px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  color: var(--graphite);
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
  display: inline-flex; align-items: center; gap: 6px;
}
.catalog-chip i { width: 13px; height: 13px; }
.catalog-chip:hover { border-color: var(--charcoal); color: var(--charcoal); }
.catalog-chip.is-active {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: #fff;
}
.catalog-chip__count {
  font-family: var(--mono);
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 99px;
  background: rgba(107,114,128,.15);
  color: var(--steel);
  margin-left: 2px;
}
.catalog-chip.is-active .catalog-chip__count { background: rgba(255,255,255,.15); color: #fff; }

.catalog-sort {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--steel);
}
.catalog-sort select {
  appearance: none;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  height: 36px;
  padding: 0 30px 0 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  color: var(--charcoal);
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231A1D21' stroke-width='2.2'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

/* ─── Grid + cards ─── */
.catalog-cat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 24px 0 14px;
  border-bottom: 1px solid var(--border);
  margin: 28px 0 20px;
}
.catalog-cat-head:first-of-type { margin-top: 0; }
.catalog-cat-head h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.015em;
  color: var(--charcoal);
  margin: 0;
}
.catalog-cat-head__meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--steel);
  letter-spacing: 0.02em;
}
.catalog-cat-head__meta strong { color: var(--charcoal); font-weight: 600; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .15s, box-shadow .2s, transform .15s;
}
.product-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.product-card__strip {
  height: 8px;
  background: var(--orange);
}
.product-card[data-cat="fbs"]      .product-card__strip { background: linear-gradient(90deg, #1A1D21 0%, #3A3F46 100%); }
.product-card[data-cat="ks"]       .product-card__strip { background: linear-gradient(90deg, #3A3F46 0%, #6B7280 100%); }
.product-card[data-cat="pdn"]      .product-card__strip { background: linear-gradient(90deg, #6B7280 0%, #1A1D21 100%); }
.product-card[data-cat="lintels"]  .product-card__strip { background: linear-gradient(90deg, #E85D1F 0%, #A53F0E 100%); }
.product-card[data-cat="trays"]    .product-card__strip { background: linear-gradient(90deg, #A53F0E 0%, #1A1D21 100%); }

.product-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px 8px;
}
.product-card__code {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 13px;
  color: var(--charcoal);
  letter-spacing: 0.02em;
  background: var(--bg-soft);
  padding: 4px 8px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: var(--r-sm);
  white-space: nowrap;
}
.badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.badge--in { background: var(--stock-in-bg); color: var(--stock-in); }
.badge--in::before { background: var(--stock-in); }
.badge--order { background: var(--stock-order-bg); color: var(--stock-order); }
.badge--order::before { background: var(--stock-order); }

.product-card__series {
  padding: 0 18px;
  margin: 4px 0 14px;
  font-size: 13px;
  color: var(--steel);
  line-height: 1.4;
}
.product-card__title {
  padding: 0 18px;
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  color: var(--charcoal);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.product-spec-grid {
  margin: 0;
  padding: 14px 18px;
  border-top: 1px dashed var(--border);
  border-bottom: 1px dashed var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 8px;
  column-gap: 16px;
  font-size: 12px;
}
.product-spec-grid dt {
  color: var(--steel);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 600;
  font-family: var(--font-head);
}
.product-spec-grid dd {
  margin: 0;
  font-family: var(--mono);
  font-weight: 500;
  color: var(--charcoal);
  font-size: 12px;
  letter-spacing: 0.01em;
}
.product-spec-grid .product-spec-grid__row {
  display: contents;
}

.product-card__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 16px 18px 18px;
  margin-top: auto;
  gap: 12px;
}
.product-card__price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  color: var(--charcoal);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  line-height: 1;
}
.product-card__price span {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--steel);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 4px;
}
.product-card__price--ask {
  font-size: 14px;
  font-weight: 700;
  color: var(--steel);
}
.btn-order {
  appearance: none;
  border: 1px solid var(--orange);
  background: var(--orange);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--r-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .15s, border-color .15s;
}
.btn-order:hover { background: var(--orange-hover); border-color: var(--orange-hover); }
.btn-order--ghost { background: transparent; color: var(--charcoal); border-color: var(--border-strong); }
.btn-order--ghost:hover { background: var(--bg-soft); border-color: var(--charcoal); }
.btn-order i { width: 14px; height: 14px; }

/* Empty state */
.catalog-empty {
  text-align: center;
  padding: 80px 24px;
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--r-xl);
  background: var(--bg-soft);
  color: var(--steel);
}
.catalog-empty i {
  width: 56px; height: 56px;
  color: var(--border-strong);
  margin-bottom: 16px;
  stroke-width: 1.5;
}
.catalog-empty h3 {
  font-family: var(--font-head); font-weight: 800; font-size: 18px;
  color: var(--charcoal); margin: 0 0 6px;
}
.catalog-empty p { margin: 0; font-size: 14px; max-width: 36ch; margin: 0 auto; }

/* Mobile filter toggle */
.catalog-mobile-tools {
  display: none;
  gap: 8px;
  margin-bottom: 16px;
}
.catalog-mobile-tools .btn-order { flex: 1; height: 42px; justify-content: center; }
@media (max-width: 1024px) { .catalog-mobile-tools { display: flex; } }

/* ────────── Modal (order quick form) ────────── */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(15,17,20,0.68);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
  opacity: 0;
  transition: opacity .2s;
}
.modal.is-open { display: flex; opacity: 1; }
.modal__panel {
  background: #fff;
  border-radius: var(--r-2xl);
  width: 100%;
  max-width: 520px;
  padding: 32px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.4);
  position: relative;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--graphite);
}
.modal__close:hover { background: var(--border); color: var(--charcoal); }
.modal__close i { width: 18px; height: 18px; }
.modal__eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}
.modal__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 24px;
  color: var(--charcoal);
  margin: 8px 0 6px;
  letter-spacing: -0.015em;
}
.modal__sub {
  font-size: 14px; color: var(--steel); margin: 0 0 22px;
}
.modal__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange-tint);
  color: var(--orange-deep);
  font-family: var(--mono);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  margin-bottom: 18px;
}

/* ────────── About page ────────── */
.about-statband {
  background: var(--charcoal);
  border-top: 1px solid rgba(255,255,255,.08);
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  color: #fff;
}
@media (max-width: 880px) { .about-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.about-stat {
  padding: clamp(28px, 3vw, 40px) 28px;
  border-right: 1px solid rgba(255,255,255,.08);
  position: relative;
}
.about-stat:nth-child(4n) { border-right: 0; }
@media (max-width: 880px) {
  .about-stat { border-bottom: 1px solid rgba(255,255,255,.08); }
  .about-stat:nth-child(2n) { border-right: 0; }
  .about-stat:nth-child(n+3) { border-bottom: 0; }
}
.about-stat__icon {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: rgba(232,93,31,.14);
  display: grid; place-items: center;
  margin-bottom: 16px;
  color: var(--orange);
}
.about-stat__icon i { width: 18px; height: 18px; }
.about-stat__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(34px, 3.6vw, 48px);
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.about-stat__num em {
  font-style: normal;
  font-size: 0.7em;
  color: var(--orange);
  align-self: center;
  line-height: 1;
}
.about-stat__lbl {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin-top: 12px;
  line-height: 1.4;
}

.about-who {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) { .about-who { grid-template-columns: 1fr; gap: 32px; } }

.factory-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 200px 160px;
  gap: 10px;
}
.factory-collage img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--r-md);
  display: block;
}
.factory-collage > :nth-child(1) { grid-row: 1 / span 2; height: 370px; }
@media (max-width: 640px) {
  .factory-collage { grid-template-rows: 220px 140px; }
  .factory-collage > :nth-child(1) { grid-row: 1; height: 220px; }
}

.about-who__copy h3 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(26px, 3vw, 36px);
  margin: 16px 0 0; letter-spacing: -0.02em;
  color: var(--charcoal); line-height: 1.1;
}
.about-who__copy p {
  font-size: 16px; line-height: 1.65; color: var(--graphite);
  margin: 18px 0 0;
}
.about-who__chips {
  display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px;
}

/* ────────── Timeline ────────── */
.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  right: 24px;
  top: 24px;
  height: 2px;
  background: linear-gradient(90deg,
    var(--orange) 0%,
    var(--orange) 100%);
  opacity: .25;
  border-radius: 2px;
}
.timeline-step {
  position: relative;
  padding-top: 64px;
}
.timeline-step__dot {
  position: absolute;
  top: 12px;
  left: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--orange);
  box-shadow: 0 0 0 6px rgba(232,93,31,.12);
}
.timeline-step__year {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 28px;
  color: var(--orange);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.timeline-step__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  color: var(--charcoal);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.timeline-step__desc {
  font-size: 13px;
  color: var(--steel);
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 1024px) {
  .timeline { grid-template-columns: 1fr; gap: 0; padding-left: 40px; }
  .timeline::before {
    left: 11px; right: auto; top: 0; bottom: 0;
    width: 2px; height: auto;
  }
  .timeline-step { padding: 12px 0 32px 0; }
  .timeline-step__dot { top: 16px; left: -40px; }
}

/* ────────── Team + Certs ────────── */
.about-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 48px;
  align-items: start;
}
@media (max-width: 1024px) { .about-grid-2 { grid-template-columns: 1fr; } }

.team-card {
  background: var(--bg-soft);
  border-radius: var(--r-xl);
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--border);
  transition: border-color .15s, box-shadow .15s;
}
.team-card + .team-card { margin-top: 12px; }
.team-card:hover { border-color: var(--border-strong); }
.team-card__photo {
  width: 76px; height: 76px;
  border-radius: 50%;
  background-color: var(--graphite);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.team-card__photo::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 3px solid var(--orange);
  opacity: 0;
  transform: scale(1.05);
  transition: opacity .2s, transform .2s;
}
.team-card:hover .team-card__photo::after { opacity: 1; transform: scale(1); }
.team-card__name {
  font-family: var(--font-head); font-weight: 800;
  font-size: 16px; color: var(--charcoal); margin: 0;
}
.team-card__role {
  font-family: var(--font-head); font-weight: 600;
  font-size: 12px; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--orange);
  margin: 4px 0 0;
}
.team-card__bio {
  font-size: 13px; color: var(--steel);
  margin: 8px 0 0; line-height: 1.5;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 640px) { .certs-grid { grid-template-columns: repeat(2, 1fr); } }
.cert-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, transform .15s;
  position: relative;
}
.cert-card:hover { border-color: var(--orange); transform: translateY(-2px); }
.cert-card__icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--orange-tint);
  border-radius: var(--r-sm);
  color: var(--orange-deep);
}
.cert-card__icon i { width: 18px; height: 18px; }
.cert-card__name {
  font-family: var(--font-head); font-weight: 700;
  font-size: 13px; color: var(--charcoal); margin: 0;
  line-height: 1.3;
}
.cert-card__meta {
  font-family: var(--mono); font-size: 11px;
  color: var(--steel); letter-spacing: 0.02em;
  margin-top: auto;
}
.cert-card__type {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--mono); font-size: 10px;
  color: var(--steel);
  background: var(--bg-soft);
  border-radius: var(--r-sm);
  padding: 2px 6px;
  letter-spacing: 0.04em;
}

/* ────────── Cases (objects) ────────── */
.cases-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}
.case-card-2 {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  cursor: pointer;
  transition: border-color .15s, box-shadow .2s, transform .15s;
  display: flex;
  flex-direction: column;
}
.case-card-2:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.case-card-2__media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #2a2e34 0%, #181a1d 100%);
  position: relative;
  overflow: hidden;
}
.case-card-2__media-img {
  position: absolute; inset: 0;
  background: center/cover no-repeat;
}
.case-card-2__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.18);
  font-family: var(--mono);
  font-size: 11px;
  text-align: center;
  letter-spacing: 0.06em;
}
.case-card-2__placeholder i {
  width: 56px; height: 56px;
  stroke-width: 1.2;
  margin-bottom: 12px;
}
.case-card-2__tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,.94);
  color: var(--charcoal);
  font-family: var(--font-head);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--r-sm);
}
.case-card-2__body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.case-card-2__loc {
  font-size: 12px;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.case-card-2__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  color: var(--charcoal);
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.2;
}
.case-card-2__foot {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.case-card-2__vol {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.case-card-2__vol-lbl {
  font-size: 11px;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.case-card-2__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  color: var(--charcoal);
  transition: color .15s;
}
.case-card-2:hover .case-card-2__cta { color: var(--orange); }
.case-card-2__cta i { width: 14px; height: 14px; transition: transform .2s; }
.case-card-2:hover .case-card-2__cta i { transform: translateX(3px); }

/* Case detail modal */
.case-detail {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 32px;
  width: 100%;
  max-width: 760px;
  position: relative;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
.case-detail__hero {
  height: 220px;
  background: var(--charcoal) center/cover no-repeat;
  border-radius: var(--r-md);
  margin-bottom: 24px;
  position: relative;
}
.case-detail__hero .case-card-2__placeholder { background: transparent; }
.case-detail h3 {
  font-family: var(--font-head); font-weight: 800;
  font-size: 28px; color: var(--charcoal);
  margin: 0 0 10px; letter-spacing: -0.02em; line-height: 1.1;
}
.case-detail__loc {
  font-size: 13px; color: var(--steel);
  text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 600; margin-bottom: 24px;
}
.case-detail__specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  margin: 0 0 22px;
}
@media (max-width: 640px) { .case-detail__specs { grid-template-columns: 1fr 1fr; } }
.case-detail__spec dt {
  font-family: var(--font-head); font-weight: 600;
  font-size: 10px; color: var(--steel);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.case-detail__spec dd {
  margin: 0;
  font-family: var(--font-head); font-weight: 800;
  font-size: 18px; color: var(--charcoal);
  font-variant-numeric: tabular-nums;
}
.case-detail__spec dd small {
  font-size: 11px; font-weight: 600; color: var(--steel);
  margin-left: 3px;
}
.case-detail__desc p {
  font-size: 15px; line-height: 1.65;
  color: var(--graphite);
  margin: 0 0 12px;
}

/* ────────── Contact page ────────── */
.contact-channels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1024px) { .contact-channels { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .contact-channels { grid-template-columns: 1fr; } }
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, transform .15s, box-shadow .15s;
  position: relative;
  overflow: hidden;
}
.contact-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.contact-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle at top right, rgba(232,93,31,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.contact-card__icon {
  width: 48px; height: 48px;
  background: var(--orange-tint);
  border-radius: var(--r-md);
  display: grid; place-items: center;
  color: var(--orange-deep);
}
.contact-card__icon i { width: 22px; height: 22px; }
.contact-card__lbl {
  font-family: var(--font-head); font-weight: 600;
  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--steel);
}
.contact-card__main {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(15px, 1.6vw, 19px);
  color: var(--charcoal);
  letter-spacing: -0.005em;
  word-break: break-word;
}
.contact-card__sub {
  font-size: 12px; color: var(--steel);
  margin-top: auto;
}

.requisites-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  overflow: hidden;
}
.requisites-table th,
.requisites-table td {
  padding: 14px 18px;
  text-align: left;
  font-size: 14px;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.requisites-table th {
  width: 38%;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  background: var(--bg-soft);
  border-right: 1px solid var(--border);
}
.requisites-table td {
  font-family: var(--mono);
  font-weight: 500;
  color: var(--charcoal);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.requisites-table tr + tr th,
.requisites-table tr + tr td { border-top: 1px solid var(--border); }

.contact-map-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
}
@media (max-width: 1024px) { .contact-map-wrap { grid-template-columns: 1fr; } }
.contact-map {
  position: relative;
  height: 460px;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}
.contact-map iframe {
  width: 100%; height: 100%; border: 0; display: block;
}
.contact-map__overlay {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(26,29,33,.92);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.contact-map__overlay i { color: var(--orange); width: 14px; height: 14px; }

.contact-info {
  background: var(--charcoal);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-info h3 {
  font-family: var(--font-head); font-weight: 800;
  font-size: 22px; margin: 0; letter-spacing: -0.01em;
}
.contact-info__row {
  display: flex; gap: 14px; align-items: flex-start;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.contact-info__row:first-of-type { padding-top: 0; border-top: 0; }
.contact-info__row i {
  width: 20px; height: 20px;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-info__row strong {
  display: block;
  font-family: var(--font-head); font-weight: 700;
  font-size: 15px; color: #fff;
  margin-bottom: 4px;
}
.contact-info__row span {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  line-height: 1.5;
}

/* ────────── Animations comparison page ────────── */
.anim-compare {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 1024px) { .anim-compare { grid-template-columns: 1fr; } }
.anim-col {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.anim-col__head {
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.anim-col__head h3 {
  font-family: var(--font-head); font-weight: 800;
  font-size: 20px; color: var(--charcoal);
  letter-spacing: -0.01em; margin: 0 0 4px;
}
.anim-col__head p {
  margin: 0; font-size: 13px; color: var(--steel);
}
.anim-col__head .badge { margin-top: 10px; }
.anim-demo {
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
@media (max-width: 640px) { .anim-demo { grid-template-columns: 1fr; } }
.anim-tile {
  background: var(--charcoal);
  border-radius: var(--r-md);
  aspect-ratio: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.anim-tile__lbl {
  position: absolute;
  bottom: 14px; left: 14px; right: 14px;
  font-family: var(--font-head); font-weight: 700;
  font-size: 12px;
  color: rgba(255,255,255,.85);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 2;
}
.anim-tile__lbl small {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,.45);
  margin-top: 4px;
  text-transform: none;
}
.anim-tile__stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.anim-tile__stage svg, .anim-tile__stage canvas, .anim-tile__stage model-viewer {
  width: 100%; height: 100%;
  --poster-color: transparent;
  background: transparent;
}

.anim-metrics {
  border-top: 1px solid var(--border);
  padding: 18px 24px 22px;
  background: #fff;
}
.anim-metrics dl {
  margin: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 18px;
  font-size: 13px;
}
.anim-metrics dt {
  font-family: var(--font-head); font-weight: 600;
  color: var(--steel);
  letter-spacing: 0.02em;
}
.anim-metrics dd {
  margin: 0;
  font-family: var(--mono);
  color: var(--charcoal);
  font-weight: 500;
}
.anim-metrics dd em {
  font-style: normal;
  color: var(--orange);
  font-weight: 600;
}

.recommendation {
  margin-top: 36px;
  background: var(--charcoal);
  border-radius: var(--r-xl);
  color: #fff;
  padding: 32px 36px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 640px) { .recommendation { grid-template-columns: 1fr; } }
.recommendation__icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: var(--orange);
  display: grid; place-items: center;
}
.recommendation__icon i { width: 28px; height: 28px; color: #fff; }
.recommendation h3 {
  font-family: var(--font-head); font-weight: 800;
  font-size: 22px; margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.recommendation p {
  color: rgba(255,255,255,.75);
  line-height: 1.6;
  font-size: 15px;
  margin: 0 0 8px;
}
.recommendation strong { color: var(--orange); font-weight: 700; }

/* ────────── Misc utilities for inner pages ────────── */
.section-narrow { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }
.divider {
  height: 1px; background: var(--border); margin: 32px 0;
}
.note-banner {
  background: var(--orange-tint);
  border-left: 3px solid var(--orange);
  border-radius: var(--r-sm);
  padding: 14px 18px;
  font-size: 13px;
  color: var(--orange-deep);
  font-family: var(--font-head);
  font-weight: 500;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.note-banner i { color: var(--orange); width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles (a11y) — все интерактивные */
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}
.btn:focus-visible, .btn-order:focus-visible,
.catalog-chip:focus-visible {
  outline-offset: 3px;
}

/* ────────── Price page (бетон и раствор) ────────── */
.price-block { margin-top: 8px; }
.price-block + .price-block { margin-top: clamp(40px, 6vw, 72px); }
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.price-table th,
.price-table td {
  padding: 15px 18px;
  text-align: left;
  font-size: 14px;
  vertical-align: middle;
}
.price-table thead th {
  background: var(--bg-soft);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
}
.price-table tbody tr { border-top: 1px solid var(--border); transition: background .15s; }
.price-table tbody tr:hover { background: var(--orange-tint); }
.price-table .pt-mark {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--charcoal);
  font-size: 16px;
  letter-spacing: -0.01em;
}
.price-table .pt-class {
  font-family: var(--mono);
  color: var(--steel);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.price-table .pt-use { color: var(--graphite); font-size: 13px; line-height: 1.4; }
.price-table .pt-price {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--charcoal);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: right;
  font-size: 16px;
}
.price-table .pt-price small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.price-table thead th:last-child, .price-table td.pt-price { text-align: right; }
@media (max-width: 720px) {
  .price-table th:nth-child(3), .price-table td:nth-child(3) { display: none; }
  .price-table th, .price-table td { padding: 13px 12px; }
}
.price-cta {
  margin-top: 36px;
  background: var(--charcoal);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
@media (max-width: 720px) { .price-cta { grid-template-columns: 1fr; } }
.price-cta h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.price-cta p { margin: 0; color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.55; }
.price-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
