:root {
    --g: #00a94f;
    --g-d: #008a41;
    --g-dd: #00622e;
    --g-l: #e6f6ed;
    --ink: #1d1d1b;
    --ink-2: #474c49;
    --mut: #6d736f;
    --bg: #f5f7f7;
    --line: #e2e7e5;
    --r: 20px;
    --sh: 0 12px 32px rgba(18, 42, 30, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: Roboto, "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
}
body.no-scroll { overflow: hidden; }
img, svg { max-width: 100%; }
a { color: var(--g-d); }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(26px, 3.4vw, 40px); }
h3 { font-size: 20px; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 860px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 16px 30px; border: 0; border-radius: 999px;
    background: var(--g); color: #fff;
    font: inherit; font-size: 17px; font-weight: 700; text-decoration: none; white-space: nowrap;
    cursor: pointer; transition: background .2s, box-shadow .2s, transform .1s;
}
.btn:hover { background: var(--g-d); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn--ghost:hover { background: #fff; box-shadow: inset 0 0 0 2px var(--g); }
.btn--sm { padding: 11px 20px; font-size: 15px; }
.btn--block { width: 100%; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; gap: 20px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.logo__mark { padding: 6px 10px; border-radius: 10px; background: var(--g); color: #fff; font-size: 18px; font-weight: 900; letter-spacing: .03em; }
.logo__txt { font-size: 14px; font-weight: 700; line-height: 1.1; }
.logo--light { color: #fff; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__link {
    padding: 10px 12px; border: 0; border-radius: 10px; background: none;
    color: var(--ink); font: inherit; font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer;
}
.nav__link:hover, .nav__link[aria-current] { background: var(--bg); }
.nav__group { position: relative; }
.nav__toggle::after {
    content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px;
    border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.nav__drop {
    display: none; position: absolute; top: 100%; left: 0; min-width: 270px; padding: 8px;
    background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh);
}
.nav__group:hover .nav__drop, .nav__group:focus-within .nav__drop, .nav__group.is-open .nav__drop { display: block; }
.nav__drop a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); font-size: 15px; text-decoration: none; }
.nav__drop a:hover, .nav__drop a[aria-current] { background: var(--g-l); color: var(--g-d); }
.nav__mobile { display: none; }
.hdr__phone { color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.burger { display: none; }

@media (max-width: 1120px) { .hdr__phone { display: none; } }
@media (max-width: 920px) {
    .hdr__cta { display: none; }
    .burger {
        display: flex; flex-direction: column; justify-content: center; gap: 5px;
        width: 44px; height: 44px; margin-left: auto; border: 0; border-radius: 12px; background: var(--bg); cursor: pointer;
    }
    .burger span, .burger::before, .burger::after { content: ""; display: block; width: 20px; height: 2px; margin: 0 auto; background: var(--ink); }
    .nav {
        display: none; position: fixed; inset: 72px 0 0 0; flex-direction: column; align-items: stretch; gap: 0;
        padding: 12px 20px 32px; background: #fff; overflow-y: auto;
    }
    .nav.is-open { display: flex; }
    .nav__link { width: 100%; padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 18px; text-align: left; }
    .nav__drop { position: static; min-width: 0; padding: 4px 0 8px 12px; border: 0; box-shadow: none; }
    .nav__group:hover .nav__drop, .nav__group:focus-within .nav__drop { display: none; }
    .nav__group.is-open .nav__drop { display: block; }
    .nav__mobile { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
}

/* Breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 20px; font-size: 14px; color: var(--mut); }
.crumbs a { color: var(--mut); }

/* Hero */
.hero { padding: clamp(32px, 5vw, 72px) 0 clamp(48px, 6vw, 88px); background: radial-gradient(900px 520px at 85% 0%, #d9f3e4 0, transparent 60%), var(--bg); }
.hero__grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 56px; align-items: center; }
.hero__lead { max-width: 640px; font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.eyebrow {
    display: inline-block; margin-bottom: 14px; padding: 6px 12px; border-radius: 999px;
    background: var(--g-l); color: var(--g-d); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.ticks { display: grid; gap: 12px; margin: 24px 0 32px; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 36px; }
.ticks li::before {
    content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
    background: var(--g) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.ticks--light li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23008a41' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }

.offer { position: relative; padding: 32px; border-radius: 28px; background: #fff; box-shadow: var(--sh); }
.offer::before { content: ""; position: absolute; top: -14px; right: 28px; width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, #b9f0cf, #00a94f); opacity: .35; z-index: -1; }
.offer__label { color: var(--mut); font-weight: 500; }
.offer__big { margin: 4px 0 16px; color: var(--g); font-size: clamp(48px, 6vw, 68px); font-weight: 900; line-height: 1; letter-spacing: -.03em; }
.offer__row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.offer__row span { color: var(--ink-2); }
.offer .btn { margin-top: 12px; }
.offer__note { margin: 12px 0 0; color: var(--mut); font-size: 13px; }

@media (max-width: 920px) { .hero__grid { grid-template-columns: 1fr; gap: 36px; } }

/* Sections */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section--white { background: #fff; }
.section__head { max-width: 760px; margin-bottom: 36px; }
.section__head p { color: var(--ink-2); font-size: 18px; }

/* Cards */
.cards { display: grid; gap: 20px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { display: flex; flex-direction: column; padding: 28px; border-radius: var(--r); background: var(--bg); color: var(--ink); text-decoration: none; }
.section:not(.section--white) .card { background: #fff; }
.card h3 { margin-top: 18px; }
.card p { margin: 0; color: var(--ink-2); font-size: 16px; }
.card__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--g-l); color: var(--g-d); }
.card__ico .ico { width: 28px; height: 28px; }
.card--link { transition: transform .2s, box-shadow .2s; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.card__more { margin-top: auto; padding-top: 16px; color: var(--g-d); font-weight: 700; }
.card__more::after { content: " →"; }
@media (max-width: 1000px) { .cards--3, .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards--2, .cards--3, .cards--4 { grid-template-columns: 1fr; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 28px; border-radius: var(--r); background: var(--g-l); }
.stat b { display: block; color: var(--g-dd); font-size: clamp(30px, 3.4vw, 42px); font-weight: 900; line-height: 1.1; letter-spacing: -.02em; }
.stat span { color: var(--ink-2); }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.step { position: relative; padding: 28px; border-radius: var(--r); background: #fff; }
.step__num { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 50%; background: var(--g); color: #fff; font-size: 20px; font-weight: 800; }
.step p { margin: 0; color: var(--ink-2); font-size: 16px; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; }
.compare th, .compare td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--bg); font-size: 15px; }
.compare tbody th { width: 28%; font-weight: 700; }
.compare td { color: var(--ink-2); }
.compare .is-accent { background: var(--g-l); color: var(--g-dd); font-weight: 600; }
.compare thead .is-accent { background: var(--g); color: #fff; }

/* Lists / docs */
.docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.doc { padding: 28px; border-radius: var(--r); background: #fff; }
.doc h3 { display: flex; align-items: center; gap: 10px; }
.doc ul { margin: 0; padding-left: 20px; color: var(--ink-2); font-size: 16px; }
.doc li + li { margin-top: 6px; }
@media (max-width: 900px) { .docs { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* Prose */
.prose { font-size: 17px; }
.prose h2 { margin-bottom: .6em; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1em; }
.prose li + li { margin-top: 6px; }
.prose .note { padding: 18px 22px; border-left: 4px solid var(--g); border-radius: 0 14px 14px 0; background: var(--g-l); color: var(--ink); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq__item { border-radius: 16px; background: #fff; }
.section--white .faq__item { background: var(--bg); }
.faq__item summary {
    position: relative; padding: 20px 60px 20px 24px; font-size: 18px; font-weight: 700; list-style: none; cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: "+"; position: absolute; right: 20px; top: 50%; display: grid; place-items: center; width: 30px; height: 30px;
    margin-top: -15px; border-radius: 50%; background: var(--g-l); color: var(--g-d); font-size: 22px; font-weight: 500; line-height: 1;
}
.faq__item[open] summary::after { content: "−"; }
.faq__a { padding: 0 24px 20px; color: var(--ink-2); }
.faq__a p { margin: 0; }

/* CTA + form */
.cta { background: linear-gradient(135deg, var(--g-dd), var(--g)); color: #fff; }
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cta__text p { color: rgba(255, 255, 255, .88); font-size: 18px; }
.cta__contacts { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.cta__contacts a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; text-decoration: none; }
.cta__contacts .ico { width: 20px; height: 20px; }
.cta__form { padding: 32px; border-radius: 28px; background: #fff; color: var(--ink); }
@media (max-width: 920px) { .cta__grid { grid-template-columns: 1fr; gap: 32px; } }

.lead-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .lead-form__grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field span { font-size: 14px; font-weight: 600; }
.field i { color: var(--mut); font-style: normal; font-weight: 400; }
.field input, .field select {
    width: 100%; height: 52px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
    color: var(--ink); font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus { border-color: var(--g); outline: 0; box-shadow: 0 0 0 4px rgba(0, 169, 79, .15); }
.field input.is-invalid { border-color: #d93a2b; }
.check { display: flex; gap: 10px; margin: 16px 0; color: var(--mut); font-size: 13px; line-height: 1.45; cursor: pointer; }
.check input { flex-shrink: 0; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--g); }
.form-msg { min-height: 1.4em; margin: 12px 0 0; font-size: 15px; font-weight: 600; color: var(--g-d); }
.form-msg.is-error { color: #c62f21; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Contacts */
.contact-list { display: grid; gap: 16px; }
.contact { display: flex; gap: 16px; align-items: center; padding: 22px 24px; border-radius: var(--r); background: #fff; color: var(--ink); text-decoration: none; }
.contact .card__ico { flex-shrink: 0; }
.contact small { display: block; color: var(--mut); font-size: 14px; }
.contact b { font-size: 20px; }

/* Footer */
.ftr { padding: 64px 0 28px; background: #1d1d1b; color: rgba(255, 255, 255, .72); font-size: 15px; }
.ftr a { display: block; margin-bottom: 8px; color: rgba(255, 255, 255, .72); text-decoration: none; }
.ftr a:hover { color: #fff; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.ftr__about p { margin: 18px 0; }
.ftr__about .logo { display: inline-flex; }
.ftr__phone { color: #fff !important; font-size: 20px; font-weight: 700; }
.ftr__title { margin-bottom: 14px; color: #fff; font-weight: 700; }
.ftr__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }
.ftr__bottom a { display: inline; }
.ftr__disclaimer { color: rgba(255, 255, 255, .5); }
@media (max-width: 900px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ftr__grid { grid-template-columns: 1fr; } }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(15, 25, 20, .55); }
.modal__box { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 36px 32px 28px; border-radius: 28px; background: #fff; }
.modal__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--bg); font-size: 26px; line-height: 1; cursor: pointer; }
.modal__title { padding-right: 40px; font-size: 26px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.modal__sub { margin: 8px 0 20px; color: var(--ink-2); }

/* Cookie */
.cookie {
    position: fixed; left: 16px; bottom: 16px; z-index: 90; display: flex; align-items: center; gap: 16px;
    max-width: 560px; padding: 16px 20px; border-radius: 16px; background: #fff; box-shadow: 0 12px 40px rgba(0, 0, 0, .15); font-size: 14px;
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0; }
@media (max-width: 560px) { .cookie { right: 16px; flex-direction: column; align-items: stretch; } }

/* 404 */
.notfound { padding: 96px 0; text-align: center; }
.notfound b { display: block; color: var(--g); font-size: 120px; font-weight: 900; line-height: 1; }
