/* ─────────────────────────────────────────────
   MiigTech Solutions Inc.
   Professional Navy / Government-Trust Theme
   Single clean stylesheet — Montserrat only
   ───────────────────────────────────────────── */

:root {
    --navy-950: #071221;
    --navy-900: #0B1F3A;
    --navy-800: #102A4C;
    --navy-700: #173A63;
    --blue-600: #2563EB;
    --blue-500: #2F80ED;
    --blue-100: #EAF3FF;
    --teal: #0A9E9E;
    --teal-soft: rgba(10, 158, 158, 0.10);
    --gold: #C8A24A;

    --bg: #F5F7FA;
    --bg-soft: #EEF3F8;
    --bg-card: #FFFFFF;
    --white: #FFFFFF;
    --ink: #152033;
    --ink-mid: #44546A;
    --muted: #6B7A90;
    --line: #D9E2EC;
    --line-dark: rgba(255,255,255,0.10);

    --shadow-sm: 0 2px 10px rgba(11,31,58,0.06);
    --shadow: 0 12px 35px rgba(11,31,58,0.10);
    --shadow-lg: 0 24px 70px rgba(11,31,58,0.18);

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body, button, input, select, textarea { font-family: 'Montserrat', Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
}

/* Header — existing structure kept */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #F4F7FA;
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 1px 12px rgba(11,31,58,0.05);
}
.nav-wrap {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--navy-900);
    font-weight: 800;
    font-size: 1.02rem;
    letter-spacing: -0.01em;
    white-space: nowrap;
}
.brand-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.primary-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}
.primary-nav a {
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--ink-mid);
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: background 0.2s, color 0.2s;
}
.primary-nav a:hover {
    color: var(--navy-900);
    background: var(--blue-100);
}
.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 8px;
    background: var(--navy-900);
    color: var(--white) !important;
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(11,31,58,0.14);
    transition: transform 0.18s, background 0.18s;
    white-space: nowrap;
}
.nav-cta:hover { background: var(--navy-800); transform: translateY(-1px); }
.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    padding: 10px;
    cursor: pointer;
}
.mobile-menu-button span {
    display: block;
    height: 2px;
    background: var(--navy-900);
    margin: 5px 0;
    border-radius: 2px;
}

/* Shared buttons */
.btn, .button-link, .home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 9px;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    border: 1px solid transparent;
    transition: transform 0.18s, box-shadow 0.18s, background 0.18s, border-color 0.18s, color 0.18s;
    cursor: pointer;
}
.btn:hover, .button-link:hover, .home-btn:hover { transform: translateY(-1px); }
.btn-primary, .home-btn-primary {
    background: var(--blue-600);
    color: var(--white);
    border-color: var(--blue-600);
    box-shadow: 0 12px 28px rgba(37,99,235,0.18);
}
.btn-primary:hover, .home-btn-primary:hover { background: #1D4ED8; }
.btn-secondary, .home-btn-secondary {
    background: var(--white);
    color: var(--navy-900);
    border-color: var(--line);
}
.btn-secondary:hover, .home-btn-secondary:hover { border-color: var(--blue-500); color: var(--blue-600); }
.btn-light, .home-btn-light {
    background: var(--white);
    color: var(--navy-900);
    border-color: var(--white);
}
.btn-light:hover, .home-btn-light:hover { background: var(--blue-100); }
.button-row, .home-button-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* Home */
.home-page {
    background: var(--bg);
    color: var(--ink);
}
.home-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.86fr);
    align-items: center;
    gap: 54px;
    min-height: 680px;
    padding: 90px max(48px, calc((100vw - var(--container)) / 2)) 86px;
    background:
        radial-gradient(circle at 78% 22%, rgba(47,128,237,0.26), transparent 28%),
        radial-gradient(circle at 18% 16%, rgba(10,158,158,0.16), transparent 30%),
        linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 52%, var(--navy-800) 100%);
    color: var(--white);
}
.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.14;
    background-image:
        linear-gradient(rgba(255,255,255,0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.15) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(circle at center, black, transparent 76%);
}
.home-hero-content, .home-dashboard-wrap { position: relative; z-index: 1; }

.home-hero .home-eyebrow {
    color: #BFD7FF;
    border-color: rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.08);
}
.home-hero h1 {
    max-width: 760px;
    margin: 0 0 22px;
    color: #F7FBFF;
    font-size: clamp(2.5rem, 5.2vw, 5.2rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    font-weight: 800;
}
.home-hero h1 em {
    display: block;
    font-style: normal;
    color: #8EC5FF;
}
.home-hero-text {
    max-width: 650px;
    color: rgba(255,255,255,0.74);
    font-size: 1.05rem;
    line-height: 1.78;
    margin: 0;
}
.home-dashboard-wrap { display: flex; justify-content: flex-end; }
.home-dashboard-card {
    width: min(100%, 540px);
    display: flex;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(8,20,38,0.82);
    box-shadow: 0 28px 80px rgba(0,0,0,0.34), 0 0 0 1px rgba(47,128,237,0.18);
    backdrop-filter: blur(18px);
}
.home-dash-sidebar {
    width: 54px;
    flex: 0 0 54px;
    padding: 18px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    background: rgba(0,0,0,0.20);
    border-right: 1px solid rgba(255,255,255,0.08);
}
.home-dash-sidebar span {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: rgba(255,255,255,0.08);
}
.home-dash-sidebar span:first-child { background: rgba(47,128,237,0.30); border: 1px solid rgba(142,197,255,0.32); }
.home-dash-main { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.home-dash-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.home-dash-title {
    color: rgba(255,255,255,0.52);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.home-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #9EE6D8;
    background: rgba(10,158,158,0.14);
    border: 1px solid rgba(10,158,158,0.28);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}
.home-status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #9EE6D8; box-shadow: 0 0 14px rgba(158,230,216,0.8); }
.home-metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.home-metric {
    padding: 12px 8px;
    text-align: center;
    border-radius: 10px;
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.08);
}
.home-metric strong { display: block; color: #F7FBFF; font-size: 1.18rem; line-height: 1; font-weight: 800; }
.home-metric small { display: block; margin-top: 5px; color: rgba(255,255,255,0.44); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.home-dash-panels { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; }
.home-chart-panel {
    min-height: 126px;
    padding: 14px;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
}
.home-chart-panel p { margin: 0 0 12px; color: rgba(255,255,255,0.42); font-size: 0.64rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.home-bar-chart { height: 62px; display: flex; align-items: flex-end; gap: 6px; }
.home-bar-chart span { flex: 1; border-radius: 4px 4px 0 0; background: rgba(47,128,237,0.28); border: 1px solid rgba(142,197,255,0.22); }
.home-bar-chart span:nth-child(1) { height: 40%; }
.home-bar-chart span:nth-child(2) { height: 65%; }
.home-bar-chart span:nth-child(3) { height: 50%; }
.home-bar-chart span:nth-child(4) { height: 82%; background: var(--blue-500); border-color: var(--blue-500); }
.home-bar-chart span:nth-child(5) { height: 60%; }
.home-bar-chart span:nth-child(6) { height: 75%; }
.home-activity-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; }
.home-activity-list li { height: 8px; border-radius: 5px; background: rgba(255,255,255,0.07); overflow: hidden; position: relative; }
.home-activity-list li::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 55%; border-radius: inherit; background: rgba(10,158,158,0.46); }
.home-activity-list li:nth-child(1)::after { width: 75%; }
.home-activity-list li:nth-child(2)::after { width: 50%; }
.home-activity-list li:nth-child(3)::after { width: 88%; }
.home-activity-list li:nth-child(4)::after { width: 40%; }

.home-section, .section-padding, .section { padding: 84px 0; }
.home-section > :not(.container), .home-section .home-section-heading, .home-section .home-card-grid, .home-section .home-split { width: min(var(--container), calc(100% - 48px)); margin-left: auto; margin-right: auto; }
.home-muted-section, .muted-section, .section-muted { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-dark-section { background: var(--navy-900); color: var(--white); }
.home-dark-section .home-section-label { color: #BFD7FF; border-color: rgba(255,255,255,0.14); background: rgba(255,255,255,0.07); }
.home-dark-section p { color: rgba(255,255,255,0.70); }
.home-section-heading, .section-heading { margin-bottom: 38px; }
.home-section-heading h2, .section-heading h2, .home-split h2, .cta-card h2, .home-cta-card h2, .cta-panel h2 {
    margin: 0 0 14px;
    color: var(--navy-900);
    font-size: clamp(1.75rem, 3vw, 2.7rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
    font-weight: 800;
}
.home-dark-section .home-split h2 { color: var(--white); }
.home-section-heading p, .section-heading p, .home-split p { max-width: 720px; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.home-card-grid, .card-grid {
    display: grid;
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--line);
    box-shadow: var(--shadow-sm);
}
.home-four-col, .four-col { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-three-col, .three-col, .three-column { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-info-card, .info-card, .media-card {
    background: var(--white);
    padding: 30px 28px;
    transition: background 0.2s, transform 0.18s;
}
.home-info-card:hover, .info-card:hover, .media-card:hover { background: #FAFCFE; }
.home-card-number, .card-number, .media-tag {
    display: block;
    margin-bottom: 14px;
    color: var(--blue-600);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}
.home-info-card h3, .info-card h3, .media-card h3, .home-rd-card h3 { margin: 0 0 10px; color: var(--navy-900); font-size: 1.05rem; line-height: 1.35; font-weight: 800; }
.home-info-card p, .info-card p, .media-card p, .home-rd-card p { margin: 0; color: var(--muted); font-size: 0.93rem; line-height: 1.7; }
.home-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 46px; align-items: center; }
.home-rd-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    padding: 34px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.16);
}
.home-rd-card h3 { color: var(--white); }
.home-rd-card .home-card-number { color: #BFD7FF; }
.home-cta-section, .cta-section { background: var(--navy-950); padding: 84px 0; }
.home-cta-card, .cta-card, .cta-panel {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
    padding: 56px;
    text-align: center;
    border-radius: 22px;
    color: var(--white);
    background:
        radial-gradient(circle at 80% 16%, rgba(47,128,237,0.22), transparent 34%),
        linear-gradient(135deg, var(--navy-900), var(--navy-800));
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: var(--shadow-lg);
}
.home-cta-card h2, .cta-card h2, .cta-panel h2 { color: var(--white); }
.home-cta-card p, .cta-card p, .cta-panel p { max-width: 690px; margin: 0 auto 30px; color: rgba(255,255,255,0.72); }

/* Generic page headers */
/* =========================
   INNER PAGE HERO
   Professional navy with soft right-side tech glow
   ========================= */

.page-hero {
    background:
            radial-gradient(circle at 78% 42%, rgba(46, 111, 174, 0.38), transparent 34%),
            radial-gradient(circle at 92% 20%, rgba(111, 168, 220, 0.18), transparent 28%),
            linear-gradient(135deg, #06111F 0%, #071426 48%, #102A4A 100%);
    color: #ffffff;
    padding: 104px 0 96px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
            linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: 0.35;
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero .split-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
    gap: 56px;
    align-items: center;
}

.page-hero h1 {
    max-width: 780px;
    margin: 0 0 22px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.page-hero p:not(.eyebrow) {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.72);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
}

.page-hero .button-row {
    margin-top: 30px;
}

/* Optional visual box */
.page-hero .placeholder-visual {
    min-height: 260px;
    border-radius: 18px;
    background:
            radial-gradient(circle at center, rgba(111, 168, 220, 0.34), transparent 28%),
            rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

@media (max-width: 900px) {
    .page-hero {
        padding: 78px 0 72px;
    }

    .page-hero .split-hero {
        grid-template-columns: 1fr;
    }

    .page-hero .placeholder-visual {
        display: none;
    }
}
.compact-page-hero { padding: 68px 0; }
.page-hero h1 { margin: 0 0 14px; color: var(--white); font-size: clamp(2.1rem, 4vw, 4rem); line-height: 1.05; letter-spacing: -0.035em; font-weight: 800; }
.page-hero h2 { margin: 0 0 16px; color: lightgrey; font-size: clamp(1.25rem, 2.2vw, 2rem); line-height: 1.25; font-weight: 700; }
.page-hero p { max-width: 760px; margin: 0; color: rgba(255,255,255,0.76); font-size: 1rem; }
.split-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr); gap: 48px; align-items: center; }
.placeholder-visual {
    min-height: 280px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.14);
    background:
        radial-gradient(circle at 50% 50%, rgba(47,128,237,0.42), transparent 12%),
        radial-gradient(circle at 30% 28%, rgba(10,158,158,0.22), transparent 16%),
        radial-gradient(circle at 70% 72%, rgba(191,215,255,0.12), transparent 18%),
        rgba(255,255,255,0.06);
    box-shadow: inset 0 0 70px rgba(255,255,255,0.03), 0 24px 70px rgba(0,0,0,0.20);
    position: relative;
    overflow: hidden;
}
.placeholder-visual::before, .placeholder-visual::after {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(191,215,255,0.22);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.placeholder-visual::after { width: 280px; height: 280px; border-color: rgba(10,158,158,0.16); }
.placeholder-visual span {
    position: absolute;
    top: 50%; left: 50%;
    width: 14px; height: 14px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: #BFD7FF;
    box-shadow: 0 0 0 12px rgba(47,128,237,0.10), 0 0 36px rgba(191,215,255,0.8);
}

.process-grid, .assessment-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.process-grid article, .assessment-grid article {
    padding: 26px;
    border-radius: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.process-grid span, .assessment-grid span {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--blue-100);
    color: var(--blue-600);
    font-weight: 800;
    margin-bottom: 16px;
}
.process-grid h3, .assessment-grid h3 { margin: 0 0 8px; color: var(--navy-900); font-size: 1rem; }
.process-grid p, .assessment-grid p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* About extras */
.about-text-block,/* =========================
   VALUES LIST FIX
   Removes inner box
   ========================= */

.about-text-box {
    background: #ffffff;
    border: 1px solid #D8E0EA;
    border-radius: 14px;
    padding: 34px 36px;
    box-shadow: 0 12px 28px rgba(10, 20, 34, 0.04);
}

.values-text-list {
    margin: 0;
    padding-left: 1.25rem;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.values-text-list li {
    margin-bottom: 18px;
    color: #334155;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
}

.values-text-list li:last-child {
    margin-bottom: 0;
}

.values-text-list strong {
    color: #0A1422;
    font-weight: 800;
}

.values-text-list li::marker {
    color: #0A1422;
}
/* Careers */
.page-hero-content { max-width: 860px; }
.section-heading { width: min(var(--container), calc(100% - 48px)); margin-left: auto; margin-right: auto; }
.section .container, .section-padding .container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }

/* Media */
.media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.media-card { border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); overflow: hidden; }
.media-card-meta, .media-date { color: var(--muted); font-size: 0.82rem; font-weight: 600; }
.media-link { display: inline-flex; margin-top: 16px; color: var(--blue-600); font-weight: 800; }
.contact-inline { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr); gap: 30px; align-items: start; }
.contact-form, .contact-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
}
.contact-form { display: grid; gap: 10px; }
.contact-form label { color: var(--navy-900); font-size: 0.86rem; font-weight: 800; margin-top: 8px; }
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #FBFCFE;
    padding: 13px 14px;
    color: var(--ink);
    outline: none;
    transition: border-color 0.18s, box-shadow 0.18s;
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 4px rgba(47,128,237,0.10);
}
.contact-card h2 { margin: 0 0 12px; color: var(--navy-900); font-size: 1.55rem; }
.contact-card p { color: var(--muted); }
.contact-card strong { color: black; }
.direct-email-box {
    margin-top: 28px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--blue-100);
}
.direct-email-box p { margin: 0 0 4px; color: var(--ink-mid); font-size: 0.85rem; font-weight: 700; }
.direct-email-box a { color: var(--navy-900); font-size: 0.92rem; font-weight: 800; }
.field-error { color: #B42318; font-size: 0.82rem; font-weight: 600; }
.validation-summary:empty { display: none; }
.success-message {
    padding: 14px 16px;
    border-radius: 10px;
    background: rgba(10,158,158,0.10);
    border: 1px solid rgba(10,158,158,0.22);
    color: #057A7A;
    font-weight: 700;
}

/* Footer — existing structure kept, colours matched */
/* =========================
   FOOTER
   ========================= */

.site-footer {
    background: #0A1422;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 52px 24px 28px;
}

.footer-brand-block {
    text-align: center;
    margin-bottom: 40px;
}

.footer-brand-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    text-decoration: none;
}

.footer-emblem {
    width: 86px;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    opacity: 0.95;

    /* Makes the logo white/professional on dark navy */
    filter: brightness(0) invert(1);
}

.footer-company-name {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    margin-bottom: 8px;
}

.footer-slogan {
    color: #6FA8DC;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.09);
    margin: 0 0 36px;
}

.footer-links-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 72px;
    margin-bottom: 40px;
}

.footer-links-row h3 {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 0 18px;
}

.footer-links-row a {
    display: block;
    color: rgba(255, 255, 255, 0.66);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s ease;
}

.footer-links-row a:hover {
    color: #6FA8DC;
}

.footer-links-row p {
    color: rgba(255, 255, 255, 0.66);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    margin: 0 0 10px;
}

.footer-bottom {
    color: rgba(255, 255, 255, 0.48);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-align: center;
        width: 100%;
}

@media (max-width: 800px) {
    .footer-inner {
        padding: 44px 24px 24px;
    }

    .footer-links-row {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-emblem {
        width: 76px;
    }
}
.assessment-section {
    background: #F4F7FA;
    border-top: 1px solid #D8E0EA;
    border-bottom: 1px solid #D8E0EA;
}

.section-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 88px 24px;
}

.assessment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 34px;
}

.assessment-grid div {
    background: #ffffff;
    border: 1px solid #D8E0EA;
    border-radius: 10px;
    padding: 18px 20px;
    color: #0A1422;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .assessment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .assessment-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================
   SYSTEMS ASSESSMENT SECTION FIX
   Keeps existing HTML unchanged
   ========================= */


section.section-padding:has(.assessment-grid) {
    background: #F4F7FA;
    border-top: 1px solid #D8E0EA;
    border-bottom: 1px solid #D8E0EA;
}

/*!* Make heading and paragraph spacing match other service sections *!*/
/*section.section-padding:has(.assessment-grid) .section-heading {*/
/*    max-width: 760px;*/
/*    margin: 0 0 40px;*/
/*}*/


/*section.section-padding:has(.assessment-grid) .section-heading p {*/
/*    max-width: 680px;*/
/*    margin: 0;*/
/*    color: #65758A;*/
/*    font-family: 'Montserrat', sans-serif;*/
/*    font-size: 1rem;*/
/*    line-height: 1.8;*/
/*}*/

/* Make assessment grid look like one clean panel, not a box inside a box */
.assessment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: #ffffff;
    border: 1px solid #D8E0EA;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(10, 20, 34, 0.04);
    overflow: hidden;
    margin-top: 34px;
}

.assessment-grid div {
    min-height: 92px;
    padding: 24px 26px;
    border-right: 1px solid #D8E0EA;
    border-bottom: 1px solid #D8E0EA;
    background: #ffffff;
    color: #0A1422;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.55;
    display: flex;
    align-items: center;
}

.assessment-grid div:nth-child(4n) {
    border-right: none;
}

.assessment-grid div:nth-last-child(-n + 4) {
    border-bottom: none;
}

@media (max-width: 900px) {
    .assessment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .assessment-grid div:nth-child(4n) {
        border-right: 1px solid #D8E0EA;
    }

    .assessment-grid div:nth-child(2n) {
        border-right: none;
    }

    .assessment-grid div:nth-last-child(-n + 4) {
        border-bottom: 1px solid #D8E0EA;
    }

    .assessment-grid div:nth-last-child(-n + 2) {
        border-bottom: none;
    }
}

@media (max-width: 600px) {
    .assessment-grid {
        grid-template-columns: 1fr;
    }

    .assessment-grid div,
    .assessment-grid div:nth-child(2n),
    .assessment-grid div:nth-child(4n) {
        border-right: none;
    }

    .assessment-grid div:nth-last-child(-n + 2) {
        border-bottom: 1px solid #D8E0EA;
    }

    .assessment-grid div:last-child {
        border-bottom: none;
    }
}
/* =========================
   GLOBAL EYEBROW SYSTEM
   Page hero badges + section badges
   ========================= */

/* Base style for all badges */
.eyebrow,
.section-label,
.home-eyebrow,
.home-section-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: max-content;
    border-radius: 999px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Main page / hero eyebrow */
.page-hero .eyebrow,
.home-hero .home-eyebrow,
.home-hero .eyebrow {
    padding: 8px 20px;
    margin: 0 0 22px;
    font-size: 0.8rem;
    color: #DCEBFF;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

/* Regular section eyebrows */
.section-heading > .eyebrow,
.section-label,
.home-section-label {
    padding: 8px 20px;
    margin: 0 0 18px;
    font-size: 0.84rem;
    color: var(--blue-600);
    background: rgba(46, 111, 174, 0.10);
    border: 1px solid rgba(46, 111, 174, 0.24);
}

/* Dark sections inside the home page */
.home-dark-section .home-section-label,
.home-dark-section .eyebrow,
.dark-section .eyebrow {
    color: #DCEBFF;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.20);
}
/* =========================
   MEDIA CONTACT
   ========================= */

.media-contact-card {
    max-width: 520px;
    background: #ffffff;
    border: 1px solid #D8E0EA;
    border-radius: 14px;
    padding: 24px 28px;
    box-shadow: 0 12px 28px rgba(10, 20, 34, 0.04);
}

.media-contact-card span {
    display: block;
    margin-bottom: 6px;
    color: #0A1422;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.media-contact-card a {
    color: #334155;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
}

.media-contact-card a:hover {
    color: #2E6FAE;
}
.contact-inline-card {
    max-width: 520px;
    background: #ffffff;
    border: 1px solid #D8E0EA;
    border-radius: 14px;
    padding: 24px 28px;
    box-shadow: 0 12px 28px rgba(10, 20, 34, 0.04);
}

.contact-inline-card p {
    margin: 0 0 6px;
    color: #0A1422;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-inline-card a {
    color: #334155;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
}

.contact-inline-card a:hover {
    color: #2E6FAE;
}

/* =========================
   HERO VISUAL SYSTEM
   Services / R&D / About
   ========================= */

.miig-visual-panel {
    min-height: 320px;
    border-radius: 22px;
    background:
            radial-gradient(circle at 50% 50%, rgba(111, 168, 220, 0.22), transparent 38%),
            linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
            0 24px 70px rgba(0, 0, 0, 0.18),
            inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    overflow: hidden;
    position: relative;
}

.miig-visual-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: 0.45;
    pointer-events: none;}

/* =========================
   LIGHTER SERVICES VISUAL
   ========================= */

.service-interface-visual {
    padding: 22px;
    background:
            radial-gradient(circle at 70% 25%, rgba(143, 199, 255, 0.18), transparent 35%),
            linear-gradient(145deg, rgba(255,255,255,0.18), rgba(255,255,255,0.08));
}

.browser-top {
    height: 42px;
    border-radius: 16px 16px 0 0;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(200, 215, 232, 0.9);
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    position: relative;
    z-index: 1;
}

.browser-top span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(103, 133, 171, 0.45);
}

.browser-body {
    min-height: 238px;
    display: grid;
    grid-template-columns: 72px 1fr;
    border-radius: 0 0 16px 16px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(200, 215, 232, 0.9);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.45);
    position: relative;
    z-index: 1;
}

.browser-sidebar {
    border-right: 1px solid rgba(210, 220, 232, 0.85);
    padding: 22px 18px;
    display: grid;
    gap: 14px;
    align-content: start;
}

.browser-sidebar i {
    height: 16px;
    border-radius: 6px;
    background: rgba(90, 125, 165, 0.14);
}

.browser-sidebar i:first-child {
    background: rgba(79, 127, 255, 0.35);
}

.browser-main {
    padding: 24px;
}

.interface-header {
    height: 24px;
    width: 62%;
    border-radius: 8px;
    background: rgba(25, 55, 95, 0.12);
    margin-bottom: 22px;
}

.interface-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.interface-grid div {
    height: 72px;
    border-radius: 12px;
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(206, 218, 233, 0.95);
    box-shadow: 0 8px 18px rgba(24, 44, 78, 0.05);
}

.interface-form {
    display: grid;
    gap: 10px;
}

.interface-form span {
    height: 14px;
    border-radius: 999px;
    background: rgba(30, 56, 91, 0.10);
}

.interface-form span:nth-child(1) {
    width: 90%;
}

.interface-form span:nth-child(2) {
    width: 72%;
}

.interface-form span:nth-child(3) {
    width: 52%;
}

/* R&D NODE VISUAL */

.rd-node-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.rd-node-visual svg {
    width: min(92%, 620px);
    height: auto;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.node-lines line {
    stroke: rgba(184, 215, 245, 0.32);
    stroke-width: 2;
    stroke-linecap: round;
}

.node-points circle {
    fill: #8FC7FF;
    filter: drop-shadow(0 0 10px rgba(111, 168, 220, 0.7));
}

.node-points .node-core {
    fill: #DCEBFF;
    filter: drop-shadow(0 0 24px rgba(111, 168, 220, 0.95));
}

/* ABOUT SIGNAL VISUAL */

.about-signal-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.signal-core {
    width: 18px;
    height: 18px;
    background: #DCEBFF;
    border-radius: 50%;
    box-shadow: 0 0 34px rgba(111, 168, 220, 0.95);
    position: relative;
    z-index: 2;
}

.signal-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(184, 215, 245, 0.20);
}

.ring-one {
    width: 130px;
    height: 130px;
}

.ring-two {
    width: 220px;
    height: 220px;
}

.ring-three {
    width: 310px;
    height: 310px;
}

.signal-node {
    position: absolute;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #8FC7FF;
    box-shadow: 0 0 16px rgba(111, 168, 220, 0.8);
}

.node-a {
    transform: translate(95px, -70px);
}

.node-b {
    transform: translate(-110px, -35px);
}

.node-c {
    transform: translate(118px, 85px);
}

.node-d {
    transform: translate(-60px, 115px);
}

@media (max-width: 900px) {
    .miig-visual-panel {
        min-height: 260px;
    }

    .browser-body {
        grid-template-columns: 1fr;
    }

    .browser-sidebar {
        display: none;
    }
}
/* =========================
   R&D SQUARE NODE VISUAL
   ========================= */

.rd-square-network-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    background:
            radial-gradient(circle at 50% 50%, rgba(111, 168, 220, 0.18), transparent 40%),
            linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
}

.rd-square-network-visual svg {
    width: min(92%, 560px);
    height: auto;
    position: relative;
    z-index: 1;
}

.square-lines line {
    stroke: rgba(143, 199, 255, 0.42);
    stroke-width: 2.5;
    stroke-linecap: round;
}

.square-nodes circle {
    fill: #8FC7FF;
    filter: drop-shadow(0 0 10px rgba(111, 168, 220, 0.7));
}

.square-nodes .center-node {
    fill: #DCEBFF;
    filter: drop-shadow(0 0 22px rgba(111, 168, 220, 0.95));
}
/* =========================
   MOBILE RESPONSIVE FIX
   Keeps desktop design the same
   ========================= */

@media (max-width: 980px) {
    .container,
    .section-heading,
    .section .container,
    .section-padding .container,
    .home-section > :not(.container),
    .home-section .home-section-heading,
    .home-section .home-card-grid,
    .home-section .home-split,
    .home-cta-card,
    .cta-card,
    .cta-panel {
        width: min(100% - 32px, var(--container));
    }

    .site-header {
        position: sticky;
        top: 0;
    }

    .nav-wrap {
        position: relative;
        min-height: 68px;
        gap: 12px;
    }

    .brand {
        min-width: 0;
        gap: 10px;
        font-size: 0.92rem;
    }

    .brand-logo {
        width: 38px;
        height: 38px;
        flex: 0 0 auto;
    }

    .brand-name {
        max-width: 185px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        flex: 0 0 auto;
        z-index: 1002;
    }

    .primary-nav {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        z-index: 1001;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: #ffffff;
        box-shadow: var(--shadow);
    }

    .primary-nav.is-open {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .primary-nav a {
        display: block;
        width: 100%;
        padding: 13px 14px;
        border-radius: 10px;
        color: var(--navy-900);
        font-size: 0.92rem;
        font-weight: 700;
        background: transparent;
    }

    .primary-nav a:hover {
        background: var(--blue-100);
    }

    .nav-cta {
        display: none;
    }

    .home-hero {
        grid-template-columns: 1fr;
        gap: 34px;
        min-height: auto;
        padding: 70px 16px 58px;
    }

    .home-dashboard-wrap {
        justify-content: flex-start;
    }

    .home-dashboard-card {
        width: 100%;
    }

    .home-four-col,
    .four-col,
    .home-three-col,
    .three-col,
    .three-column,
    .two-col,
    .media-grid,
    .contact-grid,
    .home-split,
    .split-hero,
    .page-hero .split-hero,
    .home-dash-panels {
        grid-template-columns: 1fr;
    }

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

    .page-hero {
        padding: 76px 0 68px;
    }

    .page-hero h1,
    .home-hero h1 {
        font-size: clamp(2.15rem, 12vw, 3.25rem);
        line-height: 1.04;
        letter-spacing: -0.04em;
    }

    .page-hero p,
    .home-hero-text {
        font-size: 0.96rem;
        line-height: 1.75;
    }

    .page-hero .placeholder-visual,
    .miig-visual-panel {
        display: none;
    }

    .home-section,
    .section-padding,
    .section {
        padding: 64px 0;
    }

    .home-info-card,
    .info-card,
    .media-card,
    .contact-form,
    .contact-card,
    .home-rd-card {
        padding: 26px 22px;
    }

    .home-cta-card,
    .cta-card,
    .cta-panel {
        padding: 40px 22px;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 15px;
    }

    .container,
    .section-heading,
    .section .container,
    .section-padding .container,
    .home-section > :not(.container),
    .home-section .home-section-heading,
    .home-section .home-card-grid,
    .home-section .home-split,
    .home-cta-card,
    .cta-card,
    .cta-panel {
        width: min(100% - 28px, var(--container));
    }

    .nav-wrap {
        min-height: 64px;
    }

    .brand-logo {
        width: 34px;
        height: 34px;
    }

    .brand-name {
        max-width: 165px;
        font-size: 0.9rem;
    }

    .mobile-menu-button {
        width: 40px;
        height: 40px;
    }

    .primary-nav {
        top: calc(100% + 8px);
        border-radius: 14px;
    }

    .home-hero {
        padding: 58px 14px 48px;
    }

    .home-button-row,
    .button-row {
        flex-direction: column;
        gap: 10px;
    }

    .btn,
    .button-link,
    .home-btn {
        width: 100%;
    }

    .home-metric-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid,
    .assessment-grid,
    .interface-grid {
        grid-template-columns: 1fr;
    }

    .home-dashboard-card {
        border-radius: 16px;
    }

    .home-dash-sidebar {
        display: none;
    }

    .home-dash-main {
        padding: 16px;
    }

    .home-dash-top {
        gap: 12px;
        align-items: flex-start;
        flex-direction: column;
    }

    .home-section-heading h2,
    .section-heading h2,
    .home-split h2,
    .cta-card h2,
    .home-cta-card h2,
    .cta-panel h2 {
        font-size: clamp(1.55rem, 8vw, 2.1rem);
    }

    .page-hero {
        padding: 62px 0 56px;
    }

    .page-hero h1,
    .home-hero h1 {
        font-size: clamp(2rem, 11vw, 2.85rem);
    }

    .contact-form,
    .contact-card {
        padding: 24px 18px;
        border-radius: 16px;
    }

    .footer-inner {
        padding: 42px 18px 24px;
    }
}

@media (max-width: 380px) {
    .brand-name {
        max-width: 135px;
        font-size: 0.84rem;
    }

    .primary-nav a {
        font-size: 0.88rem;
        padding: 12px;
    }

    .home-hero,
    .page-hero {
        padding-left: 12px;
        padding-right: 12px;
    }
}