html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  height: auto;
}

.site-shell {
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fb 52%, #ffffff 100%);
}

.glass-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(16, 43, 106, 0.14);
  backdrop-filter: blur(16px);
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(16, 43, 106, 0.22);
}

.logo-text {
  font-size: 24px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #111827;
}

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

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

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

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

.nav-link {
  font-size: 16px;
  font-weight: 800;
  color: #243047;
  transition: color 180ms ease;
}

.nav-link:hover {
  color: var(--primary);
}

.phone-btn,
.cta-btn {
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #ffffff !important;
  font-weight: 900;
  white-space: nowrap;
  letter-spacing: -0.01em;
  box-shadow: 0 18px 34px rgba(171, 23, 15, 0.28);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.phone-btn:hover,
.cta-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(171, 23, 15, 0.34);
}

.cta-btn {
  position: relative;
  min-height: 56px;
  padding: 0 26px;
  overflow: visible;
}

.cta-btn::after {
  content: "";
  position: absolute;
  inset: -9px;
  border: 2px solid rgba(255, 255, 255, 0.76);
  opacity: 0.7;
  animation: pulseGlow 1.9s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(0.98);
    opacity: 0.3;
  }

  50% {
    transform: scale(1.04);
    opacity: 0.82;
  }
}

.hero-section {
  min-height: 760px;
  position: relative;
  background-image: linear-gradient(90deg, rgba(7, 13, 31, 0.92) 0%, rgba(7, 13, 31, 0.78) 48%, rgba(7, 13, 31, 0.38) 100%), url("../images/hero-technician.jpg");
  background-size: cover;
  background-position: center;
  color: #ffffff;
  isolation: isolate;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 104px 7% 12%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transform: translate3d(0, var(--parallax, 0px), 0);
  pointer-events: none;
  z-index: -1;
}

.hero-section h1,
.section-dark h2,
.section-dark h3,
.cta-band h2,
.footer h2,
.footer h3 {
  color: #ffffff;
}

.hero-section h1 {
  font-size: clamp(39px, 7vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

h2 {
  font-size: clamp(31px, 4.4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

h3,
h4 {
  font-size: 22px;
  line-height: 1.18;
}

p,
li,
td,
th,
summary,
label,
input,
button {
  font-size: 16px;
}

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

.rating-stars {
  color: var(--accent);
  font-size: 25px;
  letter-spacing: 0.1em;
  text-shadow: 0 8px 24px rgba(246, 182, 0, 0.34);
}

.hero-icon-strip img {
  width: auto;
  height: 48px;
  object-fit: contain;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.hero-benefits {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.hero-benefits p,
.hero-benefits span {
  color: #ffffff;
}

.metal-line {
  height: 1px;
  width: 88px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.08));
}

.accent-marker {
  width: 54px;
  height: 5px;
  background: var(--primary);
  display: block;
  margin-top: 18px;
}

.rect-stack {
  position: relative;
  min-height: 440px;
}

.rect-stack img {
  position: absolute;
  object-fit: cover;
  box-shadow: 0 32px 64px rgba(16, 43, 106, 0.18);
}

.rect-stack .image-main {
  width: 70%;
  height: 360px;
  left: 0;
  top: 34px;
}

.rect-stack .image-float {
  width: 48%;
  height: 250px;
  right: 0;
  top: 0;
  border: 12px solid #ffffff;
}

.rect-stack .image-card {
  position: absolute;
  right: 5%;
  bottom: 14px;
  background: #ffffff;
  color: #111827;
  border-left: 6px solid var(--primary);
  box-shadow: 0 24px 54px rgba(16, 43, 106, 0.17);
}

.info-split {
  display: grid;
  grid-template-columns: 65% 35%;
  gap: 34px;
  align-items: center;
}

.info-split.reverse {
  grid-template-columns: 35% 65%;
}

.info-split img {
  min-height: 290px;
  object-fit: cover;
  box-shadow: 0 28px 60px rgba(16, 43, 106, 0.16);
}

.card-premium {
  background: #ffffff;
  color: #253041;
  border: 1px solid rgba(16, 43, 106, 0.12);
  box-shadow: 0 22px 48px rgba(16, 43, 106, 0.09);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card-premium:hover {
  transform: translateY(-5px);
  border-color: rgba(171, 23, 15, 0.26);
  box-shadow: 0 30px 66px rgba(16, 43, 106, 0.14);
}

.icon-tile {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f8e9e8;
  color: var(--primary);
  flex: 0 0 auto;
}

.section-dark {
  background: radial-gradient(circle at 15% 18%, rgba(171, 23, 15, 0.32), transparent 30%), linear-gradient(135deg, #071329, #102b6a);
  color: #ffffff;
}

.section-dark p,
.section-dark li {
  color: rgba(255, 255, 255, 0.88);
}

.problem-item {
  border-left: 4px solid var(--primary);
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
}

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

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

.review-card {
  height: 100%;
  background: #ffffff;
  color: #253041;
  border-top: 5px solid var(--primary);
  box-shadow: 0 20px 44px rgba(16, 43, 106, 0.1);
}

.review-card strong,
.review-card p {
  color: #253041;
}

.review-card .stars-small {
  color: #9b140e;
  letter-spacing: 0.08em;
}

.cta-band {
  background: linear-gradient(135deg, #102b6a, #071329 52%, #ab170f);
  color: #ffffff;
  box-shadow: inset 0 0 48px rgba(255, 255, 255, 0.13);
}

.payment-table th {
  background: #102b6a;
  color: #ffffff;
}

.payment-table td {
  color: #253041;
}

.faq-item {
  background: #ffffff;
  border: 1px solid rgba(16, 43, 106, 0.13);
}

.faq-item summary {
  color: #111827;
  cursor: pointer;
}

.footer {
  background: #071329;
  color: rgba(255, 255, 255, 0.82);
}

.footer a,
.footer p,
.footer li,
.footer span {
  color: rgba(255, 255, 255, 0.82);
}

.footer a:hover {
  color: #ffffff;
}

.mobile-menu-panel {
  display: none;
}

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

.mobile-sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  padding: 0 12px;
  background: var(--primary);
  color: #ffffff !important;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
  box-shadow: 0 -16px 40px rgba(7, 19, 41, 0.28);
}

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

.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .review-slide {
    min-width: 33.333333%;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: 76px;
  }

  .hero-section {
    min-height: 790px;
    background-position: 58% center;
  }

  .hero-section h1 {
    font-size: clamp(39px, 12vw, 53px);
  }

  h2 {
    font-size: clamp(31px, 9vw, 38px);
  }

  .logo-text {
    font-size: 24px;
  }

  .hero-benefits {
    margin-top: 28px;
  }

  .hero-icon-strip {
    gap: 8px;
  }

  .hero-icon-strip img {
    height: 48px;
    max-width: 31%;
    padding: 6px;
  }

  .rect-stack {
    min-height: auto;
    display: grid;
    gap: 14px;
  }

  .rect-stack img,
  .rect-stack .image-card {
    position: static;
    width: 100%;
    height: auto;
  }

  .rect-stack .image-main,
  .rect-stack .image-float {
    width: 100%;
    height: auto;
  }

  .info-split,
  .info-split.reverse {
    grid-template-columns: 1fr;
  }

  .info-split.reverse .split-media {
    order: 2;
  }

}
