:root {
  --font-heading: Arial, Helvetica, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #F2F2F2;
  color: #273244;
  font-size: 16px;
  line-height: 1.65;
  padding-bottom: 78px;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

h1, h2, h3, h4 {
  color: #111827;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  font-size: 39px;
}

h2 {
  font-size: 31px;
}

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

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

@media (min-width: 768px) {
  h1 {
    font-size: clamp(56px, 6vw, 82px);
  }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 242, 242, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(10, 26, 52, 0.12);
}

.logo-text {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #0A1A34;
}
footer .logo-text {
  color: #fff;
}

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

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

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

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

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

.mobile-menu {
  display: none;
  border-top: 1px solid rgba(10, 26, 52, 0.12);
  background: #F2F2F2;
}

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

.nav-link {
  color: #0A1A34;
  font-weight: 800;
  text-decoration: none;
  transition: color 180ms ease, opacity 180ms ease;
}

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

.btn-primary,
.btn-dark,
.btn-light {
  align-items: center;
  border: 0;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  letter-spacing: 0.01em;
  min-height: 52px;
  padding: 0 22px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
  white-space: nowrap;
}

.btn-primary {
  background: #A4294A;
  color: #FFFFFF;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.45);
  animation: pulseGlow 2.2s ease-in-out infinite;
}

.btn-dark {
  background: #0A1A34;
  color: #FFFFFF;
}

.btn-light {
  background: #FFFFFF;
  color: #0A1A34;
}

.btn-primary:hover,
.btn-dark:hover,
.btn-light:hover {
  color: #FFFFFF;
  opacity: 0.94;
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(164, 41, 74, 0.28), 0 0 34px rgba(255, 255, 255, 0.28);
}

.hero-section {
  background-image: linear-gradient(90deg, rgba(10, 26, 52, 0.94) 0%, rgba(10, 26, 52, 0.82) 45%, rgba(10, 26, 52, 0.30) 100%), url('../images/hero-technician.jpg');
  background-position: center;
  background-size: cover;
  color: #FFFFFF;
  min-height: 720px;
}

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

.stars {
  color: #F5B942;
  font-size: 24px;
  letter-spacing: 0.12em;
}

.badge-gallery img {
  height: 48px;
  width: auto;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.10);
  padding: 6px 10px;
}

.floating-card {
  background: rgba(242, 242, 242, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.poly-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(10, 26, 52, 0.10);
  box-shadow: 12px 12px 0 rgba(10, 26, 52, 0.06), 0 24px 70px rgba(10, 26, 52, 0.10);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.poly-card:hover {
  transform: translateY(-4px);
  box-shadow: 12px 12px 0 rgba(164, 41, 74, 0.16), 0 28px 76px rgba(10, 26, 52, 0.16);
}

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #A4294A;
  box-shadow: 0 0 0 6px rgba(164, 41, 74, 0.12);
  margin-right: 10px;
}

.section-kicker {
  color: #A4294A;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-kicker::after {
  content: '';
  display: block;
  width: 54px;
  height: 5px;
  background: #A4294A;
  margin-top: 12px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(10, 26, 52, 0.10);
  background: #FFFFFF;
}

table {
  min-width: 680px;
  width: 100%;
  border-collapse: collapse;
}

th {
  background: #0A1A34;
  color: #FFFFFF;
  font-weight: 900;
  text-align: left;
}

th, td {
  border-bottom: 1px solid rgba(10, 26, 52, 0.10);
  padding: 16px;
  vertical-align: top;
}

td {
  color: #273244;
}

.service-icon {
  align-items: center;
  background: #F2F2F2;
  border: 1px solid rgba(164, 41, 74, 0.22);
  color: #A4294A;
  display: inline-flex;
  height: 52px;
  justify-content: center;
  width: 52px;
}

.two-col-image {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .two-col-image {
    align-items: center;
    grid-template-columns: 65% 35%;
  }
}

.review-track {
  display: grid;
  gap: 18px;
  grid-auto-flow: column;
  grid-auto-columns: 86%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 16px;
}

.review-card {
  scroll-snap-align: start;
}

@media (min-width: 1024px) {
  .review-track {
    grid-auto-flow: row;
    grid-auto-columns: initial;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
  }
}

.cta-band {
  background: linear-gradient(135deg, #0A1A34 0%, #182B4F 55%, #A4294A 100%);
  color: #FFFFFF;
}

.sticky-call {
  background: #A4294A;
  bottom: 0;
  color: #FFFFFF;
  display: flex !important;
  font-weight: 900;
  justify-content: center;
  left: 0;
  opacity: 0;
  padding: 15px 10px calc(15px + env(safe-area-inset-bottom));
  pointer-events: none;
  position: fixed;
  right: 0;
  text-align: center;
  transform: translateY(100%);
  transition: opacity 220ms ease, transform 220ms ease;
  white-space: nowrap;
  z-index: 70;
}

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

@media (min-width: 768px) {
  .sticky-call {
    display: none !important;
  }
}

.footer-text {
  font-size: 14px;
  line-height: 1.6;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.38), 0 18px 42px rgba(164, 41, 74, 0.24);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(255, 255, 255, 0), 0 18px 42px rgba(164, 41, 74, 0.34);
  }
}
@media (max-width: 767px) {
  .table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  table {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    table-layout: fixed;
  }

  th,
  td {
    padding: 10px 8px;
    font-size: 13px;
    line-height: 1.4;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
}