:root {
  --font-heading: Arial, sans-serif;
  --font-body: "Segoe UI", Arial, sans-serif;
  --ink: #111827;
  --muted: #4b5563;
  --navy: #094472;
  --navy-dark: #052d4d;
  --green: #46dc9c;
  --gold: #ecc770;
  --ice: #f4f8fb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: #ffffff;
  line-height: 1.7;
  padding-bottom: 0;
}

body.mobile-call-active {
  padding-bottom: 78px;
}

h1,
h2,
h3,
h4,
.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.035em;
}

h1 {
  font-size: 39px;
  line-height: 1.04;
  color: #ffffff;
}

h2 {
  font-size: 31px;
  line-height: 1.12;
  color: var(--ink);
}

h3,
h4 {
  font-size: 22px;
  line-height: 1.25;
  color: var(--ink);
}

p,
li,
a,
button,
input,
summary {
  font-size: 16px;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(9, 68, 114, 0.12);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.brand img {
  width: 42px;
  height: 42px;
}

.logo-text {
  font-size: 24px;
  line-height: 1;
  white-space: nowrap;
}

.desktop-nav,
.header-phone {
  display: none !important;
}

.desktop-nav a {
  color: #243447;
  font-weight: 700;
  padding: 28px 8px;
}

.desktop-nav a:hover {
  color: var(--navy);
}

.menu-toggle {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 2px solid var(--navy);
  color: var(--navy);
  background: #ffffff;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  content: "";
}

.menu-toggle {
  flex-direction: column;
  gap: 5px;
}

.mobile-menu {
  display: none;
  border-top: 1px solid rgba(9, 68, 114, 0.12);
  background: #ffffff;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 14px 22px;
  color: var(--ink);
  font-weight: 800;
  border-bottom: 1px solid #edf2f7;
}

.phone-button,
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 14px 20px;
  border: 0;
  background: var(--green);
  color: #061826;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.58);
  animation: glowPulse 2.1s infinite;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.phone-button:hover,
.cta-button:hover {
  transform: translateY(-2px);
  background: #62efb1;
  color: #061826;
  box-shadow: 0 16px 38px rgba(70, 220, 156, 0.3);
}

.phone-dark {
  color: #061826;
}

.section-wrap {
  padding: 68px 0;
}

.hero {
  position: relative;
  min-height: 790px;
  overflow: hidden;
  background-image: linear-gradient(90deg, rgba(4, 29, 51, 0.94) 0%, rgba(9, 68, 114, 0.78) 48%, rgba(9, 68, 114, 0.38) 100%), url("../images/hero-technician.jpg");
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.circuit-bg,
.hero::before,
.dark-section::before {
  background-image: linear-gradient(90deg, rgba(70, 220, 156, 0.13) 1px, transparent 1px), linear-gradient(0deg, rgba(236, 199, 112, 0.11) 1px, transparent 1px);
  background-size: 68px 68px;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.32;
  animation: circuitDraw 9s linear infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before,
.accent-line {
  display: inline-block;
  width: 42px;
  height: 4px;
  background: var(--gold);
  content: "";
}

.stars {
  color: var(--gold);
  font-size: 24px;
  letter-spacing: 0.08em;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-badges img {
  width: auto;
  height: 48px;
  object-fit: contain;
  padding: 4px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.benefit-panel {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(18px);
  color: #ffffff;
}

.benefit-panel h3,
.benefit-panel p {
  color: #ffffff;
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  background: rgba(70, 220, 156, 0.18);
  color: var(--green);
  border: 1px solid rgba(70, 220, 156, 0.55);
}

.light-card {
  background: ;
  color: var(--ink);
  border: 1px solid rgba(9, 68, 114, 0.12);
  box-shadow: 0 18px 46px rgba(9, 68, 114, 0.09);
}

.light-card p,
.light-card li {
  color: var(--muted);
}

.dark-section {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #ffffff;
}

.dark-section::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.24;
}

.dark-section > * {
  position: relative;
  z-index: 1;
}

.dark-section h2,
.dark-section h3,
.dark-section h4,
.dark-section p,
.dark-section li {
  color: #ffffff;
}

.split-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.split-image img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  border-left: 4px solid var(--green);
}

.problem-list {
  display: grid;
  gap: 12px;
}

.problem-item {
  padding: 14px;
  background: var(--ice);
  border-left: 4px solid var(--gold);
}

.reviews-shell {
  overflow: hidden;
}

.reviews-track {
  display: flex;
  transition: transform 420ms ease;
}

.review-slide {
  flex: 0 0 100%;
  padding: 8px;
}

.review-card {
  min-height: 300px;
  background: #ffffff;
  color: var(--ink);
  border: 1px solid rgba(9, 68, 114, 0.14);
  padding: 24px;
  box-shadow: 0 18px 38px rgba(9, 68, 114, 0.08);
}

.review-card p {
  color: #263445;
}

.review-card cite {
  display: block;
  margin-top: 16px;
  color: var(--navy);
  font-weight: 900;
  font-style: normal;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(9, 68, 114, 0.18);
  background: #ffffff;
  color: var(--navy);
  font-weight: 900;
}

.faq-item {
  border: 1px solid rgba(9, 68, 114, 0.14);
  background: #ffffff;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 900;
}

.faq-item p {
  padding: 0 20px 20px;
  margin: 0;
  color: var(--muted);
}

.zip-pill {
  display: inline-flex;
  padding: 8px 12px;
  background: rgba(70, 220, 156, 0.12);
  color: #063554;
  border: 1px solid rgba(70, 220, 156, 0.35);
  font-weight: 900;
}

.footer {
  background: #052d4d;
  color: #dbeafe;
  font-size: 14px;
}

.footer p,
.footer a,
.footer li {
  font-size: 14px;
  color: #dbeafe;
}

.footer h3,
.footer h4,
.footer .logo-text {
  color: #ffffff;
}

.mobile-sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: none !important;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 240ms ease, opacity 240ms ease;
  background: var(--green);
  color: #061826;
  text-align: center;
  font-weight: 900;
  padding: 16px 10px calc(16px + env(safe-area-inset-bottom));
  white-space: nowrap;
  box-shadow: 0 -12px 34px rgba(6, 24, 38, 0.28);
}

.mobile-sticky-call.is-visible {
  display: block !important;
  transform: translateY(0);
  opacity: 1;
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.58); }
  70% { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

@keyframes circuitDraw {
  from { background-position: 0 0, 0 0; }
  to { background-position: 136px 68px, 68px 136px; }
}

@media (min-width: 768px) {
  body.mobile-call-active {
    padding-bottom: 0;
  }

  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 44px;
  }

  .desktop-nav {
    display: flex !important;
  }

  .header-phone {
    display: inline-flex !important;
  }

  .menu-toggle,
  .mobile-menu,
  .mobile-sticky-call,
  .mobile-sticky-call.is-visible {
    display: none !important;
  }

  .hero {
    min-height: 760px;
  }

  .split-block {
    grid-template-columns: minmax(0, 65%) minmax(0, 35%);
  }

  .split-block.image-left {
    grid-template-columns: minmax(0, 35%) minmax(0, 65%);
  }

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

  .review-slide {
    flex-basis: 33.3333%;
  }
}

@media (min-width: 1180px) {
  .service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
