/* ===========================
   Electricians Blackheath — Static Site CSS
   =========================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #090909;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

/* ===========================
   NAV / HEADER
   =========================== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: #0f0f0f;
  border-bottom: 3px solid #e10600;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}
.site-logo { text-decoration: none; flex-shrink: 0; cursor: pointer; }
.logo-name { font-size: 21px; font-weight: 900; color: #fff; letter-spacing: -.02em; }
.logo-name span { color: #e10600; }
.logo-sub { font-size: 10px; color: #666; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* Desktop nav */
.desktop-nav { display: none; flex: 1; justify-content: center; align-items: center; gap: 2px; }
.desktop-cta { display: none; }
.mobile-header-btns { display: flex; align-items: center; gap: 8px; }

@media (min-width: 1024px) {
  .desktop-nav { display: flex; }
  .desktop-cta { display: flex; align-items: center; }
  .mobile-header-btns { display: none; }
}

.nav-link {
  color: #bbb;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 8px 12px;
  cursor: pointer;
  transition: color .18s ease;
  white-space: nowrap;
  text-decoration: none;
  background: none;
  border: none;
  font-family: inherit;
  display: inline-block;
}
.nav-link:hover { color: #fff; }

/* Services dropdown */
.services-dropdown-wrapper { position: relative; }
.services-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #bbb;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 8px 12px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  transition: color .18s ease;
}
.services-btn:hover { color: #fff; }
.services-chevron { font-size: 10px; transition: transform .18s; display: inline-block; }
.services-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #111;
  border-top: 2px solid #e10600;
  min-width: 220px;
  z-index: 100;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
}
.services-dropdown.open { display: block; }
.dropdown-item {
  display: block;
  padding: 10px 16px;
  border-bottom: 1px solid #1c1c1c;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #bbb;
  transition: color .18s, background .18s;
  text-decoration: none;
}
.dropdown-item:hover { color: #fff; background: #1a1a1a; }

/* WhatsApp nav button */
.nav-wa-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #e10600;
  color: #fff;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  transition: background .18s;
  text-decoration: none;
}
.nav-wa-btn:hover { background: #c90500; }

/* Mobile header call/hamburger */
.mobile-call-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 12px;
  color: #fff;
  background: #e10600;
  padding: 8px 14px;
  text-decoration: none;
}
.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: all .25s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  background: #111;
  border-top: 1px solid #1e1e1e;
  flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-nav-link {
  display: block;
  color: #bbb;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 28px;
  border-bottom: 1px solid #1a1a1a;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-decoration: none;
}
.mobile-services-group { border-bottom: 1px solid #1a1a1a; }
.mobile-services-label {
  color: #666;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 28px 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.mobile-service-link {
  display: block;
  color: #bbb;
  font-size: 13px;
  padding: 10px 28px 10px 40px;
  text-transform: uppercase;
  letter-spacing: .03em;
  text-decoration: none;
}
.mobile-menu-ctas {
  padding: 16px 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-cta-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  background: #e10600;
  padding: 14px;
  text-decoration: none;
}
.mobile-cta-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  background: #1a1a1a;
  padding: 14px;
  text-decoration: none;
}

/* ===========================
   FOOTER
   =========================== */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }

.footer-heading {
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e63329;
  display: inline-block;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #9ca3af;
  font-size: 14px;
  transition: color .15s;
  text-decoration: none;
}
.footer-link:hover { color: #e63329; }
.footer-link::before { content: "›"; color: #e63329; font-size: 14px; }
.area-chip {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  color: #d1d5db;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  background: #141414;
  text-decoration: none;
  transition: border-color .15s;
}
.area-chip:hover { border-color: rgba(230,51,41,0.4); }

/* ===========================
   MOBILE CTA BAR
   =========================== */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  border-top: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 640px) { .mobile-cta-bar { display: none; } }
.mobile-cta-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
@media (max-width: 639px) { body { padding-bottom: 54px; } }

/* ===========================
   SECTION BADGE
   =========================== */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(230, 51, 41, 0.1);
  border: 1px solid rgba(230, 51, 41, 0.3);
  color: #e63329;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===========================
   LAYOUT HELPERS
   =========================== */
.page-wrap { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .page-wrap { padding: 0 24px; } }
@media (min-width: 1024px) { .page-wrap { padding: 0 32px; } }

.narrow-wrap { max-width: 768px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .narrow-wrap { padding: 0 24px; } }
@media (min-width: 1024px) { .narrow-wrap { padding: 0 32px; } }

/* Responsive grids */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.grid-3 { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.grid-lg-2 { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 1024px) { .grid-lg-2 { grid-template-columns: repeat(2, 1fr); } }

/* Hero layout */
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 380px; } }

/* Blog related grid */
.related-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
