:root {
    --mg-navy-950: #051326;
    --mg-navy-900: #071a31;
    --mg-navy-800: #0b2747;
    --mg-navy-700: #12395f;
    --mg-blue: #1268c4;
    --mg-blue-bright: #1b80e5;
    --mg-cyan: #20bfd4;
    --mg-teal: #18a99d;
    --mg-gold: #d7a649;
    --mg-cloud: #edf4f8;
    --mg-mist: #f5f8fb;
    --mg-ink: #102a43;
    --mg-muted: #617487;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    color: var(--mg-ink);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
    line-height: 1.65;
    background: #fff;
}

section {
    overflow: hidden;
}

#mainNav {
    min-height: 76px;
    background: rgba(5, 19, 38, .93);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

#mainNav.navbar-shrink {
    background: rgba(5, 19, 38, .98);
}

#mainNav .navbar-brand {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -.02em;
}

.brand-kicker {
    display: block;
    margin-top: .1rem;
    color: #8fa9c1;
    font-size: .59rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

#mainNav .navbar-nav .nav-item .nav-link {
    color: #d9e5ef;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
}

#mainNav .navbar-nav .nav-item .nav-link:hover,
#mainNav .navbar-nav .nav-item .nav-link.active {
    color: #52d3e1;
}

.nav-contact {
    border: 1px solid rgba(82, 211, 225, .5);
    border-radius: .4rem;
    padding: .58rem .9rem !important;
    color: #fff !important;
}

.nav-contact:hover {
    background: rgba(32, 191, 212, .15);
}

.mg-masthead {
    position: relative;
    min-height: 760px;
    display: flex;
    align-items: center;
    color: #fff;
    background:
        linear-gradient(
            90deg,
            rgba(5, 19, 38, .98) 0%,
            rgba(5, 24, 47, .95) 45%,
            rgba(6, 35, 63, .84) 100%
        ),
        url("header-bg.jpg");
    background-size: cover;
    background-position: center;
}

.mg-masthead::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .34;
    background-image:
        linear-gradient(
            rgba(40, 133, 194, .13) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(40, 133, 194, .13) 1px,
            transparent 1px
        );
    background-size: 60px 60px;
}

.mg-masthead::after {
    content: "";
    position: absolute;
    width: 620px;
    height: 620px;
    right: -180px;
    top: 80px;
    border-radius: 50%;
    border: 1px solid rgba(53, 190, 218, .22);
    box-shadow:
        0 0 0 80px rgba(32, 191, 212, .025),
        0 0 0 160px rgba(32, 191, 212, .018);
}

.masthead-inner {
    position: relative;
    z-index: 3;
    padding-top: 125px;
    padding-bottom: 90px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    color: #72dbe6;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.hero-kicker::before {
    content: "";
    width: 38px;
    height: 2px;
    background: var(--mg-cyan);
}

.hero-title {
    max-width: 800px;
    margin-top: 1.4rem;
    margin-bottom: 1.5rem;
    color: #fff;
    font-size: clamp(3rem, 6vw, 5.9rem);
    font-weight: 800;
    line-height: .99;
    letter-spacing: -.055em;
}

.hero-title span {
    color: #65d9e7;
}

.hero-copy {
    max-width: 720px;
    color: #c5d5e4;
    font-size: 1.15rem;
    line-height: 1.8;
}

.hero-actions {
    margin-top: 2rem;
}

.btn-cyber-primary {
    padding: .9rem 1.45rem;
    border: 0;
    border-radius: .35rem;
    background: linear-gradient(
        135deg,
        var(--mg-blue-bright),
        var(--mg-cyan)
    );
    color: #fff;
    font-weight: 750;
    box-shadow: 0 .8rem 2rem rgba(16, 104, 196, .26);
}

.btn-cyber-primary:hover {
    color: #fff;
    transform: translateY(-1px);
}

.btn-cyber-outline {
    padding: .82rem 1.35rem;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: .35rem;
    color: #fff;
    font-weight: 700;
}

.btn-cyber-outline:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.hero-console {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(110, 212, 227, .22);
    border-radius: .7rem;
    background:
        linear-gradient(
            150deg,
            rgba(13, 47, 79, .88),
            rgba(5, 19, 38, .94)
        );
    box-shadow: 0 2rem 5rem rgba(0, 0, 0, .32);
}

.console-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .9rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    color: #8fb0c9;
    font-size: .68rem;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.console-status {
    color: #6de0c8;
}

.console-body {
    padding: 1.2rem;
}

.console-route {
    position: relative;
    padding-left: 2rem;
    padding-bottom: 1.35rem;
}

.console-route:last-child {
    padding-bottom: 0;
}

.console-route::before {
    content: "";
    position: absolute;
    left: .43rem;
    top: .5rem;
    bottom: -.4rem;
    width: 1px;
    background: rgba(82, 211, 225, .25);
}

.console-route:last-child::before {
    display: none;
}

.console-dot {
    position: absolute;
    left: 0;
    top: .35rem;
    width: .85rem;
    height: .85rem;
    border-radius: 50%;
    background: var(--mg-cyan);
    box-shadow: 0 0 0 5px rgba(32, 191, 212, .1);
}

.console-route small {
    display: block;
    color: #7190a8;
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.console-route strong {
    display: block;
    margin-top: .18rem;
    color: #fff;
    font-size: .98rem;
}

.console-route span {
    color: #a9bfce;
    font-size: .82rem;
}

.assurance-strip {
    position: relative;
    z-index: 5;
    margin-top: -46px;
}

.assurance-panel {
    border-radius: .6rem;
    background: #fff;
    box-shadow: 0 1.5rem 4rem rgba(13, 40, 67, .14);
}

.assurance-item {
    padding: 1.35rem 1.5rem;
    border-right: 1px solid #e3ebf1;
}

.assurance-item:last-child {
    border-right: 0;
}

.assurance-item .number {
    display: block;
    color: var(--mg-blue);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .13em;
}

.assurance-item strong {
    display: block;
    margin: .35rem 0 .18rem;
    color: var(--mg-navy-900);
    font-size: .95rem;
}

.assurance-item span {
    color: var(--mg-muted);
    font-size: .8rem;
}

.section-label {
    color: var(--mg-blue);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.section-heading {
    max-width: 860px;
    color: var(--mg-navy-900);
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.035em;
}

.section-intro {
    max-width: 780px;
    color: var(--mg-muted);
    font-size: 1.06rem;
}

.services-section {
    padding: 8rem 0 6.5rem;
    background: #fff;
}

.service-box {
    position: relative;
    height: 100%;
    padding: 2rem 1.7rem;
    overflow: hidden;
    border: 1px solid #dbe6ee;
    border-radius: .6rem;
    background: #fff;
    transition: .22s ease;
}

.service-box:hover {
    transform: translateY(-5px);
    border-color: rgba(18, 104, 196, .35);
    box-shadow: 0 1.4rem 3rem rgba(12, 47, 77, .11);
}

.service-box::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 72px;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--mg-blue),
        var(--mg-cyan)
    );
}

.service-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 1.35rem;
    border-radius: .65rem;
    background: linear-gradient(
        145deg,
        #e9f4fd,
        #edfafa
    );
    color: var(--mg-blue);
}

.service-icon svg {
    width: 30px;
    height: 30px;
}

.service-box h3 {
    color: var(--mg-navy-900);
    font-size: 1.18rem;
    font-weight: 800;
}

.service-box p {
    color: var(--mg-muted);
    font-size: .93rem;
}

.capabilities-section {
    padding: 6.5rem 0;
    background:
        linear-gradient(
            180deg,
            #edf4f8 0%,
            #f8fafc 100%
        );
}

.capability-tile {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    border-radius: .75rem;
    color: #fff;
    box-shadow: 0 1.5rem 3rem rgba(9, 41, 69, .12);
}

.capability-tile::before,
.capability-tile::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .16);
}

.capability-tile::before {
    width: 270px;
    height: 270px;
    right: -95px;
    top: -80px;
}

.capability-tile::after {
    width: 170px;
    height: 170px;
    right: -15px;
    bottom: -95px;
}

.tile-a {
    background: linear-gradient(145deg, #082a4c, #1268c4);
}

.tile-b {
    background: linear-gradient(145deg, #0b3e52, #16a9a3);
}

.tile-c {
    background: linear-gradient(145deg, #162b52, #4a63b7);
}

.tile-d {
    background: linear-gradient(145deg, #0a354b, #1680a3);
}

.tile-e {
    background: linear-gradient(145deg, #15304e, #266db0);
}

.tile-f {
    background: linear-gradient(145deg, #152746, #79614b);
}

.capability-content {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 3;
    padding: 2rem;
    background: linear-gradient(
        transparent,
        rgba(3, 14, 28, .86)
    );
}

.capability-code {
    color: #72deea;
    font-size: .67rem;
    font-weight: 850;
    letter-spacing: .16em;
}

.capability-content h3 {
    margin: .6rem 0 .5rem;
    color: #fff;
    font-size: 1.45rem;
    font-weight: 800;
}

.capability-content p {
    margin: 0;
    color: #c7d7e5;
    font-size: .88rem;
}

.tile-pattern {
    position: absolute;
    top: 45px;
    left: 45px;
    width: 130px;
    height: 130px;
    opacity: .6;
}

.tile-pattern svg {
    width: 100%;
    height: 100%;
}

.approach-section {
    padding: 7rem 0;
    background: #fff;
}

.timeline::before {
    background: #b8cede;
}

.timeline > li .timeline-image {
    border-color: #e4edf3;
    background: var(--mg-navy-900);
    box-shadow: 0 0 0 6px #f1f6f9;
}

.timeline > li .timeline-panel h4 {
    color: var(--mg-navy-900);
    font-weight: 800;
}

.timeline > li .timeline-panel p {
    color: var(--mg-muted);
}

.timeline-code {
    color: var(--mg-cyan);
    font-size: .82rem;
    font-weight: 850;
    letter-spacing: .08em;
}

.deliverables-section {
    position: relative;
    padding: 7rem 0;
    color: #fff;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(32, 191, 212, .16),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            var(--mg-navy-950),
            #0d3153
        );
}

.deliverables-section .section-label {
    color: #63d7e4;
}

.deliverables-section .section-heading {
    color: #fff;
}

.deliverables-section .section-intro {
    color: #aac0d1;
}

.deliverable-card {
    height: 100%;
    padding: 1.65rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: .55rem;
    background: rgba(255, 255, 255, .055);
    backdrop-filter: blur(10px);
}

.deliverable-card .d-code {
    color: #5dd7e4;
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .12em;
}

.deliverable-card h3 {
    margin: .7rem 0 .5rem;
    color: #fff;
    font-size: 1.08rem;
    font-weight: 800;
}

.deliverable-card p {
    margin: 0;
    color: #aebfce;
    font-size: .87rem;
}

.investigation-band {
    padding: 5rem 0;
    background:
        linear-gradient(
            120deg,
            #1065b6,
            #0f91ae
        );
    color: #fff;
}

.investigation-band h2 {
    color: #fff;
    font-weight: 800;
    letter-spacing: -.03em;
}

.investigation-band p {
    color: #d9f0f5;
}

.contact-section {
    position: relative;
    padding: 7rem 0;
    background: #eef4f8;
}

.contact-shell {
    overflow: hidden;
    border-radius: .8rem;
    background: #fff;
    box-shadow: 0 1.5rem 4rem rgba(13, 40, 67, .12);
}

.contact-info {
    height: 100%;
    padding: 3rem;
    color: #fff;
    background:
        linear-gradient(
            145deg,
            var(--mg-navy-950),
            #0c4068
        );
}

.contact-info h2 {
    color: #fff;
}

.contact-info p {
    color: #b8ccdc;
}

.contact-action {
    padding: 3rem;
}

.contact-action .phone {
    color: var(--mg-navy-900);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 850;
    letter-spacing: -.04em;
}

.footer {
    padding: 2rem 0;
    background: #04101e;
    color: #849bb0;
}

.footer strong {
    color: #fff;
}

.footer a {
    color: #8edfe8;
    text-decoration: none;
}

@media (max-width: 991.98px) {
    .mg-masthead {
        min-height: auto;
    }

    .masthead-inner {
        padding-top: 120px;
    }

    .hero-console {
        margin-top: 3rem;
    }

    .assurance-strip {
        margin-top: 0;
    }

    .assurance-item {
        border-right: 0;
        border-bottom: 1px solid #e3ebf1;
    }

    .assurance-item:last-child {
        border-bottom: 0;
    }
}
