/* ==========================================================================
   Boise Electric Pro - Master Stylesheet
   Brand Color: #591091 (Strict Color Harmony)
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --primary: #591091;
  --primary-hover: #480c76;
  --primary-dark: #320754;
  --primary-deep: #19032b;
  --primary-light: #7b1dc5;
  --primary-subtle: #ebd8fc;
  --primary-tint: #f8f3fd;
  --primary-border: #dcc2f7;

  /* Neutral Spectrum */
  --white: #ffffff;
  --dark-bg: #140224;
  --text-dark: #1f142b;
  --text-muted: #5e506d;
  --text-light: #f3ebf9;
  --border-light: #ebdff5;
  --border-subtle: #f0e6f9;
  --card-bg: #ffffff;
  --card-hover-bg: #faf6fd;
  
  /* Gradients & Shadows */
  --gradient-primary: linear-gradient(135deg, #591091 0%, #340757 100%);
  --gradient-hero: linear-gradient(135deg, #200438 0%, #591091 60%, #150226 100%);
  --gradient-card: linear-gradient(180deg, #ffffff 0%, #faf5fd 100%);
  --gradient-badge: linear-gradient(90deg, #7b1dc5 0%, #591091 100%);
  --shadow-sm: 0 2px 8px rgba(89, 16, 145, 0.08);
  --shadow-md: 0 8px 24px rgba(89, 16, 145, 0.12);
  --shadow-lg: 0 16px 36px rgba(89, 16, 145, 0.18);
  --shadow-glow: 0 0 25px rgba(123, 29, 197, 0.35);

  /* Typography & Layout */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --container-max: 1200px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-main);
  background-color: var(--white);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

ul, ol {
  list-style-position: inside;
}

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

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

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 16px;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin-bottom: 12px;
}

p {
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.6;
}

.text-white { color: var(--white) !important; }
.text-light { color: var(--text-light) !important; }
.text-primary { color: var(--primary) !important; }
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }

/* Top Notification Bar */
.top-bar {
  background-color: var(--primary-deep);
  color: var(--primary-subtle);
  font-size: 0.88rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(123, 29, 197, 0.2);
}

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

.top-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(235, 216, 252, 0.12);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
  color: var(--primary-subtle);
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 15px;
}

.top-bar-phone {
  color: var(--white);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.5px;
}

.top-bar-phone:hover {
  color: var(--primary-subtle);
}

/* Header & Navigation */
.site-header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px;
  min-height: 64px;
  height: 64px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 1.1;
}

.site-logo-img {
  height: 46px;
  max-height: 46px;
  width: auto;
  max-width: 52px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.site-logo-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.4px;
  white-space: nowrap;
}

.site-logo-text span {
  color: var(--dark-bg);
}

.footer-logo-img {
  max-height: 48px;
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 14px;
}

.logo-icon-wrap {
  width: 42px;
  height: 42px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.main-nav > ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.main-nav > ul > li {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav > ul > li > a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  position: relative;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active {
  color: var(--primary);
}

.main-nav > ul > li > a.active::after,
.main-nav > ul > li > a:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

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

.nav-item-dropdown > a {
  cursor: pointer;
}

.nav-item-dropdown .dropdown-arrow {
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-top: 1px;
}

.nav-item-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown Container */
.main-nav ul.dropdown-menu,
.main-nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(89, 16, 145, 0.16), 0 2px 6px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-light);
  padding: 8px 0;
  margin-top: 6px;
  list-style: none;
  display: none !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
  z-index: 1050;
  pointer-events: none;
}

/* Invisible hover bridge */
.nav-item-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
}

/* Show dropdown on hover or keyboard focus */
.nav-item-dropdown:hover ul.dropdown-menu,
.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within ul.dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
  display: flex !important;
  pointer-events: auto;
  animation: dropdownFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-nav .dropdown-menu li {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: block;
}

.main-nav .dropdown-menu a {
  display: block !important;
  width: 100%;
  padding: 10px 18px;
  color: var(--text-dark);
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  border-left: 3px solid transparent;
  background: transparent;
  white-space: nowrap;
}

.main-nav .dropdown-menu a::after {
  display: none !important;
}

.main-nav .dropdown-menu a:hover,
.main-nav .dropdown-menu a.active {
  background: var(--primary-tint);
  color: var(--primary);
  border-left-color: var(--primary);
  padding-left: 22px;
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-btn-call {
  padding: 10px 20px;
  font-size: 0.92rem;
  box-shadow: 0 3px 10px rgba(89, 16, 145, 0.25);
  white-space: nowrap;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--border-light);
  width: 40px;
  height: 40px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition);
}

.mobile-nav-toggle:hover {
  background: var(--primary-tint);
  border-color: var(--primary-border);
}

/* Call Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  line-height: 1;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(89, 16, 145, 0.3);
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(89, 16, 145, 0.4);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  background: var(--primary-tint);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
}

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

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

.btn-lg {
  padding: 17px 34px;
  font-size: 1.15rem;
}

.btn-pulse {
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(89, 16, 145, 0.5); }
  70% { box-shadow: 0 0 0 16px rgba(89, 16, 145, 0); }
  100% { box-shadow: 0 0 0 0 rgba(89, 16, 145, 0); }
}

/* Hero Section */
.hero-section {
  background: var(--gradient-hero);
  color: var(--white);
  padding: 46px 0 52px;
  position: relative;
  overflow: hidden;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(123, 29, 197, 0.35) 0%, rgba(89, 16, 145, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(235, 216, 252, 0.15);
  border: 1px solid rgba(235, 216, 252, 0.3);
  color: var(--primary-subtle);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-title {
  color: var(--white);
  margin-bottom: 14px;
}

.hero-desc {
  color: var(--text-light);
  font-size: 1.12rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

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

.hero-call-card {
  background: rgba(20, 3, 38, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(235, 216, 252, 0.2);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.hero-call-card h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.hero-call-card p {
  color: var(--primary-subtle);
  font-size: 0.9rem;
  margin-bottom: 12px;
  line-height: 1.45;
}

.hero-call-number {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--white);
  display: block;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 15px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.1);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
}

/* Page Header (Subpages) */
.page-hero {
  background: var(--gradient-hero);
  color: var(--white);
  padding: 38px 0 42px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(123, 29, 197, 0.4) 0%, rgba(89, 16, 145, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 35px;
  align-items: center;
  position: relative;
  z-index: 2;
  text-align: left;
}

.page-hero-content {
  text-align: left;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 12px;
}

.page-hero .lead {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.55;
  margin-bottom: 20px;
}

.page-hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.16);
  background: var(--dark-surface);
  height: 200px;
  max-height: 200px;
  max-width: 440px;
  margin-left: auto;
}

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

.page-hero-image-wrap:hover .page-hero-img {
  transform: scale(1.03);
}

.page-hero-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(22, 4, 42, 0.9);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--primary-subtle);
  margin-bottom: 12px;
}

.page-hero-grid .breadcrumbs {
  justify-content: flex-start;
}

.breadcrumbs a {
  color: var(--primary-subtle);
}

.breadcrumbs a:hover {
  color: var(--white);
}

/* Homepage Hero Image & Showcase Styles */
.hero-media-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid rgba(235, 216, 252, 0.2);
  background: rgba(20, 3, 38, 0.82);
  backdrop-filter: blur(12px);
}

.hero-image-card {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  border: none;
  height: 180px;
  max-height: 180px;
}

.hero-media-wrap .hero-call-card {
  border-radius: 0;
  border: none;
  box-shadow: none;
  background: transparent;
  backdrop-filter: none;
  padding: 20px 22px;
  border-top: 1px solid rgba(235, 216, 252, 0.15);
}

.hero-team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-img-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(26, 4, 48, 0.88);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 4px 11px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Local Expertise Media Wrap (Homepage Section 2) */
.local-expert-media-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.local-expert-media-wrap .page-hero-image-wrap {
  height: 180px;
  max-height: 180px;
  border-radius: 0;
  border: none;
  box-shadow: none;
  max-width: 100%;
  margin: 0 !important;
}

.local-expert-media-wrap .hero-call-card {
  border-radius: 0;
  border: none;
  box-shadow: none;
  padding: 20px 22px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
}

.home-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 35px;
}

.showcase-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

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

.showcase-img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

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

.showcase-body {
  padding: 18px 20px 22px;
}

.showcase-body h4 {
  font-size: 1.15rem;
  color: var(--dark-bg);
  margin-bottom: 8px;
}

.showcase-body p {
  font-size: 0.92rem;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Section Common */
.section {
  padding: 55px 0;
}

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

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

.section-dark {
  background: var(--dark-bg);
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark p {
  color: var(--text-light);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 38px;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary);
  background: var(--primary-subtle);
  border: 1px solid var(--primary-border);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

/* Service Grid (10 Sub Services) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
}

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

.service-icon-box {
  width: 48px;
  height: 48px;
  background: var(--primary-tint);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 16px;
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background: var(--primary);
  color: var(--white);
}

.service-card h3 {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: 18px;
  line-height: 1.55;
}

.service-card-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

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

.service-call-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Why Choose Us / Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature-box {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.feature-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.feature-box h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.feature-box p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0;
}

/* Process Section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  position: relative;
}

.process-step {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
}

.step-number {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 14px;
}

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

.process-step p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0;
}

/* Call To Action Banner */
.cta-banner {
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 42px 32px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 12px;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
}

.cta-banner p {
  color: var(--primary-subtle);
  max-width: 640px;
  margin: 0 auto 24px;
  font-size: 1.08rem;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* FAQ Accordion */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary-border);
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary);
  background: var(--primary-tint);
}

.faq-icon {
  font-size: 1.3rem;
  color: var(--primary);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 22px;
}

.faq-item.active .faq-answer {
  padding-bottom: 18px;
}

.faq-answer p {
  margin-bottom: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Service Detail Block */
.service-detail-block {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}

.service-detail-block h2 {
  font-size: 1.7rem;
  color: var(--primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
  align-items: center;
}

.checklist {
  list-style: none;
  margin: 16px 0;
}

.checklist li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 9px;
  font-size: 0.98rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 800;
}

/* Content Box (About, Contact, Legal) */
.content-box {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}

.content-box h2 {
  color: var(--primary);
  margin-top: 22px;
  margin-bottom: 12px;
}

.content-box h2:first-child {
  margin-top: 0;
}

.content-box ul {
  margin-left: 20px;
  margin-bottom: 18px;
}

.content-box li {
  margin-bottom: 8px;
  color: var(--text-muted);
}

/* Contact Hub (Phone Only) */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
}

.contact-card-primary {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 38px 30px;
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.contact-card-primary h2 {
  color: var(--white);
  margin-bottom: 14px;
}

.contact-card-primary p {
  color: var(--primary-subtle);
  margin-bottom: 22px;
  font-size: 1.05rem;
}

.contact-phone-hero {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  padding: 14px 22px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 22px;
  border: 2px solid rgba(235, 216, 252, 0.3);
  transition: var(--transition);
}

.contact-phone-hero:hover {
  background: var(--white);
  color: var(--primary);
  transform: scale(1.03);
}

.info-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 26px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.info-card h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

/* Service Area Tag Cloud */
.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.area-tag {
  background: var(--primary-tint);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

/* Global Footer */
.site-footer {
  background: var(--dark-bg);
  color: var(--text-light);
  padding: 50px 0 22px;
  border-top: 4px solid var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand p {
  color: var(--primary-subtle);
  font-size: 0.92rem;
  line-height: 1.55;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--primary);
}

.footer-col ul {
  list-style: none;
}

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

.footer-col a {
  color: var(--primary-subtle);
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-phone-box {
  background: rgba(89, 16, 145, 0.35);
  border: 1px solid rgba(235, 216, 252, 0.2);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-top: 14px;
}

.footer-phone-box strong {
  display: block;
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.footer-phone-box span {
  font-size: 0.85rem;
  color: var(--primary-subtle);
}

/* Mandatory Disclaimer in Footer */
.footer-disclaimer-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(235, 216, 252, 0.15);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin-bottom: 30px;
}

.footer-disclaimer-card p {
  color: #c7b3db;
  font-size: 0.84rem;
  line-height: 1.6;
  margin-bottom: 0;
  text-align: center;
}

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

.footer-bottom a {
  color: #a491b8;
}

.footer-bottom a:hover {
  color: var(--white);
}

.footer-legal-links {
  display: flex;
  gap: 18px;
}

/* Mobile Sticky Call Bar */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--primary-deep);
  border-top: 2px solid var(--primary);
  padding: 10px 16px;
  z-index: 9999;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.25);
}

.mobile-call-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--primary);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(89, 16, 145, 0.4);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .nav-container {
    padding: 8px 16px;
    height: 60px;
    min-height: 60px;
  }

  .site-logo-img {
    height: 40px;
    max-height: 40px;
  }

  .site-logo-text {
    font-size: 1.18rem;
  }

  .main-nav ul {
    gap: 16px;
  }

  .main-nav a {
    font-size: 0.9rem;
  }

  .nav-btn-call {
    padding: 8px 15px;
    font-size: 0.85rem;
  }

  .hero-section {
    padding: 36px 0 42px;
  }

  .page-hero {
    padding: 28px 0 32px;
  }

  .page-hero-image-wrap {
    height: 180px;
    max-height: 180px;
    max-width: 100%;
    margin: 18px auto 0;
  }

  .hero-media-wrap {
    max-width: 460px;
    margin: 20px auto 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .page-hero-content {
    text-align: center;
  }

  .page-hero-grid .breadcrumbs {
    justify-content: center;
  }

  .home-showcase-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-cta-group {
    justify-content: center;
  }
  
  .trust-pills {
    justify-content: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .service-detail-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 70px; /* Space for mobile sticky call bar */
  }

  .section {
    padding: 38px 0;
  }

  .hero-section {
    padding: 26px 0 32px;
  }

  .page-hero {
    padding: 22px 0 26px;
  }

  .hero-image-card {
    height: 150px;
    max-height: 150px;
  }

  .page-hero-image-wrap {
    height: 160px;
    max-height: 160px;
  }

  .hero-call-card {
    padding: 16px 14px;
  }

  .hero-call-card h3 {
    font-size: 1.18rem;
    margin-bottom: 4px;
  }

  .hero-call-card p {
    font-size: 0.84rem;
    margin-bottom: 10px;
  }

  .hero-call-number {
    font-size: 1.35rem;
    margin-bottom: 8px;
  }

  .top-bar {
    padding: 5px 0;
    font-size: 0.78rem;
  }

  .top-bar-inner {
    justify-content: center;
    text-align: center;
    gap: 6px;
  }

  .top-bar-badge {
    font-size: 0.76rem;
    padding: 2px 8px;
  }

  .top-bar-contact {
    display: none;
  }

  .nav-container {
    padding: 6px 14px;
    height: 56px;
    min-height: 56px;
  }

  .site-logo {
    gap: 8px;
  }

  .site-logo-img {
    height: 38px;
    max-height: 38px;
    max-width: 44px;
  }

  .site-logo-text {
    font-size: 1.12rem;
  }

  .mobile-call-bar {
    display: block;
  }
  
  .mobile-nav-toggle {
    display: flex;
  }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
    padding: 18px 20px;
    border-top: 1px solid var(--border-light);
    border-bottom: 3px solid var(--primary);
  }
  
  .main-nav.active {
    display: block;
  }
  
  .main-nav > ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
  }

  .main-nav > ul > li {
    width: 100%;
  }

  .main-nav > ul > li > a {
    font-size: 1.05rem;
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 6px 0;
  }

  .main-nav .nav-item-dropdown {
    width: 100%;
  }

  .main-nav ul.dropdown-menu,
  .main-nav .dropdown-menu {
    position: static !important;
    box-shadow: none !important;
    border: none !important;
    border-left: 2px solid var(--primary-border) !important;
    margin: 4px 0 8px 12px !important;
    padding: 2px 0 2px 8px !important;
    display: flex !important;
    background: transparent !important;
    animation: none !important;
    min-width: unset !important;
    pointer-events: auto !important;
  }

  .main-nav .dropdown-menu a {
    padding: 6px 12px !important;
    font-size: 0.95rem !important;
    border-left: none !important;
    color: var(--text-muted) !important;
  }

  .main-nav .dropdown-menu a:hover,
  .main-nav .dropdown-menu a.active {
    padding-left: 14px !important;
    background: var(--primary-tint) !important;
    color: var(--primary) !important;
  }
  
  .nav-cta .btn {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .cta-banner {
    padding: 30px 16px;
  }
}

@media (max-width: 420px) {
  .nav-container {
    padding: 6px 10px;
    height: 52px;
    min-height: 52px;
  }

  .site-logo {
    gap: 6px;
  }

  .site-logo-img {
    height: 34px;
    max-height: 34px;
    max-width: 38px;
  }

  .site-logo-text {
    font-size: 0.98rem;
    letter-spacing: -0.3px;
  }

  .hero-image-card {
    height: 135px;
    max-height: 135px;
  }

  .page-hero-image-wrap {
    height: 140px;
    max-height: 140px;
  }

  .mobile-nav-toggle {
    width: 38px;
    height: 38px;
  }
}

/* ==========================================================================
   404 Not Found Page
   ========================================================================== */
.error-page-section {
  padding: 50px 0 70px;
  background: var(--white);
  text-align: center;
}

.error-hero-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 45px 30px;
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.error-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-primary);
}

.error-code-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-tint);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.error-code-num {
  font-family: var(--font-heading);
  font-size: clamp(4.5rem, 12vw, 7.5rem);
  font-weight: 900;
  line-height: 1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -2px;
  margin-bottom: 10px;
}

.error-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1.25;
}

.error-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto 28px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 35px;
}

.error-divider {
  height: 1px;
  background: var(--border-light);
  margin: 35px auto;
  max-width: 600px;
}

.error-links-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 18px;
}

.error-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  text-align: left;
}

.error-link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--primary-tint);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition);
}

.error-link-card:hover {
  background: var(--white);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  color: var(--primary);
}

.error-link-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   Service Detail & SEO Landing Page Component Styles
   ========================================================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.seo-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
  background: var(--white);
}

.seo-data-table thead tr {
  background: var(--primary-deep);
  color: var(--white);
}

.seo-data-table th {
  padding: 14px 18px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  border-bottom: 2px solid var(--primary-light);
}

.seo-data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-dark);
  vertical-align: top;
}

.seo-data-table tbody tr:last-child td {
  border-bottom: none;
}

.seo-data-table tbody tr:nth-child(even) {
  background: var(--primary-tint);
}

.seo-data-table tbody tr:hover {
  background: #f3e5fe;
}

.urgent-alert-box {
  background: #fff8f5;
  border: 1px solid #fed7aa;
  border-left: 5px solid #f97316;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.urgent-alert-icon {
  color: #ea580c;
  flex-shrink: 0;
  margin-top: 2px;
}

.urgent-alert-content h4 {
  color: #9a3412;
  margin-bottom: 6px;
  font-size: 1.15rem;
}

.urgent-alert-content p {
  color: #7c2d12;
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.55;
}

.warning-signs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.warning-sign-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.warning-sign-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.warning-sign-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.warning-sign-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: #fee2e2;
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.warning-sign-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0;
}

.warning-sign-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

.local-neighborhood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.local-neighborhood-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.93rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.local-neighborhood-card svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* SEO Data Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  background: var(--white);
}

.seo-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.seo-data-table thead {
  background: var(--dark-bg);
  color: var(--white);
}

.seo-data-table th {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.seo-data-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.seo-data-table tbody tr:last-child td {
  border-bottom: none;
}

.seo-data-table tbody tr:nth-child(even) {
  background: #faf7fd;
}

.seo-data-table tbody tr:hover {
  background: #f3e8ff;
  transition: background 0.2s ease;
}

.seo-data-table td strong {
  color: var(--primary);
  font-weight: 700;
}

@media (max-width: 640px) {
  .seo-data-table th,
  .seo-data-table td {
    padding: 12px 14px;
    font-size: 0.88rem;
  }
}
