:root {
  color-scheme: light;
  --ink: #080808;
  --muted: #666158;
  --line: #e2d8c3;
  --soft: #f8f4ea;
  --white: #ffffff;
  --gold: #d8a92e;
  --gold-light: #ffe783;
  --gold-deep: #9b6a08;
  --graphite: #171717;
  --radius: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 56px;
  padding: 10px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.94);
  background: rgba(3, 3, 3, 0.72);
  border-bottom: 1px solid rgba(216, 169, 46, 0.28);
  backdrop-filter: blur(22px);
}

.brand,
.nav-links,
.hero-actions,
.contact-row {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: 0;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.brand-logo {
  width: 30px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 220, 106, 0.24));
}

.nav-links {
  gap: clamp(14px, 3vw, 34px);
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.nav-action {
  padding: 8px 14px;
  border-radius: 999px;
  color: #090909;
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 54%, #b98412);
  font-size: 13px;
  font-weight: 700;
}

.hero {
  position: relative;
  display: grid;
  min-height: 94vh;
  overflow: hidden;
  color: var(--white);
  background: #050505;
}

.hero-image,
.hero-overlay,
.hero-content {
  grid-area: 1 / 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 94vh;
  object-fit: cover;
  object-position: center right;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.9), rgba(3, 3, 3, 0.5) 46%, rgba(3, 3, 3, 0.08) 74%),
    linear-gradient(0deg, rgba(120, 78, 0, 0.22), rgba(3, 3, 3, 0.06));
}

.hero-content {
  align-self: center;
  width: min(680px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 92px);
  padding-top: 70px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: rgba(255, 244, 199, 0.92);
  background: transparent;
  backdrop-filter: none;
}

.hero-badge img {
  width: 96px;
  height: 106px;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold-light);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.42;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 640px;
  margin-top: 24px;
}

.trust-strip span,
.area-details span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 231, 131, 0.34);
  border-radius: 999px;
  color: #fff4c7;
  background: rgba(0, 0, 0, 0.24);
  font-size: 13px;
  font-weight: 750;
}

.hero-actions,
.contact-row {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 750;
  white-space: nowrap;
}

.primary {
  color: #070707;
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 52%, #b78310);
  box-shadow: 0 12px 36px rgba(216, 169, 46, 0.28);
}

.secondary {
  color: #fff3c2;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 231, 131, 0.42);
}

.dark {
  color: #fff4c7;
  background: var(--ink);
  border: 1px solid rgba(216, 169, 46, 0.46);
}

.intro-band {
  display: grid;
  place-items: center;
  min-height: 190px;
  padding: 42px 22px;
  color: #fff4c7;
  background:
    radial-gradient(circle at top, rgba(255, 231, 131, 0.12), transparent 36%),
    var(--ink);
  text-align: center;
}

.intro-band p {
  max-width: 900px;
  margin: 0;
  font-size: clamp(32px, 6vw, 72px);
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: 0;
}

.section {
  padding: clamp(70px, 10vw, 130px) clamp(18px, 5vw, 70px);
  background: var(--soft);
}

.services-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.services-section::before {
  display: none;
}

.services-section::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(8, 8, 8, 0.22)),
    radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.16), transparent 42%);
  opacity: 0;
  transition: opacity 260ms ease;
}

.service-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.03);
  transition:
    opacity 260ms ease,
    transform 560ms ease;
}

.service-bg-panel {
  background-image: url("assets/service-panel-upgrade.png");
}

.service-bg-lighting {
  background-image: url("assets/service-lighting-install.png");
}

.service-bg-troubleshooting {
  background-image: url("assets/service-troubleshooting.png");
}

.service-bg-ev {
  background-image: url("assets/service-ev-charger.png");
}

.section-heading,
.service-grid {
  position: relative;
  z-index: 2;
}

.services-section[data-service]::after {
  opacity: 1;
}

.services-section[data-service="panel"] .service-bg-panel,
.services-section[data-service="lighting"] .service-bg-lighting,
.services-section[data-service="troubleshooting"] .service-bg-troubleshooting,
.services-section[data-service="ev"] .service-bg-ev {
  opacity: 1;
  transform: scale(1);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}

.services-section[data-service] .section-heading {
  color: var(--white);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.82);
}

.services-section[data-service] .section-heading .eyebrow {
  color: var(--gold-light);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #fbf7ed);
  cursor: pointer;
  isolation: isolate;
  outline: none;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.service-card::after {
  display: none;
}

.service-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 270px;
  flex-direction: column;
  padding: 28px;
  transition: color 180ms ease;
}

.service-card:hover,
.service-card:focus,
.service-card:focus-within {
  border-color: rgba(216, 169, 46, 0.72);
  box-shadow: 0 22px 52px rgba(33, 23, 0, 0.18);
  transform: translateY(-4px);
}

.service-card:hover .service-icon,
.service-card:focus .service-icon,
.service-card:focus-within .service-icon {
  color: var(--gold-deep);
}

.service-icon {
  display: inline-flex;
  margin-bottom: auto;
  color: var(--gold-deep);
  font-size: 13px;
  font-weight: 850;
}

.service-card h3 {
  margin-top: 48px;
}

.service-card p,
.proof-list span,
.quote-section p,
.site-footer {
  color: var(--muted);
  line-height: 1.55;
}

.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(28px, 7vw, 90px);
  padding: clamp(76px, 11vw, 150px) clamp(18px, 6vw, 92px);
  background: var(--white);
}

.feature-split h2 {
  max-width: 720px;
}

.proof-list {
  display: grid;
  gap: 14px;
  align-self: center;
}

.proof-list div {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.proof-list strong,
.proof-list span {
  display: block;
}

.proof-list strong {
  margin-bottom: 6px;
  font-size: 20px;
}

.area-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(26px, 6vw, 72px);
  padding: clamp(76px, 10vw, 140px) clamp(18px, 6vw, 92px);
  background: var(--soft);
}

.area-copy {
  align-self: center;
}

.area-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.area-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.area-details span {
  color: var(--gold-light);
  background: var(--ink);
}

.map-panel {
  overflow: hidden;
  min-height: 430px;
  border: 1px solid rgba(216, 169, 46, 0.36);
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: 0 24px 70px rgba(37, 27, 0, 0.14);
}

.map-panel iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
  filter: saturate(0.9) contrast(1.04);
}

.reviews-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  align-items: stretch;
  gap: 28px;
  padding: clamp(58px, 8vw, 90px) clamp(18px, 6vw, 92px);
  color: var(--white);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 231, 131, 0.16), transparent 34%),
    var(--graphite);
}

.reviews-section h2 {
  margin-bottom: 12px;
  font-size: clamp(32px, 4vw, 54px);
}

.reviews-section p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.55;
}

.reviews-copy {
  align-self: center;
}

.reviews-copy .button {
  margin-top: 24px;
}

.review-carousel {
  position: relative;
  min-height: 330px;
  padding: 34px;
  border: 1px solid rgba(216, 169, 46, 0.38);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)),
    rgba(0, 0, 0, 0.28);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.review-slide {
  position: absolute;
  inset: 34px 34px 72px;
  display: grid;
  align-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 320ms ease,
    transform 320ms ease;
}

.review-slide.is-active {
  opacity: 1;
  transform: translateY(0);
}

.review-slide p {
  margin-bottom: 22px;
  color: var(--white);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.16;
}

.review-slide span {
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.review-dots {
  position: absolute;
  left: 34px;
  bottom: 30px;
  display: flex;
  gap: 9px;
}

.review-dots button {
  width: 34px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
}

.review-dots button.is-active {
  background: var(--gold-light);
}

.quote-section {
  padding: clamp(70px, 10vw, 130px) 18px;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 231, 131, 0.16), transparent 38%),
    linear-gradient(135deg, #050505, #171717 56%, #4a3206);
  text-align: center;
}

.quote-inner {
  max-width: 850px;
  margin: 0 auto;
}

.quote-section .eyebrow {
  color: var(--gold-light);
}

.quote-section p {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.74);
  font-size: 19px;
}

.contact-row {
  justify-content: center;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 780px;
  margin: 42px auto 0;
  text-align: left;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 244, 199, 0.84);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 231, 131, 0.24);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
  font: inherit;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 231, 131, 0.72);
  box-shadow: 0 0 0 3px rgba(216, 169, 46, 0.18);
}

.message-field,
.form-submit,
.form-note {
  grid-column: 1 / -1;
}

.form-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-note {
  margin: 0;
  text-align: center;
  font-size: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 5vw, 70px);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.footer-brand img {
  display: block;
  width: 138px;
  height: auto;
}

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

  .hero {
    min-height: 820px;
  }

  .hero-image {
    min-height: 820px;
    object-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(3, 3, 3, 0.92), rgba(3, 3, 3, 0.56) 64%, rgba(3, 3, 3, 0.2)),
      linear-gradient(0deg, rgba(105, 68, 0, 0.24), rgba(3, 3, 3, 0.06));
  }

  .service-grid,
  .feature-split,
  .area-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .site-header {
    gap: 12px;
  }

  .brand {
    font-size: 13px;
  }

  .brand span:last-child {
    max-width: 205px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-action {
    padding: 8px 12px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-image {
    min-height: 760px;
  }

  .hero-content {
    align-self: end;
    padding-bottom: 58px;
  }

  h1 {
    font-size: 48px;
  }

  .button {
    width: 100%;
  }

  .trust-strip span {
    width: 100%;
  }

  .service-card {
    min-height: auto;
  }

  .service-content {
    min-height: auto;
  }

  .service-card h3 {
    margin-top: 36px;
  }

  .service-card p {
    color: var(--muted);
  }

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

  .contact-form {
    grid-template-columns: 1fr;
  }

  .map-panel,
  .map-panel iframe {
    min-height: 330px;
  }

  .review-carousel {
    min-height: 360px;
    padding: 26px;
  }

  .review-slide {
    inset: 26px 26px 72px;
  }

  .review-dots {
    left: 26px;
  }
}

@media (max-width: 340px) {
  .brand span:last-child {
    max-width: 145px;
  }
}
