@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url("fonts/inter-cyrillic.woff2") format("woff2");
}

:root {
    --bg: #f6f7fb;
    --ink: #151724;
    --muted: #5b6175;
    --line: #dfe3ee;
    --soft: #ffffff;
    --deep: #10131d;
    --accent: #2457d6;
    --cyan: #058d98;
    --gold: #9b6a12;
    --radius: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(246,247,251,.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.nav,
.container {
    width: min(1120px, calc(100% - 36px));
    margin: 0 auto;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 68px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-weight: 800;
}

.brand img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: .9rem;
    color: var(--muted);
}

.nav-links a { color: var(--muted); }

.hero {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(16,19,29,.94), rgba(16,19,29,.74) 54%, rgba(16,19,29,.34)),
        url("img/photo.jpg") right 12% center / min(42vw, 420px) auto no-repeat,
        var(--deep);
    color: #fff;
}

.hero .container {
    padding: 86px 0 74px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #b6d8ff;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 24px;
    height: 2px;
    background: #5ddbe3;
}

h1 {
    max-width: 820px;
    margin: 0 0 20px;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.06;
    letter-spacing: 0;
}

.lead {
    max-width: 760px;
    margin: 0 0 30px;
    color: rgba(255,255,255,.82);
    font-size: clamp(1rem, 2vw, 1.25rem);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
    border-radius: var(--radius);
    font-weight: 800;
    line-height: 1.15;
}

.btn.primary {
    background: #fff;
    color: var(--deep);
}

.btn.secondary {
    border: 1px solid rgba(255,255,255,.34);
    color: #fff;
}

section { padding: 72px 0; }

.section-title {
    max-width: 780px;
    margin: 0 0 26px;
    font-size: clamp(1.55rem, 3vw, 2.45rem);
    line-height: 1.16;
}

.section-text {
    max-width: 820px;
    color: var(--muted);
    margin: 0 0 26px;
}

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

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

.item {
    padding: 22px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.item h3 {
    margin: 0 0 10px;
    font-size: 1rem;
    line-height: 1.3;
}

.item p {
    margin: 0;
    color: var(--muted);
    font-size: .94rem;
}

.steps {
    display: grid;
    gap: 12px;
    counter-reset: step;
}

.step {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 16px;
    align-items: start;
    padding: 18px 0;
    border-top: 1px solid var(--line);
}

.step::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--deep);
    color: #fff;
    font-weight: 900;
    font-size: .82rem;
}

.step h3 {
    margin: 0 0 5px;
    font-size: 1rem;
}

.step p {
    margin: 0;
    color: var(--muted);
}

.note {
    padding: 22px;
    border-left: 4px solid var(--cyan);
    background: #eefbfc;
    color: #17444a;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.note strong { color: #082d31; }

.faq {
    display: grid;
    gap: 12px;
}

details {
    padding: 18px 20px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

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

details p {
    margin: 10px 0 0;
    color: var(--muted);
}

.cta {
    background: var(--deep);
    color: #fff;
    padding: 58px 0;
}

.cta .section-title,
.cta .section-text { color: #fff; }
.cta .section-text { color: rgba(255,255,255,.75); }

.footer {
    padding: 28px 0;
    color: var(--muted);
    border-top: 1px solid var(--line);
    font-size: .88rem;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 860px) {
    .nav {
        min-height: 62px;
    }

    .nav-links {
        gap: 12px;
        font-size: .84rem;
    }

    .hero {
        min-height: auto;
        background:
            linear-gradient(90deg, rgba(16,19,29,.96), rgba(16,19,29,.84)),
            url("img/photo.jpg") right 16px top 76px / 150px auto no-repeat,
            var(--deep);
    }

    .hero .container {
        padding: 82px 0 58px;
    }

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

@media (max-width: 560px) {
    .nav,
    .container {
        width: min(100% - 28px, 1120px);
    }

    .nav {
        align-items: flex-start;
        flex-direction: column;
        padding: 12px 0;
        gap: 8px;
    }

    .nav-links {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .hero {
        background:
            linear-gradient(90deg, rgba(16,19,29,.96), rgba(16,19,29,.9)),
            var(--deep);
    }

    .actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    section {
        padding: 52px 0;
    }

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