/* ============================================================
   «Форд-Мотор» — графит + синий Ford + белый, инженерная сетка
   Диагональные акценты, номера разделов, синие линейки на карточках
   ============================================================ */

:root {
    --ink: #1c2027;
    --ink-2: #262b34;
    --blue: #1f5fd0;
    --blue-d: #174bb0;
    --blue-l: #e8effb;
    --paper: #ffffff;
    --gray: #f4f5f7;
    --gray-2: #e7e9ee;
    --line: #dcdfe6;
    --txt: #2b313b;
    --muted: #6c7480;
}

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

body {
    margin: 0;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--txt);
    background: var(--paper);
    overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration: none; transition: color .16s, background .16s, border-color .16s; }
a:hover { color: var(--blue); }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1rem; padding-left: 1.1rem; }

h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 800; line-height: 1.13; letter-spacing: -.03em; color: var(--ink); }
h1 { font-size: clamp(28px, 4.1vw, 52px); }
h2 { font-size: clamp(22px, 2.9vw, 35px); }
h3 { font-size: clamp(16px, 1.6vw, 19px); letter-spacing: -.02em; }
h4 { font-size: 15.5px; }

.ic { width: 18px; height: 18px; flex: 0 0 auto; display: inline-block; vertical-align: middle; }
.ic--sm { width: 15px; height: 15px; }
.ic--lg { width: 24px; height: 24px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 26px; }

/* ---------- Верхняя строка ---------- */
.bar { background: var(--ink); color: #9aa3b2; font-size: 12.5px; }
.bar__in { display: flex; align-items: center; gap: 20px; min-height: 34px; flex-wrap: wrap; padding-top: 3px; padding-bottom: 3px; }
.bar__i { display: inline-flex; align-items: center; gap: 7px; }
.bar__i .ic { width: 14px; height: 14px; color: #6f9bec; }
.bar__tg { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: #fff; font-weight: 600; }
.bar__tg .ic { width: 14px; height: 14px; color: #6f9bec; }
.bar__tg:hover { color: #8fb6ff; }

/* ---------- Шапка ---------- */
.head { position: sticky; top: 0; z-index: 90; background: #fff; border-bottom: 1px solid var(--line); }
.head.is-scrolled { box-shadow: 0 6px 18px rgba(28, 32, 39, .08); }
.head__in { display: flex; align-items: center; gap: 16px; min-height: 76px; padding-top: 10px; padding-bottom: 10px; }

.logo { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.logo__m { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; background: var(--blue); color: #fff; border-radius: 6px; font-size: 19px; font-weight: 800; }
.logo__t { display: flex; flex-direction: column; line-height: 1.06; }
.logo__t b { font-size: 18px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.logo__t i { font-style: normal; font-size: 9.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-top: 4px; }
.logo--ft .logo__m { background: #fff; color: var(--ink); }
.logo--ft .logo__t b { color: #fff; }
.logo--ft .logo__t i { color: #7f8896; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { padding: 9px 11px; font-size: 13.5px; color: var(--ink); border-radius: 5px; white-space: nowrap; }
.nav a:hover { background: var(--gray); }
.nav a.cur { background: var(--ink); color: #fff; }

.head__r { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.head__tel { font-size: 16.5px; font-weight: 800; color: var(--ink); white-space: nowrap; letter-spacing: -.02em; }
.head__tel:hover { color: var(--blue); }

.burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 40px; padding: 0 9px; border: 1px solid var(--line); border-radius: 5px; background: #fff; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .16s, opacity .16s; }
body.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Кнопки ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 13px 22px; border: 1px solid transparent; border-radius: 5px;
    font-family: inherit; font-size: 14px; font-weight: 700; line-height: 1.2;
    cursor: pointer; transition: background .16s, color .16s, border-color .16s;
}
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-d); color: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; color: #fff; }
.btn--line { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); background: var(--gray); }
.btn--line-l { background: transparent; border-color: rgba(255, 255, 255, .38); color: #fff; }
.btn--line-l:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--full { width: 100%; }
.btn--sm { padding: 9px 15px; font-size: 12.5px; }
.btn--lg { padding: 16px 28px; font-size: 15px; }
.btn[disabled] { opacity: .55; cursor: default; }

/* ---------- Секции ---------- */
.sec { padding: clamp(38px, 4.8vw, 72px) 0; }
.sec--gray { background: var(--gray); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec--ink { background: var(--ink); color: #9aa3b2; }
.sec--ink h2, .sec--ink h3 { color: #fff; }

.shead { margin-bottom: clamp(18px, 2.6vw, 30px); display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; }
.shead__n { font-size: 15px; font-weight: 800; color: var(--blue); letter-spacing: .04em; padding-top: 6px; border-top: 2px solid var(--blue); }
.shead h2 { margin: 0 0 8px; }
.shead p { margin: 0; color: var(--muted); font-size: 15px; max-width: 780px; }
.sec--ink .shead p { color: #8b94a2; }

/* ---------- Герой ---------- */
.hero { position: relative; background: var(--ink); color: #a9b2c0; padding: clamp(26px, 3.4vw, 52px) 0 0; overflow: hidden; }
.hero::before {
    content: ''; position: absolute; right: -10%; top: -30%; width: 62%; height: 160%;
    background: repeating-linear-gradient(115deg, rgba(31, 95, 208, .22) 0 26px, transparent 26px 74px);
    pointer-events: none;
}
.hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(20px, 3.2vw, 44px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: 16px; }
.hero__mark { color: #fff; background: var(--blue); padding: 0 7px; display: inline-block; border-radius: 4px; }
.hero__lead { font-size: 16.5px; color: #a9b2c0; max-width: 540px; margin-bottom: 18px; }
.hero__models { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.hero__models span { font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; border: 1px solid #3a4351; padding: 3px 9px; border-radius: 3px; color: #c3cbd8; }
.hero__act { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__m { position: relative; }
.hero__fr { border-radius: 8px; overflow: hidden; border: 1px solid #39424f; background: #21262e; padding: 6px; }
.hero__fr img { border-radius: 4px; width: 100%; aspect-ratio: 4 / 3.05; object-fit: cover; }
.hero__tag { position: absolute; left: -8px; bottom: 16px; background: var(--blue); color: #fff; padding: 9px 14px; border-radius: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; }
.hero__tag b { display: block; font-size: 16px; }
.stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(22px, 3vw, 36px); border-top: 1px solid #333c49; }
.stat { padding: 16px 18px 18px 0; border-right: 1px solid #333c49; }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: clamp(23px, 2.6vw, 31px); font-weight: 800; letter-spacing: -.04em; color: #6f9bec; line-height: 1; }
.stat span { display: block; margin-top: 7px; font-size: 12px; color: #8b94a2; }

/* ---------- Карточки услуг ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { position: relative; display: block; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 6px; padding: 20px 18px 18px; transition: transform .14s, box-shadow .16s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(28, 32, 39, .1); }
.card__n { position: absolute; right: 16px; top: 14px; font-size: 11px; font-weight: 700; color: var(--line); letter-spacing: .06em; }
.card .ic { width: 26px; height: 26px; color: var(--blue); margin-bottom: 10px; }
.card b { display: block; font-size: 15.5px; color: var(--ink); letter-spacing: -.02em; }
.card span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.card__p { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 800; color: var(--ink); }

/* ---------- Спецификация ---------- */
.spec { border: 1px solid var(--line); border-radius: 6px; overflow-x: auto; background: #fff; }
.spec table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 620px; }
.spec th { text-align: left; padding: 11px 15px; background: var(--ink); color: #fff; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
.spec td { padding: 12px 15px; border-bottom: 1px solid var(--line); }
.spec tr:last-child td { border-bottom: 0; }
.spec tbody tr:hover { background: #f8faff; }
.spec td:last-child, .spec th:last-child { text-align: right; white-space: nowrap; }
.spec .p { font-weight: 800; color: var(--ink); }
.spec .d { color: var(--muted); font-size: 13px; }

/* ---------- Чек-лист / заметка / сумма ---------- */
.checks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px 18px; }
.checks li { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 14px; }
.checks .ic { width: 15px; height: 15px; margin-top: 5px; color: var(--blue); }
.note { border-left: 3px solid var(--blue); background: var(--gray); padding: 13px 16px; font-size: 13.5px; color: #313845; margin-bottom: 18px; }
.sum { font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); margin-bottom: 16px; }
.sum small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-top: 4px; }

/* ---------- Две колонки ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3.2vw, 44px); align-items: center; }
.duo--rev .duo__m { order: 2; }
.duo__m img { width: 100%; aspect-ratio: 4 / 3.05; object-fit: cover; border: 1px solid var(--line); border-radius: 6px; }

/* ---------- Этапы ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 18px 16px; }
.step b { display: block; font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--blue); margin-bottom: 8px; }
.step h3 { font-size: 15px; margin-bottom: 4px; }
.step p { margin: 0; font-size: 12.5px; color: var(--muted); }
.step time { display: inline-block; margin-top: 8px; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

/* ---------- Цифры ---------- */
.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.num { border: 1px solid #39424f; border-radius: 6px; padding: 18px; }
.num b { display: block; font-size: clamp(24px, 3vw, 33px); font-weight: 800; letter-spacing: -.04em; color: #6f9bec; line-height: 1; }
.num span { display: block; margin-top: 7px; font-size: 12px; color: #8b94a2; }

/* ---------- Кейсы ---------- */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.work { display: block; background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; transition: border-color .16s, transform .14s; }
.work:hover { border-color: var(--blue); transform: translateY(-2px); }
.work__i { position: relative; }
.work img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.work__s { position: absolute; left: 10px; top: 10px; background: var(--blue); color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 3px; }
.work__b { padding: 13px 15px 15px; }
.work__b b { display: block; font-size: 14.5px; color: var(--ink); }
.work__b span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; }

/* ---------- Отзывы ---------- */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 20px; }
.quote p { font-size: 14.5px; }
.quote__w { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.quote__w b { color: var(--ink); }

/* ---------- CTA ---------- */
.cta { background: var(--ink); color: #9aa3b2; padding: clamp(24px, 3vw, 40px); border-radius: 6px; display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: 6px; }
.cta p { margin: 0; font-size: 15px; color: #9aa3b2; max-width: 600px; }
.cta__act { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; cursor: pointer; font-size: 15px; font-weight: 700; color: var(--ink); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 19px; color: var(--blue); }
.faq details[open] summary::after { content: '−'; }
.faq .a { padding: 0 16px 16px; font-size: 14px; color: #313845; max-width: 820px; }

/* ---------- Формы ---------- */
.form { display: grid; gap: 12px; }
.field { display: block; }
.field input, .field select, .field textarea {
    width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 5px; background: #fff;
    font-family: inherit; font-size: 15px; color: var(--ink); transition: border-color .16s;
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field input.is-error { border-color: #d63b2f; }
.form__n { font-size: 11.5px; color: var(--muted); margin: 0; }
.form__n a { text-decoration: underline; color: var(--muted); }
.form__m { display: none; padding: 9px 12px; font-size: 13px; border-radius: 5px; }
.form__m.is-error { display: block; background: #fdeceb; color: #a5301f; }
.form__m.is-ok { display: block; background: var(--blue-l); color: var(--blue-d); }

/* ---------- Модалка ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 18px; }
.modal.is-open { display: flex; }
.modal__bg { position: absolute; inset: 0; background: rgba(20, 24, 30, .8); }
.modal__box { position: relative; z-index: 1; width: 100%; max-width: 430px; max-height: 92vh; overflow-y: auto; padding: 26px 22px; background: #fff; border-radius: 8px; border-top: 4px solid var(--blue); }
.modal__x { position: absolute; top: 12px; right: 14px; width: 30px; height: 30px; border: 1px solid var(--line); background: #fff; border-radius: 4px; font-size: 18px; line-height: 1; cursor: pointer; }
.modal__x:hover { background: var(--gray); }
.modal__k { display: inline-block; background: var(--blue-l); color: var(--blue-d); padding: 2px 8px; border-radius: 3px; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.modal__t { font-size: 21px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 6px; }
.modal__s { font-size: 13px; color: var(--muted); margin-bottom: 16px; }

/* ---------- Футер ---------- */
.ft { background: var(--ink); color: #7f8896; padding: clamp(30px, 4vw, 48px) 0 18px; font-size: 13px; }
.ft__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 28px; padding-bottom: 22px; border-bottom: 1px solid #333c49; }
.ft__b { display: flex; flex-direction: column; align-items: flex-start; }
.ft__about { margin: 12px 0 14px; font-size: 12px; color: #7f8896; max-width: 300px; }
.ft__tel { font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.ft__tel:hover { color: #8fb6ff; }
.ft__tg { display: inline-flex; align-items: center; gap: 7px; margin-top: 6px; font-size: 12.5px; color: #c3cbd8; }
.ft__tg .ic { color: #8fb6ff; width: 15px; height: 15px; }
.ft__h { font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: #5d6673; margin: 0 0 10px; }
.ft__c { display: flex; flex-direction: column; gap: 7px; }
.ft__c a { color: #c3cbd8; font-size: 13px; }
.ft__c a:hover { color: #8fb6ff; }
.ft__a { display: flex; flex-direction: column; gap: 8px; font-style: normal; margin-bottom: 12px; }
.ft__a span { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; line-height: 1.5; }
.ft__a .ic { color: #8fb6ff; width: 15px; height: 15px; margin-top: 3px; }
.ft__bot { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 16px; }
.ft__bot p { margin: 0; font-size: 11.5px; color: #5d6673; max-width: 560px; }
.ft__d { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.ft__d a { font-size: 11.5px; color: #5d6673; text-decoration: underline; }
.ft__d a:hover { color: #fff; }

/* ---------- Мобильная панель ---------- */
.mobile { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
.mobile__a, .mobile__b { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 12px 8px; border-radius: 5px; font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; border: 1px solid transparent; }
.mobile__a { background: var(--gray); color: var(--ink); }
.mobile__b { background: var(--blue); color: #fff; }

/* ---------- Внутренние ---------- */
.lead { padding: clamp(20px, 3vw, 38px) 0; background: var(--ink); color: #a9b2c0; }
.lead h1 { color: #fff; margin-bottom: 10px; }
.lead p { max-width: 820px; color: #a9b2c0; font-size: 15.5px; margin: 0; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: #7f8896; margin-bottom: 12px; flex-wrap: wrap; }
.crumbs a { color: #7f8896; }
.crumbs a:hover { color: #8fb6ff; }
.crumbs i { font-style: normal; color: #3f4855; }

.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(20px, 3vw, 42px); align-items: start; }
.about__m { display: grid; gap: 14px; }
.about__m img { width: 100%; border: 1px solid var(--line); border-radius: 6px; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.team__i { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 16px; }
.team__i b { display: block; font-size: 14.5px; color: var(--ink); }
.team__i i { display: block; font-style: normal; font-size: 10.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--blue); margin: 3px 0 8px; }
.team__i p { margin: 0; font-size: 12.5px; color: var(--muted); }

.block + .block { margin-top: 28px; }
.block h2 { font-size: clamp(19px, 2vw, 25px); margin-bottom: 4px; }
.block .hint { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }

.vac { display: grid; gap: 12px; }
.vac__i { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 20px; }
.vac__t { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.vac h3 { margin: 0; }
.vac__p { font-size: 16px; font-weight: 800; color: var(--blue); white-space: nowrap; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 12px; }
.tag { font-size: 10.5px; letter-spacing: .04em; background: var(--gray); border: 1px solid var(--line); border-radius: 3px; padding: 2px 8px; color: #313845; }
.vac ul { margin: 0 0 14px; padding-left: 16px; font-size: 13.5px; color: #313845; }
.vac__act { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.vac__act small { font-size: 11.5px; color: var(--muted); }

.cgrid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; align-items: start; }
.cbox { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.cbox__r { display: flex; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.cbox__r:last-child { border-bottom: 0; }
.cbox__i { width: 34px; height: 34px; display: grid; place-items: center; background: var(--gray); border-radius: 5px; flex: 0 0 auto; }
.cbox__i .ic { width: 16px; height: 16px; color: var(--blue); }
.cbox b { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 2px; }
.cbox p, .cbox a { margin: 0; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.cbox small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 400; }
.map { margin-top: 14px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.map iframe { display: block; width: 100%; height: 320px; border: 0; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 22px; }
.panel--ink { background: var(--ink); border-color: var(--ink); color: #9aa3b2; }
.panel__h { font-size: 17px; font-weight: 800; margin-bottom: 6px; letter-spacing: -.02em; color: var(--ink); }
.panel--ink .panel__h { color: #fff; }
.panel__t { font-size: 12.5px; color: var(--muted); margin-bottom: 16px; }
.panel--ink .panel__t { color: #8b94a2; }
.panel--ink .field input, .panel--ink .field select, .panel--ink .field textarea { background: var(--ink-2); border-color: #3a4351; color: #fff; }
.panel--ink .field input::placeholder, .panel--ink .field textarea::placeholder { color: #7f8896; }
.panel--ink .form__n { color: #8b94a2; }

.calc { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; align-items: start; }
.calc__p { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 22px; }
.calc__g { margin-bottom: 20px; }
.calc__g:last-child { margin-bottom: 0; }
.calc__l { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 10px; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opt { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 5px; background: #fff; font-family: inherit; font-size: 13px; text-align: left; cursor: pointer; transition: border-color .16s, background .16s; }
.opt:hover { border-color: var(--blue); }
.opt.is-on { border-color: var(--blue); background: var(--blue-l); font-weight: 700; }
.opt .ic { width: 15px; height: 15px; }
.calc__s { background: var(--ink); color: #9aa3b2; padding: 22px; border-radius: 6px; position: sticky; top: 96px; }
.calc__sum { font-size: clamp(23px, 2.9vw, 32px); font-weight: 800; letter-spacing: -.03em; color: #fff; line-height: 1.06; margin-bottom: 4px; }
.calc__h { font-size: 11px; color: #7f8896; margin-bottom: 14px; }
.calc__l2 { list-style: none; padding: 12px 0 0; margin: 0 0 16px; border-top: 1px solid #333c49; display: grid; gap: 6px; }
.calc__l2 li { display: flex; justify-content: space-between; gap: 10px; margin: 0; font-size: 11.5px; color: #9aa3b2; }
.calc__l2 b { color: #fff; white-space: nowrap; }
.calc__s .field input { background: var(--ink-2); border-color: #3a4351; color: #fff; }
.calc__s .field input::placeholder { color: #7f8896; }
.calc__s .form__n { color: #8b94a2; }

.center { min-height: 54vh; display: grid; place-items: center; padding: 50px 0; text-align: center; }
.center__i { width: 62px; height: 62px; margin: 0 auto 16px; display: grid; place-items: center; background: var(--blue-l); color: var(--blue); border-radius: 50%; }
.center__i .ic { width: 28px; height: 28px; }
.center p { color: var(--muted); max-width: 520px; margin: 0 auto 20px; }
.center__a { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) {
    .nav a { padding: 9px 8px; font-size: 12.5px; }
    .head__tel { font-size: 15px; }
}

@media (max-width: 1024px) {
    .nav { display: none; }
    .burger { display: flex; }
    body.menu-open { overflow: hidden; }
    .nav--open {
        display: flex; flex-direction: column; align-items: stretch; gap: 0;
        position: fixed; top: 0; right: 0; bottom: 0; width: min(330px, 86vw); z-index: 120;
        padding: 84px 0 24px; background: #fff; border-left: 1px solid var(--line); overflow-y: auto;
    }
    .nav--open a { padding: 14px 20px; font-size: 14.5px; border-radius: 0; border-bottom: 1px solid var(--line); }
    .hero__in, .duo, .about, .cgrid, .calc, .quotes, .works, .team, .steps, .nums, .stats, .cards { grid-template-columns: 1fr; }
    .stat { border-right: 0; border-bottom: 1px solid #333c49; padding: 14px 0; }
    .duo--rev .duo__m { order: 0; }
    .calc__s { position: static; }
    .mobile { display: flex; }
    body { padding-bottom: 64px; }
    .ft__grid { grid-template-columns: 1fr 1fr; gap: 22px; }
    .shead { grid-template-columns: 1fr; gap: 8px; }
    .shead__n { border-top: 0; padding-top: 0; }
}

@media (max-width: 768px) {
    .wrap { padding: 0 16px; }
    .bar__in { justify-content: center; gap: 10px; font-size: 11px; }
    .bar__tg { margin-left: 0; }
    .head__in { min-height: 64px; gap: 10px; }
    .head__tel { display: none; }
    .head__r .btn { display: none; }
    .hero__lead { font-size: 15px; }
    .checks, .opts, .team { grid-template-columns: 1fr; }
    .calc__p, .calc__s, .panel { padding: 16px; }
    .modal__box { padding: 22px 16px; }
    .ft__grid { grid-template-columns: 1fr; gap: 18px; }
    .ft__bot { flex-direction: column; }
    .cta { padding: 20px 16px; }
    .spec th, .spec td { padding: 10px 11px; font-size: 13px; }
}
