:root{
    --navy:#0f1b32;
    --navy-dark:#0f1b32;
    --navy-soft:#172640;
    --gold:#ae9468;
    --gold-dark:#967d55;
    --text:#17314f;
    --muted:#6f7781;
    --white:#ffffff;
    --off:#f9f9f8;
    --line:#e8e8e8;
    --shadow:0 3px 14px rgba(0,0,0,.10);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    background:#fff;
    color:var(--text);
    font-family:'Montserrat',Arial,sans-serif;
    line-height:1.6;
}
img{display:block;max-width:100%}
a{text-decoration:none;color:inherit}
.container{width:min(1120px,calc(100% - 40px));margin:0 auto}

/* HEADER */
.site-header{
    position:sticky;
    top:0;
    z-index:100;
    background:#fff;
    border-bottom:1px solid #f0f0f0;
}
.header-inner{
    min-height:126px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:40px;
}
.brand{
    display:flex;
    align-items:center;
    color:var(--navy);
    flex-shrink:0;
}
.brand-logo{
    display:block;
    width:270px;
    height:auto;
    max-height:96px;
    object-fit:contain;
    object-position:left center;
}
.main-nav{
    display:flex;
    gap:34px;
    align-items:center;
    font-size:14px;
    font-weight:600;
}
.main-nav a{
    color:#273a51;
    transition:.2s;
}
.main-nav a:hover,
.main-nav a.active{color:var(--gold-dark)}
.menu-toggle{display:none;border:0;background:none;padding:8px;cursor:pointer}
.menu-toggle span{
    display:block;
    width:27px;
    height:2px;
    background:var(--navy);
    margin:5px 0;
}

/* ABOUT */
.about-section{
    position:relative;
    overflow:hidden;
    color:#fff;
    background:
        linear-gradient(rgba(15,27,50,.96),rgba(15,27,50,.97)),
        radial-gradient(circle at 50% -20%,rgba(255,255,255,.10),transparent 45%),
        linear-gradient(135deg,#172640,#0f1b32);
}
.about-section:before,
.about-section:after{
    content:"";
    position:absolute;
    border:1px solid rgba(255,255,255,.06);
    transform:rotate(20deg);
}
.about-section:before{width:700px;height:260px;left:-160px;top:40px}
.about-section:after{width:900px;height:380px;right:-260px;bottom:-80px}
.about-inner{
    position:relative;
    z-index:2;
    padding:28px 0 36px;
}
.section-title{text-align:center;margin-bottom:36px}
.section-title h1,
.section-title h2{
    margin:0;
    color:var(--navy);
    font-size:30px;
    line-height:1.2;
    font-weight:700;
}
.section-title.light h1{color:#fff}
.section-title p{
    max-width:760px;
    margin:16px auto 0;
    color:rgba(255,255,255,.92);
    font-size:15px;
    line-height:1.75;
}
.team-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:100px;
    max-width:760px;
    margin:0 auto;
}
.person-card{text-align:center}
.person-card img{
    width:228px;
    height:228px;
    object-fit:cover;
    border-radius:50%;
    margin:0 auto 20px;
    border:3px solid rgba(255,255,255,.12);
}
.person-card h2{
    margin:0 0 12px;
    font-size:19px;
    font-weight:700;
}
.person-card p{
    max-width:310px;
    margin:0 auto 10px;
    font-size:14px;
    color:rgba(255,255,255,.92);
    line-height:1.65;
}
.small-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-top:12px;
    padding:9px 20px;
    border-radius:22px;
    font-size:10px;
    font-weight:700;
}
.small-button.gold{background:var(--gold);color:#fff}

/* AREAS */
.areas-section{padding:76px 0 70px;background:#fff}
.areas-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px 26px;
}
.area-card{
    min-height:190px;
    padding:26px 22px 22px;
    text-align:center;
    background:#fff;
    border:1px solid var(--line);
    border-radius:7px;
    box-shadow:var(--shadow);
    border-bottom:4px solid var(--navy);
}
.area-card:nth-child(3n+2){border-bottom-color:var(--gold)}
.area-card svg{
    width:34px;
    height:34px;
    stroke-width:1.5;
    color:#2b5278;
    margin-bottom:12px;
}
.area-card h3{
    margin:0 0 9px;
    color:var(--navy);
    font-size:19px;
    font-weight:700;
}
.area-card p{
    margin:0;
    color:#7c7c7c;
    font-size:13px;
    line-height:1.55;
}

/* CONTACT */
.contact-section{padding:48px 0 28px;background:#fff}
.contact-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:68px;
    align-items:start;
}
.contact-form-wrap form{display:grid;gap:14px}
.contact-form-wrap label span{
    display:block;
    margin-bottom:5px;
    font-size:12px;
    font-weight:600;
    color:#263b55;
}
.contact-form-wrap input,
.contact-form-wrap textarea{
    width:100%;
    border:1px solid #999;
    border-radius:18px;
    padding:9px 13px;
    font:inherit;
    font-size:14px;
    outline:none;
    background:#fff;
}
.contact-form-wrap textarea{
    min-height:145px;
    border-radius:18px;
    resize:vertical;
}
.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus{
    border-color:var(--navy);
    box-shadow:0 0 0 3px rgba(15,27,50,.08);
}
.submit-button{
    width:140px;
    border:0;
    border-radius:24px;
    padding:12px 18px;
    background:var(--navy);
    color:#fff;
    font-size:11px;
    font-weight:700;
    cursor:pointer;
    margin-top:3px;
}
.submit-button:hover{background:var(--navy-soft)}
.cf-turnstile{margin-top:2px}
.map-wrap{
    min-height:350px;
    overflow:hidden;
}
.map-wrap iframe{width:100%;height:350px;border:0}
.form-alert{
    padding:12px 14px;
    margin-bottom:18px;
    border-radius:6px;
    font-size:14px;
    font-weight:600;
}
.form-alert.success{background:#edf8f0;color:#247241}
.form-alert.error{background:#fff1f1;color:#9f2f2f}

/* FOOTER */
.site-footer{
    margin-top:8px;
    background:var(--navy-dark);
    color:rgba(255,255,255,.82);
    text-align:center;
    padding:27px 0;
    font-size:9px;
}
.site-footer p{margin:0}

/* POPUP */
.popup-backdrop{
    position:fixed;
    inset:0;
    z-index:1000;
    display:none;
    place-items:start center;
    padding:80px 18px 20px;
    background:rgba(0,0,0,.06);
}
.popup-backdrop.show{display:grid}
.service-popup{
    position:relative;
    width:min(330px,calc(100vw - 36px));
    background:#ae9468;
    color:#fff;
    padding:28px 24px 32px;
    text-align:left;
    box-shadow:0 14px 40px rgba(0,0,0,.25);
}
.popup-close{
    position:absolute;
    top:-12px;
    right:-12px;
    width:28px;
    height:28px;
    border:0;
    border-radius:50%;
    background:#686868;
    color:#fff;
    font-size:20px;
    line-height:28px;
    cursor:pointer;
}
.popup-art{
    height:130px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:14px;
}
.token{
    background:#191919;
    color:#fff;
    padding:8px 14px;
    font-size:12px;
    font-weight:700;
    transform:rotate(-18deg);
    box-shadow:0 5px 12px rgba(0,0,0,.25);
}
.macbook{width:130px}
.mac-screen{
    height:78px;
    border:5px solid #2b2b2b;
    background:#d8d8d8;
    color:#555;
    display:grid;
    place-items:center;
    font-size:20px;
}
.mac-base{height:7px;background:#262626;border-radius:0 0 10px 10px}
.service-popup h2{
    margin:4px 0 5px;
    font-size:20px;
    line-height:1.1;
}
.service-popup p{
    margin:0 0 22px;
    font-size:11px;
    line-height:1.45;
}
.popup-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 20px;
    border-radius:22px;
    background:var(--navy);
    color:#fff;
    font-size:10px;
    font-weight:700;
}

/* RESPONSIVE */
@media (max-width:900px){
    .header-inner{min-height:95px}
    .main-nav{gap:18px;font-size:10px}
    .team-grid{gap:50px}
    .areas-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:700px){
    .container{width:min(100% - 28px,1120px)}
    .header-inner{min-height:82px}
    .brand-logo{width:205px;max-height:68px}
    .menu-toggle{display:block}
    .main-nav{
        position:absolute;
        top:82px;
        left:14px;
        right:14px;
        display:none;
        flex-direction:column;
        gap:0;
        align-items:stretch;
        background:#fff;
        box-shadow:0 10px 30px rgba(0,0,0,.12);
        padding:10px 0;
    }
    .main-nav.open{display:flex}
    .main-nav a{padding:13px 18px}
    .about-inner{padding:30px 0 40px}
    .section-title h1,.section-title h2{font-size:22px}
    .section-title p{font-size:12px}
    .team-grid{grid-template-columns:1fr;gap:38px}
    .person-card img{width:198px;height:198px}
    .areas-section{padding:60px 0}
    .areas-grid{grid-template-columns:1fr;gap:20px}
    .area-card{min-height:auto}
    .contact-grid{grid-template-columns:1fr;gap:34px}
    .map-wrap,.map-wrap iframe{height:300px;min-height:300px}
    .submit-button{width:100%}
    .service-popup{margin-top:15px}
}
