:root {
    --navy: #0d1b2a;
    --navy-soft: rgba(13, 27, 42, 0.9);
    --navy-text: #14273d;
    --blue-accent: #2552bb;
    --red: #c1121f;
    --red-dark: #9e0f19;
    --dev-grey: #4a5666;
    --text-light: #f5f7fa;
    --gray-text: #4a5666;
    --header-h: 78px;
    --container: 1360px;
    --radius-pill: 30px;
    --font-family: 'Manrope', sans-serif;
}


/* ============================================================
   SHARED MOTION & MICRO-INTERACTIONS
   ============================================================ */
html {
    scroll-behavior: smooth;
}

.motion-ready .motion-hero,
.motion-ready .motion-reveal {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
}

.motion-ready .motion-hero.motion-scale {
    transform: translate3d(0, 16px, 0) scale(1.025);
}

.motion-ready .motion-hero.is-visible,
.motion-ready .motion-reveal.is-visible {
    animation: aerovolt-reveal .68s cubic-bezier(.22, 1, .36, 1) both;
    animation-delay: var(--motion-delay, 0ms);
}

.motion-ready .motion-hero.motion-scale.is-visible {
    animation-name: aerovolt-reveal-scale;
}

.motion-delay-1 { --motion-delay: 70ms; }
.motion-delay-2 { --motion-delay: 140ms; }
.motion-delay-3 { --motion-delay: 210ms; }
.motion-delay-4 { --motion-delay: 280ms; }
.motion-delay-5 { --motion-delay: 350ms; }

@keyframes aerovolt-reveal {
    from { opacity: 0; transform: translate3d(0, 28px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes aerovolt-reveal-scale {
    from { opacity: 0; transform: translate3d(0, 16px, 0) scale(1.025); }
    to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

.motion-ready .motion-bar {
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1s cubic-bezier(.22, 1, .36, 1);
}

.motion-ready .motion-bar.is-visible {
    transform: scaleX(1);
}

.main-nav a:not(.nav-dropdown-option)::after {
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}

.main-nav a:not(.nav-dropdown-option):hover::after,
.main-nav a.active:not(.nav-dropdown-option)::after {
    transform: scaleX(1);
    transform-origin: left center;
}

.menu-toggle span {
    transform-origin: center;
    transition: transform .25s ease, opacity .2s ease, background .2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.footer-newsletter-form {
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.footer-newsletter-form:focus-within {
    border-color: rgba(37, 82, 187, .55);
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 0 0 4px rgba(37, 82, 187, .1);
}

:where(a, button, input, select, textarea):focus-visible {
    outline: 3px solid rgba(37, 82, 187, .3);
    outline-offset: 3px;
}

:where(.cta-btn, .service-btn, .pilot-btn, .quote-submit-btn):active {
    transform: translateY(0) scale(.98);
}

:where(.cta-btn, .service-btn, .pilot-btn, .quote-submit-btn):hover .btn-arrow {
    transform: translate(2px, -2px);
}

@media (hover: hover) and (pointer: fine) {
    :where(.mep-panel, .mep-mech-item, .mep-elec-item, .mep-final-card, .mep-flow-item) {
        transition: transform .3s cubic-bezier(.22, 1, .36, 1),
                    box-shadow .3s ease, border-color .3s ease;
    }

    :where(.mep-mech-item, .mep-elec-item, .mep-final-card):hover {
        transform: translateY(-4px);
    }

    :where(.mep-flow-frame) {
        transition: transform .3s ease, box-shadow .3s ease;
    }

    .mep-flow-item:hover .mep-flow-frame {
        transform: translateY(-4px);
        box-shadow:
            0 18px 32px rgba(0, 0, 0, .36),
            0 0 0 1px rgba(255, 255, 255, .28);
    }

    :where(.mep-icon, .mep-final-icon) {
        transition: transform .3s cubic-bezier(.22, 1, .36, 1);
    }

    :where(.mep-mech-item, .mep-elec-item, .mep-final-card):hover
    :where(.mep-icon, .mep-final-icon) {
        transform: translateY(-2px) scale(1.05);
    }

    :where(.mep-cta-img) {
        transition: transform .65s cubic-bezier(.22, 1, .36, 1);
    }

    .mep-cta:hover .mep-cta-img {
        transform: scale(1.025);
    }
}

@media (max-width: 600px) {
    .motion-ready .motion-hero,
    .motion-ready .motion-reveal {
        transform: translate3d(0, 18px, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        transition-delay: 0ms !important;
    }

    .motion-hero,
    .motion-reveal,
    .motion-bar {
        opacity: 1 !important;
        transform: none !important;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--navy);
    line-height: 1.5;
    background: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
}

button {
    font: inherit;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background .35s ease, box-shadow .35s ease;
}

.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 32px;
    gap: 24px;
}

.logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.logo img {
    width: auto;
    height: 48px;
}

.main-nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    position: relative;
    padding-bottom: 12px;
    color: var(--navy-text);
    font-size: 15px;
    font-weight: 500;
    transition: color .25s ease;
}

.main-nav a.active {
    color: var(--navy-text);
    font-weight: 700;
}

.main-nav a.active:not(.nav-dropdown-option)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--red);
}

.main-nav a:hover {
    color: var(--red);
}

.mobile-cta-item {
    display: none;
}

.cta-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: var(--radius-pill);
    background: var(--navy);
    color: var(--text-light);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: background .25s ease, transform .2s ease;
}

.cta-btn:hover {
    background: #16283c;
    transform: translateY(-1px);
}

.btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    transition: transform .2s ease;
}

.btn-arrow svg {
    width: 100%;
    height: 100%;
    display: block;
}

.cta-btn:hover .btn-arrow {
    transform: translate(2px, -2px);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 4px 18px rgba(13, 27, 42, .1);
}

.site-header.scrolled .cta-btn {
    background: var(--red);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    border: 0;
    background: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--navy-text);
}

/* ============================================================
   SERVICES NAV DROPDOWN
   ============================================================ */
.nav-item--dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-toggle {
    all: unset;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: var(--navy-text);
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    padding: 12px 14px;
    border-radius: var(--radius-pill);
    transition: color .25s ease, background .25s ease;
}
.nav-dropdown-toggle:hover {
    color: var(--red);
}

.nav-item--dropdown.open .nav-dropdown-toggle {
    color: var(--navy-text);
    background: rgba(13, 27, 42, 0.06);
}

.nav-caret {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    transition: transform .25s ease;
}
.nav-item--dropdown.open .nav-caret {
    transform: rotate(180deg);
}

.nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    min-width: 600px;
    padding: 30px 34px 26px;
    border-radius: 18px;
    background: linear-gradient(180deg, #e7e9ed 0%, #dde0e6 100%);
    border: 1px solid rgba(13, 27, 42, 0.14);
    box-shadow:
        0 24px 55px rgba(13, 27, 42, 0.22),
        0 2px 10px rgba(13, 27, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    align-items: start;
    column-gap: 36px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -8px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
    z-index: 1100;
    overflow: hidden;
}

.nav-item--dropdown.open .nav-dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.nav-dropdown-col {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
}

.nav-dropdown-heading {
    position: relative;
    color: var(--navy-text);
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: .6px;
    text-transform: uppercase;
    margin: 0 0 18px;
    white-space: nowrap;
}

.nav-dropdown-divider {
    align-self: stretch;
    background: linear-gradient(180deg, transparent, rgba(13, 27, 42, 0.22) 15%, rgba(13, 27, 42, 0.22) 85%, transparent);
}

.nav-dropdown-option {
    position: relative;
    display: block;
    padding: 11px 16px 11px 20px;
    border-radius: 9px;
    color: var(--navy-text);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease, transform .2s ease, font-weight .2s ease;
}

.nav-dropdown-option::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    width: 3px;
    height: 0%;
    border-radius: 3px;
    background: var(--red);
    transform: translateY(-50%);
    transition: height .2s ease;
}

/* Hover AND active — RED text + white box + red left bar */
.nav-dropdown-option:hover,
.nav-dropdown-option:focus,
.nav-dropdown-option:focus-visible,
.nav-dropdown-option.active,
.nav-dropdown-option.active:hover {
    background: rgba(255, 255, 255, 0.65);
    color: var(--red);
    font-weight: 700;
    transform: translateX(2px);
}

.nav-dropdown-option:hover::before,
.nav-dropdown-option:focus-visible::before,
.nav-dropdown-option.active::before,
.nav-dropdown-option.active:hover::before {
    height: 60%;
    background: var(--red);
}

.nav-dropdown-option::after,
.nav-dropdown-option.active::after,
.nav-dropdown-option:hover::after {
    content: none !important;
    display: none !important;
}

.nav-dropdown-option,
.nav-dropdown-option.active,
.nav-dropdown-option:hover {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

@media (max-width: 992px) {
    .nav-item--dropdown {
        display: block;
        width: 100%;
    }
    .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 12px 0;
        color: var(--text-light);
        border-radius: 0;
    }
    .nav-item--dropdown.open .nav-dropdown-toggle {
        background: none;
        color: var(--text-light);
    }
    .nav-dropdown-panel {
        position: static;
        transform: none;
        min-width: 0;
        margin: 4px 0 8px;
        opacity: 1;
        visibility: visible;
        pointer-events: none;
        max-height: 0;
        overflow: hidden;
        padding: 0 10px;
        display: flex;
        flex-direction: column;
        gap: 18px;
        transition: max-height .25s ease, padding .25s ease;
    }
    .nav-item--dropdown.open .nav-dropdown-panel {
        pointer-events: auto;
        max-height: 520px;
        padding: 12px 10px;
    }
    .nav-dropdown-divider {
        width: 100%;
        height: 1px;
    }
    .nav-dropdown-option {
        color: var(--navy-text);
        white-space: normal;
    }
}

@media (max-width: 1100px) {
    .main-nav ul {
        gap: 18px;
    }
}

@media (max-width: 992px) {
    .main-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        max-height: 0;
        overflow: hidden;
        background: var(--navy);
        transition: max-height .3s ease;
    }

    .main-nav.open {
        max-height: 420px;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 10px 32px 20px;
    }

    .main-nav a {
        display: block;
        width: 100%;
        padding: 12px 0;
        color: var(--text-light);
    }

    .main-nav a.active::after {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }
}

@media (max-width: 600px) {
    :root {
        --header-h: 68px;
    }

    .header-inner {
        padding: 12px 18px;
    }

    .logo img {
        height: 40px;
    }

    .cta-btn {
        padding: 10px 16px;
        font-size: 12px;
    }
}

@media (max-width: 420px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr;
    }

    .header-inner {
        gap: 12px;
        padding: 10px 14px;
    }

    .logo img {
        height: 36px;
    }

    .cta-btn {
        padding: 8px 12px;
    }
}

/* ============================================================
   HERO — Complete MEP Design
   ============================================================ */
.mep-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 68vh;
    background-image: url('images/CompleteMEP bg.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.mep-hero-content {
    position: relative;
    z-index: 1;
    max-width: 620px;
    width: 100%;
    padding: calc(var(--header-h) + 40px) 32px 40px;
    margin: 0 auto 0 0;
}

.mep-hero-title {
    margin-bottom: 16px;
    color: var(--navy-text);
    font-size: clamp(32px, 4.4vw, 50px);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.12;
}

.mep-hero-desc {
    max-width: 480px;
    margin-bottom: 30px;
    color: var(--gray-text);
    font-size: 15.5px;
    line-height: 1.7;
    font-weight: 500;
}

.mep-hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.mep-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: var(--radius-pill);
    font-size: 14.5px;
    font-weight: 700;
    white-space: nowrap;
    transition: background .25s ease, color .25s ease, transform .2s ease, border-color .25s ease;
}

.mep-btn--dark {
    background: var(--red);
    color: #fff;
}
.mep-btn--dark:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
}

.mep-btn--outline {
    background: rgba(255, 255, 255, .75);
    color: var(--navy-text);
    border: 1.5px solid rgba(13, 27, 42, .25);
}
.mep-btn--outline:hover {
    background: #fff;
    border-color: var(--navy);
    transform: translateY(-1px);
}

.mep-btn-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: var(--navy-text);
}
.mep-btn-play svg {
    width: 100%;
    height: 100%;
}

.mep-hero-img {
    display: none;
}

@media (max-width: 992px) {
    .mep-hero {
        display: grid;
        min-height: 0;
        background-image: none;
    }

    .mep-hero-content,
    .mep-hero-img {
        grid-area: 1 / 1;
        align-self: start;
    }

    .mep-hero-content {
        position: relative;
        z-index: 2;
        max-width: none;
        width: 100%;
        margin: 0;
        padding: calc(var(--header-h) + 24px) 20px 28px;
    }

    .mep-hero-title {
        color: #000;
    }

    .mep-hero-desc {
        max-width: none;
        color: #000;
        font-weight: 600;
    }

    .mep-hero-img {
        display: block;
        width: 100%;
        height: auto;
        position: relative;
        z-index: 1;
    }
}

@media (max-width: 600px) {
    .mep-hero-content {
        padding: calc(var(--header-h) + 20px) 18px 22px;
    }
    .mep-hero-title {
        font-size: clamp(24px, 7vw, 32px);
    }
    .mep-hero-desc {
        font-size: 13.5px;
    }
    .mep-hero-actions {
        gap: 10px;
    }
    .mep-btn {
        padding: 12px 20px;
        font-size: 13px;
    }
}

/* ============================================================
   WHAT WE DELIVER
   ============================================================ */
.mep-deliver {
    padding: 72px 32px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f8fd 100%);
}

.mep-deliver-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 28px;
    align-items: center;
}

.mep-deliver-intro {
    max-width: 400px;
}

.mep-deliver-eyebrow {
    margin-bottom: 14px;
    color: var(--red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.mep-deliver-title {
    margin-bottom: 18px;
    color: var(--navy-text);
    font-size: clamp(22px, 2.05vw, 28px);
    font-weight: 800;
    letter-spacing: -.5px;
    line-height: 1.25;
}

.mep-deliver-line {
    display: block;
    white-space: nowrap;
}

.mep-deliver-text {
    color: var(--gray-text);
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.75;
}

.mep-panel {
    position: relative;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    padding: 22px 20px 20px;
    border: 1px solid rgba(37, 82, 187, .12);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(232, 241, 251, .75) 0%, rgba(240, 246, 253, .6) 100%);
    box-shadow: 0 10px 30px rgba(37, 82, 187, .06);
}

.mep-panel-head {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding: 0 4px;
}

.mep-panel-dash {
    flex: 0 0 auto;
    width: 22px;
    height: 3px;
    border-radius: 3px;
}
.mep-panel-dash--red   { background: var(--red); }
.mep-panel-dash--amber { background: #f5b400; }

.mep-panel-title {
    color: var(--navy-text);
    font-size: 14.5px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.mep-panel-num {
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(37, 82, 187, .1);
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.mep-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e3eefa;
}
.mep-icon svg { display: block; }

.mep-icon--lg { width: 56px; height: 56px; }
.mep-icon--lg svg { width: 34px; height: 34px; }

.mep-icon--sm { width: 40px; height: 40px; }
.mep-icon--sm svg { width: 22px; height: 22px; }

.mep-icon--blue  { color: #2a6fdb; }
.mep-icon--teal  { color: #17a6c0; background: #dff3f8; }
.mep-icon--fire  { color: #e5303c; background: #e3eefa; }
.mep-icon--amber { color: #f0a800; background: #eef3fa; }
.mep-icon--navy  { color: var(--navy-text); background: #e6edf7; }

.mep-item-title {
    color: var(--navy-text);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
}
.mep-item-title--sm { font-size: 12.5px; }

.mep-item-desc {
    margin-top: 8px;
    color: var(--gray-text);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.6;
}
.mep-item-desc--sm {
    margin-top: 6px;
    font-size: 11.5px;
}

.mep-mech-grid {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0 -8px;
}

.mep-mech-item {
    display: flex;
    flex-direction: column;
    padding: 16px 6px 18px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .6);
    min-height: 200px;
}
.mep-mech-item .mep-icon { margin-bottom: 22px; }

.mep-mech-item .mep-item-title { font-size: 13.5px; }
.mep-mech-item .mep-item-desc {
    margin-top: 8px;
    font-size: 10.5px;
    line-height: 1.6;
}

.mep-elec-grid {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.mep-elec-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .78);
}
.mep-elec-body { min-width: 0; padding-top: 4px; }

@media (max-width: 1100px) {
    .mep-deliver-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .mep-deliver-intro {
        grid-column: 1 / -1;
        max-width: 640px;
    }
    .mep-deliver-title { font-size: 28px; }
}

@media (max-width: 768px) {
    .mep-deliver { padding: 48px 20px; }
    .mep-deliver-inner { grid-template-columns: 1fr; }
    .mep-mech-item { min-height: 0; }
}

@media (max-width: 480px) {
    .mep-deliver-title { font-size: 6vw; }
    .mep-mech-grid,
    .mep-elec-grid { grid-template-columns: 1fr; }
    .mep-mech-item .mep-icon { margin-bottom: 14px; }
}

/* ============================================================
   MEP DRAWING PACKAGE
   ============================================================ */
.mep-flow {
    position: relative;
    padding: 64px 32px 60px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(ellipse 60% 70% at 75% 25%, rgba(37, 82, 187, .28), transparent 70%),
        radial-gradient(ellipse 45% 60% at 8% 90%, rgba(37, 82, 187, .16), transparent 70%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .02) 0 1px, transparent 1px 64px),
        linear-gradient(135deg, #0b2250 0%, #071a3d 55%, #051430 100%);
}

.mep-flow-inner {
    position: relative;
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 2.2fr);
    gap: 64px;
    align-items: center;
}

.mep-flow-intro {
    max-width: 360px;
}

.mep-flow-eyebrow {
    margin-bottom: 14px;
    color: #ff3b47;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.mep-flow-title-main {
    margin-bottom: 18px;
    color: #fff;
    font-size: clamp(22px, 2.05vw, 28px);
    font-weight: 800;
    letter-spacing: -.4px;
    line-height: 1.25;
}

.mep-flow-line {
    display: block;
    white-space: nowrap;
}

.mep-flow-text {
    color: rgba(226, 234, 247, .88);
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.75;
}

.mep-flow-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.mep-flow-item {
    min-width: 0;
}

.mep-flow-media {
    position: relative;
    margin-bottom: 18px;
}

.mep-flow-item:not(:last-child) .mep-flow-media::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -19px;
    width: 14px;
    height: 14px;
    transform: translateY(-50%);
    background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6' stroke='%235aa9e6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.mep-flow-frame {
    overflow: hidden;
    aspect-ratio: 169 / 155;
    border-radius: 10px;
    background: #fff;
    box-shadow:
        0 14px 26px rgba(0, 0, 0, .3),
        0 0 0 1px rgba(255, 255, 255, .18);
    transition: transform .3s ease, box-shadow .3s ease;
}

.mep-flow-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mep-flow-item:hover .mep-flow-frame {
    transform: translateY(-4px);
    box-shadow:
        0 18px 32px rgba(0, 0, 0, .36),
        0 0 0 1px rgba(255, 255, 255, .28);
}

.mep-flow-title {
    color: #fff;
    font-size: 14.5px;
    font-weight: 800;
    line-height: 1.3;
}

.mep-flow-desc {
    margin-top: 8px;
    max-width: 170px;
    color: rgba(200, 214, 236, .85);
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.6;
}

@media (max-width: 1100px) {
    .mep-flow-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .mep-flow-intro { max-width: 640px; }
    .mep-flow-title-main { font-size: 28px; }
}

@media (max-width: 768px) {
    .mep-flow { padding: 48px 20px; }
    .mep-flow-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 20px;
    }
    .mep-flow-item:not(:last-child) .mep-flow-media::after { display: none; }
}

@media (max-width: 480px) {
    .mep-flow-title-main { font-size: 6vw; }
}

@media (max-width: 380px) {
    .mep-flow-list { grid-template-columns: 1fr; }
}

/* ============================================================
   OUR DELIVERABLES — What You Get
   ============================================================ */
.mep-final-section {
    padding: 56px 32px 64px;
    background: #fff;
}

.mep-final-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 36px;
}

.mep-final-intro {
    flex: 0 0 260px;
}

.mep-final-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: var(--red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.mep-final-heading {
    margin-bottom: 10px;
    color: var(--navy-text);
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 800;
    letter-spacing: -.6px;
    line-height: 1.2;
}

.mep-final-desc {
    color: var(--gray-text);
    font-size: 13px;
    line-height: 1.6;
    font-weight: 500;
}

.mep-final-grid {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    min-width: 0;
}

.mep-final-card {
    padding: 18px 14px 16px;
    border-radius: 14px;
    background: #f7f9fc;
    border: 1px solid rgba(13, 27, 42, .06);
    box-shadow: 0 8px 20px rgba(13, 27, 42, .05);
}

.mep-final-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 14px;
    border-radius: 50%;
}
.mep-final-icon svg { display: block; width: 30px; height: 30px; }

.mep-final-title {
    margin-bottom: 6px;
    color: var(--navy-text);
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1.3;
}

.mep-final-text {
    color: var(--gray-text);
    font-size: 11px;
    line-height: 1.55;
    font-weight: 500;
}

@media (max-width: 1100px) {
    .mep-final-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
    }
    .mep-final-intro { flex: 0 0 auto; }
    .mep-final-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
    .mep-final-section { padding: 44px 20px 48px; }
    .mep-final-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 380px) {
    .mep-final-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.mep-cta {
    position: relative;
    min-height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.mep-cta-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.mep-cta-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.mep-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(8, 16, 32, 0.94) 0%,
        rgba(8, 16, 32, 0.8) 42%,
        rgba(8, 16, 32, 0.3) 70%,
        rgba(8, 16, 32, 0.05) 100%
    );
}

.mep-cta-content {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    width: 100%;
    margin: 0 auto;
    padding: 26px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.mep-cta-text {
    min-width: 0;
    max-width: 620px;
}

.mep-cta-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #ff4b55;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.mep-cta-heading {
    margin-bottom: 8px;
    color: #fff;
    font-size: clamp(20px, 2.6vw, 28px);
    font-weight: 800;
    letter-spacing: -.5px;
    line-height: 1.3;
}

.mep-cta-desc {
    color: rgba(226, 234, 247, .78);
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.6;
}

.mep-cta-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
}

.mep-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    background: var(--red);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: background .25s ease, transform .2s ease;
}
.mep-cta-btn:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
}
.mep-cta-btn .btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    transition: transform .2s ease;
}
.mep-cta-btn .btn-arrow svg { width: 100%; height: 100%; display: block; }
.mep-cta-btn:hover .btn-arrow { transform: translate(2px, -2px); }

.mep-cta-mail {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    transition: color .2s ease;
}
.mep-cta-mail:hover { color: var(--red); }
.mep-cta-mail-icon {
    display: flex;
    width: 19px;
    height: 19px;
    flex-shrink: 0;
}
.mep-cta-mail-icon svg { width: 100%; height: 100%; }

@media (max-width: 700px) {
    .mep-cta-content {
        padding: 22px 20px;
        justify-content: flex-start;
    }
    .mep-cta-actions { gap: 16px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    position: relative;
    padding: 60px 32px 0;
    overflow: hidden;
    background: #f5f7fa url('images/Footer.png') center / cover no-repeat;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(255, 255, 255, .75);
}

.site-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    height: 3px;
    background: linear-gradient(90deg, rgba(193, 18, 31, .6), rgba(193, 18, 31, .9) 15%, rgba(37, 82, 187, .7) 40%, rgba(255, 255, 255, .5) 60%, rgba(37, 82, 187, .7) 80%, rgba(193, 18, 31, .9));
    box-shadow: 0 0 20px rgba(193, 18, 31, .25), 0 0 40px rgba(37, 82, 187, .15);
}

.footer-container {
    position: relative;
    z-index: 1;
    max-width: var(--container);
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr 1.2fr;
    gap: 32px;
    padding-bottom: 44px;
    color: var(--navy);
}

.footer-logo img {
    height: 56px;
    margin-bottom: 16px;
}

.footer-brand-desc,
.footer-newsletter-text {
    max-width: 280px;
    color: var(--navy);
    font-size: 13.5px;
    line-height: 1.7;
}

.footer-brand-desc {
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(13, 27, 42, .08);
    color: var(--navy);
    transition: background .2s ease, color .2s ease;
}

.footer-socials a svg {
    width: 16px;
    height: 16px;
}

.footer-socials a:hover {
    background: var(--red);
    color: #fff;
}

.footer-col-title {
    margin-bottom: 18px;
    color: var(--navy);
    font-size: 15px;
    font-weight: 800;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-col ul a {
    position: relative;
    display: inline-block;
    padding-left: 18px;
    color: var(--navy);
    font-size: 13.5px;
    transition: color .2s ease;
}

.footer-col ul a::before {
    content: ">";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--red);
    font-size: 13px;
    font-weight: 800;
    transition: transform .2s ease;
}

.footer-col ul a:hover {
    color: var(--red);
}

.footer-col ul a:hover::before {
    transform: translateX(2px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--navy);
    font-size: 13.5px;
    line-height: 1.6;
}

.footer-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    color: var(--red);
}

.footer-icon svg {
    width: 100%;
    height: 100%;
}

.footer-newsletter-text {
    margin-bottom: 16px;
}

.footer-newsletter-form {
    display: flex;
    align-items: center;
    padding: 4px 4px 4px 16px;
    border: 1px solid rgba(13, 27, 42, .15);
    border-radius: var(--radius-pill);
    background: rgba(13, 27, 42, .07);
}

.footer-newsletter-form input {
    flex: 1 1 auto;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    color: var(--navy);
    font-size: 13px;
}

.footer-newsletter-form input::placeholder {
    color: var(--gray-text);
}

.footer-newsletter-form button {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    cursor: pointer;
}

.footer-newsletter-form button svg {
    width: 16px;
    height: 16px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 0;
    border-top: 1px solid rgba(13, 27, 42, .08);
    color: var(--navy);
    font-size: 12.5px;
}

@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        row-gap: 36px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .site-footer {
        padding: 44px 20px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================================
   RESPONSIVE FIXES
   ============================================================ */
.footer-col {
    min-width: 0;
    overflow-wrap: anywhere;
}
.footer-logo img { object-fit: contain; object-position: left center; }
.cta-email { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.btn-arrow, .cta-email-icon { flex-shrink: 0; }

@media (max-width: 992px) {
    .header-inner { gap: 10px; }
    .logo { flex-shrink: 1; min-width: 0; }
    .logo img { object-fit: contain; object-position: left center; }
    .header-inner > .cta-btn {
        display: none;
    }
    .menu-toggle {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
    }
    .main-nav {
        position: absolute;
        top: 100%;
        visibility: hidden;
        transition: max-height .3s ease, visibility .3s ease;
    }
    .main-nav.open {
        max-height: calc(100vh - var(--nav-height, var(--header-h)));
        max-height: calc(100dvh - var(--nav-height, var(--header-h)));
        overflow-y: auto;
        overscroll-behavior: contain;
        visibility: visible;
    }
    .main-nav > ul { width: 100%; }
    .main-nav > ul > li { width: 100%; }
    .main-nav a.active:not(.nav-dropdown-option) { color: var(--text-light); }
    .main-nav .nav-dropdown-panel {
        visibility: hidden;
        margin: 0;
        border-width: 0;
    }
    .main-nav .nav-item--dropdown.open .nav-dropdown-panel {
        max-height: none;
        margin: 4px 0 8px;
        border-width: 1px;
        visibility: visible;
        transform: none;
    }
    .main-nav .nav-dropdown-option {
        padding: 12px 16px;
        color: var(--navy-text);
    }
    .main-nav .nav-dropdown-option:hover { color: var(--red); }
    .main-nav .nav-dropdown-option.active,
    .main-nav .nav-dropdown-option.active:hover {
        color: var(--red);
    }

    .mobile-cta-item {
        display: block;
        width: 100%;
        margin-top: 10px;
    }

    .main-nav .mobile-nav-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: auto;
        padding: 13px 26px;
        border-radius: var(--radius-pill);
        background: var(--red);
        color: #fff;
        font-weight: 700;
        transition: background .25s ease;
    }

    .main-nav .mobile-nav-cta:hover {
        background: var(--red-dark);
        color: #fff;
    }
}

@media (max-width: 800px) and (min-width: 601px) {
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
    .main-nav > ul { padding-left: 20px; padding-right: 20px; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-col:has(.footer-contact),
    .footer-col:has(.footer-newsletter-form) { grid-column: 1 / -1; }
    .cta-btn, .service-btn, .pilot-btn, .quote-submit-btn {
        max-width: 100%;
        white-space: normal;
    }
    .header-inner > .cta-btn { white-space: nowrap; }
}

/* ============================================================
   FORCE — service dropdown options: RED text + white box
   ============================================================ */
.nav-dropdown-option:hover,
.nav-dropdown-option:focus,
.nav-dropdown-option:focus-visible,
.nav-dropdown-option.active,
.nav-dropdown-option.active:hover,
.main-nav .nav-dropdown-option:hover,
.main-nav .nav-dropdown-option:focus,
.main-nav .nav-dropdown-option:focus-visible,
.main-nav .nav-dropdown-option.active,
.main-nav .nav-dropdown-option.active:hover {
    color: var(--red) !important;
    background: rgba(255, 255, 255, 0.65) !important;
    font-weight: 700 !important;
}

.nav-dropdown-option:hover::before,
.nav-dropdown-option:focus-visible::before,
.nav-dropdown-option.active::before,
.nav-dropdown-option.active:hover::before,
.main-nav .nav-dropdown-option:hover::before,
.main-nav .nav-dropdown-option.active::before {
    height: 60% !important;
    background: var(--red) !important;
}

/* Menu toggle — bars red on hover & when open */
.menu-toggle:hover span {
    background: var(--red);
}
.menu-toggle[aria-expanded="true"] span {
    background: var(--red);
}