/* ===== Electrician in Oregon - Design System ===== */
/* Color palette: Blue primary, dark, amber accent, red CTA          */

/* ------------------------------------------------------------------ */
/*  CSS Custom Properties                                              */
/* ------------------------------------------------------------------ */
:root {
  --blue:        #1a56db;
  --blue-dark:   #1e429f;
  --blue-light:  #3b82f6;
  --blue-50:     #eff6ff;
  --blue-100:    #dbeafe;
  --dark:        #111827;
  --dark-800:    #1f2937;
  --dark-700:    #374151;
  --amber:       #f59e0b;
  --amber-dark:  #d97706;
  --amber-50:    #fffbeb;
  --red:         #dc2626;
  --red-dark:    #b91c1c;
  --red-50:      #fef2f2;
  --white:       #ffffff;
  --gray-50:     #f9fafb;
  --gray-100:    #f3f4f6;
  --gray-200:    #e5e7eb;
  --gray-300:    #d1d5db;
  --gray-400:    #9ca3af;
  --gray-600:    #4b5563;
  --gray-700:    #374151;
  --gray-900:    #111827;

  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 12px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.07);
  --shadow-lg:   0 10px 30px rgba(0,0,0,0.12), 0 4px 10px rgba(0,0,0,0.08);
  --shadow-xl:   0 20px 50px rgba(0,0,0,0.15);

  --radius-sm:   0.375rem;
  --radius:      0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1rem;
  --radius-full: 9999px;

  --transition:  0.25s ease;
  --transition-slow: 0.4s ease;
}

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

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

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; }

/* ------------------------------------------------------------------ */
/*  Top Bar                                                            */
/* ------------------------------------------------------------------ */
.top-bar {
  background: var(--dark);
  color: var(--gray-300);
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  line-height: 1.4;
}
.top-bar a {
  color: var(--gray-300);
  transition: color var(--transition);
}
.top-bar a:hover { color: var(--white); }
.top-bar .highlight {
  color: var(--amber);
  font-weight: 600;
}

/* ------------------------------------------------------------------ */
/*  Navbar                                                             */
/* ------------------------------------------------------------------ */
.navbar {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 500;
  transition: box-shadow var(--transition-slow);
}
.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.13);
}

/* Desktop nav links */
.nav-link {
  color: var(--dark-800);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-link:hover {
  color: var(--blue);
  background: var(--blue-50);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--blue);
  border-radius: var(--radius-full);
  transition: width var(--transition);
}
.nav-link:hover::after { width: 60%; }

/* Nav CTA button */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--red);
  color: var(--white) !important;
  padding: 0.5rem 1.125rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 8px rgba(220,38,38,0.3);
}
.nav-cta:hover {
  background: var(--red-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(220,38,38,0.4);
}
.nav-cta::after { display: none; }

/* Mobile hamburger toggle — visible only on mobile via utility class */
.mobile-toggle {
  display: none;        /* hidden by default; shown via .flex-mobile */
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  color: var(--dark);
  background: var(--gray-100);
  transition: background var(--transition);
  flex-shrink: 0;
}
.mobile-toggle:hover { background: var(--gray-200); }

/* Utility: show as flex on mobile */
@media (max-width: 1023px) {
  .mobile-toggle { display: flex; }
  .desktop-nav   { display: none !important; }
}
@media (min-width: 1024px) {
  .mobile-toggle { display: none !important; }
}

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

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  background: var(--white);
  min-width: 260px;
  max-height: 400px;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  z-index: 600;
  padding: 0.5rem;
}
/* Mega dropdown (wide, centered) */
.dropdown-mega {
  width: 700px;
  left: 50%;
  margin-left: -350px;
  max-height: 500px;
}
.dropdown-mega-areas {
  width: 520px;
  left: 50%;
  margin-left: -260px;
  max-height: 500px;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  color: var(--dark-800);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.dropdown-menu a:hover {
  background: var(--blue-50);
  color: var(--blue);
}
.dropdown-menu a i {
  width: 1rem;
  text-align: center;
  color: var(--blue);
  font-size: 0.8125rem;
  flex-shrink: 0;
}

/* Scrollbar styling */
.dropdown-menu::-webkit-scrollbar { width: 5px; }
.dropdown-menu::-webkit-scrollbar-track { background: transparent; }
.dropdown-menu::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: var(--radius-full);
}

/* Dropdown divider */
.dropdown-divider {
  height: 1px;
  background: var(--gray-100);
  margin: 0.35rem 0.5rem;
}

/* Dropdown section header */
.dropdown-header {
  display: block;
  padding: 0.35rem 0.75rem 0.2rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
}

/* ------------------------------------------------------------------ */
/*  Mobile Slide-In Menu                                               */
/* ------------------------------------------------------------------ */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 340px;
  height: 100dvh;
  background: var(--white);
  z-index: 1100;
  box-shadow: -6px 0 32px rgba(0,0,0,0.18);
  transition: right 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open { right: 0; }

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--gray-100);
  flex-shrink: 0;
}
.mobile-menu-header .logo-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark);
}
.mobile-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius);
  background: var(--gray-100);
  color: var(--dark);
  font-size: 1rem;
  transition: background var(--transition);
}
.mobile-close-btn:hover { background: var(--gray-200); }

.mobile-menu-body {
  flex: 1;
  padding: 0.75rem 0;
  overflow-y: auto;
}

.mobile-menu-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--gray-100);
  flex-shrink: 0;
}

/* Mobile links */
.mobile-menu-link {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.75rem 1.25rem;
  color: var(--dark-800);
  font-weight: 500;
  font-size: 1rem;
  transition: background var(--transition), color var(--transition);
  text-align: left;
}
.mobile-menu-link:hover {
  background: var(--blue-50);
  color: var(--blue);
}

/* Mobile submenu toggle (parent item with arrow) */
.mobile-submenu-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1.25rem;
  color: var(--dark-800);
  font-weight: 500;
  font-size: 1rem;
  background: none;
  text-align: left;
  transition: background var(--transition), color var(--transition);
}
.mobile-submenu-toggle:hover {
  background: var(--blue-50);
  color: var(--blue);
}
.submenu-arrow {
  font-size: 0.75rem;
  color: var(--gray-400);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.mobile-submenu-toggle.is-open .submenu-arrow {
  transform: rotate(180deg);
}
.mobile-submenu-toggle.is-open {
  color: var(--blue);
  background: var(--blue-50);
}

/* Mobile submenu panel */
.mobile-submenu {
  display: none;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  max-height: 280px;
  overflow-y: auto;
}
.mobile-submenu.open { display: block; }
.mobile-submenu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem 0.5rem 2rem;
  color: var(--gray-600);
  font-size: 0.9rem;
  transition: color var(--transition), background var(--transition);
}
.mobile-submenu a:hover {
  color: var(--blue);
  background: var(--blue-50);
}
.mobile-submenu a i {
  width: 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--blue);
  flex-shrink: 0;
}

/* Mobile overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(2px);
}
.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ------------------------------------------------------------------ */
/*  Hero Section                                                       */
/* ------------------------------------------------------------------ */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-800) 50%, #1e3a5f 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(26,86,219,0.18) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(26,86,219,0.2);
  border: 1px solid rgba(26,86,219,0.4);
  color: var(--blue-light);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  backdrop-filter: blur(4px);
}

.hero-badge-red {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--red);
  color: var(--white);
  padding: 0.45rem 1.125rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
}

.badge-24 {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background: rgba(255,255,255,0.97);
  border-radius: var(--radius-lg);
  padding: 1.125rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}
.badge-24 .number {
  color: var(--blue);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}
.badge-24 .label {
  color: var(--dark-800);
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.25rem;
}

/* ------------------------------------------------------------------ */
/*  Buttons                                                            */
/* ------------------------------------------------------------------ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue);
  color: var(--white);
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1.0625rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 14px rgba(26,86,219,0.35);
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,86,219,0.45);
}

.btn-red {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--red);
  color: var(--white);
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1.0625rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 14px rgba(220,38,38,0.3);
}
.btn-red:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220,38,38,0.42);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid var(--white);
  color: var(--white);
  padding: 0.8rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
}

.btn-outline-blue {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid var(--blue);
  color: var(--blue);
  padding: 0.8rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition);
  background: transparent;
}
.btn-outline-blue:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-amber {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--amber);
  color: var(--dark);
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  transition: background var(--transition), transform var(--transition);
}
.btn-amber:hover {
  background: var(--amber-dark);
  transform: translateY(-2px);
}

/* Small button variant */
.btn-sm {
  padding: 0.5rem 1.125rem !important;
  font-size: 0.875rem !important;
}

/* ------------------------------------------------------------------ */
/*  Section Badges / Labels                                            */
/* ------------------------------------------------------------------ */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--blue-50);
  color: var(--blue);
  padding: 0.35rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  border: 1px solid var(--blue-100);
}

.section-badge-amber {
  background: rgba(245,158,11,0.2);
  color: var(--amber);
  border-color: rgba(245,158,11,0.4);
}

.section-badge-red {
  background: rgba(255,255,255,0.15);
  color: #fecaca;
  border-color: rgba(255,255,255,0.25);
}

/* ------------------------------------------------------------------ */
/*  Trust Stats / Stat Cards                                           */
/* ------------------------------------------------------------------ */
.trust-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: transform var(--transition), box-shadow var(--transition);
}
.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.trust-icon {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.375rem;
}
.trust-icon-blue  { background: var(--blue-50);  color: var(--blue); }
.trust-icon-amber { background: var(--amber-50); color: var(--amber-dark); }
.trust-icon-red   { background: var(--red-50);   color: var(--red); }
.trust-icon-dark  { background: var(--gray-100); color: var(--dark); }

/* Inline stat cards (border-left style) */
.stat-card {
  border-left: 3px solid var(--blue);
  padding-left: 1rem;
}
.stat-number {
  color: var(--blue);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}
.stat-number-amber { color: var(--amber-dark); }
.stat-number-red   { color: var(--red); }

/* Counter animation helper */
.counter { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ */
/*  Service Cards                                                      */
/* ------------------------------------------------------------------ */
.service-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  padding: 1.5rem;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--blue);
}
.service-card:hover::before {
  opacity: 1;
}

.service-card-icon {
  width: 3.25rem;
  height: 3.25rem;
  background: linear-gradient(135deg, var(--blue-50) 0%, var(--blue-100) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  box-shadow: 0 2px 6px rgba(26,86,219,0.12);
}
.service-card:hover .service-card-icon {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(26,86,219,0.25);
}

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.875rem;
  transition: gap var(--transition), color var(--transition);
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid var(--gray-100);
}
.service-card:hover .card-link {
  gap: 0.625rem;
  color: var(--blue-dark);
}

/* Alternating icon colors for variety */
.service-card:nth-child(3n+2) .service-card-icon { background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%); color: #059669; box-shadow: 0 2px 6px rgba(5,150,105,0.12); }
.service-card:nth-child(3n+2):hover .service-card-icon { background: linear-gradient(135deg, #059669 0%, #047857 100%); color: #fff; box-shadow: 0 4px 12px rgba(5,150,105,0.25); }

.service-card:nth-child(5n+3) .service-card-icon { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); color: #d97706; box-shadow: 0 2px 6px rgba(217,119,6,0.12); }
.service-card:nth-child(5n+3):hover .service-card-icon { background: linear-gradient(135deg, #d97706 0%, #b45309 100%); color: #fff; box-shadow: 0 4px 12px rgba(217,119,6,0.25); }

.service-card:nth-child(7n+4) .service-card-icon { background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%); color: #dc2626; box-shadow: 0 2px 6px rgba(220,38,38,0.12); }
.service-card:nth-child(7n+4):hover .service-card-icon { background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%); color: #fff; box-shadow: 0 4px 12px rgba(220,38,38,0.25); }

.service-card:nth-child(11n+5) .service-card-icon { background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%); color: #7c3aed; box-shadow: 0 2px 6px rgba(124,58,237,0.12); }
.service-card:nth-child(11n+5):hover .service-card-icon { background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%); color: #fff; box-shadow: 0 4px 12px rgba(124,58,237,0.25); }

/* Service tag chips */
.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.125rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  color: var(--dark-800);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition);
}
.service-tag:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-50);
  transform: translateY(-1px);
}
.service-tag i { color: var(--blue); font-size: 0.875rem; }

/* ------------------------------------------------------------------ */
/*  Why / Steps Cards                                                  */
/* ------------------------------------------------------------------ */
.why-section {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, #1d4ed8 100%);
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.step-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: background var(--transition), transform var(--transition-slow);
}
.step-card:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-4px);
}

.step-number {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--amber);
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.125rem;
  margin-bottom: 0.875rem;
  flex-shrink: 0;
}

/* ------------------------------------------------------------------ */
/*  CTA Banner                                                         */
/* ------------------------------------------------------------------ */
.cta-banner {
  background: linear-gradient(135deg, var(--red) 0%, #b91c1c 50%, #991b1b 100%);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245,158,11,0.12) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-blue {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-800) 50%, #1e3a5f 100%);
}
.cta-blue::before {
  background: radial-gradient(circle, rgba(26,86,219,0.2) 0%, transparent 65%);
}

/* ------------------------------------------------------------------ */
/*  Testimonials                                                       */
/* ------------------------------------------------------------------ */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--blue);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.testimonial-card-amber { border-top-color: var(--amber); }
.testimonial-card-red   { border-top-color: var(--red);   }

.testimonial-stars { color: var(--amber); }

.testimonial-tag {
  display: inline-block;
  background: var(--blue-50);
  color: var(--blue);
  padding: 0.2rem 0.625rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.testimonial-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--blue);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ------------------------------------------------------------------ */
/*  FAQ Accordion                                                      */
/* ------------------------------------------------------------------ */
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item:hover  { border-color: var(--blue-light); }
.faq-item.active { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,86,219,0.08); }

/* JS-driven accordion — uses <button> + <div> pattern */
.faq-question {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  width: 100%;
  padding: 1.125rem 1.25rem;
  text-align: left;
  background: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark-800);
  transition: color var(--transition);
}
.faq-question:hover { color: var(--blue); }
.faq-item.active .faq-question { color: var(--blue); }

.faq-chevron {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  transition: transform 0.3s ease, background var(--transition);
}
.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  background: var(--blue);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 1.25rem 1.125rem 3.375rem;
  color: var(--gray-600);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.faq-answer-inner a {
  color: var(--blue);
  font-weight: 600;
}
.faq-answer-inner a:hover { text-decoration: underline; }

/* Legacy <details>/<summary> fallback */
.faq-item summary {
  padding: 1.125rem 1.25rem;
  font-weight: 600;
  color: var(--dark-800);
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  list-style: none;
  transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: '\f054';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.7rem;
  color: var(--blue);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-top: 0.25rem;
}
.faq-item[open] summary::before { transform: rotate(90deg); }
.faq-item[open] summary { color: var(--blue); }
.faq-answer-legacy {
  padding: 0 1.25rem 1.125rem 2.5rem;
  color: var(--gray-600);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ------------------------------------------------------------------ */
/*  Contact / Map Cards                                                */
/* ------------------------------------------------------------------ */
.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}
.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-100);
}
.contact-info-row:last-child { border-bottom: none; }
.contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  background: var(--blue-50);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.emergency-box {
  background: linear-gradient(135deg, var(--red) 0%, #b91c1c 100%);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.emergency-box::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 65%);
  border-radius: 50%;
}

/* ------------------------------------------------------------------ */
/*  Location Grid Cards                                                */
/* ------------------------------------------------------------------ */
.location-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.location-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}
.location-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--blue-50);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ------------------------------------------------------------------ */
/*  Breadcrumb                                                         */
/* ------------------------------------------------------------------ */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.875rem;
  color: var(--gray-600);
  padding: 0.875rem 0;
}
.breadcrumb a {
  color: var(--blue);
  font-weight: 500;
  transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--blue-dark); text-decoration: underline; }
.breadcrumb-sep {
  color: var(--gray-400);
  font-size: 0.75rem;
}
.breadcrumb .current {
  color: var(--gray-700);
  font-weight: 500;
}

/* Breadcrumb bar background */
.breadcrumb-bar {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
}

/* ------------------------------------------------------------------ */
/*  Footer                                                             */
/* ------------------------------------------------------------------ */
.footer {
  background: var(--dark);
  color: var(--gray-400);
}
.footer-inner {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-heading {
  color: var(--white);
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}
.footer a {
  color: var(--gray-400);
  transition: color var(--transition);
  font-size: 0.9rem;
}
.footer a:hover { color: var(--white); }

.footer-link-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-link-list a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-link-list a i {
  width: 0.875rem;
  color: var(--blue-light);
  font-size: 0.75rem;
  flex-shrink: 0;
}
.footer-link-list a:hover i { color: var(--amber); }

.footer-bottom {
  color: var(--gray-600);
  font-size: 0.8125rem;
}
.footer-bottom a { color: var(--gray-500); }
.footer-bottom a:hover { color: var(--gray-300); }

.disclaimer-box {
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--amber);
  color: var(--gray-500);
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* ------------------------------------------------------------------ */
/*  Floating Phone Button                                              */
/* ------------------------------------------------------------------ */
.floating-phone {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 3.5rem;
  height: 3.5rem;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 16px rgba(220,38,38,0.45);
  z-index: 900;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: phone-pulse 2.2s ease-out infinite;
}
.floating-phone:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 26px rgba(220,38,38,0.55);
  animation-play-state: paused;
}

@keyframes phone-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(220,38,38,0.55); }
  60%  { box-shadow: 0 0 0 16px rgba(220,38,38,0);   }
  100% { box-shadow: 0 0 0 0   rgba(220,38,38,0);    }
}

/* ------------------------------------------------------------------ */
/*  Scroll Fade-In Animation                                           */
/* ------------------------------------------------------------------ */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-left {
  opacity: 0;
  transform: translateX(-22px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.fade-in-right {
  opacity: 0;
  transform: translateX(22px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delay helpers */
.delay-100 { transition-delay: 0.1s !important; }
.delay-200 { transition-delay: 0.2s !important; }
.delay-300 { transition-delay: 0.3s !important; }
.delay-400 { transition-delay: 0.4s !important; }
.delay-500 { transition-delay: 0.5s !important; }

/* ------------------------------------------------------------------ */
/*  Legal Page Content                                                 */
/* ------------------------------------------------------------------ */
.legal-content {
  color: var(--gray-700);
  font-size: 0.9375rem;
  line-height: 1.75;
  max-width: 72ch;
}
.legal-content h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gray-100);
}
.legal-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark-800);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}
.legal-content p  { margin-bottom: 1rem; }
.legal-content ul,
.legal-content ol { margin: 0 0 1rem 1.5rem; }
.legal-content li { margin-bottom: 0.35rem; }
.legal-content a  { color: var(--blue); font-weight: 600; }
.legal-content a:hover { text-decoration: underline; }
.legal-content strong { color: var(--dark); }
.legal-content blockquote {
  border-left: 3px solid var(--blue);
  margin: 1.5rem 0;
  padding: 0.875rem 1.25rem;
  background: var(--blue-50);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--dark-800);
  font-style: italic;
}

.legal-last-updated {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gray-100);
  color: var(--gray-600);
  padding: 0.35rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
}

/* ------------------------------------------------------------------ */
/*  Image with overlay badge                                           */
/* ------------------------------------------------------------------ */
.img-overlay-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0.875rem 1.25rem;
  border: 1px solid var(--gray-100);
}

/* ------------------------------------------------------------------ */
/*  Alert / Notice boxes                                               */
/* ------------------------------------------------------------------ */
.alert {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
}
.alert-blue  { background: var(--blue-50);  border-left: 3px solid var(--blue);       color: #1e3a8a; }
.alert-amber { background: var(--amber-50); border-left: 3px solid var(--amber);      color: #92400e; }
.alert-red   { background: var(--red-50);   border-left: 3px solid var(--red);        color: #7f1d1d; }
.alert-green { background: #f0fdf4;         border-left: 3px solid #16a34a;           color: #14532d; }

/* ------------------------------------------------------------------ */
/*  Process/Steps List                                                 */
/* ------------------------------------------------------------------ */
.process-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.process-dot {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* ------------------------------------------------------------------ */
/*  Utility overrides                                                  */
/* ------------------------------------------------------------------ */
.text-blue   { color: var(--blue)  !important; }
.text-amber  { color: var(--amber) !important; }
.text-red    { color: var(--red)   !important; }

.bg-blue-gradient {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
}
.bg-dark-gradient {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-800) 100%);
}

/* ------------------------------------------------------------------ */
/*  Responsive                                                         */
/* ------------------------------------------------------------------ */
@media (max-width: 1279px) {
  .hero h1 { font-size: 2.5rem; }
}
@media (max-width: 1023px) {
  .hero h1  { font-size: 2.125rem; }
  .badge-24 { display: none; }
}
@media (max-width: 767px) {
  .hero h1    { font-size: 1.875rem; }
  .stat-number { font-size: 2rem; }
  .btn-primary,
  .btn-red,
  .btn-outline { padding: 0.75rem 1.375rem; font-size: 0.9375rem; }

  /* Service page hero — stack columns */
  .hero .grid { display: block !important; }
  .hero .grid > div:last-child { margin-top: 1.5rem; }

  /* Trust cards — 2 columns on mobile */
  .trust-card { padding: 1rem; }
  .trust-card h3 { font-size: 0.875rem; }

  /* Sidebar — full width on mobile */
  .sidebar-card, .emergency-box, .quick-facts { width: 100%; }

  /* Process steps — vertical stack */
  .process-step { text-align: left; }

  /* FAQ answers — smaller padding */
  .faq-answer-inner { padding: 0.75rem 1rem; font-size: 0.875rem; }

  /* Location cards — smaller on mobile */
  .location-card { padding: 0.5rem 0.75rem; font-size: 0.8125rem; }
  .location-card-icon { width: 1.75rem; height: 1.75rem; font-size: 0.625rem; }

  /* Tables — horizontal scroll */
  table { font-size: 0.8125rem; }
  th, td { padding: 0.5rem 0.625rem !important; }

  /* Section headings */
  section h2 { font-size: 1.5rem; }

  /* Nav CTA hide on small */
  .nav-cta { display: none !important; }
  .mobile-toggle { display: flex !important; }

  /* Dropdown mega menus — hide on mobile (use mobile menu instead) */
  .dropdown-menu { display: none !important; }
}
@media (max-width: 479px) {
  .hero h1 { font-size: 1.5rem; line-height: 1.2; }
  .hero p { font-size: 0.9375rem; }
  .floating-phone { bottom: 1rem; right: 1rem; }

  /* Stack buttons vertically */
  .hero .flex-wrap { flex-direction: column; }
  .hero .flex-wrap a { width: 100%; text-align: center; justify-content: center; }

  /* Testimonial cards */
  .testimonial-card { padding: 1rem; }

  /* Service cards in grid */
  .service-card, .step-card { padding: 1rem; }
}

/* ------------------------------------------------------------------ */
/*  Print styles                                                       */
/* ------------------------------------------------------------------ */
@media print {
  .navbar, .floating-phone, .mobile-overlay, .mobile-menu,
  .cta-banner, footer { display: none !important; }
  body { color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
}
