:root {
    --brand-slate-900: #0f172a;
    --brand-slate-700: #1f2937;
    --brand-slate-100: #f5f6f8;
    --brand-accent: #d97706;
    --brand-accent-soft: #fbbf24;
    --brand-muted: #64748b;
    --brand-border: rgba(15, 23, 42, 0.08);
}

body {
    background: var(--brand-slate-100);
    color: var(--brand-slate-700);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

[data-theme="dark"] body,
html[data-theme="dark"] body {
    background: var(--brand-slate-900);
    color: rgba(226, 232, 240, 0.92);
}

.blueprint-pattern {
    opacity: 0.08 !important;
    mix-blend-mode: multiply;
    filter: grayscale(100%);
}

main {
    background: transparent;
}

.section-heading {
    font-size: clamp(2rem, 2.8vw, 2.8rem);
    font-weight: 700;
    color: var(--brand-slate-900);
    margin-bottom: 0.75rem;
}

.section-subheading {
    color: var(--brand-muted);
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.7;
}

[data-theme="dark"] .section-heading {
    color: #f1f5f9;
}

[data-theme="dark"] .section-subheading {
    color: rgba(226, 232, 240, 0.7);
}

.card {
    background: white;
    border-radius: 20px;
    border: 1px solid var(--brand-border);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    padding: 1.75rem;
    transition: all 0.3s ease;
}

.card-muted {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(18px);
}

/* Enhanced Light Mode Cards */
[data-theme="light"] .card {
    background: var(--light-card-bg-gradient);
    border: 1px solid var(--light-border-default);
    box-shadow: var(--light-card-shadow);
}

[data-theme="light"] .card:hover {
    box-shadow: var(--light-card-shadow-hover);
    border-color: var(--light-border-accent);
    transform: translateY(-2px);
}

[data-theme="light"] .card-muted {
    background: var(--light-card-bg-gradient-alt);
    border: 1px solid var(--light-border-subtle);
    backdrop-filter: blur(18px);
}

[data-theme="dark"] .card,
[data-theme="dark"] .card-muted {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(148, 163, 184, 0.18);
    box-shadow: 0 18px 40px rgba(8, 15, 26, 0.6);
}

.stat-value {
    font-size: clamp(2.2rem, 3.5vw, 3.8rem);
    font-weight: 700;
    color: var(--brand-slate-900);
}

.stat-label {
    margin-top: 0.5rem;
    color: var(--brand-muted);
    font-weight: 500;
}

[data-theme="dark"] .stat-value {
    color: #f8fafc;
}

.badge-minimal {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border-radius: 9999px;
    background: rgba(217, 119, 6, 0.14);
    color: var(--brand-accent);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

[data-theme="light"] .badge-minimal {
    background: var(--light-accent-bg-light);
    border: 1px solid var(--light-border-accent);
    color: var(--light-accent-primary);
}

[data-theme="light"] .badge-minimal:hover {
    background: var(--light-accent-bg-medium);
    border-color: var(--light-border-accent-hover);
}

[data-theme="dark"] .badge-minimal {
    background: rgba(248, 191, 48, 0.16);
    color: #fbbf24;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.85rem 1.8rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
    text-decoration: none;
    border: 1px solid transparent;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:focus-visible {
    outline: 3px solid rgba(217, 119, 6, 0.35);
    outline-offset: 3px;
}

.btn-primary {
    background: var(--brand-accent);
    color: white;
    box-shadow: 0 14px 30px rgba(217, 119, 6, 0.28);
}

.btn-primary:hover {
    background: #b45309;
    box-shadow: 0 18px 34px rgba(217, 119, 6, 0.32);
}

[data-theme="light"] .btn-primary {
    background: linear-gradient(135deg, var(--light-accent-primary) 0%, var(--light-accent-secondary) 100%);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

[data-theme="light"] .btn-primary:hover {
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.4);
}

.btn-secondary {
    background: transparent;
    border-color: rgba(15, 23, 42, 0.16);
    color: var(--brand-slate-700);
}

.btn-secondary:hover {
    border-color: rgba(15, 23, 42, 0.28);
    color: var(--brand-slate-900);
    background: rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .btn-secondary {
    background: var(--light-card-bg-solid);
    border-color: var(--light-border-accent);
    color: var(--light-accent-primary);
    box-shadow: var(--light-shadow-sm);
}

[data-theme="light"] .btn-secondary:hover {
    background: var(--light-accent-bg-light);
    border-color: var(--light-border-accent-hover);
    color: var(--light-accent-primary-hover);
}

[data-theme="dark"] .btn-secondary {
    color: rgba(226, 232, 240, 0.9);
    border-color: rgba(148, 163, 184, 0.35);
    background: rgba(148, 163, 184, 0.06);
}

[data-theme="dark"] .btn-secondary:hover {
    background: rgba(148, 163, 184, 0.12);
}

.link-inline {
    color: var(--brand-accent);
    font-weight: 600;
}

.link-inline:hover {
    color: #b45309;
}

[data-theme="dark"] .link-inline {
    color: #fbbf24;
}

[data-theme="dark"] .link-inline:hover {
    color: #facc15;
}

.surface-muted {
    background: white;
    border-radius: 32px;
    padding: 4rem 3rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

[data-theme="dark"] .surface-muted {
    background: rgba(15, 23, 42, 0.92);
    border-color: rgba(148, 163, 184, 0.16);
    box-shadow: 0 28px 80px rgba(8, 15, 26, 0.75);
}

.section-divider {
    width: 72px;
    height: 3px;
    border-radius: 9999px;
    background: linear-gradient(90deg, rgba(217, 119, 6, 0), rgba(217, 119, 6, 0.9), rgba(217, 119, 6, 0));
    margin-bottom: 1.5rem;
}

.service-area-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.95rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.92);
    color: var(--brand-slate-700);
    cursor: pointer;
    transition: all 0.2s ease;
}

.service-area-chip:hover,
.service-area-chip:focus {
    border-color: rgba(217, 119, 6, 0.6);
    color: var(--brand-accent);
    box-shadow: 0 10px 24px rgba(217, 119, 6, 0.1);
}

[data-theme="dark"] .service-area-chip {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(148, 163, 184, 0.25);
    color: rgba(226, 232, 240, 0.92);
}

[data-theme="dark"] .service-area-chip:hover,
[data-theme="dark"] .service-area-chip:focus {
    border-color: rgba(248, 191, 48, 0.6);
    color: #facc15;
}

.zone-panel {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 24px;
    padding: 1.5rem;
    width: min(340px, 90vw);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

[data-theme="dark"] .zone-panel {
    background: rgba(15, 23, 42, 0.88);
    border-color: rgba(148, 163, 184, 0.18);
    box-shadow: 0 24px 70px rgba(8, 15, 26, 0.6);
}

.zone-panel h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brand-slate-900);
}

[data-theme="dark"] .zone-panel h4 {
    color: #f8fafc;
}

.zone-panel p {
    color: var(--brand-muted);
    line-height: 1.6;
}

[data-theme="dark"] .zone-panel p {
    color: rgba(226, 232, 240, 0.75);
}

.zone-panel .coverage-meta {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: rgba(100, 116, 139, 0.9);
}

[data-theme="dark"] .zone-panel .coverage-meta {
    color: rgba(226, 232, 240, 0.65);
}

.map-fullscreen-wrapper {
    position: relative;
    width: 100%;
    height: clamp(60vh, 75vh, 90vh);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

[data-theme="dark"] .map-fullscreen-wrapper {
    border-color: rgba(148, 163, 184, 0.18);
    box-shadow: 0 28px 80px rgba(8, 15, 26, 0.7);
}

.coverage-overlay {
    position: absolute;
    top: 5%;
    right: 3%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    z-index: 2;
    max-height: 90%;
    overflow-y: auto;
    padding-right: 0.4rem;
}

.coverage-overlay::-webkit-scrollbar {
    width: 6px;
}

.coverage-overlay::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.35);
    border-radius: 999px;
}

[data-theme="dark"] .coverage-overlay::-webkit-scrollbar-thumb {
    background: rgba(248, 191, 48, 0.25);
}

.full-bleed {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
}

@media (max-width: 1023px) {
    .map-fullscreen-wrapper {
        border-radius: 24px;
        height: 65vh;
    }

    .coverage-overlay {
        position: static;
        flex-direction: row;
        gap: 1rem;
        max-height: none;
        overflow: visible;
        padding: 1.25rem;
    }

    .zone-panel {
        width: 100%;
    }
}

@media (max-width: 639px) {
    body {
        background: white;
    }

    .surface-muted {
        padding: 2.5rem 1.75rem;
        border-radius: 24px;
    }

    .map-fullscreen-wrapper {
        border-radius: 20px;
        height: 60vh;
    }

    .coverage-overlay {
        flex-direction: column;
        padding: 1rem;
    }
}

.hero-section.hero-minimal {
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 1));
    color: white;
}

.hero-section.hero-minimal .hero-background-overlay {
    background: linear-gradient(125deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.65));
}

.hero-section.hero-minimal .hero-title,
.hero-section.hero-minimal .tagline-primary,
.hero-section.hero-minimal .tagline-secondary {
    background: none;
    -webkit-text-fill-color: inherit;
    color: white;
}

.hero-section.hero-minimal .tagline-primary,
.hero-section.hero-minimal .tagline-secondary {
    color: rgba(241, 245, 249, 0.9);
}

.hero-section.hero-minimal .cta-button,
.hero-section.hero-minimal .btn {
    border-radius: 14px;
}

.hero-section.hero-minimal .cta-button { min-width: 0; }

.hero-section.hero-minimal .hero-logo,
.hero-section.hero-minimal .dynamic-logo .logo-image {
    filter: none;
}

.hero-section.hero-minimal .hero-scroll-indicator .scroll-text {
    color: rgba(226, 232, 240, 0.55);
}

.hero-section.hero-minimal .scroll-mouse {
    border-color: rgba(241, 245, 249, 0.25);
    background: rgba(15, 23, 42, 0.6);
}

.hero-section.hero-minimal .scroll-dot {
    background: rgba(248, 191, 48, 0.7);
}
