/* ===================================================
   BASE & RESET
=================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --green:        #2D7A52;   /* forest/postal green */
    --green-hover:  #245f40;
    --navy:         #1A3360;   /* darker blue */
    --grey:         #64748B;   /* silver/grey */
    --dark:         #1e2533;
    --mid:          #4b5563;
    --light:        #9ca3af;
    --border:       #e5e7eb;
    --bg-off:       #f7f9fb;
    --bg-sector:    #eef3f6;
    --white:        #fff;
    --radius:       8px;
    --nav-h:        76px;
    --proof-h:      44px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; object-fit: cover; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
}

.section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 10px;
    display: block;
}

/* ===================================================
   BUTTONS
=================================================== */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
    font-family: inherit;
}
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-hover); transform: translateY(-1px); }
.btn-block { display: block; width: 100%; text-align: center; margin-top: 8px; }

/* ===================================================
   CIRCLE NAV BUTTONS
=================================================== */
.nav-circle {
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.55);
    background: transparent;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background 0.2s, border-color 0.2s;
}
.nav-circle:hover { background: rgba(255,255,255,0.18); border-color: #fff; }
.nav-circle.dark { border-color: var(--border); color: var(--dark); }
.nav-circle.dark:hover { border-color: var(--green); color: var(--green); }

.nav-sm {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: transparent;
    color: var(--dark);
    font-size: 15px;
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    transition: border-color 0.2s, color 0.2s;
}
.nav-sm:hover { border-color: var(--green); color: var(--green); }


/* ===================================================
   NAVBAR  —  3-column centered layout
=================================================== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    background: #fff;
    border-bottom: 1px solid rgba(229,231,235,0.85);
    box-shadow: 0 1px 14px rgba(15,32,64,0.05);
    z-index: 900;
    transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 8px 26px rgba(15,32,64,0.1); }

.nav-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 100%;
    gap: 24px;
}

/* Logo */
.nav-logo {
    display: inline-flex;
    align-items: center;
    width: 156px;
    height: 66px;
}
.nav-logo img {
    width: 100%;
    height: 100%;
    max-height: 66px;
    object-fit: contain;
    object-position: left center;
}

/* Center links */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-links > li > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    font-size: 15px;
    font-weight: 500;
    color: var(--dark);
    border-radius: var(--radius);
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}
.nav-links > li > a:hover { color: var(--green); background: var(--bg-off); }
.drop-caret { font-size: 9px; opacity: 0.6; transition: transform 0.2s; }

/* Dropdown */
.has-drop { position: relative; }
.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 16px 36px rgba(15,32,64,0.12);
    min-width: 220px;
    padding: 8px 0;
    list-style: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s, transform 0.18s;
    transform-origin: top center;
    z-index: 200;
}
/* bridge the gap so hover doesn't break when moving cursor to dropdown */
.dropdown::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}
/* hover only on devices that support it — keeps touch/mobile clean */
@media (hover: hover) {
    .has-drop:hover .drop-caret { transform: rotate(180deg); }
    .has-drop:hover .dropdown {
        opacity: 1;
        pointer-events: all;
        transform: translateX(-50%) translateY(0);
    }
}
.dropdown li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--mid);
    transition: background 0.15s, color 0.15s;
    border-radius: 0;
}
.dropdown li a:hover { background: var(--bg-off); color: var(--green); }
.dropdown li:first-child a { border-radius: 6px 6px 0 0; }
.dropdown li:last-child  a { border-radius: 0 0 6px 6px; }

/* Right CTA */
.nav-cta { display: flex; justify-content: flex-end; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================================================
   HERO
=================================================== */
.hero {
    margin-top: calc(var(--nav-h) + var(--proof-h));
    position: relative;
    height: min(720px, calc(100vh - var(--nav-h) - var(--proof-h)));
    min-height: 560px;
    overflow: hidden;
}
.hero-slides { position: relative; width: 100%; height: 100%; }
.hero-slide {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.9s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(to right, rgba(15,32,64,0.9) 0%, rgba(15,32,64,0.54) 52%, rgba(15,32,64,0.08) 100%),
        linear-gradient(to top, rgba(15,32,64,0.58), transparent 38%);
}
.hero-content {
    position: absolute;
    bottom: 14%;
    left: 9%;
    max-width: 560px;
    color: #fff;
    z-index: 1;
}
.hero-tag {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #6ee7b7;
    margin-bottom: 14px;
    display: block;
}
.site-proof {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    z-index: 890;
    max-width: none;
    min-height: var(--proof-h);
    padding: 10px 24px;
    border-left: 0;
    border-bottom: 1px solid rgba(255,255,255,0.14);
    background: var(--navy);
    box-shadow: 0 10px 28px rgba(15,32,64,0.16);
    color: #fff;
    font-size: clamp(14px, 1vw, 17px);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0.4px;
    text-align: center;
    text-transform: uppercase;
}
.hero-content h1 {
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 20px;
}
.hero-desc {
    font-size: 17px;
    line-height: 1.65;
    opacity: 0.88;
    margin-bottom: 32px;
}
.hero-nav {
    position: absolute;
    bottom: 38px; right: 56px;
    display: flex; gap: 12px;
    z-index: 2;
}

/* ===================================================
   STATS BAR
=================================================== */
.stats-bar {
    background: #fff;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}
.stats-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}
.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 48px;
    color: var(--dark);
}
.stat strong { font-size: 32px; font-weight: 800; line-height: 1; color: var(--navy); }
.stat span   { font-size: 13px; color: var(--mid); margin-top: 4px; }
.stat-div    { width: 1px; height: 40px; background: var(--border); }

/* ===================================================
   SERVICES SECTION  —  grouped grid layout
=================================================== */
.services-section {
    padding: 88px 0;
    background: var(--bg-off);
}
.svc-intro {
    text-align: left;
    max-width: none;
    margin: 0 0 48px;
}
.svc-intro h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -0.4px;
    margin-bottom: 10px;
}
.svc-intro > p {
    font-size: 15px;
    color: var(--mid);
    line-height: 1.7;
}
.svc-group { margin-bottom: 34px; }
.svc-group:last-child { margin-bottom: 0; }
.svc-group-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(100,116,139,0.2);
}
.svc-group-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.svc-item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 210px 1fr;
    min-height: 390px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.svc-item:hover {
    background: #fff;
    border-color: rgba(45,122,82,0.25);
    box-shadow: 0 20px 44px rgba(15,32,64,0.12);
    transform: translateY(-4px);
}
.svc-item-img {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.92) contrast(1.02);
    transition: transform 0.35s ease, filter 0.35s ease;
}
.svc-item:hover .svc-item-img {
    filter: saturate(1.04) contrast(1.04);
    transform: scale(1.04);
}
.svc-item-body { flex: 1; min-width: 0; }
.svc-item-body {
    position: relative;
    grid-column: 1;
    grid-row: 2;
    padding: 24px 24px 58px;
    border-top: 4px solid var(--green);
}
.svc-item-body span {
    display: block;
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.1px;
    line-height: 1.3;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.svc-item-body h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 10px;
}
.svc-item-body p {
    font-size: 14px;
    color: var(--mid);
    line-height: 1.65;
}
.svc-arrow {
    position: absolute;
    right: 20px;
    bottom: 18px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(45,122,82,0.24);
    border-radius: 50%;
    color: var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.svc-item:hover .svc-arrow { background: var(--green); color: #fff; transform: translateX(3px); }

/* ===================================================
   SECTORS SECTION  —  clean grid layout
=================================================== */
.sectors-section {
    background: #fff;
    padding: 88px 0;
}
.sectors-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 40px;
}
.sectors-header-text h2 {
    font-size: clamp(24px, 2.5vw, 36px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
}
.sectors-header-text p {
    font-size: 15px;
    color: var(--mid);
    line-height: 1.7;
    max-width: 500px;
}
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.sector-card {
    background: var(--bg-off);
    border-radius: var(--radius);
    display: grid;
    grid-template-columns: 144px 1fr;
    align-items: stretch;
    min-height: 156px;
    overflow: hidden;
    border: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.sector-card:hover {
    border-color: rgba(45,122,82,0.3);
    box-shadow: 0 14px 30px rgba(15,32,64,0.08);
    transform: translateY(-2px);
}
.sector-img {
    width: 100%;
    height: 100%;
    min-height: 156px;
    object-fit: cover;
}
.sector-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 22px;
}
.sector-card h3 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.sector-card p  { font-size: 13px; color: var(--mid); line-height: 1.55; }

/* Section intro (centered header above grid) */
.section-intro {
    text-align: center;
    max-width: 580px;
    margin: 0 auto 48px;
}
.section-intro h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -0.4px;
    margin-bottom: 12px;
}
.section-intro p {
    font-size: 15px;
    color: var(--mid);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.cards-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Square card */
.svc-card {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(15,32,64,0.06);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid transparent;
}
.svc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(15,32,64,0.1);
    border-color: rgba(45,122,82,0.15);
}

/* Icon area — top 58% of the square */
.svc-icon {
    flex: 0 0 58%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.svc-icon::after {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size: 16px 16px;
    pointer-events: none;
}
.svc-icon svg {
    width: 36px; height: 36px;
    stroke: currentColor;
    stroke-width: 1.5;
    position: relative; z-index: 1;
    transition: transform 0.25s ease;
}
.svc-card:hover .svc-icon svg { transform: scale(1.12); }

/* Text area — bottom 42% */
.svc-info {
    flex: 1;
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    border-top: 1px solid var(--border);
}
.svc-info h3 {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
}
.svc-info p {
    font-size: 11.5px;
    color: var(--mid);
    line-height: 1.5;
    margin: 0;
}

/* Icon tones */
.ci-mechanical,
.ci-fire,
.ci-hvac,
.ci-asset,
.ci-ppm,
.ci-reactive,
.ci-projects,
.ci-helpdesk {
    background: rgba(45,122,82,0.1);
    color: var(--green);
}

.card-body { padding: 12px 12px 16px; }
.card-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 6px; }
.card-row h3 { font-size: 14px; font-weight: 700; color: var(--dark); line-height: 1.25; }
.card-body p { font-size: 12.5px; color: var(--mid); line-height: 1.55; }

.arrow-circle {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.2s;
}
.arrow-circle:hover { background: var(--green-hover); transform: scale(1.06); }

/* ===================================================
   ABOUT
=================================================== */
.about-section { padding: 100px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.video-box { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; }
.video-placeholder {
    width: 100%; height: 100%;
    min-height: 300px;
    background: linear-gradient(135deg, var(--navy) 0%, #0f2347 60%, #0a1a35 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    padding: 40px;
}
.play-btn {
    width: 68px; height: 68px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 22px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
    padding-left: 4px;
    transition: background 0.2s;
}
.video-placeholder:hover .play-btn { background: rgba(255,255,255,0.22); }
.vp-brand {
    width: 150px;
    height: 100px;
    margin-bottom: 8px;
}
.vp-brand img {
    width: 100%;
    height: 100%;
    max-height: 100px;
    object-fit: contain;
    object-position: left center;
}
.vp-tagline { font-size: 13px; color: rgba(255,255,255,0.5); font-style: italic; margin-top: 4px; }
.vp-bar { position: absolute; bottom: 16px; left: 16px; right: 16px; display: flex; align-items: center; gap: 10px; }
.vp-time { font-size: 12px; color: rgba(255,255,255,0.65); flex-shrink: 0; }
.vp-progress { flex: 1; height: 3px; background: rgba(255,255,255,0.2); border-radius: 2px; }
.vp-fill { width: 35%; height: 100%; background: #6ee7b7; border-radius: 2px; }

.about-text h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 700; line-height: 1.2; margin-bottom: 24px; }
.about-text p   { font-size: 16px; line-height: 1.8; color: var(--mid); margin-bottom: 18px; }
.about-text a   { color: var(--dark); text-decoration: underline; text-underline-offset: 3px; }

/* ===================================================
   ACCREDITATIONS
=================================================== */
.accred-section { padding: 90px 0; background: var(--bg-off); }
.accred-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: center; }
.accred-text h2 { font-size: clamp(24px, 2.5vw, 34px); font-weight: 700; margin-bottom: 16px; }
.accred-text p  { font-size: 15px; line-height: 1.8; color: var(--mid); margin-bottom: 28px; }
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.accred-logo {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 10px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.4;
    display: flex; align-items: center; justify-content: center;
    min-height: 68px;
    letter-spacing: 0.5px;
}

/* ===================================================
   NEWS / INSIGHTS
=================================================== */
.news-section { padding: 92px 0; background: #fff; }
.news-header { text-align: center; margin-bottom: 52px; }
.news-header h2 { font-size: clamp(28px, 3vw, 42px); font-weight: 700; margin-bottom: 10px; }
.news-header p  { font-size: 16px; color: var(--mid); margin-bottom: 24px; }

.news-wrapper { position: relative; overflow: hidden; }
.news-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
    will-change: transform;
}
.news-card { min-width: calc(33.333% - 16px); flex-shrink: 0; border-radius: var(--radius); overflow: hidden; }
.nc-img {
    height: 400px;
    background-size: cover; background-position: center;
    display: flex; flex-direction: column; justify-content: flex-end;
    position: relative;
}
.nc-img::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.18) 50%, transparent 100%);
}
.nc-overlay { position: relative; z-index: 1; padding: 24px; color: #fff; }
.nc-tags { display: flex; gap: 4px; margin-bottom: 10px; }
.nc-tags span { font-size: 12px; font-weight: 500; opacity: 0.8; }
.nc-tags span + span::before { content: ' | '; opacity: 0.5; margin-right: 4px; }
.nc-overlay h3 { font-size: 18px; font-weight: 700; line-height: 1.3; margin-bottom: 16px; }
.nc-meta { display: flex; justify-content: space-between; align-items: center; }
.nc-author { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.nc-avatar {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--green); color: #fff;
    font-size: 11px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.nc-author div { display: flex; flex-direction: column; gap: 1px; }
.nc-author strong { font-size: 13px; }
.nc-author span   { font-size: 12px; opacity: 0.7; }
.nc-read { font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; opacity: 0.85; }
.nc-read:hover { opacity: 1; }
.news-progress-bar { height: 3px; background: #e5e7eb; border-radius: 2px; margin: 28px 0 14px; overflow: hidden; }
.news-progress-fill { height: 100%; width: 33%; background: var(--green); border-radius: 2px; transition: width 0.4s ease; }
.news-nav { display: flex; justify-content: flex-end; gap: 12px; }

/* ===================================================
   CTA BANNER
=================================================== */
.cta-banner {
    margin: 32px 40px 60px;
    border-radius: var(--radius);
    background: var(--navy);
    padding: 90px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-dots {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.055) 1px, transparent 1px);
    background-size: 26px 26px;
    pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; color: #fff; }
.cta-inner h2 { font-size: clamp(28px, 4vw, 50px); font-weight: 800; margin-bottom: 14px; }
.cta-inner p  { font-size: 18px; opacity: 0.8; margin-bottom: 36px; }

/* ===================================================
   FOOTER
=================================================== */
.footer { background: #fff; padding: 64px 0 0; border-top: 1px solid var(--border); }
.footer-top { display: flex; gap: 56px; padding-bottom: 48px; }
.footer-brand { min-width: 180px; }
.footer-logo {
    width: 156px;
    height: 104px;
    margin-bottom: 10px;
}
.footer-logo img {
    width: 100%;
    height: 100%;
    max-height: 104px;
    object-fit: contain;
    object-position: left center;
}
.footer-tagline { font-size: 13px; color: var(--light); }
.footer-links { flex: 1; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-wide {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    column-gap: 20px;
    row-gap: 12px;
}
.footer-col-wide strong { grid-column: 1 / -1; }
.footer-col strong { font-size: 13px; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.footer-col a { font-size: 14px; color: var(--mid); transition: color 0.2s; }
.footer-col a:hover { color: var(--green); }
.footer-col .more-link { color: var(--green); font-weight: 500; }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 12px;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: var(--mid); align-items: center; }
.footer-legal a:hover { color: var(--green); }
.linkedin-icon {
    width: 38px; height: 38px;
    background: var(--navy); color: #fff;
    border-radius: 7px;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 15px;
    transition: background 0.2s; flex-shrink: 0;
}
.linkedin-icon:hover { background: var(--green); }

/* ===================================================
   MODAL
=================================================== */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s;
    backdrop-filter: blur(4px);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
    background: #fff;
    border-radius: var(--radius);
    padding: 52px 48px 48px;
    max-width: 660px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(24px);
    transition: transform 0.3s;
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-close {
    position: absolute; top: 18px; right: 18px;
    width: 34px; height: 34px; border-radius: var(--radius);
    background: var(--bg-off); border: none;
    font-size: 20px; color: var(--mid);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    line-height: 1; transition: background 0.2s;
}
.modal-close:hover { background: var(--border); }
.modal h2 { font-size: 28px; font-weight: 700; margin-bottom: 6px; }
.modal-sub { font-size: 15px; color: var(--mid); margin-bottom: 28px; }
.req { color: var(--green); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 14px; font-weight: 600; color: var(--dark); }
.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px; font-family: inherit;
    color: var(--dark); background: #fff;
    outline: none; transition: border-color 0.2s;
    appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green); }
.form-group textarea { resize: vertical; }
.form-msg { border-radius: var(--radius); padding: 14px 18px; margin-top: 14px; font-size: 15px; text-align: center; }
.form-msg.success { background: #ecfdf5; border: 1px solid #6ee7b7; color: #065f46; }
.form-msg.error   { background: #fff1f2; border: 1px solid #fecdd3; color: #9f1239; }

/* ===================================================
   SERVICE DETAIL PAGE
=================================================== */
.svc-hero {
    margin-top: var(--nav-h);
    height: 52vh;
    min-height: 380px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
}
.svc-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(26,51,96,0.88) 0%, rgba(26,51,96,0.45) 55%, rgba(26,51,96,0.15) 100%);
}
.svc-hero-inner {
    position: relative;
    z-index: 1;
    padding: 0 9% 64px;
    color: #fff;
    width: 100%;
}
.svc-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    margin-bottom: 18px;
    transition: color 0.2s;
}
.svc-back-link:hover { color: #6ee7b7; }
.svc-hero-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #6ee7b7;
    display: block;
    margin-bottom: 10px;
}
.svc-hero-title {
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.12;
    max-width: 640px;
}
.svc-detail { padding: 80px 0; }
.svc-detail-inner {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 64px;
    align-items: start;
}
.svc-description {
    font-size: 18px;
    line-height: 1.85;
    color: var(--mid);
    margin-bottom: 36px;
}
.svc-sidebar {
    background: var(--bg-off);
    border-radius: var(--radius);
    padding: 36px 32px;
    position: sticky;
    top: calc(var(--nav-h) + 24px);
}
.svc-sidebar h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.svc-sidebar p  { font-size: 15px; color: var(--mid); line-height: 1.7; margin-bottom: 24px; }
.other-services { padding: 60px 0 80px; background: var(--bg-off); }
.other-services-header { margin-bottom: 32px; }
.other-services-header h2 { font-size: clamp(20px, 2.5vw, 28px); font-weight: 700; }
.other-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

@media (max-width: 860px) {
    .svc-detail-inner { grid-template-columns: 1fr; gap: 40px; }
    .svc-hero-inner   { padding: 0 5% 48px; }
    .other-grid       { grid-template-columns: repeat(2, 1fr); }
    .svc-sidebar      { position: static; }
}

/* ===================================================
   RESPONSIVE
=================================================== */
@media (max-width: 1100px) {
    .cards-grid       { grid-template-columns: repeat(4, 1fr); }
    .cards-grid--3    { grid-template-columns: repeat(3, 1fr); }
    .about-grid       { grid-template-columns: 1fr; gap: 40px; }
    .accred-grid      { grid-template-columns: 1fr; gap: 40px; }
    .footer-links     { grid-template-columns: repeat(2,1fr); }
    .nav-inner        { grid-template-columns: auto 1fr auto; }
    .nav-links > li > a { padding: 8px 10px; font-size: 14px; }
    .svc-group-grid { grid-template-columns: repeat(2, 1fr); }
    .sectors-grid   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .container { padding: 0 20px; }

    /* Nav collapses */
    .nav-inner { display: flex; justify-content: space-between; }
    .nav-links, .nav-cta { display: none; }
    .nav-links.open {
        display: grid;
        grid-template-columns: 1fr;
        position: fixed;
        top: calc(var(--nav-h) + 14px);
        left: 16px;
        right: 16px;
        width: auto;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 14px;
        padding: 10px;
        gap: 6px;
        box-shadow: 0 24px 60px rgba(15,32,64,0.16);
        z-index: 899;
        max-height: calc(100vh - var(--nav-h) - 28px);
        overflow-y: auto;
    }
    .nav-links.open > li { width: 100%; }
    .nav-links.open > li > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        min-height: 48px;
        padding: 12px 14px;
        border-radius: 10px;
        color: var(--dark);
        font-size: 16px;
        font-weight: 750;
        background: transparent;
    }
    .nav-links.open > li > a:hover,
    .has-drop:has(.dropdown.open) > a {
        background: rgba(45,122,82,0.08);
        color: var(--green);
    }
    .has-drop:has(.dropdown.open) .drop-caret { transform: rotate(180deg); }
    /* reset ALL desktop dropdown positioning on mobile */
    .dropdown {
        position: static !important;
        transform: none !important;
        left: auto !important;
        top: auto !important;
        box-shadow: none;
        background: #f8fafc;
        border: 1px solid rgba(100,116,139,0.16);
        border-radius: 12px;
        padding: 8px;
        margin: 4px 0 8px;
        display: none;
        opacity: 1;
        pointer-events: all;
        min-width: 0;
        width: auto;
    }
    .dropdown::before { display: none; }
    .dropdown.open { display: grid; gap: 4px; }
    .dropdown li a {
        display: block;
        padding: 10px 12px;
        border-radius: 8px;
        color: var(--mid);
        font-size: 14px;
        font-weight: 600;
        line-height: 1.35;
    }
    .dropdown li a:hover {
        background: #fff;
        color: var(--green);
    }
    .dropdown li:first-child a,
    .dropdown li:last-child a { border-radius: 8px; }
    .hamburger { display: flex; }
    .site-proof {
        padding: 9px 16px;
        font-size: 13px;
    }

    /* Card grids — 2 columns on tablet */
    .cards-grid    { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .cards-grid--3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    /* Stats */
    .stats-inner { gap: 0; }
    .stat { padding: 12px 24px; }
    .stat-div { display: none; }

    /* News */
    .news-card { min-width: calc(80% - 12px); }

    /* Footer */
    .footer-top { flex-direction: column; gap: 28px; }
    .footer-links { grid-template-columns: repeat(2,1fr); gap: 20px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-legal { justify-content: center; }

    /* CTA */
    .cta-banner { margin: 24px 16px 48px; padding: 64px 24px; }

    /* Modal */
    .modal { padding: 36px 24px 32px; }
    .form-row { grid-template-columns: 1fr; }

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

    /* Services & Sectors */
    .svc-group-grid { grid-template-columns: 1fr; }
    .sectors-grid   { grid-template-columns: repeat(2, 1fr); }
    .sector-card    { grid-template-columns: 1fr; }
    .sector-img     { aspect-ratio: 16 / 9; min-height: 0; }
    .sectors-header { flex-direction: column; align-items: flex-start; gap: 20px; }
}

@media (max-width: 480px) {
    .hero-content { left: 5%; right: 5%; }
    .hero-content h1 { font-size: 30px; }
    .logo-grid { grid-template-columns: repeat(2,1fr); }
    .news-card { min-width: calc(92% - 12px); }
    .stat strong { font-size: 26px; }
    .sectors-grid { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: 1fr; }
    .footer-col-wide { grid-template-columns: 1fr; }
}
