:root{
    --primary:#0e1824;
    --secondary:#162537;
    --accent:#f3b425;
    --text:#111111;
    --muted:#6b7280;
    --bg:#f7f8fb;
    --white:#ffffff;
    --container:1240px;
    --radius:18px;
    --shadow:0 20px 45px rgba(8,18,31,.12);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    font-family:Inter,Arial,Helvetica,sans-serif;
    color:var(--text);
    background:#fff;
    font-size:17px;
    line-height:1.55;
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
.container{max-width:var(--container);margin:0 auto;padding:0 20px}
.section{padding:84px 0}
.section--light{background:#f7f8fb}
.section-kicker{
    display:inline-block;
    margin-bottom:12px;
    font-size:13px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.08em;
    color:var(--muted);
}
.section-kicker--gold{color:#ffd36a}
.section-heading{margin-bottom:32px}
.section-heading--center{text-align:center}
h1,h2,h3{margin:0 0 14px;line-height:1.12}
h1{font-size:clamp(34px,5vw,62px);font-weight:800}
h1 span{color:var(--accent)}
h2{font-size:clamp(28px,3vw,40px);font-weight:800}
h3{font-size:24px;font-weight:800}
p{margin:0 0 14px}
.btn{
    display:inline-flex;align-items:center;justify-content:center;gap:8px;
    padding:16px 28px;border-radius:14px;
    background:var(--accent);color:#101010;font-weight:800;border:none;cursor:pointer;
    transition:.22s ease;
    box-shadow:0 14px 24px rgba(243,180,37,.22);
}
.btn:hover{transform:translateY(-2px)}
.btn--ghost{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.3);box-shadow:none}
.btn--dark{background:var(--primary);color:#fff;box-shadow:none}
.btn--sm{padding:13px 18px;border-radius:12px;font-size:15px}

.header{
    position:sticky;top:0;z-index:40;
    background:rgba(7,14,22,.95);backdrop-filter:blur(10px);
    color:#fff;border-bottom:1px solid rgba(255,255,255,.06)
}
.header__row{min-height:82px;display:flex;align-items:center;gap:24px}
.header__logo img{height:44px;width:auto}
.nav{display:flex;flex:1;justify-content:center;gap:24px;flex-wrap:wrap}
.nav a{font-size:14px;font-weight:600;opacity:.9}
.nav a:hover{opacity:1;color:#ffd36a}
.header__contacts{display:flex;align-items:center;gap:16px}
.header__phone{white-space:nowrap;font-size:18px;font-weight:800}
.burger{
    display:none;position:relative;width:46px;height:46px;border:none;border-radius:12px;
    background:rgba(255,255,255,.08)
}
.burger span,.burger span:before,.burger span:after{
    content:"";position:absolute;left:12px;right:12px;height:2px;background:#fff;border-radius:2px
}
.burger span{top:22px}
.burger span:before{top:-8px;left:0;right:0}
.burger span:after{top:8px;left:0;right:0}

.hero{
    position:relative;
    min-height:650px;
    color:#fff;
    overflow:hidden;
    background-image:
    linear-gradient(
        90deg,
        rgba(8,15,22,.95) 0%,
        rgba(8,15,22,.75) 40%,
        rgba(8,15,22,.35) 75%,
        rgba(8,15,22,.15) 100%
    ),
    url('../../images/hero/hero-main.jpg');

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}
.hero__wrap{
    display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:48px;
    min-height:calc(100vh - 82px);padding-top:32px;padding-bottom:32px
}
.hero__content{max-width:720px}
.eyebrow{font-weight:700;color:#ffd36a;margin-bottom:12px}
.hero__content p{font-size:19px;color:rgba(255,255,255,.87);max-width:580px}
.hero__features{
    display:grid;grid-template-columns:repeat(3,1fr);gap:14px;
    margin:28px 0
}
.feature-badge{
    border:1px solid rgba(255,255,255,.14);
    background:rgba(255,255,255,.04);
    padding:14px 16px;border-radius:16px;font-weight:700;font-size:14px;min-height:72px
}
.hero__actions{
    display:flex;
    flex-direction:row;
    flex-wrap:nowrap;
    gap:16px;
    margin-top:25px;
    align-items:center;
}

.hero__actions .btn{
    white-space:nowrap;
}
.hero__image{
    display:none;
}
.hero__image img{
    width:min(100%, 720px);border-radius:30px;
    box-shadow:0 30px 60px rgba(0,0,0,.35)
}

.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.service-card{
    display:flex;flex-direction:column;overflow:hidden;background:#fff;border-radius:22px;
    box-shadow:var(--shadow);transition:.22s ease;color:inherit
}
.service-card:hover{transform:translateY(-6px)}
.service-card img{width:100%;aspect-ratio:1.22/1;object-fit:cover}
.service-card__body{padding:22px 22px 24px}
.service-card__body h3{font-size:24px}
.service-card__body p{color:#4b5563}

.section--about{padding-top:40px}
.about-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:36px;align-items:center}
.about-text p{max-width:520px}
.about-media img{
    width:100%;border-radius:24px;box-shadow:var(--shadow)
}
.stats-list{
    list-style:none;padding:0;margin:24px 0 28px;display:grid;grid-template-columns:repeat(2,1fr);gap:14px
}
.stats-list li{
    background:#fff;border:1px solid #e9ecf0;border-radius:16px;padding:16px 16px 16px 44px;position:relative;
    box-shadow:0 8px 18px rgba(7,14,22,.05);font-weight:700
}
.stats-list li:before{
    content:"✓";position:absolute;left:16px;top:16px;width:20px;height:20px;border-radius:50%;
    background:#ffefc0;color:#a76a00;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:900
}

.adv-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:18px}
.adv-card{
    background:#fff;border-radius:20px;padding:28px 18px;box-shadow:var(--shadow);text-align:center
}
.adv-card__icon{
    width:58px;height:58px;margin:0 auto 14px;border-radius:50%;
    background:#ffefc0;color:#a76a00;display:flex;align-items:center;justify-content:center;font-weight:900
}
.adv-card h3{font-size:20px}
.adv-card p{color:#4b5563;font-size:15px}

.steps{
    position:relative;color:#fff;overflow:hidden;background:#0b141f
}
.steps__bg{position:absolute;inset:0;opacity:.14}
.steps__bg img{width:100%;height:100%;object-fit:cover}
.steps .container{position:relative}
.steps-row{
    display:grid;grid-template-columns:repeat(5,1fr);gap:16px;
    position:relative
}
.step-card{
    background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:22px;
    padding:24px 20px;backdrop-filter:blur(3px)
}
.step-card__num{
    width:56px;height:56px;border-radius:14px;background:var(--accent);color:#111;display:flex;
    align-items:center;justify-content:center;font-weight:900;font-size:24px;margin-bottom:18px
}
.step-card p{color:rgba(255,255,255,.76)}

.cta-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.cta-card{
    background:#fff;border-radius:24px;box-shadow:var(--shadow);overflow:hidden;display:grid;
    grid-template-columns:1.1fr .9fr;align-items:center;min-height:300px
}
.cta-card--alt{background:#f9f9f9}
.cta-card__content{padding:34px}
.cta-card__media img{width:100%;height:100%;object-fit:cover}

.reviews-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.review-card{
    background:#fff;border-radius:20px;padding:24px;box-shadow:var(--shadow)
}
.review-card__company{font-size:28px;font-weight:900;letter-spacing:.01em;margin-bottom:8px}
.review-card__stars{color:var(--accent);letter-spacing:.2em;margin-bottom:12px}
.review-card p{color:#4b5563;min-height:120px}

.faq-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:28px;align-items:start}
.faq-right img{width:100%;border-radius:24px;box-shadow:var(--shadow)}
.faq-item{
    border-bottom:1px solid #e5e7eb
}
.faq-question{
    width:100%;padding:20px 0;display:flex;align-items:center;justify-content:space-between;gap:10px;
    background:none;border:none;text-align:left;font-size:18px;font-weight:700;cursor:pointer
}
.faq-plus{font-size:28px;color:var(--accent);line-height:1}
.faq-answer{max-height:0;overflow:hidden;transition:max-height .25s ease}
.faq-item.is-open .faq-answer{max-height:220px;padding-bottom:18px}
.faq-item.is-open .faq-plus{transform:rotate(45deg)}

.footer{
    background:linear-gradient(180deg,#0d1520 0%,#09111a 100%);
    color:#fff;padding:72px 0 44px
}
.footer-grid{display:grid;grid-template-columns:1fr .95fr;gap:34px;align-items:start}
.footer-list{display:grid;gap:14px;margin:20px 0 24px}
.footer-list a,.footer-list span{font-size:18px}
.footer-legal{display:flex;flex-wrap:wrap;gap:12px 18px;margin-bottom:24px}
.footer-legal a{color:rgba(255,255,255,.84);font-size:14px}
.footer-copy{color:rgba(255,255,255,.64);font-size:14px}
.footer-form-box{
    background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:24px;padding:28px
}
.contact-form{display:grid;gap:14px}
.contact-form input,.contact-form textarea{
    width:100%;background:#fff;border:1px solid #d6dae0;border-radius:14px;padding:15px 16px;font:inherit;color:#111
}
.contact-form textarea{min-height:108px;resize:vertical}
.check-row{display:flex;align-items:flex-start;gap:10px;font-size:14px;color:rgba(255,255,255,.8)}

.page-hero{background:linear-gradient(180deg,#f7f8fb,#ffffff)}
.page-hero__grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:28px}
.page-hero__image img,.legal-content{border-radius:24px}
.legal-content{background:#fff;box-shadow:var(--shadow);padding:34px}
.inner-page .header{position:relative}

@media (max-width: 1100px){
    .nav{display:none}
    .burger{display:inline-block}
    .header__row{justify-content:space-between}
    .header__contacts .btn{display:none}
    .nav.is-open{
        display:flex;position:absolute;left:20px;right:20px;top:82px;background:#0e1824;border-radius:20px;
        padding:18px;flex-direction:column;align-items:flex-start;gap:14px;box-shadow:var(--shadow)
    }
    .hero__wrap,.about-grid,.faq-grid,.footer-grid,.page-hero__grid,.cta-card{grid-template-columns:1fr}
    .hero__wrap{min-height:auto;padding:60px 0}
    .hero__content{max-width:none}
    .hero__features{grid-template-columns:1fr}
    .service-grid,.reviews-grid{grid-template-columns:1fr 1fr}
    .adv-grid{grid-template-columns:repeat(3,1fr)}
    .steps-row{grid-template-columns:1fr 1fr}
    .cta-grid{grid-template-columns:1fr}
}
@media (max-width: 760px){
    body{font-size:16px}
    .section{padding:64px 0}
    .header__phone{font-size:16px}
    .header__logo img{height:34px}
    .hero__actions{flex-direction:column;align-items:stretch}
    .service-grid,.reviews-grid,.adv-grid,.stats-list,.steps-row{grid-template-columns:1fr}
    .cta-card__content{padding:24px}
    .review-card p{min-height:auto}
    .footer-grid{gap:20px}
}

.form-success{
    background:#e8f7e8;
    color:#176b1f;
    padding:15px 20px;
    border-radius:14px;
    margin-bottom:20px;
    font-weight:600;
}



.form-success{
background:#ecfdf5;
border:1px solid #22c55e;
color:#166534;
padding:25px;
border-radius:18px;
font-size:18px;
font-weight:700;
text-align:center;
}


.check-row{
font-size:14px;
line-height:1.5;
}


.check-row a{
color:#f3b425;
text-decoration:underline;
}



.form-success{
    background:#ecfdf5;
    border:1px solid #22c55e;
    color:#166534;
    padding:20px;
    border-radius:16px;
    margin-bottom:18px;
    font-size:17px;
    line-height:1.5;
}


.check-row{
    display:flex;
    gap:10px;
    align-items:flex-start;
}


.check-row input{
    margin-top:5px;
    width:18px;
    height:18px;
}


.check-row a{
    color:#f3b425;
}




@media(max-width:768px){

.hero__actions{
    flex-direction:column;
    align-items:stretch;
}

.hero__actions .btn{
    width:100%;
    text-align:center;
}

}



.popup{
display:none;
position:fixed;
inset:0;
background:rgba(0,0,0,.65);
z-index:999;
align-items:center;
justify-content:center;
}


.popup.active{
display:flex;
}


.popup__box{
background:#fff;
width:min(500px,90%);
padding:35px;
border-radius:25px;
position:relative;
}


.popup__box label{
display:block;
margin-bottom:15px;
}


.popup__box input,
.popup__box select{
width:100%;
padding:14px;
border-radius:12px;
border:1px solid #ddd;
}


.popup__close{
position:absolute;
right:20px;
top:15px;
border:0;
background:none;
font-size:30px;
cursor:pointer;
}


.calc-result{
margin:20px 0;
font-size:20px;
}



.form-success{
    background:#ecfdf5;
    border:1px solid #86efac;
    color:#166534;
    padding:18px 22px;
    border-radius:16px;
    margin-bottom:20px;
    font-size:16px;
    line-height:1.5;
}




.check-row{
    display:flex;
    gap:10px;
    align-items:flex-start;
    font-size:13px;
    line-height:1.4;
    margin:15px 0;
    color:#666;
}


.check-row input{
    width:18px;
    height:18px;
    margin-top:2px;
    flex:none;
}


.check-row a{
    color:#111;
    text-decoration:underline;
}



.hero__actions,
.cta-actions{
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
    gap:14px;
    align-items:center;
}

.hero__actions .btn,
.cta-actions .btn{
    width:auto;
}

@media(max-width:700px){

.hero__actions,
.cta-actions{
    flex-direction:column;
    align-items:stretch;
}

}


.quiz-options{
display:flex;
flex-direction:column;
gap:12px;
margin:20px 0;
}


.quiz-answer{
display:flex;
gap:10px;
align-items:center;
padding:14px;
border:1px solid #ddd;
border-radius:14px;
cursor:pointer;
background:#fff;
}


.quiz-answer:hover{
border-color:#f3b425;
}


.quiz-phone{
width:100%;
padding:14px;
border-radius:12px;
border:1px solid #ddd;
margin-bottom:15px;
}




/* QUIZ STYLE */

#quizContent h3{
    font-size:26px;
    margin-bottom:25px;
}


.quiz-options{
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-bottom:25px;
}


.quiz-answer{
    display:flex;
    align-items:center;
    gap:12px;
    padding:16px 18px;
    border:1px solid #ddd;
    border-radius:14px;
    cursor:pointer;
    background:#fff;
    transition:.2s;
}


.quiz-answer:hover{
    border-color:#111;
}


.quiz-answer input{
    width:20px;
    height:20px;
}


.quiz-answer span{
    font-size:16px;
}


.quiz-name,
.quiz-phone{
    width:100%;
    padding:16px 18px;
    border-radius:14px;
    border:1px solid #ddd;
    font-size:16px;
    margin-bottom:15px;
}


.quiz-name:focus,
.quiz-phone:focus{
    outline:none;
    border-color:#111;
}


#quizContent .check-row{
    display:flex;
    gap:10px;
    align-items:flex-start;
    margin:15px 0 20px;
    font-size:14px;
    line-height:1.4;
}


#quizContent .btn{
    width:100%;
}




.quiz-result{
    text-align:center;
    margin-bottom:25px;
}

.quiz-result h3{
    font-size:24px;
    margin-bottom:12px;
}




/* CTA buttons fix */

.cta-actions .btn,
.cta-card .btn{
    white-space:nowrap;
    min-width:240px;
    width:auto;
    text-align:center;
    justify-content:center;
}


.cta-card{
    align-items:center;
}


.cta-card__media img{
    width:100%;
    height:220px;
    object-fit:cover;
}




/* Footer contact form */

.contact-form{
    display:flex;
    flex-direction:column;
    gap:15px;
}


.contact-form input,
.contact-form textarea{
    width:100%;
}


.check-row{
    display:flex;
    align-items:flex-start;
    gap:10px;
    line-height:1.4;
}


.check-row input{
    width:18px;
    height:18px;
    margin-top:3px;
    flex:none;
}




/* MOBILE FULL MENU */

/* MOBILE FIX */

@media(max-width:768px){


.container{
    width:100%;
    max-width:100%;
    padding-left:18px;
    padding-right:18px;
    box-sizing:border-box;
}


.hero{
    overflow:hidden;
}


.hero__content{
    max-width:100%;
}


.hero h1,
.hero__title{
    font-size:36px;
    line-height:1.15;
    max-width:100%;
    word-break:normal;
    overflow-wrap:break-word;
}


.hero p{
    max-width:100%;
    font-size:17px;
    line-height:1.5;
}


.hero__actions{
    width:100%;
}


.hero__actions .btn{
    width:100%;
    max-width:100%;
    box-sizing:border-box;
}


.hero__image img{
    max-width:100%;
    height:auto;
}



}




/* LOGO */
.header__logo{
    display:flex;
    align-items:center;
    flex-shrink:0;
}

.header__logo img{
    display:block;
    width:auto;
    height:auto;
    max-width:100%;
    object-fit:contain;
}




/* ===== MOBILE MENU FIX ===== */

html,body{
    overflow-x:hidden;
}



/* CLEAN MOBILE MENU */

@media(max-width:768px){


.header{
    position:relative;
    z-index:1000;
}


.header__row{

    position:relative;

    min-height:72px;

    display:flex;

    align-items:center;

}


.header__logo{

    max-width:70%;

}


.header__logo img{

    max-width:160px;

    height:auto;

}


/* burger */

.burger{

    position:absolute;

    right:16px;

    top:50%;

    transform:translateY(-50%);

    z-index:10002;

}


.burger span{

    transition:.25s;

}


.burger.is-active span{

    background:transparent;

}


.burger.is-active span:before{

    top:0;

    transform:rotate(45deg);

}


.burger.is-active span:after{

    top:0;

    transform:rotate(-45deg);

}


/* menu */

.nav{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:100vh;

    background:#111827;

    padding:100px 25px 30px;

    box-sizing:border-box;

    display:flex;

    flex-direction:column;

    align-items:flex-start;

    gap:0;

    transform:translateX(100%);

    transition:.3s ease;

    z-index:10000;

}


.nav.is-open{

    transform:translateX(0);

}


.nav a{

    width:100%;

    color:#fff !important;

    font-size:20px;

    font-weight:700;

    padding:18px 0;

    border-bottom:1px solid rgba(255,255,255,.15);

}


body.menu-open{

    overflow:hidden;

}


}



/* MOBILE MENU FINAL LAYER */

@media(max-width:768px){


.header__contacts{

    position:relative;

    z-index:1;

}


.nav{

    z-index:99999 !important;

}


.burger{

    z-index:100000 !important;

}


body.menu-open .header__contacts{

    display:none;

}


/* красивое меню */

.nav{

    justify-content:flex-start;

    padding-top:110px;

    padding-left:30px;

    padding-right:30px;

}


.nav a{

    width:100%;

    color:#fff !important;

    font-size:21px;

    font-weight:700;

    padding:20px 0;

    opacity:.95;

}


.nav a:first-child{

    margin-top:20px;

}


}




@media(max-width:768px){

.nav{

    transition:
    transform .35s ease,
    opacity .35s ease;

}


.nav.is-open{

    opacity:1;

}


}




@media(max-width:768px){

.header__contacts{
    transition:.2s;
}


body.menu-open .header__contacts{
    visibility:hidden;
    opacity:0;
}


.nav{
    z-index:99999 !important;
}


.burger{
    z-index:100000 !important;
}


.nav.is-open{
    opacity:1;
}


}



/* MOBILE MENU FINAL OVERRIDE */

@media(max-width:768px){


.header__contacts{
    display:flex;
    opacity:1;
    visibility:visible;
}


body.menu-open .header__contacts{
    display:none !important;
}


/* меню поверх всего */

.nav{
    position:fixed !important;
    inset:0 !important;

    width:100% !important;
    height:100vh !important;

    background:#111827 !important;

    padding:100px 25px 40px !important;

    z-index:99999 !important;

    transform:translateX(100%) !important;

    opacity:1 !important;

}


.nav.is-open{

    transform:translateX(0) !important;

}


.nav a{

    color:#fff !important;

    font-size:20px !important;

    font-weight:700 !important;

    padding:18px 0 !important;

    width:100%;

    border-bottom:1px solid rgba(255,255,255,.15);

}


.burger{

    z-index:100000 !important;

}


}



@media(max-width:768px){

.header__phone{
    display:none !important;
}

}




/* DESKTOP MENU ONE LINE */

@media(min-width:769px){

.header__row{

    width:100%;
    max-width:1400px;
}


.nav{

    flex-wrap:nowrap !important;

    white-space:nowrap;

    gap:18px;

    justify-content:center;

}


.nav a{

    flex-shrink:0;

}


.header__contacts{

    flex-shrink:0;

}


}



/* LOGO FIX */

.header__logo{
    display:flex;
    align-items:center;
    max-width:240px;
    overflow:hidden;
}

.header__logo img{
    width:auto;
    max-width:240px;
    max-height:70px;
    height:auto;
    object-fit:contain;
}


@media(max-width:768px){

.header__logo{
    max-width:180px;
}

.header__logo img{
    max-width:180px;
    max-height:55px;
}

}


/* STEPS BLOCK: plain gray background instead of image */
.steps{
    background:#e5e7eb !important;
    background-image:none !important;
}

.steps::before,
.steps::after{
    background:none !important;
    background-image:none !important;
}


/* STEPS FINAL BACKGROUND */
.steps{
    background:#2f3742 !important;
}

.steps__bg{
    display:none !important;
}


/* LOGO SIZE FIX */
.header__logo{
    max-width:none !important;
    overflow:visible !important;
    flex:0 0 auto !important;
}

.header__logo img{
    max-width:none !important;
    max-height:none !important;
    height:auto !important;
}

@media(max-width:768px){
    .header__logo{
        max-width:none !important;
    }

    .header__logo img{
        max-width:none !important;
        max-height:none !important;
    }
}

