:root {
    --navy: #102a43;
    --navy2: #081c2e;
    --blue: #1769aa;
    --cyan: #2b8ac6;
    --gold: #d49a28;
    --light: #f5f8fb;
    --white: #fff;
    --text: #334e68;
    --muted: #627d98;
    --border: #d9e2ec;
    --shadow: 0 14px 35px rgba(16, 42, 67, .10);
    --radius: 16px;
    --max: 1220px;
}


/* =========================================================
   GLOBAL
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: #fff;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    line-height: 1.7;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(var(--max), 92%);
    margin: auto;
}


/* =========================================================
   TOP STRIP
   ========================================================= */

.top-strip {
    background: #071a2b;
    color: #c9d9e5;
    font-size: 11px;
    letter-spacing: .15px;
}

.top-strip-inner {
    min-height: 34px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}


/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 5px 22px rgba(16, 42, 67, .07);
    backdrop-filter: blur(12px);
}

.nav-wrap {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}

.brand-mark {
    width: 47px;
    height: 47px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--blue), var(--navy));
    color: #fff;
    font-weight: 900;
    font-size: 16px;
    box-shadow: 0 8px 20px rgba(23, 105, 170, .22);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-copy strong {
    font-size: 17px;
    color: var(--navy);
}

.brand-copy small {
    margin-top: 5px;
    font-size: 9px;
    letter-spacing: 1.15px;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 800;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 3px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.main-nav a {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 750;
    color: var(--navy);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--blue);
    background: #edf5fb;
}

.main-nav a.contact-link {
    color: #fff;
    background: var(--blue);
    margin-left: 5px;
}

.main-nav a.contact-link:hover {
    background: var(--navy);
    color: #fff;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    overflow: hidden;
    min-height: 560px;

    background-image: url("../images/image10.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(5, 22, 36, .96) 0%,
        rgba(5, 22, 36, .83) 43%,
        rgba(5, 22, 36, .24) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    color: #fff;
}

.hero-copy {
    max-width: 820px;
    padding: 80px 0;
}

.eyebrow {
    display: inline-block;
    padding: 7px 13px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 30px;
    background: rgba(255, 255, 255, .06);
    font-size: 11px;
    letter-spacing: 1.45px;
    text-transform: uppercase;
    color: #e7f3fb;
    font-weight: 800;
}

.hero h1 {
    margin: 21px 0 16px;
    font-size: clamp(39px, 5vw, 64px);
    line-height: 1.06;
    letter-spacing: -1.7px;
    color: #fff;
}

.hero-lead {
    max-width: 780px;
    margin: 0;
    color: #e8f3fb;
    font-size: 19px;
    font-weight: 650;
}

.hero-description {
    max-width: 720px;
    color: #cbdce7;
    margin: 13px 0 0;
    font-size: 15px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 29px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
}

.btn-primary {
    background: var(--gold);
    color: #fff;
}

.btn-primary:hover {
    background: #b97916;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, .5);
    color: #fff;
    background: rgba(255, 255, 255, .05);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, .12);
}

.btn-light {
    background: #fff;
    color: var(--navy);
}

.hero-badge {
    width: 185px;
    padding: 24px 20px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 15px;
    background: rgba(255, 255, 255, .09);
    backdrop-filter: blur(7px);
    flex-shrink: 0;
}

.hero-badge strong {
    display: block;
    font-size: 28px;
    color: #fff;
    line-height: 1.15;
}

.hero-badge span {
    display: block;
    margin-top: 7px;
    font-size: 11px;
    color: #d7e6ef;
}

.team-member-photo {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto 16px;
}

/* =========================================================
   THERMAL TOP STRIP
   Uses existing .thermal-section background
   ========================================================= */

.thermal-top-strip {
    min-height: auto;
    border-radius: 0;
}

.thermal-top-strip .thermal-overlay {
    min-height: auto;
    padding: 10px 20px;
}

.thermal-top-strip .top-strip-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.thermal-top-strip .top-strip-inner span {
    color: #ffffff;
    font-size: 13px;
    line-height: 1.4;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

@media (max-width: 650px) {
    .thermal-top-strip .thermal-overlay {
        padding: 9px 15px;
    }

    .thermal-top-strip .top-strip-inner {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }

    .thermal-top-strip .top-strip-inner span {
        font-size: 11px;
    }
}

/* =========================================================
   THERMAL ENGINEERING SECTION
   Background image + overlay for "Engineering Thermal..."
   Flask image path:
   static/images/thermal.jpg
   ========================================================= */

.thermal-section {
    position: relative;
    min-height: 220px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    text-align: center;

    background-image: url("../images/image10.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.thermal-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(8, 28, 46, .88),
        rgba(16, 42, 67, .68),
        rgba(23, 105, 170, .48)
    );
    z-index: 1;
}

.thermal-overlay {
    position: relative;
    z-index: 2;

    width: 100%;
    min-height: 220px;
    padding: 48px 25px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    color: #fff;
}

.thermal-overlay h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    letter-spacing: -.8px;
    font-weight: 800;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .35);
}

.thermal-overlay p {
    max-width: 760px;
    margin: 0;
    color: #e5f1f8;
    font-size: 15px;
    line-height: 1.6;
}

.thermal-heading {
    position: relative;
    overflow: hidden;

    padding: 45px 25px;
    margin: 0;

    color: #fff;
    text-align: center;

    background-image:
        linear-gradient(
            rgba(8, 28, 46, .68),
            rgba(8, 28, 46, .68)
        ),
        url("/static/images/thermal.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border-radius: 12px;

    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    font-weight: 800;

    text-shadow: 0 2px 6px rgba(0, 0, 0, .7);
}


/* =========================================================
   STATS
   ========================================================= */

.stats {
    position: relative;
    z-index: 5;
    margin-top: -42px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.stat {
    padding: 22px;
    border-right: 1px solid var(--border);
}

.stat:last-child {
    border-right: 0;
}

.stat strong {
    display: block;
    color: var(--blue);
    font-size: 20px;
    line-height: 1.2;
}

.stat span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 5px;
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.section {
    padding: 88px 0;
    scroll-margin-top: 90px;
}

.section-light {
    background: var(--light);
}

.section-heading {
    max-width: 850px;
    margin-bottom: 40px;
}

.section-label {
    display: block;
    color: var(--gold);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.7px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-label.gold {
    color: #f0c66b;
}

.section h2,
.contact-box h2,
.career-box h2 {
    margin: 0 0 14px;
    color: var(--navy);
    font-size: clamp(30px, 3.5vw, 43px);
    line-height: 1.13;
    letter-spacing: -.8px;
}

.lead {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 25px;
}

.content-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 31px;
    box-shadow: var(--shadow);
}

.content-card p {
    margin: 0 0 17px;
}

.content-card p:last-child {
    margin-bottom: 0;
}

.principles-card {
    padding: 31px;
    border-radius: var(--radius);
    color: #fff;
    background: linear-gradient(145deg, var(--navy), var(--blue));
    box-shadow: var(--shadow);
}

.principles-card h3 {
    font-size: 24px;
    margin: 4px 0 18px;
}

.card-kicker {
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #f0c66b;
    font-weight: 900;
}

.principle {
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, .18);
}

.principle strong {
    display: block;
    color: #fff;
}

.principle span {
    display: block;
    color: #d4e3ed;
    font-size: 13px;
    margin-top: 3px;
}


/* =========================================================
   PRODUCTS
   ========================================================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 21px;
}

.product-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(16, 42, 67, .06);
    transition: .22s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.product-image {
    height: 205px;
    overflow: hidden;
    background: #e9eef2;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s;
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}

.product-body {
    padding: 20px;
}

.tag {
    display: inline-block;
    padding: 4px 9px;
    border-radius: 30px;
    background: #eaf4fb;
    color: var(--blue);
    font-size: 9px;
    letter-spacing: .9px;
    text-transform: uppercase;
    font-weight: 900;
}

.product-body h3 {
    margin: 9px 0 6px;
    color: var(--navy);
    font-size: 20px;
}

.product-body p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}


/* =========================================================
   BUSINESS
   ========================================================= */

.business-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.business-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: .22s ease;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 42px rgba(16, 42, 67, .14);
}

.business-image {
    height: 205px;
    overflow: hidden;
}

.business-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.business-body {
    padding: 28px;
}

.number {
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 900;
    color: var(--gold);
}

.business-body h3 {
    margin: 7px 0 10px;
    color: var(--navy);
    font-size: 24px;
}

.business-body p {
    color: var(--muted);
    margin: 0 0 14px;
}

.clean-list {
    margin: 13px 0;
    padding-left: 18px;
    color: var(--muted);
    font-size: 13px;
    columns: 2;
    column-gap: 25px;
}

.clean-list li {
    margin: 4px 0;
    break-inside: avoid;
}

.spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 17px;
}

.spec-grid div {
    padding: 12px;
    border-left: 3px solid var(--blue);
    border-radius: 8px;
    background: var(--light);
}

.spec-grid strong {
    display: block;
    color: var(--navy);
    font-size: 13px;
}

.spec-grid span {
    display: block;
    color: var(--muted);
    font-size: 11px;
}


/* =========================================================
   EXPERTISE
   ========================================================= */

.expertise-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.feature-panel {
    padding: 31px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.feature-panel h3 {
    margin: 0 0 9px;
    color: var(--navy);
    font-size: 23px;
}

.feature-panel p {
    color: var(--muted);
}

.dark-panel {
    background: linear-gradient(145deg, var(--navy), var(--blue));
    border: 0;
    color: #fff;
}

.dark-panel h3 {
    color: #fff;
}

.dark-panel p {
    color: #d9e8f2;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill-list span {
    padding: 7px 11px;
    background: #eef5fa;
    border-radius: 30px;
    color: var(--navy);
    font-size: 11px;
    font-weight: 700;
}

.dark-panel .pill-list span {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
}

.capability {
    padding: 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 13px;
}

.capability h3 {
    margin: 0 0 7px;
    color: var(--navy);
    font-size: 18px;
}

.capability p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}


/* =========================================================
   PROCESS
   ========================================================= */

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
}

.process-step {
    position: relative;
    padding: 26px 22px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
}

.process-step > span {
    display: grid;
    place-items: center;
    width: 37px;
    height: 37px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-weight: 900;
    font-size: 12px;
    margin-bottom: 15px;
}

.process-step h3 {
    margin: 0 0 7px;
    color: var(--navy);
    font-size: 18px;
}

.process-step p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.execution-note {
    margin-top: 22px;
    padding: 19px 22px;
    background: #edf5fa;
    border-left: 4px solid var(--blue);
    border-radius: 8px;
    color: var(--text);
    font-size: 13px;
}


/* =========================================================
   WHY US
   ========================================================= */

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.why {
    padding: 26px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
}

.why h3 {
    margin: 0 0 7px;
    color: var(--navy);
    font-size: 18px;
}

.why p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}


/* =========================================================
   TEAM
   ========================================================= */

.people-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.person {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.person h3 {
    margin: 0 0 5px;
    color: var(--navy);
    font-size: 20px;
}

.role {
    display: block;
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 15px;
}

.person p {
    color: var(--muted);
    font-size: 13px;
}

.team-foot {
    margin-top: 22px;
    padding: 18px 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.team-foot strong {
    color: var(--navy);
}

.team-foot span {
    font-size: 12px;
    color: var(--muted);
}


/* =========================================================
   EXPERIENCE
   ========================================================= */

.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.experience-panel {
    padding: 30px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.experience-panel h3 {
    margin: 0 0 17px;
    color: var(--navy);
}

.industry-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.industry-list li {
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--light);
    font-size: 12px;
    font-weight: 650;
    color: var(--text);
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
}

.quality-grid > div {
    padding: 23px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: #fff;
}

.quality-grid strong {
    display: block;
    color: var(--navy);
    font-size: 16px;
}

.quality-grid span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
}


/* =========================================================
   GALLERY
   ========================================================= */

.gallery {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    grid-auto-rows: 205px;
    gap: 13px;
}

.gallery figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 13px;
    background: #ddd;
}

.gallery-main {
    grid-row: span 2;
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.gallery figure:hover img {
    transform: scale(1.045);
}

.gallery figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 35px 13px 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    background: linear-gradient(
        transparent,
        rgba(0, 0, 0, .78)
    );
}


/* =========================================================
   VISION
   ========================================================= */

.vision-section {
    padding: 88px 0;
    background: linear-gradient(135deg, #0c2439, #1769aa);
    color: #fff;
}

.vision-section h2 {
    color: #fff;
}

.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.vision-box {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 15px;
    background: rgba(255, 255, 255, .07);
}

.vision-box > span {
    font-size: 10px;
    letter-spacing: 1.6px;
    font-weight: 900;
    color: #f0c66b;
}

.vision-box h3 {
    color: #fff;
    font-size: 21px;
    margin: 9px 0;
}

.vision-box p {
    color: #dce9f1;
    margin: 0;
    font-size: 14px;
}


/* =========================================================
   CAREER
   ========================================================= */

.career-section {
    background: var(--light);
}

.career-box {
    padding: 43px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.career-box h2 {
    margin-bottom: 7px;
}

.career-box p {
    margin: 0;
    color: var(--muted);
    max-width: 760px;
    font-size: 14px;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
    padding: 70px 0;
}

.contact-box {
    padding: 44px;
    border-radius: 20px;
    background: var(--navy);

    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 35px;
    align-items: center;

    box-shadow: var(--shadow);
}

.contact-main h2 {
    color: #fff;
}

.contact-main p {
    color: #d7e5ee;
    max-width: 720px;
}

.contact-details {
    border-left: 1px solid rgba(255, 255, 255, .23);
    padding-left: 30px;
}

.contact-details div {
    margin-bottom: 19px;
}

.contact-details div:last-child {
    margin-bottom: 0;
}

.contact-details strong {
    display: block;
    color: #fff;
    font-size: 13px;
}

.contact-details span {
    display: block;
    color: #c7d8e5;
    font-size: 12px;
    margin-top: 3px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    background: #071a2b;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 35px;
    padding: 34px 0;
    color: #aebfcd;
}

.footer-grid strong {
    color: #fff;
}

.footer-grid p {
    font-size: 12px;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    align-content: flex-start;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.footer-links a {
    font-size: 12px;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 17px 0;
    color: #8299aa;
    font-size: 11px;
}

footer {
    background: #071a2b;
}

footer .container {
    color: #aebfcd;
}


/* =========================================================
   LEGACY CONTENT
   ========================================================= */

.consulting-section {
    background: #fff;
}

.consulting-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
}

.consulting-card {
    position: relative;
    padding: 26px 23px 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 7px 24px rgba(16, 42, 67, .06);
    overflow: hidden;
}

.consulting-card:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--gold));
}

.consulting-number {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
    color: var(--gold);
}

.consulting-card h3 {
    margin: 8px 0;
    color: var(--navy);
    font-size: 18px;
}

.consulting-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.legacy-expertise {
    padding-top: 70px;
    padding-bottom: 70px;
}

.legacy-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

.legacy-tags span {
    padding: 12px 17px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #fff;
    color: var(--navy);
    font-weight: 750;
    font-size: 13px;
    box-shadow: 0 4px 13px rgba(16, 42, 67, .04);
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .main-nav a {
        padding: 8px 8px;
        font-size: 12px;
    }

    .hero-badge {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat:nth-child(2) {
        border-right: 0;
    }

    .stat:nth-child(-n + 2) {
        border-bottom: 1px solid var(--border);
    }

    .product-grid,
    .business-grid,
    .people-grid {
        grid-template-columns: 1fr 1fr;
    }

    .capability-grid,
    .why-grid,
    .quality-grid {
        grid-template-columns: 1fr 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-grid,
    .expertise-top,
    .experience-grid,
    .vision-grid,
    .contact-box {
        grid-template-columns: 1fr;
    }

    .contact-details {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .22);
        padding: 25px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .consulting-grid {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .top-strip-inner {
        justify-content: center;
        text-align: center;
    }

    .top-strip-inner span:last-child {
        display: none;
    }

    .nav-wrap {
        min-height: 70px;
    }

    .main-nav {
        display: none;
    }

    .hero,
    .hero-content {
        min-height: 570px;
    }

    .hero-copy {
        padding: 65px 0;
    }

    .hero h1 {
        font-size: 39px;
    }

    .hero-lead {
        font-size: 15px;
    }

    .stats {
        margin-top: -25px;
    }

    .stats-grid,
    .product-grid,
    .business-grid,
    .capability-grid,
    .process-grid,
    .why-grid,
    .people-grid,
    .quality-grid {
        grid-template-columns: 1fr;
    }

    .stat {
        border-right: 0 !important;
        border-bottom: 1px solid var(--border);
    }

    .stat:last-child {
        border-bottom: 0;
    }

    .section {
        padding: 65px 0;
    }

    .clean-list {
        columns: 1;
    }

    .spec-grid,
    .industry-list {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 190px;
    }

    .gallery-main {
        grid-row: span 1;
    }

    .career-box {
        padding: 31px;
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-box {
        padding: 31px;
    }

    .brand-copy strong {
        font-size: 15px;
    }

    .brand-copy small {
        font-size: 8px;
    }

    .consulting-grid {
        grid-template-columns: 1fr;
    }

    /* Thermal mobile adjustment */
    .thermal-section {
        min-height: 190px;
        border-radius: 12px;
    }

    .thermal-overlay {
        min-height: 190px;
        padding: 35px 18px;
    }

    .thermal-overlay h2 {
        font-size: 28px;
    }

    .thermal-overlay p {
        font-size: 13px;
    }

    .thermal-heading {
        padding: 35px 18px;
        font-size: 28px;
        border-radius: 10px;
    }
}
