/* ==========================================================================
   Rialto Precision Leak Detection - Modern High-Converting Stylesheet
   Mobile-First, Accessible, Fast Loading (Core Web Vitals Optimized)
   ========================================================================== */

:root {
  --primary: #0b4f8a;
  --primary-dark: #07345d;
  --primary-light: #e8f2fa;
  --accent: #d9381e;
  --accent-hover: #b52912;
  --success: #1b873f;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --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);
  --radius: 8px;
  --transition: all 0.25s ease-in-out;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 70px; /* Space for mobile sticky CTA bar */
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* ==========================================================================
   TOP EMERGENCY NOTIFICATION BAR
   ========================================================================== */
.top-bar {
  background-color: #0f172a;
  color: #cbd5e1;
  font-size: 13px;
  padding: 8px 0;
}

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

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

.badge-pill {
  background-color: var(--success);
  color: white;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-block;
}

.badge-espanol {
  background-color: #f59e0b;
  color: #1e293b;
  font-weight: 700;
}

.top-bar-phone {
  color: #38bdf8;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 767px) {
  .top-bar {
    padding: 6px 0;
    font-size: 11.5px;
    line-height: 1.35;
  }

  .top-bar .container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 0 10px;
  }

  .top-bar-tags {
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
  }

  .top-bar-tags > span:not(.badge-pill) {
    display: none;
  }

  .badge-pill {
    font-size: 10px;
    padding: 2px 7px;
    letter-spacing: 0.3px;
    white-space: nowrap;
  }

  .top-bar-phone {
    font-size: 12px;
    display: inline-block;
  }
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
header.site-header {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo .logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), #0284c7);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  font-weight: 900;
}

.brand-logo .logo-text {
  display: flex;
  flex-direction: column;
}

.brand-logo .logo-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
}

.brand-logo .logo-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.main-nav {
  display: none;
}

@media (min-width: 992px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 16px;
  }
}

@media (min-width: 1200px) {
  .main-nav {
    gap: 22px;
  }
}

.nav-link {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 14.5px;
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
  text-decoration: none;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-header-call {
  display: none;
  background-color: var(--accent);
  color: white;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius);
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 10px rgba(217, 56, 30, 0.3);
  text-decoration: none;
  white-space: nowrap;
}

@media (min-width: 992px) {
  .btn-header-call {
    display: inline-flex;
  }
}

.btn-header-call:hover {
  background-color: var(--accent-hover);
  color: white;
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  color: var(--text-dark);
}

@media (min-width: 992px) {
  .mobile-menu-btn {
    display: none;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 10px 0;
  }
  .brand-logo .logo-icon {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }
  .brand-logo .logo-title {
    font-size: 16px;
  }
  .brand-logo .logo-sub {
    font-size: 10px;
  }
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  background-color: var(--bg-white);
  border-bottom: 2px solid var(--primary);
  padding: 15px 20px;
}

.mobile-nav-drawer.open {
  display: block;
}

.mobile-nav-drawer a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  color: var(--text-dark);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  background: linear-gradient(rgba(7, 52, 93, 0.93), rgba(11, 79, 138, 0.95)), url('https://images.unsplash.com/photo-1584622650111-993a426fbf0a?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: white;
  padding: 50px 0 60px;
}

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

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.25fr 0.95fr;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
  font-size: 32px;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 44px;
  }
}

.hero-subtitle {
  font-size: 17px;
  line-height: 1.5;
  color: #e2e8f0;
  margin-bottom: 24px;
}

.hero-trust-bullets {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 28px;
}

@media (min-width: 600px) {
  .hero-trust-bullets {
    grid-template-columns: repeat(2, 1fr);
  }
}

.trust-bullet {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}

.trust-bullet-icon {
  width: 22px;
  height: 22px;
  background-color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 600px) {
  .hero-actions {
    flex-direction: row;
    align-items: center;
  }
}

.btn-primary-large {
  background-color: var(--accent);
  color: white;
  font-weight: 800;
  font-size: 18px;
  padding: 16px 28px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 6px 20px rgba(217, 56, 30, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-primary-large:hover {
  background-color: var(--accent-hover);
  color: white;
  transform: translateY(-2px);
}

.btn-secondary-large {
  background-color: transparent;
  color: white;
  border: 2px solid white;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 24px;
  border-radius: var(--radius);
  text-align: center;
}

.btn-secondary-large:hover {
  background-color: white;
  color: var(--primary-dark);
}

/* Hero Quick Lead Card */
.hero-card {
  background-color: var(--bg-white);
  color: var(--text-dark);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--accent);
}

.hero-card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.hero-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #334155;
}

.form-input, .form-select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 15px;
  outline: none;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 79, 138, 0.15);
}

.btn-submit-lead {
  width: 100%;
  background-color: var(--primary);
  color: white;
  font-weight: 800;
  font-size: 16px;
  padding: 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit-lead:hover {
  background-color: var(--primary-dark);
}

/* ==========================================================================
   TRUST & CREDIBILITY STRIP
   ========================================================================== */
.trust-strip {
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

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

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-item-icon {
  font-size: 28px;
  color: var(--primary);
  flex-shrink: 0;
}

.trust-item-text strong {
  display: block;
  font-size: 14px;
  color: var(--text-dark);
}

.trust-item-text span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   EMERGENCY SYMPTOMS TRIAGE SECTION
   ========================================================================== */
.section {
  padding: 60px 0;
}

.section-title-wrap {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 40px;
}

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

.section-heading {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.25;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .section-heading {
    font-size: 34px;
  }
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
}

.triage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .triage-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.triage-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.triage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary);
}

.triage-card.emergency::before {
  background-color: var(--accent);
}

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

.triage-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.triage-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.triage-text {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.triage-action {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   SERVICES GRID (SILO CARDS)
   ========================================================================== */
.services-section {
  background-color: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background-color: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-card-top {
  margin-bottom: 20px;
}

.service-icon-box {
  width: 52px;
  height: 52px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.service-card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.service-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.service-card-link {
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.service-card-link:hover {
  color: var(--accent);
}

/* ==========================================================================
   WHY RIALTO HOMES LEAK (LOCAL AUTHORITY & EEAT)
   ========================================================================== */
.local-authority-box {
  background: linear-gradient(135deg, #07345d, #0b4f8a);
  color: white;
  border-radius: 12px;
  padding: 40px 30px;
  margin-top: 40px;
}

.local-authority-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 992px) {
  .local-authority-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.local-authority-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.local-authority-p {
  font-size: 15px;
  color: #e2e8f0;
  margin-bottom: 14px;
}

.local-stat-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 14px;
}

.local-stat-card strong {
  display: block;
  font-size: 16px;
  color: #38bdf8;
  margin-bottom: 4px;
}

.local-stat-card p {
  font-size: 13px;
  color: #cbd5e1;
  margin: 0;
}

/* ==========================================================================
   NEIGHBORHOOD / SUB-LOCATIONS GRID (92376 & 92377)
   ========================================================================== */
.neighborhood-section {
  background-color: var(--bg-white);
}

.zip-block {
  margin-bottom: 35px;
}

.zip-badge {
  display: inline-block;
  background-color: var(--primary-dark);
  color: white;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 6px;
  margin-bottom: 18px;
}

.neighborhood-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 768px) {
  .neighborhood-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .neighborhood-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.neighborhood-pill {
  background-color: var(--bg-light);
  border: 1px solid var(--border);
  padding: 12px 16px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.neighborhood-pill:hover {
  background-color: var(--primary-light);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.neighborhood-pill-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
}

.neighborhood-pill-sub {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   TESTIMONIALS & REAL SOCIAL PROOF
   ========================================================================== */
.testimonials-section {
  background-color: var(--bg-light);
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.review-stars {
  color: #f59e0b;
  font-size: 16px;
  margin-bottom: 12px;
}

.review-text {
  font-size: 14px;
  font-style: italic;
  color: #334155;
  margin-bottom: 16px;
  line-height: 1.5;
}

.reviewer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.reviewer-name {
  font-weight: 700;
  color: var(--primary-dark);
}

.reviewer-location {
  color: var(--accent);
  font-weight: 600;
}

/* ==========================================================================
   FAQ ACCORDION (SCHEMA POWERED)
   ========================================================================== */
.faq-wrap {
  max-width: 850px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background-color: var(--bg-white);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background-color: var(--bg-light);
}

.faq-icon {
  font-size: 18px;
  transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

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

/* ==========================================================================
   PROFESSIONAL SITE FOOTER & TRUST STRIP
   ========================================================================== */
footer.site-footer {
  background: #091322;
  color: #94a3b8;
  padding: 50px 0 25px;
  font-size: 14px;
  border-top: 3px solid var(--primary);
}

/* Footer Trust Strip */
.footer-trust-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding-bottom: 35px;
  margin-bottom: 40px;
  border-bottom: 1px solid #1e293b;
}

@media (min-width: 640px) {
  .footer-trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-trust-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-trust-col {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 14px 16px;
}

.footer-trust-icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

.footer-trust-title {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
}

.footer-trust-sub {
  display: block;
  font-size: 12px;
  color: #38bdf8;
  line-height: 1.3;
}

/* Footer Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 35px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
  }
}

.footer-bio-text {
  font-size: 13.5px;
  line-height: 1.65;
  color: #94a3b8;
  margin-bottom: 16px;
}

.footer-badge-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-badge-item {
  font-size: 12px;
  font-weight: 700;
  color: #38bdf8;
}

.footer-heading {
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--primary);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 9px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 13.5px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #38bdf8;
  transform: translateX(3px);
}

/* Footer Dispatch Card */
.footer-dispatch-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #1e293b;
  border-radius: 10px;
  padding: 18px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-contact-item .f-icon {
  font-size: 16px;
  line-height: 1.4;
  flex-shrink: 0;
}

.f-phone-label {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.f-phone-link {
  font-size: 18px;
  font-weight: 800;
  color: #38bdf8;
  text-decoration: none;
  display: block;
}

.f-phone-link:hover {
  color: #ffffff;
}

.f-text {
  font-size: 13px;
  color: #cbd5e1;
  display: block;
}

.f-mail-link {
  font-size: 13px;
  color: #cbd5e1;
  text-decoration: none;
  display: block;
  word-break: break-all;
}

.f-mail-link:hover {
  color: #38bdf8;
}

/* Footer Bottom Row */
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  font-size: 13px;
  color: #64748b;
}

@media (min-width: 850px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.footer-bottom-links a {
  color: #94a3b8;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: #38bdf8;
  text-decoration: underline;
}

.footer-bottom-links .f-sep {
  color: #334155;
}

/* ==========================================================================
   MOBILE STICKY BOTTOM CALL BAR
   ========================================================================== */
.mobile-sticky-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
  padding: 8px 12px;
  gap: 10px;
}

@media (min-width: 768px) {
  .mobile-sticky-bar {
    display: none;
  }
}

.sticky-call-btn {
  flex: 1;
  background-color: var(--accent);
  color: white;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 6px;
}

.sticky-quote-btn {
  flex: 1;
  background-color: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  border-radius: 6px;
}

/* ==========================================================================
   YELP 5-STAR BADGE & USPs
   ========================================================================== */
.yelp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: #1e293b;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
  margin-top: 15px;
}

.yelp-logo-icon {
  background-color: #d32323;
  color: white;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  letter-spacing: -0.5px;
}

.yelp-stars {
  color: #d32323;
  font-size: 14px;
}

.usp-strip {
  background: #ffffff;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}

.usp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 600px) {
  .usp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .usp-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.usp-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--bg-light);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.usp-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.usp-icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}

.usp-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.usp-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   WHO WE ARE / STORY SECTION
   ========================================================================== */
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .story-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.story-card-box {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
}

.story-stat-badge {
  display: inline-block;
  background: var(--primary-dark);
  color: white;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

/* ==========================================================================
   WHY CHOOSE US / BENEFITS SECTION
   ========================================================================== */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 20px;
  transition: var(--transition);
  position: relative;
}

.benefit-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.benefit-num {
  font-size: 14px;
  font-weight: 900;
  color: var(--primary);
  background: var(--primary-light);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.benefit-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.benefit-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   CASE STUDIES SECTION
   ========================================================================== */
.case-studies-section {
  background-color: var(--bg-light);
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .case-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.case-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.case-header {
  background: var(--primary-dark);
  color: white;
  padding: 16px 20px;
}

.case-geo-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #38bdf8;
  display: block;
  margin-bottom: 4px;
}

.case-title {
  font-size: 16px;
  font-weight: 800;
  color: white;
  margin: 0;
}

.case-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.case-item-row {
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.case-item-row strong {
  color: var(--primary-dark);
  display: block;
  font-size: 12px;
  text-transform: uppercase;
}

.case-result-badge {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  margin-top: 10px;
}

/* ==========================================================================
   AWARDS & RECOGNITIONS
   ========================================================================== */
.awards-strip {
  background: #0f172a;
  color: white;
  padding: 40px 0;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .awards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.award-box {
  padding: 15px;
}

.award-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.award-title {
  font-size: 15px;
  font-weight: 800;
  color: white;
  margin-bottom: 2px;
}

.award-sub {
  font-size: 12px;
  color: #94a3b8;
}

/* ==========================================================================
   BEFORE & AFTER IMAGE COMPARISON
   ========================================================================== */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.comparison-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.comparison-visual-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.comparison-img-card {
  position: relative;
  min-height: 220px;
  background-color: #07345d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: white;
  text-align: center;
}

.comparison-img-card.before {
  background: linear-gradient(rgba(181, 41, 18, 0.85), rgba(7, 52, 93, 0.9)), url('https://images.unsplash.com/photo-1584622650111-993a426fbf0a?auto=format&fit=crop&w=600&q=80') center/cover;
}

.comparison-img-card.after {
  background: linear-gradient(rgba(27, 135, 63, 0.85), rgba(7, 52, 93, 0.9)), url('https://images.unsplash.com/photo-1581094288338-2314dddb7ece?auto=format&fit=crop&w=600&q=80') center/cover;
}

.comparison-badge {
  position: absolute;
  top: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.badge-before {
  left: 12px;
  background: var(--accent);
  color: white;
}

.badge-after {
  right: 12px;
  background: var(--success);
  color: white;
}

.comparison-content {
  padding: 22px;
}

.comparison-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.comparison-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   INTERACTIVE MAP CONTAINER
   ========================================================================== */
.map-container-wrap {
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.map-header {
  padding: 20px 24px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.map-header-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-dark);
}

.map-header-badge {
  background: var(--success);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
}

.map-embed {
  width: 100%;
  height: 400px;
  border: none;
}

/* ==========================================================================
   ENHANCED SERVICE PAGES MODERN DESIGN & 1100PX CONTAINER
   ========================================================================== */
.service-container-1100 {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.service-hero-highlight {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.service-pill-badge {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-section-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 35px 30px;
  margin-bottom: 35px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.service-grid-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 25px 0;
}

@media (min-width: 768px) {
  .service-grid-2col {
    grid-template-columns: 1fr 1fr;
  }
}

.service-grid-3col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 25px 0;
}

@media (min-width: 768px) {
  .service-grid-3col {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card-feature {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 24px;
  transition: all 0.2s ease;
  position: relative;
}

.service-card-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  border-color: #93c5fd;
}

.service-step-num {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), #0284c7);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 14px;
  box-shadow: 0 4px 10px rgba(7, 52, 93, 0.25);
}

.service-symptom-item {
  background: #fff;
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  margin-bottom: 12px;
}

.service-tech-card {
  background: linear-gradient(135deg, #07345d 0%, #031b30 100%);
  color: white;
  border-radius: 12px;
  padding: 30px;
  margin: 35px 0;
}

.service-tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.service-tech-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 18px;
}

.service-comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin: 25px 0;
}

.service-comparison-table th {
  padding: 16px 20px;
  font-weight: 800;
  font-size: 15px;
}

.service-comparison-table td {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  font-size: 14px;
}

/* ==========================================================================
   PAGE HERO & INNER PAGE LAYOUTS
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #031b30 100%);
  color: white;
  padding: 50px 0 45px;
  position: relative;
}

.breadcrumbs {
  font-size: 13px;
  margin-bottom: 15px;
  color: #94a3b8;
}

.breadcrumbs a {
  color: #38bdf8;
}

.breadcrumbs span {
  margin: 0 8px;
  color: #64748b;
}

.page-hero-title {
  font-size: 32px;
  font-weight: 900;
  color: white;
  line-height: 1.2;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .page-hero-title {
    font-size: 42px;
  }
}

.page-hero-subtitle {
  font-size: 16px;
  color: #cbd5e1;
  max-width: 750px;
  line-height: 1.6;
}

/* Legal / Privacy Policy Styles */
.legal-wrapper {
  padding: 50px 0;
  background-color: var(--bg-white);
}

.legal-box {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 35px 30px;
  box-shadow: var(--shadow-sm);
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .legal-box {
    padding: 50px 60px;
  }
}

.legal-box h2 {
  font-size: 22px;
  color: var(--primary-dark);
  margin-top: 32px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-light);
}

.legal-box h3 {
  font-size: 17px;
  color: var(--text-dark);
  margin-top: 20px;
  margin-bottom: 10px;
}

.legal-box p, .legal-box ul {
  font-size: 15px;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 16px;
}

.legal-box ul {
  padding-left: 24px;
}

.legal-box li {
  margin-bottom: 8px;
}

/* Contact Page Grid */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 992px) {
  .contact-page-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.contact-card-info {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-method-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

/* About Page Styles */
.about-stats-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 30px 0;
}

@media (min-width: 768px) {
  .about-stats-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.about-stat-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 16px;
  text-align: center;
}

.about-stat-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

.about-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}



