/* ============================================================
   «Лингва-Россия» — тёмно-синий + белый + золото, классическое бюро
   Заголовки с засечками, тонкие золотые линии, спокойная сетка
   ============================================================ */

:root {
    --navy: #132a4a;
    --navy-2: #1d3f6e;
    --gold: #c9a227;
    --gold-d: #c9a227;
    --ink: #14202f;
    --paper: #ffffff;
    --soft: #f4f1ea;
    --line: #e2ddd3;
    --txt: #2c3644;
    --muted: #74808f;
}

*, *::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: 16.5px;
    line-height: 1.62;
    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(--gold-d); }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1rem; padding-left: 1.15rem; }

h1, h2, h3, h4 {
    margin: 0 0 .5em;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 600;
    line-height: 1.16;
    letter-spacing: -.01em;
    color: var(--navy);
}
h1 { font-size: clamp(30px, 4.2vw, 54px); }
h2 { font-size: clamp(23px, 2.8vw, 37px); }
h3 { font-size: clamp(17px, 1.6vw, 21px); }
h4 { font-size: 16px; }

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

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

/* ---------- Верхняя строка ---------- */
.tb { background: var(--navy); color: #9fb0c6; font-size: 12.5px; }
.tb__in { display: flex; align-items: center; gap: 22px; min-height: 36px; flex-wrap: wrap; padding-top: 3px; padding-bottom: 3px; }
.tb__i { display: inline-flex; align-items: center; gap: 7px; }
.tb__i .ic { width: 14px; height: 14px; color: var(--gold); }
.tb__tg { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: #fff; font-weight: 600; }
.tb__tg .ic { width: 14px; height: 14px; color: var(--gold); }
.tb__tg:hover { color: var(--gold); }

/* ---------- Шапка ---------- */
.hd { position: sticky; top: 0; z-index: 90; background: #fff; border-bottom: 1px solid var(--line); }
.hd__in { display: flex; align-items: center; gap: 16px; min-height: 82px; padding-top: 10px; padding-bottom: 10px; }

.lg { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.lg__m { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; background: var(--navy); color: var(--gold); font-family: Georgia, serif; font-size: 22px; border: 1px solid var(--gold); }
.lg__t { display: flex; flex-direction: column; line-height: 1.06; }
.lg__t b { font-family: Georgia, serif; font-size: 19px; letter-spacing: -.01em; color: var(--navy); }
.lg__t i { font-style: normal; font-size: 9.5px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 190px; }
.lg--ft .lg__m { background: transparent; }
.lg--ft .lg__t b { color: #fff; }
.lg--ft .lg__t i { color: #8b9cb0; }

.mn { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.mn a { padding: 10px 12px; font-size: 13.5px; color: var(--ink); border-bottom: 2px solid transparent; white-space: nowrap; }
.mn a:hover { border-color: var(--gold); }
.mn a.cur { color: var(--navy); border-color: var(--gold); font-weight: 600; }

.hd__r { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.hd__tel { font-size: 17px; font-weight: 700; color: var(--navy); white-space: nowrap; letter-spacing: -.01em; }
.hd__tel:hover { color: var(--gold-d); }

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

/* ---------- Кнопки ---------- */
.bl {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 14px 26px; border: 1px solid var(--navy); background: var(--navy); color: #fff;
    font-family: inherit; font-size: 14px; font-weight: 600; letter-spacing: .02em;
    cursor: pointer; transition: background .16s, color .16s, border-color .16s;
}
.bl:hover { background: var(--navy-2); color: #fff; border-color: var(--navy-2); }
.bl--line { background: transparent; color: var(--navy); border-color: var(--gold); }
.bl--line:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.bl--line-l { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.bl--line-l:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.bl--full { width: 100%; }
.bl--sm { padding: 9px 16px; font-size: 12.5px; }
.bl--lg { padding: 17px 32px; font-size: 15px; }
.bl[disabled] { opacity: .55; cursor: default; }

/* ---------- Секции ---------- */
.sec { padding: clamp(40px, 5vw, 76px) 0; }
.sec--soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec--dark { background: var(--navy); color: #a9b8ca; }
.sec--dark h2, .sec--dark h3 { color: #fff; }

.sh { margin-bottom: clamp(20px, 3vw, 34px); }
.sh__k { display: inline-block; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-d); margin-bottom: 10px; }
.sh h2 { margin-bottom: 8px; }
.sh p { margin: 0; color: var(--muted); max-width: 760px; }
.sh--dark p { color: #93a5ba; }

/* ---------- Герой ---------- */
.hr { background: var(--soft); border-bottom: 1px solid var(--line); padding: clamp(28px, 3.6vw, 60px) 0 0; }
.hr__in { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(22px, 3.4vw, 48px); align-items: center; }
.hr__badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--gold); color: var(--gold-d); padding: 6px 14px; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.hr__badge .ic { width: 14px; height: 14px; }
.hr h1 { margin-bottom: 16px; }
.hr h1 em { font-style: normal; color: var(--gold-d); }
.hr__lead { font-size: 17px; color: #3b4657; max-width: 540px; margin-bottom: 18px; }
.hr__pills { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 22px; }
.hr__pills span { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: #3b4657; }
.hr__pills .ic { width: 14px; height: 14px; color: var(--gold-d); }
.hr__act { display: flex; flex-wrap: wrap; gap: 10px; }
.hr__m img { width: 100%; aspect-ratio: 4 / 3.05; object-fit: cover; border: 1px solid var(--line); }
.hr__cap { display: flex; justify-content: space-between; gap: 12px; padding-top: 8px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.st { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--line); }
.st__i { padding: 18px 18px 22px 0; border-right: 1px solid var(--line); }
.st__i:last-child { border-right: 0; }
.st__i b { display: block; font-family: Georgia, serif; font-size: clamp(25px, 2.8vw, 34px); color: var(--navy); line-height: 1; }
.st__i span { display: block; margin-top: 8px; font-size: 12px; color: var(--muted); }

/* ---------- Карточки услуг ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { display: block; background: #fff; border: 1px solid var(--line); padding: 22px 20px; transition: border-color .16s, transform .14s; }
.card:hover { border-color: var(--gold); transform: translateY(-2px); }
.card b { display: block; font-family: Georgia, serif; font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.card span { display: block; font-size: 13.5px; color: var(--muted); }
.card i { display: block; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-style: normal; font-size: 15px; font-weight: 700; color: var(--gold-d); }
.card--static { cursor: default; }
.card--static:hover { transform: none; border-color: var(--line); }

/* ---------- Две колонки ---------- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 3.4vw, 48px); align-items: center; }
.two__m { display: grid; gap: 14px; }
.two__m img { width: 100%; border: 1px solid var(--line); }

/* ---------- Этапы ---------- */
.steps { list-style: none; padding: 0; margin: 0 0 20px; }
.steps li { display: grid; grid-template-columns: 42px 1fr auto; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.steps b { font-family: Georgia, serif; font-size: 17px; color: var(--gold-d); }
.steps strong { display: block; font-size: 15.5px; color: var(--navy); font-weight: 600; }
.steps span { display: block; font-size: 13.5px; color: var(--muted); }
.steps time { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

.note { border-left: 2px solid var(--gold); background: #fff; padding: 14px 18px; font-size: 13.5px; color: #3b4657; margin: 18px 0; border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Таблицы ---------- */
.price { border: 1px solid var(--line); overflow-x: auto; background: #fff; }
.price table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
.price th { text-align: left; padding: 11px 16px; background: var(--navy); color: #fff; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.price td { padding: 13px 16px; border-bottom: 1px solid var(--line); }
.price tr:last-child td { border-bottom: 0; }
.price tbody tr:hover { background: #fbf8f1; }
.price td:last-child, .price th:last-child { text-align: right; white-space: nowrap; }
.price .p { font-weight: 700; color: var(--navy); }
.price .d { color: var(--muted); font-size: 13px; }

.block + .block { margin-top: 32px; }
.block h2 { font-size: clamp(19px, 2vw, 26px); margin-bottom: 4px; }
.hint { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }

/* ---------- Преимущества ---------- */
.adv { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #2c436a; }
.adv__i { padding: 20px 18px 20px 0; border-right: 1px solid #2c436a; }
.adv__i:last-child { border-right: 0; }
.adv__i b { display: block; font-family: Georgia, serif; font-size: clamp(22px, 2.6vw, 30px); color: var(--gold); line-height: 1; }
.adv__i span { display: block; margin-top: 8px; font-size: 12.5px; color: #a9b8ca; }

/* ---------- Отзывы ---------- */
.rev { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rev__i { border-top: 2px solid var(--navy); padding-top: 16px; }
.rev__i p { font-size: 15px; color: #3b4657; }
.rev__w { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; cursor: pointer; font-size: 15.5px; font-weight: 600; color: var(--navy); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 20px; color: var(--gold-d); }
.faq details[open] summary::after { content: '−'; }
.faq .a { padding: 0 0 16px; font-size: 14.5px; color: #3b4657; max-width: 820px; }

/* ---------- CTA ---------- */
.cta { background: var(--navy); color: #a9b8ca; padding: clamp(26px, 3.2vw, 44px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-top: 3px solid var(--gold); }
.cta h2 { color: #fff; margin-bottom: 6px; }
.cta p { margin: 0; color: #a9b8ca; max-width: 560px; font-size: 15px; }
.cta__act { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Контакты ---------- */
.cg { display: grid; grid-template-columns: .95fr 1.05fr; gap: 26px; align-items: start; }
.cb { border: 1px solid var(--line); background: #fff; }
.cb__r { display: flex; gap: 14px; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.cb__r:last-child { border-bottom: 0; }
.cb__i { width: 22px; flex: 0 0 auto; padding-top: 2px; }
.cb__i .ic { width: 17px; height: 17px; color: var(--gold-d); }
.cb b { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.cb p, .cb a { margin: 0; font-size: 15.5px; font-weight: 600; color: var(--navy); }
.cb small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.map { margin-top: 16px; border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 320px; border: 0; }

.panel { border: 1px solid var(--line); background: #fff; padding: 24px; }
.panel__h { font-family: Georgia, serif; font-size: 20px; color: var(--navy); margin-bottom: 6px; }
.panel__t { font-size: 13px; color: var(--muted); margin-bottom: 16px; }

/* ---------- Формы ---------- */
.fr { display: grid; gap: 12px; }
.fd { display: block; }
.fd input, .fd select, .fd textarea {
    width: 100%; padding: 13px 14px; border: 1px solid var(--line); background: #fff;
    font-family: inherit; font-size: 15px; color: var(--ink); transition: border-color .16s;
}
.fd textarea { min-height: 86px; resize: vertical; }
.fd input:focus, .fd select:focus, .fd textarea:focus { outline: none; border-color: var(--gold); }
.fd input.is-error { border-color: #c0453a; }
.fr__n { font-size: 11.5px; color: var(--muted); margin: 0; }
.fr__n a { color: var(--muted); text-decoration: underline; }
.fr__m { display: none; padding: 9px 12px; font-size: 13px; }
.fr__m.is-error { display: block; background: #fdecea; color: #a3372c; }
.fr__m.is-ok { display: block; background: #f2ecdd; color: #7a5f22; }

/* ---------- Модалка ---------- */
.md { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 18px; }
.md.is-open { display: flex; }
.md__bg { position: absolute; inset: 0; background: rgba(15, 26, 43, .82); }
.md__bx { position: relative; z-index: 1; width: 100%; max-width: 440px; max-height: 92vh; overflow-y: auto; padding: 28px 24px; background: #fff; border-top: 3px solid var(--gold); }
.md__x { position: absolute; top: 12px; right: 14px; width: 30px; height: 30px; border: 1px solid var(--line); background: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.md__k { display: inline-block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-d); margin-bottom: 10px; }
.md__t { font-family: Georgia, serif; font-size: 22px; color: var(--navy); margin-bottom: 6px; }
.md__s { font-size: 13px; color: var(--muted); margin-bottom: 16px; }

/* ---------- Футер ---------- */
.ft { background: var(--navy); color: #8b9cb0; padding: clamp(32px, 4vw, 50px) 0 18px; font-size: 13px; }
.ft__g { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 28px; padding-bottom: 24px; border-bottom: 1px solid #2c436a; }
.ft__b { display: flex; flex-direction: column; align-items: flex-start; }
.ft__about { margin: 14px 0 14px; font-size: 12.5px; color: #8b9cb0; max-width: 300px; }
.ft__tel { font-family: Georgia, serif; font-size: 21px; color: #fff; }
.ft__tel:hover { color: var(--gold); }
.ft__tg { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; font-size: 12.5px; color: #c3d0de; }
.ft__tg .ic { color: var(--gold); width: 15px; height: 15px; }
.ft__h { font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: #61748a; margin: 0 0 12px; }
.ft__c { display: flex; flex-direction: column; gap: 8px; }
.ft__c a { color: #c3d0de; font-size: 13px; }
.ft__c a:hover { color: var(--gold); }
.ft__a { display: flex; flex-direction: column; gap: 9px; 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: var(--gold); 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: #61748a; max-width: 560px; }
.ft__d { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.ft__d a { font-size: 11.5px; color: #61748a; text-decoration: underline; }
.ft__d a:hover { color: #fff; }

/* ---------- Мобильная панель ---------- */
.mb { 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); }
.mb__a, .mb__b { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 13px 8px; font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.mb__a { background: #fff; color: var(--navy); border: 1px solid var(--gold); }
.mb__b { background: var(--navy); color: #fff; border: 1px solid var(--navy); }

/* ---------- Внутренние ---------- */
.ph { padding: clamp(24px, 3.2vw, 46px) 0; background: var(--soft); border-bottom: 1px solid var(--line); }
.ph h1 { margin-bottom: 10px; }
.ph p { max-width: 800px; color: #3b4657; margin: 0; }
.cr { display: flex; gap: 8px; align-items: center; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; flex-wrap: wrap; }
.cr a { color: var(--muted); }
.cr a:hover { color: var(--gold-d); }
.cr i { font-style: normal; }

.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.team__i { border: 1px solid var(--line); padding: 18px; background: #fff; }
.team__i b { display: block; font-family: Georgia, serif; font-size: 16px; color: var(--navy); }
.team__i i { display: block; font-style: normal; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-d); margin: 4px 0 8px; }
.team__i p { margin: 0; font-size: 13px; color: var(--muted); }

.jobs { display: grid; gap: 16px; }
.job { border: 1px solid var(--line); background: #fff; padding: 22px; }
.job__t { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.job h3 { margin: 0; }
.job__t span { font-family: Georgia, serif; font-size: 18px; color: var(--gold-d); white-space: nowrap; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 12px; }
.tag { font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 3px 9px; }
.job ul { margin: 0 0 14px; padding-left: 18px; font-size: 14.5px; }
.job__a { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.job__a small { font-size: 12px; color: var(--muted); }

.calc { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; }
.calc__p { border: 1px solid var(--line); background: #fff; padding: 24px; }
.calc__g { margin-bottom: 22px; }
.calc__g:last-child { margin-bottom: 0; }
.calc__l { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; 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: 11px 12px; border: 1px solid var(--line); background: #fff; font-family: inherit; font-size: 13px; text-align: left; cursor: pointer; transition: border-color .16s, background .16s; }
.opt:hover { border-color: var(--gold); }
.opt.is-on { border-color: var(--gold); background: #fbf6ea; font-weight: 600; }
.opt .ic { width: 15px; height: 15px; }
.calc__s { background: var(--navy); color: #a9b8ca; padding: 24px; position: sticky; top: 100px; }
.calc__sum { font-family: Georgia, serif; font-size: clamp(24px, 3vw, 33px); color: #fff; line-height: 1.05; margin-bottom: 6px; }
.calc__h { font-size: 11.5px; color: #93a5ba; margin-bottom: 14px; }
.calc__l2 { list-style: none; padding: 12px 0 0; margin: 0 0 16px; border-top: 1px solid #2c436a; display: grid; gap: 6px; }
.calc__l2 li { display: flex; justify-content: space-between; gap: 10px; margin: 0; font-size: 12px; color: #a9b8ca; }
.calc__l2 b { color: #fff; white-space: nowrap; }
.calc__s .fd input { background: #1b3358; border-color: #2c436a; color: #fff; }
.calc__s .fd input::placeholder { color: #8b9cb0; }
.calc__s .fr__n { color: #93a5ba; }

.seo { max-width: 900px; font-size: 15px; }

.thx { min-height: 54vh; display: grid; place-items: center; padding: 56px 0; text-align: center; }
.thx__i { width: 60px; height: 60px; margin: 0 auto 18px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold-d); }
.thx__i .ic { width: 26px; height: 26px; }
.thx p { color: var(--muted); max-width: 540px; margin: 0 auto 20px; }
.thx__a { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.thx__404 { font-family: Georgia, serif; font-size: clamp(60px, 9vw, 110px); line-height: .9; color: #e8e3d8; margin: 0 0 10px; }

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) {
    .mn a { padding: 10px 9px; font-size: 12.5px; }
    .hd__tel { font-size: 15.5px; }
}

@media (max-width: 1024px) {
    .mn { display: none; }
    .bg { display: flex; }
    body.menu-open { overflow: hidden; }
    .mn--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: 88px 0 24px; background: #fff; border-left: 1px solid var(--line); overflow-y: auto;
    }
    .mn--open a { padding: 15px 22px; font-size: 15px; border-bottom: 1px solid var(--line); }
    .hr__in, .two, .cg, .calc, .rev, .grid, .team, .adv, .st { grid-template-columns: 1fr; }
    .st__i, .adv__i { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; }
    .adv { border-color: #2c436a; }
    .adv__i { border-color: #2c436a; }
    .calc__s { position: static; }
    .mb { display: flex; }
    body { padding-bottom: 64px; }
    .ft__g { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 768px) {
    .wrap { padding: 0 16px; }
    .tb__in { justify-content: center; gap: 10px; font-size: 11px; }
    .tb__tg { margin-left: 0; }
    .hd__in { min-height: 66px; gap: 10px; }
    .hd__tel { display: none; }
    .hd__r .bl { display: none; }
    .hr__lead { font-size: 15.5px; }
    .opts, .team { grid-template-columns: 1fr; }
    .steps li { grid-template-columns: 32px 1fr; }
    .steps time { grid-column: 2; }
    .calc__p, .calc__s, .panel { padding: 18px; }
    .md__bx { padding: 22px 16px; }
    .ft__g { grid-template-columns: 1fr; gap: 18px; }
    .ft__bot { flex-direction: column; }
    .cta { padding: 20px 16px; }
    .price th, .price td { padding: 10px 12px; font-size: 13px; }
}

/* тема kapremont-dvigatelya-msk1 */
:root{--brand:#132a4a;--accent:#c9a227;}
