/* ==========================================================================
   RAPID BASEMENT RELIEF — PRODUCTION STYLESHEET
   100% RESPONSIVE ARCHITECTURE (MOBILE, TABLET, DESKTOP, WIDE)
   ========================================================================== */

/* ==========================================================================
   PART 4 & 5: GLOBAL CSS RULES & ROOT TOKENS
   ========================================================================== */
:root {
    /* Color Palette — Terminix Verified Ratios */
    --brand-dark-green: #115439;
    --brand-dark-green-hover: #0c3e29;
    --brand-bright-green: #20aa4d;
    --brand-bright-green-hover: #188f3f;
    --brand-navy: #001457;
    --brand-navy-dark: #000d38;
    --brand-gold: #f7be00;

    --bg-page: #f3f3f2;
    --bg-white: #ffffff;
    --bg-green-tint: #eef9f2;
    --bg-navy-tint: #f0f4fc;

    --border-light: #e1e0de;
    --border-green: #a6ddb8;

    --text-heading: #001457;
    --text-body: #36393d;
    --text-muted: #717171;

    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;

    --shadow-subtle: 0 2px 6px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 4px 16px rgba(0, 20, 87, 0.06);
    --shadow-hover: 0 10px 28px rgba(0, 20, 87, 0.12);
    --shadow-cta: 0 6px 20px rgba(32, 170, 77, 0.35);

    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --container-max: 1200px;
    --container-pad: 16px;
}

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

/* Prevent horizontal overflow */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    font-family: var(--font-family);
    color: var(--text-body);
    background-color: var(--bg-page);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-page);
    font-size: 16px;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

main {
    flex: 1;
    width: 100%;
}

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive videos/iframes */
iframe, video {
    max-width: 100%;
}

/* Responsive tables */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background: var(--bg-white);
    box-shadow: var(--shadow-subtle);
    margin: 20px 0;
}

/* Touch target minimum */
a, button {
    min-height: 44px;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 3px solid #2563EB;
    outline-offset: 2px;
}

/* Centered page container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
}

/* ==========================================================================
   PART 1: MOBILE BASE TYPOGRAPHY (320px+)
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1.22;
    letter-spacing: -0.02em;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h1 {
    font-size: clamp(28px, 6vw, 32px);
    margin-bottom: 0.9rem;
    line-height: 1.2;
}

h2 {
    font-size: clamp(22px, 5vw, 26px);
    margin-bottom: 0.8rem;
    line-height: 1.25;
}

h3 {
    font-size: clamp(18px, 4vw, 20px);
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--brand-dark-green);
    line-height: 1.3;
}

h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 0.4rem;
    line-height: 1.35;
}

p {
    margin-bottom: 1.1rem;
    color: var(--text-body);
    font-size: 16px;
    line-height: 1.6;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
p:last-child { margin-bottom: 0; }

a {
    color: var(--brand-dark-green);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--brand-bright-green);
}

/* ==========================================================================
   1. TOP EMERGENCY DISPATCH BAR
   ========================================================================== */
.emergency-top-bar {
    background: var(--brand-navy);
    color: #ffffff;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
    z-index: 1001;
}

.emergency-top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.dispatch-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.pulse-dot {
    width: 9px;
    height: 9px;
    background-color: var(--brand-bright-green);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(32,170,77,0.7);
    animation: pulse-green 1.8s infinite;
    flex-shrink: 0;
}

@keyframes pulse-green {
    0%   { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(32,170,77,0.7); }
    70%  { transform: scale(1);    box-shadow: 0 0 0 7px rgba(32,170,77,0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(32,170,77,0); }
}

.top-bar-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-phone-link {
    color: var(--brand-gold);
    font-weight: 800;
    font-size: 14.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: auto;
}
.top-phone-link:hover { color: #fff; text-decoration: underline; }

/* ==========================================================================
   2. MAIN HEADER & MOBILE HAMBURGER NAVIGATION
   ========================================================================== */
.site-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-subtle);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    position: relative;
}

.brand-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none !important;
    min-height: 44px;
}

.brand-logo-img {
    height: 40px;
    max-height: 50px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease;
}

/* Mobile Actions in Header */
.header-actions-mobile {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-phone-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: var(--brand-bright-green);
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 800;
    padding: 8px 14px;
    border-radius: 50px;
    min-height: 44px;
    min-width: 44px;
    text-decoration: none !important;
    box-shadow: var(--shadow-cta);
}

.mobile-menu-btn {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    background: var(--bg-page);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 9px;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.mobile-menu-btn:hover, .mobile-menu-btn:focus-visible {
    background: var(--bg-green-tint);
    border-color: var(--brand-bright-green);
}

.hamburger-bar {
    display: block;
    width: 22px;
    height: 2.5px;
    background-color: var(--brand-navy);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-btn.active .hamburger-bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.mobile-menu-btn.active .hamburger-bar:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active .hamburger-bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Nav Drawer (Hidden by default, drops down on toggle) */
.nav-links {
    display: none;
    list-style: none;
}

.nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 2px solid var(--border-light);
    box-shadow: 0 16px 36px rgba(0,20,87,0.18);
    padding: 12px 16px 20px 16px;
    gap: 4px;
    z-index: 1000;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

.nav-link {
    min-height: 48px;
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-heading);
    display: flex;
    align-items: center;
    width: 100%;
    border-radius: var(--radius-sm);
    transition: background 0.2s ease, color 0.2s ease;
    text-decoration: none !important;
}
.nav-link:hover, .nav-link:focus-visible {
    background: var(--bg-green-tint);
    color: var(--brand-dark-green);
}

.nav-item-dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
}

.nav-item-dropdown .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.dropdown-chevron {
    margin-left: 0;
    width: 9px;
    height: 5px;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.nav-item-dropdown.open .dropdown-chevron {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: static;
    transform: none;
    background: var(--bg-green-tint);
    border: 1px solid var(--border-green);
    border-radius: var(--radius-sm);
    box-shadow: none;
    padding: 6px 0;
    margin: 4px 0 8px 0;
    list-style: none;
}

.dropdown-menu::before, .dropdown-menu::after {
    display: none;
}

.nav-item-dropdown.open .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.dropdown-menu li {
    margin: 0;
    list-style: none;
}

.dropdown-menu li a {
    min-height: 44px;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    color: var(--brand-dark-green);
    text-decoration: none;
    transition: var(--transition);
}
.dropdown-menu li a:hover, .dropdown-menu li a:focus-visible {
    background: #ffffff;
    color: var(--brand-bright-green);
    padding-left: 22px;
}

.header-cta-btn {
    display: none;
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.hero-section {
    background: var(--bg-white);
    padding: 36px 0 44px 0;
    border-bottom: 1px solid var(--border-light);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-breadcrumbs {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.hero-breadcrumbs a { color: var(--brand-dark-green); font-weight: 600; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-green-tint);
    border: 1px solid var(--border-green);
    color: var(--brand-dark-green);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
}

.hero-title {
    font-size: clamp(28px, 6vw, 32px);
    font-weight: 900;
    color: var(--text-heading);
    margin-bottom: 14px;
    line-height: 1.2;
}

.hero-lead {
    font-size: 16px;
    color: var(--text-body);
    margin-bottom: 20px;
    line-height: 1.6;
}

.hero-bullets {
    list-style: none;
    display: grid;
    gap: 10px;
    margin-bottom: 24px;
}

.hero-bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.5;
}

.hero-check-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: var(--brand-bright-green);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    margin-top: 1px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
}

.btn-primary-action {
    background: var(--brand-bright-green);
    color: #fff !important;
    font-size: 16px;
    font-weight: 800;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--shadow-cta);
    transition: var(--transition);
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
    min-height: 48px;
    width: 100%;
    text-align: center;
}
.btn-primary-action:hover { background: var(--brand-bright-green-hover); transform: translateY(-2px); }

.btn-secondary-action {
    background: transparent;
    color: var(--brand-dark-green) !important;
    border: 2px solid var(--brand-dark-green);
    font-size: 15.5px;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    text-decoration: none !important;
    min-height: 48px;
    width: 100%;
    text-align: center;
}
.btn-secondary-action:hover { background: var(--brand-dark-green); color: #fff !important; }

.hero-image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #0a1628;
    box-shadow: 0 8px 24px rgba(0, 20, 87, 0.10);
    border: 1px solid var(--border-light);
    height: auto;
    min-height: 240px;
    max-height: 340px;
}

.hero-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-trust-overlay {
    position: static;
    margin: 12px;
    background: rgba(0, 20, 87, 0.94);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: #fff;
}

.hero-trust-overlay h4 {
    color: #fff;
    font-size: 13.5px;
    margin-bottom: 2px;
}

.hero-trust-overlay p {
    color: var(--brand-gold);
    font-size: 16.5px;
    font-weight: 900;
    margin-bottom: 0;
}

/* ==========================================================================
   4. TRUST BAR (4 BADGES)
   ========================================================================== */
.trust-bar-section {
    background: var(--bg-white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.trust-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: var(--bg-page);
    border: 1px solid var(--border-light);
}

.trust-icon-badge {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--bg-green-tint);
    color: var(--brand-dark-green);
    border: 1.5px solid var(--border-green);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-card-text h4 {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 2px;
}

.trust-card-text p {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ==========================================================================
   5. QUICK-ANSWER HIGHLIGHT CARD
   ========================================================================== */
.quick-answer-card {
    background: var(--bg-green-tint);
    border: 2px solid var(--border-green);
    border-radius: var(--radius-md);
    padding: 22px 20px;
    margin: 28px 0;
}

.quick-answer-card h3 {
    color: var(--brand-dark-green);
    font-size: 17.5px;
    font-weight: 800;
    margin-bottom: 8px;
}

.quick-answer-card p {
    color: #1a4d2e;
    font-size: 15.5px;
    line-height: 1.65;
    margin-bottom: 0;
}

/* ==========================================================================
   6. MODULAR FEATURE SECTIONS — ZIG-ZAG LAYOUT
   ========================================================================== */
.feature-section {
    padding: 44px 0;
    border-bottom: 1px solid var(--border-light);
    overflow: hidden;
}

.feature-section:nth-child(odd)  { background: var(--bg-white); }
.feature-section:nth-child(even) { background: var(--bg-page); }

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: stretch;
}

.feature-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
}

.feature-cat-tag {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 800;
    color: var(--brand-bright-green);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.feature-content h2 {
    font-size: clamp(22px, 5vw, 26px);
    font-weight: 900;
    color: var(--text-heading);
    margin-bottom: 14px;
    line-height: 1.25;
}

.feature-content h3 {
    font-size: clamp(18px, 4vw, 20px);
    color: var(--brand-dark-green);
    margin-top: 16px;
    margin-bottom: 8px;
    font-weight: 700;
}

.feature-content p {
    font-size: 16px;
    color: var(--text-body);
    line-height: 1.65;
    margin-bottom: 14px;
}

.feature-content a:not(.btn-primary-action) {
    color: var(--brand-dark-green);
    font-weight: 600;
    text-decoration: underline;
}

.feature-image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 20, 87, 0.08);
    min-height: 240px;
    max-height: 340px;
    background: #0a1628;
}

.feature-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feature-img-badge {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(0, 20, 87, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 190px;
}

.feature-img-badge svg { flex-shrink: 0; color: var(--brand-bright-green); }

.feature-img-badge-text strong {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}

.feature-img-badge-text span {
    display: block;
    font-size: 14.5px;
    font-weight: 900;
    color: var(--brand-gold);
}

.feature-cta-row {
    margin-top: 20px;
}

.feature-cta-row .btn-primary-action {
    width: 100%;
    justify-content: center;
}

/* Inline mini trust bar */
.inline-features-bar {
    background: var(--bg-white);
    border-bottom: 2px solid var(--border-green);
    padding: 28px 0;
}

.inline-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.inline-feature-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 0 16px 0;
    border-bottom: 1px solid var(--border-green);
}
.inline-feature-item:last-child { border-bottom: none; padding-bottom: 0; }

.inline-feature-item svg { color: var(--brand-dark-green); flex-shrink: 0; }

.inline-feature-item strong {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--text-heading);
    display: block;
    line-height: 1.3;
}

.inline-feature-item span {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Inline CTA strip */
.inline-cta-strip {
    background: var(--bg-page);
    border-bottom: 1px solid var(--border-light);
    padding: 16px 0;
}

.inline-cta-strip-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.inline-cta-strip .btn-primary-action {
    width: 100%;
    justify-content: center;
    padding: 12px 22px;
    font-size: 15px;
    border-radius: 50px;
}

.inline-cta-divider {
    display: none;
}

.inline-cta-text {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-body);
    font-size: 14px;
    font-weight: 600;
}

/* Feature bullets & ordered lists */
.feature-bullets {
    list-style: none;
    display: grid;
    gap: 10px;
    margin: 16px 0;
    padding: 0;
}

.feature-bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15.5px;
    color: var(--text-body);
    line-height: 1.55;
}
.feature-bullet-item strong { color: var(--text-heading); }

.check-bullet-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: var(--bg-green-tint);
    border: 1.5px solid var(--brand-bright-green);
    color: var(--brand-bright-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 900;
    margin-top: 2px;
    flex-shrink: 0;
}

.feature-ordered-list {
    list-style: none;
    display: grid;
    gap: 12px;
    margin: 16px 0;
    padding: 0;
}

.feature-ordered-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15.5px;
    color: var(--text-body);
    line-height: 1.55;
}
.feature-ordered-item strong { color: var(--text-heading); }

.ordered-num {
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: var(--brand-dark-green);
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ==========================================================================
   7. PROCESS 6-STEP CARD GRID & PIPELINE
   ========================================================================== */
.process-steps-section {
    padding: 48px 0;
    background: var(--bg-page);
    border-bottom: 1px solid var(--border-light);
}

.process-steps-grid-2col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.process-step-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-top: 4px solid var(--brand-bright-green);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

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

.step-card-badge {
    background: var(--brand-dark-green);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 5px 12px;
    border-radius: 50px;
}

.step-time-badge {
    background: var(--bg-green-tint);
    color: var(--brand-dark-green);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    border: 1px solid var(--border-green);
}

.step-card-title {
    font-size: 18.5px;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 10px;
    line-height: 1.3;
}

.step-card-desc {
    font-size: 14.5px;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 14px;
}

.step-card-checklist {
    list-style: none;
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    margin-top: auto;
    border-top: 1px solid var(--border-light);
    padding-top: 14px;
}

.step-card-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13.5px;
    color: var(--text-body);
    line-height: 1.5;
}

.step-card-checklist li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    min-width: 18px;
    background: var(--bg-green-tint);
    color: var(--brand-bright-green);
    border: 1.5px solid var(--brand-bright-green);
    border-radius: 50%;
    font-size: 10px;
    font-weight: 900;
    margin-top: 2px;
}

.pipeline-section {
    padding: 48px 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

.section-header-center {
    text-align: center;
    max-width: 740px;
    margin: 0 auto 32px auto;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    color: var(--brand-bright-green);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.section-title {
    font-size: clamp(22px, 5vw, 28px);
    font-weight: 900;
    color: var(--text-heading);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 0;
}

.process-pipeline-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.pipeline-card {
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 22px 18px;
    transition: var(--transition);
}

.pipeline-num-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--brand-navy);
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    border-radius: 50%;
    margin-bottom: 14px;
}

.pipeline-card h4 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.pipeline-card p  { font-size: 14px; color: var(--text-body); margin-bottom: 0; line-height: 1.6; }

/* ==========================================================================
   8. DATA TABLES
   ========================================================================== */
.table-section {
    padding: 44px 0;
    background: var(--bg-white);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
    min-width: 480px;
}

th, td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
    text-align: left;
}

th {
    background: var(--brand-navy);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

tr:hover td { background: var(--bg-green-tint); }

.city-search-box {
    width: 100%;
    padding: 14px 18px;
    font-size: 16px !important;
    border: 2px solid var(--brand-dark-green);
    border-radius: var(--radius-sm);
    margin: 20px 0;
    font-family: var(--font-family);
    outline: none;
    min-height: 48px;
}
.city-search-box:focus {
    border-color: var(--brand-bright-green);
    box-shadow: 0 0 0 3px rgba(32,170,77,0.22);
}

/* ==========================================================================
   9. EMERGENCY CTA BANNER
   ========================================================================== */
.emergency-cta-banner {
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-dark-green) 100%);
    color: #fff;
    padding: 44px 0;
}

.emergency-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.emergency-cta-text h3 { color: #fff; font-size: clamp(22px, 5vw, 27px); font-weight: 900; margin-bottom: 6px; }
.emergency-cta-text p  { color: rgba(255,255,255,0.88); font-size: 15.5px; margin-bottom: 0; }
.emergency-cta-inner .btn-primary-action {
    width: 100%;
    max-width: 360px;
    font-size: 16.5px;
    padding: 16px 28px;
}

/* ==========================================================================
   10. FAQ ACCORDION
   ========================================================================== */
.faq-section {
    padding: 48px 0;
    background: var(--bg-page);
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
}

.faq-item.open {
    border-color: var(--border-green);
    box-shadow: var(--shadow-card);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 16px 18px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-heading);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-family);
    gap: 12px;
    min-height: 48px;
}

.faq-icon {
    font-size: 18px;
    color: var(--brand-dark-green);
    font-weight: 900;
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-item.open .faq-icon { color: var(--brand-bright-green); transform: rotate(45deg); }

.faq-answer {
    display: none;
    padding: 0 18px 18px 18px;
    font-size: 15.5px;
    color: var(--text-body);
    line-height: 1.65;
}

.faq-item.open .faq-answer { display: block; }

/* ==========================================================================
   11. EMERGENCY INTAKE FORM
   ========================================================================== */
.emergency-form-card {
    background: var(--bg-white);
    border: 2px solid var(--brand-dark-green);
    border-radius: var(--radius-md);
    padding: 24px 18px;
    margin: 24px 0;
    box-shadow: var(--shadow-card);
}

.form-header { margin-bottom: 20px; border-bottom: 1px solid var(--border-light); padding-bottom: 14px; }
.form-header h3 { color: var(--text-heading); font-size: 20px; margin-bottom: 4px; }
.form-header p { font-size: 14px; color: var(--text-muted); margin: 0; }

.form-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 18px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 14px; font-weight: 700; color: var(--text-heading); display: block; }

.form-control {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px !important;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-family: var(--font-family);
    outline: none;
    min-height: 48px;
    transition: var(--transition);
}
.form-control:focus { border-color: var(--brand-bright-green); box-shadow: 0 0 0 3px rgba(32,170,77,0.22); }

.form-submit-btn {
    background: var(--brand-bright-green);
    color: #fff;
    border: none;
    padding: 15px 24px;
    font-size: 16px;
    font-weight: 800;
    font-family: var(--font-family);
    border-radius: var(--radius-sm);
    cursor: pointer;
    box-shadow: var(--shadow-cta);
    transition: var(--transition);
    width: 100%;
    min-height: 48px;
}
.form-submit-btn:hover { background: var(--brand-bright-green-hover); }

.form-success-alert {
    margin-top: 20px;
    background: #ecfdf5;
    border: 2px solid #10b981;
    border-radius: var(--radius-md);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: fadeInSlideUp 0.35s ease-out forwards;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.15);
}

@keyframes fadeInSlideUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.success-alert-icon {
    background: #10b981;
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.success-alert-content h4 {
    font-size: 17px;
    font-weight: 800;
    color: #065f46;
    margin-bottom: 4px;
}

.success-alert-content p {
    font-size: 14.5px;
    color: #047857;
    margin-bottom: 12px;
    line-height: 1.5;
}

.success-call-btn {
    background: #10b981;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 800;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none !important;
    width: 100%;
    min-height: 44px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* ==========================================================================
   12. NEARBY CITIES WE SERVE SECTION
   ========================================================================== */
.nearby-cities {
    padding: 48px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.nearby-cities-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nearby-cities-grid li {
    margin: 0;
    list-style: none;
}

.nearby-cities-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 14px;
    background: var(--bg-page);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--brand-dark-green);
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: var(--shadow-subtle);
    min-height: 44px;
}

.nearby-cities-grid a:hover {
    background: var(--bg-green-tint);
    border-color: var(--brand-bright-green);
    color: var(--brand-dark-green-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

/* ==========================================================================
   13. FOOTER
   ========================================================================== */
.site-footer {
    background: var(--brand-navy);
    color: #cbd5e1;
    padding: 48px 0 24px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 36px;
}

.footer-logo-img {
    height: 42px;
    width: auto;
    max-width: 180px;
    margin-bottom: 16px;
    background: #fff;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    object-fit: contain;
    display: block;
}

.footer-desc { font-size: 14px; line-height: 1.65; margin-bottom: 18px; color: #94a3b8; }
.footer-heading { font-size: 14.5px; font-weight: 700; color: #fff; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.06em; }

.footer-links { list-style: none; display: grid; gap: 4px; padding: 0; }
.footer-links a {
    color: #94a3b8;
    font-size: 14px;
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 4px 0;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-links a:hover { color: #fff; text-decoration: underline; }

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 13px;
    gap: 10px;
}

/* ==========================================================================
   14. COMPACT FLOATING PILL CALL BUTTON
   ========================================================================== */
.floating-call-container {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 9999;
    display: flex;
    align-items: center;
    pointer-events: auto;
}

.floating-pill-call-btn {
    background: var(--brand-bright-green, #20aa4d);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 800;
    padding: 10px 18px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(32, 170, 77, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
    white-space: nowrap;
    letter-spacing: 0.2px;
    min-height: 44px;
}
.floating-pill-call-btn:hover {
    background: var(--brand-bright-green-hover, #188f3f);
    transform: translateY(-2px) scale(1.02);
}
.floating-pill-call-btn svg { flex-shrink: 0; }

/* ==========================================================================
   PART 5: RESPONSIVE BREAKPOINT SYSTEM
   ========================================================================== */

/* --------------------------------------------------------------------------
   LARGE MOBILE (480px+)
   -------------------------------------------------------------------------- */
@media (min-width: 480px) {
    :root {
        --container-pad: 20px;
    }
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .nearby-cities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .btn-primary-action, .btn-secondary-action {
        width: auto;
        min-width: 200px;
    }
    .emergency-cta-inner .btn-primary-action {
        width: auto;
    }
    .feature-cta-row .btn-primary-action {
        width: auto;
        min-width: 200px;
    }
}

/* --------------------------------------------------------------------------
   TABLET (768px - 1023px)
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
    :root {
        --container-pad: 24px;
    }
    body, p {
        font-size: 16.5px;
        line-height: 1.65;
    }
    h1 {
        font-size: clamp(32px, 4vw, 38px);
    }
    h2 {
        font-size: clamp(24px, 3vw, 28px);
    }
    h3 {
        font-size: clamp(20px, 2.5vw, 22px);
    }
    .hero-section {
        padding: 48px 0 54px 0;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .hero-image-wrap {
        height: 360px;
        min-height: 360px;
        max-height: none;
    }
    .hero-trust-overlay {
        position: absolute;
        bottom: 20px;
        right: 20px;
        margin: 0;
        min-width: 180px;
    }
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    .feature-section {
        padding: 56px 0;
    }
    .feature-image-wrap {
        min-height: 320px;
        max-height: none;
    }
    .inline-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .inline-feature-item {
        padding: 0 16px 20px 16px;
        border-left: none;
        border-bottom: 1px solid var(--border-green);
    }
    .inline-feature-item:nth-child(3), .inline-feature-item:nth-child(4) {
        border-bottom: none;
        padding-bottom: 0;
    }
    .process-steps-grid-2col {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .process-step-card {
        padding: 28px 24px;
    }
    .process-pipeline-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    .form-group.full-width {
        grid-column: 1 / -1;
    }
    .emergency-form-card {
        padding: 32px;
    }
    .form-success-alert {
        flex-direction: row;
        align-items: flex-start;
        padding: 20px 24px;
    }
    .success-call-btn {
        width: fit-content;
    }
    .nearby-cities-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
    .floating-call-container {
        bottom: 24px;
        right: 24px;
    }
    .floating-pill-call-btn {
        padding: 10px 22px;
        font-size: 15px;
    }
}

/* --------------------------------------------------------------------------
   DESKTOP (1024px+)
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
    :root {
        --container-pad: 32px;
        --container-max: 1200px;
    }
    body, p {
        font-size: 16.5px;
        line-height: 1.7;
    }
    h1 {
        font-size: clamp(38px, 3.8vw, 48px);
    }
    h2 {
        font-size: clamp(28px, 2.6vw, 34px);
    }
    h3 {
        font-size: clamp(20px, 2vw, 24px);
    }

    /* Desktop Navigation Bar */
    .header-actions-mobile {
        display: none;
    }
    .mobile-menu-btn {
        display: none;
    }
    .nav-links {
        display: flex;
        flex-direction: row;
        gap: 18px;
        align-items: center;
        position: static;
        background: transparent;
        border-bottom: none;
        box-shadow: none;
        padding: 0;
        max-height: none;
        overflow-y: visible;
    }
    .nav-link {
        font-size: 14px;
        font-weight: 600;
        color: var(--text-heading);
        padding: 5px 0;
        min-height: auto;
        width: auto;
        position: relative;
    }
    .nav-link:hover, .nav-link:focus-visible {
        background: transparent;
        color: var(--brand-bright-green);
    }
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0; left: 0;
        width: 0; height: 2px;
        background: var(--brand-bright-green);
        transition: var(--transition);
    }
    .nav-link:hover::after { width: 100%; }

    .nav-item-dropdown {
        position: relative;
        display: inline-flex;
        align-items: center;
        padding: 6px 0;
        width: auto;
    }
    .nav-item-dropdown .dropdown-toggle {
        width: auto;
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }
    .dropdown-menu {
        display: block;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        background: #ffffff;
        min-width: 260px;
        border: 1px solid var(--border-light);
        border-radius: var(--radius-md);
        box-shadow: 0 12px 36px rgba(0, 20, 87, 0.16);
        padding: 8px 0;
        margin: 0;
        list-style: none;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
        z-index: 1100;
    }
    .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -6px;
        left: 50%;
        transform: translateX(-50%) rotate(45deg);
        width: 12px;
        height: 12px;
        background: #ffffff;
        border-left: 1px solid var(--border-light);
        border-top: 1px solid var(--border-light);
        z-index: 1;
        display: block;
    }
    .dropdown-menu::after {
        content: '';
        position: absolute;
        top: -20px;
        left: -20px;
        right: -20px;
        height: 24px;
        background: transparent;
        display: block;
    }
    .nav-item-dropdown:hover .dropdown-menu,
    .nav-item-dropdown.open .dropdown-menu,
    .nav-item-dropdown:focus-within .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .dropdown-menu li a {
        display: block;
        padding: 11px 20px;
        color: var(--text-body);
        font-size: 14px;
        font-weight: 600;
        min-height: auto;
        white-space: nowrap;
        transition: var(--transition);
    }
    .dropdown-menu li a:hover {
        background: var(--bg-green-tint);
        color: var(--brand-dark-green);
        padding-left: 24px;
    }

    .header-cta-btn {
        background: var(--brand-bright-green);
        color: #fff !important;
        font-weight: 700;
        font-size: 14.5px;
        padding: 11px 22px;
        border-radius: var(--radius-sm);
        display: inline-flex;
        align-items: center;
        gap: 8px;
        box-shadow: var(--shadow-cta);
        transition: var(--transition);
        text-decoration: none !important;
        white-space: nowrap;
        min-height: 44px;
    }
    .header-cta-btn:hover { background: var(--brand-bright-green-hover); transform: translateY(-1px); }

    /* Desktop Hero */
    .hero-section {
        padding: 55px 0 60px 0;
    }
    .hero-grid {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 48px;
    }
    .hero-image-wrap {
        height: 420px;
    }

    /* Desktop Trust Cards */
    .trust-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    /* Desktop Feature Zig-Zag */
    .feature-section {
        padding: 72px 0;
    }
    .feature-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        min-height: 440px;
    }
    .feature-grid.reverse {
        direction: rtl;
    }
    .feature-grid.reverse > * {
        direction: ltr;
    }
    .feature-cta-row .btn-primary-action {
        width: auto;
    }

    /* Desktop Inline features */
    .inline-features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
    }
    .inline-feature-item {
        border-left: 2px solid var(--border-green);
        border-bottom: none;
        padding: 0 28px;
    }
    .inline-feature-item:first-child {
        border-left: none;
        padding-left: 0;
    }

    /* Desktop Inline CTA Strip */
    .inline-cta-strip-inner {
        flex-direction: row;
        align-items: center;
        gap: 32px;
    }
    .inline-cta-strip .btn-primary-action {
        width: auto;
    }
    .inline-cta-divider {
        display: block;
        flex: 1;
        height: 1px;
        background: var(--border-green);
    }

    /* Desktop Pipeline */
    .process-pipeline-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
    }

    /* Desktop Emergency CTA Banner */
    .emergency-cta-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    .emergency-cta-inner .btn-primary-action {
        width: auto;
    }

    /* Desktop Nearby Cities */
    .nearby-cities-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }

    /* Desktop Footer (4 columns) */
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
        gap: 40px;
    }
}

/* --------------------------------------------------------------------------
   LARGE DESKTOP (1280px+) & WIDE SCREENS (1400px+)
   -------------------------------------------------------------------------- */
@media (min-width: 1280px) {
    :root {
        --container-max: 1200px;
    }
    .container {
        max-width: 1200px;
    }
}

@media (max-width: 1400px) {
    .container {
        max-width: 1200px;
    }
}
