/* ==========================================================================
   Starter Theme - Main Stylesheet
   ========================================================================== */

/* ==========================================================================
   FONTS
   Inter font family - self-hosted
   ========================================================================== */

@font-face {
    font-display: swap;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    src: url('../../../font/inter/Inter-Regular.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    src: url('../../../font/inter/Inter-Medium.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    src: url('../../../font/inter/Inter-SemiBold.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    src: url('../../../font/inter/Inter-Bold.woff2') format('woff2');
}

/* ==========================================================================
   CSS CUSTOM PROPERTIES
   Design tokens extracted from Figma
   ========================================================================== */

:root {
    /* === BRAND COLORS === */
    /* Greens - primary brand gradient and accents */
    --color-green: #008755;
    --color-green-dark: #057b4f;
    --color-green-accent: #018454;
    --color-green-nav: #028252;

    /* Blues - secondary brand palette */
    --color-blue-dark: #00508b;
    --color-blue-light: #8cb7e5;
    --color-yellow: #f0c220;

    /* Neutrals */
    --color-black: #242424;
    --color-gray-dark: #2d2d2d;
    --color-gray: #3f3f3f;
    --color-gray-light: #f3f3f3;
    --color-gray-border: #d1d1d1;
    --color-white: #ffffff;

    /* Semantic aliases */
    --color-primary: var(--color-green);
    --color-secondary: var(--color-blue-dark);
    --color-accent: var(--color-blue-light);
    --color-bg: var(--color-white);
    --color-bg-alt: var(--color-gray-light);
    --color-text: var(--color-gray);
    --color-text-dark: var(--color-black);
    --color-text-muted: rgba(63, 63, 63, 0.6);
    --color-text-light: rgba(255, 255, 255, 0.9);
    --color-text-light-muted: rgba(255, 255, 255, 0.7);

    /* === SPACING SCALE === */
    --space-xxs: 4px;
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 20px;
    --space-lg: 32px;
    --space-xl: 40px;
    --space-2xl: 60px;
    --space-3xl: 80px;
    --space-4xl: 120px;

    /* Page gutter (horizontal padding) */
    --page-gutter: 80px;

    /* === CONTAINER WIDTHS === */
    --width-sm: 720px;
    --width-md: 960px;
    --width-lg: 1200px;
    --width-xl: 1280px;
    --width-full: 1440px;

    /* === TRANSITIONS === */
    --speed-fast: 0.15s;
    --speed-normal: 0.3s;
    --speed-slow: 0.5s;
    --ease-default: ease-out;

    /* === SCROLL ANIMATIONS === */
    --anim-duration: 0.35s;
    --anim-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --anim-distance: 24px;
    --anim-stagger: 0.12s;

    /* === HEADER HEIGHT === */
    --header-border-height: 20px;
    --header-nav-height: 100px;
    --header-height: calc(var(--header-border-height) + var(--header-nav-height));

    /* === Z-INDEX SCALE === */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-overlay: 300;
    --z-modal: 400;
    --z-toast: 500;

    /* === TYPOGRAPHY === */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Font sizes */
    --text-xs: 14px;
    --text-sm: 16px;
    --text-base: 18px;
    --text-md: 20px;
    --text-lg: 25px;
    --text-xl: 30px;
    --text-2xl: 40px;
    --text-3xl: 50px;

    /* Line heights */
    --leading-tight: 1.2;
    --leading-normal: 1.6;
    --leading-relaxed: 2;

    /* Letter spacing */
    --tracking-tight: -0.66px;
    --tracking-normal: -0.5px;

    /* === BORDER RADIUS === */
    --radius-sm: 8px;
    --radius-pill: 50px;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 400;
    line-height: var(--leading-normal);
    letter-spacing: var(--tracking-normal);
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevent horizontal scroll from any overflow */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
}

p {
    margin: 0 0 1em;
}

ul, ol {
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip:focus {
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-toast);
    padding: 8px 16px;
    background: var(--color-primary);
    color: var(--color-text-light);
    clip: auto;
    width: auto;
    height: auto;
    margin: 0;
    white-space: normal;
}

/* ==========================================================================
   UTILITY CLASSES - Containers
   ========================================================================== */

.wrap          { width: 100%; }
.wrap-sm       { max-width: var(--width-sm); }
.wrap-md       { max-width: var(--width-md); }
.wrap-lg       { max-width: var(--width-lg); }
.wrap-xl       { max-width: var(--width-xl); }
.mx-auto       { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   UTILITY CLASSES - Vertical Padding
   ========================================================================== */

.py-xxs  { padding-top: var(--space-xxs); padding-bottom: var(--space-xxs); }
.py-xs   { padding-top: var(--space-xs); padding-bottom: var(--space-xs); }
.py-sm   { padding-top: var(--space-sm); padding-bottom: var(--space-sm); }
.py-md   { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.py-lg   { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
.py-xl   { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
.py-2xl  { padding-top: var(--space-2xl); padding-bottom: var(--space-2xl); }
.py-3xl  { padding-top: var(--space-3xl); padding-bottom: var(--space-3xl); }

/* Directional */
.pt-xs   { padding-top: var(--space-xs); }
.pt-sm   { padding-top: var(--space-sm); }
.pt-md   { padding-top: var(--space-md); }
.pt-lg   { padding-top: var(--space-lg); }
.pt-xl   { padding-top: var(--space-xl); }
.pt-2xl  { padding-top: var(--space-2xl); }
.pt-3xl  { padding-top: var(--space-3xl); }

.pb-xs   { padding-bottom: var(--space-xs); }
.pb-sm   { padding-bottom: var(--space-sm); }
.pb-md   { padding-bottom: var(--space-md); }
.pb-lg   { padding-bottom: var(--space-lg); }
.pb-xl   { padding-bottom: var(--space-xl); }
.pb-2xl  { padding-bottom: var(--space-2xl); }
.pb-3xl  { padding-bottom: var(--space-3xl); }

/* ==========================================================================
   UTILITY CLASSES - Horizontal Padding
   ========================================================================== */

.px-xs   { padding-left: var(--space-xs); padding-right: var(--space-xs); }
.px-sm   { padding-left: var(--space-sm); padding-right: var(--space-sm); }
.px-md   { padding-left: var(--space-md); padding-right: var(--space-md); }
.px-lg   { padding-left: var(--space-lg); padding-right: var(--space-lg); }
.px-xl   { padding-left: var(--space-xl); padding-right: var(--space-xl); }
.px-2xl  { padding-left: var(--space-2xl); padding-right: var(--space-2xl); }

/* ==========================================================================
   UTILITY CLASSES - Grid
   ========================================================================== */

.grid         { display: grid; gap: var(--space-md); }
.grid-2       { grid-template-columns: 1fr 1fr; }
.grid-3       { grid-template-columns: repeat(3, 1fr); }
.grid-4       { grid-template-columns: repeat(4, 1fr); }
.grid-gap-xs  { gap: var(--space-xs); }
.grid-gap-sm  { gap: var(--space-sm); }
.grid-gap-md  { gap: var(--space-md); }
.grid-gap-lg  { gap: var(--space-lg); }
.grid-gap-xl  { gap: var(--space-xl); }
.grid-v-center { align-items: center; }

/* ==========================================================================
   UTILITY CLASSES - Text Alignment
   ========================================================================== */

.text-left    { text-align: left; }
.text-center  { text-align: center; }
.text-right   { text-align: right; }

/* ==========================================================================
   UTILITY CLASSES - Display & Flex
   ========================================================================== */

.d-flex        { display: flex; }
.d-none        { display: none; }
.d-block       { display: block; }

.flex-col      { flex-direction: column; }
.flex-row      { flex-direction: row; }
.flex-wrap     { flex-wrap: wrap; }
.flex-1        { flex: 1; }

.items-center  { align-items: center; }
.items-start   { align-items: flex-start; }
.items-end     { align-items: flex-end; }

.justify-center  { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start   { justify-content: flex-start; }
.justify-end     { justify-content: flex-end; }

.gap-xs  { gap: var(--space-xs); }
.gap-sm  { gap: var(--space-sm); }
.gap-md  { gap: var(--space-md); }
.gap-lg  { gap: var(--space-lg); }
.gap-xl  { gap: var(--space-xl); }

/* ==========================================================================
   BUTTONS
   Base button styles. Extend per project with color variants.
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 157px;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 400;
    letter-spacing: var(--tracking-normal);
    text-align: center;
    text-decoration: none;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--speed-normal) var(--ease-default);
}

/* Primary solid button */
.btn-primary {
    background: var(--color-green);
    color: var(--color-white);
    border-color: var(--color-green);
}

.btn-primary:hover {
    background: var(--color-green-dark);
    border-color: var(--color-green-dark);
}

/* Outline button - green on white */
.btn-outline {
    background: transparent;
    color: var(--color-green-nav);
    border-color: var(--color-green-nav);
    backdrop-filter: blur(1px);
}

.btn-outline:hover {
    background: var(--color-green-nav);
    color: var(--color-white);
}

/* Outline button - white on dark/green */
.btn-outline-light {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
    backdrop-filter: blur(1px);
}

.btn-outline-light:hover {
    background: var(--color-white);
    color: var(--color-green);
}

/* Solid white button - for use on green/dark backgrounds */
.btn-light {
    background: var(--color-white);
    color: var(--color-green);
    border-color: var(--color-white);
}

.btn-light:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.8);
}

/* Outline button - dark on light background (hero CTA) */
.btn-outline-dark {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-text);
}

.btn-outline-dark:hover {
    background: var(--color-text);
    color: var(--color-white);
}

/* ==========================================================================
   POST BODY TYPOGRAPHY
   Styles for WYSIWYG content output inside .post-body
   ========================================================================== */

.post-body h2 { margin-bottom: 0.5em; }
.post-body h3 { margin-bottom: 0.5em; }
.post-body p { margin-bottom: 1em; }
.post-body p:last-child { margin-bottom: 0; }

.post-body ul,
.post-body ol {
    padding-left: 1.5em;
    margin-bottom: 1em;
}

.post-body li {
    margin-bottom: 0.25em;
}

.post-body a {
    color: var(--color-accent);
    text-decoration: underline;
}

.post-body a:hover {
    text-decoration: none;
}

.post-body img {
    border-radius: 4px;
}

.post-body blockquote {
    border-left: 4px solid var(--color-primary);
    margin: 1.5em 0;
    padding: 0.5em 1.5em;
    font-style: italic;
}

/* ==========================================================================
   RESPONSIVE EMBEDS
   Generated by ScheffeyTheme for YouTube and Google Maps iframes.
   ========================================================================== */

.embed-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gmap-embed-container {
    position: relative;
    padding-bottom: 50%;
    height: 0;
    overflow: hidden;
}

.gmap-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: calc(var(--z-sticky) + 100);
}

/* Offset body content for fixed header */
body {
    padding-top: var(--header-height);
}


.site-header__border {
    position: relative;
    height: var(--header-border-height);
    max-width: var(--width-full);
    margin: 0 auto;
    transition: height var(--speed-slow) var(--ease-default);
}

.site-header__border::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    background: var(--color-blue-dark);
    z-index: -1;
}

.site-header__nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--width-full);
    margin: 0 auto;
    padding: var(--space-sm) var(--page-gutter);
    transition: padding var(--speed-slow) var(--ease-default);
}

.site-header__nav::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    background: var(--color-green);
    z-index: -1;
}

/* Compact header state - smooth transition after scrolling */
/* Compact header state - only on desktop */
@media (min-width: 1025px) {
    .site-header.is-compact .site-header__border {
        height: 12px;
        transition: height var(--speed-slow) var(--ease-default);
    }

    .site-header.is-compact .site-header__nav {
        padding: var(--space-xs) var(--page-gutter);
    }

    .site-header.is-compact .site-header__logo {
        width: 120px;
    }
}


.site-header__logo {
    display: block;
    width: 200px;
    height: auto;
    transition: width var(--speed-normal) var(--ease-default);
}

.site-header__logo .logo-svg {
    width: 100%;
    height: auto;
    display: block;
    transition: filter var(--speed-normal) var(--ease-default),
                transform var(--speed-normal) var(--ease-default),
                opacity var(--speed-normal) var(--ease-default);
}

/* Nav logo hidden state - blurred and small before hero logo passes */
.site-header__logo.is-hidden .logo-svg {
    filter: blur(8px);
    transform: scale(0.7);
    opacity: 0;
}

/* Nav logo revealed state - clear and full size */
.site-header__logo.is-revealed .logo-svg {
    filter: blur(0);
    transform: scale(1);
    opacity: 1;
}

.site-header__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.site-header__menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

/* Primary navigation menu */
.primary-nav {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-nav > li {
    position: relative;
}

.primary-nav > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-base);
    font-weight: 400;
    color: var(--color-white);
    text-decoration: none;
    transition: opacity var(--speed-fast) var(--ease-default);
}

.primary-nav > li > a:hover {
    opacity: 0.85;
}

/* Dropdown indicator icon (via walker SVG) */
.primary-nav .submenu-toggle {
    display: inline-flex;
    align-items: center;
    margin-left: var(--space-2xs);
    transition: transform var(--speed-fast) var(--ease-default);
}

.primary-nav .submenu-toggle svg {
    width: 12px;
    height: 8px;
}

/* Desktop only: rotate caret on hover */
@media (min-width: 1025px) {
    .primary-nav > li.menu-item-has-children:hover .submenu-toggle {
        transform: rotate(180deg);
    }
}

/* Submenu dropdown - Mega Menu style */
.primary-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all var(--speed-fast) var(--ease-default);
}

.primary-nav > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Mega menu card items */
.primary-nav .sub-menu li {
    flex: 1;
    min-width: 180px;
}

.primary-nav .sub-menu li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-md);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--speed-fast) var(--ease-default);
}

.primary-nav .sub-menu li a:hover {
    background: var(--color-gray-light);
    transform: translateY(-2px);
}

/* Menu item with logo (mega menu card) */
.primary-nav .sub-menu li.has-logo a {
    gap: var(--space-sm);
}

.primary-nav .sub-menu .menu-item-logo {
    display: block;
    width: 120px;
    height: 60px;
    margin-bottom: var(--space-xs);
}

.primary-nav .sub-menu .menu-item-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.primary-nav .sub-menu .menu-item-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xs);
}

.primary-nav .sub-menu .menu-item-title {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.3;
}

.primary-nav .sub-menu .menu-item-subtitle {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

.primary-nav .sub-menu .menu-item-cta {
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--color-green);
    margin-top: var(--space-xs);
}

/* Fallback for items without logos */
.primary-nav .sub-menu li:not(.has-logo) a {
    font-size: var(--text-sm);
    color: var(--color-text);
}

/* Nav CTA buttons container */
.nav-cta-buttons {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

/* ==========================================================================
   MOBILE NAVIGATION
   Canvas-style slide-in panel with hamburger toggle
   ========================================================================== */

/* Mobile Menu Toggle - hidden on desktop */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    z-index: 10;
    transition: border-color var(--speed-normal) var(--ease-default),
                background var(--speed-normal) var(--ease-default);
}

.menu-toggle:hover,
.menu-toggle.active {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-white);
    margin: 3px 0;
    transition: all var(--speed-normal) var(--ease-default);
}

/* Hamburger to X animation */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Nav overlay backdrop */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    z-index: calc(var(--z-sticky) - 1);
    transition: opacity var(--speed-normal) var(--ease-default),
                visibility var(--speed-normal) var(--ease-default);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Body scroll lock when nav open */
body.nav-open {
    overflow: hidden;
}

/* Hide overlay on mobile - we use full-width panel instead */
@media (max-width: 1024px) {
    .nav-overlay {
        display: none !important;
    }
}

/* Mobile submenu toggle button - larger touch target */
.submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
}

.submenu-toggle svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    transition: transform var(--speed-normal) var(--ease-default);
}

/* Rotate caret when submenu is open (desktop hover only) */
@media (min-width: 1025px) {
    .primary-nav > li:hover > a .submenu-toggle svg,
    .primary-nav > li.nav-item-active > a .submenu-toggle svg {
        transform: rotate(180deg);
    }
}

/* ==========================================================================
   MOBILE NAVIGATION - Responsive Styles
   Full-screen canvas drawer from the right
   ========================================================================== */

@media (max-width: 1024px) {
    /* Mobile header nav - logo and hamburger must stay above nav panel */
    .site-header__nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: var(--space-sm) var(--page-gutter);
        position: relative;
        z-index: calc(var(--z-sticky) + 200);
    }

    .site-header__logo {
        position: relative;
        z-index: calc(var(--z-sticky) + 201);
    }

    /* Force logo visible when mobile nav is open, regardless of scroll state */
    body.nav-open .site-header__logo,
    body.nav-open .site-header__logo.is-hidden {
        opacity: 1 !important;
        visibility: visible !important;
    }

    body.nav-open .site-header__logo .logo-svg,
    body.nav-open .site-header__logo.is-hidden .logo-svg {
        filter: none !important;
        transform: scale(1) !important;
        opacity: 1 !important;
    }

    /* Show hamburger toggle - must be above nav panel */
    .menu-toggle {
        display: flex;
        position: relative;
        z-index: calc(var(--z-sticky) + 201);
    }

    /* Mobile CTA buttons - show at bottom of nav panel */
    .nav-cta-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: var(--space-sm) !important;
        margin-top: auto !important;
        padding-top: var(--space-lg) !important;
        width: 100% !important;
    }

    .nav-cta-buttons .btn {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
        font-size: var(--text-base) !important;
        padding: var(--space-md) var(--space-lg) !important;
    }

    /* Mobile nav panel - FULL WIDTH, sits behind header */
    .site-header__menu {
        /* Reset any inherited flex properties */
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 0 !important;

        /* Fixed positioning - full screen, header overlays top portion */
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        max-width: none !important;
        height: 100vh !important;
        height: 100dvh !important;
        margin: 0 !important;
        /* Padding-top creates space for header, content starts below */
        padding: 140px var(--page-gutter) var(--space-lg) !important;

        /* Appearance */
        background: var(--color-green) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;

        /* Hidden state */
        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        /* Animation */
        transition: opacity 0.25s ease,
                    visibility 0.25s ease;

        /* Below header */
        z-index: calc(var(--z-sticky) + 50);
    }

    .site-header__menu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* Primary nav - vertical stack */
    .primary-nav {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .primary-nav > li {
        position: static !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .primary-nav > li:last-child {
        border-bottom: none;
    }

    .primary-nav > li > a {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: var(--space-sm) !important;
        width: 100% !important;
        padding: var(--space-md) 0 !important;
        font-size: var(--text-lg) !important;
        font-weight: 500 !important;
        color: var(--color-white) !important;
        text-decoration: none !important;
    }

    /* Submenu toggle - larger touch target */
    .primary-nav .submenu-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        border-radius: 6px !important;
        background: transparent !important;
        flex-shrink: 0 !important;
        cursor: pointer !important;
    }

    .primary-nav .submenu-toggle svg {
        width: 16px !important;
        height: 16px !important;
        fill: var(--color-white) !important;
        transition: transform 0.25s ease !important;
    }

    /* Submenu - accordion style, FORCE override all desktop styles */
    .primary-nav .sub-menu,
    .primary-nav > li > .sub-menu,
    .primary-nav > li:hover > .sub-menu,
    .primary-nav > li:focus > .sub-menu,
    .primary-nav > li:focus-within > .sub-menu {
        /* Reset ALL desktop dropdown styles */
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;

        /* Layout - HIDDEN by default */
        display: none !important;
        flex-direction: column !important;
        gap: 0 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;

        /* Spacing */
        margin: 0 !important;
        padding: 0 0 var(--space-sm) 0 !important;

        /* Appearance - reset desktop styles */
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;

        /* Reset opacity/visibility that desktop uses for animation */
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* ONLY show submenu when parent has .open class - nothing else */
    .primary-nav > li.open > .sub-menu {
        display: flex !important;
    }

    /* Rotate caret when open */
    .primary-nav > li.open > a .submenu-toggle svg {
        transform: rotate(180deg) !important;
    }

    /* Submenu items */
    .primary-nav .sub-menu li {
        position: static !important;
        flex: none !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    .primary-nav .sub-menu li a {
        /* Reset desktop card styles */
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: var(--space-sm) !important;
        width: 100% !important;
        padding: var(--space-sm) 0 !important;

        /* Text */
        font-size: var(--text-base) !important;
        color: var(--color-white) !important;
        text-align: left !important;
        text-decoration: none !important;

        /* Reset card appearance */
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        transform: none !important;
    }

    /* Company cards on mobile - white rounded containers */
    .primary-nav .sub-menu li.has-logo {
        margin-bottom: var(--space-xs) !important;
    }

    .primary-nav .sub-menu li.has-logo a {
        background: var(--color-white) !important;
        border-radius: 16px !important;
        padding: var(--space-md) var(--space-lg) !important;
        gap: var(--space-lg) !important;
        color: var(--color-text) !important;
    }

    .primary-nav .sub-menu .menu-item-logo {
        width: 90px !important;
        height: 60px !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
    }

    .primary-nav .sub-menu .menu-item-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 2px !important;
    }

    .primary-nav .sub-menu .menu-item-title {
        font-size: var(--text-sm) !important;
        font-weight: 600 !important;
        color: var(--color-text) !important;
    }

    .primary-nav .sub-menu .menu-item-subtitle {
        font-size: var(--text-xs) !important;
        color: var(--color-text-muted) !important;
    }

    .primary-nav .sub-menu .menu-item-cta {
        display: none !important;
    }

    /* Items without logos - keep simple */
    .primary-nav .sub-menu li:not(.has-logo) a {
        font-size: var(--text-base) !important;
        color: var(--color-white) !important;
    }
}

/* ==========================================================================
   HERO
   Build per project from the Figma design.
   ========================================================================== */

/* Hero: Logo Lockup */
.hero--logo-lockup {
    position: relative;
    display: flex;
    min-height: 500px;
    overflow: hidden;
}

.hero__content {
    position: relative;
    z-index: 5; /* Stay above hero__media */
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-3xl) var(--page-gutter);
    background: var(--color-white);
    text-align: center;
    overflow: hidden;
}

/* Blue bar at bottom of content area */
.hero__content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: var(--color-blue-dark);
}

.hero__logo {
    width: 280px;
    max-width: 100%;
    margin-bottom: var(--space-md);
}

.hero__logo .logo-svg {
    width: 100%;
    height: auto;
}

.hero__divider {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    width: 100%;
    max-width: 480px;
}

.hero__divider-line {
    flex: 1;
    height: 1px;
    background: var(--color-gray-border);
}

.hero__divider-text {
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    white-space: nowrap;
}

.hero__company-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.hero__company-logo {
    height: 50px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.hero__company-logo-link {
    display: block;
}

.hero__company-logo-link:hover .hero__company-logo {
    opacity: 0.7;
}

.hero__tagline {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-green);
    margin-bottom: var(--space-xs);
}

.hero__description {
    font-size: var(--text-sm);
    color: var(--color-text);
    max-width: 400px;
    margin: 0;
}

/* Hero media/photo section */
.hero__media {
    flex: 0 0 50%;
    position: relative;
    overflow: hidden; /* Clip the photo track that extends for parallax */
}

/* Blue bar at top of media area */
.hero__media::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: var(--color-blue-dark);
    z-index: 1;
}

/* Blue notch filler at bottom-left of media area */
.hero__media::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 18px;
    height: 20px;
    background: var(--color-blue-dark);
    z-index: 4;
}

/* Photo track holds both the main image and mirrored extension */
.hero__photo-track {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Initial offset pushes image right, mirrored left side fills gap */
    /* Must match JS initialOffset value to prevent snap on load */
    transform: translateX(5%);
}

.hero__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Mirrored image extends to the left for parallax buffer */
.hero__photo-mirror {
    position: absolute;
    top: 0;
    right: 100%; /* Positioned directly left of the main container */
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scaleX(-1); /* Flip horizontally */
}

/* White triangle wedge - positioned at the seam */
.hero__wedge {
    position: absolute;
    top: 0;
    left: 50%;
    width: 200px;
    height: calc(100% + 100px);
    z-index: 2;
}

/* Blue diagonal stripe - SVG parallelogram, right edge aligns with triangle's right edge */
.hero__stripe {
    position: absolute;
    top: 0;
    left: calc(50% - 22px);
    width: 225px;
    height: calc(100% + 100px);
    z-index: 3;
}

/* Light gray accent stripe - sits to the right of blue stripe, below top bar */
.hero__accent {
    position: absolute;
    top: 0;
    left: calc(50% + 3px);
    width: 215px;
    height: calc(100% + 100px);
    z-index: 0;
}

/* Yellow accent - short stripe straddling blue/gray seam, clipped to middle */
.hero__yellow-accent {
    position: absolute;
    top: 0;
    left: calc(50% - 2px);
    width: 210px;
    height: calc(100% + 100px);
    z-index: 4;
    clip-path: inset(8% 0 18% 0);
}

/* Hero - Tablet/Mobile (1100px)
   Stack layout, hide diagonal decorations, blue/yellow divider bar
   ========================================================================== */
@media (max-width: 1100px) {
    .hero--logo-lockup {
        flex-direction: column;
        min-height: auto;
    }

    .hero__content {
        flex: none;
        padding: var(--space-xl) var(--page-gutter) var(--space-lg);
    }

    /* Blue bar stays at bottom of content */
    .hero__content::after {
        height: 16px;
    }

    .hero__media {
        flex: none;
        min-height: 280px;
        height: 50vw; /* Responsive height based on viewport */
        max-height: 350px;
        position: relative;
        overflow: hidden;
    }

    /* Yellow tapered trapezoid - extends UP into the blue bar */
    .hero__media::before {
        content: '';
        position: absolute;
        top: -6px; /* Extend up into blue bar */
        left: 10%;
        right: 10%;
        width: auto;
        height: 12px;
        background: #f0c220; /* Yellow - using hex to ensure visibility */
        clip-path: polygon(
            0% 0%,      /* top-left */
            100% 0%,    /* top-right */
            93% 100%,   /* bottom-right, tapered in */
            7% 100%     /* bottom-left, tapered in */
        );
        z-index: 10;
    }

    /* Remove the bottom-left notch filler on mobile */
    .hero__media::after {
        display: none;
    }

    /* Reset track - keep absolute but no transform on mobile */
    .hero__photo-track {
        transform: none;
    }

    .hero__photo {
        object-position: center;
    }

    .hero__photo-mirror {
        display: none; /* No need for mirrored image on mobile */
    }

    /* Hide all diagonal SVG decorations on mobile */
    .hero__wedge,
    .hero__stripe,
    .hero__accent,
    .hero__yellow-accent {
        display: none;
    }

    .hero__logo {
        width: 220px;
    }

    .hero__company-logos {
        gap: var(--space-md);
    }

    .hero__company-logo {
        height: 40px;
        max-width: 110px;
    }
}

/* Hero - Small mobile (576px) */
@media (max-width: 576px) {
    .hero__logo {
        width: 180px;
    }

    .hero__company-logo {
        height: 32px;
        max-width: 90px;
    }

    .hero__tagline {
        font-size: var(--text-base);
    }

    .hero__description {
        font-size: var(--text-sm);
    }
}

/* ==========================================================================
   CONTENT BUILDER BLOCKS
   One section per block. Build from the Figma design.
   ========================================================================== */

/* block styles go here */

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer__border {
    position: relative;
    height: var(--header-border-height);
    max-width: var(--width-full);
    margin: 0 auto;
}

.site-footer__border::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    background: var(--color-gray-border);
    z-index: -1;
}

.site-footer__main {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: var(--space-xl);
    align-items: start;
    max-width: var(--width-full);
    margin: 0 auto;
    padding: var(--space-lg) var(--page-gutter);
}

.site-footer__main::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    background: var(--color-black);
    z-index: -1;
}

.site-footer__logo {
    display: block;
    width: 200px;
    height: 86px;
}

.site-footer__logo svg,
.site-footer__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.site-footer__companies {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
}

.site-footer__company {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    color: var(--color-text-light);
    letter-spacing: var(--tracking-tight);
}

.site-footer__company-name {
    font-size: var(--text-sm);
    font-weight: 700;
}

.site-footer__company-address {
    font-size: var(--text-xs);
    line-height: var(--leading-normal);
}

.site-footer__company-address p {
    margin: 0;
}

.site-footer__company-link {
    font-size: var(--text-xs);
    text-decoration: underline;
    color: var(--color-text-light);
    transition: color var(--speed-fast) var(--ease-default);
}

.site-footer__company-link:hover {
    color: var(--color-white);
}

/* ==========================================================================
   GLOBAL COMPONENTS
   Forms (Gravity Forms overrides), modals, etc.
   ========================================================================== */

/* component styles go here */

/* ==========================================================================
   SCROLL ANIMATIONS
   IntersectionObserver-triggered reveal animations
   ========================================================================== */

/* Initial hidden states */
[data-animate] {
    opacity: 0;
    transition: opacity var(--anim-duration) var(--anim-ease),
                transform var(--anim-duration) var(--anim-ease);
}

[data-animate="fade-up"] {
    transform: translateY(var(--anim-distance));
}

[data-animate="fade-left"] {
    transform: translateX(calc(var(--anim-distance) * -1));
}

/* Visible state - triggered by JS */
[data-animate].is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Stagger delays for sequential animations */
[data-animate-index="1"] { transition-delay: var(--anim-stagger); }
[data-animate-index="2"] { transition-delay: calc(var(--anim-stagger) * 2); }
[data-animate-index="3"] { transition-delay: calc(var(--anim-stagger) * 3); }
[data-animate-index="4"] { transition-delay: calc(var(--anim-stagger) * 4); }
[data-animate-index="5"] { transition-delay: calc(var(--anim-stagger) * 5); }

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    [data-animate] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ==========================================================================
   CONTENT BUILDER BLOCKS
   ========================================================================== */

/* CTA Band - dark background with centered pill button */
.cta-band {
    background-color: var(--color-black);
    padding: var(--space-lg) var(--page-gutter);
    text-align: center;
}

/* Intro Content - blue background with white text */
.intro-content {
    background-color: var(--color-secondary);
    padding: var(--space-2xl) var(--page-gutter);
}

.intro-content__inner {
    max-width: var(--width-lg);
    margin: 0 auto;
    color: var(--color-white);
    font-size: var(--text-md);
    font-weight: 500;
    line-height: var(--leading-relaxed);
}

.intro-content__inner p {
    margin: 0 0 1em;
}

.intro-content__inner p:last-child {
    margin-bottom: 0;
}

/* Our Companies - cards with tabs */
.our-companies {
    padding: var(--space-3xl) 20px;
    background: var(--color-white);
}

.our-companies__inner {
    max-width: 1400px;
    margin: 0 auto;
}

.our-companies__title {
    text-align: center;
    font-size: var(--text-2xl);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: var(--space-3xl);
    color: var(--color-black);
}

.our-companies__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.our-companies__card {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.our-companies__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Colored accent bar at top of card */
.our-companies__card-accent {
    height: 20px;
    flex-shrink: 0;
}

/* Image area with photo background */
.our-companies__card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: var(--color-gray);
}

/* Gradient overlay on image */
.our-companies__card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 79, 140, 0.3), rgba(45, 45, 45, 0.85));
    z-index: 1;
}

/* Frosted pill backdrop for logo */
.our-companies__card-logo-wrap {
    position: absolute;
    bottom: 16px;
    left: 20px;
    z-index: 2;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    border-radius: 6px;
}

.our-companies__card-logo {
    display: block;
    height: 28px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}

/* White body area below image */
.our-companies__card-body {
    padding: 24px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--color-white);
}

.our-companies__card-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.2;
    margin-bottom: 12px;
}

.our-companies__card-desc {
    font-size: 0.9rem;
    color: var(--color-gray);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

/* Footer with link left, location right */
.our-companies__card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #d1d1d1;
}

.our-companies__card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-green);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.our-companies__card-link:hover {
    gap: 10px;
}

/* Location with icon */
.our-companies__card-location {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--color-gray);
}

.our-companies__card-location svg {
    flex-shrink: 0;
}

/* Active card state - yellow bottom border */
.our-companies__card--active {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.our-companies__card--active .our-companies__card-body {
    border-bottom: 4px solid #f0c000;
}

/* Tabs */
.our-companies__tabs {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-md);
    padding: 0 var(--space-xl);
}

.our-companies__tab {
    padding: var(--space-xs) var(--space-lg);
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--color-gray);
    opacity: 0.6;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    transition: opacity 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.our-companies__tab:hover {
    opacity: 0.8;
}

.our-companies__tab--active {
    color: var(--color-gray);
    font-weight: 600;
    opacity: 1;
}

.our-companies__tab--active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-blue-dark);
}

.our-companies__panels {
    padding: 0 60px;
}

.our-companies__panel {
    display: none !important;
    max-width: 100%;
    font-size: var(--text-md);
    line-height: 2;
    color: var(--color-text);
}

.our-companies__panel--active {
    display: block !important;
}

.our-companies__panel p {
    margin: 0 0 0.5em;
}

.our-companies__panel p:last-child {
    margin-bottom: 0;
}

/* Why Choose Us - 3 columns */
.why-choose-us {
    padding: 65px var(--page-gutter) var(--space-4xl);
    background: var(--color-bg-alt);
}

.why-choose-us__title {
    text-align: center;
    font-size: var(--text-xl);
    font-weight: 700;
    line-height: 40px;
    margin-bottom: var(--space-3xl);
    color: var(--color-text);
}

.why-choose-us__columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
    max-width: var(--width-xl);
    margin: 0 auto;
}

.why-choose-us__column {
    text-align: left;
}

.why-choose-us__column::before {
    content: '';
    display: block;
    width: 130px;
    height: 2px;
    background: var(--color-text);
    margin-bottom: var(--space-md);
}

.why-choose-us__column-heading {
    font-size: var(--text-xl);
    font-weight: 400;
    line-height: 40px;
    letter-spacing: var(--tracking-tight);
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.why-choose-us__column-description {
    font-size: var(--text-md);
    line-height: var(--leading-relaxed);
    color: var(--color-text);
    margin: 0;
}

/* Divider Bars */
.divider-bar {
    height: 20px;
    width: 100%;
}

.divider-bar--green {
    background: var(--color-green-accent);
}

.divider-bar--light-blue {
    background: var(--color-blue-light);
}

.divider-bar--dark-blue {
    background: var(--color-blue-dark);
}

.divider-bar--yellow {
    background: var(--color-yellow);
}

/* Pre-Footer CTA - green background */
.pre-footer-cta {
    position: relative;
    max-width: var(--width-full);
    margin: 0 auto;
    padding: 65px var(--page-gutter) var(--space-4xl);
}

.pre-footer-cta::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    background: var(--color-primary);
    z-index: -1;
}

.pre-footer-cta__inner {
    max-width: var(--width-lg);
    padding-top: var(--space-2xl);
}

.pre-footer-cta__eyebrow {
    display: block;
    font-size: var(--text-xl);
    font-weight: 700;
    line-height: 40px;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.pre-footer-cta__headline {
    font-size: var(--text-2xl);
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: var(--space-md);
    line-height: 40px;
}

.pre-footer-cta__subtext {
    font-size: var(--text-md);
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
    line-height: var(--leading-relaxed);
}

.pre-footer-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 400;
    letter-spacing: var(--tracking-normal);
    text-align: center;
    text-decoration: none;
    border-radius: var(--radius-pill);
    border: 1px solid var(--color-white);
    background: var(--color-white);
    color: var(--color-primary);
    cursor: pointer;
    transition: all var(--speed-normal) var(--ease-default);
}

.pre-footer-cta__button:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   RESPONSIVE
   Mobile-first. Override above styles at breakpoints.
   ========================================================================== */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --page-gutter: 40px;
    }

    /* Footer: stack logo above companies */
    .site-footer__main {
        grid-template-columns: 1fr;
    }

    /* Companies: 3 columns still fit */
    .site-footer__companies {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Our Companies: 2 columns on tablet */
    .our-companies__cards {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .our-companies__card-image {
        height: 180px;
    }

    .our-companies__card-name {
        font-size: 1.05rem;
    }

    .our-companies__card-desc {
        font-size: 0.85rem;
    }

    .our-companies__tabs {
        flex-wrap: wrap;
    }

    /* Why Choose Us: stack on tablet */
    .why-choose-us__columns {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --page-gutter: 20px;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    /* Header mobile adjustments */
    .site-header__logo {
        width: 160px;
    }

    /* Footer mobile */
    .site-footer__logo {
        width: 160px;
        height: auto;
    }

    .site-footer__companies {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    /* Our Companies: single column on mobile */
    .our-companies {
        padding: var(--space-xl) var(--page-gutter);
    }

    .our-companies__title {
        margin-bottom: var(--space-xl);
    }

    .our-companies__cards {
        grid-template-columns: 1fr;
        gap: var(--space-md);
        margin-bottom: var(--space-xl);
    }

    .our-companies__card-image {
        height: 160px;
    }

    .our-companies__card-logo-wrap {
        bottom: 12px;
        left: 16px;
        padding: 6px 10px;
    }

    .our-companies__card-logo {
        height: 22px;
        max-width: 120px;
    }

    .our-companies__card-body {
        padding: 20px 16px;
    }

    .our-companies__card-name {
        font-size: 1rem;
    }

    .our-companies__card-desc {
        font-size: 0.85rem;
        margin-bottom: 16px;
    }

    .our-companies__card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .our-companies__card-location {
        font-size: 0.7rem;
    }

    .our-companies__tabs {
        gap: var(--space-xs);
    }

    .our-companies__tab {
        font-size: var(--text-sm);
        padding: var(--space-xs) var(--space-sm);
    }

    /* Why Choose Us: single column on mobile */
    .why-choose-us__columns {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    /* Pre-Footer CTA mobile */
    .pre-footer-cta__headline {
        font-size: var(--text-xl);
    }
}

/* ==========================================================================
   CONTACT LIGHTBOX
   ========================================================================== */

.contact-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.3s, opacity 0.3s ease;
}

.contact-lightbox[aria-hidden="false"] {
    visibility: visible;
    opacity: 1;
    transition: visibility 0s, opacity 0.3s ease;
}

.contact-lightbox__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.contact-lightbox__dialog {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--color-white);
    border-radius: 12px;
    padding: var(--space-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
}

.contact-lightbox[aria-hidden="false"] .contact-lightbox__dialog {
    transform: translateY(0) scale(1);
}

.contact-lightbox__close {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--color-gray);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.contact-lightbox__close:hover {
    background: var(--color-gray-light);
    color: var(--color-black);
}

.contact-lightbox__title {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-black);
    margin: 0 0 var(--space-lg);
    padding-right: var(--space-xl);
}

/* ==========================================================================
   GRAVITY FORMS STYLING
   Professional corporate form with icons and dense layout
   ========================================================================== */

.contact-lightbox .gform_wrapper {
    margin: 0;
}

/* Grid on the fields container */
.contact-lightbox .gform_wrapper .gform_fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    padding: 0;
    margin: 0;
    list-style: none;
}

/* All fields start full-width, specific ones go half */
.contact-lightbox .gform_wrapper .gfield {
    margin: 0;
    padding: 0;
    grid-column: 1 / -1;
}

/* Half-width fields sit side by side */
.contact-lightbox .gform_wrapper .gfield.gf-half {
    grid-column: span 1;
}


/* Labels - compact and professional */
.contact-lightbox .gform_wrapper .gfield_label {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 6px;
    display: block;
}

/* Hide asterisk, show subtle required indicator */
.contact-lightbox .gform_wrapper .gfield_required {
    display: none;
}

/* Input containers */
.contact-lightbox .gform_wrapper .ginput_container {
    margin: 0;
    position: relative;
}

/* Base input styles - refined corporate look */
.contact-lightbox .gform_wrapper input[type="text"],
.contact-lightbox .gform_wrapper input[type="email"],
.contact-lightbox .gform_wrapper input[type="tel"],
.contact-lightbox .gform_wrapper select {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    font-family: inherit;
    font-size: 14px;
    color: var(--color-black);
    background: var(--color-gray-light);
    border: 1px solid transparent;
    border-radius: 6px;
    transition: all 0.15s ease;
}

/* Icon padding for phone and email */
.contact-lightbox .gform_wrapper .gfield.gf-icon-phone input,
.contact-lightbox .gform_wrapper .gfield.gf-icon-email input {
    padding-left: 42px;
}

/* Phone icon */
.contact-lightbox .gform_wrapper .gfield.gf-icon-phone .ginput_container::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M2.25 6.75c0 8.284 6.716 15 15 15h2.25a2.25 2.25 0 0 0 2.25-2.25v-1.372c0-.516-.351-.966-.852-1.091l-4.423-1.106c-.44-.11-.902.055-1.173.417l-.97 1.293c-.282.376-.769.542-1.21.38a12.035 12.035 0 0 1-7.143-7.143c-.162-.441.004-.928.38-1.21l1.293-.97c.363-.271.527-.734.417-1.173L6.963 3.102a1.125 1.125 0 0 0-1.091-.852H4.5A2.25 2.25 0 0 0 2.25 4.5v2.25Z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.5;
    pointer-events: none;
}

/* Email icon */
.contact-lightbox .gform_wrapper .gfield.gf-icon-email .ginput_container::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M21.75 6.75v10.5a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25m19.5 0v.243a2.25 2.25 0 0 1-1.07 1.916l-7.5 4.615a2.25 2.25 0 0 1-2.36 0L3.32 8.91a2.25 2.25 0 0 1-1.07-1.916V6.75'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.5;
    pointer-events: none;
}

/* Fade icons on focus */
.contact-lightbox .gform_wrapper .gfield.gf-icon-phone .ginput_container:focus-within::before,
.contact-lightbox .gform_wrapper .gfield.gf-icon-email .ginput_container:focus-within::before {
    opacity: 0.2;
    transition: opacity 0.15s ease;
}

/* Add transition to icons */
.contact-lightbox .gform_wrapper .gfield.gf-icon-phone .ginput_container::before,
.contact-lightbox .gform_wrapper .gfield.gf-icon-email .ginput_container::before {
    transition: opacity 0.15s ease;
}

/* Focus states - branded accent */
.contact-lightbox .gform_wrapper input[type="text"]:focus,
.contact-lightbox .gform_wrapper input[type="email"]:focus,
.contact-lightbox .gform_wrapper input[type="tel"]:focus,
.contact-lightbox .gform_wrapper select:focus,
.contact-lightbox .gform_wrapper textarea:focus {
    outline: none;
    background: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 135, 85, 0.1);
}

/* Placeholder styling */
.contact-lightbox .gform_wrapper input::placeholder,
.contact-lightbox .gform_wrapper textarea::placeholder {
    color: #9ca3af;
}

/* Textarea - compact message field */
.contact-lightbox .gform_wrapper textarea {
    width: 100%;
    min-height: 80px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 14px;
    color: var(--color-black);
    background: var(--color-gray-light);
    border: 1px solid transparent;
    border-radius: 6px;
    resize: none;
    transition: all 0.15s ease;
}

/* Submit button - pill style, branded green */
.contact-lightbox .gform_wrapper .gform_footer {
    margin-top: var(--space-sm);
    padding: 0;
}

.contact-lightbox .gform_wrapper input[type="submit"],
.contact-lightbox .gform_wrapper .gform_button {
    width: 100%;
    height: 48px;
    padding: 0 32px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-white);
    background: linear-gradient(180deg, var(--color-green) 0%, var(--color-green-dark) 100%);
    border: none;
    border-radius: 100px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 135, 85, 0.3);
    transition: all 0.2s ease;
}

.contact-lightbox .gform_wrapper input[type="submit"]:hover,
.contact-lightbox .gform_wrapper .gform_button:hover {
    background: linear-gradient(180deg, var(--color-green-dark) 0%, #046a42 100%);
    box-shadow: 0 4px 12px rgba(0, 135, 85, 0.4);
    transform: translateY(-1px);
}

.contact-lightbox .gform_wrapper input[type="submit"]:active,
.contact-lightbox .gform_wrapper .gform_button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 135, 85, 0.3);
}

/* Validation errors - subtle but clear */
.contact-lightbox .gform_wrapper .gfield_error input,
.contact-lightbox .gform_wrapper .gfield_error textarea {
    background: #fef2f2;
    border-color: #ef4444;
}

.contact-lightbox .gform_wrapper .gfield_error .gfield_label {
    color: #dc2626;
}

.contact-lightbox .gform_wrapper .validation_message {
    font-size: 11px;
    color: #dc2626;
    margin-top: 4px;
}

.contact-lightbox .gform_wrapper .gform_validation_errors {
    grid-column: span 2;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    padding: 12px 14px;
    margin-bottom: var(--space-xs);
}

.contact-lightbox .gform_wrapper .gform_validation_errors h2 {
    font-size: 13px;
    font-weight: 600;
    color: #dc2626;
    margin: 0;
}

/* Confirmation message - clean success state */
.contact-lightbox .gform_confirmation_message {
    text-align: center;
    padding: var(--space-xl) var(--space-md);
}

.contact-lightbox .gform_confirmation_message::before {
    content: "";
    display: block;
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-md);
    background: var(--color-primary);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m4.5 12.75 6 6 9-13.5'/%3E%3C/svg%3E");
    background-size: 24px;
    background-position: center;
    background-repeat: no-repeat;
}

.contact-lightbox .gform_confirmation_message {
    font-size: 15px;
    line-height: 1.5;
    color: var(--color-gray);
}

/* Loading state */
.contact-lightbox .gform_wrapper .gform_ajax_spinner {
    display: none;
}

.contact-lightbox .gform_wrapper.gform_ajax_loading input[type="submit"] {
    opacity: 0.7;
    pointer-events: none;
}

/* Hide honeypot */
.contact-lightbox .gform_wrapper .gform_validation_container {
    display: none !important;
}

/* Mobile adjustments for lightbox */
@media (max-width: 640px) {
    .contact-lightbox {
        padding: var(--space-sm);
        align-items: flex-end;
    }

    .contact-lightbox__dialog {
        max-height: 85vh;
        padding: var(--space-lg) var(--space-md);
        border-radius: 12px 12px 0 0;
    }

    .contact-lightbox__title {
        font-size: var(--text-xl);
    }

    /* Stack form fields on mobile */
    .contact-lightbox .gform_wrapper .gform_fields {
        grid-template-columns: 1fr;
    }

    .contact-lightbox .gform_wrapper .gfield,
    .contact-lightbox .gform_wrapper .gfield.gf-half {
        grid-column: 1 / -1;
    }
}
