* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  --font-heading: Arial, Helvetica, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
  min-width: 320px;
  font-size: 16px;
  line-height: 1.65;
  background: #ffffff;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(32px, 7vw, 66px);
}

h2 {
  font-size: clamp(26px, 4.8vw, 44px);
}

h3,
h4 {
  font-size: clamp(22px, 3vw, 27px);
}

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

a[href^="tel:"]:not(.phone-button):not(.primary-button):not(.sticky-call) {
  color: inherit;
  font-weight: 800;
}

.site-shell {
  overflow: hidden;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #d5dbe3;
  backdrop-filter: blur(14px);
}

.nav-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #111827;
  text-decoration: none;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.logo-link img {
  width: 42px;
  height: 42px;
}

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

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

.mobile-toggle {
  display: inline-flex !important;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid #0e53a7;
  background: #ffffff;
  color: #0e53a7;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 74px 0 auto 0;
  z-index: 49;
  background: #ffffff;
  border-bottom: 1px solid #d5dbe3;
  padding: 22px 16px 28px;
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.16);
}

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

.mobile-menu a {
  display: block;
  color: #111827;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 0;
  border-bottom: 1px solid #e5e7eb;
}

.phone-button,
.primary-button,
.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.phone-button,
.primary-button {
  background: #0e53a7;
  color: #ffffff !important;
  box-shadow: inset 0 -3px 0 rgba(15, 136, 132, 0.95), 0 18px 36px rgba(14, 83, 167, 0.22);
}

.phone-button:hover,
.primary-button:hover {
  background: #083a75;
  border-color: #0f8884;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.outline-button {
  background: #ffffff;
  color: #111827 !important;
  border-color: #d5dbe3;
}

.hero {
  position: relative;
  color: #ffffff;
  background-image: linear-gradient(90deg, rgba(8, 20, 38, 0.94) 0%, rgba(8, 20, 38, 0.82) 50%, rgba(8, 20, 38, 0.28) 100%), url('../images/hero-technician.jpg');
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 36px 36px;
  z-index: -1;
}

.hero-grid {
  min-height: 720px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  padding: 64px 0 72px;
}

.hero h1,
.hero h2,
.hero p {
  color: #ffffff;
}

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

.eyebrow::before,
.section-title::after {
  content: "";
  display: inline-block;
  width: 42px;
  height: 3px;
  background: #0f8884;
}

.stars {
  color: #f7b500;
  font-size: 26px;
  letter-spacing: 0.08em;
  margin: 18px 0 14px;
}

.hero-gallery-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 24px;
}

.hero-gallery-icons img {
  width: auto;
  height: 52px;
  max-width: 96px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255,255,255,0.55);
  padding: 7px;
}

.hero-copy {
  max-width: 720px;
}

.hero-benefits {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(213, 219, 227, 0.95);
  color: #111827;
  padding: 24px;
  backdrop-filter: blur(16px);
  box-shadow: 0 32px 80px rgba(17, 24, 39, 0.25);
}

.hero-benefits h2,
.hero-benefits p {
  color: #111827;
}

.benefit-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #d5dbe3;
}

.benefit-row:last-child {
  border-bottom: 0;
}

.circle-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #0e53a7;
  color: #0e53a7;
  background: #ffffff;
  font-weight: 900;
}

.section {
  padding: 78px 0;
}

.section-muted {
  background: #f5f7fa;
}

.section-dark {
  background: #111827;
  color: #ffffff;
}

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

.section-title {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.intro-copy {
  max-width: 900px;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.service-card,
.info-card,
.review-card,
.faq-item {
  position: relative;
  background: #ffffff;
  border: 1px solid #d5dbe3;
  color: #374151;
  padding: 24px;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  box-shadow: 0 16px 42px rgba(17, 24, 39, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover,
.info-card:hover,
.review-card:hover,
.faq-item:hover {
  transform: translateY(-4px);
  border-color: #0e53a7;
  box-shadow: 0 22px 58px rgba(14, 83, 167, 0.13);
}

.service-card h3,
.info-card h3,
.review-card h3,
.faq-item h3,
.service-card p,
.info-card p,
.review-card p,
.faq-item p,
.service-card li,
.info-card li {
  color: #111827;
}

.service-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
}

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

.split-block.reverse .split-image {
  order: -1;
}

.split-text,
.split-image {
  min-width: 0;
}

.split-image img {
  width: 100%;
  height: auto;
  min-height: 260px;
  object-fit: cover;
  border: 1px solid #d5dbe3;
}

.list-checks {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.list-checks li {
  padding-left: 22px;
  position: relative;
}

.list-checks li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #0f8884;
  position: absolute;
  left: 0;
  top: 12px;
}

.cta-band {
  background: linear-gradient(100deg, #0e53a7, #083a75);
  color: #ffffff;
  border-top: 5px solid #0f8884;
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}

.cta-band h2,
.cta-band p {
  color: #ffffff;
}

.reviews-shell {
  position: relative;
}

.reviews-viewport {
  overflow: hidden;
}

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

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

.review-card {
  height: 100%;
}

.review-stars {
  color: #b77900;
  font-size: 18px;
  letter-spacing: 0.04em;
}

.carousel-controls {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.carousel-controls button {
  width: 48px;
  height: 48px;
  border: 1px solid #0e53a7;
  background: #ffffff;
  color: #0e53a7;
  font-weight: 900;
}

.map-frame {
  width: 100%;
  min-height: 380px;
  border: 0;
  filter: grayscale(12%);
}

.footer {
  background: #111827;
  color: #ffffff;
  padding: 56px 0 34px;
}

.footer a,
.footer p,
.footer li,
.footer h2,
.footer h3 {
  color: #ffffff;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.footer-disclaimer {
  margin-top: 28px;
  font-size: 14px;
  color: #d5dbe3 !important;
}

.copyright {
  margin-top: 22px;
  font-size: 14px;
  color: #d5dbe3 !important;
}

.sticky-call {
  display: none !important;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  background: #083a75;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 -14px 34px rgba(17, 24, 39, 0.24);
  transform: translateY(110%);
  opacity: 0;
  transition: transform 220ms ease, opacity 220ms ease;
}

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

.bottom-safe-space {
  padding-bottom: 72px;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  animation: revealUp 620ms ease both;
}

@media (min-width: 640px) {
  .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .container {
    width: min(1180px, calc(100% - 56px));
  }

  .desktop-nav {
    display: flex !important;
    align-items: center;
    gap: 18px;
  }

  .desktop-nav a {
    color: #111827;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
  }

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

  .mobile-toggle,
  .mobile-menu {
    display: none !important;
  }

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

  .bottom-safe-space {
    padding-bottom: 0;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  }

  .split-block {
    grid-template-columns: 65fr 35fr;
  }

  .split-block.reverse {
    grid-template-columns: 35fr 65fr;
  }

  .split-block.reverse .split-image {
    order: 0;
  }

  .cta-band {
    grid-template-columns: 1fr auto;
  }

  .review-slide {
    min-width: 33.333333%;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: clamp(32px, 9vw, 46px);
  }

  h2 {
    font-size: clamp(26px, 7vw, 34px);
  }

  .hero-grid {
    min-height: auto;
    padding: 42px 0 54px;
  }

  .hero {
    background-image: linear-gradient(90deg, rgba(8, 20, 38, 0.95) 0%, rgba(8, 20, 38, 0.88) 100%), url('../images/hero-technician.jpg');
  }

  .phone-button,
  .primary-button,
  .outline-button {
    width: 100%;
    padding: 0 14px;
  }

  .section {
    padding: 56px 0;
  }

  .hero-benefits {
    padding: 18px;
  }
}
