
* { box-sizing: border-box; }
html, body { height: 100%; }
body{
    font-family: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    margin: 0;
    font-size: clamp(16px, 1.2vw, 18px);
    color: #2f3a56;
    background: #ffffff;
}
a{ color: inherit; text-decoration: none; }

/* Container */
.container{
    max-width: 90vw;
    margin-inline: auto;
    padding-inline: clamp(12px, 2vw, 20px);}
.logo img{
    margin-left: -1vw;
}

/* Buttons */
.btn{
    font-family: "Golos Text";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(6px, 0.8vw, 12px);
    border-radius: clamp(8px, 1vw, 12px);
    padding: clamp(10px, 1.2vw, 14px) clamp(14px, 1.5vw, 22px);
    line-height: 1;
    transition: transform .08s ease, filter .2s ease, box-shadow .2s ease;
    white-space: nowrap;
    font-weight: 600;
    font-size: clamp(14px, 1vw, 16px);
}
.btn:active{ transform: translateY(1px); }

.btn--2{
    font-family: "Golos Text";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
    padding: clamp(14px, 1.6vw, 20px) clamp(18px, 2vw, 25px);
    font-weight: 700;
    line-height: 1;
    transition: transform .08s ease, filter .2s ease, box-shadow .2s ease;
    white-space: nowrap;
    width: clamp(160px, 35%, 240px);
    margin-top: clamp(30px, 4vw, 60px);
    font-size: clamp(14px, 1vw, 15px);
}
.btn--2:active{ transform: translateY(1px); }

.btn--primary{
    background: rgb(80 70 228);
    color: #ffffff;
    box-shadow: 8px 8px 0 rgba(89,101,244,.2), 0 18px 40px rgba(89,101,244,.3);
}
.btn--primary:hover{ filter: brightness(1.05); }

.btn--ghost{
    border: 1.5px solid rgb(80, 70, 228);
    color: #2f3a56;
    background: #ffffff;
}
.btn--ghost:hover{ background: #f6f8ff; }

/* Header */
.header{
    position: sticky; top: 0; z-index: 50;
    background: #ffffff;
    border-bottom: 1px solid #eef1f6;
}
.header__inner{
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(12px, 2vw, 24px);
    min-height: clamp(60px, 5vw, 72px);
    padding-right: clamp(12px, 2vw, 40px);  min-height: 72px;
    margin: 0 auto;
}
.nav__list{
    font-family: "Golos Text";
    display: flex;
    list-style: none; padding: 0; margin: 0;
    justify-content: center;
    gap: clamp(16px, 2.5vw, 32px);

}
.nav__link{
    color: #6b7280;
}
.nav__link:hover{ color: #2f3a56; }

/* Hero */
.hero{
    background: #f3f6fb; /* светлый фон без розового и без вертикальных линий */
}
.hero__inner{
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: clamp(24px, 5vw, 64px);
    padding-block: clamp(40px, 8vw, 110px);
}
.hero__title{
    font-family: "Golos Text";
    display: block;
    white-space: nowrap;
    margin-top: clamp(-60px, -8vw, -120px);
    font-size: clamp(25px, 2vw, 50px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    font-weight: 700;
    color: #2f3a56;
}
.hero__accent{ text-transform: uppercase; }
.hero__lead{
    font-family: "Golos Text";
    margin: 0 0 clamp(16px, 2vw, 28px);
    color: #6b7280;
    font-size: clamp(16px, 1.5vw, 24px);
    max-width: 46ch;
    padding-top: clamp(10px, 2vw, 20px);
}
.hero__cta{ display: block; gap: clamp(8px, 1.2vw, 12px); align-content: start; }
.hero__note{
    font-family: "Golos Text";
    margin-top: clamp(6px, 1vw, 10px);
    color: #6b7280;
    font-size: clamp(12px, 0.9vw, 13px);
}

/* Media card */
.hero__media{ display: flex; justify-content: flex-end; }
.bol-card{
    margin: 0;
    background: #ffffff;
    border: 1px solid #e7ebf3;
    border-radius: clamp(8px, 0.8vw, 12px);
    box-shadow: 0 18px 40px rgba(89,101,244,.18);
    padding: clamp(12px, 1vw, 16px);
    max-width: clamp(260px, 28vw, 420px);
    margin-top: clamp(-40px, -5vw, -70px);
}
.bol-card img{ display: block; width: 100%; height: auto;   border-radius: clamp(6px, 0.5vw, 8px);
}

/* HOW */
.how{ position: relative; background:#fff;   padding: clamp(40px, 5vw, 70px) 0 clamp(50px, 6vw, 90px);
}
.how__title{
    margin: clamp(30px, 5vw, 50px) 0 clamp(40px, 6vw, 70px);
    text-align: center;
    font-family: "Golos Text";
    font-weight: 800;
    font-size: clamp(28px, 3.8vw, 50px);
    line-height: 1.1;
    letter-spacing: .02em;
    color: #2f3a56;
}

.how__grid{
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    overflow:visible ;

}

/* стрелки */
.how__arrow{
    position: absolute;
    width: 160px; height: 70px;
    stroke: #2f3a56; stroke-width: 4px; fill: none; stroke-linecap: round;
    opacity: .9;
}
.how__arrow--top{ top: -75px; left: 29%; transform: rotate(12deg); }
.how__arrow--bottom{ bottom: -82px; left: 60%; transform: rotate(359deg); }

/* карточки */
.step-card{
    position: relative;
    color: #fff;

    box-shadow: 0 16px 40px rgba(16,24,40,.18);
    transform-origin: center 90%;
    font-family: "Golos Text";
    border-radius: clamp(12px, 1.5vw, 20px);
    padding: clamp(18px, 2vw, 26px);
    min-height: clamp(180px, 18vw, 230px);
    width: clamp(240px, 27vw, 390px);
}
.step-card::after{ /* "ножка" тени снизу как на макете */
    content:"";
    position:absolute;
    left: 18px; right: 18px; bottom: -14px;
    height: 14px; border-radius: 14px;
    background: rgba(17,24,39,.10);
    filter: blur(5px);
}
.step-card--1{font-family: "Golos Text"; background:#2dd4bf; transform: rotate(-6deg); left: 135px;text-align: center;z-index: 1; box-shadow: 8px 8px 0 rgba(242, 242, 242, .8), 0 18px 40px rgba(242, 242, 242, .8); width: 390px;height: 230px;}
.step-card--2{ background:#1FA7BB; transform: rotate(0deg);text-align: center; z-index: 2;box-shadow: 8px 8px 0 rgba(242, 242, 242, .8), 0 18px 40px rgba(242, 242, 242, .8);width: 390px;height: 230px;left: 39px;}
.step-card--3{ background:#f59e0b; transform: rotate(7deg);text-align: center; z-index: 1;right: 60px;box-shadow: 8px 8px 0 rgba(242, 242, 242, .8), 0 18px 40px rgba(242, 242, 242, .8);width: 390px;height: 230px;}

.step-card__number{
    font-family: "Golos Text";
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 8px;


}
.step-card__title{
    font-family: "Golos Text";
    margin: 40px 0 0 0;
    font-weight: 700;
    font-size: clamp(18px, 1.6vw, 22px);
}
.step-card__text{
    font-family: "Golos Text";
    margin: 15px 50px 0 50px;
    font-size: 14px;
    line-height: 1.45;
    opacity: .98;
}
.btn--3{
    font-family: "Golos Text";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
    padding: 20px 25px 20px 25px;
    font-weight: 700;
    line-height: 1;
    transition: transform .08s ease, filter .2s ease, box-shadow .2s ease;
    white-space: nowrap;
    width: 20%;
    margin: 65px 0 0 -2px;
    font-size: 15px;
}
.btn--3:active{ transform: translateY(1px); }

/* CTA под карточками */
.how__cta{
    margin-top: 36px;
    display: grid;
    gap: 10px;
    justify-items: center;
}
.how__note{
    font-family: "Golos Text";
    margin: 10px 0 0 0;
    color: #6b7280;
    font-size: 13px;
}


.docs {
    background: #5046E4;
    margin: 0 auto;
    color: #fff;
    text-align: center;
    position: relative;
    padding: 0 0 0; /* вместо 90px */
}

.docs__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* левый документ — текст — правый документ */
    align-items: start;
    padding: 0 clamp(16px, 3vw, 40px);
    max-width: 1440px;
    margin: 0 auto;
    justify-content: center;
}

.docs__img {
    width: clamp(220px, 46vw, 550px);
    height: auto;
    object-fit: contain;
}

.docs__img--left {
    justify-self: end;
    margin-top: clamp(20px, 13vw, 50px);
    margin-right: -21%; /* поджимаем к центру резиново */
}

.docs__img--right {
    justify-self: start;
    margin-top: clamp(20px, 11vw, 40px);
    margin-left: -19%; /* поджимаем к центру резиново */
}

.docs__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: clamp(30px, 5vw, 50px); /* отступ сверху */
}

.docs__title {
    font-size: clamp(28px, 3.2vw, 47px);
    font-weight: 700;
    margin: 0 0 clamp(12px, 2vw, 20px);
}

.docs__subtitle {
    font-size: clamp(16px, 2vw, 22px);
    margin: 0 0 clamp(40px, 5vw, 70px);
}

.docs__badge {
    background: #11CEB7;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 2vw, 20px);
    padding: clamp(8px, 1.5vw, 12px) clamp(16px, 2vw, 20px);
    border-radius: 24px;
    font-size: clamp(16px, 1.8vw, 24px);
    font-weight: 400;
    transform: rotate(-8deg);
    box-shadow: 0.7vw 0.7vw 0 #F2F2F2;
    margin: 0 0 clamp(24px, 4vw, 40px);
}

.docs__badge strong {
    font-size: clamp(28px, 5vw, 60px);
    font-weight: 600;
}

.docs__line {
    display: block;
    max-width: 32vw;
    margin: 0 auto clamp(8px, 1.5vw, 12px);
}

.docs__brand {
    font-size: clamp(16px, 2vw, 24px);
    font-weight: 400;
    margin-top: clamp(-30px, -2vw, -30px);
    margin-left: 5%;
}




/* Reviews */
.reviews{
    background: #f3f6fb;
    padding: clamp(50px, 7vw, 100px) 0 clamp(50px, 7vw, 96px);
}
.reviews__title{
    font-family: "Golos Text";
    margin: 0 0 clamp(30px, 6vw, 80px);
    text-align: center;
    font-weight: 800;
    font-size: clamp(22px, 3.6vw, 44px);
    line-height: 1.12;
    color: #2f3a56;
}

.reviews__grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: 10px;
}

/* Card */
.review-card{
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 1.5vw, 18px);
    background: #ffffff;
    border: 1px solid #eef1f6;
    border-radius: clamp(10px, 1.2vw, 16px);
    padding: clamp(16px, 2vw, 22px);
    min-height: clamp(140px, 16vw, 170px); /* адаптивная высота */
    box-shadow: 8px 8px 0 rgba(242, 242, 242, 1), 0 18px 40px rgba(242, 242, 242, 1);
}
.review-card__text{
    font-family: "Golos Text";
    margin: 0;
    color: #2f3a56;
    font-size: clamp(14px, 1.1vw, 16px);
    line-height: 1.55;
}
.review-card__author{
    margin-top: auto;           /* прижать автора вниз */
    display: flex;
    align-items: center;
    gap: clamp(6px, 1vw, 10px);
}
.review-card__avatar{
    width: clamp(28px, 3vw, 40px);
    height: clamp(28px, 3vw, 40px);
    object-fit: cover;   flex: 0 0 clamp(28px, 3vw, 40px);
;
}
.review-card__name{
    font-family: "Golos Text";
    font-weight: 700;
    color: #2f3a56;
    font-size: clamp(12px, 1vw, 14px);
    line-height: 1.2;
}
.review-card__role{
    font-family: "Golos Text";
    color: #6b7280;
    font-size: clamp(10px, 0.9vw, 12px);
    line-height: 1.2;
    margin-top: 3px;
}

/* FAQ */
.faq{ background:#fff;   padding: clamp(30px, 6vw, 50px) 0 clamp(50px, 7vw, 96px);
; }
.faq__title{

    margin: 0 0 clamp(30px, 6vw, 50px); text-align:center; font-family: "Golos Text";
    font-weight:800; font-size:clamp(28px,3.6vw,44px); line-height:1.12; color:#2f3a56;
}
.faq__list{ max-width:820px; margin:0 auto; display:grid;   gap: clamp(8px, 1.5vw, 12px);
}

/* item */
.faq__item{ position:relative; }
.faq__button{
    width:100%; display:flex; align-items:center; justify-content:space-between;   gap: clamp(8px, 1.5vw, 12px);

    background:#5965f4; color:#fff; border:none; cursor:pointer;
    padding: clamp(12px, 2vw, 16px) clamp(32px, 5vw, 56px) clamp(12px, 2vw, 16px) clamp(12px, 2vw, 16px);
    border-radius: clamp(8px, 1vw, 10px);
    font-weight:800;
    box-shadow: 8px 8px 0 rgb(203 207 245 / 20%), 0 18px 40px rgb(205 207 233 / 30%);
}
.faq__button:focus-visible{ outline:3px solid #cfd4ff; outline-offset:2px; }
.faq__question{ text-align:left;font-family: "Golos Text";font-weight: 600;  border-radius: clamp(8px, 1vw, 10px);
}

/* chevron box справа */
.faq__chevron{
    position:absolute; right:0; top:0; display:grid; place-items:center;
    width: clamp(36px, 4vw, 50px);
    height: clamp(36px, 4vw, 52px);   border-radius: clamp(6px, 0.8vw, 8px);
; background:#5046E4; box-shadow:0 6px 14px rgba(0,0,0,.12);
    border: 1px solid;
}
.faq__chevron::before{
    content:""; display:block; width: clamp(6px, 0.7vw, 7px);
    height: clamp(6px, 0.7vw, 7px);
    border-right:2px solid #fff; border-bottom:2px solid #fff;
    transform:rotate(45deg);
    transition:transform .25s ease;
}

/* panel */
.faq__panel{
    overflow:hidden; max-height:0; background:#f7f8ff;   border-radius: clamp(8px, 1vw, 10px);

    border:1px solid #e9ecf8;   margin-top: clamp(4px, 1vw, 6px);
    padding: 0 clamp(10px, 1.5vw, 14px);

    box-shadow:0 10px 20px rgba(17,24,39,.08);
    transition:max-height .35s ease, padding .2s ease;
}
.faq__panel p{   margin: clamp(-8px, -1vw, -10px) 0 clamp(14px, 1.5vw, 17px);
    color:#2f3a56;   font-size: clamp(12px, 1vw, 14px);
    line-height:1.55;font-family: "Golos Text"; }

/* states via [aria-expanded] */
.faq__button[aria-expanded="true"] + .faq__panel{
    padding:12px 14px 14px; /* добавляем паддинги когда открыто */
}
.faq__button[aria-expanded="true"] .faq__chevron::before{
    transform:rotate(-135deg); /* стрелка вверх */
}

.footer{
    background:#3c36a8;           /* тёмно-фиолетовый */
    padding: clamp(20px, 4vw, 40px) 0;
    border-top:1px solid rgba(255,255,255,.06);
}
.footer__copy{
    font-family: "Golos Text";
    display:block;
    text-align:center;
    color:#ffffff;
    font-size: clamp(12px, 1.2vw, 16px);
    line-height:1;
    opacity:.95;
}

/* плавные переходы */
.faq__button{
    transition: background .25s ease, box-shadow .25s ease;
}
.faq__chevron{
    transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}

/* состояние "закрыто" (текущие цвета) */
.faq__button{ background:#5965f4; }
.faq__chevron{ background:#5046E4; }


.faq__button[aria-expanded="true"] .faq__chevron{
    background:#3831A0;                           /* маленькая кнопка-стрелка */
    box-shadow: 0 8px 18px rgba(46,55,198,.35);
}

/* небольшой отклик при "нажатии" */
.faq__button:active .faq__chevron{ transform: translateY(1px); }

/* Бургер */
.burger{
    display:none;
    width:44px; height:44px;
    border:0; background:transparent; cursor:pointer; border-radius:8px;
}
.burger__bar,
.burger__bar::before,
.burger__bar::after{
    content:"";
    display:block;
    width:24px; height:2px; margin:0 auto;
    background:#2f3a56; border-radius:2px;
    transition:transform .2s ease, opacity .2s ease, background-color .2s ease;
}
.burger__bar{ position:relative; }
.burger__bar::before{ position:absolute; top:-7px; }
.burger__bar::after{  position:absolute; top:7px; }

/* крестик при открытии */
.menu-toggle:checked + .burger .burger__bar{ background:transparent; }
.menu-toggle:checked + .burger .burger__bar::before{ transform:translateY(7px) rotate(45deg); }
.menu-toggle:checked + .burger .burger__bar::after{  transform:translateY(-7px) rotate(-45deg); }

.docs--mobile { display: none; }

@media (max-width: 768px) {
    .container {
        max-width: 760px;
        margin-inline: auto;
        padding-inline: 60px;
    }
    .docs--mobile { display: none; }

    /* бургер виден только здесь */
    .burger{
        display: inline-flex;
        width: 44px; height: 44px;
        align-items: center; justify-content: center;
        border: 0; background: transparent; cursor: pointer; border-radius: 8px;
    }
    .burger__bar,
    .burger__bar::before,
    .burger__bar::after{
        content: ""; display: block; width: 24px; height: 2px; margin: 0 auto;
        background: #2f3a56; border-radius: 2px;
        transition: transform .2s ease;
    }
    .burger__bar{ position: relative; }
    .burger__bar::before{ position: absolute; top: -7px; }
    .burger__bar::after { position: absolute; top:  7px; }

    /* крестик при открытом */
    .menu-toggle:checked + .burger .burger__bar{ background: transparent; }
    .menu-toggle:checked + .burger .burger__bar::before{ transform: translateY(7px)  rotate(45deg); }
    .menu-toggle:checked + .burger .burger__bar::after { transform: translateY(-7px) rotate(-45deg); }

    /* превращаем .nav в маленький попап слева под шапкой */
    .nav{
        position: absolute;
        top: calc(100% + 8px);
        left: 50px;
        width: 220px;
        background: #fff;
        border: 1px solid #eef1f6;
        border-radius: 12px;
        box-shadow: 0 12px 30px rgba(17,24,39,.14);
        padding: 8px;
        display: none;            /* скрыто по умолчанию */
        z-index: 1000;
    }
    .menu-toggle:checked ~ .nav{ display: block; }

    .nav__list{ display: grid; gap: 6px; margin: 0; padding: 0; justify-items: stretch; }
    .nav__list li{ list-style: none; }
    .nav__list a{ display: block; padding: 12px 14px; border-radius: 10px; font-weight: 600; color: #2f3a56; }
    .nav__list a:hover{ background: #f3f6fb; }

    .nav::before{
        content: "";
        position: absolute; top: -8px; left: 18px;
        width: 14px; height: 14px; background: #fff;
        border-left: 1px solid #eef1f6; border-top: 1px solid #eef1f6;
        transform: rotate(45deg);
    }
    /* шапка: маленькое меню (оставляем как настроено ранее) */
    /* ШАПКА */
    .header__inner{
        grid-template-columns: auto 1fr auto;  /* бургер — лого — CTA */
        gap: 12px;
        padding: 0 50px;
        position: relative;
    }
    .btn.btn--ghost{                          /* кнопка справа поменьше */
        padding: 10px 15px;
        font-size: 10px;
        border-radius: 10px;
    }
    .logo img{ margin: 0 0 0 211px;width: 30%; }                   /* убираем отступ слева */

    /* HERO: две колонки, картинка справа */
    .hero__inner{
        grid-template-columns: 1.05fr .95fr;
        align-items: start;
        gap: 16px;
        padding: 44px 60px 70px 60px;
    }
    .hero__title{
        margin: 0;
        white-space: nowrap;                    /* переносы как в макете */
        font-size: clamp(20px, 5.4vw, 26px);
        letter-spacing: -0.01em;
    }
    .hero__lead{
        font-size: 18px;
        margin: 8px 0 16px;
        max-width: 34ch;
        padding-top: 20px;
    }
    .btn--2{
        width: 66%;                            /* не на всю ширину */
        font-size: 15px;
        padding: 20px 25px;
        margin: 40px 0 0 0;
    }
    .hero__note{ font-size: 13px; margin-top: 10px; }

    .hero__media{ justify-content: end; }
    .bol-card{
        margin: -25px 0 0 0;
        max-width: 100%;                       /* как на рефе */
        padding: 10px;
        box-shadow: 0 12px 28px rgba(89,101,244,.18);
        width: 230px;
    }

    /* HOW: маленький заголовок, 3 карточки в ряд, стрелки видны */
    .how{ padding: 40px 0 40px; }
    .how__title{
        margin: 0 0 45px;
        font-size: 26px;
        font-weight: 800;
    }
    .how__grid{
        grid-template-columns: repeat(3, minmax(0,1fr));
        gap: 8px;
        overflow: visible;
        align-items: end;
    }
    .how__arrow{
        display: block;
        stroke-width: 3.5px;
    }
    .how__arrow--top{ top: -65px; left: 25%; transform: rotate(19deg);width: 15%; }
    .how__arrow--bottom{ bottom: -58px; left: 57%; transform: rotate(0deg); width: 15%;}

    /* компактные карточки с наклоном */
    .step-card{
        border-radius: 16px;
        padding: 14px 10px 16px;
    }
    .step-card--1,
    .step-card--2,
    .step-card--3{
        width: 210px;
        height: 130px;
        text-align: center;
        left: 0; right: 0;                      /* обнуляем твои left/right */
    }
    .step-card--1{ transform: translateX(14px) rotate(-6deg);height: 225px; }
    .step-card--2{ transform: translateX(0)    rotate( 0deg);height: 225px; }
    .step-card--3{ transform: translateX(-14px) rotate( 7deg);height: 225px; }

    .step-card__number{ font-size: 20px; }
    .step-card__title{  font-size: 18px; margin: 35px 0 15px; }
    .step-card__text{   font-size: 12px; margin: 0; }

    .btn--3{
        width: 42%;
        font-size: 15px;
        padding: 20px 25px;
        margin: 70px 0 0 0;
    }
    .how__note{ font-size: 13px; }




    .docs {
        background: #5046E4;
        margin: 0 auto;
        color: #fff;
        text-align: center;
        position: relative;
        padding: 6vw 0 6vw; /* вместо 90px */
    }

    .docs__inner {
        display: grid;
        grid-template-columns: 190px 340px 1fr; /* левый документ — текст — правый документ */
        align-items: start;
        padding: 0 clamp(16px, 3vw, 40px);
        max-width: 1440px;
        margin: 0 auto;
    }

    .docs__img {
        width: clamp(220px, 45vw, 440px);
        height: auto;
        object-fit: contain;
    }

    .docs__img--left {
        justify-self: end;
        margin-top: clamp(60px, 9.5vw, 130px);
        margin-right: -82%; /* поджимаем к центру резиново */
    }

    .docs__img--right {
        justify-self: start;
        margin-top: clamp(60px, 7vw, 120px);
        margin-left: -42%; /* поджимаем к центру резиново */
    }

    .docs__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: clamp(-20px, -5vw, 50px); /* отступ сверху */
    }

    .docs__title {
        font-size: clamp(26px, 3.2vw, 47px);
        font-weight: 700;
        margin: 0 0 clamp(10px, 1vw, 20px);
    }

    .docs__subtitle {
        font-size: clamp(18px, 2vw, 24px);
        margin: 0 0 clamp(40px, 5vw, 70px);
    }

    .docs__badge {
        background: #11CEB7;
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: clamp(10px, 2vw, 20px);
        padding: clamp(8px, 0.5vw, 12px) clamp(15px, 5vw, 40px);
        border-radius: 24px;
        font-size: clamp(18px, 1.8vw, 24px);
        font-weight: 400;
        transform: rotate(-8deg);
        box-shadow: 0.7vw 0.7vw 0 #F2F2F2;
        margin: clamp(5px, 1vw, 15px) 0 0;
    }

    .docs__badge strong {
        font-size: clamp(30px, 6.5vw, 60px);
        font-weight: 600;
    }

    .docs__line {
        content: url("img/line1.png");

        display: block;
        max-width: 50vw; /* можно ширину поджать */
        margin: clamp(120px, 9.5vw, 110px) auto 0;
    }

    .docs__brand {
        font-size: clamp(18px, 2vw, 24px);
        font-weight: 400;
        margin-top: clamp(-13px, -2vw, -30px);
        margin-left: 1%;
    }







    /* ОТЗЫВЫ: 2 колонки */
    .reviews{ padding: 50px 0 50px; }
    .reviews__title{ margin: 0 0 40px; font-size: 26px; }
    .reviews__grid{
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .review-card{
        padding: 24px;
        min-height: 0;
        box-shadow: 0 12px 22px rgba(17,24,39,.08);
    }
    .review-card__text{ font-size: 16px; line-height: 1.45; }
    .review-card__avatar{ width: 36px; height: 36px; border-radius: 50%; }

    /* FAQ */
    .faq{ padding: 40px 0 40px; }
    .faq__title{ margin: 0 0 40px; font-size: 26px; }
    .faq__button{ padding: 12px 52px 12px 12px; }
    .faq__question{ font-size: 16px; }
    .faq__chevron{ width: 44px; height: 44px; right: 0; top: 0; }
    .faq__panel p{ font-size: 16px; }

    /* ФУТЕР */
    .footer{ padding: 40px 50px; }
    .footer__copy{ font-size: 16px; }

}


/* ================= 480px и ниже ================= */
@media (max-width: 480px){
    .docs { display: none; }
    .docs--mobile { display: block; }
    /* контейнер и шапка */
    .container{ padding-inline: 16px; }
    .header__inner{
        min-height: 64px;
        gap: 10px;
        padding: 0 16px;
        position: relative;
    }
    .logo img{ width: 140px; margin: 0; }               /* размер лого */
    .btn.btn--ghost{                                      /* кнопка справа в шапке */
        padding: 8px 8px;
        font-size: 10px;
        border-radius: 10px;
        width: 70%;
        left: 30%;
    }
    .header .btn--ghost{
        position: relative;
        color: transparent;           /* прячем исходный текст */
    }
    .header .btn--ghost::before{
        content: "ПРОТЕСТИРОВАТЬ";    /* что показать вместо */
        position: absolute; inset: 0;
        display: flex; align-items: center; justify-content: center;
        color: #2f3a56;
        font: inherit;                /* сохранить кегль/начертание */
        letter-spacing: inherit;
    }
    /* компактнее поп-ап меню */
    .nav{ width: 230px; }
    .nav__list a{ padding: 10px 12px; font-size: 14px; }

    /* HERO: в 1 колонку, картинка сверху */
    .hero__inner{
        grid-template-columns: 1fr;
        gap: 14px;
        padding-block: 18px 110px;
    }
    .hero__media{ order: -1; justify-content: center; }
    .bol-card{ max-width: 100%; padding: 10px; margin: 230px 0 0 0; box-shadow: 0 10px 24px rgba(89,101,244,.18);width: 100%; }


    .logo img{ opacity:0; width:0; height:0; }      /* скрываем, alt остаётся в DOM */
    .logo::before{
        content:"";
        position:absolute; inset:0;
        background:url("/img/logo3.png") no-repeat center / contain;
        width: 100%;
        height: 70%;
        top: 15%;
    }
    /* гарантируем, что бургер поверх */
    .burger{ position: relative; z-index: 2; }
    .nav{ z-index: 1; left: 0; }  /* попап не смещаем вправо */

    .nav::before{
        content: "";
        position: absolute; top: -8px; left: 31px;
        width: 14px; height: 14px; background: #fff;
        border-left: 1px solid #eef1f6; border-top: 1px solid #eef1f6;
        transform: rotate(45deg);
    }

    .hero__title{
        margin: 0;
        white-space: normal;                                 /* разрешаем переносы */
        font-size: 35px;
        letter-spacing: -0.01em;
        position: absolute;
        top: 11%;
        left: 5%;
        text-align: center;
    }
    .hero__lead{
        font-size: 25px;
        margin: 6px 0 12px;
        padding-top: 16px;
        max-width: 100%;
        text-align: center;
    }
    .btn--2{
        width: 100%;
        font-size: 20px;
        margin: 35px 0 0 0;
    }


    .hero__note{ font-size: 15px; text-align: center; }

    /* HOW: стрелки скрываем, карточки — стопкой */
    .how{ padding: 50px 0 50px; }
    .how__title{ margin: 0 0 40px; font-size: 30px; }
    .how__grid{ grid-template-columns: 1fr; gap: 15px; justify-items: center; }
    .how__arrow{ display: none; }

    .step-card,
    .step-card--1, .step-card--2, .step-card--3{
        width: 100%;
        max-width: 520px;
        height: auto;
        transform: none !important;       /* убираем наклоны/смещения */
        left: 0; right: 0;
        text-align: center;
        padding: 16px 16px 18px;
    }
    .step-card__number{ font-size: 25px; margin:20px 0 30px; }
    .step-card__title{  font-size: 25px; margin: 0 0 15px;padding: 0 90px; }
    .step-card__text{   font-size: 20px; padding: 0 30px 0 30px; }

    .btn--3{
        width: 100%;
        font-size: 20px;
        margin: 35px 0 0 0;
    }
    .how__note{ font-size: 15px; }


    .docs--mobile {
        background: #5046E4;
        color: #fff;
        text-align: center;
        padding: 30px 20px;
    }

    .docs--mobile .docs__inner {
        display: flex;
        flex-direction: column; /* порядок сверху вниз */
        align-items: center;
    }

    /* Заголовки */
    .docs--mobile .docs__title {
        font-size: clamp(20px, 7vw, 30px);
        font-weight: 700;
        margin: 50px 0 10px;
    }

    .docs--mobile .docs__subtitle {
        font-size: clamp(14px, 4vw, 18px);
        margin: 0;
    }

    /* Фото */
    .docs--mobile .docs__img {
        width: 80%;
        height: auto;
        object-fit: contain;
    }

    /* Бейдж (кнопка) */
    .docs--mobile .docs__badge {
        background: #11CEB7;
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 10px 30px;
        border-radius: 20px;
        font-size: clamp(18px, 3.5vw, 22px);
        font-weight: 400;
        transform: rotate(-8deg);
        box-shadow: 6px 6px 0 #f2f2f2;
        margin: -30px 0 0 0;
    }

    .docs--mobile .docs__badge strong {
        font-size: clamp(26px, 15vw, 50px);
        font-weight: 700;
    }

    /* Линия и текст сбоку */
    .docs--mobile .docs__line--2 {
        width: 7%;
        position: absolute;
        top: 36%;
        left: 13%;
        max-width: 300px;
    }

    .docs--mobile .docs__brand {
        font-size: clamp(14px, 4vw,18px);
        font-weight: 400;
        writing-mode: vertical-rl;   /* вертикальный текст */
        position: absolute;
        left: 10%;
        top: 57%;
    }



    /* ОТЗЫВЫ: одна колонка */
    .reviews{ padding: 100px 0 100px; }
    .reviews__title{ margin: 0 0 36px; font-size: 30px; }
    .reviews__grid{ grid-template-columns: 1fr; gap: 12px; }
    .review-card{ padding: 16px; }
    .review-card__text{ font-size: 16px; }
    .review-card__avatar{ width: 32px; height: 32px; border-radius: 50%; }

    /* FAQ: компактнее */
    .faq{ padding: 50px 0 50px; }
    .faq__title{ margin: 0 0 36px; font-size: 30px; }
    .faq__button{ padding: 12px 48px 12px 12px; }
    .faq__question{ font-size: 16px; }
    .faq__chevron{ width: 45px; height: 45px;  }
    .faq__panel p{ font-size: 16px; }

    /* футер */
    .footer{ padding: 40px 16px; }
    .footer__copy{ font-size: 16px; }
}

.nav-icon{
    position: absolute;
    margin-left: 10px;
    margin-top: -5px;
}
@media (max-width: 768px) {
    .nav-icon{
        width: 25px;
    }
}

.btn--info {
    background: #2dd4bf;
    color: #ffffff;
    box-shadow: 8px 8px 0 rgba(89, 101, 244, .2), 0 18px 40px rgba(89, 101, 244, .3);
}
@media (min-width: 1000px){
    .btn--info {
        margin-left: 10px;
    }
}
