:root {
    --brand-50: #eef9f4;
    --brand-100: #dbf2e6;
    --brand-500: #22c55e;
    --brand-600: #16a34a;
    --brand-700: #0f6d49;
    --brand-800: #0b5b3c;
    --brand-900: #083e2b;
    --brand-950: #072c1e;
    --stone-50: #ffffff;
    --stone-100: #f3efe8;
    --stone-500: #78716f;
    --stone-600: #5f5f5d;
    --stone-700: #4e4d4a;
    --stone-900: #181715;
    --font-family-sans: "Public Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100%;
    font-family: var(--font-family-sans);
    background-color: var(--stone-50);
    color: var(--stone-900);
    -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

button, input, select, textarea {
    font: inherit;
}

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

button, [type="button"], [type="submit"], [type="reset"] {
    cursor: pointer;
}

.app-shell {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.page-main {
    flex: 1 1 auto;
}

.container-site {
    width: 100%;
    max-width: 1360px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

@media (min-width: 640px) {
    .container-site {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}


@media (min-width: 1024px) {
    .container-site {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

/* Header rules are kept complete so desktop dropdowns and mobile navigation remain stable. */
.home-header {
    position: sticky;
    top: 0;
    z-index: 40;
    width: 100%;
    border-bottom: 1px solid rgba(34, 37, 41, 0.08);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
    backdrop-filter: blur(6px);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.site-header {
    width: 100%;
    box-sizing: border-box;
}

.site-header--home {
    background-color: transparent;
    box-shadow: none;
    border-color: transparent;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0.35rem 1.25rem;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .header-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1024px) {
    .header-container {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.header-topbar {
    display: block;
    width: 100%;
    min-height: 2.2rem;
    border-bottom: 1px solid rgba(11, 107, 70, 0.18);
    background-color: var(--brand-950);
    color: var(--brand-100);
    box-sizing: border-box;
}

.header-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 2.2rem;
    padding: 0.15rem 1.25rem;
    font-size: 0.75rem;
    width: 100%;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .header-topbar-inner {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1024px) {
    .header-topbar-inner {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.header-topbar-links { display: flex; align-items: center; gap: 1.5rem; }
.header-topbar-link { display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap; color: inherit; transition: color var(--transition-base); }
.header-topbar-phone { display: flex; align-items: center; gap: 0.5rem; white-space: nowrap; vertical-align: middle; }
.header-topbar-link:hover { color: #ffffff; }
.header-topbar-text { font-weight: 500; }
.header-brand { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.header-brand-title { display: block; font-size: 1rem; font-weight: 700; color: var(--brand-900); }
.header-brand-subtitle { display: none; font-size: 0.75rem; color: var(--stone-500); }
.header-nav { display: none; align-items: center; gap: 0.25rem; }
.header-nav-item { position: relative; }
.nav-link { position: relative; display: inline-flex; align-items: center; padding: 0.25rem 0.75rem; border-radius: 1rem; font-weight: 500; color: var(--stone-600); font-size: 0.9375rem; line-height: 1.6; transition: color var(--transition-base), background-color var(--transition-base); }
.nav-link:hover, .nav-link-active { color: var(--brand-700); }
.nav-link-active { background-color: var(--brand-50); }
.dropdown-toggle { display: inline-flex; align-items: center; gap: 0.25rem; }
.dropdown-arrow { width: 0.75rem; height: 0.75rem; }
.dropdown-menu { position: absolute; left: 0; top: calc(100% + 0.25rem); z-index: 50; min-width: 18rem; border-radius: 1.25rem; border: 1px solid rgba(229, 231, 235, 1); background-color: #ffffff; padding: 0.5rem; opacity: 0; visibility: hidden; box-shadow: 0 25px 50px -25px rgba(15, 23, 42, 0.25); transition: opacity 200ms ease, transform 200ms ease; transform: translateY(-6px); }
.dropdown-menu--products, .dropdown-menu--solutions { display: grid; gap: 0.5rem; }
.dropdown-item { display: block; border-radius: 1rem; padding: 0.625rem 1rem; font-size: 0.875rem; color: var(--stone-700); text-decoration: none; transition: background-color var(--transition-base), color var(--transition-base); }
.dropdown-item:hover { background-color: var(--brand-50); color: var(--brand-800); }
.dropdown-item--strong { font-weight: 600; color: var(--brand-700); }
.dropdown-menu-divider { border-top: 1px solid rgba(229, 231, 235, 1); padding-top: 0.25rem; margin-top: 0.25rem; }
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.header-action-button--desktop { display: none; }
.mobile-toggle { border-radius: 1rem; border: 1px solid rgba(226, 232, 240, 1); padding: 0.4rem; color: var(--stone-600); background: transparent; transition: background-color var(--transition-base); }
.mobile-toggle:hover { background-color: rgba(242, 244, 248, 1); }
.mobile-toggle-icon { width: 1.25rem; height: 1.25rem; }
.mobile-nav { display: none; border-top: 1px solid rgba(226, 232, 240, 1); background-color: #ffffff; padding: 1rem; }
.mobile-nav--hidden { display: none; }
.mobile-nav-list { display: grid; gap: 0.25rem; }
.mobile-nav-link { display: block; border-radius: 1rem; padding: 0.75rem 1rem; color: var(--stone-700); text-decoration: none; transition: background-color var(--transition-base); }
.mobile-nav-link:hover { background-color: var(--brand-50); }
.mobile-nav-quote { margin-top: 0.5rem; }

@media (min-width: 1024px) {
    .header-topbar { display: block; }
    .header-brand-subtitle { display: block; }
    .header-nav { display: flex; }
    .header-actions { gap: 0.5rem; }
    .header-action-button--desktop { display: inline-flex; }
    .mobile-toggle { display: none; }
    .mobile-nav { display: none !important; }
}

@media (max-width: 1023px) {
    .header-topbar { display: none; }
    .header-nav { display: none; }
}

.hero-section {
    position: relative;
    min-height: 71.88vh;
    overflow: hidden;
    background-color: #07121f;
    color: #f8fafc;
    padding: 1.1rem 1.25rem;
    box-sizing: border-box;
    contain: layout paint style;
}

.hero-media { position: absolute; inset: 0; z-index: 0; contain: paint; }
.hero-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.hero-section::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.35) 30%, rgba(0, 0, 0, 0.32) 50%, rgba(0, 0, 0, 0.18) 75%, transparent 100%); z-index: 1; pointer-events: none; }
.hero-content { position: relative; z-index: 2; width: 100%; max-width: 1360px; margin: 0 auto; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; min-height: calc(87.88vh - 6.4rem); }
.hero-badge { display: inline-flex; align-items: center; padding: 0.65rem 1.1rem; border-radius: 999px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2); color: #eef2ff; font-size: 0.825rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; margin: 0 auto 1.2rem; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.25); }
.hero-heading { margin: 0 0 1rem; font-size: clamp(1.96rem, 3.64vw, 2.94rem); line-height: 1.15; font-weight: 700; letter-spacing: -0.03em; color: #f8fafc; word-break: break-word; overflow-wrap: break-word; }
.hero-description { margin: 0; max-width: 40rem; font-size: 1.125rem; line-height: 1.75; color: rgba(248, 250, 252, 0.88); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.6rem; justify-content: center; }
.hero-btn-primary, .hero-btn-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 2.5rem; border-radius: 999px; font-size: 1rem; font-weight: 600; white-space: nowrap; transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 250ms cubic-bezier(0.16, 1, 0.3, 1), background-color 250ms ease, border-color 250ms ease; }
.hero-btn-primary { background: linear-gradient(135deg, #5ce69c 0%, #3cd978 100%); color: #0a140f; border: none; box-shadow: 0 12px 32px -8px rgba(92, 230, 156, 0.35); }
.hero-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(92, 230, 156, 0.45); }
.hero-btn-primary:active { transform: translateY(0); }
.hero-btn-secondary { background: rgba(255, 255, 255, 0.15); color: #f8fafc; border: 1.5px solid rgba(255, 255, 255, 0.3); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.hero-btn-secondary:hover { background: rgba(255, 255, 255, 0.22); border-color: rgba(255, 255, 255, 0.45); transform: translateY(-2px); box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.25); }
.hero-btn-secondary:active { transform: translateY(0); }

@media (min-width: 640px) { .hero-section { padding-left: 2rem; padding-right: 2rem; } }
@media (min-width: 1024px) { .hero-section { padding-left: 4rem; padding-right: 4rem; } }
@media (max-width: 1024px) { .hero-heading { font-size: clamp(1.68rem, 4.55vw, 2.66rem); margin-bottom: 0.8rem; } .hero-buttons { gap: 0.8rem; } }
@media (max-width: 640px) {
    .hero-section { min-height: auto; padding-top: 2.4rem; padding-bottom: 2.4rem; }
    .hero-content { min-height: auto; }
    .hero-badge { font-size: 0.75rem; padding: 0.6rem 0.95rem; margin-bottom: 0.8rem; }
    .hero-heading { font-size: clamp(1.4rem, 6.3vw, 2.1rem); margin-bottom: 0.72rem; line-height: 1.1; }
    .hero-description { font-size: 1rem; line-height: 1.7; }
    .hero-btn-primary, .hero-btn-secondary { min-height: 48px; padding: 0 1.75rem; width: 100%; }
    .hero-buttons { flex-direction: column; gap: 0.6rem; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-content, .hero-btn-primary, .hero-btn-secondary { transition: none; }
    .hero-btn-primary:hover, .hero-btn-secondary:hover { transform: none; }
}

/* Final desktop-specific hero layout overrides placed late to ensure they win
   over earlier compiled/remote CSS. Keeps background image unchanged and only
   changes layout + text color as requested. */
@media (min-width: 1024px) {
    .hero-section {
        /* keep full-bleed background image behind entire section */
        position: relative;
    }

    .hero-section > .hero-media { inset: 0; }

    /* Left-side content column: 55% width */
    .hero-section > .hero-content {
        width: 55% !important;
        max-width: none !important;
        margin: 0 !important; /* align left */
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: flex-start !important;
        text-align: left !important;
        padding-left: 4rem !important;
        padding-right: 2rem !important;
        box-sizing: border-box !important;
        z-index: 2 !important;
    }

    /* Ensure buttons align left inside the 55% area */
    .hero-section > .hero-content .hero-buttons { justify-content: flex-start !important; }

    /* Khaki/beige warm tone for hero text (heading + description + badge)
       Color chosen for contrast; adjust if needed. */
    .hero-section > .hero-content .hero-heading { color: #CBB88A !important; }
    .hero-section > .hero-content .hero-description { color: rgba(203, 184, 138, 0.95) !important; }
    .hero-section > .hero-content .hero-badge { color: rgba(203, 184, 138, 0.95) !important; background: rgba(255,255,255,0.06) !important; }

    /* Prevent text flowing into right 45% by limiting width of text blocks */
    .hero-section > .hero-content .hero-heading,
    .hero-section > .hero-content .hero-description { width: 100%; max-width: 100%; }
}

.eco-marquee { position: relative; overflow: hidden; background: #07121f; color: #f8fafc; contain: layout paint style; }
.eco-marquee-inner { padding: 0.5rem 0; }
.eco-track { display: flex; width: max-content; min-width: max-content; align-items: center; white-space: pre; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; animation: eco-marquee-scroll 30s linear infinite; }
.eco-track::after { content: attr(data-marquee); display: block; flex: 0 0 auto; padding-left: 1.5rem; color: inherit; font: inherit; letter-spacing: inherit; white-space: pre; }
.eco-marquee:hover .eco-track { animation-play-state: paused; }
@keyframes eco-marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 640px) { .eco-track { font-size: 0.75rem; letter-spacing: 0.04em; } }
@media (prefers-reduced-motion: reduce) { .eco-track { animation: none; } }
