/*
Theme Name: San Bernardino CA Junk Removal
Theme URI: https://sanbernardinojunkremoval.com
Author: San Bernardino Web Studio
Author URI: https://sanbernardinojunkremoval.com
Description: Ultra-modern, high-converting, fluid responsive, and SEO-optimized WordPress theme for San Bernardino, CA Junk Removal & Hauling services.
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: san-bernardino-junk-removal
Tags: junk-removal, hauling, cleanouts, local-business, seo-optimized, responsive-layout, modern-design, fluid-layout
*/

/* =========================================================
   1. DESIGN TOKENS & FLUID VARIABLES (AUTO-ADJUST MONITORS)
========================================================= */
:root {
  /* Colors */
  --primary: #059669;
  --primary-dark: #047857;
  --primary-light: #10b981;
  --primary-glow: rgba(16, 185, 129, 0.22);
  --primary-subtle: #ecfdf5;

  --secondary: #090d16;
  --secondary-surface: #111827;
  --secondary-card: #1e293b;
  --secondary-border: rgba(255, 255, 255, 0.1);

  --accent: #f59e0b;
  --accent-hover: #d97706;
  --accent-glow: rgba(245, 158, 11, 0.28);
  --accent-subtle: #fffbeb;

  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --border: #e2e8f0;
  --border-light: #f1f5f9;

  /* Shadows */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.04), 0 1px 2px -1px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.18);
  --shadow-primary: 0 10px 25px -5px rgba(5, 150, 105, 0.35);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Fluid Spacing & Sizing */
  --container-max: min(1340px, 94vw);
  --section-padding: clamp(48px, 6vw, 96px);
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================================
   2. RESET & BASE
========================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text-body);
  background-color: var(--bg-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--primary-dark);
}

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

/* =========================================================
   3. AUTO-ADJUSTING FLUID CONTAINER & TYPOGRAPHY
========================================================= */
.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 3vw, 32px);
  padding-right: clamp(16px, 3vw, 32px);
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
}

h4 {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

p {
  margin-bottom: 1rem;
}

.text-gradient {
  background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #6ee7b7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-accent-gradient {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =========================================================
   4. TOP ANNOUNCEMENT BAR
========================================================= */
.top-bar {
  background: #090d16;
  color: #e2e8f0;
  font-size: 0.84rem;
  padding: 8px 0;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

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

.top-dispatch-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* =========================================================
   5. MODERN GLASS HEADER & NAV
========================================================= */
.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  color: var(--secondary);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-badge {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px var(--primary-glow);
}

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

.brand-logo-sub {
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.desktop-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.5vw, 18px);
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-links a, .nav-item-btn {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.94rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.nav-links a:hover, .nav-item-btn:hover {
  color: var(--primary);
  background: var(--primary-subtle);
}

.nav-chevron {
  font-size: 0.7rem;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-item:hover .nav-chevron,
.nav-item.is-active .nav-chevron {
  transform: rotate(180deg);
}

/* Mega Dropdowns — visibility/opacity model for smooth CSS transitions */
.dropdown-mega {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  /* Always display:grid so transitions work — hidden via visibility+opacity */
  display: grid;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(0,0,0,0.13), 0 4px 16px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 22px;
  z-index: 9999;
  transition: opacity 0.22s cubic-bezier(0.16,1,0.3,1),
              transform 0.22s cubic-bezier(0.16,1,0.3,1),
              visibility 0.22s;
  /* Prevent overflow clipping from parent stacking contexts */
  will-change: opacity, transform;
}

.dropdown-mega--services {
  min-width: min(860px, 96vw);
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.dropdown-mega--areas {
  min-width: min(500px, 96vw);
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Show state — toggled by JS (.is-active) or CSS hover on desktop */
.nav-item:hover .dropdown-mega,
.nav-item.is-active .dropdown-mega {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Bridge gap so mouse can move from button to dropdown without closing */
.nav-item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
}

.mega-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dropdown-header {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--text-muted);
  padding: 6px 10px 8px;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dropdown-mega a {
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}

.dropdown-mega a i {
  color: var(--primary);
  font-size: 0.85rem;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.dropdown-mega a:hover {
  background: var(--primary-subtle);
  color: var(--primary-dark);
  transform: translateX(3px);
}

/* Header CTAs */
.cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* =========================================================
   6. BUTTONS & UI CONTROLS
========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-weight: 700;
  font-size: 0.94rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-smooth);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.4);
}

.btn-accent {
  background: linear-gradient(135deg, #fbbf24 0%, var(--accent) 100%);
  color: #0f172a !important;
  font-weight: 800;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}

.btn-outline {
  border: 1.5px solid var(--border);
  color: var(--text-main);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-subtle);
}

/* =========================================================
   7. HERO SECTION (ULTRA-MODERN)
========================================================= */
.hero {
  background: radial-gradient(circle at 85% 15%, rgba(16, 185, 129, 0.2) 0%, transparent 60%),
              radial-gradient(circle at 15% 85%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
              linear-gradient(145deg, #090d16 0%, #0f172a 100%);
  color: #ffffff;
  padding: clamp(48px, 6vw, 88px) 0 clamp(56px, 7vw, 96px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 4.5vw, 56px);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.hero h1 {
  color: #ffffff;
  margin-bottom: 18px;
  line-height: 1.14;
}

.hero-lead {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  color: #cbd5e1;
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 28px;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
}

.hero-feature-item i {
  color: #34d399;
  font-size: 1.1rem;
}

/* Hero Quote / Booking Card */
.quote-card {
  background: #ffffff;
  color: var(--text-main);
  padding: clamp(20px, 3.5vw, 32px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl), 0 0 0 1px rgba(255, 255, 255, 0.15);
  position: relative;
  z-index: 10;
}

.quote-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.quote-card h3 {
  font-size: 1.3rem;
  color: var(--secondary);
  margin-bottom: 4px;
}

.quote-card p {
  color: var(--text-muted);
  font-size: 0.86rem;
  margin-bottom: 16px;
}

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

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--secondary);
}

.form-control {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition-fast);
  background: #ffffff;
  color: var(--text-main);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

/* =========================================================
   8. TRUST & METRICS STRIP
========================================================= */
.trust-banner {
  background: #ffffff;
  padding: clamp(24px, 3.5vw, 36px) 0;
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(14px, 2vw, 24px);
}

.trust-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-lg);
  background: #ffffff;
}

.trust-icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--primary-subtle);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.trust-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.2;
}

.trust-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* =========================================================
   9. INTERACTIVE LOAD PRICING ESTIMATOR SECTION
========================================================= */
.pricing-section {
  padding: var(--section-padding) 0;
  background: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(32px, 4.5vw, 52px);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-subtle);
  color: var(--primary-dark);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.section-header h2 {
  margin-bottom: 10px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.02rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 22px;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 40%);
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pricing-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  background: var(--primary-subtle);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.pricing-size {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 4px;
}

.pricing-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.pricing-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 18px;
  line-height: 1;
}

.pricing-price span {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 22px;
  flex-grow: 1;
}

.pricing-features li {
  padding: 7px 0;
  font-size: 0.86rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-light);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li i {
  color: var(--primary);
}

/* =========================================================
   10. 3-STEP PROCESS SECTION
========================================================= */
.process-section {
  padding: var(--section-padding) 0;
  background: var(--bg-body);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.process-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  position: relative;
  transition: var(--transition-smooth);
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.process-step-num {
  font-size: 3.2rem;
  font-weight: 900;
  color: #e2e8f0;
  line-height: 1;
  position: absolute;
  top: 18px;
  right: 20px;
  pointer-events: none;
}

.process-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
  box-shadow: 0 6px 16px var(--primary-glow);
}

.process-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.process-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* =========================================================
   11. POPULAR SERVICES GRID SECTION
========================================================= */
.services-section {
  padding: var(--section-padding) 0;
  background: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

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

.service-card-img-wrap {
  position: relative;
  height: 190px;
  overflow: hidden;
}

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

.service-card:hover .service-card-img {
  transform: scale(1.06);
}

.service-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.service-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-body h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.service-card-body p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
}

/* =========================================================
   12. INLAND EMPIRE SERVICE AREAS GRID
========================================================= */
.areas-section {
  padding: var(--section-padding) 0;
  background: var(--bg-body);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.area-pill-card {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-fast);
  color: var(--text-main);
  text-decoration: none;
}

.area-pill-card:hover {
  border-color: var(--primary);
  background: var(--primary-subtle);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  color: var(--primary-dark);
}

.area-pill-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
}

.area-pill-info i {
  color: var(--primary);
}

.area-pill-status {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* =========================================================
   13. TESTIMONIALS & REVIEWS SECTION
========================================================= */
.reviews-section {
  padding: var(--section-padding) 0;
  background: #ffffff;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--bg-body);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-fast);
}

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

.review-stars {
  color: #f59e0b;
  font-size: 0.95rem;
  margin-bottom: 14px;
  display: flex;
  gap: 3px;
}

.review-text {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
}

.review-name {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--secondary);
}

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

/* =========================================================
   14. MAIN CONTENT & ARTICLE LAYOUT (PAGE / POST)
========================================================= */
.content-section {
  padding: clamp(36px, 4.5vw, 64px) 0;
  background: var(--bg-body);
}

.page-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(20px, 3.5vw, 40px);
  align-items: start;
}

.article-content {
  background: #ffffff;
  padding: clamp(24px, 3.5vw, 44px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.article-content h1 {
  margin-bottom: 18px;
}

.article-content h2 {
  margin: 32px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-light);
}

.article-content h3 {
  margin: 22px 0 10px;
}

.article-content p {
  font-size: 1.02rem;
  color: var(--text-body);
  margin-bottom: 18px;
  line-height: 1.75;
}

.article-content ul, .article-content ol {
  margin: 14px 0 22px 22px;
}

.article-content li {
  margin-bottom: 8px;
  line-height: 1.65;
}

.article-content img {
  border-radius: var(--radius-lg);
  margin: 24px 0;
  box-shadow: var(--shadow-md);
}

/* Sidebar */
.sidebar-sticky {
  position: sticky;
  top: 90px;
}

.sidebar-box {
  background: #ffffff;
  padding: 24px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.sidebar-box h4 {
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

.sidebar-menu {
  list-style: none;
}

.sidebar-menu li {
  border-bottom: 1px solid var(--border-light);
}

.sidebar-menu li:last-child {
  border-bottom: none;
}

.sidebar-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  color: var(--text-body);
  font-weight: 600;
  font-size: 0.9rem;
}

.sidebar-menu a:hover {
  color: var(--primary);
  padding-left: 4px;
}

/* =========================================================
   15. MODERN DARK FOOTER
========================================================= */
.site-footer {
  background: #090d16;
  color: #cbd5e1;
  padding: clamp(48px, 5.5vw, 76px) 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(20px, 3.5vw, 40px);
  margin-bottom: 44px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2.5px;
  background: var(--primary);
  border-radius: var(--radius-full);
}

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

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

.footer-links a {
  color: #94a3b8;
  font-size: 0.88rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

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

/* =========================================================
   16. HAMBURGER & MOBILE DRAWER
========================================================= */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  padding: 7px;
}

.hamburger-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s;
}

.mobile-overlay.is-visible {
  display: block;
  opacity: 1;
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: -340px;
  width: min(320px, 85vw);
  height: 100vh;
  background: #ffffff;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-2xl);
  transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-nav.is-open {
  left: 0;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: #f8fafc;
}

.mobile-close-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1.4rem;
  line-height: 1;
  padding: 3px 9px;
  cursor: pointer;
  color: var(--text-muted);
}

.mobile-nav-body {
  flex: 1;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: 13px 20px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--secondary);
  border-bottom: 1px solid var(--border-light);
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  gap: 10px;
}

.mobile-nav-link:hover {
  color: var(--primary);
  background: var(--primary-subtle);
}

.mobile-dropdown-panel {
  display: none;
  flex-direction: column;
  background: #f8fafc;
  padding: 6px 0;
}

.mobile-nav-item.is-expanded .mobile-dropdown-panel {
  display: flex;
}

.mobile-dropdown-panel a {
  padding: 9px 34px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  border-bottom: 1px solid #f1f5f9;
}

.mobile-dropdown-panel a:hover {
  color: var(--primary);
  background: #ecfdf5;
}

.mobile-dropdown-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--text-muted);
  padding: 7px 20px 3px;
  letter-spacing: 0.07em;
}

.mobile-nav-footer {
  padding: 18px;
  border-top: 1px solid var(--border);
  background: #f8fafc;
}

/* =========================================================
   17. RESPONSIVE BREAKPOINTS (AUTO-ADJUST ALL MONITORS)
========================================================= */
@media (max-width: 1200px) {
  .dropdown-mega--services {
    min-width: 700px;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .page-layout {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sidebar-sticky {
    position: static;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
  .btn-text-hide {
    display: none;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta-row .btn {
    width: 100%;
  }
  .quote-card {
    padding: 18px;
  }
}

/* Ultrawide 4K Displays */
@media (min-width: 2000px) {
  :root {
    --container-max: 1560px;
  }
  body {
    font-size: 1.08rem;
  }
}

/* =========================================================
   18. SEMANTIC CONTENT SECTIONS & RESPONSIVE IMAGES
========================================================= */
.content-block-section {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3.5vw, 40px);
  margin-bottom: clamp(24px, 3.5vw, 40px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
  position: relative;
}

.content-block-section:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}

.content-block-section.intro-section {
  border-left: 4px solid var(--primary);
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 60%);
}

.section-title-wrap {
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-light);
}

.section-title-wrap h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  color: var(--secondary);
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title-wrap h2::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 22px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-full);
}

.section-body-content p {
  font-size: 1.02rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 18px;
}

.section-body-content p:last-child {
  margin-bottom: 0;
}

.section-body-content h3 {
  font-size: 1.22rem;
  color: var(--secondary);
  margin: 24px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-body-content h3::before {
  content: '▸';
  color: var(--primary);
  font-size: 1.1rem;
}

.section-body-content ul, .section-body-content ol {
  margin: 16px 0 20px 24px;
}

.section-body-content li {
  margin-bottom: 8px;
  line-height: 1.7;
  color: var(--text-body);
}

/* Responsive Image Cards */
.responsive-img-card {
  margin: 24px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-md);
  background: #ffffff;
  transition: var(--transition-smooth);
}

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

.responsive-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 380px;
  overflow: hidden;
  background: #0f172a;
}

.responsive-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.responsive-img-card:hover .responsive-img {
  transform: scale(1.04);
}

.responsive-img-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(9, 13, 22, 0.82);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.03em;
}

.responsive-img-caption {
  padding: 12px 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: #f8fafc;
  border-top: 1px solid var(--border-light);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* FAQ Block Styling */
.faq-block-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-color: #cbd5e1;
}

.faq-block-section .section-body-content h3 {
  background: #ffffff;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-top: 16px;
  font-size: 1.08rem;
  box-shadow: var(--shadow-sm);
}

.faq-block-section .section-body-content p {
  padding: 8px 18px 14px;
}

/* CTA Block Styling */
.cta-block-section {
  background: linear-gradient(135deg, #065f46 0%, #047857 100%);
  color: #ffffff;
  border: none;
}

.cta-block-section .section-title-wrap {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.cta-block-section .section-title-wrap h2 {
  color: #ffffff;
}

.cta-block-section .section-title-wrap h2::before {
  background: #34d399;
}

.cta-block-section .section-body-content p {
  color: #e2e8f0;
}

.cta-block-section .section-body-content a {
  color: #34d399;
  font-weight: 700;
}
