/* USA Emergency Plumbing Network - Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #0284c7;
    --primary-dark: #0369a1;
    --accent: #dc2626;
    --accent-hover: #b91c1c;
    --hero-bg: #0f172a;
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --text-dark: #0f172a;
    --text-muted: #475569;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --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: 74px;
}

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.25);
    color: #fca5a5;
    padding: 2px 10px;
    border-radius: 9999px;
    font-weight: 700;
    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: 12px;
}
.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #ffffff;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.35rem;
}
.brand-text {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}
.brand-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
}
.nav-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background-color 0.2s, transform 0.1s;
}
.nav-phone-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

/* Breadcrumb */
.breadcrumb-wrap {
    background: #f1f5f9;
    padding: 10px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
}
.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
}
.breadcrumb-list a {
    color: var(--primary);
    font-weight: 500;
}
.breadcrumb-list a:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--hero-bg) 0%, #1e293b 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;
}
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 18px;
}
.hero h1 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -0.03em;
}
.hero-desc {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 28px;
    line-height: 1.6;
}
.hero-cta-box {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
}
.btn-emergency {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 800;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px -5px rgba(220, 38, 38, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-emergency:hover {
    transform: scale(1.02);
    box-shadow: 0 14px 28px -5px rgba(220, 38, 38, 0.5);
}
.hero-guarantees {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.875rem;
    color: #94a3b8;
    margin-top: 10px;
}
.hero-guarantees span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Quick Search / Jump Bar */
.jump-nav {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}
.jump-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-dark);
}
.jump-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.jump-pill {
    background: #f1f5f9;
    color: var(--text-dark);
    padding: 8px 14px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
    border: 1px solid var(--border-color);
}
.jump-pill:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* Sections */
.section {
    padding: 70px 0;
}
.section-light {
    background: var(--bg-light);
}
.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px;
}
.section-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}
.section-header h2 {
    font-size: clamp(1.75rem, 2.5vw, 2.4rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}
.section-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* Niche Silo Cards */
.niche-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 28px;
}
@media (max-width: 600px) {
    .niche-grid { grid-template-columns: 1fr; }
}
.niche-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 28px;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}
.niche-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.niche-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}
.niche-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-dark);
}
.niche-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}
.niche-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
}
.niche-link-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-dark);
    padding: 6px 8px;
    border-radius: 6px;
    background: #f8fafc;
}
.niche-link-item:hover {
    background: #e0f2fe;
}

/* Hub Card & City Coverage Grid */
.coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 14px;
}
.city-badge-link {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 14px 18px;
    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(3px);
}
.city-badge-link span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}
.service-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.service-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.service-body {
    padding: 24px;
}
.service-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.service-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 18px;
}
.service-cta {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.feature-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    text-align: center;
}
.feature-icon-circle {
    width: 56px;
    height: 56px;
    background: #e0f2fe;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 18px;
}
.feature-box h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.feature-box p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* Urgent Action Banner */
.urgent-cta-strip {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    padding: 44px 24px;
    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);
}

/* FAQ */
.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;
}
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
.footer-col h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-links a:hover {
    color: #ffffff;
}
.legal-disclaimer {
    border-top: 1px solid #1e293b;
    padding-top: 24px;
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.6;
}

/* Sticky Mobile Bar */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 10px 16px;
    display: none;
    z-index: 999;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.08);
}
@media (max-width: 768px) {
    .mobile-sticky-bar {
        display: block;
    }
}
.mobile-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--accent);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    width: 100%;
}
