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

/* ==========================================================================
   CSS Variables & Design System
   ========================================================================== */
:root {
  /* Colors */
  --primary: #0a192f;          /* Deep Navy */
  --primary-dark: #071120;     /* Darker Navy */
  --primary-light: #f8fafc;    /* Off-white / Gray background */
  --primary-foreground: #ffffff;
  
  --secondary: #0f2744;        /* Medium Navy */
  --secondary-hover: #173b66;
  
  --accent: #28D000;           /* Vivid Green */
  --accent-hover: #22b800;
  --accent-foreground: #0a192f; /* Dark navy text */
  
  --background: #ffffff;
  --muted: #f8fafc;            /* Light gray background */
  --muted-foreground: #64748b;
  --card: #ffffff;
  --text-primary: #0a192f;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-hover: #cbd5e1;
  
  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 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);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  
  /* Border Radii */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Layout Bounds */
  --max-width: 80rem; /* 1280px */
  
  /* Transitions */
  --transition-all: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* ==========================================================================
   Layout Utility Classes
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.flex-1 { flex: 1 1 0%; }
.min-h-screen { min-height: 100vh; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.text-center { text-align: center; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.overflow-hidden { overflow: hidden; }

/* Grid Utilities */
.grid {
  display: grid;
}

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }

@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-1 { grid-column: span 1 / span 1; }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
  .lg\:col-span-4 { grid-column: span 4 / span 4; }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-6 { grid-column: span 6 / span 6; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:col-span-8 { grid-column: span 8 / span 8; }
  .lg\:col-span-9 { grid-column: span 9 / span 9; }
  .lg\:col-span-10 { grid-column: span 10 / span 10; }
  .lg\:col-span-11 { grid-column: span 11 / span 11; }
  .lg\:col-span-12 { grid-column: span 12 / span 12; }
  .lg\:order-2 { order: 2; }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-all);
}

header.scrolled {
  background-color: #ffffff;
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  height: 5rem; /* 80px */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Nav Links */
.nav-links {
  display: none;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

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

/* Right Nav CTAs */
.header-actions {
  display: none;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .header-actions {
    display: flex;
  }
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.phone-link:hover {
  color: var(--secondary);
}

.phone-link svg {
  width: 1rem;
  height: 1rem;
  stroke-width: 2.5;
}

/* Hamburger Trigger */
.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: var(--text-primary);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.menu-btn:hover {
  background-color: var(--muted);
}

.menu-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

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

/* Mobile Sidebar menu overlay */
.mobile-nav {
  position: fixed;
  top: 5rem;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--background);
  z-index: 40;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-all);
  border-top: 1px solid var(--border);
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-link {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.mobile-nav-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-all);
  white-space: nowrap;
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-primary {
  background-color: var(--accent);
  color: var(--accent-foreground);
  box-shadow: 0 8px 24px -8px rgba(251, 191, 36, 0.6);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px rgba(245, 158, 11, 0.7);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--primary-foreground);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.btn-outline {
  background-color: var(--background);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background-color: var(--accent);
  color: var(--accent-foreground);
  border-color: var(--accent);
}

.btn-full {
  width: 100%;
}

@media (min-width: 640px) {
  .btn-full {
    width: auto;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding-top: 5rem;
  padding-bottom: 7rem;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero {
    padding-top: 8rem;
    padding-bottom: 10rem;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.98) 0%, rgba(6, 78, 59, 0.85) 50%, rgba(6, 78, 59, 0.65) 100%);
  z-index: 1;
}

.hero-bg-graphic {
  position: absolute;
  top: 10%;
  right: -10%;
  width: 40rem;
  height: 40rem;
  background-color: rgba(251, 191, 36, 0.08);
  border-radius: var(--radius-full);
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  align-items: center;
}

.badge-row {
  display: inline-flex;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.rating-badge span.dot {
  display: inline-block;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: var(--radius-full);
  background-color: var(--accent);
}

.hero h1 {
  font-size: 2.25rem;
  line-height: 1.1;
  margin-top: 1.25rem;
  color: #ffffff;
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4.25rem;
  }
}

.hero h1 span.highlight {
  color: var(--accent);
}

.hero-subtitle {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 40rem;
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.hero-ctas {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Hero Right Side Frame */
.hero-image-frame {
  display: none;
}

@media (min-width: 1024px) {
  .hero-image-frame {
    display: block;
    transform: rotate(2deg);
    transition: var(--transition-all);
  }
  .hero-image-frame:hover {
    transform: rotate(0deg) scale(1.02);
  }
}

.hero-card-wrapper {
  background-color: rgba(6, 78, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 0.5rem;
  box-shadow: var(--shadow-xl);
}

/* Trust Banner Under Hero */
.trust-banner {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(4, 44, 34, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  position: relative;
  z-index: 10;
}

.trust-banner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-item svg {
  width: 1rem;
  height: 1rem;
  color: var(--accent);
}

/* Stat Cards overlay */
.stats-section {
  margin-top: -2.5rem;
  position: relative;
  z-index: 20;
}

.stats-grid {
  background-color: var(--border);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.stat-card {
  background-color: var(--card);
  padding: 1.5rem;
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--primary);
}

@media (min-width: 640px) {
  .stat-num {
    font-size: 2.25rem;
  }
}

.stat-label {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-muted {
  background-color: var(--muted);
}

.section-header {
  text-align: center;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3.5rem;
}

.section-badge {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--secondary);
}

.section-title {
  font-size: 1.875rem;
  margin-top: 0.75rem;
  font-weight: 800;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-desc {
  margin-top: 1rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Wireframes & Graphics Placeholders
   ========================================================================== */
.wireframe-box {
  background-color: #e2e8f0;
  border: 2px dashed #cbd5e1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1.5rem;
  text-align: center;
}

.aspect-16-9 {
  aspect-ratio: 16 / 9;
}

.aspect-4-3 {
  aspect-ratio: 4 / 3;
}

.aspect-custom-logo {
  width: 10rem; /* 160px */
  height: 3rem; /* 48px */
}

.wireframe-box span {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: none;
  margin-top: 0.25rem;
  color: #94a3b8;
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.service-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-all);
  display: flex;
  flex-direction: column;
}

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

.service-card-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
}

.service-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  flex-grow: 1;
}

.service-card-link {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
}

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

.service-card-link svg {
  width: 1rem;
  height: 1rem;
}

/* ==========================================================================
   Why Choose Us
   ========================================================================== */
.why-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-all);
}

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

.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  background-color: rgba(251, 191, 36, 0.15);
  color: var(--primary);
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.why-card h3 {
  margin-top: 1rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.why-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Interactive Before / After Image Slider
   ========================================================================== */
.slider-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.slider-container {
  display: flex;
  flex-direction: column;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  user-select: none;
  cursor: ew-resize;
}

.slider-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Wireframe before-after representation using colors */
.slider-after-wf {
  background-color: #3b82f6; /* Bright clean blue representing AFTER */
}

.slider-before-wf {
  background-color: #475569; /* Grimy gray slate representing BEFORE */
}

.slider-overlay-text {
  position: absolute;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-md);
  z-index: 10;
  pointer-events: none;
}

.slider-overlay-after {
  right: 0.75rem;
  top: 0.75rem;
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.slider-overlay-before {
  left: 0.75rem;
  top: 0.75rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.slider-before-clip {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0 50% 0 0); /* Dynamic control via CSS / JS */
}

.slider-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #ffffff;
  left: 50%; /* Dynamic control */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  z-index: 20;
  pointer-events: none;
}

.slider-handle {
  position: absolute;
  top: 50%;
  left: 50%; /* Dynamic control */
  transform: translate(-50%, -50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background-color: #ffffff;
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  z-index: 25;
  transition: transform 0.15s ease;
  pointer-events: none;
}

.slider-wrapper:hover .slider-handle {
  transform: translate(-50%, -50%) scale(1.1);
}

.slider-handle svg {
  width: 1.125rem;
  height: 1.125rem;
  stroke-width: 2.5;
}

.slider-title {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ==========================================================================
   Google Reviews Widget
   ========================================================================== */
.reviews-summary-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .reviews-summary-card {
    flex-direction: row;
    justify-content: space-between;
  }
}

.reviews-summary-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reviews-logo-g {
  font-weight: 900;
  font-size: 2.5rem;
  line-height: 1;
}

.reviews-logo-g span.blue { color: #4285F4; }
.reviews-logo-g span.red { color: #EA4335; }
.reviews-logo-g span.yellow { color: #FBBC05; }
.reviews-logo-g span.green { color: #34A853; }

.reviews-summary-score {
  text-align: center;
}

@media (min-width: 640px) {
  .reviews-summary-score {
    text-align: right;
  }
}

.score-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.stars {
  display: inline-flex;
  gap: 0.125rem;
  color: var(--accent);
}

.stars svg {
  width: 1.125rem;
  height: 1.125rem;
  fill: currentColor;
}

/* Review Cards Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.review-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

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

.author-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background-color: var(--secondary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.author-name {
  font-size: 0.875rem;
  font-weight: 600;
}

.author-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.review-rating-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.review-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.review-text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-primary);
  flex-grow: 1;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-container {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background-color: var(--card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.faq-trigger:hover {
  background-color: var(--muted);
  color: var(--secondary);
}

.faq-trigger svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.faq-item.open .faq-trigger svg {
  transform: rotate(180deg);
  color: var(--secondary);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: var(--muted);
}

.faq-content-inner {
  padding: 1.25rem 1.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ==========================================================================
   Project Estimator Form Widget
   ========================================================================== */
.estimator-card {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.estimator-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.375rem;
}

.form-input {
  width: 100%;
  height: 2.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 0 0.875rem;
  color: #ffffff;
  transition: var(--transition-fast);
}

.form-input:focus {
  border-color: var(--accent);
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.2);
}

/* Custom Styled Select */
.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2rem;
}

/* Results panel */
.estimator-result {
  margin-top: 1.25rem;
  background-color: rgba(6, 78, 59, 0.5);
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: none; /* Controlled by JS */
  animation: fadeIn 0.3s ease;
}

.result-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.result-range {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-top: 0.25rem;
  color: #ffffff;
}

.result-disclaimer {
  font-size: 0.675rem;
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
}

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

/* ==========================================================================
   Full Lead / Quote Form
   ========================================================================== */
.quote-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .quote-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.lead-form-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.lead-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .lead-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .col-span-2-sm {
    grid-column: span 2 / span 2;
  }
}

.lead-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.375rem;
}

.lead-input {
  width: 100%;
  height: 2.5rem;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 0.875rem;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.lead-input:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.2);
}

.lead-textarea {
  width: 100%;
  min-height: 6rem;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.875rem;
  color: var(--text-primary);
  resize: vertical;
  transition: var(--transition-fast);
}

.lead-textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.2);
}

.lead-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2rem;
}

/* Map Slot */
.map-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
}

/* ==========================================================================
   Service Areas Layout Banner
   ========================================================================== */
.service-areas-banner {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.service-areas-decor {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.12;
}

.cities-grid {
  position: relative;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

.city-pill {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: var(--transition-fast);
}

.city-pill:hover {
  border-color: var(--accent);
  background-color: var(--accent);
  color: var(--accent-foreground);
  transform: translateY(-1px);
}

/* ==========================================================================
   Services Page Alternating Article Grid
   ========================================================================== */
.services-showcase {
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
}

.service-article {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .service-article {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.service-article h2 {
  font-size: 1.75rem;
  font-weight: 800;
}

@media (min-width: 640px) {
  .service-article h2 {
    font-size: 2.25rem;
  }
}

.service-article p {
  margin-top: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.service-article .btn-wrapper {
  margin-top: 1.5rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background-color: var(--primary-dark);
  color: var(--primary-foreground);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

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

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

.footer-column h3 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.footer-about p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

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

/* Service area listing list */
.footer-service-areas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  list-style: none;
}

.footer-service-areas li::before {
  content: "•";
  color: var(--accent);
  display: inline-block;
  width: 0.75rem;
  margin-left: -0.25rem;
}

.footer-contact-list {
  list-style: none;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact-list li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact-list svg {
  width: 1rem;
  height: 1rem;
  color: var(--accent);
  flex-shrink: 0;
}

.footer-contact-list a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

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

/* ==========================================================================
   Section Mirroring Refactor Styles
   ========================================================================== */

/* Vivid Green Pill Button */
.btn-pill-green {
  background-color: #28D000;
  color: #0a192f !important; /* Force dark navy text */
  border-radius: var(--radius-full);
  font-weight: 700;
  padding: 0.625rem 1.5rem;
  box-shadow: 0 4px 14px 0 rgba(40, 208, 0, 0.35);
  border: none;
}

.btn-pill-green:hover {
  background-color: #22b800;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(40, 208, 0, 0.5);
}

/* Hero Section Overlay & Visual Modifications */
.hero {
  background: linear-gradient(135deg, #0a192f 0%, #0f2744 100%) !important;
}

.hero-overlay {
  display: none !important; /* Disable green overlay */
}

/* Hero visual image card with 3D angle and rounded corners */
.hero-visual-card {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: var(--transition-all);
  margin-top: 2rem;
}

@media (min-width: 1024px) {
  .hero-visual-card {
    margin-top: 0;
  }
}

.hero-visual-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
  box-shadow: 0 35px 70px -10px rgba(0, 0, 0, 0.6);
}

/* Floating badge tag on the bottom left of the image */
.hero-visual-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background-color: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 0.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  box-shadow: var(--shadow-lg);
  z-index: 10;
  pointer-events: none;
  text-align: left;
}

.hero-visual-badge .badge-label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #28D000;
  letter-spacing: 0.1em;
}

.hero-visual-badge .badge-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
}

/* Inline 2-field estimator form */
.inline-estimator {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  max-width: 38rem;
  width: 100%;
}

@media (min-width: 640px) {
  .inline-estimator {
    flex-direction: row;
    align-items: flex-end;
  }
  .inline-estimator .form-group {
    margin-bottom: 0;
    flex-grow: 1;
  }
}

.inline-estimator .form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.375rem;
  text-align: left;
}

.inline-estimator .form-input {
  width: 100%;
  height: 2.5rem;
  background-color: rgba(10, 25, 47, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 0 0.875rem;
  color: #ffffff;
  transition: var(--transition-fast);
}

.inline-estimator .form-input:focus {
  border-color: var(--accent);
  background-color: rgba(10, 25, 47, 0.8);
}

.inline-estimator .form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2rem;
}

.inline-estimator .btn-primary {
  background-color: #28D000;
  color: #0a192f;
  box-shadow: 0 4px 14px 0 rgba(40, 208, 0, 0.35);
  border: none;
}

.inline-estimator .btn-primary:hover {
  background-color: #22b800;
  box-shadow: 0 6px 20px 0 rgba(40, 208, 0, 0.5);
}

/* About Section Owner Card container and Grid */
.about-card {
  background-color: #ffffff;
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.about-image-col, .about-text-col {
  width: 100%;
}

.about-text-col h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #0a192f;
  line-height: 1.2;
}

.btn-pill-gray {
  background-color: #f1f5f9;
  color: #0a192f;
  border-radius: var(--radius-full);
  box-shadow: none;
  border: 1px solid #e2e8f0;
}

.btn-pill-gray:hover {
  background-color: #e2e8f0;
  transform: translateY(-2px);
}

/* Floating Google Review Card overlapping About bottom */
.floating-review-wrapper {
  position: relative;
  z-index: 30;
  margin-top: -3.5rem; /* Pull up to overlap boundary */
  margin-bottom: -1rem;
  padding: 0 1rem;
}

.floating-review-card {
  max-width: 48rem;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 1.5rem;
  padding: 1.25rem 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 640px) {
  .floating-review-card {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    gap: 1.5rem;
  }
}

.floating-review-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.floating-review-middle {
  flex-grow: 1;
}

.floating-review-middle h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  color: #0a192f;
}

.floating-review-middle p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.floating-review-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .floating-review-right {
    align-items: flex-end;
  }
}

.floating-review-stars {
  display: flex;
  gap: 2px;
  color: #fbbf24; /* Google reviews gold color */
}

.floating-review-stars svg {
  width: 1.125rem;
  height: 1.125rem;
  fill: currentColor;
}

