/* Silicon Valley Emergency Plumbers - Theme: tech-cyan */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&display=swap');

:root {
    --primary: #0891b2;
    --primary-dark: #0e7490;
    --accent: #16a34a;
    --accent-hover: #15803d;
    --hero-bg: #090d16;
    --font-main: Montserrat, -apple-system, sans-serif;
    --text-dark: #0f172a;
    --text-muted: #475569;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 72px; /* Space for mobile sticky call bar */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Urgent Banner */
.top-bar {
    background-color: var(--hero-bg);
    color: #f1f5f9;
    font-size: 0.875rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.top-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    padding: 2px 10px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.75rem;
}
.live-pulse {
    width: 8px;
    height: 8px;
    background-color: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    animation: pulse 1.8s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Header Navigation */
.site-header {
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 14px 0;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--primary);
    color: #ffffff;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
}
.brand-text {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}
.brand-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}
.nav-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.2s ease, transform 0.2s ease;
}
.nav-phone-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--hero-bg) 0%, #030712 100%);
    color: #ffffff;
    padding: 60px 0 70px;
    position: relative;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.85rem;
    color: #cbd5e1;
    margin-bottom: 20px;
}
.hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
    color: #ffffff;
}
.hero h1 span {
    color: var(--primary);
    background: linear-gradient(90deg, #38bdf8, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-desc {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 28px;
    max-width: 600px;
}
.hero-cta-box {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}
.btn-emergency {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--accent);
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 800;
    padding: 16px 28px;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
    transition: all 0.2s ease;
}
.btn-emergency:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.5);
}
.hero-guarantees {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: #94a3b8;
}
.hero-guarantees span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.hero-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 24px;
    backdrop-filter: blur(8px);
}
.hero-card-img {
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    text-align: center;
    margin-top: 16px;
}
.stat-box {
    background: rgba(255,255,255,0.06);
    padding: 10px;
    border-radius: var(--radius-sm);
}
.stat-num {
    font-size: 1.2rem;
    font-weight: 800;
    color: #38bdf8;
}
.stat-lbl {
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
}

/* Section Titles */
.section {
    padding: 70px 0;
}
.section-light {
    background-color: var(--bg-light);
}
.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 50px;
}
.section-subtitle {
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}
.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-dark);
    margin-bottom: 14px;
}
.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.service-img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}
.service-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.service-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}
.service-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 18px;
    flex-grow: 1;
}
.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
}
.service-cta:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Why Choose Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}
.feature-box {
    background: #ffffff;
    padding: 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}
.feature-icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(2, 132, 199, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
}
.feature-box h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}
.feature-box p {
    color: var(--text-muted);
    font-size: 0.925rem;
}

/* Emergency Alert Strip */
.urgent-cta-strip {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    padding: 40px 0;
    border-radius: var(--radius-lg);
    margin: 40px auto;
    text-align: center;
}
.urgent-cta-strip h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 12px;
}
.urgent-cta-strip p {
    font-size: 1.05rem;
    color: #e0f2fe;
    max-width: 650px;
    margin: 0 auto 24px;
}
.btn-strip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 800;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: transform 0.2s;
}
.btn-strip:hover {
    transform: scale(1.03);
}

/* City Coverage Grid */
.coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.city-badge-link {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.2s ease;
}
.city-badge-link:hover {
    border-color: var(--primary);
    background: #f0f9ff;
    color: var(--primary);
    transform: translateX(4px);
}
.city-badge-link span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* FAQ Accordion */
.faq-grid {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 24px;
}
.faq-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.faq-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer */
.site-footer {
    background-color: #0b1329;
    color: #cbd5e1;
    padding: 60px 0 40px;
    font-size: 0.925rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand h4 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 12px;
}
.footer-brand p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
}
.footer-links h5, .footer-contact h5 {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.footer-links ul {
    list-style: none;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links a:hover {
    color: #38bdf8;
    text-decoration: underline;
}
.footer-contact p {
    color: #94a3b8;
    margin-bottom: 10px;
}
.footer-phone-highlight {
    color: #f87171;
    font-size: 1.2rem;
    font-weight: 800;
    display: block;
    margin-top: 6px;
}
.footer-disclaimer {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    color: #64748b;
    font-size: 0.75rem;
    line-height: 1.6;
}

/* Mobile Sticky Call Bar */
.mobile-call-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #0f172a;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 10px 16px;
    z-index: 9999;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.25);
}
.mobile-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    background: var(--accent);
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 10px rgba(220, 38, 38, 0.4);
}

/* Breadcrumbs */
.breadcrumb-wrap {
    background: #f1f5f9;
    padding: 12px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}
.breadcrumb-list li a {
    color: var(--primary);
}
.breadcrumb-list li a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .mobile-call-bar {
        display: block;
    }
    .nav-phone-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    .top-bar-content {
        justify-content: center;
        text-align: center;
    }
    .hero {
        padding: 40px 0 50px;
    }
    .section {
        padding: 50px 0;
    }
}
