/* ==========================================================================
   Post Falls Expert Electricians - Main Stylesheet (Light Mode)
   Domain: electricianpostfalls.com
   Theme: Crisp, Modern Light Mode with Deep Navy Slate & Warm Amber Accents
   ========================================================================== */

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

:root {
  /* Color Tokens - Light Mode */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-elevated: #f1f5f9;
  
  --border-subtle: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-gold: rgba(217, 119, 6, 0.4);
  --border-gold-glow: rgba(217, 119, 6, 0.6);

  --accent-gold: #d97706;
  --accent-gold-bright: #b45309;
  --accent-gold-dark: #92400e;
  --accent-blue: #0284c7;
  --accent-green: #059669;
  
  --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --gold-gradient-hover: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  --blue-gradient: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  --card-gradient: #ffffff;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --text-heading: #0f172a;
  --text-white: #0f172a; /* Mapped to deep slate heading color */
  --text-light: #334155; /* Mapped to dark readable body color */
  --text-body: #334155;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  --text-dark: #090d18;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 14px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.06);
  --glow-gold: 0 4px 20px rgba(217, 119, 6, 0.2);

  /* Layout */
  --max-width: 1240px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-body);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-primary);
}

main {
  flex: 1;
}

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-heading);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; color: #0f172a; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); color: #0f172a; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.45rem); color: #0f172a; }
h4 { font-size: 1.15rem; color: #0f172a; }

.gold-gradient-text {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.blue-gradient-text {
  background: var(--blue-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}

.btn-gold:hover {
  background: var(--gold-gradient-hover);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.45);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-outline {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  color: #0f172a;
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background: #f8fafc;
  border-color: var(--accent-gold);
  color: var(--accent-gold-bright);
  transform: translateY(-2px);
}

.btn-emergency {
  background: #dc2626;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
}

.btn-emergency:hover {
  background: #b91c1c;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.45);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1.05rem;
}

/* Pill Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fef3c7;
  border: 1px solid #fcd34d;
  color: #92400e;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.badge-blue {
  background: #e0f2fe;
  border-color: #bae6fd;
  color: #0369a1;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-green);
  box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7);
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(5, 150, 105, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

/* ==========================================================================
   Top Alert Bar (Light Mode)
   ========================================================================== */
.top-alert-bar {
  background: #0f172a;
  border-bottom: 1px solid #1e293b;
  font-size: 0.84rem;
  color: #cbd5e1;
  padding: 8px 0;
}

.top-alert-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.top-alert-left, .top-alert-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-alert-phone {
  color: #fbbf24;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-alert-phone:hover {
  text-decoration: underline;
  color: #fef08a;
}

/* ==========================================================================
   Header & Navigation (Light Mode)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  transition: var(--transition);
}

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

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

.brand-logo img {
  height: 48px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: #1e293b;
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-gold-bright);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-medium);
  color: #0f172a;
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 260px;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 18px;
  font-size: 0.9rem;
  color: #334155;
}

.dropdown-item:hover {
  background: #f8fafc;
  color: var(--accent-gold-bright);
  padding-left: 22px;
}

/* ==========================================================================
   Hero Section (Light Mode)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 60px 0 80px;
  background: radial-gradient(circle at 85% 15%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 15% 85%, rgba(2, 132, 199, 0.05) 0%, transparent 50%),
              #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-content {
  max-width: 640px;
}

.hero-title {
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1e293b;
  background: #f8fafc;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-medium);
}

.hero-feature-item svg {
  color: var(--accent-gold);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

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

.trust-text {
  font-size: 0.85rem;
  line-height: 1.35;
  color: #64748b;
}

.trust-text strong {
  display: block;
  color: #0f172a;
}

/* Hero Showcase Right Column */
.hero-visual {
  position: relative;
}

.hero-cards-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hero-card {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: var(--transition);
}

.hero-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.hero-card-img-wrap {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: #f1f5f9;
}

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

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

.hero-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border: 1px solid #cbd5e1;
  color: #0f172a;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.hero-card-body {
  padding: 16px;
  background: #ffffff;
}

.hero-card-title {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: #0f172a;
}

.hero-card-desc {
  font-size: 0.84rem;
  color: #64748b;
}

.hero-dispatch-box {
  grid-column: 1 / -1;
  background: #f8fafc;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}

.hero-dispatch-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-dispatch-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Stat Bar / 4 Pillars (Light Mode)
   ========================================================================== */
.stat-bar-section {
  background: #f8fafc;
  border-bottom: 1px solid var(--border-subtle);
  padding: 40px 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.stat-item:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #92400e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.stat-content h4 {
  font-size: 1.02rem;
  margin-bottom: 4px;
  color: #0f172a;
}

.stat-content p {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
}

/* ==========================================================================
   Section Headers (Light Mode)
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 50px;
}

.section-header.text-left {
  text-align: left;
  margin: 0 0 40px;
}

.section-header h2 {
  margin-bottom: 14px;
  color: #0f172a;
}

.section-header p {
  font-size: 1.05rem;
  color: #64748b;
}

/* ==========================================================================
   Comprehensive Services Grid (3x3) (Light Mode)
   ========================================================================== */
.services-section {
  padding: 90px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  transition: var(--transition);
}

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

.service-card:hover::before {
  background: var(--gold-gradient);
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #92400e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 22px;
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background: var(--gold-gradient);
  color: #ffffff;
  transform: scale(1.08);
}

.service-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #0f172a;
}

.service-desc {
  font-size: 0.94rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-bullets {
  margin-bottom: 24px;
}

.service-bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #334155;
  margin-bottom: 8px;
}

.service-bullets li svg {
  color: var(--accent-gold);
  flex-shrink: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--accent-gold-bright);
  margin-top: auto;
}

.service-link:hover {
  gap: 12px;
  color: #92400e;
}

/* ==========================================================================
   Project Showcase Section (2x2) (Light Mode)
   ========================================================================== */
.projects-section {
  padding: 90px 0;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-subtle);
}

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

.project-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.project-image-wrap {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: #f1f5f9;
}

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

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

.project-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.project-badge {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid #cbd5e1;
  color: #0f172a;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.project-badge-blue {
  background: #f0f9ff;
  border-color: #bae6fd;
  color: #0369a1;
}

.project-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #ffffff;
}

.project-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.project-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: #0f172a;
}

.project-desc {
  font-size: 0.94rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 20px;
}

.project-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.project-spec-item {
  font-size: 0.85rem;
}

.project-spec-label {
  color: #64748b;
  display: block;
  font-size: 0.8rem;
}

.project-spec-val {
  color: #0f172a;
  font-weight: 700;
}

/* ==========================================================================
   Why Choose Us (3 Value Pillars) (Light Mode)
   ========================================================================== */
.why-us-section {
  padding: 90px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.why-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.why-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.why-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-full);
  background: #fef3c7;
  border: 2px solid #fde68a;
  color: #92400e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 24px;
}

.why-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #0f172a;
}

.why-card p {
  font-size: 0.94rem;
  color: #475569;
  line-height: 1.65;
}

/* ==========================================================================
   Team Showcase (Light Mode)
   ========================================================================== */
.team-section {
  padding: 90px 0;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-subtle);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.team-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.team-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.team-img-wrap {
  position: relative;
  height: 290px;
  overflow: hidden;
  background: #f1f5f9;
}

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

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

.team-info {
  padding: 24px;
  background: #ffffff;
}

.team-name {
  font-size: 1.25rem;
  margin-bottom: 4px;
  color: #0f172a;
}

.team-role {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--accent-gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.team-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.credential-tag {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.team-bio {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
}

/* ==========================================================================
   Service Areas & Map Section (Light Mode)
   ========================================================================== */
.areas-section {
  padding: 90px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
}

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

.areas-content h2 {
  margin-bottom: 16px;
  color: #0f172a;
}

.areas-content p {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 24px;
}

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

.neighborhood-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  color: #1e293b;
  font-weight: 500;
}

.neighborhood-badge svg {
  color: var(--accent-gold);
}

.areas-map-box {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

/* ==========================================================================
   Testimonials & Project Scenarios (Light Mode)
   ========================================================================== */
.reviews-section {
  padding: 90px 0;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-subtle);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.review-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.review-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

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

.review-badge {
  font-size: 0.82rem;
  color: #0369a1;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.review-quote {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.review-author-avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--gold-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.review-author-name {
  font-size: 0.96rem;
  color: #0f172a;
  font-weight: 700;
}

.review-author-loc {
  font-size: 0.82rem;
  color: #64748b;
}

/* ==========================================================================
   Panel Warning Signs (Light Mode)
   ========================================================================== */
.warning-signs-section {
  padding: 90px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
}

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

.warning-card {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}

.warning-card:hover {
  background: #fee2e2;
  border-color: #f87171;
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.warning-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: #fee2e2;
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.warning-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #991b1b;
}

.warning-card p {
  font-size: 0.88rem;
  color: #7f1d1d;
  line-height: 1.55;
}

/* ==========================================================================
   Process / Working Steps (Light Mode)
   ========================================================================== */
.process-section {
  padding: 90px 0;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-subtle);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.process-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.process-step-num {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 2rem;
  font-weight: 900;
  font-family: var(--font-heading);
  color: #e2e8f0;
}

.process-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-full);
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #92400e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin: 0 auto 18px;
}

.process-card h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: #0f172a;
}

.process-card p {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.55;
}

/* ==========================================================================
   Accordion FAQ Section (Light Mode)
   ========================================================================== */
.faq-section {
  padding: 90px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
}

.faq-container {
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item:hover, .faq-item.active {
  border-color: var(--accent-gold);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: #0f172a;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--accent-gold-bright);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent-gold);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--gold-gradient);
  color: #ffffff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  padding: 0 24px 22px;
}

/* ==========================================================================
   Final CTA Banner & Quote Form (Light Mode)
   ========================================================================== */
.cta-form-section {
  padding: 90px 0;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.cta-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.cta-banner-content h2 {
  font-size: clamp(2rem, 4vw, 2.7rem);
  margin-bottom: 18px;
  color: #0f172a;
}

.cta-banner-content p {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 28px;
}

.emergency-call-card {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 28px;
}

.emergency-call-card h3 {
  color: #b91c1c;
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.emergency-phone-big {
  font-size: 1.8rem;
  font-weight: 900;
  color: #991b1b;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.emergency-phone-big:hover {
  color: #dc2626;
}

/* Quote Form Styling (Light Mode) */
.quote-form-card {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.quote-form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: #0f172a;
}

.quote-form-card p {
  font-size: 0.92rem;
  color: #64748b;
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  background: #f8fafc;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: #0f172a;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ==========================================================================
   Footer (High-Contrast Slate Navy)
   ========================================================================== */
.site-footer {
  background: #0f172a;
  border-top: 1px solid #1e293b;
  padding: 80px 0 30px;
  color: #94a3b8;
  font-size: 0.9rem;
}

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

.footer-brand p {
  line-height: 1.65;
  margin-top: 16px;
  margin-bottom: 20px;
  color: #cbd5e1;
}

.footer-license-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  line-height: 1.5;
  color: #e2e8f0;
}

.footer-license-box strong {
  color: #fbbf24;
}

.footer-col h4,
.footer-col .footer-col-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after,
.footer-col .footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--gold-gradient);
}

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

.footer-links a {
  color: #cbd5e1;
  transition: var(--transition);
}

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

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

.footer-contact-item svg {
  color: #fbbf24;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.84rem;
  color: #94a3b8;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: #cbd5e1;
}

.footer-legal-links a:hover {
  color: #fbbf24;
}

/* ==========================================================================
   Subpage Shared Styles (Breadcrumb, Hero, Article Body)
   ========================================================================== */
.page-hero {
  padding: 60px 0 50px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-subtle);
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 16px;
}

.breadcrumb-nav a {
  color: #475569;
}

.breadcrumb-nav a:hover {
  color: var(--accent-gold-bright);
}

.article-content {
  padding: 70px 0;
  max-width: 900px;
  margin: 0 auto;
}

.article-body h2 {
  margin: 40px 0 16px;
  color: #0f172a;
}

.article-body h3 {
  margin: 28px 0 12px;
  color: var(--accent-gold-bright);
}

.article-body p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 20px;
}

.article-body ul, .article-body ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.article-body li {
  margin-bottom: 10px;
  line-height: 1.65;
  color: #334155;
}

.article-body ul li {
  list-style-type: disc;
}

.article-body a {
  color: var(--accent-gold-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body a:hover {
  color: #92400e;
}

.callout-box {
  background: #f8fafc;
  border-left: 4px solid var(--accent-gold);
  border-top: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 24px;
  margin: 30px 0;
}

.callout-box h4 {
  color: #0f172a;
  margin-bottom: 8px;
}

/* ==========================================================================
   Mobile & Responsive Adjustments
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .areas-grid {
    grid-template-columns: 1fr;
  }
  .cta-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .top-alert-content {
    justify-content: center;
    text-align: center;
  }
  .main-nav {
    display: none;
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    height: calc(100vh - 65px);
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
    gap: 20px;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .stat-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .warning-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .hero-cards-stack {
    grid-template-columns: 1fr;
  }
}
