/* ============================================================
   DUARTE ELECTRICAL SERVICES INC
   Modern Luxury Architectural Stylesheet
   Color Palette: Charcoal (#1F2326 / #242424 / #16191B) - 35%
                  White & Off-White (#FAFAF7 / #FFFFFF) - 45%
                  Electric Yellow (#FFC400 / #E5B000) - 10%
                  Cool Gray / Light Gray (#E9ECEF / #F4F4F4) - 10%
   ============================================================ */

/* ---- Design Variables ---- */
:root {
  /* Charcoal Theme Foundation (35%) */
  --charcoal-deep:    #16191B;
  --charcoal-main:    #1F2326;
  --charcoal-surface: #242424;
  --charcoal-card:    #2A2E33;
  --charcoal-border:  #343A40;

  /* Mapped Navy Aliases to Charcoal */
  --navy-deep:        #1F2326;
  --navy-dark:        #16191B;
  --navy-surface:     #242424;
  --navy-card:        #2A2E33;
  --navy-border:      #343A40;

  /* Backgrounds & Whites (45%) */
  --white:            #FFFFFF;
  --bg-light:         #FAFAF7; /* Off-White */
  --bg-ice:           #F4F4F4; /* Light Gray / Cool Gray (10%) */
  --bg-card-light:    #FFFFFF; /* White */
  --border-light:     #E9ECEF; /* Cool Gray */
  --border-dark:      #CED4DA;

  /* Electric Yellow (10%) */
  --gold:             #FFC400;
  --gold-light:       #FFD033;
  --gold-hover:       #E5B000;
  --gold-muted:       rgba(255, 196, 0, 0.15);

  --yellow:           #FFC400;
  --yellow-hover:     #E5B000;
  --yellow-muted:     rgba(255, 196, 0, 0.15);

  --blue-accent:      #FFC400;
  --blue-light:       rgba(255, 196, 0, 0.15);
  --blue-hover:       #E5B000;

  /* Typography */
  --text-dark:        #1F2326;
  --text-body:        #333A40;
  --text-muted:       #6C757D;
  --text-on-dark:     #FAFAF7;
  --text-muted-dk:    #ADB5BD;

  --danger:           #E11D48;
  --success:          #059669;

  --font-main:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --nav-height:       76px;
  --container-max:    1240px;
  --radius-sm:        4px;
  --radius-md:        6px;
  --transition:       all 0.22s ease-in-out;
  --shadow-sm:        0 2px 8px rgba(31, 35, 38, 0.06);
  --shadow-md:        0 8px 24px rgba(31, 35, 38, 0.08);
  --shadow-lg:        0 16px 40px rgba(31, 35, 38, 0.14);
}

/* ---- Reset & Base ---- */
*, *::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-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul {
  list-style: none;
}

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

.container-narrow {
  max-width: 900px;
}

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

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.75rem, 3.8vw, 2.5rem);
  text-transform: uppercase;
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

h4 {
  font-size: 1.1rem;
  font-weight: 700;
}

p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-body);
}

.text-dark { color: var(--text-dark) !important; }
.text-white { color: var(--white) !important; }
.text-gold { color: var(--gold) !important; }
.text-blue { color: var(--blue-accent) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.section-label {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: 12px;
}

.section-label-gold {
  color: var(--gold);
}

.divider-gold {
  width: 56px;
  height: 3px;
  background-color: var(--gold);
  margin: 18px 0;
}

.divider-gold.centered {
  margin-left: auto;
  margin-right: auto;
}

.divider-blue {
  width: 56px;
  height: 3px;
  background-color: var(--blue-accent);
  margin: 18px 0;
}

.divider-blue.centered {
  margin-left: auto;
  margin-right: auto;
}

/* ---- Buttons (NO pill shapes, crisp luxury radius) ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-blue {
  background-color: var(--gold);
  color: var(--charcoal-deep) !important;
  border-color: var(--gold);
  font-weight: 800;
}
.btn-blue:hover {
  background-color: var(--gold-hover);
  border-color: var(--gold-hover);
  color: var(--charcoal-deep) !important;
  box-shadow: 0 4px 16px rgba(255, 196, 0, 0.35);
}

.btn-gold {
  background-color: var(--gold);
  color: var(--charcoal-deep) !important;
  border-color: var(--gold);
  font-weight: 800;
}
.btn-gold:hover {
  background-color: var(--gold-hover);
  border-color: var(--gold-hover);
  color: var(--charcoal-deep) !important;
  box-shadow: 0 4px 16px rgba(255, 196, 0, 0.35);
}

.btn-dark {
  background-color: var(--charcoal-deep);
  color: var(--white);
  border-color: var(--charcoal-border);
}
.btn-dark:hover {
  background-color: var(--charcoal-surface);
  border-color: var(--gold);
  color: var(--white);
}

.btn-outline-blue {
  background-color: transparent;
  color: var(--gold) !important;
  border-color: var(--gold);
  font-weight: 800;
}
.btn-outline-blue:hover {
  background-color: var(--gold);
  color: var(--charcoal-deep) !important;
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white) !important;
  border-color: var(--white);
}
.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--charcoal-deep) !important;
}

.btn-outline-gold {
  background-color: transparent;
  color: var(--gold) !important;
  border-color: var(--gold);
}
.btn-outline-gold:hover {
  background-color: var(--gold);
  color: var(--charcoal-deep) !important;
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background-color: var(--charcoal-main);
  border-bottom: 1px solid #2D3237;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  background-color: var(--charcoal-deep);
}

.navbar .container {
  width: 100%;
  max-width: 100%;
  padding-left: 36px;
  padding-right: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 54px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  border-radius: 4px;
  border: 1px solid rgba(255, 196, 0, 0.35);
  background-color: #121416;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  display: block;
}

html.dark-mode .brand-logo-img {
  background-color: #121416;
  border-color: rgba(255, 196, 0, 0.45);
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 60px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  border-radius: 4px;
  border: 1px solid rgba(255, 196, 0, 0.35);
  background-color: #121416;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  display: block;
  margin-bottom: 0;
}

html.dark-mode .footer-logo-img {
  border-color: rgba(255, 196, 0, 0.45);
  background-color: #121416;
}

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

.footer-brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.15;
}

.footer-brand-sub {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ADB5BD;
  margin-top: 3px;
}

.logo-symbol {
  width: 38px;
  height: 38px;
  background-color: var(--charcoal-surface);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  border: 1px solid var(--charcoal-border);
}

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

.logo-name {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  line-height: 1.15;
}

.logo-inc {
  color: var(--gold);
  font-weight: 900;
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ADB5BD;
  line-height: 1.1;
  margin-top: 2px;
}

/* Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: #FAFAF7;
  letter-spacing: 0.02em;
  padding: 8px 0;
  position: relative;
  transition: color var(--transition);
}

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

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

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

.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.dropdown-caret {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.nav-item-dropdown:hover .dropdown-caret {
  transform: rotate(-135deg) translateY(0);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 250px;
  background-color: var(--charcoal-surface);
  border: 1px solid var(--charcoal-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1010;
}

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

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #FAFAF7;
  border-left: 3px solid transparent;
  transition: var(--transition);
}

.dropdown-item:hover {
  background-color: #2D3237;
  color: var(--gold);
  border-left-color: var(--gold);
}

/* Navbar Right Actions Cluster */
.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Emergency Navbar Button */
.nav-cta-btn {
  background-color: var(--gold);
  color: var(--charcoal-deep) !important;
  padding: 8px 14px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  line-height: 1;
  transition: var(--transition);
}

.nav-cta-btn:hover {
  background-color: var(--gold-hover);
  border-color: var(--gold-hover);
  color: var(--charcoal-deep) !important;
  box-shadow: 0 4px 12px rgba(255, 196, 0, 0.4);
}

/* Mobile Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background-color: var(--charcoal-surface);
  border: 1px solid var(--charcoal-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
  transition: var(--transition);
  flex-shrink: 0;
}

.hamburger:hover {
  background-color: #2D3237;
  border-color: var(--gold);
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #FAFAF7;
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background-color: var(--charcoal-main);
  border-bottom: 2px solid var(--charcoal-border);
  padding: 16px 20px 28px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  z-index: 999;
  flex-direction: column;
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a,
.mobile-dropdown-toggle {
  display: block;
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 600;
  color: #FAFAF7;
  border-bottom: 1px solid #2D3237;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  text-align: left;
  cursor: pointer;
  width: 100%;
}

.mobile-nav a:hover,
.mobile-dropdown-toggle:hover {
  color: var(--gold);
}

.mobile-dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-sub-menu {
  display: none;
  flex-direction: column;
  background-color: var(--charcoal-deep);
  padding: 8px 16px;
  border-bottom: 1px solid #2D3237;
}

.mobile-sub-menu.open {
  display: flex;
}

.mobile-sub-menu a {
  padding: 10px 8px;
  font-size: 0.92rem;
  color: #CED4DA;
  border-bottom: 1px solid #22262A;
}

.mobile-sub-menu a:hover {
  color: var(--gold);
}

.mobile-nav .nav-cta-btn {
  margin-top: 20px;
  justify-content: center;
  padding: 14px;
}

/* ---- PAGE BODY OFFSET ---- */
.site-wrapper {
  padding-top: var(--nav-height);
}

/* ---- SECTION UTILITIES ---- */
.section {
  padding: 88px 0;
}

.section-sm {
  padding: 56px 0;
}

.section-dark {
  background-color: var(--navy-deep);
  color: var(--text-on-dark);
}

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

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

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

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

/* Section Header */
.section-header {
  margin-bottom: 52px;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 14px;
}

/* ---- HERO (HOMEPAGE) ---- */
.hero-home {
  position: relative;
  background: 
    linear-gradient(135deg, rgba(22, 25, 27, 0.90) 0%, rgba(31, 35, 38, 0.78) 50%, rgba(18, 20, 22, 0.92) 100%),
    url('../images/hero-electrician.jpg') center right / cover no-repeat;
  color: var(--white);
  padding: 110px 0 130px;
  overflow: hidden;
  border-bottom: 1px solid #2D3237;
}

.hero-home::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

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

.hero-home-content h1 {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 900;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 8px;
}

.hero-home-content .hero-highlight {
  color: var(--gold);
}

.hero-home-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-on-dark);
  max-width: 580px;
  margin-top: 20px;
  margin-bottom: 34px;
}

.hero-btn-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Visual Card in Hero */
.hero-visual-card {
  background: linear-gradient(135deg, rgba(36, 36, 36, 0.85) 0%, rgba(22, 25, 27, 0.95) 100%);
  border: 1px solid var(--charcoal-border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.hero-visual-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--gold-muted);
  color: var(--gold);
  border: 1px solid rgba(255, 196, 0, 0.35);
  padding: 6px 14px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-visual-card h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.hero-visual-card p {
  color: var(--text-muted-dk);
  font-size: 0.94rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.hero-feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 600;
}

.hero-feature-item svg {
  color: var(--gold);
  flex-shrink: 0;
}

/* ---- TWO-COLUMN LAYOUTS ---- */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.two-col-grid.align-start {
  align-items: start;
}

/* Diagram / Visual Showcase Box */
.visual-showcase-box {
  background-color: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 380px;
  position: relative;
}

.showcase-icon-wrap {
  width: 76px;
  height: 76px;
  background-color: var(--white);
  border: 2px solid var(--blue-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-accent);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.showcase-headline {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-deep);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.showcase-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  max-width: 360px;
}

/* ---- SERVICES LIST (HOMEPAGE) ---- */
.services-section-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.service-links-list {
  display: flex;
  flex-direction: column;
}

.service-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--navy-deep);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: var(--transition);
}

.service-list-row:hover {
  color: var(--blue-accent);
  padding-left: 10px;
}

.service-list-row svg {
  color: var(--blue-accent);
  transition: transform 0.2s ease;
}

.service-list-row:hover svg {
  transform: translateX(6px);
}

/* ---- EMERGENCY HIGHLIGHT BANNER ---- */
.emergency-callout-card {
  background: linear-gradient(135deg, var(--bg-card-light) 0%, #D8ECF9 100%);
  border: 2px solid var(--blue-accent);
  border-radius: var(--radius-md);
  padding: 56px 48px;
  text-align: center;
}

.emergency-callout-card .emergency-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: 14px;
}

.emergency-callout-card h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--navy-deep);
  margin-bottom: 16px;
}

.emergency-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 36px 0;
  text-align: left;
}

.emergency-quote-box {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
}

.emergency-quote-box p {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--text-dark);
}

.emergency-quote-box .author {
  display: block;
  margin-top: 14px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-accent);
}

/* ---- PARTNERS ROW ---- */
.partners-block {
  text-align: center;
  padding: 60px 0;
}

.partners-heading {
  font-size: 1.6rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--navy-deep);
  margin-bottom: 32px;
}

.partners-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.partner-logo-box {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.partner-logo-box:hover {
  border-color: var(--blue-accent);
  box-shadow: var(--shadow-md);
}

.partner-name {
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-deep);
}

.partner-sub {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-top: 6px;
}

/* ---- ACCORDION (LUXURY STYLE) ---- */
.accordion-wrapper {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-light);
}

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

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  cursor: pointer;
  user-select: none;
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--navy-deep);
  transition: color var(--transition);
}

.accordion-header:hover {
  color: var(--blue-accent);
}

.accordion-indicator {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}

.accordion-indicator::before,
.accordion-indicator::after {
  content: '';
  position: absolute;
  background-color: var(--blue-accent);
  transition: var(--transition);
}

.accordion-indicator::before {
  top: 9px;
  left: 3px;
  width: 14px;
  height: 2px;
}

.accordion-indicator::after {
  top: 3px;
  left: 9px;
  width: 2px;
  height: 14px;
}

.accordion-item.open .accordion-indicator::after {
  opacity: 0;
  transform: rotate(90deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.accordion-content-inner {
  padding-bottom: 22px;
  color: var(--text-body);
  font-size: 0.98rem;
  line-height: 1.8;
}

.accordion-item.open .accordion-content {
  max-height: 500px;
  transition: max-height 0.35s ease-in-out;
}

/* ---- RECENT PROJECTS GRID / INSTAGRAM ---- */
.projects-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.project-card-box {
  background-color: var(--navy-surface);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-sm);
  aspect-ratio: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.project-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.project-quote-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-on-dark);
}

.project-author-text {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted-dk);
}

/* ---- CTA BANNER (DARK NAVY) ---- */
.cta-dark-banner {
  background-color: var(--navy-deep);
  color: var(--white);
  padding: 72px 0;
  border-top: 1px solid var(--navy-border);
}

.cta-dark-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-dark-info h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 8px;
}

.cta-phone-highlight {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--gold);
  display: block;
  margin: 10px 0;
}

.cta-dark-info p {
  color: var(--text-muted-dk);
  font-size: 0.95rem;
}

.cta-button-cluster {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* ---- FOOTER ---- */
.site-footer {
  background-color: var(--charcoal-deep);
  border-top: 1px solid #2D3237;
  padding: 72px 0 32px;
  color: #ADB5BD;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 56px;
}

.footer-brand h3 {
  font-size: 1.25rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.footer-brand .brand-sub {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 20px;
}

.footer-phone-link {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--gold) !important;
  display: block;
  margin-bottom: 12px;
}

.footer-phone-link:hover {
  color: var(--gold-light) !important;
}

.footer-brand p {
  font-size: 0.9rem;
  color: #ADB5BD;
  line-height: 1.7;
}

.bbb-badge-box {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--charcoal-surface);
  border: 1px solid var(--charcoal-border);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
}

.bbb-symbol {
  background-color: #16191B;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 4px 8px;
  border-radius: 2px;
  letter-spacing: 0.05em;
  border: 1px solid var(--charcoal-border);
}

.bbb-text {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #E9ECEF;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  margin-bottom: 22px;
  position: relative;
}

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

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-list a {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ADB5BD;
  transition: color var(--transition);
}

.footer-nav-list a:hover {
  color: var(--gold);
}

.footer-bottom-bar {
  border-top: 1px solid #24282D;
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: #868E96;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: #ADB5BD;
}

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

/* ============================================================
   ABOUT PAGE & CONTACT PAGE HERO STYLES
   ============================================================ */
.hero-about {
  position: relative;
  background: 
    linear-gradient(135deg, rgba(22, 25, 27, 0.90) 0%, rgba(31, 35, 38, 0.76) 50%, rgba(18, 20, 22, 0.92) 100%),
    url('../images/about-electrician.jpg') center center / cover no-repeat;
  color: var(--white);
  padding: 110px 0;
  text-align: center;
  border-bottom: 1px solid #2D3237;
}

.hero-contact {
  position: relative;
  background: 
    linear-gradient(135deg, rgba(22, 25, 27, 0.90) 0%, rgba(31, 35, 38, 0.76) 50%, rgba(18, 20, 22, 0.92) 100%),
    url('../images/contact-electrician.jpg') center center / cover no-repeat;
  color: var(--white);
  padding: 100px 0;
  text-align: center;
  border-bottom: 1px solid #2D3237;
}

.hero-about h1,
.hero-contact h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin: 12px 0 24px;
}

.about-banner-badge {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-about-desc {
  max-width: 680px;
  margin: 0 auto 34px;
  font-size: 1.1rem;
  color: var(--text-on-dark);
}

/* Quote Bar on About */
.about-quote-strip {
  background-color: var(--bg-card-light);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 48px 0;
  text-align: center;
}

.about-quote-text {
  font-size: 1.15rem;
  font-weight: 600;
  font-style: italic;
  color: var(--navy-deep);
  max-width: 820px;
  margin: 0 auto 20px;
}

/* Two Cards: Areas We Serve & Careers */
.two-card-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.nav-feature-card {
  background-color: var(--navy-surface);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  padding: 48px 40px;
  color: var(--white);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 260px;
}

.nav-feature-card h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.nav-feature-card p {
  color: var(--text-muted-dk);
  font-size: 0.96rem;
  margin-bottom: 24px;
}

/* 4 Badge Boxes (About Image 2) */
.community-name-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}

.community-badge-item {
  border: 2px solid var(--border-light);
  border-radius: 40px;
  padding: 18px 24px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy-deep);
  background-color: var(--white);
  transition: var(--transition);
}

.community-badge-item:hover {
  border-color: var(--blue-accent);
  color: var(--blue-accent);
  background-color: var(--bg-card-light);
}

/* ============================================================
   SERVICE PAGES STYLES (IMAGES 3 & 4)
   Electrical Panels, EV Charger, Electrical Repairs, Emergency
   ============================================================ */
.hero-service-split {
  background: radial-gradient(circle at 60% 40%, #152B4E 0%, var(--navy-deep) 75%);
  color: var(--white);
  padding: 88px 0 100px;
  position: relative;
  border-bottom: 1px solid var(--navy-border);
}

.hero-service-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 56px;
  align-items: start;
}

.hero-service-content h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.4rem);
  color: var(--white);
  margin-bottom: 12px;
}

.hero-service-subtitle {
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--blue-accent);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.hero-service-lead {
  font-size: 1.05rem;
  color: var(--text-on-dark);
  line-height: 1.8;
  margin-bottom: 28px;
}

.hero-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  color: var(--text-on-dark);
}

.hero-bullet-item svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.hero-bullet-item strong {
  color: var(--white);
}

/* Lead Gen Card ("Let's Get Started") */
.lead-gen-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  color: var(--text-dark);
}

.lead-gen-card h3 {
  font-size: 1.4rem;
  color: var(--navy-deep);
  text-transform: uppercase;
  margin-bottom: 6px;
  text-align: center;
}

.lead-gen-card .card-caption {
  font-size: 0.86rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 22px;
}

.form-group-field {
  margin-bottom: 14px;
}

.form-group-field input,
.form-group-field select,
.form-group-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: var(--bg-light);
  color: var(--text-dark);
  font-size: 0.92rem;
  transition: border-color var(--transition);
}

.form-group-field input:focus,
.form-group-field select:focus,
.form-group-field textarea:focus {
  outline: none;
  border-color: var(--blue-accent);
  background-color: var(--white);
}

/* 5% OFF Coupon Voucher */
.coupon-voucher-card {
  background-color: var(--navy-deep);
  border: 2px dashed var(--gold);
  border-radius: var(--radius-md);
  padding: 44px 36px;
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.coupon-discount-val {
  font-size: 3.8rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.coupon-discount-label {
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 20px;
}

.coupon-voucher-card p {
  color: var(--text-muted-dk);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.coupon-terms {
  display: block;
  margin-top: 14px;
  font-size: 0.72rem;
  color: var(--text-muted-dk);
}

/* Signs & Red Flags List */
.warning-signs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.warning-sign-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 600;
}

.warning-sign-row svg {
  color: var(--blue-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Charging Levels 3-Box Stack */
.charging-tiers-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tier-box {
  background-color: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 24px;
  transition: var(--transition);
}

.tier-box.highlight {
  border-color: var(--blue-accent);
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
}

.tier-box h4 {
  font-size: 1.05rem;
  text-transform: uppercase;
  color: var(--navy-deep);
  margin-bottom: 8px;
}

.tier-box.highlight h4 {
  color: var(--blue-accent);
}

.tier-box p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-body);
}

/* Blue Lasting Results Banner */
.lasting-results-banner {
  background-color: var(--navy-surface);
  color: var(--white);
  padding: 64px 0;
  border-top: 3px solid var(--blue-accent);
}

.lasting-results-banner .sub-tag {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: 10px;
  display: block;
}

.lasting-results-banner h2 {
  color: var(--white);
  max-width: 820px;
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
}

.lasting-results-banner p {
  color: var(--text-on-dark);
  margin-top: 14px;
  max-width: 740px;
}

/* Horizontal Service Strip */
.services-strip-component {
  background-color: var(--bg-ice);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 56px 0;
}

.strip-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.strip-nav-arrows {
  display: flex;
  gap: 10px;
}

.strip-arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--blue-accent);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.strip-arrow-btn:hover {
  background-color: var(--blue-hover);
}

.service-cards-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.service-cards-track::-webkit-scrollbar {
  display: none;
}

.service-strip-card {
  flex: 0 0 260px;
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-decoration: none;
}

.service-strip-card:hover,
.service-strip-card.active {
  border-color: var(--blue-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.strip-card-icon {
  width: 52px;
  height: 52px;
  background-color: var(--bg-card-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-accent);
  margin-bottom: 20px;
}

.service-strip-card h4 {
  font-size: 1.1rem;
  color: var(--navy-deep);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.strip-action-link {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* What Sets Us Apart 4 Feature Lines */
.apart-list-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.apart-feature-bar {
  border-bottom: 1px solid var(--navy-deep);
  padding-bottom: 14px;
}

.apart-feature-bar strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy-deep);
  margin-bottom: 4px;
}

.apart-feature-bar span {
  font-size: 0.92rem;
  color: var(--text-body);
}

/* ============================================================
   REVIEWS PAGE (IMAGE 5) - 3x3 GRID
   ============================================================ */
.reviews-grid-3x3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card-item {
  background-color: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.review-card-item:hover {
  border-color: var(--blue-accent);
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.review-quote-content {
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 24px;
}

.reviewer-name-tag {
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-accent);
}

/* ============================================================
   CONTACT PAGE & FORMS
   ============================================================ */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: start;
}

.contact-form-box {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 44px 40px;
  box-shadow: var(--shadow-sm);
}

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

.form-field-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-deep);
  margin-bottom: 8px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-info-box {
  background-color: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
}

.contact-info-box h4 {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: 8px;
}

.contact-info-box p {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 600;
}

.contact-info-box a {
  color: var(--blue-accent);
}

.contact-highlight-phone {
  font-size: 1.45rem;
  color: var(--navy-deep);
  margin: 6px 0;
  font-weight: 700;
}

.contact-highlight-email {
  font-size: 1.25rem;
  color: var(--navy-deep);
  margin: 6px 0;
  font-weight: 600;
}

.contact-desc-muted {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: normal;
}

.contact-company-title {
  margin-top: 6px;
  font-weight: 700;
  color: var(--navy-deep);
}

.about-lead-statement {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy-deep);
  max-width: 820px;
  line-height: 1.8;
}

.about-solutions-title {
  font-size: 1.25rem;
  color: var(--navy-deep);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.about-contact-name,
.about-detail-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-deep);
}

.form-status-alert {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.92rem;
  font-weight: 600;
}

.form-status-alert.success {
  display: block;
  background-color: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

/* ============================================================
   LEGAL PAGES (PRIVACY & TERMS)
   ============================================================ */
.legal-content-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.legal-content-wrap h2 {
  font-size: 1.5rem;
  color: var(--navy-deep);
  margin: 44px 0 16px;
  text-transform: uppercase;
}

.legal-content-wrap h3 {
  font-size: 1.15rem;
  color: var(--blue-accent);
  margin: 28px 0 12px;
}

.legal-content-wrap p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.legal-content-wrap ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 24px;
}

.legal-content-wrap ul li {
  margin-bottom: 10px;
  font-size: 0.98rem;
  line-height: 1.7;
}

/* ============================================================
   RESPONSIVE MEDIA QUERIES
   ============================================================ */
@media (max-width: 1080px) {
  .hero-home-grid,
  .hero-service-grid,
  .two-col-grid,
  .services-section-grid,
  .contact-layout-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .reviews-grid-3x3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 860px) {
  :root {
    --nav-height: 64px;
  }

  .navbar {
    height: 64px;
  }

  .navbar .container {
    padding-left: 14px;
    padding-right: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    gap: 8px;
  }

  .brand-logo {
    display: flex;
    align-items: center;
    gap: 0;
    max-width: calc(100% - 95px);
    flex-shrink: 1;
  }

  .brand-logo-img {
    height: 38px;
    max-height: 38px;
    width: auto;
    max-width: 135px;
    object-fit: contain;
  }

  /* Hide redundant duplicate logo text on mobile so hamburger & toggle fit cleanly */
  .brand-logo .logo-text {
    display: none !important;
  }

  .nav-menu {
    display: none;
  }

  .nav-right-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
  }

  .nav-right-actions .nav-cta-btn {
    display: none !important;
  }

  .mobile-nav .nav-cta-btn {
    display: flex !important;
  }

  .theme-toggle-btn {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .hamburger {
    display: flex;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    padding: 6px;
  }

  .site-wrapper {
    padding-top: 64px;
  }

  .emergency-card-grid,
  .partners-logo-grid,
  .two-card-split,
  .community-name-grid,
  .projects-gallery-grid {
    grid-template-columns: 1fr;
  }

  .cta-dark-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .reviews-grid-3x3 {
    grid-template-columns: 1fr;
  }

  .form-row-2col {
    grid-template-columns: 1fr;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }
}

/* ============================================================
   THEME TOGGLE BUTTON (LIGHT / DARK MODE)
   ============================================================ */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: var(--charcoal-surface);
  border: 1px solid var(--charcoal-border);
  color: #FAFAF7;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background-color: #2D3237;
  border-color: var(--gold);
  color: var(--gold);
}

.theme-toggle-btn .icon-sun {
  display: none;
}

.theme-toggle-btn .icon-moon {
  display: block;
}

.mobile-theme-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-deep);
}

/* ============================================================
   DARK MODE LUXURY ELITE THEME OVERRIDES
   ============================================================ */
html.dark-mode {
  /* Keep --white as pure white so anything referencing white remains white */
  --white:         #FFFFFF;
  --bg-light:      #16191B;
  --bg-ice:        #1F2326;
  --bg-card-light: #242424;
  --border-light:  #343A40;
  --border-dark:   #495057;

  /* All text variables in dark mode */
  --text-dark:     #FFFFFF;
  --text-body:     #E9ECEF;
  --text-muted:    #ADB5BD;
  --text-on-dark:  #FAFAF7;
  --text-muted-dk: #CED4DA;
}

html.dark-mode body {
  background-color: #16191B;
  color: #FFFFFF !important;
}

/* ------------------------------------------------------------
   ALL TEXT IN DARK MODE REMAINS 100% WHITE
   ------------------------------------------------------------ */
html.dark-mode,
html.dark-mode body,
html.dark-mode p,
html.dark-mode h1,
html.dark-mode h2,
html.dark-mode h3,
html.dark-mode h4,
html.dark-mode h5,
html.dark-mode h6,
html.dark-mode li,
html.dark-mode label,
html.dark-mode strong,
html.dark-mode b,
html.dark-mode em,
html.dark-mode i,
html.dark-mode small,
html.dark-mode td,
html.dark-mode th,
html.dark-mode dt,
html.dark-mode dd,
html.dark-mode blockquote,
html.dark-mode a:not(.btn-outline-white:hover),
html.dark-mode .logo-name,
html.dark-mode .nav-link,
html.dark-mode .dropdown-item,
html.dark-mode .mobile-nav a,
html.dark-mode .mobile-sub-menu a,
html.dark-mode .mobile-dropdown-toggle,
html.dark-mode .mobile-theme-row,
html.dark-mode .service-list-row,
html.dark-mode .service-list-name,
html.dark-mode .service-list-arrow,
html.dark-mode .emergency-callout-card h2,
html.dark-mode .emergency-callout-card p,
html.dark-mode .emergency-quote-box p,
html.dark-mode .emergency-quote-box .author,
html.dark-mode .partners-heading,
html.dark-mode .partner-name,
html.dark-mode .accordion-header,
html.dark-mode .accordion-content-inner,
html.dark-mode .accordion-content-inner p,
html.dark-mode .accordion-content-inner li,
html.dark-mode .showcase-headline,
html.dark-mode .showcase-desc,
html.dark-mode .community-badge-item,
html.dark-mode .about-quote-strip,
html.dark-mode .about-quote-text,
html.dark-mode .about-lead-statement,
html.dark-mode .about-solutions-title,
html.dark-mode .about-contact-name,
html.dark-mode .about-detail-val,
html.dark-mode .lead-gen-card,
html.dark-mode .lead-gen-card h3,
html.dark-mode .lead-gen-card p,
html.dark-mode .lead-gen-card .card-caption,
html.dark-mode .form-field-label,
html.dark-mode .warning-sign-row,
html.dark-mode .warning-sign-row div,
html.dark-mode .warning-sign-row span,
html.dark-mode .tier-box h4,
html.dark-mode .tier-box p,
html.dark-mode .tier-box li,
html.dark-mode .tier-box span,
html.dark-mode .services-strip-component,
html.dark-mode .service-strip-card h4,
html.dark-mode .service-strip-card p,
html.dark-mode .apart-feature-bar strong,
html.dark-mode .apart-feature-bar p,
html.dark-mode .apart-feature-bar div,
html.dark-mode .review-card-item h4,
html.dark-mode .review-quote-content,
html.dark-mode .review-card-item p,
html.dark-mode .author,
html.dark-mode .reviewer-name-tag,
html.dark-mode .contact-form-box,
html.dark-mode .contact-form-box h2,
html.dark-mode .contact-form-box p,
html.dark-mode .contact-info-box,
html.dark-mode .contact-info-box h4,
html.dark-mode .contact-info-box p,
html.dark-mode .contact-info-box a,
html.dark-mode .contact-highlight-phone,
html.dark-mode .contact-highlight-phone a,
html.dark-mode .contact-highlight-email,
html.dark-mode .contact-highlight-email a,
html.dark-mode .contact-desc-muted,
html.dark-mode .contact-company-title,
html.dark-mode .site-footer,
html.dark-mode .site-footer p,
html.dark-mode .site-footer a,
html.dark-mode .site-footer span:not(.badge),
html.dark-mode .site-footer h3,
html.dark-mode .site-footer h4,
html.dark-mode .site-footer li,
html.dark-mode .footer-brand h3,
html.dark-mode .footer-brand p,
html.dark-mode .footer-col h4,
html.dark-mode .footer-col ul li,
html.dark-mode .footer-col ul li a,
html.dark-mode .footer-bottom-bar p,
html.dark-mode .footer-bottom-bar a,
html.dark-mode .bbb-text,
html.dark-mode .bbb-symbol,
html.dark-mode .legal-content-wrap h1,
html.dark-mode .legal-content-wrap h2,
html.dark-mode .legal-content-wrap h3,
html.dark-mode .legal-content-wrap p,
html.dark-mode .legal-content-wrap li,
html.dark-mode .legal-content-wrap strong,
html.dark-mode .hero-bullet-item,
html.dark-mode .hero-bullet-item div,
html.dark-mode .hero-about-desc,
html.dark-mode .hero-service-lead,
html.dark-mode .hero-home-content p,
html.dark-mode .hero-visual-card h3,
html.dark-mode .hero-visual-card p,
html.dark-mode .section-header p,
html.dark-mode .section-header h2,
html.dark-mode .coupon-voucher-card p,
html.dark-mode .coupon-discount-label,
html.dark-mode .coupon-terms,
html.dark-mode .card-caption,
html.dark-mode .hero-feature-item,
html.dark-mode .theme-toggle-btn,
html.dark-mode .section-label,
html.dark-mode .about-banner-badge,
html.dark-mode .emergency-tag,
html.dark-mode span.hero-highlight,
html.dark-mode [style*="color: var(--navy-deep)"],
html.dark-mode [style*="color: var(--text-dark)"],
html.dark-mode [style*="color: var(--text-body)"],
html.dark-mode [style*="color: var(--text-muted)"],
html.dark-mode [style*="color: var(--text-muted-dk)"],
html.dark-mode [style*="color: var(--white)"] {
  color: #FFFFFF !important;
}

/* Links interactive hover state */
html.dark-mode a:hover,
html.dark-mode .nav-link:hover,
html.dark-mode .nav-link.active,
html.dark-mode .dropdown-item:hover,
html.dark-mode .service-list-row:hover,
html.dark-mode .accordion-header:hover,
html.dark-mode .community-badge-item:hover,
html.dark-mode .footer-col ul li a:hover,
html.dark-mode .footer-bottom-bar a:hover {
  color: var(--gold) !important;
}

/* Buttons in Dark Mode */
html.dark-mode .btn-blue,
html.dark-mode .nav-cta-btn {
  background-color: var(--gold) !important;
  color: #1F2326 !important;
  border-color: var(--gold) !important;
}

html.dark-mode .btn-outline-white {
  color: #FFFFFF !important;
  border-color: #FFFFFF !important;
}

html.dark-mode .btn-outline-white:hover {
  background-color: #FFFFFF !important;
  color: #070E1A !important;
}

html.dark-mode .btn-outline-gold:hover {
  background-color: #0A1424;
  color: var(--gold) !important;
}

/* Form Inputs, Selects, Textareas */
html.dark-mode input,
html.dark-mode select,
html.dark-mode textarea,
html.dark-mode .form-group-field input,
html.dark-mode .form-group-field select,
html.dark-mode .form-group-field textarea,
html.dark-mode .contact-form-box input,
html.dark-mode .contact-form-box select,
html.dark-mode .contact-form-box textarea {
  background-color: #071120;
  border-color: #1C3354;
  color: #FFFFFF !important;
}

html.dark-mode input:focus,
html.dark-mode select:focus,
html.dark-mode textarea:focus,
html.dark-mode .form-group-field input:focus,
html.dark-mode .form-group-field select:focus,
html.dark-mode .form-group-field textarea:focus,
html.dark-mode .contact-form-box input:focus,
html.dark-mode .contact-form-box select:focus,
html.dark-mode .contact-form-box textarea:focus {
  background-color: #0A1628;
  border-color: var(--blue-accent);
  color: #FFFFFF !important;
}

html.dark-mode ::placeholder,
html.dark-mode input::placeholder,
html.dark-mode textarea::placeholder {
  color: rgba(255, 255, 255, 0.65) !important;
  opacity: 1;
}

/* Toggle Icon in Dark Mode */
html.dark-mode .theme-toggle-btn {
  background-color: var(--charcoal-surface);
  border-color: var(--charcoal-border);
  color: #FAFAF7 !important;
}

html.dark-mode .theme-toggle-btn:hover {
  border-color: var(--gold);
  color: var(--gold) !important;
}

html.dark-mode .theme-toggle-btn .icon-sun {
  display: block;
}

html.dark-mode .theme-toggle-btn .icon-moon {
  display: none;
}

html.dark-mode .mobile-theme-row {
  border-bottom-color: #2D3237;
}

/* Navbar in Dark Mode */
html.dark-mode .navbar {
  background-color: #121416;
  border-bottom-color: #24282D;
}

html.dark-mode .navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

html.dark-mode .dropdown-menu {
  background-color: #1F2326;
  border-color: #343A40;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

html.dark-mode .dropdown-item:hover {
  background-color: #2D3237;
}

html.dark-mode .hamburger span {
  background-color: #FAFAF7 !important;
}

html.dark-mode .mobile-nav {
  background-color: #121416;
  border-bottom-color: #24282D;
}

html.dark-mode .mobile-nav a,
html.dark-mode .mobile-dropdown-toggle {
  border-bottom-color: #24282D;
}

html.dark-mode .mobile-sub-menu {
  background-color: #16191B;
  border-bottom-color: #24282D;
}

html.dark-mode .mobile-sub-menu a {
  border-bottom-color: #24282D;
}

/* Sections in Dark Mode */
html.dark-mode .section {
  background-color: #16191B;
}

html.dark-mode .section-ice {
  background-color: #1F2326;
}

html.dark-mode .section-light {
  background-color: #191C1F;
}

/* Services Homepage List */
html.dark-mode .service-list-row {
  border-bottom-color: #343A40;
}

/* Emergency Highlight Card */
html.dark-mode .emergency-callout-card {
  background: linear-gradient(135deg, #242424 0%, #1A1D20 100%);
  border-color: var(--gold);
}

html.dark-mode .emergency-quote-box {
  background-color: #2A2E33;
  border-color: #343A40;
}

/* Partners */
html.dark-mode .partner-logo-box {
  background-color: #242424;
  border-color: #343A40;
}

/* Accordion in Dark Mode */
html.dark-mode .accordion-wrapper {
  border-top-color: #343A40;
}

html.dark-mode .accordion-item {
  background-color: #242424;
  border-bottom-color: #343A40;
  padding: 17px;
}

html.dark-mode .accordion-header {
  background-color: #242424;
}

/* Showcase & Visual Boxes */
html.dark-mode .visual-showcase-box {
  background-color: #242424;
  border-color: #343A40;
}

html.dark-mode .showcase-icon-wrap {
  background-color: #16191B;
}

/* Community Badges (About Page) */
html.dark-mode .community-badge-item {
  background-color: #242424;
  border-color: #343A40;
}

html.dark-mode .community-badge-item:hover {
  border-color: var(--gold);
  background-color: #2D3237;
}

html.dark-mode .about-quote-strip {
  background-color: #1F2326;
  border-top-color: #343A40;
  border-bottom-color: #343A40;
}

/* Service Pages Components */
html.dark-mode .lead-gen-card {
  background-color: #242424;
  border-color: #343A40;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

html.dark-mode .warning-sign-row {
  border-bottom-color: #343A40;
}

html.dark-mode .tier-box {
  background-color: #242424;
  border-color: #343A40;
}

html.dark-mode .tier-box.highlight {
  background-color: #2A2E33;
  border-color: var(--gold);
}

html.dark-mode .services-strip-component {
  background-color: #1F2326;
  border-top-color: #343A40;
  border-bottom-color: #343A40;
}

html.dark-mode .service-strip-card {
  background-color: #242424;
  border-color: #343A40;
}

html.dark-mode .service-strip-card:hover,
html.dark-mode .service-strip-card.active {
  border-color: var(--gold);
  background-color: #2D3237;
}

html.dark-mode .strip-card-icon {
  background-color: #16191B;
}

html.dark-mode .apart-feature-bar {
  border-bottom-color: #343A40;
}

/* Reviews 3x3 Grid */
html.dark-mode .review-card-item {
  background-color: #242424;
  border-color: #343A40;
}

html.dark-mode .review-card-item:hover {
  background-color: #2D3237;
  border-color: var(--gold);
}

/* Contact Page Boxes */
html.dark-mode .contact-form-box {
  background-color: #242424;
  border-color: #343A40;
}

html.dark-mode .contact-info-box {
  background-color: #242424;
  border-color: #343A40;
}

/* Footer in Dark Mode */
html.dark-mode .site-footer {
  background-color: #101214;
  border-top-color: #24282D;
}

html.dark-mode .footer-bottom-bar {
  border-top-color: #24282D;
}

html.dark-mode .bbb-badge-box {
  background-color: #242424;
  border-color: #343A40;
}

