:root {
  --font-heading: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}

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

body.mobile-menu-open {
  overflow: hidden;
}

.h-18 {
  height: 4.5rem;
}

.bg-gray-950 {
  background-color: #07070a;
}

h1 {
  font-size: clamp(39px, 8.5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 900;
}

h2 {
  font-size: clamp(31px, 6.4vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 850;
}

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

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

.footer-text,
.footer-text a,
.footer-text p,
.footer-text li {
  font-size: 14px;
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: #352844;
  color: #ACF248;
  border: 2px solid #ACF248;
  flex: 0 0 auto;
}

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

.nav-link {
  color: #352844;
  font-weight: 800;
  text-decoration: none;
}

.nav-link:hover {
  color: #9078AD;
}

.phone-btn,
.cta-btn {
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  white-space: nowrap;
  font-weight: 900;
  text-decoration: none;
  transition: transform 220ms ease, background-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.phone-btn:hover,
.cta-btn:hover {
  transform: translateY(-2px);
}

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

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

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

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

.hamburger-line {
  width: 26px;
  height: 2px;
  background: #352844;
  display: block;
  margin: 5px 0;
}

.mobile-menu-panel {
  position: fixed;
  inset: 72px 0 auto 0;
  background: #ffffff;
  border-top: 1px solid #e7e2ed;
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 240ms ease, opacity 240ms ease;
  z-index: 45;
}

.mobile-menu-panel.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.hero-section {
  min-height: 780px;
  background-image: linear-gradient(90deg, rgba(20, 14, 28, 0.95) 0%, rgba(53, 40, 68, 0.86) 44%, rgba(53, 40, 68, 0.28) 100%), url('../images/hero-technician.png');
  background-size: cover;
  background-position: center;
}

.hero-section h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.footer-dark h2,
.footer-dark h3,
.footer-dark h4 {
  color: #ffffff !important;
}

.hero-copy {
  color: #ffffff;
}

.hero-copy p,
.hero-copy li,
.hero-copy span {
  color: #f8f7fb;
}

.star-rating {
  color: #ACF248;
  letter-spacing: 0.08em;
  font-size: 24px;
  font-weight: 900;
}

.gallery-icon-row img {
  width: auto;
  height: 48px;
  max-width: 118px;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.14);
  padding: 6px;
}

.dashboard-panel {
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
}

.quality-dot {
  width: 12px;
  height: 12px;
  background: #ACF248;
  box-shadow: 0 0 22px rgba(172, 242, 72, 0.75);
  flex: 0 0 auto;
}

.h2-accent {
  width: 74px;
  height: 6px;
  display: block;
  background: #ACF248;
  margin-top: 18px;
}

.pulse-glow {
  position: relative;
  isolation: isolate;
}

.pulse-glow::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  opacity: 0;
  animation: glowPulse 2.1s ease-out infinite;
  z-index: -1;
}

@keyframes glowPulse {
  0% { transform: scale(0.98); opacity: 0.72; }
  100% { transform: scale(1.16); opacity: 0; }
}

.metric-card,
.issue-card,
.reason-row,
.review-card,
.faq-card,
.service-card {
  border-radius: 0;
}

.metric-fill {
  animation: fillMetric 1.25s ease forwards;
  transform-origin: left;
  transform: scaleX(0);
}

@keyframes fillMetric {
  to { transform: scaleX(1); }
}

.reveal-card {
  opacity: 0;
  transform: translateY(22px);
  animation: revealUp 650ms ease forwards;
}

.reveal-card:nth-child(2) { animation-delay: 100ms; }
.reveal-card:nth-child(3) { animation-delay: 180ms; }
.reveal-card:nth-child(4) { animation-delay: 260ms; }
.reveal-card:nth-child(5) { animation-delay: 340ms; }
.reveal-card:nth-child(6) { animation-delay: 420ms; }

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

.two-col-media {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: stretch;
}

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

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

.image-frame {
  min-height: 320px;
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.service-icon {
  width: 52px;
  height: 52px;
  color: #352844;
}

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

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

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

.mobile-sticky-call {
  display: flex;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: #352844;
  color: #ffffff !important;
  justify-content: center;
  align-items: center;
  min-height: 62px;
  padding: 13px 14px calc(13px + env(safe-area-inset-bottom));
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 240ms ease, opacity 240ms ease;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.24);
}

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

@media (min-width: 768px) {
  .mobile-sticky-call,
  .mobile-sticky-call.is-visible {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(120%) !important;
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 39px;
  }

  h2 {
    font-size: 31px;
  }

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