/* ================= Академия Права — лендинг по ДТП =================
   Дизайн-токены из хендоффа: Oswald (заголовки) + PT Sans (текст),
   navy #12275A + красный #A6242C + золото #C8A24A, острые углы (radius 0). */
:root {
  --navy:    #12275A;
  --navy-dk: #0E1F49;
  --ink:     #16233F;
  --red:     #A6242C;
  --gold:    #C8A24A;
  --bg:      #F4F6FA;
  --border:  #E3E8F2;
  --border2: #C6D0E4;
  --muted:   #7C879E;
  --text2:   #4A5670;
  --lead:    #3D4A66;
  --on-navy: #B9C4DC;
  --on-navy-2: #8FA0C2;
  --on-navy-3: #94A2BF;
  --container: 1240px;
  --font:      "PT Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-head: "Oswald", var(--font);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 92px; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font-family: var(--font); -webkit-font-smoothing: antialiased; line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--navy); }
input, textarea, button { font-family: inherit; }
::selection { background: var(--navy); color: #fff; }
h1, h2, h3 { margin: 0; }

.wrap { max-width: 1440px; margin: 0 auto; background: #fff; overflow-x: clip; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.sec { padding-top: 80px; padding-bottom: 80px; }

/* Заголовочные утилиты */
.kicker { font-family: var(--font-head); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; display: block; width: 26px; height: 3px; background: var(--red); border-radius: 2px; }
.kicker--gold { color: #fff; }
.kicker--gold::before { display: none; }
.h2 { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: clamp(26px, 5vw, 40px); line-height: 1.08; color: var(--navy); margin-bottom: 28px; }
.redbar { width: 72px; height: 4px; background: var(--red); }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .06em; font-size: 15px; padding: 16px 26px; cursor: pointer; border: 0; text-align: center; transition: background .2s, color .2s; }
.ico { width: 18px; height: 18px; flex: none; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--red); color: #fff; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: #fff; color: var(--red); }
/* Кнопка «Консультация» в шапке по макету: красная → синяя */
.hdcta:hover { background: var(--navy); color: #fff; }
.btn--outline { border: 1.5px solid var(--navy); color: var(--navy); background: transparent; padding: 14.5px 26px; }
.btn--outline:hover { background: var(--red); color: #fff; border-color: var(--red); }
.btn--lg { font-size: 15px; padding: 17px 28px; }
.btn--block { width: 100%; }

/* ================= Плавающие элементы ================= */
.toup { position: fixed; right: 26px; bottom: 26px; z-index: 55; width: 52px; height: 52px; border: 0; background: var(--navy); color: #fff; font-family: var(--font-head); font-size: 20px; line-height: 1; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .3s, transform .3s, background .3s; box-shadow: 0 14px 30px rgba(8,20,50,.28); }
.toup:hover { background: var(--red); }
.toup.is-on { opacity: 1; pointer-events: auto; transform: none; }

.mobilebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; grid-template-columns: 1fr 1fr 1fr; background: var(--navy); border-top: 2px solid var(--red); }
.mobilebar a { color: #fff; font-family: var(--font-head); text-transform: uppercase; font-size: 13px; letter-spacing: .06em; padding: 20px 8px; text-align: center; }
.mobilebar a:nth-child(2) { border-left: 1px solid rgba(255,255,255,.16); border-right: 1px solid rgba(255,255,255,.16); }
.mobilebar a:last-child { background: var(--red); }

/* ================= Шапка ================= */
.header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0%; background: var(--red); }
.hdrow { max-width: var(--container); margin: 0 auto; padding: 14px 32px; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__img { width: 46px; height: 46px; object-fit: contain; }
.logo__lockup { display: flex; flex-direction: column; line-height: 1; }
.logo__kicker { font-family: var(--font-head); font-size: 10px; letter-spacing: .18em; color: var(--muted); text-transform: uppercase; }
.logo__name { font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing: .04em; color: var(--navy); text-transform: uppercase; margin: 3px 0; }
.logo__sub { font-family: var(--font-head); font-size: 9.5px; letter-spacing: .2em; color: var(--red); text-transform: uppercase; }
.nav { display: flex; gap: 22px; margin: 0 auto; font-size: 14px; flex-wrap: wrap; }
.nav a { color: var(--ink); }
.nav a:hover { color: var(--red); }
.hdphone { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; white-space: nowrap; }
.hdphone a { font-family: var(--font-head); font-size: 19px; font-weight: 600; color: var(--navy); letter-spacing: .02em; }
.hdphone span { font-size: 11px; color: var(--muted); }
.hdcta { flex-shrink: 0; white-space: nowrap; font-size: 14px; padding: 12px 20px; }

/* ================= Первый экран ================= */
.hero { position: relative; background: var(--bg); overflow: hidden; }
.hero__bg1 { position: absolute; inset: 0; left: 52%; background: var(--navy); clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.hero__bg2 { position: absolute; top: 34px; right: 40px; width: 132px; height: 132px; background-image: radial-gradient(var(--red) 2.2px, transparent 2.3px); background-size: 22px 22px; opacity: .55; }
.hero__bg3 { position: absolute; inset: 0; left: 52%; background: var(--red); clip-path: polygon(12% 0, 14.2% 0, .2% 100%, -2% 100%); }
.hero__inner { position: relative; max-width: var(--container); margin: 0 auto; padding: 76px 32px 84px; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 56px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--border2); padding: 7px 14px; margin-bottom: 26px; }
.badge__sq { width: 8px; height: 8px; background: var(--red); display: block; }
.badge span:last-child { font-family: var(--font-head); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.hero h1 { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: clamp(30px, 6.4vw, 52px); line-height: 1.04; text-wrap: balance; }
.hero h1.t1 { color: var(--navy); letter-spacing: .005em; margin-bottom: 8px; }
.hero h1.t2 { color: var(--red); margin-bottom: 24px; }
.hero__lead { font-size: 17px; line-height: 1.6; color: var(--lead); max-width: 540px; margin: 0 0 28px; text-wrap: pretty; }
.hero__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; max-width: 540px; margin-bottom: 32px; }
.hero__list div { display: flex; gap: 10px; align-items: baseline; font-size: 15px; color: var(--ink); }
.hero__list span { color: var(--red); font-weight: 700; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__note { font-size: 13px; color: var(--muted); margin: 16px 0 0; }
.hero__media { position: relative; }
.hero__img { position: relative; height: 420px; border: 1px solid rgba(255,255,255,.18); }
.hero__offset { position: absolute; left: -34px; bottom: -30px; background: #fff; border-left: 5px solid var(--red); padding: 18px 24px; box-shadow: 0 18px 40px rgba(8,20,50,.18); }
.hero__offset .lbl { font-family: var(--font-head); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero__offset .yr { font-family: var(--font-head); font-size: 34px; font-weight: 700; color: var(--navy); line-height: 1; }

/* Заглушки изображений */
.imgslot { position: absolute; inset: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; background: linear-gradient(135deg, #16305f, #23407a); color: rgba(255,255,255,.72); font-size: 14px; font-family: var(--font-head); letter-spacing: .04em; text-transform: uppercase; }
.imgslot img { width: 100%; height: 100%; object-fit: cover; }

/* ================= Квиз ================= */
.quiz { background: var(--navy); color: #fff; }
.quiz__inner { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 56px; align-items: start; }
.quiz h2 { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: clamp(26px,5vw,38px); line-height: 1.08; margin-bottom: 14px; }
.quiz__lead { color: var(--on-navy); font-size: 16px; line-height: 1.6; margin: 18px 0 0; }
.quiz__opts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.quiz__opt { background: rgba(255,255,255,.06); color: #fff; border: 1px solid rgba(255,255,255,.28); padding: 12px 18px; font-size: 14.5px; cursor: pointer; text-align: left; transition: background .15s, border-color .15s; font-family: var(--font); }
.quiz__opt:hover { border-color: var(--red); }
.quiz__opt.is-sel { background: var(--red); border-color: var(--red); }
.quiz__row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.quiz__row input { flex: 1 1 240px; min-width: 220px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.28); color: #fff; padding: 15px 16px; font-size: 15px; }
.quiz__row input::placeholder { color: var(--on-navy-2); }
.quiz__row input:focus { outline: none; border-color: var(--red); }
.quiz__note { color: var(--on-navy-2); font-size: 12.5px; line-height: 1.55; margin: 14px 0 0; max-width: 560px; }
.quiz__note.is-ok { color: #fff; }
.quiz__note.is-err { color: #ff9a9a; }

/* ================= Услуги ================= */
.services-head { padding-bottom: 0; }
.grid-services { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 8px; }
.svc { background: #fff; padding: 34px 30px 30px; transition: background .15s; }
.svc:hover { background: var(--bg); }
.svc__num { font-family: var(--font-head); font-size: 13px; color: var(--border2); margin-bottom: 18px; }
.svc h3 { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; font-size: 21px; line-height: 1.2; color: var(--navy); margin-bottom: 12px; }
.svc p { font-size: 15px; line-height: 1.6; color: var(--text2); margin: 0; }
.svc--cta { background: var(--navy); display: flex; flex-direction: column; justify-content: space-between; }
.svc--cta:hover { background: #0e2247; }
.svc--cta h3 { color: #fff; margin-bottom: 20px; line-height: 1.25; }

/* ================= Экспертиза ================= */
.split { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 56px; align-items: center; }
.rows { display: grid; gap: 1px; background: var(--border); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 22px; }
.rows div { background: #fff; padding: 15px 0; font-size: 15.5px; color: var(--ink); }
.note { font-size: 14px; color: var(--muted); margin: 0 0 26px; }
.exp__media { position: relative; height: 480px; }
.exp__circle { position: absolute; right: -30px; top: -30px; width: 190px; height: 190px; border-radius: 50%; background: var(--navy); opacity: .08; }
.exp__bg { position: absolute; inset: 24px -24px -24px 24px; background: var(--bg); }
.exp__img { position: absolute; inset: 0; }

/* ================= Порядок работы ================= */
.alt { background: var(--bg); }
.proc__lead { font-size: 16px; line-height: 1.6; color: var(--text2); max-width: 720px; margin: 0 0 40px; }
.grid5 { display: grid; grid-template-columns: repeat(5,1fr); gap: 20px; }
.step { background: #fff; border-top: 4px solid var(--navy); padding: 26px 22px 24px; transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s cubic-bezier(.2,.7,.3,1); }
.step:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(8,20,50,.22); }
.step__num { font-family: var(--font-head); font-size: 40px; font-weight: 700; color: var(--border); line-height: 1; margin-bottom: 12px; }
.step h3 { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: 14px; line-height: 1.55; color: var(--text2); margin: 0; }
.step--last { background: var(--navy); border-top-color: var(--red); }
.step--last .step__num { color: rgba(255,255,255,.22); }
.step--last h3 { color: #fff; }
.step--last p { color: var(--on-navy); }

/* ================= Доверие ================= */
.trust__inner { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 56px; }
.trust__lead { font-size: 16px; line-height: 1.6; color: var(--text2); margin: 0; }
.trust__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 34px; }
.trust__grid div { border-left: 3px solid var(--red); padding-left: 18px; }
.trust__grid h3 { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.trust__grid p { font-size: 14.5px; line-height: 1.55; color: var(--text2); margin: 0; }

/* ================= Кейсы ================= */
.cases { background: var(--navy); color: #fff; }
.cases__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 34px; flex-wrap: wrap; }
.cases h2 { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: clamp(26px,5vw,38px); line-height: 1.08; margin-bottom: 10px; }
.cases__lead { color: var(--on-navy); font-size: 16px; margin: 0; max-width: 620px; }
.grid4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.case { display: block; background: #fff; padding: 10px; transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s cubic-bezier(.2,.7,.3,1); }
.case:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(8,20,50,.22); }
.case img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; object-position: center; display: block; }

/* ================= Стоимость ================= */
.grid3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.price { border: 1px solid var(--border); padding: 30px 28px; display: flex; flex-direction: column; }
.price--mid { background: var(--bg); }
.price h3 { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; font-size: 19px; color: var(--navy); margin-bottom: 18px; }
.price--mid h3 { margin-bottom: 6px; }
.price p { font-size: 14px; color: var(--muted); margin: 0 0 18px; }
.price__val { font-family: var(--font-head); font-size: 34px; font-weight: 700; color: var(--navy); line-height: 1.05; margin-top: auto; }
.price__val--free { color: var(--red); }

/* ================= FAQ ================= */
.faq { display: grid; gap: 1px; background: var(--border); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.faq__item { background: #fff; }
.faq__q { width: 100%; background: none; border: 0; padding: 22px 24px; display: flex; gap: 20px; align-items: center; justify-content: space-between; cursor: pointer; text-align: left; }
.faq__q span:first-child { font-family: var(--font-head); font-weight: 500; text-transform: uppercase; font-size: 16.5px; color: var(--navy); }
.faq__sign { font-family: var(--font-head); font-size: 22px; color: var(--red); line-height: 1; }
.faq__a { display: none; padding: 0 24px 22px; font-size: 15px; line-height: 1.6; color: var(--text2); max-width: 640px; }
.faq__item.is-open .faq__a { display: block; }

/* ================= Документы + форма ================= */
.docs__inner { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; align-items: start; }
.docs__lead { font-size: 16px; line-height: 1.6; color: var(--text2); margin: 0 0 24px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tags span { border: 1px solid var(--border2); padding: 9px 14px; font-size: 14px; color: var(--ink); }
.docs__msgr { display: flex; gap: 12px; flex-wrap: wrap; }
.docs__msgr .btn--outline { font-size: 14px; padding: 12px 22px; }
.leadform { background: var(--navy); padding: 40px 38px; color: #fff; }
.leadform h3 { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: 24px; line-height: 1.15; }
.leadform .redbar { width: 64px; margin: 14px 0 22px; }
.leadform__fields { display: grid; gap: 12px; }
.leadform input, .leadform textarea { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.28); color: #fff; padding: 15px 16px; font-size: 15px; width: 100%; }
.leadform textarea { resize: vertical; }
.leadform input::placeholder, .leadform textarea::placeholder { color: var(--on-navy-2); }
.leadform input:focus, .leadform textarea:focus { outline: none; border-color: var(--red); }
.leadform .invalid { border-color: #ff9a9a; }
.dropzone { border: 1px dashed rgba(255,255,255,.35); padding: 18px 16px; font-size: 14px; color: var(--on-navy); cursor: pointer; }
.dropzone input { display: none; }
.dropzone.is-filled { border-color: rgba(255,255,255,.55); color: #fff; }
.leadform__consent { font-size: 12px; line-height: 1.5; color: var(--on-navy-3); margin: 4px 0 0; }
.leadform__consent a { color: #fff; text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ================= Контакты ================= */
.contacts__rows { display: grid; gap: 18px; max-width: 460px; }
.contacts__row { display: grid; grid-template-columns: 130px 1fr; gap: 16px; border-bottom: 1px solid var(--border); padding-bottom: 16px; }
.contacts__row:last-child { border-bottom: 0; padding-bottom: 0; }
.contacts__row .lbl { font-family: var(--font-head); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contacts__row .val { font-size: 15.5px; color: var(--ink); }
.contacts__row a.val, .contacts__row .val a { color: var(--ink); }
.contacts__phone { font-family: var(--font-head); font-size: 21px; font-weight: 600; color: var(--navy); }
#contacts .split { align-items: stretch; }
.contacts__route { display: inline-block; margin-top: 28px; }
.contacts__map { min-height: 320px; position: relative; border: 1px solid var(--border); }
.map-btn { position: absolute; inset: 0; width: 100%; border: 0; background: var(--bg); color: var(--muted); cursor: pointer; font: inherit; }
.contacts__map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ================= Футер ================= */
.footer { background: var(--navy-dk); color: var(--on-navy); }
.footer__cols { max-width: var(--container); margin: 0 auto; padding: 54px 32px 40px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.3fr); gap: 48px; align-items: start; }
.footer__reqcol { display: flex; flex-direction: column; line-height: 1.15; }
.footer__brandbox { display: inline-flex; flex-direction: column; align-items: center; align-self: flex-start; margin-bottom: 14px; }
.footer__right { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.footer__nav, .footer__contacts, .footer__legal { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer__contacts { align-items: center; }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer__brand img { width: 44px; height: 44px; object-fit: contain; background: #fff; }
.footer__brand span { font-family: var(--font-head); font-weight: 700; font-size: 19px; letter-spacing: .04em; color: #fff; text-transform: uppercase; }
.footer__head { font-family: var(--font-head); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-navy-2); margin-bottom: 6px; }
.footer__org-kicker { font-family: var(--font-head); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-navy-2); }
.footer__org-name { font-family: var(--font-head); font-weight: 700; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; color: #fff; margin: 2px 0 0; }
.footer__req { font-size: 14px; line-height: 1.8; margin: 0; }
.footer__right { font-size: 14px; }
.footer__right a { color: var(--on-navy); }
.footer__right a:hover { color: #fff; }
.footer__right a.footer__phone { color: #fff; font-family: var(--font-head); font-size: 18px; }
.footer__right a.footer__tg { color: #fff; display: inline-flex; align-items: center; gap: 7px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer__bottom div { max-width: var(--container); margin: 0 auto; padding: 18px 32px; font-size: 12.5px; color: var(--muted); display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.footer__made a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer__made a:hover { color: #fff; }

/* ================= Cookie ================= */
.cookie { position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 61; background: var(--navy); color: var(--on-navy); border-top: 2px solid var(--red); padding: 14px 18px; display: flex; gap: 14px; align-items: center; justify-content: center; flex-wrap: wrap; font-size: 13px; }
.cookie a { color: #fff; text-decoration: underline; }
.cookie .btn { padding: 10px 20px; font-size: 13px; }

/* Экран "Спасибо" в форме */
.form-done { text-align: center; padding: 20px 0; color: #fff; }
.form-done .ic { font-size: 40px; color: #fff; }

/* Появление при скролле */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ================= Адаптив ================= */
@media (max-width: 1100px) {
  .header { position: static; }
  [id] { scroll-margin-top: 16px; }
  .hdrow { flex-wrap: wrap; gap: 14px 20px; padding: 12px 20px; }
  .nav { order: 3; width: 100%; margin-left: 0; gap: 8px 18px; }
  .hdphone { margin-left: auto; }
  .container { padding: 0 20px; }
  .hero__inner, .quiz__inner, .split, .trust__inner, .docs__inner { grid-template-columns: minmax(0,1fr); gap: 36px; }
  .grid-services, .grid5, .grid4, .grid3 { grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); }
  .hero__inner { padding-left: 20px; padding-right: 20px; }
  .hero__img, .exp__media { height: 300px; }
  .hero__offset { position: static; margin-top: 18px; box-shadow: none; left: 0; bottom: 0; }
  .hero__bg1, .hero__bg2, .hero__bg3, .exp__circle, .exp__bg { display: none; }
  .exp__img { position: relative; height: 300px; }
}
@media (max-width: 700px) {
  .sec { padding-top: 52px; padding-bottom: 52px; }
  .hero__inner { padding-top: 52px; padding-bottom: 52px; }
  .hdcta { display: none; }
  .grid-services, .grid5, .grid4, .grid3, .hero__list, .trust__grid { grid-template-columns: minmax(0,1fr); }
  .leadform { padding: 28px 22px; }
  .mobilebar { display: grid; }
  .toup { right: 16px; bottom: 80px; width: 46px; height: 46px; }
  body { padding-bottom: 64px; }
  .contacts__row { grid-template-columns: 1fr; gap: 4px; }
  .footer__cols { grid-template-columns: 1fr; gap: 28px; text-align: center; }

  /* Шапка — центрированная колонка на мобильном */
  .hdrow { flex-direction: column; align-items: center; gap: 12px; }
  .logo { justify-content: center; }
  .hdphone { align-items: center; margin-left: 0; }
  .nav { justify-content: center; width: 100%; }

  /* Подвал — всё по центру на мобильном */
  .footer__reqcol { align-items: center; }
  .footer__brandbox { align-self: center; }
  .footer__right { align-items: center; }
  .footer__nav, .footer__contacts, .footer__legal { justify-content: center; }
  .footer__bottom div { text-align: center; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .step, .case { transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
