/* =========================================================
   НедраМост — стили сайта
   Палитра, шрифт и компоненты — по референсу дизайна заказчика
   (Manrope, тёмный navy + золото, pill-кнопки).
   Файл покрывает все блоки ТЗ (1–18) и служебные страницы.
   ========================================================= */

/* Шрифт Manrope обслуживается с этого же сервера (папка fonts/).
   Внешний запрос к fonts.googleapis.com не делается: нет зависимости от
   стороннего сервиса, нет передачи IP-адреса посетителя третьим лицам,
   шрифт доступен при недоступности Google. Файлы переменные — один файл
   подмножества покрывает начертания 200–800. */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-variable-cyrillic-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-variable-cyrillic.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-variable-latin-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-variable-latin.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 {
  /* тёмный фон (шапка, hero, подвал) */
  --navy-950: #0c1620;
  --navy-900: #121e29;
  --navy-800: #1c2b3a;
  --navy-700: #2c3d4d;

  /* золото / акцент */
  --gold-700: #b3813c;
  --gold-600: #c8903f;
  --gold-500: #d99e3f;
  --gold-400: #eeb45c;
  --gold-300: #f6cf8f;
  --gold-soft: rgba(217, 158, 63, 0.14);

  /* нейтральные */
  --bg-light: #f5f6f8;
  --bg-white: #ffffff;
  --text-dark: #16212c;
  --text-muted: #5b6572;
  --border-light: #e3e7ec;

  /* дополнительные акценты */
  --steel: #3f6b8f;
  --ok: #2f9e6f;
  --warn: #c9564f;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-card: 0 12px 30px -14px rgba(18, 30, 41, 0.18);
  --shadow-pop: 0 22px 46px -20px rgba(12, 22, 32, 0.42);
  --container-w: 1180px;
  --header-w: 1320px;   /* шапка чуть шире контента: логотип + 6 пунктов + телефон */
  --header-h: 84px;
  --logo-h: 40px;       /* высота логотипа; ширина считается из пропорции 448/104 */
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------------------------------------------------------
   База
   --------------------------------------------------------- */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--gold-700); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--gold-500); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 { font-family: 'Manrope', sans-serif; margin: 0 0 .5em; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 3.6vw, 3.05rem); font-weight: 800; }
h2, .h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.08rem; font-weight: 700; }

ul, ol { margin: 0 0 1em; padding-left: 1.15em; }

button { font: inherit; cursor: pointer; }

:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 2px; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  background: var(--gold-400);
  color: var(--navy-950);
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: var(--navy-950); }

.accent { color: var(--gold-400); }
.strong { font-weight: 800; color: var(--navy-950); }
.muted { color: var(--text-muted); }

/* ---------------------------------------------------------
   Секции
   --------------------------------------------------------- */

.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--light { background: var(--bg-light); }
.section--navy { background: var(--navy-900); color: #fff; }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }

.section-head { max-width: 800px; margin: 0 auto 46px; text-align: center; }
.section-head--left { margin-right: auto; margin-left: 0; text-align: left; }

.eyebrow {
  color: var(--gold-600);
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 0 10px;
}
.section--navy .eyebrow { color: var(--gold-400); }

.lead { font-size: 1.15rem; font-weight: 600; }
.lead-muted { font-size: 1.08rem; color: rgba(255, 255, 255, 0.72); }
.body-text { color: var(--text-muted); }
.section--navy .muted,
.section--navy .body-text { color: rgba(255, 255, 255, 0.72); }
.section--navy .strong { color: #fff; }

.note {
  margin-top: 40px;
  padding: 18px 22px;
  border-left: 3px solid var(--steel);
  background: rgba(63, 107, 143, 0.08);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}
.section--navy .note { background: rgba(255, 255, 255, 0.05); color: rgba(255, 255, 255, 0.72); }

.center-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 44px; }
.center-cta--start { justify-content: flex-start; }

/* ---------------------------------------------------------
   Кнопки
   --------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
}

.btn--gold {
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
  color: var(--navy-950);
  box-shadow: 0 10px 24px -10px rgba(217, 158, 63, 0.65);
}
.btn--gold:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -10px rgba(217, 158, 63, 0.75); color: var(--navy-950); }
.btn--gold:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

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

.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--navy-800); color: #fff; transform: translateY(-1px); }

.btn--sm { padding: 11px 20px; font-size: 0.88rem; }

/* ---------------------------------------------------------
   Шапка
   --------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 22, 32, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
  max-width: var(--header-w);
}

/* Логотип. Файл images/logo.png — 448 × 104 px, поэтому пропорция
   задана явно: картинка не растянется, даже если ей ограничить
   и высоту, и ширину. */
.brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.brand img {
  height: var(--logo-h);
  width: auto;
  aspect-ratio: 448 / 104;
  object-fit: contain;
}

/* Меню занимает всё свободное место и центрируется в нём.
   Пункты не переносятся и не сжимаются, а при самом тесном
   раскладе меню аккуратно доскролливается по горизонтали. */
.main-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  justify-content: safe center;
  gap: 22px;
  overflow-x: auto;
  scrollbar-width: none;
}
.main-nav::-webkit-scrollbar { display: none; }

.main-nav a {
  flex: 0 0 auto;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a.is-active,
.main-nav a[aria-current="page"] { color: #fff; border-color: var(--gold-400); }

.header-cta { flex: 0 0 auto; display: flex; align-items: center; gap: 16px; }

.tel-link { color: #fff; font-weight: 700; font-size: 0.95rem; white-space: nowrap; }
.tel-link:hover { color: var(--gold-400); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 13px 11px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: #fff;
  border-radius: 2px;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------------------------------------
   Блок 1. Первый экран
   --------------------------------------------------------- */

.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 15% 0%, rgba(238, 180, 92, 0.10), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900) 60%, var(--navy-800));
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(12, 22, 32, 0.97) 0%, rgba(12, 22, 32, 0.9) 45%, rgba(12, 22, 32, 0.6) 100%),
    url('../images/hero-quarry.jpg');
  background-size: cover;
  background-position: center 60%;
  opacity: .6;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.55fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-top: 76px;
  padding-bottom: 76px;
}

.hero-main {
  position: relative;
  min-width: 0;
}

.hero-kicker {
  margin: 0 0 16px;
  color: var(--gold-400);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 .accent { color: var(--gold-400); }

.hero .lead {
  margin: 22px 0 18px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #eef1f4;
  max-width: 56ch;
}

.hero .body-text {
  color: rgba(255, 255, 255, 0.72);
  max-width: 58ch;
  margin: 0 0 32px;
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }

.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}
.social-links a:hover { border-color: var(--gold-400); color: var(--gold-400); }

.hero-side {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(2px);
  box-shadow: var(--shadow-pop);
}
.hero-photo {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-950));
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-side-body { padding: 24px 26px 28px; }

.hero-side .range-icon { color: var(--gold-400); margin-bottom: 14px; }
.hero-side-body p { margin: 0 0 16px; font-size: 1.05rem; font-weight: 600; color: #fff; }
.hero-side-body hr { border: none; border-top: 2px solid var(--gold-500); width: 46px; margin: 0 0 16px; }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.92rem; color: rgba(255, 255, 255, 0.75); }
.contact-list .label { color: rgba(255, 255, 255, 0.5); margin-right: 6px; }
.contact-list a { color: var(--gold-400); text-decoration: none; }
.contact-list a:hover { color: var(--gold-300); text-decoration: underline; text-underline-offset: 2px; }
.contact-list--inline { grid-auto-flow: column; grid-auto-columns: max-content; justify-content: center; gap: 28px; }

/* ---------------------------------------------------------
   Блок 2. Реализуем проекты
   --------------------------------------------------------- */

.lead-two-col {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.lead-sticky { position: sticky; top: calc(var(--header-h) + 28px); }
.lead-sticky .muted { font-size: 1.05rem; }
.lead-sticky .btn { margin-top: 24px; }
.lead-content > p { color: #33404d; }
.lead-content .strong { font-size: 1.05rem; }

.figure { margin: 36px 0 0; }
.figure img {
  width: 100%;
  border-radius: var(--radius-md);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-950));
  box-shadow: var(--shadow-card);
}
.figure figcaption { margin-top: 12px; color: var(--text-muted); font-size: 0.88rem; text-align: center; }
.figure--strip { margin-top: 48px; }
.figure--strip img { aspect-ratio: 21 / 9; }
.section--navy .figure figcaption { color: rgba(255, 255, 255, 0.6); }

.quote {
  margin: 30px 0;
  padding: 4px 0 4px 26px;
  border-left: 3px solid var(--gold-500);
}
.quote p {
  margin: 0;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy-950);
}
.section--navy .quote p { color: #fff; }

/* ---------------------------------------------------------
   Блок 3. Для кого
   --------------------------------------------------------- */

.audience-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 44px;
}
.audience-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; }
.audience-head p { color: var(--text-muted); margin: 16px 0 0; }

.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.audience-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-card);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.audience-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-pop); }
.audience-card .chip {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gold-300);
  color: var(--gold-700);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.audience-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.audience-card p { margin: 0; color: var(--text-muted); font-size: 0.94rem; }

.audience-closing {
  margin-top: 36px;
  font-weight: 700;
  font-size: 1.05rem;
  max-width: 70ch;
}

/* CTA-панель повторного обращения */
.side-cta {
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 28px;
  height: fit-content;
}
.side-cta .chip-icon {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--gold-400); color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.side-cta h3 { font-size: 1.1rem; margin-bottom: 10px; color: #fff; }
.side-cta p { color: rgba(255, 255, 255, 0.7); font-size: 0.92rem; margin: 0 0 18px; }
.side-cta .btn--gold { width: 100%; justify-content: center; margin-bottom: 18px; }
.side-cta .contact-list { margin-top: 4px; }

/* ---------------------------------------------------------
   Блок 4. Что мы делаем
   --------------------------------------------------------- */

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }

.service-card .cover {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-950));
  overflow: hidden;
}
.service-card .cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.88);
  transition: transform .5s var(--ease);
}
.service-card:hover .cover img { transform: scale(1.05); }
.service-card .cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(12, 22, 32, 0.5));
}
.service-card h3 { margin: 22px 26px 8px; }
.service-card p { margin: 0 26px 26px; color: var(--text-muted); font-size: 0.94rem; }

.service-card--wide { grid-column: span 2; }
.service-card--wide .cover { aspect-ratio: 32 / 9; }

/* тёмный вариант карточек внутри navy-секции */
.section--navy .service-card { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.12); }
.section--navy .service-card h3 { color: #fff; }
.section--navy .service-card p { color: rgba(255, 255, 255, 0.7); }

.principle {
  margin: 44px auto 0;
  max-width: 900px;
  padding: 22px 28px;
  background: var(--gold-soft);
  border: 1px solid rgba(217, 158, 63, 0.35);
  border-radius: var(--radius-md);
  text-align: center;
}
.principle span { color: var(--gold-700); font-weight: 800; }
.section--navy .principle span { color: var(--gold-400); }

/* ---------------------------------------------------------
   Блок 5. Как мы работаем
   --------------------------------------------------------- */

.steps { list-style: none; margin: 0; padding: 0; }

/* 2 колонки: номер | заголовок + текст.
   Текст явно приземляем во вторую колонку, иначе <p> уезжает
   под номер и набирается в столбик по одному слову. */
.step {
  position: relative;
  display: grid;
  grid-template-columns: 76px 1fr;
  column-gap: 30px;
  row-gap: 8px;
  padding: 30px 0 32px;
  border-top: 1px solid var(--border-light);
  transition: background .25s var(--ease);
}
.step:last-child { border-bottom: 1px solid var(--border-light); }
.section--navy .step { border-color: rgba(255, 255, 255, 0.1); }

.step-num {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(217, 158, 63, 0.38);
  background: var(--gold-soft);
  color: var(--gold-700);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}

.step h3 { grid-column: 2; grid-row: 1; margin: 0 0 2px; font-size: 1.14rem; }
.step p { grid-column: 2; grid-row: 2; margin: 0; max-width: 74ch; color: var(--text-muted); }

.step:hover .step-num {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--navy-950);
}

.section--navy .step-num {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(238, 180, 92, 0.4);
  color: var(--gold-400);
}
.section--navy .step:hover .step-num { background: var(--gold-400); color: var(--navy-950); }
.section--navy .step p { color: rgba(255, 255, 255, 0.7); }

/* ---------------------------------------------------------
   Блоки 6 и 12. Медиа + текст
   --------------------------------------------------------- */

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.split--reverse .split-media { order: 2; }

.split-media {
  position: sticky;
  top: calc(var(--header-h) + 26px);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--navy-900);
  box-shadow: var(--shadow-card);
}
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-media-caption {
  padding: 14px 20px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
}

.split-body > p { color: #33404d; }
.split-body .sub-h { margin: 32px 0 14px; font-size: 1.05rem; }
.split-body .btn { margin-top: 26px; }
.section--navy .split-body > p { color: rgba(255, 255, 255, 0.78); }

.ticks, .dashes, .checks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 11px; }

.ticks li, .dashes li, .checks li { position: relative; padding-left: 32px; color: #33404d; }
.section--navy .ticks li,
.section--navy .dashes li,
.section--navy .checks li { color: rgba(255, 255, 255, 0.8); }

.ticks li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.45em;
  width: 15px; height: 8px;
  border-left: 2px solid var(--gold-500);
  border-bottom: 2px solid var(--gold-500);
  transform: rotate(-45deg);
}

.dashes li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.75em;
  width: 14px; height: 2px;
  background: var(--steel);
}

.checks { grid-template-columns: 1fr 1fr; gap: 14px 36px; }
.checks li { padding-left: 40px; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.05em;
  width: 26px; height: 26px;
  border-radius: var(--radius-pill);
  background: var(--gold-soft);
  border: 1px solid rgba(217, 158, 63, 0.45);
}
.checks li::after {
  content: "";
  position: absolute;
  left: 9px; top: 0.5em;
  width: 9px; height: 5px;
  border-left: 2px solid var(--gold-600);
  border-bottom: 2px solid var(--gold-600);
  transform: rotate(-45deg);
}

/* ---------------------------------------------------------
   Блок 7. Почему «НедраМост»
   --------------------------------------------------------- */

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.why-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-card);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.why-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-pop); }
.why-card h3 { margin-bottom: 8px; }
.why-card p { margin: 0; color: var(--text-muted); font-size: 0.94rem; }
.why-card .why-extra {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-light);
  font-size: 0.9rem;
}

.trust-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--navy-700);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-800);
  margin-bottom: 16px;
}

/* ---------------------------------------------------------
   Блок 8. Компетенции
   --------------------------------------------------------- */

.compet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.compet-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--steel);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  transition: border-left-color .2s var(--ease), transform .2s var(--ease);
}
.compet-card:hover { border-left-color: var(--gold-500); transform: translateX(3px); }
.compet-card h3 { margin-bottom: 6px; font-size: 1rem; }
.compet-card p { margin: 0; color: var(--text-muted); font-size: 0.92rem; }

/* ---------------------------------------------------------
   Блок 9. Сырьё
   --------------------------------------------------------- */

.materials-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-bottom: 46px; }

.material {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-950));
}
.material img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.material:hover img { transform: scale(1.06); }
.material figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 12px 12px;
  background: linear-gradient(180deg, transparent, rgba(12, 22, 32, 0.9));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.col-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.col-card h3 { margin-bottom: 16px; font-size: 1.05rem; }
.col-card ul { margin: 0; gap: 9px; }
.col-card li { font-size: 0.94rem; }
.section--navy .col-card { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.12); }
.section--navy .col-card h3 { color: #fff; }

/* ---------------------------------------------------------
   Блок 10. Что получает заказчик
   --------------------------------------------------------- */

.callout-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }

.callout {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.callout p { margin: 0; color: #33404d; font-size: 0.95rem; }
.callout strong { color: var(--navy-950); }

/* ---------------------------------------------------------
   Блок 11. Действующее предприятие
   --------------------------------------------------------- */

.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.problem-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.problem-card:hover { transform: translateY(-3px); border-color: rgba(238, 180, 92, 0.5); }
.problem-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.problem-card p { margin: 0; color: rgba(255, 255, 255, 0.7); font-size: 0.93rem; }

.navy-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 44px;
  padding: 30px 34px;
  background: linear-gradient(120deg, rgba(238, 180, 92, 0.16), rgba(63, 107, 143, 0.14));
  border: 1px solid rgba(238, 180, 92, 0.34);
  border-radius: var(--radius-md);
}
.navy-cta p { margin: 0; max-width: 66ch; color: rgba(255, 255, 255, 0.75); }
.navy-cta-title { color: #fff; font-size: 1.15rem; font-weight: 800; margin-bottom: 6px !important; }

/* ---------------------------------------------------------
   Блок 13. Форматы работы
   --------------------------------------------------------- */

.format-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.format-card {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.format-card::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.format-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.format-card:hover::after { transform: scaleX(1); }
.format-num { display: block; margin-bottom: 10px; font-size: 1.4rem; font-weight: 800; color: var(--gold-600); }
.format-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.format-card p { margin: 0; color: var(--text-muted); font-size: 0.94rem; }

/* ---------------------------------------------------------
   Блок 15. FAQ
   --------------------------------------------------------- */

.faq { max-width: 900px; margin: 0 auto; display: grid; gap: 12px; }

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .2s var(--ease);
}
.section--navy .faq-item { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.12); }
.faq-item:hover { border-color: rgba(217, 158, 63, 0.5); }
.faq-item[open] { border-color: var(--gold-500); }

.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 52px 18px 22px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy-950);
  cursor: pointer;
  list-style: none;
}
.section--navy .faq-item summary { color: #fff; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  color: var(--gold-600);
  transition: transform .25s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq-body { padding: 0 22px 22px; color: var(--text-muted); }

/* ---------------------------------------------------------
   Блок 16. Финальный призыв
   --------------------------------------------------------- */

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--navy-950), var(--navy-900));
  color: #fff;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(12, 22, 32, 0.92), rgba(12, 22, 32, 0.96)),
    url('../images/weighbridge.jpg');
  background-size: cover;
  background-position: center;
  opacity: .55;
}

.final-cta .container { position: relative; }
.final-cta-inner { max-width: 820px; margin: 0 auto; }
.final-cta h2 { color: #fff; }
.final-cta .lead { color: var(--gold-400); font-size: clamp(1.1rem, 1.8vw, 1.35rem); }
.final-cta p { color: rgba(255, 255, 255, 0.75); }
.final-cta .hero-actions { justify-content: center; margin-top: 30px; }

.or-line { margin: 40px 0 14px; color: #fff; font-weight: 700; }

/* ---------------------------------------------------------
   Блок 17. Форма заявки
   --------------------------------------------------------- */

.form-wrap { display: grid; grid-template-columns: 1.5fr 0.8fr; gap: 32px; align-items: start; }

.lead-form {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.field { min-width: 0; }
.field--full { grid-column: 1 / -1; }

.field label,
.fieldset legend {
  display: block;
  margin-bottom: 7px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy-950);
}

.req { color: var(--warn); }

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field textarea {
  width: 100%;
  padding: 13px 15px;
  font: inherit;
  font-size: 0.96rem;
  color: var(--text-dark);
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 104px; }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px var(--gold-soft);
  background: var(--bg-white);
}
.field input::placeholder,
.field textarea::placeholder { color: #97a1ac; }

.field-hint { display: block; margin-top: 6px; font-size: 0.8rem; color: var(--text-muted); }

.fieldset { margin: 0; padding: 0; border: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip-radio { position: relative; }
.chip-radio input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip-radio span {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  background: var(--bg-light);
  color: #33404d;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.chip-radio span:hover { border-color: var(--gold-500); }
.chip-radio input:checked + span {
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
  border-color: var(--gold-600);
  color: var(--navy-950);
}
.chip-radio input:focus-visible + span { outline: 3px solid var(--gold-400); outline-offset: 2px; }

.consent-group {
  display: grid;
  gap: 16px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
  cursor: pointer;
}
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--gold-600); flex: none; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.form-status { font-size: 0.9rem; font-weight: 700; }
.form-status.is-error { color: var(--warn); }
.form-status.is-ok { color: var(--ok); }

.lead-form .is-invalid {
  border-color: var(--warn);
  box-shadow: 0 0 0 3px rgba(201, 86, 79, 0.16);
}

.form-aside { display: grid; gap: 22px; }
.form-aside > h3 { font-size: 1.05rem; margin-bottom: -6px; }

.next-list { margin: 0; padding-left: 22px; display: grid; gap: 10px; color: var(--text-muted); font-size: 0.94rem; }
.next-list li::marker { color: var(--gold-600); font-weight: 800; }

/* ---------------------------------------------------------
   Служебные страницы (юридический блок, FAQ, благодарность)
   --------------------------------------------------------- */

.page-head {
  padding: 56px 0;
  background: linear-gradient(180deg, var(--navy-950), var(--navy-900));
  color: #fff;
}
.page-head h1 { color: #fff; }
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.breadcrumbs li::after { content: "/"; margin-left: 8px; color: rgba(255, 255, 255, 0.3); }
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs a { color: rgba(255, 255, 255, 0.7); }
.breadcrumbs a:hover { color: var(--gold-400); }

.legal-doc { max-width: 880px; }
.legal-doc--wide { max-width: 1100px; }
.legal-doc h2 { margin: 38px 0 12px; font-size: 1.2rem; }
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc h3 { margin: 24px 0 8px; font-size: 1.02rem; }
.legal-doc p, .legal-doc li { color: #33404d; font-size: 0.96rem; }
.legal-doc ul { padding-left: 20px; }
.legal-doc table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 8px; border-collapse: collapse; font-size: 0.94rem; }
.legal-doc th, .legal-doc td { padding: 12px 14px; border-bottom: 1px solid var(--border-light); text-align: left; vertical-align: top; }
.legal-doc th { font-weight: 700; color: var(--navy-950); background: var(--bg-light); }
.legal-doc a { color: var(--gold-700); text-decoration: underline; text-underline-offset: 2px; }
.legal-doc a:hover { color: var(--navy-950); }

/* Таблица использованных фотографий */
.credits-table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-collapse: collapse; font-size: 0.9rem; }
.credits-table th, .credits-table td { padding: 14px 16px; border-bottom: 1px solid var(--border-light); text-align: left; vertical-align: middle; }
.credits-table th { background: var(--navy-950); color: #fff; font-weight: 700; white-space: nowrap; }
.credits-table img { width: 120px; height: 80px; object-fit: cover; border-radius: 8px; display: block; }
.credits-table a { color: var(--gold-700); }
.credits-table a:hover { color: var(--navy-950); }
.credits-scroll { overflow-x: auto; border: 1px solid var(--border-light); border-radius: var(--radius-lg); }
.doc-meta { color: var(--text-muted); font-size: 0.85rem; }

.thanks-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 40px;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
}
.thanks-card h1 { color: #fff; }
.thanks-card p { color: rgba(255, 255, 255, 0.75); }
.checkmark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px; height: 68px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: rgba(47, 158, 111, 0.16);
  border: 1.5px solid rgba(47, 158, 111, 0.5);
  color: #6fd0a6;
  font-size: 1.9rem;
}
.thanks-summary {
  margin-top: 28px;
  padding: 20px 22px;
  text-align: left;
  background: rgba(12, 22, 32, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
}
.thanks-summary h3 { color: #fff; font-size: 0.95rem; }
.thanks-summary dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; font-size: 0.92rem; }
.thanks-summary dt { color: rgba(255, 255, 255, 0.55); }
.thanks-summary dd { margin: 0; color: #fff; }

/* ---------------------------------------------------------
   Подвал
   --------------------------------------------------------- */

.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.65);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid h4 { color: #fff; font-size: 0.95rem; margin: 0 0 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.92rem; }
.footer-brand img { height: var(--logo-h); width: auto; aspect-ratio: 448 / 104; object-fit: contain; margin-bottom: 14px; }
.footer-brand p { max-width: 32ch; font-size: 0.9rem; }
.footer-accent { color: var(--gold-400); font-weight: 700; }
.site-footer a { color: rgba(255, 255, 255, 0.65); }
.site-footer a:hover { color: var(--gold-400); }
.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}

/* ---------------------------------------------------------
   Cookie-баннер (согласие на обработку cookie-файлов)
   --------------------------------------------------------- */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: var(--navy-950);
  border-top: 1px solid rgba(238, 180, 92, 0.28);
  box-shadow: 0 -18px 44px -22px rgba(4, 10, 16, 0.75);
  color: #fff;
  transform: translateY(105%);
  visibility: hidden;
  transition: transform .4s var(--ease), visibility .4s var(--ease);
}
.cookie-banner.is-open { transform: none; visibility: visible; }
.cookie-banner[hidden] { display: none; }

.cookie-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px 34px;
  align-items: center;
  padding-top: 24px;
  padding-bottom: 24px;
}

.cookie-body { min-width: 0; }
.cookie-text + .cookie-text { margin-top: 8px; }

.cookie-title {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
}
.cookie-title::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  margin-right: 10px;
  vertical-align: middle;
  background: var(--gold-500);
}

.cookie-text { margin: 0; color: rgba(255, 255, 255, 0.74); font-size: 0.9rem; max-width: 76ch; }
.cookie-text a { color: var(--gold-400); text-decoration: underline; text-underline-offset: 2px; }
.cookie-text a:hover { color: #fff; }

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* третьестепенное действие — отказ от необязательных cookie */
.btn--text {
  background: none;
  border: 0;
  padding: 11px 6px;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}
.btn--text:hover { color: #fff; text-decoration-color: var(--gold-400); }

/* кнопка «Настройки cookie» в подвале — выглядит как ссылка подвала */
.cookie-settings {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: color .2s var(--ease);
}
.site-footer a:hover, .cookie-settings:hover { color: var(--gold-400); }

/* экранная надпись о сохранённом выборе */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.legal-doc code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.86em;
  color: var(--navy-800);
}

/* панель не мешает чтению и не печатается */
@media (max-width: 980px) {
  .cookie-inner { grid-template-columns: 1fr; gap: 20px; padding-top: 20px; padding-bottom: 20px; }
  .cookie-actions { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .cookie-actions { flex-direction: column; align-items: stretch; }
  .cookie-actions .btn { width: 100%; justify-content: center; }
  .cookie-title { font-size: 1rem; }
}

/* ---------------------------------------------------------
   Анимации появления
   --------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------------------------------------------------------
   Адаптив
   --------------------------------------------------------- */

@media (max-width: 1080px) {
  .service-grid, .why-grid, .compet-grid, .problem-grid, .format-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card--wide { grid-column: 1 / -1; }
  .service-card--wide .cover { aspect-ratio: 21 / 9; }
  .materials-strip { grid-template-columns: repeat(3, 1fr); }
  .form-wrap { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------
   Адаптив шапки: логотип + меню + телефон
   1200–1359 px — телефон уступает место меню
   < 1200 px    — меню уходит под бургер, телефон возвращается
   < 900 px     — телефон прячем, остаётся кнопка + бургер
   < 640 px     — остаётся логотип + бургер
   --------------------------------------------------------- */

@media (max-width: 1359px) and (min-width: 1200px) {
  .tel-link { display: none; }
}

@media (max-width: 1199px) {
  .site-header .container { gap: 14px; }
  .header-cta { gap: 12px; }
  .main-nav { display: none; }
  .nav-toggle { display: block; }

  .main-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: var(--header-h); left: 0; right: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--navy-950);
    padding: 6px 24px 14px;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-pop);
  }
  .main-nav.is-open a {
    flex: 0 0 auto;
    padding: 13px 2px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .main-nav.is-open a:last-child { border-bottom: 0; }
  .main-nav.is-open a:hover,
  .main-nav.is-open a.is-active,
  .main-nav.is-open a[aria-current="page"] {
    color: var(--gold-400);
    border-color: rgba(255, 255, 255, 0.07);
  }
}

@media (max-width: 900px) {
  .tel-link { display: none; }
}

@media (max-width: 640px) {
  .header-cta .btn { display: none; }
}

@media (max-width: 980px) {
  .hero-inner,
  .lead-two-col,
  .split,
  .audience-head,
  .cols-3,
  .callout-row { grid-template-columns: 1fr; }
  .hero-inner { gap: 36px; padding-top: 56px; padding-bottom: 56px; }
  .lead-sticky, .split-media { position: static; }
  .split--reverse .split-media { order: 0; }
  .checks { grid-template-columns: 1fr; }
  .navy-cta { align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* Инлайн-контакты: на планшете и мобильном — вертикально, чтобы не вылезать за экран */
  .contact-list--inline { grid-auto-flow: row; justify-content: start; }
}

@media (max-width: 560px) {
  :root { --header-h: 72px; --logo-h: 34px; }
  .section { padding: 56px 0; }
  .final-cta { padding: 64px 0; }

  .service-grid, .why-grid, .compet-grid, .problem-grid,
  .format-grid, .audience-grid, .footer-grid,
  .form-grid, .materials-strip { grid-template-columns: 1fr; }
  .materials-strip { grid-template-columns: repeat(2, 1fr); }
  .step { grid-template-columns: 56px 1fr; column-gap: 18px; padding: 24px 0 26px; }
  .step-num { width: 46px; height: 46px; font-size: 0.95rem; }
  .step h3 { font-size: 1.05rem; }
  .contact-list--inline { grid-auto-flow: row; justify-content: start; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .center-cta .btn { width: 100%; }
  /* Длинные подписи кнопок на узком экране переносятся: без этого текст
      с nowrap вылезает за границу пилюли (замер: 358px текста в кнопке на 268px). */
  .btn { white-space: normal; line-height: 1.3; text-align: center; }
  .lead-form { padding: 22px; }
  .faq-item summary { padding: 16px 46px 16px 18px; font-size: 0.96rem; }
  .faq-body { padding: 0 18px 18px; }

  /* --- компактный cookie-баннер: не занимает больше 25% экрана --- */
  .cookie-inner {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .cookie-title {
    font-size: 0.9rem;
    margin-bottom: 2px;
  }
  .cookie-text {
    font-size: 0.8rem;
    line-height: 1.3;
  }
  .cookie-text + .cookie-text { margin-top: 2px; display: none; }
  .cookie-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 4px;
    margin-top: 6px;
  }
  .cookie-actions .btn {
    width: auto;
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
    padding: 7px 8px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  /* --- поля ввода: 16px чтобы iOS не зумил при фокусе --- */
  .field input[type="text"],
  .field input[type="tel"],
  .field input[type="email"],
  .field input[type="date"],
  .field input[type="number"],
  .field input[type="search"],
  .field input[type="url"],
  .field textarea,
  .field select {
    font-size: 16px !important;
  }

  /* --- тап-таргеты ≥ 44px --- */
  .main-nav a { padding: 10px 0; }
  .tel-link { padding: 8px 4px; display: inline-block; }
  .footer-grid ul a,
  .site-footer a { display: inline-block; padding: 6px 0; }
  .footer-grid ul { gap: 6px; }
  .breadcrumbs a { display: inline-block; padding: 6px 4px; }
  .chip-radio span { padding: 10px 14px; }
  .cookie-settings { padding: 6px 0; }
  .legal-doc a { display: inline-block; padding: 4px 0; }
  .hero-actions .btn { min-height: 44px; }
}

@media (max-width: 360px) {
  /* Убираем телефон и кнопку CTA при 320px — остаётся логотип + бургер */
  .tel-link { display: none; }
  .header-cta .btn { display: none; }
  /* Уменьшаем cookie-текст чтобы не вылезал за 320px */
  .cookie-body { max-width: 100vw; }
  .cookie-title { font-size: 0.85rem; }
  .cookie-text { font-size: 0.78rem; }
  .cookie-actions .btn { font-size: 0.75rem; padding: 6px 7px; }
}

/* уважение к reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .hero-bg, .final-cta-bg, .nav-toggle,
  .btn, .form-wrap, .materials-strip, .page-head, .cookie-banner { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding: 12px 0; }
  .section--navy, .hero, .final-cta { background: #fff; color: #000; }
  h1, h2, h3, p, li { color: #000 !important; }
}
