*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{
    --bg:#08111f;
    --bg2:#0d1728;
    --card:#101d31;
    --card2:#14243d;

    --text:#ffffff;
    --muted:#b7c1d3;

    --line:rgba(255,255,255,.08);

    --red:#ff2b2b;
    --red2:#ff4d4d;

    --blue:#18304f;

    --shadow:0 15px 45px rgba(0,0,0,.35);
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:var(--bg);
    color:var(--text);
    overflow-x:hidden;
    line-height:1.6;
}

a{
    text-decoration:none;
    color:inherit;
}

img{
    max-width:100%;
    display:block;
}

.container{
    width:min(1200px,92%);
    margin:auto;
}

/* HEADER */

.site-header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:999;
    background:rgba(5,10,18,.88);
    backdrop-filter:blur(14px);
    border-bottom:1px solid var(--line);
}

.nav-wrapper{
    min-height:90px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}

.logo img{
    width:220px;
}

.main-nav{
    display:flex;
    align-items:center;
    gap:30px;
}

.main-nav a{
    color:#fff;
    font-size:15px;
    font-weight:600;
    transition:.3s;
    position:relative;
}

.main-nav a::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-8px;
    width:0;
    height:2px;
    background:var(--red);
    transition:.3s;
}

.main-nav a:hover::after{
    width:100%;
}

.emergency-btn{
    background:linear-gradient(135deg,var(--red),var(--red2));
    padding:14px 22px;
    border-radius:12px;
    font-weight:700;
    transition:.3s;
    box-shadow:0 10px 25px rgba(255,43,43,.25);
}

.emergency-btn:hover{
    transform:translateY(-3px);
}

.menu-toggle{
    display:none;
    flex-direction:column;
    gap:5px;
    background:none;
    border:none;
    cursor:pointer;
}

.menu-toggle span{
    width:28px;
    height:3px;
    background:#fff;
    border-radius:10px;
}

/* HERO */

.hero{
    min-height:100vh;
    position:relative;
    display:flex;
    align-items:center;
    overflow:hidden;

    background:
    linear-gradient(to right, rgba(4,10,20,.96) 0%, rgba(4,10,20,.92) 35%, rgba(4,10,20,.55) 65%, rgba(4,10,20,.25) 100%),
    url('../images/hero.jpg');

    background-size:cover;
    background-position:center;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:
    radial-gradient(circle at top right, rgba(255,43,43,.18), transparent 40%);
}

.hero-content{
    position:relative;
    z-index:2;
}

.hero-text{
    max-width:760px;
    padding-top:120px;
}

.hero-label{
    display:inline-flex;
    background:rgba(255,43,43,.12);
    border:1px solid rgba(255,43,43,.3);
    color:#fff;
    padding:10px 18px;
    border-radius:100px;
    margin-bottom:24px;
    font-size:14px;
    font-weight:700;
}

.hero h1{
    font-size:72px;
    line-height:1.05;
    margin-bottom:28px;
    text-transform:uppercase;
}

.hero p{
    max-width:700px;
    font-size:21px;
    color:var(--muted);
    margin-bottom:40px;
}

.hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:18px;
    margin-bottom:60px;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:58px;
    padding:0 32px;
    border-radius:14px;
    font-weight:700;
    transition:.35s;
}

.btn:hover{
    transform:translateY(-4px);
}

.btn-primary{
    background:linear-gradient(135deg,var(--red),var(--red2));
    box-shadow:0 15px 35px rgba(255,43,43,.3);
}

.btn-secondary{
    border:1px solid rgba(255,255,255,.18);
    background:rgba(255,255,255,.05);
    backdrop-filter:blur(10px);
}

.btn-light{
    background:#fff;
    color:#000;
}

.hero-features{
    display:flex;
    flex-wrap:wrap;
    gap:28px;
}

.hero-features div{
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
    padding:22px;
    border-radius:18px;
    min-width:180px;
    backdrop-filter:blur(12px);
}

.hero-features strong{
    display:block;
    font-size:30px;
    margin-bottom:8px;
}

.hero-features span{
    color:var(--muted);
}

/* SECTIONS */

section{
    padding:110px 0;
}

.section-title{
    text-align:center;
    max-width:760px;
    margin:0 auto 60px;
}

.section-title h2{
    font-size:52px;
    margin:18px 0;
}

.section-title p{
    color:var(--muted);
    font-size:18px;
}

.section-label{
    color:#ff7a7a;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:1px;
}

/* ABOUT */

.about-grid{
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:40px;
    align-items:center;
}

.section-text h2{
    font-size:52px;
    margin:18px 0 28px;
}

.section-text p{
    color:var(--muted);
    margin-bottom:18px;
    font-size:18px;
}

.text-link{
    display:inline-flex;
    margin-top:10px;
    color:#fff;
    font-weight:700;
}

.about-card{
    background:linear-gradient(180deg,var(--card),var(--card2));
    border:1px solid var(--line);
    padding:40px;
    border-radius:28px;
    box-shadow:var(--shadow);
}

.about-card h3{
    margin-bottom:12px;
    font-size:24px;
}

.about-card p{
    margin-bottom:30px;
    color:var(--muted);
}

/* SERVICES */

.services-section{
    background:var(--bg2);
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
}

.service-card{
    background:linear-gradient(180deg,var(--card),var(--card2));
    border:1px solid var(--line);
    padding:36px;
    border-radius:26px;
    transition:.35s;
}

.service-card:hover{
    transform:translateY(-8px);
    border-color:rgba(255,43,43,.35);
}

.service-icon{
    width:72px;
    height:72px;
    border-radius:20px;
    background:rgba(255,43,43,.12);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:34px;
    margin-bottom:24px;
}

.service-card h3{
    margin-bottom:18px;
    font-size:24px;
}

.service-card p{
    color:var(--muted);
}

/* CLIENTS */

.clients-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}

.clients-grid div{
    background:rgba(255,255,255,.04);
    border:1px solid var(--line);
    border-radius:20px;
    padding:30px;
    text-align:center;
    font-size:22px;
    font-weight:700;
}

/* PROJECTS */

.projects-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
}

.projects-grid h2{
    font-size:52px;
    margin:18px 0 24px;
}

.projects-grid p{
    color:var(--muted);
    margin-bottom:30px;
    font-size:18px;
}

.project-preview{
    display:grid;
    gap:24px;
}

.project-box{
    background:linear-gradient(180deg,var(--card),var(--card2));
    border:1px solid var(--line);
    padding:36px;
    border-radius:26px;
}

.project-box h3{
    margin-bottom:16px;
    font-size:28px;
}

.project-box p{
    color:var(--muted);
    margin:0;
}

/* CTA */

.cta-section{
    padding-top:0;
}

.cta-box{
    background:
    linear-gradient(135deg,#ff1d1d,#8d0000);

    border-radius:36px;
    padding:60px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    box-shadow:0 25px 60px rgba(255,43,43,.25);
}

.cta-box h2{
    font-size:46px;
    margin-bottom:12px;
}

.cta-box p{
    color:rgba(255,255,255,.85);
}

/* CONTACT */

.contact-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
}

.contact-grid h2{
    font-size:52px;
    margin:18px 0 20px;
}

.contact-grid p{
    color:var(--muted);
}

.contact-info{
    margin-top:35px;
}

.contact-info p{
    margin-bottom:14px;
}

.contact-form{
    background:linear-gradient(180deg,var(--card),var(--card2));
    border:1px solid var(--line);
    border-radius:30px;
    padding:40px;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    margin-bottom:18px;
    border:none;
    outline:none;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.08);
    color:#fff;
    padding:18px;
    border-radius:16px;
    font-size:16px;
}

.contact-form textarea{
    resize:vertical;
}

/* FOOTER */

.site-footer{
    border-top:1px solid var(--line);
    padding-top:70px;
    background:#050c17;
}

.footer-grid{
    display:grid;
    grid-template-columns:1.2fr .8fr .8fr;
    gap:40px;
    padding-bottom:50px;
}

.footer-logo{
    width:220px;
    margin-bottom:20px;
}

.footer-grid p{
    color:var(--muted);
}

.footer-grid h4{
    margin-bottom:20px;
    font-size:22px;
}

.footer-grid a{
    display:block;
    margin-bottom:12px;
    color:var(--muted);
    transition:.3s;
}

.footer-grid a:hover{
    color:#fff;
}

.footer-bottom{
    border-top:1px solid var(--line);
    padding:24px 0;
    text-align:center;
}

.footer-bottom p{
    color:var(--muted);
    font-size:14px;
}

/* MOBILE */

@media(max-width:1100px){

    .hero h1{
        font-size:58px;
    }

    .services-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .clients-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:900px){

    .main-nav{
        position:fixed;
        top:90px;
        left:-100%;
        width:100%;
        height:calc(100vh - 90px);
        background:#08111f;
        flex-direction:column;
        justify-content:flex-start;
        padding-top:60px;
        transition:.4s;
    }

    .main-nav.active{
        left:0;
    }

    .menu-toggle{
        display:flex;
    }

    .emergency-btn{
        display:none;
    }

    .hero{
        min-height:auto;
        padding:180px 0 100px;
    }

    .hero h1{
        font-size:46px;
    }

    .hero p{
        font-size:18px;
    }

    .about-grid,
    .projects-grid,
    .contact-grid,
    .footer-grid{
        grid-template-columns:1fr;
    }

    .section-title h2,
    .section-text h2,
    .projects-grid h2,
    .contact-grid h2,
    .cta-box h2{
        font-size:38px;
    }

    .cta-box{
        flex-direction:column;
        align-items:flex-start;
    }
}

@media(max-width:640px){

    section{
        padding:80px 0;
    }

    .hero h1{
        font-size:36px;
    }

    .services-grid,
    .clients-grid{
        grid-template-columns:1fr;
    }

    .hero-actions{
        flex-direction:column;
    }

    .btn{
        width:100%;
    }

    .contact-form{
        padding:26px;
    }

    .cta-box{
        padding:36px;
    }
}