* {
  box-sizing: border-box;
}

[x-cloak] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

.site-shell {
  background:
    linear-gradient(90deg, rgba(30, 55, 73, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(30, 55, 73, 0.04) 1px, transparent 1px),
    var(--base);
  background-size: 72px 72px;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(243, 236, 224, 0.95);
  border-bottom: 1px solid rgba(30, 55, 73, 0.16);
  backdrop-filter: blur(14px);
}

.header-grid {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--heading);
  text-decoration: none;
  font-family: var(--font-heading, Georgia, 'Times New Roman', serif);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: var(--accent);
  border-top-left-radius: 18px;
  border: 1px solid rgba(255, 237, 124, 0.45);
}

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

.nav-desktop a,
.mobile-menu a {
  color: var(--heading);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
}

.nav-desktop a:hover,
.mobile-menu a:hover {
  color: var(--primary);
}

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

.hamburger-mobile {
  display: inline-flex !important;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.hamburger-mobile span,
.hamburger-mobile span::before,
.hamburger-mobile span::after {
  display: block;
  width: 21px;
  height: 2px;
  background: currentColor;
  content: '';
  position: relative;
}

.hamburger-mobile span::before {
  position: absolute;
  top: -7px;
}

.hamburger-mobile span::after {
  position: absolute;
  top: 7px;
}

.mobile-menu {
  display: grid;
  gap: 14px;
  padding: 0 0 22px;
}

.section {
  padding: 72px 0;
  position: relative;
}

.hero-section {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: stretch;
  background-image: linear-gradient(90deg, rgba(16, 29, 39, 0.96) 0%, rgba(16, 29, 39, 0.84) 47%, rgba(16, 29, 39, 0.48) 100%), url('../images/hero-technician.jpg');
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.hero-layout {
  display: grid;
  gap: 32px;
  align-items: center;
  padding: 58px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 8px 12px;
  background: rgba(255, 237, 124, 0.16);
  color: #ffffff;
  border: 1px solid rgba(255, 237, 124, 0.5);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-section h1 {
  color: #ffffff;
  font-size: 39px;
  line-height: 1.02;
  letter-spacing: -0.06em;
  max-width: 780px;
  margin: 18px 0 10px;
}

.hero-stars {
  color: var(--accent);
  font-size: 25px;
  letter-spacing: 0.1em;
  line-height: 1;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 18px 0 22px;
}

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

.hero-lead {
  color: #ffffff;
  font-size: 18px;
  line-height: 1.75;
  max-width: 735px;
  margin: 0 0 24px;
}

.hero-cta-line {
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 22px;
  background: var(--accent);
  color: #111827;
  border: 2px solid var(--accent);
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.62);
  animation: glowPulse 2.15s infinite;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  background: #ffffff;
  color: #111827;
}

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

.phone-on-dark {
  color: #ffffff;
}

.hero-benefits {
  background: rgba(243, 236, 224, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(16px);
  padding: 24px;
  color: #ffffff;
}

.hero-benefits h2 {
  color: #ffffff;
  font-size: 31px;
  margin: 0 0 16px;
}

.benefit-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.benefit-item:first-of-type {
  border-top: 0;
}

.mini-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: rgba(255, 237, 124, 0.95);
  color: #111827;
  border-top-left-radius: 16px;
}

.benefit-item strong,
.benefit-item p {
  color: #ffffff;
}

.benefit-item p {
  margin: 2px 0 0;
  font-size: 16px;
  line-height: 1.5;
}

.section h2 {
  font-size: 31px;
  line-height: 1.12;
  letter-spacing: -0.045em;
  margin: 0;
}

.section h3,
.section h4 {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.section p,
.section li {
  font-size: 16px;
}

.title-mark {
  width: 68px;
  height: 8px;
  background: var(--accent);
  margin: 14px 0 26px;
}

.title-mark.center {
  margin-left: auto;
  margin-right: auto;
}

.split-panel {
  display: grid;
  gap: 28px;
  align-items: center;
}

.split-panel .text-col {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(30, 55, 73, 0.16);
  padding: 24px;
}

.split-panel .image-col img,
.section-image {
  width: 100%;
  display: block;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-top-left-radius: 44px;
  border: 1px solid rgba(30, 55, 73, 0.22);
}

.reason-list {
  display: grid;
  gap: 16px;
  counter-reset: reason;
}

.reason-card {
  position: relative;
  background: #ffffff;
  border-left: 8px solid var(--primary);
  padding: 18px 18px 18px 54px;
  color: var(--text);
}

.reason-card::before {
  counter-increment: reason;
  content: counter(reason);
  position: absolute;
  left: 16px;
  top: 18px;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #111827;
  font-weight: 900;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.service-card {
  background: #ffffff;
  padding: 22px;
  border: 1px solid rgba(30, 55, 73, 0.16);
  border-top: 6px solid var(--primary);
  min-height: 100%;
  transform: translateY(12px);
  opacity: 0;
  animation: columnShift 700ms ease forwards;
}

.service-card:nth-child(2n) {
  animation-delay: 90ms;
}

.service-card:nth-child(3n) {
  animation-delay: 160ms;
}

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: var(--base);
  border-top-left-radius: 20px;
  color: var(--primary);
  overflow: hidden;
}

.service-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.steps-section {
  background: var(--primary);
  color: #ffffff;
}

.steps-section h2,
.steps-section h3,
.steps-section h4 {
  color: #ffffff;
}

.steps-section p,
.steps-section li {
  color: #ffffff;
}

.steps-grid {
  display: grid;
  gap: 16px;
}

.step-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 22px;
  min-height: 100%;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--accent);
  color: #111827;
  font-weight: 900;
  margin-bottom: 12px;
}

.reviews-wrap {
  overflow: hidden;
  position: relative;
}

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

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

.review-card {
  background: #ffffff;
  border: 1px solid rgba(30, 55, 73, 0.16);
  padding: 22px;
  min-height: 260px;
  color: var(--text);
}

.review-card strong {
  color: var(--heading);
  display: block;
  margin-bottom: 10px;
}

.review-card .stars {
  color: #8a6c00;
  letter-spacing: 0.04em;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.carousel-controls button {
  width: 46px;
  height: 46px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
}

.zip-grid,
.payment-grid,
.sign-grid,
.faq-grid {
  display: grid;
  gap: 16px;
}

.zip-chip,
.payment-card,
.sign-card,
.faq-card {
  background: #ffffff;
  color: var(--text);
  border: 1px solid rgba(30, 55, 73, 0.16);
  padding: 18px;
}

.zip-chip {
  text-align: center;
  font-weight: 900;
  color: var(--heading);
  background: #fff9cf;
}

.cta-band {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
}

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

.footer {
  background: #101d27;
  color: #ffffff;
  padding: 48px 0 96px;
}

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

.footer .logo-link {
  color: #ffffff;
}

.footer-grid {
  display: grid;
  gap: 26px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.disclaimer {
  color: #ffffff;
  opacity: 0.9;
  font-size: 14px;
  line-height: 1.65;
}

.mobile-sticky-call {
  display: flex !important;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #ffffff;
  text-decoration: none;
  font-weight: 900;
  font-size: 16px;
  white-space: nowrap;
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 240ms ease, opacity 240ms ease;
  border-top: 4px solid var(--accent);
}

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

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

@keyframes columnShift {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

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

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

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

  .hamburger-mobile {
    display: none !important;
  }

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

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

  .hero-section h1 {
    font-size: clamp(58px, 6vw, 86px);
  }

  .section h2 {
    font-size: clamp(44px, 4vw, 58px);
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.65fr);
  }

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

  .split-panel.reverse {
    grid-template-columns: minmax(260px, 35fr) minmax(0, 65fr);
  }

  .split-panel.reverse .image-col {
    order: -1;
  }

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

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

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

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

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

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

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

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

@media (max-width: 767px) {
  .section {
    padding: 54px 0;
  }

  .hero-section h1 {
    font-size: 39px;
  }

  .section h2 {
    font-size: 31px;
  }

  .hero-benefits {
    padding: 18px;
  }

  .cta-button {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .logo-link {
    font-size: 21px;
  }

  .mobile-sticky-call {
    font-size: 15px;
  }
}
