:root {
    --ink: #121a26;
    --ink-soft: #2b3647;
    --muted: #697386;
    --line: #e3e8ef;
    --bg: #f5f7fa;
    --card: #ffffff;
    --accent: #ff6b1a;
    --accent-dark: #e5580a;
    --accent-soft: #fff2e9;
    --dark: #0d1521;
    --dark-2: #131f30;
    --ok: #169f62;
    --radius: 18px;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 24px -16px rgba(16, 24, 40, .25);
    --shadow-md: 0 24px 48px -28px rgba(13, 21, 33, .35);
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.18; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.9vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }

.ico { flex: none; }
.hp { position: absolute !important; left: -9999px; opacity: 0; height: 1px; width: 1px; }

/* buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: background .18s, border-color .18s, transform .18s, box-shadow .18s;
    white-space: nowrap;
}
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -14px rgba(255, 107, 26, .9); }
.btn--accent:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn--dark { background: var(--dark); color: #fff; }
.btn--sm { padding: 10px 16px; font-size: .92rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent-dark); }
.link-arrow:hover { gap: 10px; }
.link-arrow svg { transition: transform .18s; }

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent-dark);
}
.eyebrow--light { color: #ffb077; }

/* header */
.hdr {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.hdr__in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark {
    width: 44px; height: 44px; flex: none;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: var(--accent); color: #fff;
    box-shadow: 0 8px 18px -10px rgba(255, 107, 26, .8);
}
.logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.logo__text strong { font-size: 1.05rem; letter-spacing: -.01em; }
.logo__text small { font-size: .72rem; color: var(--muted); margin-top: 2px; }
.logo__img { height: 46px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav__link { padding: 8px 14px; border-radius: 10px; font-weight: 600; color: var(--ink-soft); font-size: .95rem; }
.nav__link:hover, .nav__link.is-active { background: var(--accent-soft); color: var(--accent-dark); }
.hdr__side { display: flex; align-items: center; gap: 18px; }
.hdr__contact { display: flex; flex-direction: column; line-height: 1.25; }
.hdr__phone { font-weight: 800; font-size: 1.05rem; white-space: nowrap; }
.hdr__time { font-size: .74rem; color: var(--muted); }
.burger {
    display: none;
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
    border: 1px solid var(--line); border-radius: 12px;
    background: #fff; color: var(--ink); cursor: pointer;
}

/* hero */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--dark); }
.hero__bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: .55;
}
.hero::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(95deg, rgba(9, 15, 25, .96) 0%, rgba(9, 15, 25, .82) 45%, rgba(9, 15, 25, .35) 100%);
}
.hero__in {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px;
    align-items: center;
    padding-top: 74px; padding-bottom: 74px;
}
.hero__text h1 { color: #fff; margin-bottom: .35em; }
.hero__sub { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: #d3dbe6; max-width: 34em; }
.badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; margin-bottom: 22px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    color: #ffd0b0;
}
.checklist { display: grid; gap: 12px; margin: 24px 0; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; color: #e6ecf4; font-size: .98rem; }
.checklist__ico {
    flex: none; width: 22px; height: 22px; margin-top: 2px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; background: rgba(255, 107, 26, .22); color: #ff9a5c;
}
.checklist--dark li { color: var(--ink-soft); }
.hero__note { font-size: .85rem; color: #9fabbc; margin: 0; }
.hero__card {
    background: #fff; color: var(--ink);
    border-radius: var(--radius); padding: 26px;
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
}
.hero__card h2 { font-size: 1.35rem; margin-bottom: 6px; }
.hero__card > p { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }

/* forms */
.form { display: grid; gap: 14px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form__grid--single { grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field--hidden { display: none !important; }
.field span { font-size: .8rem; font-weight: 600; color: var(--muted); }
.field input, .field textarea, .field select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fbfcfe;
    font: inherit; font-size: .95rem; color: var(--ink);
    transition: border-color .18s, box-shadow .18s, background .18s;
}
.field input::placeholder, .field textarea::placeholder { color: #a3adbd; }
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none; border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 107, 26, .12);
}
.field textarea { resize: vertical; min-height: 84px; }
.check { display: flex; gap: 10px; font-size: .78rem; color: var(--muted); line-height: 1.5; }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--accent); flex: none; }
.check a { color: var(--accent-dark); text-decoration: underline; }
.form__note { font-size: .74rem; color: var(--muted); text-align: center; margin: 0; }
.form-success { text-align: center; padding: 18px 8px; }
.form-success__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; margin-bottom: 12px;
    border-radius: 50%; background: #e8f8f0; color: var(--ok);
}
.form-success h3 { margin-bottom: 6px; }
.form-success p { color: var(--muted); font-size: .92rem; }
.form-success__phone { font-weight: 800; font-size: 1.2rem; }

.notices { display: grid; gap: 10px; margin: 18px 0 0; }
.notice {
    padding: 12px 16px; border-radius: 12px;
    font-size: .9rem; border: 1px solid transparent;
}
.notice--error { background: #fff1f0; border-color: #ffd3ce; color: #b42318; }
.notice--ok { background: #eafaf1; border-color: #c6f0da; color: #0f7a4a; }
.notice--demo { background: var(--accent-soft); border-color: #ffd6bd; color: #9a4108; }

/* trust */
.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 22px 24px; }
.trust__item { display: flex; align-items: baseline; gap: 10px; }
.trust__item strong { font-size: 1.25rem; color: var(--accent-dark); }
.trust__item span { color: var(--muted); font-size: .86rem; }

/* sections */
.section { padding: 76px 0; }
.section--muted { background: var(--bg); }
.section--dark { background: var(--dark); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--cta { background: linear-gradient(120deg, #0d1521 0%, #16273d 60%, #1d3550 100%); color: #fff; }
.section--cta h2 { color: #fff; }
.section__note { text-align: center; color: var(--muted); margin: 34px 0 0; }
.sec-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.sec-head p { color: var(--muted); margin: 0; }
.sec-head--left { margin-left: 0; text-align: left; }
.sec-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; text-align: left; }
.sec-head--row p { margin: 0; }
.section--dark .sec-head { text-align: left; margin-left: 0; }

.cards { display: grid; gap: 20px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }

.feature {
    padding: 26px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #ffd4bd; }
.feature__num {
    display: inline-block; margin-bottom: 14px;
    font-size: 1.6rem; font-weight: 800; color: #ffc6a3;
}
.feature h3 { margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: .92rem; }

.cat-card {
    display: flex; flex-direction: column;
    padding: 26px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #ffd4bd; }
.cat-card__ico {
    width: 48px; height: 48px; margin-bottom: 16px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 14px; background: var(--accent-soft); color: var(--accent-dark);
}
.cat-card h3 { margin-bottom: 6px; }
.cat-card p { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
.cat-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .88rem; color: var(--accent-dark); }

/* why */
.why { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: start; }
.why__intro p { color: var(--muted); }
.why__list { display: grid; gap: 14px; }
.why__item { display: flex; gap: 18px; padding: 22px; background: var(--bg); border-radius: var(--radius); }
.why__num {
    flex: none; width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 12px; background: #fff; color: var(--accent-dark);
    font-weight: 800; box-shadow: var(--shadow-sm);
}
.why__item h3 { font-size: 1.02rem; margin-bottom: 4px; }
.why__item p { margin: 0; color: var(--muted); font-size: .9rem; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; list-style: none; padding: 0; margin: 0; }
.steps__item { position: relative; padding: 26px; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); background: rgba(255, 255, 255, .04); }
.steps__num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; margin-bottom: 16px;
    border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800;
}
.steps__item h3 { font-size: 1.05rem; }
.steps__item p { color: #aab7c8; font-size: .9rem; margin: 0; }

/* cases */
.case-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.case-card__media { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #e8edf4, #d5dee9); display: flex; align-items: center; justify-content: center; }
.case-card__media img { width: 100%; height: 100%; object-fit: cover; }
.case-card__ph { color: #97a5b8; }
.case-card__price {
    position: absolute; left: 14px; bottom: 14px;
    padding: 7px 12px; border-radius: 10px;
    background: var(--accent); color: #fff; font-weight: 800; font-size: .92rem;
    box-shadow: 0 10px 20px -10px rgba(255, 107, 26, .9);
}
.case-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; }
.case-card__body h3 { margin: 0; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin: 0; font-size: .82rem; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; }
.case-card__cond { font-size: .85rem; color: var(--ink-soft); margin: 0; }
.case-card__date { font-size: .78rem; color: var(--muted); }

/* reviews */
.review { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.review__stars { color: #ffb01f; letter-spacing: 3px; font-size: 1.05rem; margin-bottom: 12px; }
.review__text { color: var(--ink-soft); font-size: .93rem; flex: 1; }
.review__author { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.review__ava {
    width: 42px; height: 42px; flex: none;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); font-weight: 800;
}
.review__author > div strong { display: block; font-size: .92rem; }
.review__author > div span { display: block; font-size: .78rem; color: var(--muted); }
.review__author time { margin-left: auto; font-size: .75rem; color: var(--muted); }

/* about */
.about { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.about__note { font-size: .85rem; color: var(--muted); }
.about__panel { padding: 32px; border-radius: var(--radius); background: var(--dark); color: #fff; }
.about__panel h3 { color: #fff; }
.about__panel p { color: #b2bece; font-size: .94rem; }
.about__panel .btn { margin-top: 8px; }

/* faq */
.faq { display: grid; gap: 12px; max-width: 900px; margin: 0 auto; }
.faq__item { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 4px 22px; }
.faq__item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 18px 0; cursor: pointer; font-weight: 700; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { color: var(--accent); transition: transform .2s; display: inline-flex; }
.faq__item[open] .faq__plus { transform: rotate(90deg); }
.faq__body { padding: 0 0 20px; color: var(--muted); font-size: .93rem; }

/* cta */
.cta { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cta__text p { color: #b8c4d4; }
.cta__contacts { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; font-weight: 700; }
.cta__contacts a, .cta__contacts span { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.cta__contacts span { color: #b8c4d4; font-weight: 500; font-size: .9rem; }
.cta__form { background: #fff; border-radius: var(--radius); padding: 26px; color: var(--ink); box-shadow: var(--shadow-md); }
.cta-inline {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    margin-top: 40px; padding: 28px 32px;
    background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
}
.cta-inline h2 { font-size: 1.3rem; margin-bottom: 4px; }
.cta-inline p { margin: 0; color: var(--muted); font-size: .92rem; }

/* page hero */
.page-hero { padding: 52px 0; background: linear-gradient(180deg, var(--bg), #fff); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: .35em; }
.page-hero p { color: var(--muted); max-width: 62em; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .78rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--accent-dark); }

/* services */
.service-card { display: flex; flex-direction: column; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s, box-shadow .2s, border-color .2s; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #ffd4bd; }
.service-card__ico { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--accent-soft); color: var(--accent-dark); margin-bottom: 16px; }
.service-card h2 { font-size: 1.15rem; margin-bottom: 6px; }
.service-card p { color: var(--muted); font-size: .9rem; }
.service-card__price { display: inline-block; margin-bottom: 14px; padding: 5px 10px; border-radius: 8px; background: var(--bg); color: var(--ink-soft); font-size: .78rem; font-weight: 600; }
.service-card .link-arrow { margin-top: auto; font-size: .88rem; }
.service-page { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; align-items: start; }
.service-page__aside { display: grid; gap: 18px; position: sticky; top: 96px; }
.aside-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.aside-card h3 { font-size: 1.02rem; }
.aside-card p { color: var(--muted); font-size: .9rem; }
.aside-card--accent { background: var(--dark); color: #fff; }
.aside-card--accent h3 { color: #fff; }
.aside-card--accent p { color: #b8c4d4; }
.aside-list li + li { border-top: 1px solid var(--line); }
.aside-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; font-size: .9rem; }
.aside-list a:hover { color: var(--accent-dark); }
.price-badge { display: inline-flex; flex-direction: column; padding: 12px 18px; margin-bottom: 24px; border-radius: 14px; background: var(--accent-soft); }
.price-badge span { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-dark); font-weight: 700; }
.price-badge strong { font-size: 1.05rem; }

/* prose */
.prose { color: var(--ink-soft); }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; color: var(--ink); }
.prose h3 { margin-top: 1.4em; }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 22px; list-style: disc; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--accent-dark); text-decoration: underline; }
.prose--small { font-size: .82rem; color: var(--muted); }

/* contacts */
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contacts__info { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.contact-card__ico { width: 46px; height: 46px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent-dark); }
.contact-card > div > span { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.contact-card a, .contact-card strong { display: block; font-size: 1.02rem; font-weight: 700; margin: 2px 0; }
.contact-card small { display: block; font-size: .78rem; color: var(--muted); }
.contact-card__socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.contact-card__socials a { font-size: .82rem; font-weight: 600; padding: 5px 10px; border-radius: 8px; background: var(--bg); }
.contact-card__socials a:hover { background: var(--accent-soft); color: var(--accent-dark); }
.contacts__form { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.contacts__form h2 { font-size: 1.4rem; margin-bottom: 4px; }
.contacts__form > p { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.map-section { padding: 0 0 76px; }
.map-section iframe { width: 100%; height: 420px; border: 0; border-radius: var(--radius); }

/* footer */
.ftr { background: var(--dark); color: #aab7c8; padding: 64px 0 26px; font-size: .9rem; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
.ftr__brand p { margin: 16px 0; max-width: 30em; font-size: .86rem; }
.logo--light .logo__text strong { color: #fff; }
.logo--light .logo__text small { color: #8b9aae; }
.ftr__socials { display: flex; flex-wrap: wrap; gap: 8px; }
.social { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 9px; background: rgba(255, 255, 255, .06); font-size: .78rem; font-weight: 600; color: #d7e0ea; }
.social:hover { background: rgba(255, 255, 255, .12); }
.ftr__col h3 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.ftr__col ul { display: grid; gap: 9px; }
.ftr__col a:hover { color: #fff; }
.ftr__phone { display: block; font-size: 1.25rem; font-weight: 800; color: #fff; margin-bottom: 12px; }
.ftr__contacts p { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 8px; font-size: .84rem; }
.ftr__contacts .btn { margin-top: 14px; }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .76rem; color: #7d8da1; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(9, 15, 25, .7); backdrop-filter: blur(4px); }
.modal__box { position: relative; z-index: 2; width: 100%; max-width: 440px; max-height: calc(100vh - 48px); overflow: auto; padding: 30px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.modal__box h2 { font-size: 1.4rem; margin-bottom: 4px; }
.modal__sub { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.modal__close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 10px; background: var(--bg); cursor: pointer; }
body.modal-open { overflow: hidden; }

/* mobile bar */
.mobile-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); backdrop-filter: blur(8px); }
.mobile-bar__btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 10px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: .92rem; cursor: pointer; }
.mobile-bar__btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; }

/* responsive */
@media (max-width: 1080px) {
    .hdr__contact { display: none; }
    .hero__in { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; padding-bottom: 48px; }
    .hero__card { max-width: 540px; }
    .cards--4 { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .ftr__grid { grid-template-columns: 1fr 1fr; }
    .service-page { grid-template-columns: 1fr; }
    .service-page__aside { position: static; grid-template-columns: 1fr 1fr; }
    .why { grid-template-columns: 1fr; gap: 32px; }
    .about { grid-template-columns: 1fr; }
    .cta { grid-template-columns: 1fr; }
    .contacts { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    .nav {
        position: absolute; left: 0; right: 0; top: 100%;
        display: none; flex-direction: column; gap: 4px;
        padding: 12px 24px 20px;
        background: #fff; border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-md);
    }
    .nav.is-open { display: flex; }
    .nav__link { padding: 12px 14px; }
    .burger { display: inline-flex; margin-left: auto; }
    .hdr__side { display: none; }
    .cards--3 { grid-template-columns: 1fr; }
    .section { padding: 56px 0; }
    .trust__in { grid-template-columns: repeat(2, 1fr); }
    .sec-head--row { flex-direction: column; align-items: flex-start; gap: 12px; }
    .cta-inline { flex-direction: column; align-items: flex-start; }
    .mobile-bar { display: flex; }
    body { padding-bottom: 74px; }
    .ftr { padding-bottom: 90px; }
    .section--cta { padding-bottom: 64px; }
}

@media (max-width: 620px) {
    .container { padding: 0 18px; }
    .hdr__in { min-height: 66px; }
    .hero__in { padding-top: 34px; padding-bottom: 40px; }
    .hero__card { padding: 20px; }
    .form__grid { grid-template-columns: 1fr; }
    .cards--4, .steps, .trust__in, .ftr__grid, .service-page__aside { grid-template-columns: 1fr; }
    .ftr__grid { gap: 28px; }
    .cta__form { padding: 20px; }
    .about__panel { padding: 24px; }
    .contacts__form { padding: 22px; }
    .section { padding: 46px 0; }
    .page-hero { padding: 36px 0; }
    .specs { grid-template-columns: 1fr 1fr; }
}
