/* Northstar Electrical — bold navy + orange */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: #1A1F2E;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

:root {
  --navy: #0A1628;
  --navy-2: #14233F;
  --orange: #FF6B1A;
  --orange-dark: #E55A0A;
  --grey: #F4F5F7;
  --border: #E4E7EB;
  --muted: #6B7280;
  --text: #1A1F2E;
}

/* ── Typography ── */
h1, h2, h3, h4 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; line-height: 1.05; letter-spacing: -.01em; text-transform: uppercase; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: .02em; }
h4 { font-size: 1rem; font-weight: 700; }

/* ── Layout ── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }

/* ── Top alert ── */
.top-alert {
  background: var(--orange); color: #fff;
  text-align: center; font-size: .85rem; font-weight: 600;
  padding: 8px 16px; letter-spacing: .03em;
}
.top-alert strong { font-weight: 800; }

/* ── Nav ── */
.nav {
  background: var(--navy); color: #fff;
  position: sticky; top: 0; z-index: 100;
  border-bottom: 3px solid var(--orange);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 24px;
}
.logo { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1.6rem;
  letter-spacing: .01em; text-transform: uppercase; }
.logo .bolt { color: var(--orange); }
.logo .star { color: var(--orange); }
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  font-size: .9rem; font-weight: 600; padding: 8px 14px;
  text-transform: uppercase; letter-spacing: .04em;
  color: rgba(255,255,255,.78); transition: color .15s;
}
.nav-links a:hover { color: var(--orange); }
.nav-phone {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: #fff;
  padding: 12px 22px; border-radius: 4px;
  font-weight: 800; font-size: 1rem; letter-spacing: .02em;
  transition: background .15s, transform .15s;
}
.nav-phone:hover { background: var(--orange-dark); transform: translateY(-1px); }
.nav-phone svg { width: 18px; height: 18px; }

/* ── Hero ── */
.hero {
  background: var(--navy);
  background-image:
    radial-gradient(circle at 80% 20%, rgba(255,107,26,.15) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(255,107,26,.06) 0%, transparent 50%);
  color: #fff; padding: 80px 0 96px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 100%;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--orange);
  margin-bottom: 20px;
}
.hero-eyebrow::before { content: ''; width: 36px; height: 2px; background: var(--orange); }
.hero h1 { margin-bottom: 24px; }
.hero h1 .accent { color: var(--orange); display: block; }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,.8); margin-bottom: 36px; max-width: 540px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: .95rem; letter-spacing: .04em;
  padding: 16px 28px; border-radius: 4px; cursor: pointer;
  border: 2px solid transparent; transition: all .15s;
  text-transform: uppercase; font-family: 'Inter', sans-serif;
}
.btn-primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-dark:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn svg { width: 18px; height: 18px; }

.hero-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 4px;
  padding: 36px;
  backdrop-filter: blur(10px);
}
.hero-card h3 { color: var(--orange); margin-bottom: 18px; }
.hero-card-list { display: grid; gap: 14px; }
.hero-card-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: .95rem; color: rgba(255,255,255,.85);
}
.hero-card-list li::before {
  content: ''; width: 22px; height: 22px; border-radius: 50%;
  background: var(--orange); flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l4 4 10-10' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 14px; background-repeat: no-repeat; background-position: center;
}

/* ── Trust bar ── */
.trust-bar {
  background: var(--navy-2); color: rgba(255,255,255,.8);
  padding: 28px 0; border-top: 1px solid rgba(255,255,255,.05);
}
.trust-bar-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; align-items: center; text-align: center; }
.trust-item { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; }
.trust-item span { display: block; font-size: 2.2rem; color: var(--orange); font-weight: 800; letter-spacing: -.02em; text-transform: none; line-height: 1; margin-bottom: 6px; }

/* ── Section headers ── */
.section-header { margin-bottom: 56px; max-width: 720px; }
.section-header.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-eyebrow {
  display: inline-block; font-family: 'Barlow Condensed', sans-serif;
  font-size: .9rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 14px;
}
.section-header h2 { margin-bottom: 16px; color: var(--navy); }
.section-header p { font-size: 1.05rem; color: var(--muted); }

/* ── Services ── */
.services { background: var(--grey); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--orange);
  padding: 28px 24px;
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(10,22,40,.08); }
.service-card .icon {
  width: 44px; height: 44px; border-radius: 4px;
  background: var(--navy); display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.service-card .icon svg { width: 22px; height: 22px; color: var(--orange); }
.service-card h3 { margin-bottom: 8px; color: var(--navy); }
.service-card p { font-size: .9rem; color: var(--muted); }

/* ── Why us ── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-features { display: grid; gap: 28px; }
.why-item { display: flex; gap: 18px; }
.why-item .badge {
  width: 56px; height: 56px; flex-shrink: 0;
  background: var(--navy); color: var(--orange);
  font-family: 'Barlow Condensed', sans-serif; font-size: 1.6rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px;
}
.why-item h3 { color: var(--navy); margin-bottom: 6px; }
.why-item p { color: var(--muted); font-size: .95rem; }
.why-visual {
  background: var(--navy);
  background-image: linear-gradient(135deg, rgba(255,107,26,.15) 0%, transparent 50%);
  border-radius: 8px; padding: 48px; color: #fff; min-height: 380px;
  position: relative; overflow: hidden;
}
.why-visual::before {
  content: ''; position: absolute; right: -80px; bottom: -80px;
  width: 260px; height: 260px; border-radius: 50%;
  background: var(--orange); opacity: .12;
}
.why-visual h3 { color: var(--orange); margin-bottom: 16px; font-size: 1.5rem; }
.why-visual .big-stat {
  font-family: 'Barlow Condensed', sans-serif; font-size: 5rem; font-weight: 800;
  color: #fff; line-height: 1; margin: 20px 0;
}
.why-visual p { color: rgba(255,255,255,.8); font-size: 1.05rem; max-width: 320px; position: relative; z-index: 1; }

/* ── Areas ── */
.areas { background: var(--navy); color: #fff; }
.areas h2 { color: #fff; }
.areas .section-eyebrow { color: var(--orange); }
.areas .section-header p { color: rgba(255,255,255,.7); }
.areas-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; max-width: 880px; }
.area-pill {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  padding: 14px 20px; border-radius: 4px;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; text-align: center;
  font-size: .95rem; color: rgba(255,255,255,.85);
}

/* ── FAQ ── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: 4px; margin-bottom: 12px; background: #fff; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px; font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em;
  color: var(--navy);
}
.faq-q:hover { color: var(--orange); }
.faq-icon {
  width: 32px; height: 32px; border-radius: 4px; background: var(--grey);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  transition: background .15s; font-weight: 700; font-size: 1.2rem; color: var(--navy);
}
.faq-item.open .faq-icon { background: var(--orange); color: #fff; }
.faq-item.open .faq-icon .icon-plus::after { transform: rotate(90deg); opacity: 0; }
.icon-plus { position: relative; width: 14px; height: 14px; }
.icon-plus::before, .icon-plus::after {
  content: ''; position: absolute; background: currentColor;
  left: 50%; top: 50%; transition: transform .25s, opacity .25s;
}
.icon-plus::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.icon-plus::after { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.faq-item.open .icon-plus::after { opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding: 0 24px 22px; color: var(--muted); font-size: .95rem; }

/* ── Contact / CTA ── */
.cta-banner { background: var(--orange); color: #fff; text-align: center; }
.cta-banner h2 { color: #fff; margin-bottom: 16px; font-size: clamp(2rem, 4vw, 3rem); }
.cta-banner p { font-size: 1.15rem; max-width: 620px; margin: 0 auto 32px; color: rgba(255,255,255,.95); }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-banner .btn-dark:hover { background: #000; border-color: #000; }
.cta-banner .btn-outline { color: #fff; border-color: rgba(255,255,255,.6); }
.cta-banner .btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ── Footer ── */
footer { background: var(--navy); color: rgba(255,255,255,.6); padding: 64px 0 28px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo { font-size: 1.6rem; display: block; margin-bottom: 14px; color: #fff; }
.footer-brand p { max-width: 280px; line-height: 1.7; }
.footer-col h4 { color: #fff; font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 18px; font-size: 1rem; }
.footer-col a, .footer-col p { display: block; color: rgba(255,255,255,.55); padding: 4px 0; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: .83rem; color: rgba(255,255,255,.5);
}
.footer-bottom .lic { color: var(--orange); font-weight: 700; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 768px) {
  section { padding: 64px 0; }
  .nav-links { display: none; }
  .hero-inner, .why-grid { grid-template-columns: 1fr; }
  .services-grid, .areas-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 56px 0 72px; }
}
