* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #ffffff;
  background: #020617;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(2, 6, 23, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 20px;
  background: #2563eb;
  font-size: 30px;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.35);
}

.brand strong {
  display: block;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.brand small {
  display: block;
  margin-top: 6px;
  color: #bfdbfe;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
  color: #dbeafe;
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 10%, rgba(59, 130, 246, 0.38), transparent 32%),
    radial-gradient(circle at 8% 85%, rgba(14, 165, 233, 0.22), transparent 30%),
    linear-gradient(135deg, #1e3a8a 0%, #020617 45%, #0f172a 100%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.17;
  background-image:
    linear-gradient(to right, #ffffff 1px, transparent 1px),
    linear-gradient(to bottom, #ffffff 1px, transparent 1px);
  background-size: 52px 52px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 110px 0 120px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: #60a5fa;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(72px, 10vw, 128px);
  line-height: 0.86;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

.hero h2 {
  max-width: 760px;
  margin: 24px 0 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.hero-text {
  max-width: 680px;
  margin: 26px 0 0;
  color: #cbd5e1;
  font-size: 19px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  background: #2563eb;
  color: white;
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.35);
}

.button.secondary {
  color: white;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
  color: #dbeafe;
  font-size: 14px;
  font-weight: 700;
}

.hero-card {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 34px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.work-card {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 15%, rgba(96, 165, 250, 0.55), transparent 25%),
    linear-gradient(135deg, rgba(30, 64, 175, 0.5), rgba(2, 6, 23, 1));
}

.work-label {
  position: absolute;
  left: 26px;
  top: 26px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.work-label small {
  display: block;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.work-label strong {
  display: block;
  font-size: 25px;
}

.panel-graphic {
  position: absolute;
  right: 46px;
  top: 130px;
  width: 150px;
  height: 250px;
  border-radius: 28px;
  background: linear-gradient(180deg, #475569, #020617);
  border: 1px solid rgba(191, 219, 254, 0.22);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.4);
}

.panel-top {
  width: 80px;
  height: 15px;
  border-radius: 999px;
  margin: 28px auto 34px;
  background: rgba(147, 197, 253, 0.7);
}

.breaker-grid {
  width: 92px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
}

.breaker-grid span {
  height: 28px;
  border-radius: 6px;
  background: rgba(148, 163, 184, 0.75);
}

.work-pills {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.work-pills span {
  min-height: 76px;
  display: flex;
  align-items: center;
  padding: 16px;
  border-radius: 18px;
  font-weight: 800;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(10px);
}

.section {
  padding: 86px 0;
}

.services-section {
  background: white;
  color: #020617;
}

.section-title {
  max-width: 760px;
  margin: 0;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.service-card {
  min-height: 270px;
  padding: 26px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  border-radius: 20px;
  background: #eff6ff;
  font-size: 28px;
}

.service-card h3 {
  margin: 0;
  font-size: 22px;
}

.service-card p {
  color: #475569;
  line-height: 1.7;
}

.areas-section {
  background: #f1f5f9;
  color: #020617;
}

.areas-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: start;
}

.section-text {
  max-width: 560px;
  color: #475569;
  font-size: 18px;
  line-height: 1.7;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.city-grid span {
  padding: 15px 16px;
  border-radius: 18px;
  background: white;
  color: #0f172a;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.city-grid span::before {
  content: "📍 ";
}

.contact-section {
  background: #020617;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding: 52px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.section-kicker.blue {
  color: #93c5fd;
}

.contact-card h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.contact-card p {
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.7;
}

.contact-box {
  padding: 24px;
  border-radius: 28px;
  background: white;
  color: #020617;
}

.contact-box a {
  display: block;
  padding: 18px;
  margin-bottom: 14px;
  border-radius: 18px;
  background: #f1f5f9;
  text-decoration: none;
}

.contact-box small {
  display: block;
  color: #64748b;
  margin-bottom: 5px;
}

.contact-box strong {
  display: block;
  font-size: 19px;
}

.estimate-button {
  text-align: center;
  color: white !important;
  background: #2563eb !important;
  font-weight: 900;
}

.license {
  margin: 12px 0 0 !important;
  color: #64748b !important;
  text-align: center;
  font-size: 13px !important;
}

footer {
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: #020617;
  color: #94a3b8;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .brand strong {
    font-size: 28px;
  }

  .hero-grid,
  .areas-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding: 78px 0;
  }

  .hero h1 {
    font-size: clamp(64px, 18vw, 96px);
  }

  .hero-card {
    margin-top: 10px;
  }

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

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

  .contact-card {
    padding: 28px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    font-size: 24px;
    border-radius: 16px;
  }

  .brand strong {
    font-size: 25px;
  }

  .brand small {
    font-size: 10px;
  }

  .hero h1 {
    font-size: 62px;
  }

  .hero h2,
  .section-title,
  .contact-card h2 {
    font-size: 36px;
  }

  .hero-text {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .work-card {
    min-height: 430px;
  }

  .panel-graphic {
    right: 24px;
    top: 135px;
    width: 124px;
    height: 220px;
  }

  .work-pills {
    grid-template-columns: 1fr;
  }

  .work-pills span {
    min-height: auto;
  }

  .service-grid,
  .city-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
}
