/* =========================
   Reset
========================= */
* {
    margin: 0;
    padding: 0;
    border: 0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

:focus,
:active {
    outline: none;
}

a:focus,
a:active {
    outline: none;
}

nav,
footer,
header,
aside {
    display: block;
}

html,
body {
    height: 100%;
    width: 100%;
    font-size: 14px;
    line-height: 1;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    /* только по X, по Y скролл норм */
}

input,
button,
textarea {
    font-family: inherit;
}

input::-ms-clear {
    display: none;
}

button {
    cursor: pointer;
    background: none;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

a,
a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

ul li {
    list-style: none;
}

img {
    vertical-align: top;
}

textarea {
    resize: none;
}

/* =========================
   Hide scrollbars (BUT allow scrolling)
   Работает и для body, и для html.
========================= */
html,
body {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge legacy */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 0;
    height: 0;
}

/* =========================
   Fonts
========================= */
@font-face {
    font-family: 'SB Sans Interface';
    font-style: normal;
    font-weight: 400;
    src: url('SBSansUI-Regular.woff2');
}

@font-face {
    font-family: 'SB Sans Interface';
    font-style: normal;
    font-weight: 500;
    src: url('SBSansUI-Semibold.woff2');
}

@font-face {
    font-family: 'SB Sans Interface';
    font-style: normal;
    font-weight: 600;
    src: url('SBSansUI-Bold.woff2');
}

/* =========================
   Theme variables (light)
========================= */
:root {
    color-scheme: light dark;

    --page-bg: #ffffff;
    --text: #303844;
    --muted: #8892a0;

    --surface: #ffffff;
    /* карточки */
    --surface-2: #F5F7FA;
    /* вторичные */
    --section-bg: #F3F7FF;
    /* большие секции (bg_grey/footer) — НЕ белый */

    --border: rgba(15, 23, 42, 0.10);
    --border-strong: rgba(15, 23, 42, 0.16);

    --shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 22px 60px rgba(15, 23, 42, 0.12);

    --overlay: rgba(2, 6, 23, 0.55);
    --menu-bg: var(--surface);

    --accent-1: #38BDF8;
    --accent-2: #06B6D4;
    --accent-3: #3B82F6;

    --accent-gradient: linear-gradient(85.51deg, var(--accent-1) -25.07%, var(--accent-2) 58.03%, var(--accent-3) 105.71%);
    --btn-gradient: linear-gradient(88.21deg, #3B82F6 0.86%, #06B6D4 97.76%);

    --glass-bg: rgba(245, 247, 250, 0.75);
    --loader-bg: rgba(56, 189, 248, 0.26);

    --section-shadow: 0 22px 60px rgba(15, 23, 42, 0.07);
}

/* auto dark theme */
@media (prefers-color-scheme: dark) {
    :root {
        --page-bg: #0b1220;
        --text: #E5E7EB;
        --muted: #94A3B8;

        --surface: #111b33;
        /* карточки */
        --surface-2: #0f172a;
        /* вторичные */
        --section-bg: #0f172a;
        /* секции (отличается от page-bg!) */

        --border: rgba(148, 163, 184, 0.20);
        --border-strong: rgba(148, 163, 184, 0.30);

        --shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
        --shadow-hover: 0 26px 80px rgba(0, 0, 0, 0.45);

        --overlay: rgba(0, 0, 0, 0.65);
        --menu-bg: #0f172a;

        --glass-bg: rgba(17, 27, 51, 0.72);
        --loader-bg: rgba(56, 189, 248, 0.22);

        --section-shadow: 0 28px 90px rgba(0, 0, 0, 0.40);
    }
}

/* =========================
   Base
========================= */
body {
    font-family: 'SB Sans Interface', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: var(--page-bg);
    color: var(--text);
}

/* мягкий фон */
body::before {
    content: "";
    position: fixed;
    inset: -200px;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(900px 520px at 15% 10%, rgba(56, 189, 248, 0.18), rgba(56, 189, 248, 0) 60%),
        radial-gradient(780px 460px at 85% 22%, rgba(59, 130, 246, 0.16), rgba(59, 130, 246, 0) 65%),
        radial-gradient(900px 520px at 70% 92%, rgba(6, 182, 212, 0.12), rgba(6, 182, 212, 0) 60%);
}

@media (prefers-color-scheme: dark) {
    body::before {
        background:
            radial-gradient(900px 520px at 15% 10%, rgba(56, 189, 248, 0.12), rgba(56, 189, 248, 0) 60%),
            radial-gradient(780px 460px at 85% 22%, rgba(59, 130, 246, 0.10), rgba(59, 130, 246, 0) 65%),
            radial-gradient(900px 520px at 70% 92%, rgba(6, 182, 212, 0.08), rgba(6, 182, 212, 0) 60%);
    }
}

a {
    font-weight: 400;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    background-image: var(--accent-gradient);
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
p {
    font-weight: 400;
    font-family: 'SB Sans Interface', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 120%;
}

h2 {
    font-size: 36px;
    font-weight: 800;
    line-height: 120%;
}

h3 {
    font-size: 24px;
    line-height: 120%;
}

h4 {
    font-size: 20px;
    line-height: 120%;
}

h5 {
    font-size: 14px;
    line-height: 120%;
}

p {
    font-size: 16px;
    line-height: 140%;
}

.mt_50 {
    margin-top: 50px;
}

.mb20 {
    margin-bottom: 20px;
}

/* =========================
   Reveal (scroll animations)
========================= */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .65s ease, transform .65s ease;
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* =========================
   Layout
========================= */
.container {
    width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}

/* ВАЖНО: убрали градиент, делаем красивую однотонную секцию + граница */
.bg_grey {
    max-width: 1570px;
    margin: 0 auto;
    padding: 0 15px;

    background: var(--section-bg);
    border: 1px solid var(--border);
    box-shadow: var(--section-shadow);

    border-radius: 50px;
}

/* footer */
.bg_grey--flat {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* =========================
   Images keep sizes correct
========================= */
.logo img,
.burger img,
.close img,
.one_img img,
.three_min img,
.img_bg img,
.footer_block_img_col img {
    object-fit: contain;
}

/* =========================
   Info icon
========================= */
.one_i {
    width: 100%;
    display: flex;
    flex-direction: row;
    margin-top: 10px;
    margin-left: 20px;
    align-items: center;
    gap: 8px;
}

.one_i h5 {
    font-size: 12px;
    color: var(--muted);
}

.info_icon {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: var(--accent-gradient);
    display: inline-grid;
    place-items: center;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.22);
    flex: 0 0 auto;
}

.info_icon::before {
    content: "i";
    font-size: 12px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    transform: translateY(-0.5px);
}

/* =========================
   Button
========================= */
.btn {
    width: 265px;
    height: 55px;
    display: flex;

    background: var(--btn-gradient);
    background-size: 180% 180%;
    border-radius: 50px;

    color: #fff;
    -webkit-background-clip: border-box;
    background-clip: border-box;

    align-items: center;
    justify-content: center;

    font-size: 18px;
    font-weight: 800;

    box-shadow: 0 14px 28px rgba(59, 130, 246, 0.20);
    transition: transform .22s ease, box-shadow .22s ease, background-position .4s ease, filter .22s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(59, 130, 246, 0.28);
    background-position: 100% 0;
    filter: saturate(1.05);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.18);
}

/* =========================
   Header & nav
========================= */
.header {
    margin-top: 40px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    cursor: pointer;

    color: var(--text);
    background-image: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.logo img {
    width: 60px;
    height: 60px;
    margin-right: 10px;
}

.logo_text {
    display: flex;
    flex-direction: column;
}

.logo h4 {
    font-weight: 900;
    color: var(--text);
}

.logo h5 {
    font-weight: 400;
    width: 160px;
    color: var(--muted);
}

.burger {
    display: flex;
    transition: transform .25s ease;
}

.burger.active {
    transform: rotate(90deg);
}

.burger img {
    height: 38px;
    width: 42px;
}

/* desktop nav */
.navigation {
    display: flex;
    width: 100%;
    justify-content: space-between;

    height: 0;
    overflow: hidden;

    margin-top: 0;
    opacity: 0;
    transform: translateY(-6px);

    transition: height .35s ease, opacity .25s ease, transform .25s ease, border-color .25s ease;
    border-bottom: 0 solid transparent;

    /* КРИТИЧНО ДЛЯ СКРОЛЛА: когда закрыто — не перехватывать wheel/touch */
    pointer-events: none;
}

.navigation.active {
    height: 40px;
    margin-top: 20px;
    border-bottom: 1px solid var(--border);
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.navigation a {
    font-size: 16px;
    color: var(--text);

    background-image: none;
    -webkit-background-clip: initial;
    background-clip: initial;

    margin-right: 40px;
    transition: 0.2s ease;
    position: relative;
}

.navigation a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 2px;
    width: 0%;
    background: var(--accent-gradient);
    border-radius: 2px;
    transition: width .25s ease;
}

.navigation a:hover::after {
    width: 70%;
}

.nav_enter a {
    margin-right: 0;
}

.close {
    display: none;
}

/* overlay — КРИТИЧНО: когда закрыт, pointer-events none */
.nav_overlay {
    position: fixed;
    inset: 0;
    background: var(--overlay);
    opacity: 0;
    pointer-events: none;
    /* <- важное */
    transition: opacity .25s ease;
    z-index: 1000;
}

.nav_overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* =========================
   One
========================= */
.one {
    display: flex;
    width: 100%;
    margin-top: 40px;
    justify-content: space-between;
    align-items: flex-start;
}

.one_text {
    display: flex;
    width: 395px;
    flex-direction: column;
}

.one_text h1 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 24px;
}

.one_text h4 {
    font-size: 18px;
    color: var(--muted);
    margin-bottom: 30px;
    width: 350px;
}

.one_img {
    display: flex;
    margin-top: -30px;
}

/* не прыгает/не “плавает” */
.one_img img {
    width: 680px;
    height: 441px;
    transform: none !important;
    animation: none !important;
}

/* =========================
   Two
========================= */
.two {
    display: flex;
    width: 100%;
    justify-content: center;
    padding-top: 30px;
}

.two h2 {
    font-size: 36px;
    font-weight: 900;
    max-width: 720px;
    text-align: center;
}

/* =========================
   Subscription blocks
========================= */
.tabs_row {
    padding: 45px 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tabs_col_body {
    width: 990px;
    border-radius: 20px;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.tabs_col_all {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 50px;
}

.tabs_col_block {
    width: 455px;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;

    background: var(--surface);
    border-radius: 30px;
    padding: 22px 22px 18px;

    border: 1px solid var(--border);
    box-shadow: var(--shadow);

    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.tabs_col_block:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-strong);
}

.tabs_col_block h3 {
    font-weight: 900;
}

.tabs_col_block p {
    color: var(--muted);
}

/* Marquee */
.marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-top: 6px;
    padding: 2px 0;
}

.marquee::before,
.marquee::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 34px;
    pointer-events: none;
    z-index: 2;
}

.marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--surface) 0%, rgba(0, 0, 0, 0) 100%);
}

.marquee::after {
    right: 0;
    background: linear-gradient(270deg, var(--surface) 0%, rgba(0, 0, 0, 0) 100%);
}

.marquee__track {
    display: flex;
    align-items: center;
    width: max-content;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    animation: marquee var(--marquee-duration, 34s) linear infinite;
}

.marquee--sm {
    --marquee-duration: 32s;
}

.marquee--lg {
    --marquee-duration: 40s;
}

@keyframes marquee {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

.marquee__track img {
    flex: 0 0 auto;
    object-fit: contain;
    margin-right: 15px;
}

/* sizes */
.marquee--sm img {
    width: 110px;
    height: 110px;
}

.marquee--lg img {
    width: 200px;
    height: 110px;
}

/* tariff block */
.tabs_col_block_all {
    width: 100%;
    min-height: 365px;
    border-radius: 30px;
    padding: 30px;

    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: center;

    border: 1px solid var(--border);
    box-shadow: var(--shadow);

    background:
        radial-gradient(600px 600px at 92% 90%, rgba(59, 130, 246, 0.16), rgba(59, 130, 246, 0) 60%),
        url(../img/img_2.png) no-repeat right -60px bottom -40px / 560px,
        var(--surface);

    overflow: hidden;
}

.tabs_col_block_text h2 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 14px;
}

.tabs_col_block_text span,
.answer span,
.footer_block span {
    font-weight: 900;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    background-image: var(--accent-gradient);
}

.plan_subtitle {
    color: var(--muted);
    margin-bottom: 14px;
}

.plan_list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 18px 0;
}

.plan_list li {
    position: relative;
    padding-left: 22px;
    color: var(--text);
    font-size: 14px;
    line-height: 140%;
}

.plan_list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: var(--accent-gradient);
}

.plan_actions {
    margin-top: 2px;
}

.plan_side {
    display: flex;
    justify-content: flex-end;
}

.plan_side_card {
    width: 100%;
    border-radius: 24px;
    padding: 18px;

    background: var(--glass-bg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(6px);
}

.plan_side_badge {
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.18);
    font-size: 12px;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 10px;
}

.plan_side_price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 8px;
}

.plan_side_amount {
    font-size: 34px;
    font-weight: 900;
    color: var(--text);
}

.plan_side_period {
    font-size: 14px;
    color: var(--muted);
}

.plan_side_note {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 10px;
}

.plan_side_hint {
    font-size: 12px;
    color: var(--muted);
    line-height: 140%;
}

/* =========================
   Three (PC: row-reverse)
========================= */
.center {
    display: flex;
    justify-content: center;
}

.three {
    width: 990px;
    display: flex;
    flex-direction: row-reverse;
    margin: 50px 0;
    justify-content: space-between;
    gap: 22px;
}

.three_column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 350px;
    flex: 0 0 350px;
}

.three_min {
    width: 350px;
    height: 155px;
    display: flex;
    flex-direction: row;
    background: var(--surface-2);
    padding: 25px;
    border-radius: 35px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    align-items: center;
    justify-content: space-between;
    transition: transform .22s ease, box-shadow .22s ease;
}

.three_min:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.three_min img {
    width: 100px;
    height: 90px;
    margin-right: 10px;
}

.three_min h5 {
    color: var(--muted);
    line-height: 140%;
}

/* main steps */
.three_max {
    width: 600px;
    height: 340px;
    display: flex;
    flex-direction: row;
    padding: 25px;
    border-radius: 35px;

    border: 1px solid var(--border);
    box-shadow: var(--shadow);

    background: linear-gradient(180deg, var(--surface-2) 0%, rgba(0, 0, 0, 0) 140%);
    position: relative;
    overflow: hidden;
}

.three_max::before,
.three_max::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: 490px;
    background-position: 190px -55px;
    transition: opacity .45s ease, transform .55s ease;
}

.three_max::before {
    background-image: url(../img/img_3.png);
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.three_max::after {
    background-image: url(../img/img_6.png);
    opacity: 0;
    transform: translate3d(0, 8px, 0) scale(1.02);
}

.three_max.is-step2::before {
    opacity: 0;
    transform: translate3d(0, -8px, 0) scale(0.98);
}

.three_max.is-step2::after {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.three_max_text {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.step_label {
    margin-bottom: 0;
    color: var(--text);
    font-weight: 900;
    transition: opacity .22s ease, transform .22s ease;
}

.step_label.is-changing {
    opacity: 0;
    transform: translateY(-6px);
}

/* loader */
.loader_col {
    display: flex;
    flex-direction: row;
    margin: 10px 0;
    align-items: center;
}

.loader {
    width: 65px;
    height: 10px;
    border-radius: 2px;
    background: var(--loader-bg);
    margin-right: 10px;
    overflow: hidden;
    transition: width .45s ease;
}

.loader--small {
    width: 20px;
}

.three_max.is-step2 #loader {
    width: 20px;
}

.three_max.is-step2 #loaderTwo {
    width: 65px;
}

.load {
    width: 0%;
    height: 10px;
    border-radius: 2px;
    background: linear-gradient(90deg, #2563EB, #06B6D4, #2563EB);
    background-size: 200% 100%;
    animation: shimmer 1.1s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* step text fade */
.step_content {
    position: relative;
    margin-top: 6px;
    min-height: 175px;
}

.content_one,
.content_two {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    transition: opacity .35s ease, transform .35s ease;
}

.content_one {
    opacity: 1;
    transform: translateY(0);
}

.content_two {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

.three_max.is-step2 .content_one {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

.three_max.is-step2 .content_two {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.three_max h3 {
    font-weight: 900;
    margin-bottom: 12px;
}

.three_max h5 {
    font-weight: 400;
    color: var(--muted);
    width: 260px;
    margin-bottom: 12px;
    line-height: 140%;
}

/* =========================
   FAQ
========================= */
.faq_title {
    text-align: center;
    margin-bottom: 40px;
}

.accordion {
    margin-top: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.question {
    width: 100%;
    display: flex;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
    cursor: pointer;
    justify-content: space-between;
}

.question h3 {
    font-size: 20px;
    line-height: 120%;
    font-weight: 800;
    color: var(--text);
}

.question_svg {
    width: 24px;
    height: 24px;
}

.question_svg path {
    stroke: var(--text) !important;
}

.question svg {
    transition: transform .25s ease;
    width: 24px;
    height: 24px;
}

.answer {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    display: flex;
    transition: max-height .35s ease;
}

.answer p {
    font-size: 16px;
    line-height: 140%;
    padding: 18px 10px;
    color: var(--muted);
}

.accordion.active .answer {
    border-bottom: 1px solid var(--border);
    margin-bottom: 10px;
}

.accordion.active .question svg {
    transform: rotate(180deg);
}

/* =========================
   IMG
========================= */
.img_bg {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    margin-bottom: -50px;
}

.img_bg img {
    width: 350px;
    height: 250px;
}

/* =========================
   Footer
========================= */
.footer_navi {
    display: flex;
    width: 100%;
    flex-direction: row;
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
    justify-content: space-between;
}

.footer_navi a {
    font-size: 18px;
    color: var(--text);
    background-image: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    margin-right: 40px;
    transition: 0.2s ease;
}

.footer_navi a:hover {
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    background-image: var(--accent-gradient);
}

.footer_col {
    width: 100%;
    display: flex;
    flex-direction: row;
    padding: 30px 0;
    justify-content: space-between;
}

.footer_block {
    display: flex;
    flex-direction: column;
}

.footer_block_right {
    align-items: flex-end;
    text-align: right;
}

.footer_block a {
    font-size: 18px;
    color: var(--text);
    background-image: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    transition: 0.2s ease;
}

.footer_block a:hover {
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    background-image: var(--accent-gradient);
}

.footer_block h5 {
    font-weight: 900;
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text);
}

.footer_block p {
    color: var(--muted);
}

.footer_block_img {
    display: flex;
    flex-direction: row;
    margin-bottom: 20px;
}

.footer_block_img_col {
    width: 50px;
    height: 50px;
    display: flex;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    margin-right: 15px;
    margin-top: 15px;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, box-shadow .2s ease;
}

.footer_block_img_col:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.footer_block_img_col img {
    width: 30px;
    height: 30px;
}

.footer_legal {
    color: var(--muted);
}

/* =========================
   Responsive
========================= */
@media (max-width: 1200px) {
    .container {
        width: 938px;
    }

    .one_text h1 {
        font-size: 36px;
        margin-bottom: 18px;
    }

    .one_text h4 {
        margin-bottom: 22px;
    }

    .one_img img {
        width: 570px;
        height: 390px;
    }

    .three_max {
        width: 560px;
        height: 340px;
    }

    .three_max::before,
    .three_max::after {
        background-size: 430px;
        background-position: 190px -23px;
    }

    .three_min {
        width: 310px;
        padding: 20px;
    }

    .three_column {
        width: 310px;
        flex-basis: 310px;
    }
}

@media (max-width: 990px) {
    .container {
        width: 100%;
        padding: 0 20px;
    }

    .one {
        margin-top: 20px;
        flex-direction: column;
        align-items: center;
    }

    .one_text {
        width: 100%;
        text-align: center;
        align-items: center;
    }

    .one_i {
        justify-content: center;
        margin-left: 0;
    }

    .one_img {
        margin-top: 0;
    }

    .one_img img {
        width: 460px;
        height: 292px;
    }

    .tabs_col_body {
        width: 100%;
    }

    .tabs_col_all {
        flex-direction: column;
        margin-bottom: 0;
    }

    .tabs_col_block {
        width: 100%;
        margin-bottom: 35px;
    }

    .tabs_col_block_all {
        grid-template-columns: 1fr;
        min-height: auto;
        background:
            radial-gradient(500px 500px at 90% 90%, rgba(59, 130, 246, 0.14), rgba(59, 130, 246, 0) 60%),
            url(../img/img_2.png) no-repeat center bottom / 420px,
            var(--surface);
    }

    .plan_side {
        justify-content: flex-start;
    }

    .three {
        width: 100%;
        flex-direction: column;
        margin: 50px 0;
        align-items: center;
    }

    .three_column {
        width: 100%;
        flex-basis: auto;
    }

    .three_max {
        margin-bottom: 30px;
        width: 100%;
    }

    .three_min {
        margin-bottom: 30px;
        width: 100%;
        justify-content: flex-start;
    }

    .footer_navi {
        overflow: auto;
    }

    .footer_navi_col {
        width: 800px;
        display: flex;
    }

    .footer_col {
        flex-direction: column;
    }

    .footer_block {
        margin-bottom: 30px;
    }

    .footer_block_right {
        align-items: flex-start;
        text-align: left;
    }
}

@media (max-width: 550px) {
    .container {
        width: 100%;
        padding: 0 10px;
    }

    .header {
        margin-top: 20px;
    }

    .logo img {
        width: 50px;
        height: 50px;
        margin-right: 5px;
    }

    .logo h4 {
        font-size: 16px;
    }

    .logo h5 {
        font-size: 12px;
    }

    .burger img {
        height: 31px;
        width: 35px;
    }

    /* mobile nav */
    .navigation {
        height: 0;
        transform: translate(100%, 0);
        top: 0;
        right: 0;
        position: fixed;
        background: var(--menu-bg);
        transition: transform .30s ease;

        border: 1px solid var(--border);
        border-left: none;
        border-bottom-left-radius: 18px;
        border-top-left-radius: 18px;

        box-shadow: var(--shadow-hover);
        width: 90%;
        z-index: 1001;
        overflow: auto;
        padding: 20px;

        opacity: 1;
        /* КРИТИЧНО: закрыто — не перехватывает события */
        pointer-events: none;
    }

    .navigation.active {
        height: 100%;
        margin-top: 0;
        border-bottom: none;
        transform: translate(0, 0);
        pointer-events: auto;
    }

    .nav_col {
        display: flex;
        flex-direction: column;
    }

    .navigation a {
        margin-bottom: 25px;
        margin-right: 0;
        width: 150px;
    }

    .close {
        display: none;
    }

    .navigation.active .close {
        display: flex;
        position: absolute;
        top: 5px;
        right: 5px;
        padding: 10px;
    }

    .one_text h1 {
        font-size: calc(32px + (36 - 32) * ((100vw - 320px) / (480 - 320)));
        margin-bottom: 18px;
    }

    .one_text h4 {
        font-size: 16px;
        width: 100%;
    }

    .one_img img {
        width: 300px;
        height: 190px;
        margin-top: 25px;
    }

    .bg_grey {
        max-width: 100%;
        padding: 0;
        border-radius: 10px;
    }

    .two h2 {
        font-size: 24px;
        font-weight: 900;
    }

    .btn {
        width: 100%;
        font-size: 16px;
        max-width: 280px;
    }

    .three_max {
        height: 489px;
    }

    .three_max::before,
    .three_max::after {
        background-size: 320px;
        background-position: center 220px;
    }

    .step_content {
        min-height: 220px;
    }

    .img_bg img {
        width: 300px;
        height: 214px;
    }

    .question h3 {
        font-size: 18px;
        width: 90%;
    }

    .answer p {
        font-size: 16px;
        padding: 15px 10px;
    }
}

/* =========================
   Reduced motion safety
========================= */
@media (prefers-reduced-motion: reduce) {
    .marquee__track {
        animation: none !important;
        transform: none !important;
    }

    .load {
        animation: none !important;
    }

    .btn,
    .tabs_col_block,
    .three_min,
    .footer_block_img_col,
    .loader {
        transition: none !important;
    }
}