/* ==========================================================================
   PROFLOW PLUMBING EXPERTS - THEME 1: DEEP NAVY & EMERGENCY ORANGE
   Features: Hero Background Image, Dark Header, High-Contrast White Booking Card
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
  --primary-navy: #0A192F;
  --secondary-navy: #0F172A;
  --deep-navy-bg: #07101E;
  --slate-dark: #1E293B;
  --slate-mid: #475569;
  --slate-light: #64748B;
  --slate-subtle: #94A3B8;
  --surface-light: #F8FAFC;
  --surface-white: #FFFFFF;
  --border-light: #E2E8F0;
  --border-dark: rgba(255, 255, 255, 0.12);
  
  --accent-orange: #FF6B00;
  --accent-orange-hover: #E05D00;
  --accent-orange-glow: rgba(255, 107, 0, 0.35);
  
  --brand-cyan: #0284C7;
  --brand-cyan-light: rgba(2, 132, 199, 0.15);
  --trust-green: #10B981;
  --trust-green-light: #ECFDF5;
  --gold-star: #FBBF24;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.25);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --container-max: 1240px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--surface-white);
  color: var(--slate-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Top Emergency Announcement Bar */
.top-bar {
  background-color: #050B14;
  color: var(--surface-white);
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(255, 107, 0, 0.18);
  color: #FFA756;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-orange);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-orange);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.9; }
  50% { transform: scale(1.3); opacity: 0.4; }
  100% { transform: scale(0.95); opacity: 0.9; }
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: #94A3B8;
  font-weight: 500;
}

.top-phone-link {
  color: #FFA756;
  font-weight: 700;
}

.top-phone-link:hover {
  color: var(--surface-white);
}

/* Header & Navigation (Dark Theme 1 Style) */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 25, 47, 0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--brand-cyan), #0369A1);
  color: var(--surface-white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.35);
}

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

.logo-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.45rem;
  line-height: 1.1;
  color: var(--surface-white);
  letter-spacing: -0.02em;
}

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

.logo-subtitle {
  font-size: 0.7rem;
  font-weight: 700;
  color: #94A3B8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.85rem;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  color: #E2E8F0;
  font-size: 0.95rem;
}

.nav-link:hover {
  color: var(--accent-orange);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-header-call {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-hover));
  color: var(--surface-white);
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 4px 15px var(--accent-orange-glow);
  transition: var(--transition);
  animation: pulse-border 2.5s infinite;
}

.btn-header-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.5);
}

@keyframes pulse-border {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(255, 107, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); }
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--surface-white);
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION (THEME 1: HERO BACKGROUND IMAGE + DEEP NAVY OVERLAY)
   ========================================================================== */
.hero {
  position: relative;
  /* Background Image with Rich Deep Navy Gradient Overlay */
  background: 
    linear-gradient(135deg, 
      rgba(7, 16, 30, 0.95) 0%, 
      rgba(10, 25, 47, 0.90) 50%, 
      rgba(15, 23, 42, 0.82) 100%),
    url('../img/hero.webp') center center / cover no-repeat;
  color: var(--surface-white);
  padding: 3.5rem 0 3.25rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(2, 132, 199, 0.25);
  color: #7DD3FC;
  border: 1px solid rgba(2, 132, 199, 0.4);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(6px);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.45rem;
  font-weight: 900;
  line-height: 1.12;
  color: var(--surface-white);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-title span {
  color: var(--accent-orange);
  position: relative;
  display: inline-block;
}

.hero-desc {
  font-size: 1.15rem;
  color: #CBD5E1;
  line-height: 1.65;
  margin-bottom: 1.75rem;
  max-width: 580px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.btn-primary-large {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-hover));
  color: var(--surface-white);
  padding: 1.05rem 2.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 6px 22px var(--accent-orange-glow);
  transition: var(--transition);
}

.btn-primary-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 107, 0, 0.5);
}

.btn-secondary-large {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  color: var(--surface-white);
  padding: 1.05rem 1.85rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.btn-secondary-large:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--surface-white);
}

/* ==========================================================================
   HERO RIGHT: CRISP WHITE "REQUEST SERVICE" CARD (THEME 1 HIGH CONVERSION)
   ========================================================================== */
.hero-form-card {
  background: var(--surface-white);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  color: var(--slate-dark);
  position: relative;
}

.form-header {
  margin-bottom: 1.35rem;
}

.form-badge {
  display: inline-block;
  background: rgba(255, 107, 0, 0.12);
  color: var(--accent-orange);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.45rem;
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.2;
}

.form-subtext {
  font-size: 0.875rem;
  color: var(--slate-mid);
  margin-top: 0.35rem;
}

.dispatch-form {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--slate-dark);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.form-input, .form-select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--surface-light);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--slate-dark);
  outline: none;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus {
  border-color: var(--accent-orange);
  background: var(--surface-white);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.18);
}

.btn-submit-form {
  margin-top: 0.5rem;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-hover));
  color: var(--surface-white);
  border: none;
  padding: 1.05rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px var(--accent-orange-glow);
}

.btn-submit-form:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 107, 0, 0.45);
}

.form-footer-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--slate-mid);
  margin-top: 0.75rem;
}

/* ==========================================================================
   THEME 1 QUICK SERVICES STRIP (UNDER HERO)
   ========================================================================== */
.quick-services-bar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  padding: 1.5rem 0;
  box-shadow: var(--shadow-sm);
}

.quick-services-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.quick-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--primary-navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.quick-pill-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.quick-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-dark);
}

.quick-pill-icon {
  color: var(--brand-cyan);
  font-size: 1.15rem;
}

.quick-call-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--accent-orange);
  font-size: 1rem;
}

.quick-call-cta:hover {
  text-decoration: underline;
}

/* Emergency Banner Section */
.emergency-strip {
  background: linear-gradient(135deg, #07101E 0%, var(--primary-navy) 100%);
  color: var(--surface-white);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.emergency-strip-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.emergency-strip-text h3 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.emergency-strip-text p {
  color: #94A3B8;
  font-size: 1rem;
}

.emergency-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--accent-orange);
  color: var(--surface-white);
  padding: 1rem 2.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  box-shadow: 0 0 25px rgba(255, 107, 0, 0.5);
  animation: pulse 2s infinite;
}

/* Section Header Shared */
.section {
  padding: 5.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  background: var(--brand-cyan-light);
  color: var(--brand-cyan);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--slate-mid);
}

/* Services Grid (6 Dedicated WebP Cards) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: #CBD5E1;
}

.service-image-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  background: #0A192F;
}

.service-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-image-wrap img {
  transform: scale(1.05);
}

.service-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(10, 25, 47, 0.88);
  color: var(--surface-white);
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.service-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.925rem;
  color: var(--slate-mid);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-features li {
  font-size: 0.85rem;
  color: var(--slate-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-features li::before {
  content: '✓';
  color: var(--trust-green);
  font-weight: 900;
}

.service-card-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-call-link {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--accent-orange);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.card-call-link:hover {
  color: var(--accent-orange-hover);
  text-decoration: underline;
}

/* Interactive Problem & Cost Estimator Widget */
.estimator-section {
  background: linear-gradient(180deg, var(--surface-light) 0%, #FFFFFF 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.estimator-box {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
}

.estimator-selector h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 1rem;
}

.issue-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.issue-pill {
  background: var(--surface-light);
  border: 2px solid var(--border-light);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.issue-pill.active {
  border-color: var(--brand-cyan);
  background: var(--brand-cyan-light);
  color: var(--brand-cyan);
}

.estimator-result-card {
  background: var(--primary-navy);
  color: var(--surface-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.result-badge {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #FFA756;
  letter-spacing: 0.06em;
}

.result-service-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0.35rem 0 1rem;
}

.result-metric {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.75rem 0;
  font-size: 0.95rem;
}

.result-metric span {
  color: #94A3B8;
}

.result-metric strong {
  color: var(--surface-white);
}

.result-cta {
  margin-top: 1.5rem;
}

.btn-result-call {
  display: block;
  text-align: center;
  background: var(--accent-orange);
  color: var(--surface-white);
  padding: 0.95rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  transition: var(--transition);
}

.btn-result-call:hover {
  background: var(--accent-orange-hover);
  transform: translateY(-2px);
}

/* Why Choose Us & Comparison */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.compare-card {
  padding: 2.25rem;
  border-radius: var(--radius-lg);
}

.compare-card.proflow {
  background: linear-gradient(135deg, #0A192F 0%, #0F284E 100%);
  color: var(--surface-white);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(2, 132, 199, 0.3);
}

.compare-card.others {
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  color: var(--slate-mid);
}

.compare-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.check-green {
  color: #34D399;
  font-weight: 900;
}

.cross-red {
  color: #F87171;
  font-weight: 900;
}

/* Reviews Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.review-card {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars {
  color: #F59E0B;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.review-text {
  font-size: 0.95rem;
  color: var(--slate-dark);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

.reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand-cyan-light);
  color: var(--brand-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.reviewer-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-navy);
}

.reviewer-loc {
  font-size: 0.8rem;
  color: var(--slate-light);
}

/* FAQ Accordion */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--surface-white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--brand-cyan);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.35rem;
  color: var(--accent-orange);
  transition: transform 0.25s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  color: var(--slate-mid);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Site Footer */
.site-footer {
  background: #050B14;
  color: var(--surface-white);
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: #94A3B8;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 1rem 0 1.5rem;
}

.footer-phone-big {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 107, 0, 0.15);
  color: #FFA756;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  border: 1px solid rgba(255, 107, 0, 0.3);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--surface-white);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-orange);
  padding-left: 4px;
}

.footer-hours-item {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: #CBD5E1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #64748B;
}

/* Mobile Sticky Bottom Call Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--primary-navy);
  padding: 0.75rem 1rem;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
  border-top: 2px solid var(--accent-orange);
}

.mobile-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-hover));
  color: var(--surface-white);
  padding: 0.85rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.15rem;
  box-shadow: 0 4px 12px var(--accent-orange-glow);
}

/* Case Study Cards (E-E-A-T Verified Field Work) */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.case-card {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--brand-cyan);
}

.case-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--trust-green-light);
  color: var(--trust-green);
  margin-bottom: 1rem;
}

.case-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.case-detail {
  font-size: 0.9rem;
  color: var(--slate-mid);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.case-detail strong {
  color: var(--slate-dark);
}

.case-outcome {
  background: var(--surface-light);
  border-left: 3px solid var(--brand-cyan);
  padding: 0.75rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  color: var(--slate-dark);
  font-weight: 500;
}

/* Diagnostic Result Card Typography & Layout */
.diagnostic-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 0;
}

.diagnostic-item:last-of-type {
  border-bottom: none;
}

.diagnostic-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #FFA756;
  margin-bottom: 0.25rem;
}

.diagnostic-val {
  font-size: 0.9rem;
  color: #E2E8F0;
  line-height: 1.45;
}

/* Legal Modal (Privacy & Terms) */
.legal-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 25, 47, 0.75);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.legal-modal-box {
  background: var(--surface-white);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  position: relative;
}

.legal-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--slate-mid);
  transition: var(--transition);
}

.legal-modal-close:hover {
  background: var(--primary-navy);
  color: #FFFFFF;
}

.legal-modal-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 1.25rem;
}

.legal-modal-body {
  font-size: 0.95rem;
  color: var(--slate-dark);
  line-height: 1.65;
}

.legal-modal-body h4 {
  font-family: var(--font-heading);
  color: var(--primary-navy);
  margin: 1.25rem 0 0.5rem;
  font-size: 1.1rem;
}

.legal-modal-body p {
  margin-bottom: 0.85rem;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .estimator-box {
    grid-template-columns: 1fr;
  }
  .case-studies-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .nav-menu {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero {
    padding: 3.5rem 0 3rem;
  }
  .hero-title {
    font-size: 2.35rem;
  }
  .trust-badges-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .quick-services-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  .case-studies-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .mobile-sticky-bar {
    display: block;
  }
  body {
    padding-bottom: 70px;
  }
}
