/* Color Variables */
:root {
    /* Primary colors */
    --color-primary: #0f172a;
    --color-primary-light: #1e293b;
    --color-primary-dark: #020617;

    /* Background colors */
    --color-bg-white: #fff;
    --color-bg-light: #f8fafc;
    --color-bg-hover: #f1f5f9;

    /* Text colors */
    --color-text-primary: #0f172a;
    --color-text-secondary: #334155;
    --color-text-muted: #64748b;
    --color-text-light: #94a3b8;
    --color-text-lighter: #cbd5e1;

    /* Border colors */
    --color-border: #e2e8f0;
    --color-border-dark: #1e293b;

    /* Accent colors */
    --color-accent-blue: #60a5fa;
    --color-accent-blue-dark: #0066cc;

    /* Status colors */
    --color-success-bg: #dcfce7;
    --color-success-text: #166534;
    --color-error-bg: #fee2e2;
    --color-error-text: #991b1b;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--color-bg-white);
    color: var(--color-text-primary);
    line-height: 1.5;
}

/* Top bar */
.top-bar {
    background: var(--color-primary);
    color: var(--color-text-light);
    font-size: 0.8rem;
    padding: 0.5rem 2rem;
}

.top-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: var(--color-text-light);
    text-decoration: none;
}

.top-bar a:hover {
    color: var(--color-bg-white);
}

.top-bar-right {
    display: flex;
    gap: 2rem;
}

.lang-switch {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.85rem;
}

.lang-switch a {
    color: var(--color-text-muted);
    text-decoration: none;
    padding: 0.25rem;
}

.lang-switch a:hover {
    color: var(--color-text-primary);
}

.lang-switch a.active {
    color: var(--color-text-primary);
    font-weight: 600;
}

.lang-switch span {
    color: var(--color-text-lighter);
}

/* Header */
header {
    background: var(--color-bg-white);
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Transparent header for hero pages */
.has-hero header {
    position: absolute;
    width: 100%;
    top: 0;
    background: transparent;
    border-bottom: none;
}

.has-hero header .logo img {
    filter: brightness(0) invert(1);
}

.has-hero nav a {
    color: var(--color-bg-white);
}

.has-hero nav a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.has-hero .header-cta {
    background: var(--color-bg-white);
    color: var(--color-text-primary) !important;
}

.has-hero .header-cta:hover {
    background: var(--color-bg-hover);
}

.has-hero .mobile-menu-btn span {
    background: var(--color-bg-white);
}

.has-hero .lang-switch a {
    color: rgba(255, 255, 255, 0.7);
}

.has-hero .lang-switch a:hover {
    color: var(--color-bg-white);
}

.has-hero .lang-switch a.active {
    color: var(--color-bg-white);
}

.has-hero .lang-switch span {
    color: rgba(255, 255, 255, 0.4);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    display: block;
}

nav {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background 0.15s;
}

nav a:hover {
    background: var(--color-bg-hover);
}

.header-cta {
    background: var(--color-primary);
    color: var(--color-bg-white) !important;
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-left: 1rem;
}

.header-cta:hover {
    background: var(--color-primary-light);
}

/* Hero */
.hero {
    background: var(--color-primary);
    color: var(--color-bg-white);
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('/static/images/construction-site-night.webp') center center / cover no-repeat;
    opacity: 0.4;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary) 0%, rgba(15, 23, 42, 0.7) 50%, rgba(15, 23, 42, 0.4) 100%);
}

.hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 700px;
}

.hero-eyebrow {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--color-accent-blue);
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--color-text-lighter);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hero-cta-primary {
    display: inline-block;
    background: var(--color-bg-white);
    color: var(--color-primary);
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
}

.hero-cta-primary:hover {
    background: var(--color-bg-hover);
}

.hero-cta-secondary {
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-cta-secondary:hover {
    color: var(--color-bg-white);
}

/* Stats bar */
.stats-bar {
    background: var(--color-bg-light);
    border-bottom: 1px solid var(--color-border);
    padding: 2rem;
}

.stats-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-item {
    text-align: center;
    flex: 1;
    border-right: 1px solid var(--color-border);
    padding: 0 2rem;
}

.stat-item:last-child {
    border-right: none;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-text-primary);
    letter-spacing: -0.5px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 0.25rem;
    font-weight: 500;
}

/* Brand bar */
.brand-bar {
    background: var(--color-bg-white);
    padding: 3rem 2rem;
    border-bottom: 1px solid var(--color-border);
}

.brand-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.brand-bar-label {
    text-align: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.brand-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.brand-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text-secondary);
    opacity: 0.6;
    transition: opacity 0.2s;
}

.brand-logo:hover {
    opacity: 1;
}

/* What We Supply Section */
.what-we-supply {
    background: var(--color-bg-light);
    padding: 5rem 2.5rem;
}

.what-we-supply__container {
    max-width: 1400px;
    margin: 0 auto;
}

.what-we-supply__title {
    font-size: 2.625rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.what-we-supply__intro {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.what-we-supply__categories {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-primary);
}

.what-we-supply__categories span {
    color: var(--color-text-lighter);
    margin: 0 0.75rem;
}

.what-we-supply__benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--color-border);
    margin-bottom: 3rem;
}

.what-we-supply__benefit {
    background: var(--color-bg-white);
    padding: 2rem;
}

.what-we-supply__benefit-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
}

.what-we-supply__benefit-text {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin: 0;
}

.what-we-supply__footer {
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.what-we-supply__footer-text {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}

.what-we-supply__footer-links {
    display: flex;
    gap: 1.5rem;
}

.what-we-supply__footer-link {
    font-size: 0.875rem;
    color: var(--color-text-primary);
    text-decoration: none;
    font-weight: 500;
}

.what-we-supply__footer-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .what-we-supply {
        padding: 3rem 1.5rem;
        text-align: center;
    }

    .what-we-supply__title {
        font-size: 2rem;
    }

    .what-we-supply__benefits {
        grid-template-columns: 1fr;
    }

    .what-we-supply__benefit {
        align-items: center;
    }

    .what-we-supply__footer-links {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
}

/* Section Header (used elsewhere) */
.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
}

/* Regions */
.regions {
    background: var(--color-bg-light);
    padding: 5rem 2rem;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.regions-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.regions-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.regions-content p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.region-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.region-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.region-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent-blue-dark);
    border-radius: 50%;
}

.regions-visual {
    border-radius: 8px;
    padding: 1rem;
}

.regions-visual img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
}

/* Value props */
.value-props {
    background: var(--color-bg-white);
    padding: 5rem 2rem;
}

.value-props-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.value-props-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.value-prop {
    padding: 2rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
}

.value-prop-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-light);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.value-prop h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-text-primary);
}

.value-prop p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: var(--color-primary);
    padding: 5rem 2rem;
    color: var(--color-bg-white);
}

.cta-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.cta-content p {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cta-btn-primary {
    background: var(--color-bg-white);
    color: var(--color-primary);
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
}

.cta-btn-primary:hover {
    background: var(--color-bg-hover);
}

.cta-phone {
    color: var(--color-text-light);
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-decoration: none;
}

.cta-phone a {
    color: var(--color-bg-white);
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
}

/* Footer */
footer {
    background: var(--color-primary-dark);
    color: var(--color-text-muted);
    padding: 4rem 2rem 2rem;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--color-border-dark);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-brand .logo {
    color: var(--color-bg-white);
    display: inline-block;
    flex-shrink: 0;
}

.footer-brand .logo img {
    filter: brightness(0) invert(1);
}

.footer-brand .footer-tagline {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 300px;
    margin: 0;
}

.footer-right {
    display: flex;
    gap: 4rem;
}

.footer-col h4 {
    color: var(--color-bg-white);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-col a:hover {
    color: var(--color-bg-white);
}

.footer-col span {
    display: block;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-address:hover span {
    color: var(--color-bg-white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.footer-legal a {
    color: var(--color-text-muted);
    text-decoration: none;
    margin-left: 1.5rem;
}

.footer-legal a:hover {
    color: var(--color-bg-white);
}

/* Responsive */
@media (max-width: 1024px) {
    .regions-inner {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-right {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-page {
        padding-top: 6rem;
        min-height: auto;
    }

    .contact-info h1 {
        font-size: 2.5rem;
    }

    .quote-page-wrapper {
        padding-top: 6rem;
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 6rem;
        padding-bottom: 3rem;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.25rem;
        line-height: 1.2;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta-primary {
        white-space: nowrap;
    }

    .regions {
        padding: 3rem 2rem;
        text-align: center;
    }

    .regions-inner {
        gap: 2rem;
    }

    .regions-content p {
        margin-bottom: 0;
    }

    .regions-visual {
        height: auto;
        padding: 0;
    }

    .cta-actions {
        flex-direction: column;
        gap: 2rem;
    }

    .stats-bar {
        text-align: center;
    }

    .stats-bar-inner {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        padding-bottom: 1.5rem;
        width: 100%;
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .value-props-grid {
        grid-template-columns: 1fr;
    }

    .value-prop {
        text-align: center;
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .cta-phone {
        align-items: center;
    }

    nav {
        display: none;
    }

    .top-bar {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .category-checkboxes {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }

    .footer-brand {
        flex-direction: column;
        align-items: center;
    }

    .footer-right {
        flex-direction: column;
        align-items: center;
    }

    .contact-info h1 {
        font-size: 2rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .contact-item-icon {
        width: 40px;
        height: 40px;
    }

    .contact-item-icon svg {
        width: 20px;
        height: 20px;
    }

    .quote-page {
        padding: 1.5rem;
        border-radius: 8px;
    }

    .quote-page h1 {
        font-size: 1.75rem;
    }
}

/* Mobile menu (hamburger) */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    margin: 5px 0;
    transition: 0.3s;
}

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

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

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

@media (max-width: 768px) {
    header {
        position: fixed;
        width: 100%;
        top: 0;
        background: var(--color-bg-white);
        border-bottom: 1px solid var(--color-border);
    }

    .has-hero header {
        background: transparent;
        border-bottom: none;
    }

    .has-hero header.menu-open {
        background: var(--color-primary);
    }

    .mobile-menu-btn {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-bg-white);
        flex-direction: column;
        padding: 1.5rem 2rem 2rem;
        border-top: 1px solid var(--color-border);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    }

    nav.active {
        display: flex;
    }

    nav a,
    .has-hero nav a {
        font-size: 1.1rem;
        font-weight: 500;
        padding: 0.875rem 0;
        color: var(--color-text-primary);
        border-bottom: 1px solid var(--color-border);
        border-radius: 0;
    }

    /* Mobile menu order: Contact, Quote, What we supply, Language */
    nav > a:nth-child(1) { order: 3; } /* What we supply */
    nav > a:nth-child(2) { order: 1; } /* Contact */
    nav > .lang-switch { order: 4; }
    nav > .header-cta { order: 2; }

    nav a:hover,
    .has-hero nav a:hover {
        background: transparent;
        color: var(--color-accent-blue-dark);
    }

    nav .lang-switch,
    .has-hero nav .lang-switch {
        padding: 1rem 0;
        border-bottom: none;
    }

    nav .lang-switch a,
    .has-hero nav .lang-switch a {
        font-size: 0.95rem;
        padding: 0.25rem 0.5rem;
        color: var(--color-text-muted);
    }

    nav .lang-switch a:hover,
    .has-hero nav .lang-switch a:hover {
        color: var(--color-text-primary);
    }

    nav .lang-switch a.active,
    .has-hero nav .lang-switch a.active {
        color: var(--color-text-primary);
        font-weight: 600;
    }

    nav .lang-switch span,
    .has-hero nav .lang-switch span {
        color: var(--color-text-light);
    }

    nav .header-cta {
        margin: 0;
        background: var(--color-primary);
        color: var(--color-bg-white) !important;
        text-align: center;
        padding: 0.875rem 1.5rem;
        border-bottom: none;
    }

    nav .header-cta:hover {
        background: var(--color-primary-light);
        color: var(--color-bg-white) !important;
    }

    /* Standard header - dark hamburger, dark menu */
    .mobile-menu-btn span {
        background: var(--color-primary);
    }

    .mobile-menu-btn.active span {
        background: var(--color-primary);
    }

    /* Hero pages - white hamburger */
    .has-hero .mobile-menu-btn span {
        background: var(--color-bg-white);
    }

    .has-hero .mobile-menu-btn.active span {
        background: var(--color-bg-white);
    }

    /* Ensure body scroll is handled */
    body.menu-open {
        overflow: hidden;
    }

}

/* Menu overlay - mobile only */
.menu-overlay {
    display: none;
}

@media (max-width: 768px) {
    .menu-overlay.active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 99;
    }
}

