/* ==========================================================================
   WasserStromGas.de - Enterprise 2026 Master Stylesheet
   ========================================================================== */

:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;
    --primary-border: #bfdbfe;
    
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-subtle: #f8fafc;
    --bg-header: #0a0f1d;
    --bg-hero: #070c18;
    
    --text-main: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;
    
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --border-focus: #3b82f6;
    
    --color-wasser: #0284c7;
    --color-wasser-bg: #f0f9ff;
    --color-wasser-border: #7dd3fc;
    
    --color-strom: #ef4444;
    --color-strom-bg: #fef2f2;
    --color-strom-border: #fca5a5;
    
    --color-gas: #ea580c;
    --color-gas-bg: #fff7ed;
    --color-gas-border: #fdba74;
    
    --color-success: #10b981;
    --color-success-bg: #ecfdf5;
    
    --color-warning: #f59e0b;
    --color-warning-bg: #fef3c7;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 2px 10px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02);
    --shadow-card-hover: 0 12px 28px -4px rgba(0, 0, 0, 0.08), 0 4px 8px -2px rgba(0, 0, 0, 0.04);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 22px;
    --radius-full: 9999px;
    --container-max: 1240px;
}

[data-theme="dark"] {
    --bg-page: #070b14;
    --bg-card: #0f172a;
    --bg-card-subtle: #1e293b;
    --bg-header: #04070f;
    --bg-hero: #03060c;
    
    --text-main: #f8fafc;
    --text-body: #cbd5e1;
    --text-muted: #94a3b8;
    --border: #1e293b;
    --border-light: #131d31;
    
    --color-wasser-bg: #0c2840;
    --color-strom-bg: #3b0d0d;
    --color-gas-bg: #381407;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.15s ease;
}
a:hover {
    text-decoration: none;
    color: var(--primary-hover);
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.site-navbar {
    background-color: var(--bg-header);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 16px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    text-decoration: none !important;
    white-space: nowrap;
}

.logo-icons-wrap {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 1.2rem;
    line-height: 1;
}

.logo-brand-text {
    color: #ffffff;
}

.logo-tld {
    color: #38bdf8;
    font-weight: 800;
}

.badge-live-radar {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.35);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.06em;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #ef4444;
    border-radius: 50%;
    animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.8); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.nav-link:hover, .nav-link.active {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}
.nav-link.active {
    background: rgba(37, 99, 235, 0.25);
    color: #60a5fa;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background 0.15s ease;
}
.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}
.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.15s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff !important;
}
.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-danger {
    background-color: #ef4444;
    color: #ffffff !important;
}
.btn-danger:hover {
    background-color: #dc2626;
}

.btn-outline {
    background: transparent;
    border-color: var(--border);
    color: var(--text-main);
}
.btn-outline:hover {
    background: var(--bg-card-subtle);
    border-color: #cbd5e1;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.85rem;
}

/* Breadcrumb Bar */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}
.breadcrumb-nav a {
    color: var(--text-muted);
    font-weight: 500;
}
.breadcrumb-nav a:hover {
    color: var(--primary);
}
.breadcrumb-sep {
    color: #94a3b8;
    font-size: 0.75rem;
}
.breadcrumb-current {
    color: var(--text-main);
    font-weight: 700;
}

/* Hero Section */
.hero-section {
    background: radial-gradient(ellipse at 50% -20%, #1e3a8a 0%, #070c18 80%);
    color: #ffffff;
    padding: 56px 0 48px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    color: #93c5fd;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: #94a3b8;
    max-width: 680px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.hero-search-box {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
}

.search-input-wrapper {
    display: flex;
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.search-input {
    flex: 1;
    border: none;
    padding: 16px 20px;
    font-size: 1.05rem;
    outline: none;
    color: #0f172a;
    background: transparent;
}

.search-btn {
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 0 24px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
}
.search-btn:hover {
    background: var(--primary-hover);
}

.hero-quick-chips {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: #64748b;
}
.quick-chip {
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-weight: 500;
    transition: all 0.15s ease;
}
.quick-chip:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.search-autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 100;
    max-height: 320px;
    overflow-y: auto;
    display: none;
    text-align: left;
}

/* Stats Bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: -28px auto 36px;
    position: relative;
    z-index: 10;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
}

.stat-icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-val {
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-main);
}

.stat-lbl {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Map Section */
.map-section {
    margin-bottom: 40px;
}

.map-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.map-header {
    padding: 16px 22px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.map-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-main);
}

.map-filters {
    display: flex;
    gap: 6px;
}

.map-filter-btn {
    padding: 6px 14px;
    font-size: 0.85rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: var(--bg-page);
    color: var(--text-main);
    cursor: pointer;
    font-weight: 700;
    transition: all 0.15s ease;
}
.map-filter-btn:hover {
    background: var(--border);
}
.map-filter-btn.active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

#leafletMap {
    width: 100%;
    height: 480px;
    background: #e2e8f0;
    z-index: 1;
}

/* Section Headers (Clean Flexbox on Desktop, Clean Stack on Mobile) */
.service-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
    gap: 16px;
}

.service-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-main);
}

.service-section-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 3px;
}

.btn-view-all {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
    white-space: nowrap;
    flex-shrink: 0;
}
.btn-view-all:hover {
    background: var(--primary);
    color: #ffffff !important;
    border-color: var(--primary);
}

/* Outage Cards */
.outages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.outage-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.outage-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--primary);
}

.outage-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
}
.badge-strom { background: var(--color-strom-bg); color: var(--color-strom); border: 1px solid var(--color-strom-border); }
.badge-wasser { background: var(--color-wasser-bg); color: var(--color-wasser); border: 1px solid var(--color-wasser-border); }
.badge-gas { background: var(--color-gas-bg); color: var(--color-gas); border: 1px solid var(--color-gas-border); }

.provider-badge {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    border: 1px solid #e2e8f0;
    text-transform: uppercase;
}

.outage-location-headline {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 8px 0 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.affected-streets-box {
    background: var(--bg-card-subtle);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    margin: 10px 0 14px;
    font-size: 0.85rem;
    line-height: 1.45;
}
.affected-streets-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 2px;
}
.affected-streets-text {
    color: var(--text-main);
    font-weight: 600;
}

.progress-section {
    margin-bottom: 12px;
}
.progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 5px;
}
.progress-track {
    width: 100%;
    height: 7px;
    background: #e2e8f0;
    border-radius: var(--radius-full);
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    border-radius: var(--radius-full);
    background: linear-gradient(90deg, #f59e0b 0%, #10b981 100%);
}

.outage-times-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border);
}
.outage-time-col strong {
    display: block;
    color: var(--text-main);
    font-size: 0.85rem;
    margin-top: 1px;
}

.outage-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.remaining-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #b45309;
    background: #fef3c7;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.btn-detail {
    background: #0f172a;
    color: #ffffff !important;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none !important;
    transition: all 0.15s ease;
}
.btn-detail:hover {
    background: var(--primary);
    transform: translateX(2px);
}

/* PLZ Detail Card */
.plz-detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-card);
}

.plz-header-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.plz-main-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-main);
    margin-bottom: 10px;
    line-height: 1.25;
}

.plz-main-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.status-banner-box {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 24px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}
.status-box-ok {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #6ee7b7;
    color: #065f46;
}
.status-box-alert {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid #fca5a5;
    color: #991b1b;
}
.status-box-icon {
    font-size: 2.8rem;
    line-height: 1;
    flex-shrink: 0;
}
.status-box-headline {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 4px;
    line-height: 1.2;
}
.status-box-text {
    font-size: 0.95rem;
    opacity: 0.95;
    line-height: 1.5;
}

.cross-services-bar {
    background: var(--bg-card-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.cross-services-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
}
.cross-service-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 7px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}
.cross-service-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.plz-action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* City Directory Section */
.city-directory-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 30px;
    margin-bottom: 45px;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.city-directory-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.city-directory-title {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 6px;
}

.city-directory-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 28px;
}

.city-pills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.city-pill-card {
    background: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.15s ease;
}
.city-pill-card:hover {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
    transform: translateY(-2px);
}
.city-state-code {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 700;
    background: rgba(0, 0, 0, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
}

/* State Accordion Items */
.state-accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.state-accordion-item:hover {
    border-color: #cbd5e1;
    box-shadow: var(--shadow-sm);
}

.state-accordion-header {
    background: var(--bg-card-subtle);
    padding: 16px 20px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s ease;
}
.state-accordion-header:hover {
    background: #eef2f6;
}

.state-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    margin-right: 8px;
}

.state-accordion-body {
    padding: 18px 20px;
    background: var(--bg-card);
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 12px;
    border-top: 1px solid var(--border);
}

.city-pill-link {
    background: var(--bg-page);
    border: 1px solid var(--border);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.15s ease;
}
.city-pill-link:hover {
    border-color: var(--primary);
    background: #ffffff;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

/* Surrounding Grid & FAQ */
.states-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    margin-bottom: 40px;
}
.state-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.15s ease;
}
.state-card:hover {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.faq-question {
    padding: 18px 22px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
    user-select: none;
}
.faq-answer {
    padding: 0 22px 18px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-card);
    margin-bottom: 24px;
}

/* Footer */
.site-footer {
    background: #060a14;
    color: #94a3b8;
    padding-top: 50px;
    margin-top: 60px;
    border-top: 1px solid #131b2e;
}
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 36px;
    margin-bottom: 40px;
}
.footer-logo {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 12px;
}
.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
}
.footer-title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.9rem;
}
.footer-links a {
    color: #94a3b8;
    text-decoration: none;
}
.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}
.footer-bottom {
    background: #03050a;
    padding: 20px 0;
    border-top: 1px solid #0d1527;
    font-size: 0.85rem;
}

/* Modal & Cookie */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(7, 12, 24, 0.75);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.modal-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    max-width: 540px;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}
.modal-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
}
.modal-close {
    background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-muted);
}
.modal-body { padding: 24px; }
.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background: var(--bg-page);
}
.form-group { margin-bottom: 16px; }
.form-row { display: flex; gap: 12px; }
.form-label {
    display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 6px; color: var(--text-main);
}
.form-input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--text-main);
    font-size: 0.95rem;
    outline: none;
    transition: border 0.15s ease;
}
.form-input:focus { border-color: var(--border-focus); }

.radio-cards {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.radio-card {
    border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px; text-align: center; cursor: pointer; font-size: 0.85rem; font-weight: 700;
}
.radio-card input { display: none; }
.radio-card:has(input:checked) {
    border-color: var(--primary); background: rgba(37, 99, 235, 0.08); color: var(--primary);
}

.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; background: #0f172a; color: #f1f5f9; border-top: 1px solid #334155; padding: 16px 0; z-index: 9999;
}
.cookie-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.cookie-text { font-size: 0.85rem; flex: 1; min-width: 280px; }
.cookie-actions { display: flex; gap: 10px; }

/* Mobile Rules */
@media (max-width: 900px) {
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .navbar-inner { height: 64px; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg-header);
        flex-direction: column;
        padding: 16px;
        gap: 6px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    }
    .nav-menu.open { display: flex; }
    .mobile-menu-toggle { display: flex; }
    
    .hero-title { font-size: 1.65rem; }
    .hero-subtitle { font-size: 0.95rem; }
    
    .stats-bar {
        grid-template-columns: 1fr 1fr;
        margin-top: -20px;
        gap: 10px;
    }
    .stat-card { padding: 14px 12px; gap: 10px; }
    .stat-val { font-size: 1.35rem; }
    .stat-lbl { font-size: 0.75rem; }
    
    .service-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .service-section-title { font-size: 1.15rem; }
    .btn-view-all { width: 100%; justify-content: center; }
    
    .plz-detail-card { padding: 24px 18px; }
    .plz-main-title { font-size: 1.55rem; }
    .status-banner-box {
        flex-direction: column; text-align: center; padding: 18px 14px; gap: 12px;
    }
    .status-box-icon { font-size: 2.2rem; }
    .cross-services-bar {
        flex-direction: column; align-items: flex-start; gap: 8px;
    }
    .plz-action-buttons {
        flex-direction: column; width: 100%;
    }
    .plz-action-buttons .btn { width: 100%; }
    
    .outages-grid { grid-template-columns: 1fr; }
    .city-pills-grid { grid-template-columns: 1fr 1fr; }
    .footer-content { grid-template-columns: 1fr; }
    .radio-cards { grid-template-columns: 1fr; }
}

/* Institutional Logo Shield & Corporate Header */
.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    text-decoration: none !important;
    white-space: nowrap;
}

.logo-shield-badge {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-brand-main {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.logo-subline {
    font-size: 0.65rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}


/* ==========================================================================
   Pagination Bar (SEO-Friendly Clean Pagination)
   ========================================================================== */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 36px 0 20px;
    flex-wrap: wrap;
}

.page-numbers {
    display: flex;
    gap: 6px;
    align-items: center;
}

.page-link {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none !important;
    min-width: 40px;
    text-align: center;
    transition: all 0.15s ease;
}

.page-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--bg-page);
}

.page-link.active {
    background: var(--primary);
    color: #ffffff !important;
    border-color: var(--primary);
}

.page-prev, .page-next {
    padding: 8px 18px;
}

.page-ellipsis {
    color: var(--text-muted);
    font-weight: 700;
    padding: 0 4px;
}
