:root {
  --font-heading: "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --grid-line: rgba(114, 142, 202, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

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

h1 {
  font-size: clamp(39px, 7vw, 70px);
}

h2 {
  font-size: clamp(31px, 5vw, 48px);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(30, 69, 150, 0.14);
  backdrop-filter: blur(18px);
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #111827;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
  white-space: nowrap;
}

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

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

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

.hamburger-btn {
  display: inline-flex !important;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(30, 69, 150, 0.2);
  color: #111827;
  background: #ffffff;
}

.mobile-panel {
  display: none;
  border-top: 1px solid rgba(30, 69, 150, 0.12);
  background: #ffffff;
}

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

.nav-link {
  color: #111827;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.phone-button,
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0 1.25rem;
  border: 0;
  border-radius: 0;
  background: var(--primary);
  color: #ffffff !important;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  animation: pulseGlow 2.25s infinite;
}

.phone-button:hover,
.cta-button:hover {
  transform: translateY(-2px);
  background: var(--primary-dark);
  color: #ffffff !important;
}

.hero-section {
  position: relative;
  min-height: calc(100vh - 78px);
  background: linear-gradient(90deg, rgba(8, 21, 47, 0.96) 0%, rgba(8, 21, 47, 0.86) 46%, rgba(8, 21, 47, 0.54) 100%), url("../images/hero-technician.png") center/cover no-repeat;
  color: #ffffff;
  overflow: hidden;
}

.hero-section::before,
.catalog-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}

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

.hero-section h1,
.hero-section p,
.dark-section h2,
.dark-section h3,
.dark-section p,
.dark-section li,
.dark-section a,
.dark-section td,
.dark-section th {
  color: #ffffff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--primary-dark);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
}

.dark-section .eyebrow,
.hero-section .eyebrow {
  color: #ffffff;
}

.eyebrow::before,
.section-rule {
  content: "";
  display: inline-block;
  width: 34px;
  height: 4px;
  background: var(--accent);
}

.stars {
  color: var(--accent);
  font-size: 26px;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 16px rgba(80, 218, 73, 0.24);
}

.hero-icons-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero-icons-row img {
  width: auto;
  height: 48px;
  max-width: 120px;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  padding: 0.35rem 0.55rem;
}

.benefit-panel {
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(18px);
}

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

.signal-dot {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(80, 218, 73, 0.12);
}

.section-pad {
  padding: 4.5rem 0;
}

.catalog-grid {
  position: relative;
  background: #f4f7fc;
  overflow: hidden;
}

.content-card {
  border: 1px solid rgba(30, 69, 150, 0.14);
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(8, 21, 47, 0.08);
}

.service-card {
  height: 100%;
  border: 1px solid rgba(30, 69, 150, 0.14);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(30, 69, 150, 0.42);
}

.icon-box {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  background: #eaf0ff;
  color: var(--primary);
  border: 1px solid rgba(30, 69, 150, 0.16);
}

.icon-box svg {
  width: 31px;
  height: 31px;
}

.two-col {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.two-col .text-side {
  min-width: 0;
}

.two-col .image-side img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid rgba(30, 69, 150, 0.16);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}

.data-table th,
.data-table td {
  padding: 1rem;
  border: 1px solid rgba(30, 69, 150, 0.16);
  vertical-align: top;
  color: #1f2937;
}

.data-table th {
  background: #eaf0ff;
  color: #111827;
  text-align: left;
}

.review-viewport {
  overflow: hidden;
}

.review-track {
  display: flex;
  transition: transform 0.45s ease;
}

.review-card {
  flex: 0 0 100%;
  padding: 1.25rem;
  border: 1px solid rgba(30, 69, 150, 0.16);
  background: #ffffff;
  color: #374151;
}

.review-card strong {
  color: #111827;
}

.review-controls button {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(30, 69, 150, 0.2);
  background: #ffffff;
  color: #111827;
  font-weight: 900;
}

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

.payment-card {
  border-left: 5px solid var(--accent);
  background: #ffffff;
  color: #374151;
}

.faq-item {
  border: 1px solid rgba(30, 69, 150, 0.14);
  background: #ffffff;
}

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

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

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

.mobile-sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: none !important;
  transform: translateY(115%);
  opacity: 0;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.mobile-sticky-call a {
  display: flex;
  width: 100%;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  padding: 0 0.9rem;
  background: #08152f;
  color: #ffffff !important;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 -14px 38px rgba(8, 21, 47, 0.25);
}

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

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

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

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

  .hamburger-btn,
  .mobile-panel,
  .mobile-sticky-call {
    display: none !important;
  }

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

  .two-col.reverse {
    grid-template-columns: minmax(260px, 35%) minmax(0, 65%);
  }

  .two-col.reverse .image-side {
    order: -1;
  }

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

@media (max-width: 767px) {
  h1,
  h2 {
    letter-spacing: -0.025em;
  }

  .site-header .logo-link {
    font-size: 24px;
  }

  .hero-section {
    min-height: 760px;
  }

  .section-pad {
    padding: 3rem 0;
  }

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

  body.has-mobile-call-padding {
    padding-bottom: 70px;
  }
}
