/* ===========================
   LOCAL PLUMBER NOW 24/7 - CSS
   =========================== */

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

:root {
    --blue: #1565C0;
    --blue-dark: #0D47A1;
    --blue-mid: #1a3a6b;
    --blue-light: #42A5F5;
    --blue-glow: rgba(21, 101, 192, 0.35);
    --orange: #FF6B35;
    --orange-dark: #e85a28;
    --orange-light: #ffa07a;
    --dark: #0d1b2a;
    --dark-mid: #162235;
    --charcoal: #1e2d3d;
    --white: #ffffff;
    --off-white: #f5f8fc;
    --text-gray: #546e7a;
    --border: #dde8f5;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.18);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--charcoal);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- TOP BAR ---- */
.top-bar {
    background: var(--orange);
    padding: 8px 0;
    text-align: center;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.top-bar span {
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.top-bar-dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: inline-block;
}

/* ---- HEADER ---- */
.site-header {
    background: var(--dark);
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 2px solid var(--blue);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 16px;
}

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

.logo-icon {
    font-size: 30px;
}

.logo-text {
    font-size: 21px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--orange);
}

.header-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.header-tagline {
    color: #7a99bb;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.header-phone {
    color: var(--orange);
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: color 0.2s;
}

.header-phone:hover {
    color: var(--orange-light);
}

/* ---- HERO ---- */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 55%, #0a2040 100%);
    min-height: 580px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('hero.jpg') center/cover no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(21, 101, 192, 0.1) 0%, transparent 65%),
        radial-gradient(ellipse at 25% 80%, rgba(255, 107, 53, 0.07) 0%, transparent 55%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 90px 20px;
    text-align: center;
}

.hero-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(21, 101, 192, 0.18);
    color: var(--blue-light);
    border: 1px solid rgba(66, 165, 245, 0.35);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 7px 20px;
    margin-bottom: 26px;
    text-transform: uppercase;
}

.hero-location::before {
    content: '📍';
    font-size: 14px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 53, 0.15);
    color: var(--orange-light);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 5px 16px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(38px, 6.5vw, 68px);
    font-weight: 900;
    color: var(--white);
    line-height: 1.08;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.hero-title .highlight {
    color: var(--orange);
    position: relative;
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 21px);
    color: #8aaabb;
    margin-bottom: 38px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.55;
}

.hero-note {
    color: #6a8899;
    font-size: 13px;
    margin-top: 18px;
    letter-spacing: 0.5px;
}

.hero-note .dot {
    margin: 0 6px;
    opacity: 0.5;
}

/* ---- CTA BUTTONS ---- */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--orange);
    color: var(--white);
    text-decoration: none;
    font-weight: 800;
    border-radius: 100px;
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: none;
}

.cta-btn--large {
    font-size: clamp(19px, 2.8vw, 26px);
    padding: 18px 46px;
    box-shadow: 0 6px 32px rgba(255, 107, 53, 0.45);
}

.cta-btn--primary {
    font-size: 18px;
    padding: 14px 32px;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.35);
}

.cta-btn--blue {
    background: var(--blue);
    font-size: 18px;
    padding: 14px 32px;
    box-shadow: 0 4px 20px rgba(21, 101, 192, 0.35);
}

.cta-btn--blue:hover {
    background: var(--blue-dark);
    box-shadow: 0 10px 40px rgba(21, 101, 192, 0.5);
}

.cta-btn--white {
    background: var(--white);
    color: var(--dark);
}

.cta-btn:hover {
    transform: translateY(-3px) scale(1.03);
    background: var(--orange-dark);
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.55);
}

.cta-btn--white:hover {
    background: #ffe8df;
    color: var(--dark);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.3);
}

.cta-icon {
    font-size: 1em;
}

/* Pulse animation for hero CTA */
@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.65);
    }

    70% {
        box-shadow: 0 0 0 22px rgba(255, 107, 53, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0);
    }
}

.pulse-btn {
    animation: pulse-ring 2.5s infinite;
}

/* ---- TRUST SECTION ---- */
.trust-section {
    background: var(--charcoal);
    padding: 28px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--white);
}

.trust-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.trust-label {
    font-size: 13.5px;
    color: #b0c4d8;
    line-height: 1.4;
}

.trust-label strong {
    display: block;
    color: var(--white);
    font-size: 14.5px;
    font-weight: 700;
    margin-bottom: 2px;
}

/* ---- EMERGENCY BANNER ---- */
.emergency-banner {
    background: linear-gradient(90deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
    padding: 22px 0;
    text-align: center;
    border-top: 1px solid rgba(66, 165, 245, 0.2);
    border-bottom: 1px solid rgba(66, 165, 245, 0.2);
}

.emergency-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.emergency-text {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
}

.emergency-text span {
    color: var(--orange-light);
}

/* ---- SERVICES SECTION ---- */
.services-section {
    padding: 84px 0;
    background: var(--off-white);
}

.services-inner {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: start;
}

.section-eyebrow {
    color: var(--blue);
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 12px;
}

.section-eyebrow--light {
    color: var(--blue-light);
}

.section-title {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 900;
    color: var(--dark);
    line-height: 1.18;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-title--white {
    color: var(--white);
}

.section-desc {
    color: var(--text-gray);
    font-size: 16px;
    margin-bottom: 32px;
    line-height: 1.75;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
    margin-bottom: 32px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--charcoal);
    font-weight: 500;
    padding: 10px 14px;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.service-item:hover {
    border-color: var(--blue-light);
    box-shadow: 0 3px 12px rgba(21, 101, 192, 0.12);
}

.service-item-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.sidebar-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 34px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: 20px;
    border-top: 4px solid var(--orange);
}

.sidebar-card h3 {
    font-size: 19px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 18px;
}

.sidebar-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.sidebar-card ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--charcoal);
}

.sidebar-card ul li::before {
    content: '✓';
    color: var(--blue);
    font-weight: 800;
    flex-shrink: 0;
    font-size: 14px;
}

/* ---- WHY SECTION ---- */
.why-section {
    background: var(--dark);
    padding: 84px 0;
    text-align: center;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 52px;
}

.why-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 34px 24px;
    transition: transform 0.25s, background 0.25s, border-color 0.25s;
}

.why-card:hover {
    transform: translateY(-6px);
    background: rgba(21, 101, 192, 0.1);
    border-color: rgba(66, 165, 245, 0.3);
}

.why-icon {
    font-size: 42px;
    margin-bottom: 18px;
}

.why-card h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.why-card p {
    font-size: 14px;
    color: #7a9aaa;
    line-height: 1.75;
}

/* ---- HOW IT WORKS ---- */
.how-section {
    padding: 84px 0;
    background: var(--white);
    text-align: center;
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin: 52px 0 44px;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}

.step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.step-number {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    color: var(--white);
    font-size: 28px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.40);
    flex-shrink: 0;
}

.step-connector {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--orange), var(--blue));
    margin-top: 33px;
    flex-shrink: 0;
    opacity: 0.35;
}

.step-content h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
}

.step-content p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.75;
}

.how-cta {
    margin-top: 8px;
}

/* ---- STATS SECTION ---- */
.stats-section {
    background: linear-gradient(135deg, var(--blue-dark) 0%, #1a4a8a 100%);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-number {
    font-size: clamp(34px, 5vw, 54px);
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number span {
    color: var(--orange-light);
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

/* ---- TESTIMONIALS ---- */
.testimonials-section {
    padding: 84px 0;
    background: var(--off-white);
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 52px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 34px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    text-align: left;
    transition: transform 0.25s, box-shadow 0.25s;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 72px;
    color: var(--blue);
    opacity: 0.08;
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stars {
    color: #f59e0b;
    font-size: 19px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-card p {
    color: var(--charcoal);
    font-size: 15px;
    line-height: 1.72;
    margin-bottom: 20px;
    font-style: italic;
}

.reviewer {
    color: var(--text-gray);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.reviewer::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--orange);
    display: inline-block;
}

/* ---- LOCATION SECTION ---- */
.location-section {
    padding: 84px 0;
    background: var(--white);
    text-align: center;
}

.location-intro {
    max-width: 620px;
    margin: 0 auto 48px;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.location-card {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 16px;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    cursor: default;
}

.location-card:hover {
    border-color: var(--blue-light);
    box-shadow: 0 4px 20px rgba(21, 101, 192, 0.12);
    transform: translateY(-3px);
}

.location-card-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.location-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.location-card p {
    font-size: 12.5px;
    color: var(--text-gray);
}

/* ---- FOOTER CTA ---- */
.footer-cta-section {
    background: linear-gradient(135deg, var(--dark) 0%, #0a2040 100%);
    padding: 84px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(255, 107, 53, 0.08) 0%, transparent 65%);
    pointer-events: none;
}

.footer-cta-location {
    color: var(--orange-light);
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 14px;
    position: relative;
}

.footer-cta-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -1px;
    position: relative;
}

.footer-cta-title span {
    color: var(--orange);
}

.footer-cta-sub {
    color: #7a9aaa;
    font-size: 17px;
    margin-bottom: 44px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

/* ---- SITE FOOTER ---- */
.site-footer {
    background: #080f18;
    padding: 44px 0;
}

.footer-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #4a6070;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--orange);
}

.footer-disclaimer {
    color: #37505f;
    font-size: 12px;
    max-width: 720px;
    line-height: 1.75;
    text-align: center;
}

.footer-disclaimer a {
    color: #5a7a8a;
    text-decoration: underline;
}

.footer-copy {
    color: #2a3a48;
    font-size: 12px;
}

/* ---- MODALS ---- */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.68);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal:target {
    display: flex;
}

.modal-box {
    background: var(--white);
    border-radius: 16px;
    padding: 44px;
    max-width: 600px;
    width: 100%;
    position: relative;
    max-height: 82vh;
    overflow-y: auto;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.modal-box h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border);
}

.modal-box h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin: 22px 0 8px;
}

.modal-box p {
    color: var(--text-gray);
    font-size: 14.5px;
    line-height: 1.75;
    margin-bottom: 12px;
}

.modal-box ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 12px;
}

.modal-box ul li {
    color: var(--text-gray);
    font-size: 14.5px;
    line-height: 1.75;
    margin-bottom: 6px;
}

.modal-box a[href^="tel"] {
    color: var(--orange);
    font-weight: 700;
    text-decoration: none;
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 22px;
    text-decoration: none;
    color: var(--text-gray);
    font-size: 20px;
    font-weight: 700;
    transition: color 0.2s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--off-white);
}

.modal-close:hover {
    color: var(--dark);
    background: var(--border);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
    .services-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .location-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .top-bar-dot {
        display: none;
    }

    .header-inner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .header-contact {
        align-items: center;
    }

    .logo-text {
        font-size: 17px;
    }

    .hero-content {
        padding: 60px 20px;
    }

    .cta-btn--large {
        font-size: 19px;
        padding: 16px 32px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .step-connector {
        width: 2px;
        height: 40px;
        margin-top: 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}