@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../fonts/manrope-cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../fonts/manrope-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --brand-950: #061a2a;
    --brand-900: #0b2b43;
    --brand-800: #0f3a59;
    --brand-700: #15537a;
    --brand-600: #1c6b97;
    --brand-500: #2d84b3;
    --sky-100: #e7f1f7;
    --sky-50: #f4f8fb;
    --surface: rgba(255, 255, 255, 0.88);
    --surface-strong: #ffffff;
    --line: rgba(11, 43, 67, 0.1);
    --text: #112333;
    --muted: #5a6a78;
    --shadow: 0 24px 60px rgba(10, 37, 56, 0.12);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --header-height-desktop: 104px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: "Manrope", "Segoe UI", sans-serif;
    line-height: 1.6;
    background:
        radial-gradient(circle at top left, rgba(45, 132, 179, 0.18), transparent 35%),
        radial-gradient(circle at top right, rgba(21, 83, 122, 0.18), transparent 32%),
        linear-gradient(180deg, #f8fbfd 0%, #eef5f9 42%, #f8fbfd 100%);
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

.page-shell {
    min-height: 100vh;
}

.container {
    width: min(94vw, 1480px);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    min-height: var(--header-height-desktop);
    backdrop-filter: blur(14px);
    background: rgba(248, 251, 253, 0.82);
    border-bottom: 1px solid rgba(11, 43, 67, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: calc(var(--header-height-desktop) - 28px);
    padding: 14px 0;
}

.brand {
    display: block;
    flex-shrink: 0;
}

.brand picture {
    display: block;
}

.brand-logo {
    width: clamp(180px, 20vw, 260px);
    height: auto;
}

.burger-button {
    display: none;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 0;
    border: 1px solid rgba(11, 43, 67, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 12px 28px rgba(7, 25, 39, 0.08);
    cursor: pointer;
}

.burger-button span {
    position: absolute;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--brand-900);
    transition: transform 0.24s ease, opacity 0.24s ease;
}

.burger-button span:nth-child(1) {
    transform: translateY(-6px);
}

.burger-button span:nth-child(2) {
    transform: translateY(0);
}

.burger-button span:nth-child(3) {
    transform: translateY(6px);
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    font-size: 15px;
    color: var(--muted);
}

.site-nav a {
    position: relative;
    transition: color 0.2s ease;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand-700), var(--brand-500));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.24s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.contact-link:hover,
.contact-link:focus-visible {
    color: var(--brand-700);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    min-height: 48px;
}

.header-contacts {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex-wrap: nowrap;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    color: var(--brand-900);
    font-weight: 700;
    font-size: 15px;
    line-height: 1.25;
}

.header-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    padding: 13px 20px;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
    cursor: pointer;
}

.header-cta,
.button-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
    box-shadow: 0 18px 32px rgba(12, 58, 89, 0.18);
}

.button-secondary {
    color: var(--brand-800);
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(15, 58, 89, 0.12);
}

.header-cta:hover,
.button:hover,
.header-cta:focus-visible,
.button:focus-visible {
    transform: translateY(-2px);
}

.button-full {
    width: 100%;
}

.hero {
    padding: 10px 0 8px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.78fr);
    gap: 16px;
    align-items: start;
}

.hero-copy,
.lead-panel,
.service-card,
.price-card,
.step-card,
.trust-banner,
.contact-panel,
.faq-item {
    border: 1px solid rgba(11, 43, 67, 0.08);
    box-shadow: var(--shadow);
}

.hero-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    padding: 28px;
    border-radius: var(--radius-xl);
    background:
        linear-gradient(135deg, rgba(12, 58, 89, 0.96), rgba(28, 107, 151, 0.92)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
    color: #ffffff;
    overflow: hidden;
}

.hero-copy::before,
.hero-copy::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-copy::before {
    width: 240px;
    height: 240px;
    right: -50px;
    top: -70px;
    background: rgba(255, 255, 255, 0.08);
}

.hero-copy::after {
    width: 180px;
    height: 180px;
    left: -40px;
    bottom: -40px;
    background: rgba(255, 255, 255, 0.05);
}

.eyebrow,
.card-eyebrow,
.lead-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.hero-copy .eyebrow {
    background: rgba(255, 255, 255, 0.12);
    color: #eef8ff;
}

.section .eyebrow,
.trust-banner .eyebrow,
.contact-copy .eyebrow {
    color: var(--brand-700);
    background: rgba(28, 107, 151, 0.1);
}

.card-eyebrow,
.lead-label {
    color: var(--brand-700);
    background: rgba(28, 107, 151, 0.1);
}

h1,
h2,
h3,
p {
    margin: 0;
}

h1 {
    max-width: none;
    margin-top: 10px;
    font-size: clamp(22px, 2.55vw, 40px);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

h3 {
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-lead {
    max-width: 58ch;
    margin-top: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.86);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.hero-badges span,
.trust-points span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
}

.hero-badges span {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.pain-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.pain-card {
    padding: 12px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.pain-card h2 {
    font-size: 18px;
    line-height: 1.2;
}

.pain-card p {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

.lead-panel {
    position: relative;
    top: auto;
    align-self: start;
    scroll-margin-top: 120px;
    padding: 16px;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 250, 253, 0.96));
}

.lead-panel-top {
    margin-bottom: 8px;
}

.lead-panel-top p {
    margin-top: 6px;
    font-size: 12px;
    color: var(--muted);
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-field label {
    font-size: 11px;
    font-weight: 700;
    color: var(--brand-900);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: 1px solid rgba(15, 58, 89, 0.14);
    border-radius: 16px;
    padding: 9px 12px;
    background: #ffffff;
    color: var(--text);
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--brand-600);
    box-shadow: 0 0 0 4px rgba(45, 132, 179, 0.16);
    transform: translateY(-1px);
}

.form-field textarea {
    min-height: 68px;
    resize: vertical;
}

.form-note,
.form-status,
.section-heading p,
.service-card p,
.price-card p,
.step-card p,
.faq-item p,
.contact-copy p,
.contact-data p {
    color: var(--muted);
}

.form-note {
    font-size: 11px;
    margin-top: 2px;
}

.lead-panel .button-full {
    padding-top: 10px;
    padding-bottom: 10px;
}

.form-status {
    min-height: 24px;
    font-size: 14px;
    font-weight: 700;
}

.form-status.is-success {
    color: #1b6c4b;
}

.form-status.is-error {
    color: #b63434;
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.section {
    padding: 42px 0;
}

.section-compact {
    padding-top: 8px;
}

.section-contrast {
    padding: 58px 0;
}

.section-heading {
    max-width: 760px;
}

.section-heading h2 {
    margin-top: 16px;
}

.section-heading p {
    margin-top: 16px;
    font-size: 18px;
}

.service-grid,
.pricing-grid,
.steps {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.service-card,
.price-card,
.step-card {
    padding: 26px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    backdrop-filter: blur(10px);
}

.pain-card,
.lead-panel,
.service-card,
.price-card,
.step-card,
.trust-banner,
.contact-panel,
.faq-item {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.pain-card::before,
.lead-panel::before,
.service-card::before,
.price-card::before,
.step-card::before,
.trust-banner::before,
.contact-panel::before,
.faq-item::before {
    content: "";
    position: absolute;
    top: -18%;
    left: -52%;
    width: 36%;
    height: 136%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    opacity: 0;
    transform: translateX(-180%) skewX(-20deg);
    pointer-events: none;
    transition: transform 0.9s ease, opacity 0.28s ease;
}

.pain-card:hover::before,
.pain-card:focus-within::before,
.lead-panel:hover::before,
.lead-panel:focus-within::before,
.service-card:hover::before,
.service-card:focus-within::before,
.price-card:hover::before,
.price-card:focus-within::before,
.step-card:hover::before,
.step-card:focus-within::before,
.trust-banner:hover::before,
.trust-banner:focus-within::before,
.contact-panel:hover::before,
.contact-panel:focus-within::before,
.faq-item:hover::before,
.faq-item:focus-within::before {
    opacity: 1;
    transform: translateX(440%) skewX(-20deg);
}

.service-card h3,
.price-card h3,
.step-card h3 {
    margin-top: 14px;
}

.service-card p,
.price-card p,
.step-card p {
    margin-top: 12px;
}

.price-value {
    margin-top: 18px;
    color: var(--brand-700);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.process-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: start;
}

.step-card {
    position: relative;
    overflow: hidden;
}

.step-number {
    display: inline-grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
}

.trust-banner,
.contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    gap: 24px;
    padding: 32px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(230, 241, 247, 0.85));
}

.trust-points,
.contact-data {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.trust-points span {
    background: rgba(11, 43, 67, 0.06);
    color: var(--brand-800);
}

.faq-list {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.faq-item {
    padding: 0;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.78);
    overflow: hidden;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 24px 26px;
    font-size: 20px;
    font-weight: 800;
    color: var(--brand-900);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    padding: 0 26px 24px;
}

.contact-data a {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--brand-900);
}

.site-footer {
    padding: 0 0 38px;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(11, 43, 67, 0.1);
    color: var(--muted);
    font-size: 14px;
}

.footer-meta {
    display: flex;
    align-items: center;
    gap: 12px 18px;
    flex-wrap: wrap;
}

.footer-credit {
    white-space: nowrap;
}

.footer-credit-link {
    color: var(--brand-700);
    font-weight: 800;
    transition: color 0.18s ease;
}

.footer-credit-link:hover,
.footer-credit-link:focus-visible {
    color: var(--brand-500);
}

.footer-link,
.inline-link {
    appearance: none;
    padding: 0;
    border: 0;
    background: none;
    color: var(--brand-700);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.footer-link:hover,
.footer-link:focus-visible,
.inline-link:hover,
.inline-link:focus-visible {
    color: var(--brand-500);
}

.modal[hidden],
.cookie-banner[hidden] {
    display: none;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(6, 26, 42, 0.52);
    backdrop-filter: blur(10px);
}

.modal-card {
    width: min(760px, 100%);
    max-height: min(82vh, 820px);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(11, 43, 67, 0.1);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 34px 80px rgba(7, 25, 39, 0.22);
    overflow: hidden;
}

.modal-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 28px 18px;
    border-bottom: 1px solid rgba(11, 43, 67, 0.08);
}

.modal-close {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(11, 43, 67, 0.08);
    color: var(--brand-900);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.modal-body {
    padding: 0 28px 28px;
    overflow: auto;
}

.modal-copy + .modal-copy {
    margin-top: 18px;
}

.modal-copy h3 {
    margin-bottom: 8px;
    color: var(--brand-900);
    font-size: 20px;
}

.modal-copy p {
    color: var(--muted);
}

.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 60;
    width: min(780px, calc(100% - 24px));
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px 20px;
    align-items: center;
    padding: 18px 20px;
    border: 1px solid rgba(11, 43, 67, 0.1);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 60px rgba(7, 25, 39, 0.16);
    backdrop-filter: blur(12px);
}

.cookie-copy strong {
    display: block;
    color: var(--brand-900);
    font-size: 16px;
}

.cookie-copy p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 14px;
}

.cookie-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

body.is-locked {
    overflow: hidden;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (min-width: 1121px) {
    .hero {
        min-height: calc(100svh - 76px);
    }
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .button,
    .header-cta,
    .form-field input,
    .form-field select,
    .form-field textarea {
        transition: none;
    }

    .pain-card::before,
    .lead-panel::before,
    .service-card::before,
    .price-card::before,
    .step-card::before,
    .trust-banner::before,
    .contact-panel::before,
    .faq-item::before {
        display: none;
    }
}

@media (max-width: 1120px) {
    .site-header {
        min-height: 0;
    }

    .header-inner,
    .process-layout,
    .trust-banner,
    .contact-panel,
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .header-inner {
        display: grid;
    }

    .site-nav {
        justify-content: start;
        flex-wrap: wrap;
    }

    .header-actions {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .header-contacts {
        flex-wrap: wrap;
    }

    .lead-panel {
        position: static;
        scroll-margin-top: 96px;
    }

    .pain-points,
    .service-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 24px, 94vw);
    }

    .hero {
        padding-top: 24px;
    }

    .hero-copy,
    .lead-panel,
    .service-card,
    .price-card,
    .step-card,
    .trust-banner,
    .contact-panel {
        padding: 22px;
        border-radius: 22px;
    }

    .header-inner,
    .hero-actions,
    .form-row,
    .pain-points,
    .service-grid,
    .pricing-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        align-items: stretch;
    }

    .header-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "brand burger"
            "actions actions"
            "nav nav";
        align-items: center;
        gap: 12px 14px;
    }

    .brand {
        grid-area: brand;
    }

    .burger-button {
        position: relative;
        display: inline-flex;
        grid-area: burger;
        justify-self: end;
    }

    .site-nav {
        display: none;
        grid-area: nav;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 14px 16px;
        border: 1px solid rgba(11, 43, 67, 0.1);
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 18px 40px rgba(7, 25, 39, 0.08);
    }

    .site-header.is-menu-open .site-nav {
        display: flex;
    }

    .site-header.is-menu-open .burger-button span:nth-child(1) {
        transform: translateY(0) rotate(45deg);
    }

    .site-header.is-menu-open .burger-button span:nth-child(2) {
        opacity: 0;
    }

    .site-header.is-menu-open .burger-button span:nth-child(3) {
        transform: translateY(0) rotate(-45deg);
    }

    .header-actions {
        grid-area: actions;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 12px;
    }

    .header-contacts {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 6px;
    }

    .contact-link {
        font-size: 14px;
    }

    .header-cta {
        min-height: 46px;
        padding: 12px 16px;
        font-size: 14px;
        white-space: nowrap;
    }

    .footer-meta,
    .cookie-actions {
        justify-content: flex-start;
    }

    .site-nav {
        gap: 14px;
        font-size: 14px;
    }

    h1 {
        max-width: none;
        font-size: clamp(30px, 8.5vw, 40px);
    }

    h2 {
        font-size: clamp(28px, 8vw, 38px);
    }

    .hero-lead,
    .section-heading p {
        font-size: 17px;
    }

    .contact-data a {
        font-size: 22px;
    }

    .cookie-banner {
        grid-template-columns: 1fr;
        padding: 16px;
        bottom: 12px;
    }

    .modal {
        padding: 12px;
    }

    .modal-card {
        max-height: calc(100vh - 24px);
        border-radius: 24px;
    }

    .modal-header,
    .modal-body {
        padding-left: 20px;
        padding-right: 20px;
    }
}
