*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
    min-height:100%;
}

body{
    margin:0;
    min-height:100vh;
    display:flex;
    flex-direction:column;

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    color:#182634;
    background:#ffffff;
}

a{
    color:inherit;
    text-decoration:none;
}

img{
    max-width:100%;
}

.site-main{
    width:100%;
}


/* =========================================================
   SHARED CONTAINER
   ========================================================= */

.container{
    width:min(
        1180px,
        calc(100% - 36px)
    );

    margin:0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header{
    position:sticky;
    top:0;
    z-index:1000;

    background:rgba(255,255,255,.98);
    border-bottom:1px solid #e7edf3;

    box-shadow:
        0 5px 18px
        rgba(20,45,75,.04);
}

.site-nav-wrap{
    min-height:84px;

    width:min(
        100%,
        calc(100% - 36px)
    );

    margin:0 auto;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:34px;
}

.site-brand{
    display:flex;
    align-items:center;

    flex:0 0 auto;

    max-width:270px;
}

.site-brand img{
    display:block;

    width:auto;
    height:auto;

    max-width:240px;
    max-height:62px;

    object-fit:contain;
}

.site-brand-text{
    color:var(--brand-primary);

    font-size:1.35rem;
    font-weight:900;
}

.site-main-nav{
    display:flex;
    align-items:center;

    gap:30px;

    margin-left:auto;
}

.site-main-nav a{
    position:relative;

    display:flex;
    align-items:center;

    min-height:84px;

    color:var(--brand-primary);

    font-size:.94rem;
    font-weight:800;

    white-space:nowrap;
}

.site-main-nav a::after{
    content:"";

    position:absolute;

    left:0;
    right:0;
    bottom:0;

    height:2px;

    background:var(--brand-accent);

    transform:scaleX(0);
    transform-origin:center;

    transition:
        transform .18s ease;
}

.site-main-nav a:hover{
    color:var(--brand-accent);
}

.site-main-nav a:hover::after,
.site-main-nav a.active::after{
    transform:scaleX(1);
}

.site-main-nav a.active{
    color:var(--brand-primary);
}

.site-nav-toggle{
    display:none;

    width:46px;
    height:46px;

    padding:9px;

    border:0;
    border-radius:8px;

    background:#f3f6fa;

    cursor:pointer;
}

.site-nav-toggle span{
    display:block;

    width:100%;
    height:2px;

    margin:5px 0;

    background:var(--brand-primary);
}


/* =========================================================
   HERO
   ========================================================= */

.hero-section{
    background:
        linear-gradient(
            115deg,
            var(--brand-primary) 0%,
            var(--brand-primary) 31%,
            var(--brand-secondary) 60%,
            #f4f7fb 100%
        );

    color:#fff;

    padding:92px 0;
}

.hero-grid{
    display:grid;

    grid-template-columns:
        minmax(0,1.15fr)
        minmax(0,.85fr);

    gap:50px;

    align-items:center;
}

.hero-kicker,
.section-kicker{
    display:block;

    margin-bottom:12px;

    color:var(--brand-accent);

    font-size:.76rem;
    font-weight:900;

    letter-spacing:.14em;
    text-transform:uppercase;
}

.hero-section h1{
    margin:0 0 18px;

    font-size:
        clamp(
            2.9rem,
            6vw,
            5.4rem
        );

    line-height:1.03;
}

.hero-section p{
    max-width:760px;

    margin:0;

    font-size:1.12rem;
    line-height:1.75;

    opacity:.95;
}

.hero-media{
    min-height:320px;

    display:flex;
    align-items:center;
    justify-content:center;
}

.hero-media img{
    width:100%;

    border-radius:18px;

    box-shadow:
        0 20px 55px
        rgba(0,0,0,.16);
}


/* =========================================================
   BUTTONS
   ========================================================= */

.button-row{
    display:flex;
    gap:12px;
    flex-wrap:wrap;

    margin-top:28px;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:13px 22px;

    border-radius:8px;

    font-weight:900;
}

.btn-primary{
    background:var(--brand-accent);
    color:#fff;
}

.btn-outline{
    border:1px solid rgba(255,255,255,.5);
    color:#fff;
}

.btn-dark{
    background:var(--brand-primary);
    color:#fff;
}


/* =========================================================
   STANDARD SECTIONS
   ========================================================= */

.section{
    padding:76px 0;
}

.section.alt{
    background:#f6f9fc;
}

.section-heading{
    max-width:780px;

    margin-bottom:34px;
}

.section-heading.centered{
    margin-left:auto;
    margin-right:auto;

    text-align:center;
}

.section-heading h2{
    margin:0 0 14px;

    color:var(--brand-primary);

    font-size:
        clamp(
            2rem,
            4vw,
            3.2rem
        );
}

.section-heading p{
    color:#6a7888;

    font-size:1.05rem;
    line-height:1.7;
}

.content-copy{
    max-width:880px;

    color:#455568;

    font-size:1.03rem;
    line-height:1.85;
}


/* =========================================================
   CARDS
   ========================================================= */

.cards-grid{
    display:grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0,1fr)
        );

    gap:22px;
}

.card{
    background:#fff;

    border:1px solid #dce5ee;
    border-top:2px solid var(--brand-accent);

    border-radius:14px;

    padding:26px;

    box-shadow:
        0 9px 28px
        rgba(19,50,80,.045);
}

.card h3{
    margin:0 0 10px;

    color:var(--brand-primary);
}

.card p{
    color:#687788;

    line-height:1.68;
}

.card-link{
    color:var(--brand-accent);

    font-weight:900;
}


/* =========================================================
   STATS
   ========================================================= */

.stats-grid{
    display:grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0,1fr)
        );

    gap:0;
}

.stat-card{
    background:#eef5fc;

    padding:28px 22px;

    text-align:center;

    border-right:1px solid #d3dfeb;
}

.stat-card:last-child{
    border-right:0;
}

.stat-card strong{
    display:block;

    color:var(--brand-primary);

    font-size:1.7rem;
}

.stat-card span{
    display:block;

    margin-top:6px;

    color:#64758a;

    font-size:.9rem;
}


/* =========================================================
   IMAGE + TEXT
   ========================================================= */

.image-text-grid{
    display:grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0,1fr)
        );

    gap:42px;

    align-items:center;
}

.image-panel img{
    width:100%;

    border-radius:16px;
}


/* =========================================================
   CTA
   ========================================================= */

.cta-section{
    padding:58px 0;

    background:var(--brand-primary);

    color:#fff;
}

.cta-grid{
    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:30px;
}

.cta-grid h2{
    margin:0 0 10px;

    font-size:
        clamp(
            2rem,
            4vw,
            3.2rem
        );
}


/* =========================================================
   PAGE HERO
   ========================================================= */

.page-hero{
    padding:72px 0;

    color:#fff;

    background:
        linear-gradient(
            115deg,
            var(--brand-primary),
            var(--brand-secondary)
        );
}

.page-hero h1{
    margin:0 0 12px;

    font-size:
        clamp(
            2.4rem,
            5vw,
            4.4rem
        );
}

.page-hero p{
    max-width:760px;

    line-height:1.7;

    opacity:.92;
}


/* =========================================================
   ARTICLES
   ========================================================= */

.article-grid{
    display:grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0,1fr)
        );

    gap:22px;
}

.article-card{
    overflow:hidden;

    background:#fff;

    border:1px solid #dce5ee;
    border-radius:14px;
}

.article-card img{
    width:100%;

    aspect-ratio:16 / 9;

    object-fit:cover;
}

.article-card-body{
    padding:22px;
}

.article-meta{
    color:var(--brand-accent);

    font-size:.76rem;
    font-weight:900;

    letter-spacing:.08em;
    text-transform:uppercase;
}

.article-card h3{
    margin:10px 0;

    color:var(--brand-primary);
}


/* =========================================================
   JOBS
   ========================================================= */

.job-list{
    display:grid;

    gap:16px;
}

.job-card{
    padding:22px;

    background:#fff;

    border:1px solid #dce5ee;
    border-radius:14px;
}

.job-card h3{
    margin:0 0 8px;

    color:var(--brand-primary);
}

.job-meta{
    display:flex;

    gap:14px;
    flex-wrap:wrap;

    color:#708095;

    font-size:.9rem;
}


/* =========================================================
   FORMS
   ========================================================= */

.form-card{
    max-width:760px;

    padding:26px;

    background:#fff;

    border:1px solid #dce5ee;
    border-radius:15px;
}

.form-grid{
    display:grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0,1fr)
        );

    gap:16px;
}

.field{
    display:flex;
    flex-direction:column;

    gap:7px;

    margin-bottom:16px;
}

.field label{
    color:var(--brand-primary);

    font-weight:800;
}

.field input,
.field textarea,
.field select{
    width:100%;

    padding:12px 13px;

    border:1px solid #cfd9e4;
    border-radius:8px;

    font:inherit;
}

.alert-success{
    margin-bottom:18px;

    padding:14px 16px;

    border-radius:9px;

    background:#e9f7ee;

    color:#1b7040;
}

.empty-state{
    padding:28px;

    color:#758396;

    text-align:center;

    border:1px dashed #cad6e2;
    border-radius:12px;
}


/* =========================================================
   FOOTER - SVG BUSINESS PATTERN
   ========================================================= */

.site-footer{
    position:fixed;
    left:0;
    right:0;
    bottom:0;

    width:100%;
    z-index:1000;

    background:#ffffff;
    border-top:1px solid #e1e8ef;

    color:var(--brand-primary);
}
body{
    margin:0;

    min-height:100vh;

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    color:#182634;
    background:#ffffff;

    padding-bottom:58px;
}

.site-footer-inner{
    min-height:58px;

    width:100%;

    padding:0 18px;

    display:grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items:center;

    gap:24px;
}


/* LEFT SOCIAL ICONS */

.site-social-links{
    display:flex;
    align-items:center;
    justify-content:flex-start;

    gap:16px;
}

.site-social-icon{
    display:flex;
    align-items:center;
    justify-content:center;

    width:24px;
    height:24px;

    color:#111;
}

.site-social-icon:hover{
    color:var(--brand-accent);
}

.site-social-icon svg{
    display:block;

    width:21px;
    height:21px;
}


/* CENTER COPYRIGHT */

.footer-copyright{
    color:var(--brand-primary);

    font-size:.82rem;
    font-weight:800;

    text-align:center;

    white-space:nowrap;
}


/* RIGHT FOOTER LINKS */

.site-footer-links{
    display:flex;
    align-items:center;
    justify-content:flex-end;

    gap:26px;
}

.site-footer-links a{
    color:var(--brand-primary);

    font-size:.82rem;
    font-weight:800;
}

.site-footer-links a:hover{
    color:var(--brand-accent);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media(max-width:1050px){

    .site-main-nav{
        gap:20px;
    }

    .cards-grid,
    .article-grid{
        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );
    }

    .hero-grid,
    .image-text-grid{
        grid-template-columns:1fr;
    }
}


@media(max-width:860px){

    .site-nav-wrap{
        min-height:72px;
    }

    .site-nav-toggle{
        display:block;
    }

    .site-main-nav{
        display:none;

        position:absolute;

        top:72px;
        left:18px;
        right:18px;

        padding:10px;

        background:#fff;

        border:1px solid #dce5ee;
        border-radius:12px;

        box-shadow:
            0 15px 32px
            rgba(0,0,0,.08);

        flex-direction:column;
        align-items:stretch;

        gap:0;
    }

    .site-main-nav.open{
        display:flex;
    }

    .site-main-nav a{
        min-height:auto;

        padding:12px;

        border-radius:8px;
    }

    .site-main-nav a::after{
        display:none;
    }

    .site-main-nav a.active{
        background:#f3f6fa;
        color:var(--brand-accent);
    }

    .stats-grid{
        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );
    }

    .stat-card:nth-child(2){
        border-right:0;
    }

    .cta-grid{
        flex-direction:column;
        align-items:flex-start;
    }

    .site-footer-inner{
        grid-template-columns:1fr;

        gap:12px;

        padding:15px 18px;

        text-align:center;
    }

    .site-social-links{
        justify-content:center;
    }

    .footer-copyright{
        white-space:normal;
    }

    .site-footer-links{
        justify-content:center;
    }
}


@media(max-width:620px){

    .site-brand img{
        max-width:190px;
        max-height:50px;
    }

    .cards-grid,
    .article-grid,
    .stats-grid,
    .form-grid{
        grid-template-columns:1fr;
    }

    .stat-card{
        border-right:0;
        border-bottom:1px solid #d3dfeb;
    }

    .stat-card:last-child{
        border-bottom:0;
    }

    .hero-section{
        padding:66px 0;
    }

    .section{
        padding:58px 0;
    }

    .site-footer-links{
        flex-wrap:wrap;

        gap:14px 20px;
    }
}
