
* { 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: 1440px;
    margin-inline: auto;
    padding-inline: 20px;
}
.logo img{
    margin: 0 0 0 -20px;
}

/* Buttons */
.btn{
    font-family: "Golos Text";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
    padding: 14px 22px;
    line-height: 1;
    transition: transform .08s ease, filter .2s ease, box-shadow .2s ease;
    white-space: nowrap;
    font-weight: 600;
}
.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: 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: 35%;
    margin: 60px 0 0 -2px;
    font-size: 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: 24px;
    min-height: 72px;
    margin: 0 auto;
    padding: 0 40px 0 0px;
}
.nav__list{
    font-family: "Golos Text";
    display: flex; gap: 32px;
    list-style: none; padding: 0; margin: 0;
    justify-content: center;
}
.nav__link{
    color: #6b7280;
}
.nav__link:hover{ color: #2f3a56; }


.hero{
    background: #f3f6fb;
}
.hero__inner{
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 64px;
    padding-block: clamp(56px, 8vw, 110px);
}
.hero__title{
    font-family: "Golos Text";
    display: block;
    white-space: nowrap;
    margin: -120px 0 0 0;
    font-size: clamp(34px, 5.8vw, 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 28px;
    color: #6b7280;
    font-size: clamp(16px, 1.5vw, 24px);
    max-width: 46ch;
    padding: 20px 0 0 0;
}
.hero__cta{ display: grid; gap: 12px; align-content: start; }
.hero__note{
    font-family: "Golos Text";
    margin: 10px 0 0 0;
    color: #6b7280;
    font-size: 13px;
}

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

/* HOW */
.how{ position: relative; background:#fff; padding: 70px 0 90px; }
.how__title{
    margin: 50px 0 70px;
    text-align: center;
    font-family: "Golos Text";
    font-weight: 700;
    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;
    border-radius: 20px;
    padding: 26px 26px 34px;
    box-shadow: 0 16px 40px rgba(16,24,40,.18);
    transform-origin: center 90%;
    font-family: "Golos Text";
}
.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;
    margin: 65px 0 0 -2px;
    font-size: 15px;
}
.btn--3:active{ transform: translateY(1px); }


.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;
}

/* Reviews */
.reviews{
    background: #f3f6fb;
    padding: 100px 0 96px;
}
.reviews__title{
    font-family: "Golos Text";
    margin: 0 0 80px;
    text-align: center;
    font-weight: 800;
    font-size: clamp(28px, 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: 18px;
    background: #ffffff;
    border: 1px solid #eef1f6;
    border-radius: 16px;
    padding: 22px;
    min-height: 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: 16px;
    line-height: 1.3;
    font-weight: 400;
}
.review-card__author{
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 20px;
}
.review-card__avatar{
    width: 40px; height: 40px;
    object-fit: cover; flex: 0 0 40px;
}
.review-card__name{
    font-family: "Golos Text";
    font-weight: 700;
    color: #2f3a56;
    font-size: 16px;
    line-height: 1.2;
}
.review-card__role{
    font-family: "Golos Text";
    color: #6b7280;
    font-size: 13px;
    line-height: 1.2;
    margin-top: 3px;
}

/* FAQ */
.faq{ background:#fff; padding:50px 0 96px; }
.faq__title{

    margin:0 0 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:10px; }

/* item */
.faq__item{ position:relative; }
.faq__button{
    width:100%; display:flex; align-items:center; justify-content:space-between; gap:12px;
    background:#5965f4; color:#fff; border:none; cursor:pointer;
    padding:16px 56px 16px 16px; border-radius: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;font-size: 16px; }

/* chevron box ÑÐ¿Ñ€Ð°Ð²Ð° */
.faq__chevron{
    position:absolute; right:0; top:0; display:grid; place-items:center;
    width:50px; height:52px; border-radius:8px; background:#5046E4; box-shadow:0 6px 14px rgba(0,0,0,.12);
    border: 1px solid;
}
.faq__chevron::before{
    content:""; display:block; width:7px; height: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:10px;
    border:1px solid #e9ecf8; margin-top:6px; padding:0 14px;
    box-shadow:0 10px 20px rgba(17,24,39,.08);
    transition:max-height .35s ease, padding .2s ease;
}
.faq__panel p{ color:#2f3a56; font-size:14px;font-family: "Golos Text"; }

/* states via [aria-expanded] */

.faq__button[aria-expanded="true"] .faq__chevron::before{
    transform:rotate(-135deg);
}
.footer{
    background:#3c36a8;
    padding: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: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); }



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


    .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{
        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;
        gap: 12px;
        padding: 0 50px;
        position: relative;
    }
    .btn.btn--ghost{
        padding: 10px 15px;
        font-size: 10px;
        border-radius: 10px;
        font-weight: 500;
    }
    .logo img{ margin: 0 0 0 211px;width: 30%; }


    .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;
        font-weight: 500;
    }
    .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{ padding: 40px 0 40px; }
    .how__title{
        margin: 0 0 45px;
        font-size: 26px;
        font-weight: 700;
    }
    .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;
    }
    .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{

        font-size: 15px;
        padding: 20px 25px;
        margin: 70px 0 0 0;
        font-weight: 500;
    }
    .how__note{ font-size: 13px; }


    .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: 60px; height: 60px; border-radius: 15%; }

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

    /* Ð¤Ð£Ð¢Ð•Ð  */
    .footer{ padding: 40px 50px; }
    .footer__copy{ font-size: 16px; }

}

/* ===== Ñ‚Ð¾Ð»ÑŒÐºÐ¾ Ð”Ð•Ð¡ÐšÐ¢ÐžÐŸ (>=761px) ===== */
@media (min-width: 1000px){

    .menu-toggle, .burger{ display: none !important; }


    .nav{
        position: static; display: block; width: auto; padding: 0;
        border: 0; box-shadow: none; background: transparent;
    }
    .nav::before{ display: none; }
    .nav__list{ display: flex; gap: 32px; justify-content: center; }
}

/* ================= 480px Ð¸ Ð½Ð¸Ð¶Ðµ ================= */
@media (max-width: 480px){

    /* ÐºÐ¾Ð½Ñ‚ÐµÐ¹Ð½ÐµÑ€ Ð¸ ÑˆÐ°Ð¿ÐºÐ° */
    .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;
        font-weight: 500;
    }

    .nav{ width: 230px; }
    .nav__list a{ padding: 10px 12px; font-size: 14px; }


    .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: 260px 0 0 0; box-shadow: 0 10px 24px rgba(89,101,244,.18);width: 100%; }


    .logo img{ opacity:0; width:0; height:0; }
    .logo::before{
        content:"";
        position:absolute; inset:0;
        background:url("img/logo-mob.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: 15%;
        left: 5%;
        text-align: center;
    }
    .hero__lead{
        font-size: 20px;
        font-weight: 400;
        margin: 6px 0 12px;
        padding-top: 16px;
        max-width: 100%;
        text-align: center;
    }
    .btn--2{
        width: 100%;
        font-size: 18px;
        font-weight: 400;
        font-weight: 500;
        margin: 35px 0 0 0;
    }


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


    .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 28px;
    }
    .step-card__number{ font-size: 20px; margin:20px 0 30px; font-weight:700; }
    .step-card__title{  font-size: 20px; margin: 0 0 15px;padding: 0 60px; font-weight:700; }
    .step-card__text{   font-size: 16px; padding: 0 30px 0 30px; }

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

    .reviews{ padding: 100px 0 100px; }
    .reviews__title{ margin: 0 0 36px; font-size: 30px; }
    .reviews__grid{ grid-template-columns: 1fr; gap: 12px; }

    .review-card__text{ font-size: 16px; }
    .review-card__avatar{ width: 60px; height: 60px; border-radius: 15%; }


    .faq{ padding: 50px 0 50px; }
    .faq__title{ margin: 0 0 36px; font-size: 30px; }
    .faq__button{ padding: 12px 48px 12px 12px; height:60px }
    .faq__question{ font-size: 16px; }
    .faq__chevron{ width: 60px; height: 60px;  }
    .faq__panel p{ font-size: 16px; }


    .footer{ padding: 40px 16px; }
    .footer__copy{ font-size: 16px; }
}
