:root {
    --blue: #004dac;
    --blue-deep: #003a85;
    --blue-night: #06224b;
    --aqua: #7fd4ff;
    --bg: #ffffff;
    --tint: #f1f6fc;
    --ink: #17202b;
    --ink-soft: #586576;
    --line: #dde6f1;
    --ok: #1f8a5b;

    --font-display: "Unbounded", system-ui, sans-serif;
    --font-body: "Manrope", system-ui, sans-serif;
    --radius: 22px;
    --wrap: 1120px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 76px;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 24px;
}

h1,
h2 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(32px, 5vw, 54px);
}

h2 {
    font-size: clamp(25px, 3.400vw, 38px);
}

h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

/* ---------- Кнопки ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    padding: 0 26px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 16px;
    white-space: nowrap;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:active {
    transform: scale(0.97);
}

.btn-sm {
    height: 42px;
    padding: 0 18px;
    border-radius: 12px;
    font-size: 15px;
}

.btn-white {
    background: #fff;
    color: var(--blue-deep);
}

.btn-white:hover {
    background: var(--aqua);
}

.btn-ghost {
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
    border-color: #fff;
}

.btn-light {
    background: var(--tint);
    color: var(--blue);
}

.btn-light:hover {
    background: #e2ecf9;
}

.btn-ghost-dark {
    color: var(--blue);
    border: 1.5px solid var(--line);
    background: #fff;
}

.btn-ghost-dark:hover {
    border-color: var(--blue);
}

/* ---------- Шапка ---------- */

.nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.nav-in {
    height: 64px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    color: var(--blue);
}

.logo svg {
    width: 32px;
    height: 32px;
}

.logo span {
    color: var(--ink);
}

.nav-links {
    display: flex;
    gap: 24px;
    margin-left: auto;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink-soft);
}

.nav-links a:hover {
    color: var(--blue);
}

/* ---------- Первый экран ---------- */

.hero {
    background:
        radial-gradient(900px 500px at 85% 10%, rgba(127, 212, 255, 0.28), transparent 60%),
        linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 55%, var(--blue-night) 100%);
    color: #fff;
    overflow: hidden;
}

.hero-in {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 40px;
    align-items: center;
    padding-top: 72px;
    padding-bottom: 0;
}

.hero-text {
    padding-bottom: 72px;
}

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--aqua);
    margin-bottom: 18px;
}

.eyebrow-dark {
    color: var(--blue);
}

.lead {
    margin-top: 22px;
    font-size: 19px;
    line-height: 1.55;
    max-width: 34em;
    color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 34px;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
}

.hero-points li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-points li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--aqua);
}

.hero-phones {
    position: relative;
    height: 560px;
    align-self: end;
}

/* ---------- Телефон ---------- */

/* Высоту задаёт сам скриншот (480×1010) — рамка его не обрезает */
.phone {
    width: 268px;
    border-radius: 38px;
    padding: 9px;
    background: #0d1b2e;
    box-shadow: 0 30px 60px rgba(6, 34, 75, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    flex-shrink: 0;
}

.phone img {
    width: 100%;
    height: auto;
    aspect-ratio: 480 / 1010;
    border-radius: 30px;
    background: #f3f6fb;
}

.phone-front {
    position: absolute;
    left: 8%;
    top: 20px;
    width: 290px;
    z-index: 2;
}

.phone-back {
    position: absolute;
    right: 0;
    top: 90px;
    width: 250px;
    opacity: 0.92;
}

/* ---------- Секции ---------- */

.section {
    padding: 96px 0;
}

.section-tint {
    background: var(--tint);
}

.section-lead {
    margin-top: 16px;
    max-width: 40em;
    font-size: 18px;
    color: var(--ink-soft);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 44px;
}

.pain {
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pain-num {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    color: var(--blue);
}

.pain p {
    color: var(--ink-soft);
    font-size: 16px;
}

/* ---------- Текст + телефоны ---------- */

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 64px;
    align-items: center;
}

.split-reverse {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.split-phones {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.split-phones .phone {
    width: 236px;
    border-radius: 34px;
    padding: 8px;
}

.split-phones .phone img {
    border-radius: 27px;
}

.phone-shift {
    margin-top: 64px;
}

.features {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.features li {
    padding-left: 20px;
    border-left: 3px solid var(--blue);
}

.features p {
    margin-top: 4px;
    color: var(--ink-soft);
    font-size: 16px;
}

/* ---------- Каналы ---------- */

.section-dark {
    background: linear-gradient(170deg, var(--blue-night), #0a2f66);
    color: #fff;
}

.section-dark .section-lead {
    color: rgba(255, 255, 255, 0.78);
}

.channels {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 20px;
    margin-top: 44px;
}

.channel-side {
    display: grid;
    gap: 20px;
}

.channel {
    padding: 28px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.channel-main {
    background: #fff;
    color: var(--ink);
    border-color: #fff;
    padding: 34px;
}

.channel-head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.channel-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: rgba(127, 212, 255, 0.16);
    color: var(--aqua);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.channel-icon svg {
    width: 26px;
    height: 26px;
}

.channel-main .channel-icon {
    background: var(--blue);
    color: #fff;
}

.channel h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 19px;
}

.channel-main h3 {
    font-size: 23px;
}

.channel-sub {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}

.channel-main .channel-sub {
    color: var(--blue);
}

.channel-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.channel-main .channel-text {
    color: var(--ink-soft);
    font-size: 17px;
}

.checks {
    display: grid;
    gap: 14px;
    font-size: 16px;
    color: var(--ink-soft);
}

.checks li {
    position: relative;
    padding-left: 32px;
}

.checks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--ok) 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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.500l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.checks b {
    color: var(--ink);
}

/* ---------- Шаги ---------- */

.steps {
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 44px;
}

.steps li {
    counter-increment: step;
    padding-top: 22px;
    border-top: 3px solid var(--blue);
}

.steps li::before {
    content: counter(step, decimal-leading-zero);
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 28px;
    color: var(--blue);
    margin-bottom: 12px;
}

.steps p {
    margin-top: 6px;
    color: var(--ink-soft);
    font-size: 16px;
}

/* ---------- Контакты ---------- */

.section-cta {
    background: var(--tint);
}

.cta {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 48px;
    align-items: center;
}

.cta .btn {
    margin-top: 28px;
}

.contact-card {
    padding: 30px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(16, 42, 80, 0.08);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 20px;
}

.contact-role {
    color: var(--ink-soft);
    font-size: 15px;
    margin-bottom: 14px;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 54px;
    padding: 0 16px;
    border-radius: 14px;
    background: var(--tint);
    font-weight: 700;
    margin-top: 6px;
    transition: background 0.15s ease, color 0.15s ease;
}

.contact-row svg {
    width: 22px;
    height: 22px;
    color: var(--blue);
    flex-shrink: 0;
}

.contact-row:hover {
    background: var(--blue);
    color: #fff;
}

.contact-row:hover svg {
    color: #fff;
}

/* ---------- Подвал ---------- */

.footer {
    padding: 26px 0;
    font-size: 14px;
    color: var(--ink-soft);
    border-top: 1px solid var(--line);
}

.footer-in {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 24px;
}

/* ---------- Адаптив ---------- */

@media (max-width: 960px) {
    .nav-links {
        display: none;
    }

    .nav-in {
        justify-content: space-between;
    }

    .hero-in,
    .split,
    .split-reverse,
    .channels,
    .cta {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-in {
        padding-top: 48px;
    }

    .hero-text {
        padding-bottom: 8px;
    }

    .hero-phones {
        height: 420px;
        max-width: 420px;
        width: 100%;
        margin: 0 auto;
    }

    .phone-front {
        width: 230px;
        left: 4%;
    }

    .phone-back {
        width: 200px;
        top: 70px;
    }

    .section {
        padding: 64px 0;
    }

    .grid-3 {
        grid-template-columns: minmax(0, 1fr);
    }

    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split {
        gap: 40px;
    }

    /* На узком экране телефоны всегда под текстом */
    .split:not(.split-reverse) .split-phones {
        order: 2;
    }
}

@media (max-width: 560px) {
    body {
        font-size: 16px;
    }

    .wrap {
        padding: 0 18px;
    }

    .btn {
        width: 100%;
    }

    .nav .btn {
        width: auto;
    }

    .split-phones {
        gap: 12px;
    }

    .split-phones .phone {
        width: 47%;
        border-radius: 26px;
        padding: 6px;
    }

    .split-phones .phone img {
        border-radius: 21px;
    }

    .phone-shift {
        margin-top: 36px;
    }

    .steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .channel,
    .channel-main {
        padding: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .btn {
        transition: none;
    }
}
