:root{
    --brand:#08A8E8;
    --brand2:#0d90c9;
    --ink:#0d1b2a;
    --navy:#10293a;
    --muted:#64748b;
    --soft:#eef8fc;
    --line:#dce8ee;
    --white:#fff;
    --radius:24px;
    --shadow:0 18px 50px rgba(15,43,60,.12)
}

*{
    box-sizing:border-box
}

html{
    scroll-behavior:smooth
}

body{
    margin:0;
    font-family:'DM Sans',sans-serif;
    color:var(--ink);
    background:#fff;
    line-height:1.65
}

img{
    max-width:100%;
    display:block
}

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

.container{
    width:min(1180px,calc(100% - 40px));
    margin:auto
}


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

.site-header{
    position:sticky;
    top:0;
    z-index:99;
    background:rgba(255,255,255,.9);
    backdrop-filter:blur(16px);
    border-bottom:1px solid rgba(220,232,238,.8)
}

.nav-wrap{
    height:82px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px
}

.brand{
    font-family:Manrope,sans-serif;
    font-weight:800;
    display:flex;
    align-items:center;
    gap:10px
}

.brand-mark{
    width:38px;
    height:38px;
    border-radius:12px;
    background:linear-gradient(135deg,var(--brand),#67d6ff);
    color:white;
    display:grid;
    place-items:center;
    font-size:13px;
    letter-spacing:-1px
}

.nav{
    display:flex;
    gap:24px;
    align-items:center;
    font-size:14px;
    font-weight:600
}

.nav a:hover{
    color:var(--brand)
}

.nav-toggle{
    display:none;
    border:0;
    background:none;
    font-size:26px
}


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

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    background:var(--brand);
    color:#fff;
    padding:14px 20px;
    border-radius:999px;
    border:0;
    font-weight:700;
    cursor:pointer;
    box-shadow:0 10px 25px rgba(8,168,232,.22)
}

.btn:hover{
    background:var(--brand2);
    transform:translateY(-1px)
}

.btn-outline{
    background:#fff;
    color:var(--ink);
    border:1px solid var(--line);
    box-shadow:none
}

.btn-dark{
    background:var(--ink)
}

.btn-sm{
    padding:10px 16px
}

.eyebrow{
    font-weight:800;
    color:var(--brand);
    text-transform:uppercase;
    letter-spacing:.12em;
    font-size:12px
}


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

.hero{
    position:relative;
    min-height:680px;
    overflow:hidden;
    background:#07141d
}

.hero-slide{
    position:absolute;
    inset:0;
    opacity:0;
    transition:opacity .8s ease
}

.hero-slide.active{
    opacity:1
}

.hero-slide img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center 25%;
    filter:brightness(.55)
}

.hero-slide:after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        90deg,
        rgba(4,17,26,.95) 0%,
        rgba(4,17,26,.65) 48%,
        rgba(4,17,26,.2) 100%
    )
}

.hero-content{
    position:relative;
    z-index:3;
    padding:130px 0 110px;
    color:#fff;
    max-width:720px
}

.hero h1,
.page-hero h1{
    font-family:Manrope,sans-serif;
    font-size:clamp(44px,6vw,78px);
    line-height:1.04;
    margin:16px 0 22px;
    letter-spacing:-.04em
}

.hero h1 span{
    color:#5ed1ff
}

.hero p{
    font-size:20px;
    max-width:660px;
    color:#d9e7ee
}

.hero-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:30px
}

.hero-dots{
    display:flex;
    gap:8px;
    margin-top:42px
}

.hero-dot{
    width:30px;
    height:5px;
    border:0;
    background:rgba(255,255,255,.35);
    border-radius:5px;
    cursor:pointer
}

.hero-dot.active{
    background:var(--brand)
}


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

section{
    padding:90px 0
}

.section-head{
    display:flex;
    justify-content:space-between;
    align-items:end;
    gap:30px;
    margin-bottom:38px
}

.section-head h2,
.split h2,
.cta-band h2{
    font-family:Manrope,sans-serif;
    font-size:clamp(32px,4vw,50px);
    line-height:1.1;
    letter-spacing:-.035em;
    margin:8px 0
}

.section-head p{
    max-width:560px;
    color:var(--muted)
}


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

.grid{
    display:grid;
    gap:22px
}

.grid-3{
    grid-template-columns:repeat(3,1fr)
}

.grid-4{
    grid-template-columns:repeat(4,1fr)
}

.card{
    background:#fff;
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:28px;
    transition:.25s
}

.card:hover{
    transform:translateY(-4px);
    box-shadow:var(--shadow)
}


/* ======================================================
   SERVICES
====================================================== */

.service-card{
    min-height:270px;
    position:relative;
    overflow:hidden
}

.service-icon{
    width:54px;
    height:54px;
    border-radius:16px;
    background:var(--soft);
    display:grid;
    place-items:center;
    font-size:25px;
    margin-bottom:35px
}

.service-card h3{
    font-family:Manrope,sans-serif;
    font-size:22px;
    margin:0 0 10px
}

.service-card p{
    color:var(--muted);
    margin:0
}


/* ======================================================
   ABOUT / SPLIT
====================================================== */

.soft{
    background:var(--soft)
}

.split{
    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:60px;
    align-items:center
}

.image-stack{
    position:relative
}

.image-stack img{
    border-radius:32px;
    box-shadow:var(--shadow)
}

.float-card{
    position:absolute;
    right:-10px;
    bottom:-30px;
    background:#fff;
    padding:22px;
    border-radius:20px;
    box-shadow:var(--shadow);
    max-width:240px
}

.stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
    margin-top:28px
}

.stat{
    padding:20px;
    border-radius:18px;
    background:#fff;
    border:1px solid var(--line)
}

.stat strong{
    display:block;
    font-family:Manrope,sans-serif;
    font-size:25px
}


/* ======================================================
   PROJECTS
====================================================== */

.project{
    border-radius:26px;
    overflow:hidden;
    position:relative;
    min-height:360px;
    background:#0b1b26
}

.project img{
    width:100%;
    height:100%;
    object-fit:cover;
    position:absolute;
    inset:0;
    opacity:.68
}

.project:after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        0deg,
        rgba(4,17,26,.92),
        transparent 70%
    )
}

.project-copy{
    position:absolute;
    z-index:2;
    bottom:0;
    padding:28px;
    color:#fff
}

.project-copy h3{
    font-family:Manrope,sans-serif;
    font-size:26px;
    margin:0 0 5px
}

.tag{
    display:inline-flex;
    padding:6px 10px;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.25);
    border-radius:999px;
    font-size:12px
}


/* ======================================================
   VENTURES
====================================================== */

.ventures .card{
    background:#0b1f2d;
    color:#fff;
    border:0
}

.ventures .card p{
    color:#c8d7df
}


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

.cta-band{
    padding:55px;
    border-radius:34px;
    background:linear-gradient(
        120deg,
        #07141d 0%,
        #0f3448 60%,
        #0aa8e8 160%
    );
    color:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:30px
}


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

.page-hero{
    padding:95px 0 70px;
    background:linear-gradient(135deg,#f2fbff,#fff)
}

.page-hero p{
    font-size:19px;
    max-width:760px;
    color:var(--muted)
}


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

.form-card{
    max-width:850px;
    margin:auto;
    background:#fff;
    border:1px solid var(--line);
    border-radius:28px;
    padding:34px;
    box-shadow:var(--shadow)
}

.form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px
}

.field{
    display:flex;
    flex-direction:column;
    gap:7px
}

.field.full{
    grid-column:1/-1
}

.field label{
    font-weight:700;
    font-size:14px
}

.field input,
.field select,
.field textarea{
    width:100%;
    padding:14px 15px;
    border:1px solid #cfdce3;
    border-radius:14px;
    font:inherit;
    outline:none;
    background:#fff
}

.field input:focus,
.field select:focus,
.field textarea:focus{
    border-color:var(--brand);
    box-shadow:0 0 0 4px rgba(8,168,232,.1)
}

.notice{
    padding:14px 18px;
    border-radius:14px;
    background:#eaf9f0;
    color:#185c35;
    margin-bottom:18px
}


/* ======================================================
   FOOTER
====================================================== */

.footer{
    background:#07141d;
    color:#b7c7d0;
    padding:70px 0 25px
}

.footer-grid{
    display:grid;
    grid-template-columns:1.6fr 1fr 1fr;
    gap:50px
}

.footer h4{
    color:#fff;
    margin-top:0
}

.footer a,
.footer span{
    display:block;
    margin:9px 0
}


/* Footer brand row */
.footer-brand{
    color:#fff;
    display:flex;
    align-items:center;
    gap:12px
}


/*
 * Footer logo:
 * 46px outside box + 7px padding gives the logo
 * a clean white border/breathing space.
 */
.footer-logo-mark{
    width:46px;
    height:46px;
    min-width:46px;
    flex:0 0 46px;

    display:flex !important;
    align-items:center;
    justify-content:center;

    margin:0 !important;
    padding:7px;

    background:#fff;
    border-radius:12px;

    overflow:hidden;
    box-sizing:border-box
}

.footer-logo-mark img{
    display:block;
    width:100%;
    height:100%;
    max-width:100%;
    object-fit:contain;
    object-position:center;
    margin:0
}


/* Prevent generic .footer span rule from adding
   unwanted margin to the brand name. */
.footer-brand > span:last-child{
    display:block;
    margin:0;
    color:#fff;
    font-family:Manrope,sans-serif;
    font-weight:800
}

.footer-bottom{
    border-top:1px solid #19313f;
    margin-top:40px;
    padding-top:22px;
    font-size:13px
}


/* ======================================================
   ADMIN
====================================================== */

.admin-body{
    background:#f4f8fa
}

.admin-shell{
    display:grid;
    grid-template-columns:250px 1fr;
    min-height:100vh
}

.admin-side{
    background:#07141d;
    color:white;
    padding:28px 20px
}

.admin-side nav a{
    display:block;
    padding:11px 12px;
    border-radius:10px;
    color:#bed0da;
    margin:4px 0
}

.admin-side nav a:hover{
    background:#102a39;
    color:white
}

.admin-main{
    padding:35px
}

.table-wrap{
    overflow:auto;
    background:#fff;
    border:1px solid var(--line);
    border-radius:18px
}

.table{
    width:100%;
    border-collapse:collapse
}

.table th,
.table td{
    padding:14px;
    border-bottom:1px solid var(--line);
    text-align:left;
    white-space:nowrap
}

.badge{
    padding:5px 9px;
    border-radius:999px;
    background:var(--soft);
    font-size:12px
}


/* ======================================================
   AUTH
====================================================== */

.auth-wrap{
    min-height:100vh;
    display:grid;
    place-items:center;
    background:linear-gradient(135deg,#e9f9ff,#fff)
}

.auth-card{
    width:min(420px,calc(100% - 32px));
    background:#fff;
    padding:35px;
    border-radius:25px;
    box-shadow:var(--shadow)
}


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

@media(max-width:900px){

    .nav-toggle{
        display:block
    }

    .nav{
        display:none;
        position:absolute;
        top:82px;
        left:0;
        right:0;
        background:#fff;
        padding:20px;
        flex-direction:column;
        border-bottom:1px solid var(--line)
    }

    .nav.open{
        display:flex
    }

    .hero{
        min-height:620px
    }

    .hero-content{
        padding-top:110px
    }

    .grid-3,
    .grid-4,
    .split,
    .footer-grid{
        grid-template-columns:1fr
    }

    .form-grid{
        grid-template-columns:1fr
    }

    .field.full{
        grid-column:auto
    }

    .section-head{
        align-items:start;
        flex-direction:column
    }

    .cta-band{
        padding:35px;
        align-items:flex-start;
        flex-direction:column
    }

    .admin-shell{
        grid-template-columns:1fr
    }

    .admin-side{
        position:relative
    }

    .admin-main{
        padding:22px
    }

    .stats{
        grid-template-columns:1fr 1fr
    }

    .footer-logo-mark{
        width:46px;
        height:46px;
        min-width:46px;
        flex-basis:46px;
        padding:7px
    }
}


@media(max-width:560px){

    .container{
        width:min(100% - 30px,1180px)
    }

    section{
        padding:70px 0
    }

    .footer{
        padding:55px 0 24px
    }

    .footer-grid{
        gap:34px
    }

    .footer-logo-mark{
        width:44px;
        height:44px;
        min-width:44px;
        flex-basis:44px;
        padding:7px;
        border-radius:11px
    }

    .footer-brand{
        gap:11px
    }

    .stats{
        grid-template-columns:1fr
    }
}
