:root{
    --black:#050505;
    --dark:#111;
    --yellow:#f5b400;
    --white:#fff;
    --gray:#f4f4f4;
    --text:#222;
    --muted:#666;
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:Arial,Helvetica,sans-serif;color:var(--text);line-height:1.6}
a{text-decoration:none;color:inherit}
.container{width:min(1200px,92%);margin:auto}

.site-header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:rgba(5,5,5,.92);
    z-index:999;
}

.header-inner{
    height:86px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:25px;
}

.logo{
    color:#fff;
    font-size:26px;
    font-weight:900;
}

.logo strong{color:var(--yellow);margin-left:5px}

.nav{
    display:flex;
    gap:30px;
}

.nav a{
    color:#fff;
    font-weight:800;
}

.nav a:hover{color:var(--yellow)}

.phone-btn{
    background:var(--yellow);
    color:#000;
    padding:12px 22px;
    border-radius:40px;
    font-weight:900;
}

.burger{
    display:none;
    background:none;
    border:0;
    width:36px;
    cursor:pointer;
}

.burger span{
    display:block;
    height:3px;
    background:#fff;
    margin:6px 0;
    border-radius:20px;
}

.hero{
    min-height:100vh;
    background:
    linear-gradient(90deg,rgba(0,0,0,.82),rgba(0,0,0,.45)),
    url("assets/images/hero.jpg") center/cover no-repeat;
    display:flex;
    align-items:center;
    color:#fff;
    padding-top:90px;
}

.hero-content{max-width:780px}

.hero-label{
    display:inline-block;
    color:var(--yellow);
    border:1px solid var(--yellow);
    padding:10px 20px;
    border-radius:40px;
    font-weight:900;
    margin-bottom:25px;
}

.hero h1{
    font-size:clamp(42px,6vw,76px);
    line-height:1.05;
    margin-bottom:25px;
    font-weight:900;
}

.hero p{
    font-size:20px;
    max-width:660px;
    color:#eee;
    margin-bottom:35px;
}

.hero-actions{
    display:flex;
    gap:16px;
    flex-wrap:wrap;
}

.btn{
    padding:15px 28px;
    border-radius:40px;
    font-weight:900;
    display:inline-block;
}

.btn.primary{
    background:var(--yellow);
    color:#000;
}

.btn.secondary{
    color:#fff;
    border:1px solid rgba(255,255,255,.6);
}

section{padding:100px 0}

.section-title{
    text-align:center;
    margin-bottom:55px;
}

.section-title span,
.about-text span,
.contacts span{
    color:#c89100;
    font-weight:900;
    text-transform:uppercase;
}

.section-title h2,
.about-text h2,
.contacts h2{
    font-size:clamp(32px,4vw,52px);
    color:var(--dark);
    margin-top:10px;
}

.services{background:var(--gray)}

.services-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:26px;
}

.service-card{
    background:#fff;
    padding:36px;
    border-radius:24px;
    box-shadow:0 18px 55px rgba(0,0,0,.08);
}

.service-card h3{
    font-size:24px;
    margin-bottom:14px;
}

.service-card p{color:var(--muted)}

.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.about-image{
    min-height:520px;
    background:url("assets/images/about.jpg") center/cover no-repeat;
    border-radius:30px;
    box-shadow:0 30px 90px rgba(0,0,0,.18);
}

.about-text p{
    margin:24px 0;
    color:var(--muted);
    font-size:18px;
}

.about-text ul{list-style:none}

.about-text li{
    margin-bottom:13px;
    font-weight:800;
}

.about-text li:before{
    content:"✓";
    color:var(--yellow);
    margin-right:10px;
}

.projects{
    background:#0d0d0d;
    color:#fff;
}

.section-title.light h2{color:#fff}

.projects-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}

.project-card{
    min-height:330px;
    background-size:cover;
    background-position:center;
    border-radius:24px;
}

.contacts-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:55px;
}

.contacts p{
    font-size:18px;
    margin-top:14px;
}

.contacts a{
    color:#c89100;
    font-weight:900;
}

.contact-form{
    display:grid;
    gap:16px;
    background:var(--gray);
    padding:34px;
    border-radius:26px;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    border:1px solid #ddd;
    padding:17px 18px;
    border-radius:14px;
    font-size:16px;
}

.contact-form textarea{
    min-height:150px;
}

.contact-form button{
    border:0;
    background:var(--dark);
    color:#fff;
    padding:17px;
    border-radius:40px;
    font-weight:900;
    cursor:pointer;
}

footer{
    background:#050505;
    color:#fff;
    padding:28px 0;
}

.footer-inner{
    display:flex;
    justify-content:space-between;
    gap:20px;
    color:#ccc;
}

@media(max-width:1024px){
    .services-grid,
    .projects-grid{grid-template-columns:repeat(2,1fr)}

    .about-grid,
    .contacts-grid{grid-template-columns:1fr}
}

@media(max-width:768px){
    .header-inner{height:76px}

    .phone-btn{display:none}

    .burger{display:block}

    .nav{
        position:fixed;
        top:76px;
        left:0;
        width:100%;
        background:#050505;
        padding:30px;
        flex-direction:column;
        transform:translateY(-120%);
        opacity:0;
        visibility:hidden;
        transition:.35s;
    }

    .nav.active{
        transform:translateY(0);
        opacity:1;
        visibility:visible;
    }

    .hero{
        min-height:92vh;
        padding-top:110px;
    }

    .hero h1{font-size:36px}
    .hero p{font-size:17px}

    section{padding:70px 0}

    .services-grid,
    .projects-grid{grid-template-columns:1fr}

    .about-image{min-height:340px}

    .footer-inner{
        flex-direction:column;
        text-align:center;
    }
}

/* Плаваща слушалка */

.floating-phone{
    position:fixed;
    right:25px;
    bottom:25px;
    width:70px;
    height:70px;
    border-radius:50%;
    background:#f5b400;
    color:#111;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    box-shadow:0 12px 35px rgba(0,0,0,.35);
    z-index:9999;
    transition:.3s;
    animation:phonePulse 2s infinite;
}

.floating-phone:hover{
    transform:scale(1.1);
    background:#ffca28;
}

@keyframes phonePulse{

    0%{
        box-shadow:0 0 0 0 rgba(245,180,0,.7);
    }

    70%{
        box-shadow:0 0 0 18px rgba(245,180,0,0);
    }

    100%{
        box-shadow:0 0 0 0 rgba(245,180,0,0);
    }

}

@media(max-width:768px){

    .floating-phone{
        width:60px;
        height:60px;
        right:18px;
        bottom:18px;
    }

    .floating-phone svg{
        width:22px;
        height:22px;
    }

}

.why-us{
    background:#0d0d0d;
    color:#fff;
}

.why-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
}

.why-card{
    background:#171717;
    padding:28px;
    border-radius:20px;
    font-weight:900;
    border:1px solid rgba(255,255,255,.08);
}

.process-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:20px;
}

.process-grid div{
    background:#fff;
    padding:28px;
    border-radius:22px;
    box-shadow:0 15px 45px rgba(0,0,0,.08);
}

.process-grid strong{
    color:#f5b400;
    font-size:32px;
}

.stats{
    background:#f5b400;
    color:#050505;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
    text-align:center;
}

.stats strong{
    display:block;
    font-size:58px;
    font-weight:900;
}

.stats span{
    font-weight:900;
}

.faq{
    background:#f4f4f4;
}

.faq-list{
    max-width:900px;
    margin:auto;
    display:grid;
    gap:15px;
}

.faq-item{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
}

.faq-item button{
    width:100%;
    padding:22px;
    border:0;
    background:#fff;
    text-align:left;
    font-size:18px;
    font-weight:900;
    cursor:pointer;
}

.faq-item p{
    display:none;
    padding:0 22px 22px;
    color:#666;
}

.faq-item.active p{
    display:block;
}

@media(max-width:900px){
    .why-grid,
    .process-grid,
    .stats-grid{
        grid-template-columns:1fr;
    }
}

.trust-bar{
    background:#111;
    padding:70px 0;
}

.trust-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.trust-item{
    background:#1c1c1c;
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    padding:35px;
    text-align:center;
    transition:.35s;
}

.trust-item:hover{
    transform:translateY(-8px);
    border-color:#f5b400;
}

.trust-item span{
    font-size:48px;
    display:block;
    margin-bottom:18px;
}

.trust-item h3{
    color:#fff;
    font-size:22px;
}

@media(max-width:900px){
    .trust-grid{
        grid-template-columns:1fr 1fr;
    }
}

@media(max-width:600px){
    .trust-grid{
        grid-template-columns:1fr;
    }
}

.site-header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:rgba(5,5,5,.88);
    backdrop-filter:blur(18px);
    z-index:99999;
    transition:.35s ease;
}

.site-header.scrolled{
    background:rgba(5,5,5,.98);
    box-shadow:0 14px 40px rgba(0,0,0,.35);
}

.header-inner{
    height:96px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
    transition:.35s ease;
}

.site-header.scrolled .header-inner{
    height:76px;
}

.logo{
    display:flex;
    align-items:center;
    gap:12px;
    color:#fff;
    font-weight:900;
    min-width:max-content;
}

.logo img{
    width:54px;
    height:54px;
    object-fit:contain;
}

.logo div{
    display:flex;
    flex-direction:column;
    line-height:1;
}

.logo span{
    font-size:22px;
    letter-spacing:1px;
}

.logo strong{
    color:#f5b400;
    font-size:15px;
    letter-spacing:3px;
    margin-top:5px;
}

.nav{
    display:flex;
    align-items:center;
    gap:28px;
}

.nav a{
    position:relative;
    color:#fff;
    font-size:15px;
    font-weight:800;
    padding:36px 0;
    transition:.3s ease;
}

.nav > a::after,
.nav-dropdown > a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:27px;
    width:0;
    height:3px;
    background:#f5b400;
    border-radius:20px;
    transition:.3s ease;
}

.nav > a:hover::after,
.nav-dropdown:hover > a::after{
    width:100%;
}

.nav a:hover{
    color:#f5b400;
}

.nav-dropdown{
    position:relative;
}

.dropdown-menu{
    position:absolute;
    top:88px;
    left:50%;
    transform:translateX(-50%) translateY(18px);
    min-width:280px;
    background:#111;
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    padding:14px;
    box-shadow:0 25px 70px rgba(0,0,0,.45);
    opacity:0;
    visibility:hidden;
    transition:.3s ease;
}

.nav-dropdown:hover .dropdown-menu{
    opacity:1;
    visibility:visible;
    transform:translateX(-50%) translateY(0);
}

.dropdown-menu a{
    display:block;
    padding:13px 16px;
    border-radius:12px;
    font-size:14px;
}

.dropdown-menu a:hover{
    background:#f5b400;
    color:#050505;
}

.header-actions{
    display:flex;
    align-items:center;
    gap:16px;
}

.header-call{
    color:#fff;
    display:flex;
    flex-direction:column;
    line-height:1.2;
    text-align:right;
}

.header-call span{
    font-size:12px;
    color:#aaa;
}

.header-call strong{
    color:#fff;
    font-size:16px;
}

.quote-btn{
    background:#f5b400;
    color:#050505;
    padding:14px 22px;
    border-radius:50px;
    font-weight:900;
    white-space:nowrap;
    transition:.3s;
}

.quote-btn:hover{
    background:#fff;
    transform:translateY(-2px);
}

.burger{
    display:none;
    background:none;
    border:0;
    width:38px;
    cursor:pointer;
    z-index:100001;
}

.burger span{
    display:block;
    height:3px;
    background:#fff;
    margin:6px 0;
    border-radius:20px;
    transition:.3s;
}

@media(max-width:1100px){
    .header-call{
        display:none;
    }

    .nav{
        gap:20px;
    }
}

@media(max-width:900px){
    .header-inner{
        height:78px;
    }

    .logo img{
        width:46px;
        height:46px;
    }

    .logo span{
        font-size:18px;
    }

    .quote-btn{
        display:none;
    }

    .burger{
        display:block;
    }

    .nav{
        position:fixed;
        top:78px;
        right:0;
        width:min(360px,100%);
        height:calc(100vh - 78px);
        background:#050505;
        flex-direction:column;
        align-items:flex-start;
        gap:0;
        padding:28px;
        transform:translateX(110%);
        opacity:0;
        visibility:hidden;
        transition:.35s ease;
        box-shadow:-20px 0 60px rgba(0,0,0,.4);
    }

    .nav.active{
        transform:translateX(0);
        opacity:1;
        visibility:visible;
    }

    .nav a,
    .nav-dropdown > a{
        padding:15px 0;
        font-size:19px;
    }

    .nav > a::after,
    .nav-dropdown > a::after{
        display:none;
    }

    .nav-dropdown{
        width:100%;
    }

    .dropdown-menu{
        position:static;
        transform:none;
        opacity:1;
        visibility:visible;
        min-width:100%;
        background:#111;
        border-radius:14px;
        margin:5px 0 12px;
        display:none;
        box-shadow:none;
    }

    .nav-dropdown:hover .dropdown-menu{
        display:block;
        transform:none;
    }

    .burger.active span:nth-child(1){
        transform:rotate(45deg) translate(6px,6px);
    }

    .burger.active span:nth-child(2){
        opacity:0;
    }

    .burger.active span:nth-child(3){
        transform:rotate(-45deg) translate(7px,-7px);
    }
}