/* ═══════════════════════════════════════════════
   АРТЕГО — style.css  (редизайн 2026)
   Дизайн-система: Unbounded + Onest
   Палитра: светлый премиум / графит / терракота
   ═══════════════════════════════════════════════ */

:root {
  /* Светлые фоны */
  --bg:        #faf9f7;
  --bg-alt:    #f1efeb;
  --card:      #ffffff;
  /* Границы */
  --border:    #e7e4de;
  --border-2:  #dcdad5;
  /* Текст */
  --ink:       #17181a;
  --text:      #4a4d52;
  --muted:     #6b6e73;
  /* Тёмные секции */
  --dark:      #1b2430;
  --dark-2:    #141b23;
  --dark-input:#243040;
  --dark-brd:  #33404d;
  --on-dark:   #f5f4f1;
  --on-dark-2: #a9acb2;
  /* Акцент */
  --accent:    #a7592a;
  --accent-h:  #874421;
  /* Типографика */
  --display:   'Unbounded', sans-serif;
  --body:      'Onest', -apple-system, BlinkMacSystemFont, sans-serif;
  /* Метрики */
  --nav-h:     76px;
  --maxw:      1280px;
  --pad:       40px;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-h); }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { font-family: var(--body); cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; }

::selection { background: var(--accent); color: #fff; }
::-moz-selection { background: var(--accent); color: #fff; }

/* Доступность */
.skip-link {
  position: absolute; top: -100%; left: 16px; z-index: 10000;
  background: var(--accent); color: #fff; padding: 12px 24px;
  font-size: 14px; font-weight: 500; transition: top 0.2s;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }

/* ─── LAYOUT ─── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding-top: 96px; padding-bottom: 96px; }
.section--tight { padding-top: 72px; padding-bottom: 72px; }
.section-dark { background: var(--dark); color: var(--on-dark); }
.section-alt  { background: var(--bg-alt); }

/* ─── EYEBROW (надзаголовок) ─── */
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 24px;
}
.eyebrow::before {
  content: ''; width: 28px; height: 2px; background: var(--accent);
  flex-shrink: 0; display: inline-block;
}
.eyebrow span {
  font-size: 13px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--muted);
}

/* ─── ЗАГОЛОВКИ ─── */
.h1 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(40px, 5vw, 64px); line-height: 1.06; letter-spacing: -0.01em;
}
.h1--hero { font-size: clamp(48px, 6.2vw, 84px); line-height: 1.04; }
.h2 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(30px, 4vw, 40px); line-height: 1.15; letter-spacing: -0.01em;
}
.dot { color: var(--accent); }

/* ─── NAV ─── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,249,247,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--pad); height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.nav-logo { display: flex; align-items: center; gap: 13px; color: var(--ink); flex-shrink: 0; }
.nav-logo:hover { color: var(--ink); }
.nav-logo img { height: 48px; width: auto; display: block; }
.nav-logo-word {
  font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: 0.06em;
}
.nav-links { display: flex; gap: 32px; font-size: 15px; font-weight: 500; }
.nav-links a { color: var(--ink); }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-phone { color: var(--ink); font-weight: 600; font-size: 15px; white-space: nowrap; }
.nav-phone:hover { color: var(--accent); }
.nav-cta {
  background: var(--ink); color: #fff; padding: 12px 22px;
  font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--accent); color: #fff; }

/* Кнопка в выпадающем меню — скрыта на десктопе, видна только в бургере */
.nav-mobile-cta { display: none; }

/* Бургер */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 8px; margin-right: -8px;
}
.nav-burger span {
  display: block; width: 26px; height: 2px; background: var(--ink);
  border-radius: 1px; transition: transform 0.3s, opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--body); font-size: 16px; font-weight: 600;
  padding: 18px 32px; border: none; cursor: pointer; white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-h); color: #fff; }
.btn-outline { background: none; border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 14px 26px; font-size: 15px; }
.btn-arrow::after { content: '→'; }

/* ─── HERO ─── */
.hero { padding-top: 96px; padding-bottom: 72px; }
.hero-lead {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px;
  margin-top: 44px; align-items: end;
}
.hero-lead p { font-size: 19px; line-height: 1.6; color: var(--text); max-width: 560px; }
.hero-actions { display: flex; gap: 14px; justify-content: flex-end; flex-wrap: wrap; }

/* ─── METRICS STRIP ─── */
.metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border); margin-top: 72px;
}
.metric { background: var(--bg); padding: 28px 28px 24px; display: flex; flex-direction: column; gap: 6px; }
.metric-num { font-family: var(--display); font-weight: 600; font-size: 32px; line-height: 1.1; }
.metric-num.accent { color: var(--accent); }
.metric-lbl { font-size: 14px; color: var(--muted); }

/* ─── SECTION HEADER ─── */
.sec-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px; margin-bottom: 48px; flex-wrap: wrap;
}
.sec-link { font-weight: 600; font-size: 15px; white-space: nowrap; }

/* ─── SERVICE CARDS ─── */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
  display: flex; flex-direction: column; background: var(--card);
  border: 1px solid var(--border); color: var(--ink);
  transition: border-color 0.2s;
}
.svc-card:hover { border-color: var(--accent); color: var(--ink); }
.svc-card-img {
  height: 200px; background: var(--bg-alt); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.svc-card-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-card-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.svc-card-num { font-family: var(--display); font-size: 13px; color: var(--accent); }
.svc-card h3 { font-family: var(--display); font-weight: 500; font-size: 20px; }
.svc-card p { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* Плейсхолдер фото */
.photo-slot {
  background: repeating-linear-gradient(45deg, #edeae4, #edeae4 12px, #e7e3dc 12px, #e7e3dc 24px);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: #9a958c; font-size: 13px; padding: 20px; line-height: 1.5;
  width: 100%; height: 100%;
}

/* ─── DARK NUMBERS (split) ─── */
.dark-split {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center;
}
.dark-rows { display: flex; flex-direction: column; }
.dark-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  padding: 22px 0; border-bottom: 1px solid var(--dark-brd);
}
.dark-row:last-child { border-bottom: none; }
.dark-row-num { font-family: var(--display); font-weight: 600; font-size: 34px; color: var(--accent); }
.dark-row-lbl { font-size: 16px; color: var(--on-dark-2); text-align: right; }

/* ─── ADVANTAGES (border-top grid) ─── */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; }
.adv {
  display: flex; flex-direction: column; gap: 10px;
  border-top: 2px solid var(--ink); padding-top: 20px;
}
.adv h3 { font-family: var(--display); font-weight: 500; font-size: 17px; }
.adv p { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* ─── PROCESS ─── */
.proc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.proc {
  background: var(--card); padding: 32px; display: flex; flex-direction: column; gap: 14px;
}
.proc-num { font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--accent); }
.proc h3 { font-family: var(--display); font-weight: 500; font-size: 19px; }
.proc p { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* ─── PROJECTS ─── */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
.proj { display: flex; flex-direction: column; gap: 16px; }
.proj-img { height: 300px; background: var(--bg-alt); overflow: hidden; }
.proj-img img { width: 100%; height: 100%; object-fit: cover; }
.proj-cap { display: flex; flex-direction: column; gap: 4px; }
.proj-cap h3 { font-family: var(--display); font-weight: 500; font-size: 18px; }
.proj-cap span { font-size: 14px; color: var(--muted); }

/* ─── CTA BAND ─── */
.cta { padding-top: 96px; padding-bottom: 96px; }
.cta-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.cta h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.12; max-width: 820px; }
.cta p { font-size: 18px; color: var(--on-dark-2); }

/* ─── SERVICE DETAIL (alternating) ─── */
.svc-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  padding: 48px 0; border-top: 1px solid var(--border);
}
.svc-detail-text { display: flex; flex-direction: column; gap: 18px; }
.svc-detail-num { font-family: var(--display); font-size: 14px; color: var(--accent); }
.svc-detail h2 { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3vw, 32px); }
.svc-detail p { font-size: 16px; line-height: 1.6; color: var(--text); }
.svc-detail-img { height: 340px; background: var(--bg-alt); overflow: hidden; }
.svc-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { border: 1px solid var(--border-2); padding: 8px 14px; font-size: 13px; color: var(--text); }

/* ─── ABOUT ─── */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 40px; }
.about-intro p:first-child { font-size: 19px; line-height: 1.6; color: var(--text); }
.about-intro p:last-child { font-size: 16px; line-height: 1.65; color: var(--muted); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.stat-cell { display: flex; flex-direction: column; gap: 6px; }
.stat-cell-num { font-family: var(--display); font-weight: 600; font-size: 36px; color: var(--accent); }
.stat-cell-lbl { font-size: 14px; color: var(--on-dark-2); }

/* Этапы (border-top терракота) */
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stage { border-top: 2px solid var(--accent); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.stage-num { font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--accent); }
.stage h3 { font-family: var(--display); font-weight: 500; font-size: 17px; }
.stage p { font-size: 14px; line-height: 1.55; color: var(--muted); }

/* Виды конструкций (1px-грид) */
.types {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border-2); border: 1px solid var(--border-2);
}
.type-cell { background: var(--bg-alt); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.type-cell h3 { font-family: var(--display); font-weight: 500; font-size: 15px; }
.type-cell p { font-size: 13px; line-height: 1.5; color: var(--muted); }

/* ─── CONTACTS ─── */
.contacts-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start;
}
.contacts-left { display: flex; flex-direction: column; gap: 32px; }
.contact-lines { display: flex; flex-direction: column; gap: 20px; }
.contact-line { display: flex; flex-direction: column; gap: 6px; }
.contact-line-lbl { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.contact-line-big { color: var(--ink); font-family: var(--display); font-weight: 500; font-size: 22px; }
.contact-line-big:hover { color: var(--accent); }
.contact-line-mid { color: var(--ink); font-family: var(--display); font-weight: 500; font-size: 20px; }
.contact-line-mid:hover { color: var(--accent); }
.contact-line-addr { font-size: 17px; line-height: 1.5; color: var(--ink); }
.req-box {
  border: 1px solid var(--border); background: var(--card); padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.req-box strong { font-family: var(--display); font-weight: 500; font-size: 14px; }
.req-box-body { font-size: 14px; color: var(--muted); line-height: 1.7; }
.req-box-body b { color: var(--ink); font-weight: 500; }

/* Тёмная форма */
.form-dark {
  background: var(--dark); color: var(--on-dark); padding: 48px;
  display: flex; flex-direction: column; gap: 24px;
}
.form-dark-head { display: flex; flex-direction: column; gap: 10px; }
.form-dark-head h2 { font-family: var(--display); font-weight: 600; font-size: 26px; }
.form-dark-head p { font-size: 15px; color: var(--on-dark-2); }
.form-fields { display: flex; flex-direction: column; gap: 14px; }
.form-dark input, .form-dark select, .form-dark textarea {
  background: var(--dark-input); border: 1px solid var(--dark-brd); color: var(--on-dark);
  padding: 15px 18px; font-size: 15px; font-family: var(--body); outline: none;
  transition: border-color 0.2s; width: 100%; appearance: none;
}
.form-dark textarea { resize: vertical; min-height: 110px; }
.form-dark input::placeholder, .form-dark textarea::placeholder { color: #8a93a0; }
.form-dark input:focus, .form-dark select:focus, .form-dark textarea:focus { border-color: var(--accent); }
.form-dark select option { background: var(--dark); color: var(--on-dark); }
.form-btn {
  background: var(--accent); color: #fff; border: none;
  padding: 17px 32px; font-size: 16px; font-weight: 600; font-family: var(--body);
  cursor: pointer; transition: background 0.2s; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.form-btn:hover { background: var(--accent-h); }
.form-btn:disabled { opacity: 0.7; cursor: default; }
.form-hint { font-size: 12px; color: var(--muted); line-height: 1.5; }
.form-hint a { color: var(--on-dark-2); text-decoration: underline; text-underline-offset: 2px; }
.form-hint a:hover { color: var(--accent); }

/* Ошибки / согласие / капча в тёмной форме */
.field-error { display: none; font-size: 12px; color: #e0785a; margin-top: -6px; }
.field-error.show { display: block; }
.consent {
  display: flex; align-items: flex-start; gap: 10px; font-size: 12px; color: var(--on-dark-2); line-height: 1.5;
}
.consent input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--accent); flex-shrink: 0; cursor: pointer; }
.consent label { cursor: pointer; }
.consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.captcha {
  background: var(--dark-input); border: 1px solid var(--dark-brd); padding: 14px 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.captcha-q { font-size: 14px; color: var(--on-dark-2); display: flex; align-items: center; gap: 8px; }
.captcha-q strong { color: var(--accent); font-size: 16px; }
.captcha-row { display: flex; gap: 8px; }
.captcha-row input { width: 120px; }
.captcha-refresh {
  width: 44px; background: rgba(167,89,42,0.15); border: 1px solid var(--dark-brd); color: var(--accent);
  font-size: 18px; cursor: pointer; transition: background 0.2s; flex-shrink: 0;
}
.captcha-refresh:hover { background: rgba(167,89,42,0.3); }
.form-msg { display: none; padding: 16px 18px; font-size: 14px; line-height: 1.6; }
.form-msg.show { display: block; }
.form-msg--ok { background: rgba(74,138,90,0.15); border: 1px solid #4a8a5a; color: var(--on-dark); }
.form-msg--err { background: rgba(224,120,90,0.12); border: 1px solid #c5603a; color: var(--on-dark-2); }
.form-msg a { color: var(--accent); }

/* Карта */
.map-slot { height: 360px; background: var(--bg-alt); overflow: hidden; border: 1px solid var(--border); }
.map-slot iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(12%) contrast(1.03); }
.map-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  font-size: 13px; letter-spacing: 0.06em; color: var(--accent); font-weight: 600;
}

/* ─── FOOTER ─── */
.footer { background: var(--dark-2); color: var(--on-dark-2); }
.footer-top {
  max-width: var(--maxw); margin: 0 auto; padding: 64px var(--pad) 40px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-emblem { height: 34px; width: auto; display: block; }
.footer-logo-word { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: 0.04em; color: var(--on-dark); align-self: center; }
.footer-logo-dot { width: 8px; height: 8px; background: var(--accent); display: inline-block; }
.footer-brand p { font-size: 14px; line-height: 1.6; max-width: 300px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer-col strong { color: var(--on-dark); font-family: var(--display); font-weight: 500; font-size: 13px; margin-bottom: 2px; }
.footer-col a { color: var(--on-dark-2); }
.footer-col a:hover { color: var(--accent); }
.footer-col a.bright { color: var(--on-dark); }
.footer-col span { line-height: 1.6; }
.footer-bottom {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad) 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--accent); }
.footer-bottom-links { display: flex; gap: 22px; flex-wrap: wrap; }

/* Компактный футер (внутренние страницы) */
.footer-slim {
  max-width: var(--maxw); margin: 0 auto; padding: 48px var(--pad) 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.footer-slim nav { display: flex; gap: 28px; font-size: 14px; flex-wrap: wrap; }
.footer-slim nav a { color: var(--on-dark-2); }
.footer-slim nav a:hover { color: var(--accent); }
.footer-slim-copy { font-size: 13px; color: var(--muted); }

/* ─── COOKIE-БАННЕР (152-ФЗ) ─── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
  background: var(--dark); color: var(--on-dark-2);
  padding: 20px var(--pad); display: flex; align-items: center; justify-content: center;
  gap: 24px; flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
  transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-inner {
  max-width: var(--maxw); width: 100%; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cookie-text { font-size: 13px; line-height: 1.6; max-width: 720px; }
.cookie-text a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept { background: var(--accent); color: #fff; border: none; padding: 11px 28px; font-size: 13px; font-weight: 600; font-family: var(--body); cursor: pointer; transition: background 0.2s; }
.cookie-accept:hover { background: var(--accent-h); }
.cookie-reject { background: none; color: var(--on-dark-2); border: 1px solid var(--dark-brd); padding: 11px 20px; font-size: 13px; font-family: var(--body); cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.cookie-reject:hover { border-color: #556170; color: var(--on-dark); }

/* ─── LEGAL PAGE ─── */
.legal { max-width: 820px; }
.legal .legal-date { font-size: 13px; color: var(--muted); margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.legal h2 { font-family: var(--display); font-weight: 600; font-size: 24px; margin: 40px 0 14px; }
.legal h2:first-of-type { margin-top: 0; }
.legal p { font-size: 15px; color: var(--text); line-height: 1.8; margin-bottom: 14px; }
.legal ul { margin: 0 0 18px 20px; list-style: disc; }
.legal li { font-size: 15px; color: var(--text); line-height: 1.8; margin-bottom: 6px; }
.legal strong { color: var(--ink); font-weight: 500; }

/* ═══════════════════════════════════════════════
   RESPONSIVE — планшет ≤1024, мобильный ≤768, ≤480
   ═══════════════════════════════════════════════ */

/* ── НАВИГАЦИЯ → БУРГЕР (≤1100px: меню широкое — лого+5 пунктов+телефон+кнопка) ── */
@media (max-width: 1100px) {
  .nav-burger { display: flex; }
  .nav-right .nav-phone, .nav-right .nav-cta { display: none; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(250,249,247,0.98); backdrop-filter: blur(16px);
    flex-direction: column; gap: 0; padding: 8px 0 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    transform: translateY(-120%); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), opacity 0.3s, visibility 0.35s;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-links a { display: block; padding: 15px var(--pad); font-size: 16px; border-bottom: 1px solid var(--border); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-mobile-cta { display: block; margin: 12px var(--pad) 0; }
  .nav-mobile-cta .btn { width: 100%; }
  /* Кнопка в меню — белый текст на терракоте (перебиваем .nav-links a) */
  .nav-links .btn-primary, .nav-mobile-cta .btn-primary,
  .nav-links .btn-primary:hover, .nav-mobile-cta .btn-primary:hover { color: #fff; }
}

/* ── ПЛАНШЕТ ── */
@media (max-width: 1024px) {
  :root { --pad: 28px; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .hero { padding-top: 64px; padding-bottom: 56px; }

  .hero-lead { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .hero-actions { justify-content: flex-start; }
  .metrics { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .proc-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .dark-split { grid-template-columns: 1fr; gap: 40px; }
  .about-intro { grid-template-columns: 1fr; gap: 32px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stages { grid-template-columns: repeat(2, 1fr); }
  .types { grid-template-columns: repeat(2, 1fr); }
  .contacts-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
}

/* ── МОБИЛЬНЫЙ ── */
@media (max-width: 768px) {
  :root { --nav-h: 64px; --pad: 18px; }

  .section { padding-top: 56px; padding-bottom: 56px; }
  .hero { padding-top: 48px; padding-bottom: 44px; }

  .metrics { grid-template-columns: 1fr 1fr; margin-top: 44px; }
  .cards-3 { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; gap: 32px; }
  .proc-grid { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: 1fr; gap: 28px; }
  .stat-row { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .stages { grid-template-columns: 1fr 1fr; gap: 20px; }
  .types { grid-template-columns: 1fr; }

  .sec-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 32px; }

  /* Услуги: чередование — фото всегда сверху */
  .svc-detail { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
  .svc-detail-img { order: -1; height: 240px; }

  .form-dark { padding: 28px 20px; }
  .contact-line-big { font-size: 20px; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; padding: 40px var(--pad) 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; padding: 0 var(--pad) 24px; }
  .footer-slim { flex-direction: column; align-items: flex-start; gap: 20px; padding: 36px var(--pad) 28px; }

  .cookie-inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-actions { justify-content: stretch; }
  .cookie-accept, .cookie-reject { flex: 1; text-align: center; }
}

/* ── МАЛЫЕ ЭКРАНЫ ── */
@media (max-width: 480px) {
  .metrics { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .stages { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

/* ── ДОСТУПНОСТЬ ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  .nav, .cookie-banner { display: none !important; }
  body { background: #fff; color: #000; }
  .section-dark, .form-dark, .footer { background: #f2f2f2 !important; color: #000 !important; }
}
