/* ============================================================
   Опалубка Алматы by Arystan — дизайн-система v3
   Палитра: инженерный синий (доверие) + янтарный (стройка/CTA)
   Шрифт: Manrope (переменный, локальные woff2)
   ============================================================ */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-cyr-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-lat-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Mulish — для казахской версии: в Manrope нет казахских глифов (қ, ғ, ұ, ә...).
   Подгружается только на страницах kz/ (html[lang="kk"]). */
@font-face {
  font-family: "Mulish";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("fonts/mulish-cyr-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Mulish";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("fonts/mulish-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Mulish";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("fonts/mulish-lat-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Mulish";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("fonts/mulish-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* цвет */
  --navy-950: #0b1d2c;
  --navy-900: #10283c;
  --navy-800: #16334c;
  --navy-700: #1f4364;
  --ink: #17293b;            /* основной текст */
  --muted: #54687c;          /* вторичный текст */
  --faint: #8598ab;          /* подписи */
  --bg: #ffffff;
  --bg-soft: #f3f6f9;        /* фон секций */
  --line: #e1e8ef;
  --amber: #ffb020;          /* акцент: кнопки, цифры */
  --amber-hover: #ffc14a;
  --amber-ink: #a06b00;      /* янтарный для текста на белом (читаемый) */
  --amber-soft: #fff3d9;     /* подложки иконок */
  --on-navy-amber: #ffc94d;  /* янтарный на тёмном */
  --wa: #22c15e;
  --wa-hover: #1daf54;

  /* форма */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(16, 40, 60, 0.10);
  --shadow-lg: 0 18px 50px rgba(16, 40, 60, 0.16);
  --container: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* якорные секции не прячутся под липкой шапкой */
[id] { scroll-margin-top: 90px; }

::selection { background: var(--amber); color: var(--navy-950); }

body {
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

/* казахская версия — Mulish (полное покрытие казахской кириллицы),
   лого остаётся в Manrope для единства бренда (в нём нет казахских букв) */
html[lang="kk"] body { font-family: "Mulish", "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; }
html[lang="kk"] .logo { font-family: "Manrope", "Mulish", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; }

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: 4px;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { line-height: 1.18; font-weight: 800; letter-spacing: -0.015em; }
h1 { font-size: clamp(1.95rem, 4.6vw, 3.25rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
h3 { font-size: 1.14rem; letter-spacing: 0; }

.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }

/* Заголовок секции: надзаголовок + h2 + подводка */
.sec-head { margin-bottom: 44px; max-width: 720px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-ink);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--amber);
}
.sec-head p { color: var(--muted); margin-top: 12px; font-size: 1.03rem; }

/* появление при скролле */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============ Шапка ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s;
}
.header.scrolled { box-shadow: 0 4px 20px rgba(16, 40, 60, 0.08); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}

.logo { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.22rem; letter-spacing: -0.01em; }
.logo__mark {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-950));
  color: var(--on-navy-amber);
  display: grid; place-items: center;
  font-size: 1rem; font-weight: 800;
  box-shadow: inset 0 -2px 0 var(--amber);
}
.logo span em { color: var(--amber-ink); font-style: normal; font-weight: 800; }

.logo__text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.12; font-size: 1.08rem; }
.logo__text small {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 2px;
}
.footer .logo__text small { color: #8ba1b5; }

.nav { display: flex; gap: 4px; font-weight: 600; font-size: 0.96rem; }
.nav a {
  color: var(--muted);
  padding: 9px 14px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
@media (min-width: 721px) and (max-width: 1280px) {
  .nav { gap: 0; font-size: 0.9rem; }
  .nav a { padding: 8px 9px; }
  .header__cta { gap: 10px; }
  .header__phone { font-size: 0.94rem; }
  .header__wa { padding: 9px 14px; font-size: 0.87rem; }
}
.nav a:hover { color: var(--ink); background: var(--bg-soft); }
.nav a.active { color: var(--navy-900); background: var(--amber-soft); }

.header__cta { display: flex; align-items: center; gap: 16px; }
.lang {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 46px; height: 36px; padding: 0 10px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-weight: 800; font-size: 0.76rem; letter-spacing: 0.06em;
  color: var(--muted);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.lang:hover { border-color: var(--amber); color: var(--ink); background: var(--amber-soft); }
.header__phone { font-weight: 800; font-size: 1.02rem; white-space: nowrap; text-align: right; transition: color 0.15s; }
.header__phone:hover { color: var(--amber-ink); }
.header__phone small { display: block; font-weight: 500; color: var(--faint); font-size: 0.72rem; }
.header__wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--wa); color: #fff;
  font-weight: 700; font-size: 0.92rem;
  padding: 10px 18px; border-radius: 999px;
  transition: background 0.15s, transform 0.12s;
}
.header__wa:hover { background: var(--wa-hover); transform: translateY(-1px); }
.header__wa svg { width: 18px; height: 18px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Кнопки ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px;
  padding: 13px 28px;
  border-radius: 12px;
  font-weight: 700; font-size: 1rem;
  border: none; cursor: pointer;
  transition: transform 0.12s, box-shadow 0.15s, background 0.15s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 8px 22px rgba(34, 193, 94, 0.32); }
.btn--wa:hover { background: var(--wa-hover); }

.btn--amber { background: var(--amber); color: var(--navy-950); box-shadow: 0 8px 22px rgba(255, 176, 32, 0.35); }
.btn--amber:hover { background: var(--amber-hover); }

.btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.4); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 0.93rem; border-radius: 10px; }

/* ============ Hero ============ */
.hero {
  position: relative;
  background:
    radial-gradient(900px 480px at 82% -10%, rgba(255, 176, 32, 0.14), transparent 60%),
    linear-gradient(150deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: #fff;
  overflow: hidden;
}
/* сетка-чертёж */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 85%);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  /* боковые 20px обязательны: шорткат перебивает padding от .container */
  padding: 84px 20px 72px;
}

.hero__tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 176, 32, 0.13);
  color: var(--on-navy-amber);
  border: 1px solid rgba(255, 176, 32, 0.35);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.84rem; font-weight: 700;
  margin-bottom: 24px;
}
.hero__tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }

.hero h1 span { color: var(--on-navy-amber); }
.hero__lead { margin: 20px 0 32px; font-size: 1.13rem; color: #b9c9d8; max-width: 540px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__note {
  margin-top: 18px;
  font-size: 0.88rem;
  color: #8ba1b5;
  display: flex; align-items: center; gap: 8px;
}
.hero__note svg { width: 16px; height: 16px; color: var(--wa); flex: none; }

.hero__art { justify-self: end; width: 100%; max-width: 470px; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35)); }

/* стат-полоса, перекрывающая низ hero */
.stats {
  position: relative;
  z-index: 2;
  margin-top: -46px;
}
.stats__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.stat {
  padding: 24px 26px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat b { display: block; font-size: 1.55rem; font-weight: 800; color: var(--navy-800); letter-spacing: -0.02em; }
.stat b em { font-style: normal; color: var(--amber-ink); }
.stat span { color: var(--muted); font-size: 0.88rem; }

/* ============ Преимущества ============ */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.feature {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.feature:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }

.feature__icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--amber-soft);
  color: var(--amber-ink);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature p { color: var(--muted); font-size: 0.95rem; margin-top: 9px; }

/* ============ Карточки каталога ============ */
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.card__img {
  aspect-ratio: 16 / 10;
  background: linear-gradient(160deg, #eaf1f7, #dde7f0);
  display: grid; place-items: center;
  position: relative;
  padding: 18px;
}
.card__img > svg { width: 72%; height: 82%; }

.card__badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--navy-900); color: #fff;
  font-size: 0.7rem; font-weight: 800;
  padding: 5px 12px; border-radius: 999px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.card__badge--stock { background: var(--wa); }

.card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body p { color: var(--muted); font-size: 0.93rem; flex: 1; }

.card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 16px; margin-top: 6px;
  border-top: 1px dashed var(--line);
  flex-wrap: wrap;
}
.card__price { font-weight: 800; font-size: 1.22rem; color: var(--navy-800); letter-spacing: -0.02em; }
.card__price small { display: block; font-weight: 500; color: var(--faint); font-size: 0.76rem; letter-spacing: 0; }

/* чипсы-якоря каталога */
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  min-height: 44px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  color: #dce7f0;
  font-weight: 600; font-size: 0.93rem;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.chip:hover { border-color: var(--amber); color: #fff; background: rgba(255, 176, 32, 0.12); }

/* ============ Таблица цен ============ */
.table-wrap { border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }

.spec-table { width: 100%; border-collapse: collapse; background: var(--bg); font-size: 0.95rem; }
.spec-table th, .spec-table td { padding: 15px 20px; text-align: left; }
.spec-table th {
  background: var(--navy-900); color: #cfdce8;
  font-weight: 600; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.07em;
}
.spec-table tbody tr { border-top: 1px solid var(--line); }
.spec-table tbody tr:hover td { background: var(--bg-soft); }
.spec-table td b { color: var(--navy-800); font-size: 1.02rem; }
.spec-table td:first-child { font-weight: 600; }

.table-hint { color: var(--faint); font-size: 0.85rem; margin-top: 14px; }

/* ============ Шаги ============ */
.steps { counter-reset: step; }
.step {
  position: relative;
  padding: 28px 26px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: inline-grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--on-navy-amber);
  font-size: 1.05rem; font-weight: 800;
  margin-bottom: 16px;
}
.step p { color: var(--muted); font-size: 0.93rem; margin-top: 7px; }

/* ============ FAQ ============ */
.faq { max-width: 800px; }
.faq details {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.15s;
}
.faq details[open] { border-color: var(--amber); }
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 19px 56px 19px 24px;
  list-style: none;
  position: relative;
  min-height: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute; right: 20px; top: 50%;
  width: 12px; height: 12px;
  transform: translateY(-70%) rotate(45deg);
  border-right: 2.5px solid var(--amber-ink);
  border-bottom: 2.5px solid var(--amber-ink);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { padding: 0 24px 20px; color: var(--muted); font-size: 0.96rem; }

/* ============ CTA-полоса ============ */
.cta-band {
  position: relative;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(255, 176, 32, 0.16), transparent 65%),
    linear-gradient(150deg, var(--navy-800), var(--navy-950));
  color: #fff;
  border-radius: 20px;
  padding: 52px 48px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 6px;
  background: repeating-linear-gradient(-45deg, var(--amber) 0 12px, var(--navy-950) 12px 24px);
}
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { color: #b9c9d8; max-width: 480px; }

/* ============ Контакты ============ */
.contact-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--shadow);
}
.contact-card h3 { margin-bottom: 16px; font-size: 1.3rem; }

.contact-row {
  display: flex; align-items: flex-start; gap: 15px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.97rem;
}
.contact-row:last-of-type { border-bottom: none; }
.contact-row svg { width: 22px; height: 22px; color: var(--amber-ink); flex: none; margin-top: 4px; }
.contact-row small { display: block; color: var(--faint); font-size: 0.8rem; }
.contact-row b { font-size: 1.07rem; }
.contact-row a:hover { color: var(--amber-ink); }

.map-box {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
  box-shadow: var(--shadow);
}
.map-box__frame { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.map-box__link { position: absolute; left: 16px; bottom: 16px; z-index: 2; }

.map-stub {
  background:
    linear-gradient(rgba(243, 246, 249, 0.55), rgba(243, 246, 249, 0.55)),
    repeating-linear-gradient(0deg, #dfe7ee 0 1px, transparent 1px 46px),
    repeating-linear-gradient(90deg, #dfe7ee 0 1px, transparent 1px 46px),
    var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 340px;
  display: grid; place-items: center;
  color: var(--muted); text-align: center;
  padding: 26px;
}
.map-stub svg { width: 44px; height: 44px; color: var(--amber-ink); margin: 0 auto 12px; }

/* ============ Футер ============ */
.footer {
  background: linear-gradient(170deg, var(--navy-900), var(--navy-950));
  color: #9fb2c4;
  padding: 60px 0 26px;
  margin-top: 84px;
  font-size: 0.94rem;
}
.footer .logo { color: #fff; margin-bottom: 16px; }
.footer .logo span em { color: var(--on-navy-amber); }

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr;
  gap: 44px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer h4 { color: #fff; margin-bottom: 15px; font-size: 0.99rem; }
.footer a { transition: color 0.15s; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__phone { color: #fff; font-weight: 700; font-size: 1.1rem; }

.footer__bottom {
  padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.84rem; color: #6f8398;
}

/* ============ Плавающий WhatsApp (десктоп) ============ */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--wa);
  display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(34, 193, 94, 0.45);
  transition: transform 0.15s, background 0.15s;
}
.wa-float:hover { transform: scale(1.08); background: var(--wa-hover); }
.wa-float svg { width: 32px; height: 32px; color: #fff; }
.wa-float::after {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(34, 193, 94, 0.5);
  animation: wa-pulse 2.2s ease-out infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .wa-float::after { animation: none; } }

/* ============ Нижняя панель действий (мобила) ============ */
.action-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.action-bar a {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px;
  border-radius: 12px;
  font-weight: 700; font-size: 0.98rem;
}
.action-bar svg { width: 21px; height: 21px; flex: none; }
.action-bar__call { background: var(--navy-900); color: #fff; }
.action-bar__wa { background: var(--wa); color: #fff; }

/* ============ Калькулятор ============ */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }

.calc__form {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
}

.calc__tabs { display: flex; gap: 8px; margin-bottom: 24px; }
.calc__tab {
  flex: 1;
  min-height: 46px;
  padding: 10px 8px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  font-weight: 700; font-size: 0.9rem;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.calc__tab:hover { border-color: var(--amber); color: var(--ink); }
.calc__tab.active { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }

.calc__panel { display: none; }
.calc__panel.active { display: block; }

.calc__field { margin-bottom: 16px; }
.calc__field label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 7px; }
.calc__field input, .calc__field select {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 1rem;
  background: var(--bg);
  color: var(--ink);
}
.calc__field input:focus, .calc__field select:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px var(--amber-soft);
}
.calc__field small { display: block; color: var(--faint); font-size: 0.8rem; margin-top: 5px; }

.calc__field label.calc__check { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.95rem; cursor: pointer; padding: 4px 0; margin-bottom: 0; }
.calc__field .calc__check input { width: 20px; height: 20px; min-height: 0; padding: 0; flex: none; accent-color: var(--amber); cursor: pointer; }

.calc__result {
  background:
    radial-gradient(500px 260px at 90% 0%, rgba(255, 176, 32, 0.14), transparent 65%),
    linear-gradient(150deg, var(--navy-800), var(--navy-950));
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 26px;
  position: sticky;
  top: 94px;
}
.calc__result h3 { color: #fff; margin-bottom: 12px; font-size: 1.2rem; }

.calc__row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.16);
  font-size: 0.93rem;
  color: #cfdce8;
}
.calc__row b { color: #fff; white-space: nowrap; font-weight: 700; }

.calc__total { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 14px 0 0; font-weight: 700; }
.calc__total b { color: var(--on-navy-amber); font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.calc__total--sub { padding-top: 6px; font-weight: 600; color: #b9c9d8; font-size: 0.92rem; }
.calc__total--sub b { font-size: 1rem; color: #fff; }

.calc__note { color: #8ba1b5; font-size: 0.8rem; margin-top: 14px; line-height: 1.5; }
.calc__result .btn { width: 100%; margin-top: 16px; }

@media (max-width: 900px) {
  .calc { grid-template-columns: 1fr; }
  .calc__result { position: static; }
}
@media (max-width: 720px) {
  .calc__form, .calc__result { padding: 20px 18px; }
  .calc__tab { font-size: 0.83rem; padding: 10px 4px; }
}

/* ============ Заголовок внутренней страницы ============ */
.page-head {
  position: relative;
  background:
    radial-gradient(700px 340px at 85% -20%, rgba(255, 176, 32, 0.14), transparent 60%),
    linear-gradient(150deg, var(--navy-900), var(--navy-950));
  color: #fff;
  padding: 60px 0 56px;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
}
.page-head .container { position: relative; }
.page-head .eyebrow { color: var(--on-navy-amber); }
.page-head p { color: #b9c9d8; margin-top: 14px; max-width: 640px; font-size: 1.05rem; }

/* ============ Адаптив ============ */
@media (max-width: 1024px) {
  .hero__grid { gap: 32px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__grid { grid-template-columns: 1fr; padding: 64px 20px 72px; }
  .hero__art { display: none; }
  .header__wa { display: none; }
}

@media (max-width: 720px) {
  .section { padding: 48px 0; }
  .sec-head { margin-bottom: 24px; }
  .sec-head p { font-size: 0.95rem; margin-top: 8px; }

  h1 { font-size: clamp(1.62rem, 7vw, 2.1rem); }
  h2 { font-size: clamp(1.32rem, 5.6vw, 1.62rem); }

  .grid { gap: 14px; }

  /* преимущества: иконка слева, заголовок и текст справа */
  .feature { display: grid; grid-template-columns: 44px 1fr; column-gap: 15px; row-gap: 2px; align-items: start; padding: 18px 16px; }
  .feature:hover { transform: none; }
  .feature h3, .feature p { grid-column: 2; }
  .feature__icon { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 11px; margin-bottom: 0; }
  .feature__icon svg { width: 22px; height: 22px; }
  .feature h3 { font-size: 1rem; }
  .feature p { font-size: 0.89rem; margin-top: 4px; }

  /* шаги: номер слева, текст справа */
  .step { padding: 18px 16px 18px 74px; }
  .step::before { position: absolute; left: 16px; top: 18px; width: 42px; height: 42px; font-size: 0.95rem; margin-bottom: 0; }
  .step h3 { font-size: 1rem; }
  .step p { font-size: 0.89rem; margin-top: 4px; }

  /* карточки каталога: ниже картинка, плотнее тело */
  .card__img { aspect-ratio: 16 / 8; }
  .card__img > svg { width: auto; height: 90%; }
  .card__body { padding: 18px; gap: 8px; }
  .card__body p { font-size: 0.9rem; }
  .card__price { font-size: 1.1rem; }

  /* меню */
  .nav {
    display: none;
    position: absolute;
    top: 74px; left: 0; right: 0;
    background: var(--bg);
    flex-direction: column; gap: 2px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 10px 14px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 14px; border-radius: 10px; font-size: 1.03rem; }
  .burger { display: flex; }
  .header__phone { display: none; }

  .grid--2, .grid--3 { grid-template-columns: 1fr; }

  /* hero */
  .hero__grid { padding: 40px 20px 58px; }
  .hero__tag { font-size: 0.78rem; margin-bottom: 18px; }
  .hero__lead { font-size: 0.99rem; margin: 16px 0 24px; }
  .hero__actions { gap: 10px; }
  .hero__actions .btn { width: 100%; }
  .hero__note { font-size: 0.82rem; }

  /* статы 2×2 */
  .stats { margin-top: -30px; }
  .stats__row { grid-template-columns: 1fr 1fr; }
  .stat { padding: 13px 16px; border-right: none; border-bottom: 1px solid var(--line); }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat:nth-child(3), .stat:nth-child(4) { border-bottom: none; }
  .stat b { font-size: 1.12rem; }
  .stat span { font-size: 0.76rem; line-height: 1.35; display: block; }

  .cta-band { padding: 30px 22px; }
  .cta-band .btn { width: 100%; }
  .cta-band p { font-size: 0.93rem; }

  .page-head { padding: 42px 0 40px; }
  .page-head p { font-size: 0.95rem; margin-top: 10px; }

  .faq summary { font-size: 0.97rem; padding: 16px 48px 16px 18px; }
  .faq details p { padding: 0 18px 16px; font-size: 0.91rem; }

  .footer { padding-top: 42px; }
  .footer__grid { gap: 28px; padding-bottom: 28px; }

  /* таблица цен → карточки */
  .table-wrap { border: none; box-shadow: none; overflow: visible; border-radius: 0; }
  .spec-table { display: block; background: transparent; }
  .spec-table thead { display: none; }
  .spec-table tbody { display: grid; gap: 12px; }
  .spec-table tr {
    display: block;
    background: var(--bg);
    border: 1px solid var(--line) !important;
    border-radius: 14px;
    padding: 8px 18px;
    box-shadow: 0 4px 14px rgba(16, 40, 60, 0.06);
  }
  .spec-table td {
    display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--line);
    text-align: right;
  }
  .spec-table td:last-child { border-bottom: none; }
  .spec-table td::before {
    content: attr(data-label);
    font-weight: 500;
    color: var(--faint);
    font-size: 0.83rem;
    text-align: left;
  }
  .spec-table td:first-child { font-size: 1rem; text-align: left; }
  .spec-table td:first-child::before { display: none; }
  .spec-table tbody tr:hover td { background: transparent; }

  /* мобильная панель действий вместо плавающей кнопки */
  .action-bar { display: flex; }
  .wa-float { display: none; }
  body { padding-bottom: 74px; }
  .footer { margin-top: 56px; padding-bottom: 20px; }
}

@media (max-width: 480px) {
  .grid--4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .chips { gap: 8px; }
  .chip { padding: 9px 16px; font-size: 0.88rem; }
}
