:root {
    --ink: #112330;
    --muted: #5f707b;
    --ice: #eaf8fb;
    --blue: #0a7891;
    --cyan: #25c5d9;
    --lime: #d8ff65;
    --line: #dce8eb;
    --white: #fff;
    --telegram: #26a7e0;
    --viber: #7360f2;
    --whatsapp: #25d366;
    --shadow: 0 24px 70px rgba(19, 68, 80, .14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: auto;
}

.header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(220, 232, 235, .8);
}

.nav {
    height: 76px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: .04em;
}

.brand img {
    height: 46px;
    max-width: 180px;
    object-fit: contain;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--ink);
    color: var(--lime);
    font-size: 22px;
}

.nav nav {
    display: flex;
    gap: 24px;
    margin-left: auto;
}

.nav nav a {
    font-weight: 650;
    font-size: 14px;
}

.phone {
    font-weight: 800;
    color: var(--blue);
}

.menu {
    display: none;
    border: 0;
    background: transparent;
    font-size: 25px;
}

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fcfc 0%, #ecf9fb 55%, #dff5f6 100%);
    padding: 68px 0 40px;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -160px -260px auto;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--lime), transparent 66%);
    opacity: .35;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    align-items: center;
    gap: 54px;
}

.hero h1 {
    font-size: clamp(44px, 6vw, 78px);
    line-height: .98;
    letter-spacing: -.055em;
    margin: 18px 0 24px;
    max-width: 740px;
}

.hero p {
    font-size: 19px;
    color: var(--muted);
    max-width: 650px;
}

.badge,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 12px;
    font-weight: 850;
    color: var(--blue);
}

.badge {
    padding: 9px 13px;
    border-radius: 999px;
    background: white;
    box-shadow: 0 8px 30px rgba(19, 68, 80, .08);
}

.hero-actions {
    display: flex;
    gap: 13px;
    margin: 32px 0;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 15px;
    font-weight: 850;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--ink);
    color: #fff;
    box-shadow: 0 14px 30px rgba(17, 35, 48, .2);
}

.btn-ghost {
    background: #fff;
    border-color: var(--line);
}

.btn-dark {
    width: 100%;
    background: var(--ink);
    color: #fff;
}

.trust {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    font-weight: 650;
}

.hero-visual {
    position: relative;
}

.hero-visual img {
    filter: drop-shadow(0 35px 40px rgba(24, 85, 99, .18));
}

.float-card {
    position: absolute;
    left: -20px;
    bottom: 45px;
    background: #fff;
    border-radius: 18px;
    padding: 15px 18px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.float-card b {
    font-size: 23px;
}

.float-card span {
    font-size: 12px;
    color: var(--muted);
}

.stats {
    background: var(--ink);
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stats-grid > div {
    padding: 25px;
    border-right: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    flex-direction: column;
}

.stats b {
    font-size: 22px;
    color: var(--lime);
}

.stats span {
    font-size: 13px;
    color: #b8c8cf;
}

.section {
    padding: 100px 0;
}

.section.light {
    background: #f5f9fa;
}

.section h2,
.contact h2 {
    font-size: clamp(34px, 4vw, 55px);
    line-height: 1.08;
    letter-spacing: -.04em;
    margin: 12px 0 24px;
}

.section-sub {
    color: var(--muted);
    max-width: 670px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 42px;
}

.card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    transition: .25s;
}

.card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.card i {
    font-style: normal;
    font-weight: 900;
    color: var(--cyan);
}

.card h3 {
    font-size: 21px;
    margin: 28px 0 8px;
}

.card p,
.price-row p,
.steps p {
    color: var(--muted);
    margin: 0;
}

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 75px;
    align-items: center;
}

.about-image {
    border-radius: 32px;
    background: linear-gradient(145deg, #d8f4f6, #fff);
    padding: 30px;
    box-shadow: var(--shadow);
}

.lead {
    font-size: 18px;
    color: var(--muted);
}

.checklist {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 12px;
}

.checklist li::before {
    content: "✓";
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--lime);
    margin-right: 10px;
    font-weight: 900;
}

.text-link {
    font-weight: 850;
    color: var(--blue);
}

.price-list {
    margin-top: 42px;
    border-top: 1px solid var(--line);
}

.price-row {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
    padding: 25px 5px;
    border-bottom: 1px solid var(--line);
}

.price-row h3 {
    margin: 0 0 4px;
}

.price-row strong {
    font-size: 20px;
    white-space: nowrap;
    color: var(--blue);
}

.process {
    background: var(--ice);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 42px;
}

.steps > div {
    background: #fff;
    padding: 25px;
    border-radius: 22px;
}

.steps b {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    border-radius: 14px;
    background: var(--ink);
    color: var(--lime);
}

.narrow {
    max-width: 850px;
}

.narrow details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    margin: 12px 0;
    padding: 20px 24px;
}

.narrow summary {
    font-weight: 800;
    cursor: pointer;
}

.narrow details p {
    color: var(--muted);
}

.contact {
    padding: 90px 0;
    background: linear-gradient(120deg, #08778f, #0a5367);
    color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr .8fr;
    gap: 70px;
    align-items: center;
}

.white {
    color: var(--lime);
}

.contact p {
    color: #d8eaee;
    font-size: 18px;
}

.contact-meta {
    display: grid;
    gap: 7px;
    margin-top: 27px;
}

.contact-meta a {
    font-size: 26px;
    font-weight: 900;
}

.contact form {
    background: #fff;
    color: var(--ink);
    padding: 28px;
    border-radius: 25px;
    box-shadow: var(--shadow);
}

label {
    display: grid;
    gap: 7px;
    font-weight: 750;
    font-size: 13px;
    margin-bottom: 15px;
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 14px 15px;
    font: inherit;
    outline: 0;
}

input:focus,
textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 4px rgba(37, 197, 217, .12);
}

form small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    margin-top: 12px;
}

.form-result {
    margin-top: 10px;
    font-weight: 700;
}

.success {
    color: #13834f;
}

.error {
    color: #bb2c2c;
}

/* =========================
   Соцсети — шапка
   ========================= */

.nav-socials {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 15px;
    border: 1px solid #d5e8ee;
    font-weight: 900;
    transition: .2s;
    overflow: hidden;
    background: #f0f9fb;
    color: var(--blue);
}

.social-link span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    line-height: 1;
}

.social-link svg {
    display: block;
    width: 29px;
    height: 29px;
    color: currentColor;
    shape-rendering: geometricPrecision;
    text-rendering: geometricPrecision;
}

.social-link:hover,
.social-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(17, 35, 48, .12);
}

.social-link.social-telegram {
    background: rgba(38, 167, 224, .12);
    border-color: rgba(38, 167, 224, .26);
    color: var(--telegram);
}

.social-link.social-viber {
    background: rgba(115, 96, 242, .12);
    border-color: rgba(115, 96, 242, .28);
    color: var(--viber);
}

.social-link.social-whatsapp {
    background: rgba(37, 211, 102, .12);
    border-color: rgba(37, 211, 102, .28);
    color: var(--whatsapp);
}

/* =========================
   Соцсети — контактный блок
   ========================= */

.contact-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .26);
    color: #fff;
    font-weight: 900;
    font-size: 18px;
    line-height: 1;
    transition: .2s;
    backdrop-filter: blur(8px);
}

.social-button span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 12px;
    color: #fff;
}

.social-button svg {
    display: block;
    width: 30px;
    height: 30px;
    color: currentColor;
    shape-rendering: geometricPrecision;
    text-rendering: geometricPrecision;
}

.social-button.social-telegram span {
    color: var(--telegram);
}

.social-button.social-viber span {
    color: var(--viber);
}

.social-button.social-whatsapp span {
    color: var(--whatsapp);
}

/* =========================
   Футер
   ========================= */

footer {
    padding: 30px 0;
    background: #fff;
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 0;
}

.footer-grid p {
    margin: 0;
}

.footer-brand img {
    height: 42px;
    max-width: 170px;
    object-fit: contain;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
}

.copyright {
    color: rgba(17, 35, 48, 0.62);
    font-size: 14px;
}

.form-disabled {
    background: #fff;
    border-radius: 24px;
    padding: 28px;
    color: #112330;
    box-shadow: 0 20px 60px rgba(17, 35, 48, 0.16);
}

.form-disabled p {
    margin-top: 0;
    margin-bottom: 18px;
}

/* =========================
   Адаптив
   ========================= */

@media (max-width: 900px) {
    .nav nav {
        display: none;
        position: absolute;
        top: 76px;
        left: 20px;
        right: 20px;
        background: white;
        padding: 18px;
        border-radius: 18px;
        box-shadow: var(--shadow);
        flex-direction: column;
    }

    .nav nav.open {
        display: flex;
    }

    .menu {
        display: block;
        margin-left: auto;
    }

    .nav .phone {
        display: none;
    }

    .nav-socials {
        display: none;
    }

    .hero-grid,
    .about,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        order: 1;
    }

    .hero-visual {
        order: 2;
        max-width: 650px;
    }

    .cards,
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .container {
        width: min(100% - 28px, 1160px);
    }

    .header .nav {
        height: 66px;
    }

    .hero {
        padding-top: 42px;
    }

    .hero h1 {
        font-size: 45px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .trust {
        display: grid;
    }

    .cards,
    .steps {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid > div {
        padding: 18px 12px;
    }

    .section {
        padding: 72px 0;
    }

    .price-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .contact form {
        padding: 20px;
    }

    .contact-socials {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .social-button {
        width: auto;
        min-height: 50px;
        justify-content: center;
        padding: 0 16px;
        font-size: 17px;
        border-radius: 15px;
    }

    .social-button span {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }

    .social-button svg {
        width: 28px;
        height: 28px;
    }

    .footer-grid {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid p {
        margin: 0;
    }

    .copyright {
        font-size: 12px;
    }

    .float-card {
        left: 0;
        bottom: 5px;
    }
}