html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

.site-shell {
  background:
    linear-gradient(90deg, rgba(32, 50, 80, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(32, 50, 80, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px, 72px 72px, auto;
}

.container-editorial {
  width: min(100% - 32px, 1180px);
  margin-left: auto;
  margin-right: auto;
}

.narrow-copy {
  max-width: 760px;
}

.top-line {
  border-top: 1px solid rgba(32, 50, 80, 0.35);
  border-bottom: 1px solid rgba(32, 50, 80, 0.18);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 236, 224, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(32, 50, 80, 0.18);
}

.brand-mark {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border: 1px solid rgba(32, 50, 80, 0.35);
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--heading);
}

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

.mobile-menu-toggle {
  display: inline-flex !important;
}

.mobile-panel {
  display: none;
  position: fixed;
  inset: 65px 0 auto 0;
  z-index: 60;
  background: #FFFDF8;
  border-bottom: 1px solid rgba(32, 50, 80, 0.25);
  box-shadow: 0 24px 50px rgba(18, 29, 48, 0.18);
}

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

.nav-link {
  font-size: 16px;
  color: #203250;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-link:hover {
  color: #111827;
}

.phone-btn,
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  background: #203250;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 0;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
  animation: pulseGlow 2.8s infinite;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.phone-btn:hover,
.cta-btn:hover {
  background: #121d30;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.7);
}

.hero-section {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: stretch;
  background-image: linear-gradient(90deg, rgba(18, 29, 48, 0.94) 0%, rgba(32, 50, 80, 0.8) 48%, rgba(32, 50, 80, 0.3) 100%), url('../images/hero-technician.jpg');
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
}

.hero-section h1,
.hero-section p,
.hero-section span,
.hero-section li {
  color: #FFFFFF;
}

.hero-title {
  font-size: clamp(39px, 7vw, 78px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.hero-copy {
  font-size: 18px;
  line-height: 1.8;
  max-width: 720px;
}

.stars {
  color: var(--accent);
  font-size: 28px;
  letter-spacing: 0.1em;
}

.gallery-icons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.gallery-icons img {
  width: auto;
  height: 48px;
  max-width: 120px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.92);
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.hero-benefits {
  background: rgba(255, 253, 248, 0.82);
  color: #111827;
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px);
}

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

.section-pad {
  padding-top: 76px;
  padding-bottom: 76px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #203250;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.section-kicker::after {
  content: "";
  width: 48px;
  height: 2px;
  background: var(--accent);
}

.section-title {
  font-size: clamp(31px, 5vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.service-card {
  border: 1px solid rgba(32, 50, 80, 0.22);
  background: #FFFDF8;
  box-shadow: 0 24px 70px rgba(18, 29, 48, 0.08);
}

.service-card h3 {
  font-size: 24px;
  line-height: 1.15;
}

.service-card p,
.service-card td,
.service-card th,
.service-card li {
  font-size: 16px;
  line-height: 1.7;
}

.service-icon {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border: 1px solid rgba(32, 50, 80, 0.18);
}

.symptom-table {
  width: 100%;
  border-collapse: collapse;
}

.symptom-table th {
  background: #203250;
  color: #FFFFFF;
  text-align: left;
  font-weight: 700;
}

.symptom-table th,
.symptom-table td {
  border: 1px solid rgba(32, 50, 80, 0.18);
  padding: 14px;
  vertical-align: top;
}

.symptom-table td:first-child {
  color: #111827;
  font-weight: 700;
  width: 28%;
}

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

.editorial-image {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border: 1px solid rgba(32, 50, 80, 0.22);
  filter: saturate(0.92) contrast(1.04);
}

.numbered-marker {
  font-family: var(--font-heading);
  color: var(--accent);
  font-size: 48px;
  line-height: 1;
}

.trust-card {
  border-left: 2px solid var(--accent);
  background: rgba(255, 253, 248, 0.78);
}

.process-step {
  border-top: 3px double rgba(32, 50, 80, 0.32);
  background: #FFFDF8;
}

.reviews-frame {
  overflow: hidden;
}

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

.review-card {
  flex: 0 0 100%;
  padding: 28px;
  background: #FFFDF8;
  border: 1px solid rgba(32, 50, 80, 0.2);
  min-height: 310px;
}

.review-card p {
  font-size: 16px;
  line-height: 1.75;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border: 1px solid #203250;
  color: #203250;
  background: transparent;
  border-radius: 0;
}

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

.zip-grid span,
.payment-list li,
.model-list span {
  background: #FFFDF8;
  border: 1px solid rgba(32, 50, 80, 0.18);
  padding: 12px 14px;
  color: #111827;
}

.faq-item {
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.faq-item button {
  color: #FFFFFF;
}

.faq-answer {
  display: none;
  color: #FFFFFF;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.site-footer {
  background: #121d30;
  color: #FFFFFF;
  font-size: 14px;
}

.site-footer h2,
.site-footer h3,
.site-footer p,
.site-footer a,
.site-footer li,
.site-footer span {
  color: #FFFFFF;
}

.footer-link {
  font-size: 14px;
}

.mobile-sticky-call {
  display: none !important;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(18, 29, 48, 0.98);
  transform: translateY(110%);
  opacity: 0;
  transition: transform 240ms ease, opacity 240ms ease;
}

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

.mobile-sticky-call a {
  width: 100%;
  color: #FFFFFF !important;
  min-height: 52px;
  font-size: 16px;
}

.page-turn {
  opacity: 0;
  filter: blur(10px);
  transform: perspective(900px) rotateX(4deg) translateY(26px);
  transition: opacity 700ms ease, filter 700ms ease, transform 700ms ease;
}

.page-turn.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: perspective(900px) rotateX(0) translateY(0);
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.44); }
  70% { box-shadow: 0 0 0 16px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

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

@media (min-width: 768px) {
  .desktop-nav,
  .header-phone-desktop {
    display: flex !important;
  }

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

  body.menu-open {
    overflow: auto;
  }

  .container-editorial {
    width: min(100% - 64px, 1180px);
  }

  .section-pad {
    padding-top: 108px;
    padding-bottom: 108px;
  }

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

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

  .review-card {
    flex-basis: calc(100% / 3);
  }
}

@media (max-width: 767px) {
  .hero-section {
    min-height: 820px;
    background-image: linear-gradient(180deg, rgba(18, 29, 48, 0.96) 0%, rgba(32, 50, 80, 0.83) 58%, rgba(32, 50, 80, 0.52) 100%), url('../images/hero-technician.jpg');
  }

  .hero-title {
    font-size: clamp(39px, 12vw, 44px);
  }

  .section-title {
    font-size: clamp(31px, 10vw, 38px);
  }

  .mobile-sticky-call {
    display: block !important;
  }

  .gallery-icons img {
    height: 44px;
    max-width: 102px;
  }

  .symptom-table,
  .symptom-table tbody,
  .symptom-table tr,
  .symptom-table td,
  .symptom-table th {
    display: block;
    width: 100%;
  }

  .symptom-table thead {
    display: none;
  }

  .symptom-table tr {
    border: 1px solid rgba(32, 50, 80, 0.18);
    margin-bottom: 12px;
    background: #FFFDF8;
  }

  .symptom-table td {
    border: 0;
  }

  .symptom-table td:first-child {
    background: #203250;
    color: #FFFFFF;
  }
}
