:root {
  --font-heading: Georgia, "Times New Roman", 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.menu-open {
  overflow: hidden;
}

a, button {
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.site-shell {
  background: #ffffff;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111111;
  color: #ffffff;
  border-left: 4px solid var(--primary);
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.font-heading {
  font-family: var(--font-heading);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1;
  color: #111827;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.dark-section .logo-text {
  color: #ffffff;
}

.dark-section .brand-mark {
  background: #ffffff;
  color: #111111;
}

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

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

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

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

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

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

.mobile-panel {
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff !important;
  font-weight: 800;
  white-space: nowrap;
  min-height: 52px;
  padding: 0 1.35rem;
  box-shadow: 0 18px 42px rgba(184, 9, 9, 0.34);
  isolation: isolate;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  opacity: 0.42;
  animation: pulseGlow 1.8s ease-in-out infinite;
  z-index: -1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #910707, #c82d2d);
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #111111;
  color: #ffffff !important;
  font-weight: 800;
  white-space: nowrap;
  min-height: 48px;
  padding: 0 1.1rem;
}

.btn-dark:hover {
  background: var(--primary);
}

.hero-section {
  min-height: 760px;
  color: #ffffff;
  background-image: linear-gradient(90deg, rgba(17, 17, 17, 0.94) 0%, rgba(17, 17, 17, 0.82) 46%, rgba(17, 17, 17, 0.34) 100%), url("../images/hero-technician.png");
  background-size: cover;
  background-position: center;
}

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

.hero-title {
  font-size: clamp(39px, 8vw, 74px);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.section-title {
  font-size: clamp(31px, 5.5vw, 54px);
  line-height: 1;
  letter-spacing: -0.055em;
}

h3, h4 {
  font-size: clamp(22px, 2.5vw, 28px);
}

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

.accent-rule {
  width: 72px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin-top: 1rem;
}

.stars {
  color: var(--accent);
  letter-spacing: 0.18em;
  font-size: 22px;
}

.trust-badge-img {
  width: auto;
  height: 48px;
  max-width: 118px;
  object-fit: contain;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.benefit-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(16px);
  color: #ffffff;
}

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

.icon-box {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff2f269;
  color: var(--primary);
  border-left: 4px solid var(--primary);
  flex: 0 0 auto;
}

.service-card {
  background: #ffffff;
  border: 1px solid #eadfdb;
  box-shadow: 0 18px 50px rgba(17, 17, 17, 0.06);
  color: #374151;
}

.service-card h3, .service-card h4 {
  color: #111827;
}

.service-card li {
  color: #374151;
  margin-top: 0.75rem;
}

.image-panel {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  background: #111111;
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
  display: block;
}

.split-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .split-block {
    grid-template-columns: 65fr 35fr;
  }

  .split-block.image-left {
    grid-template-columns: 35fr 65fr;
  }
}

.step-number {
  font-family: var(--font-heading);
  font-size: 48px;
  line-height: 1;
  color: var(--primary);
}

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

.review-card {
  min-width: 100%;
  background: #ffffff;
  border: 1px solid #eadfdb;
  color: #374151;
  box-shadow: 0 18px 50px rgba(17, 17, 17, 0.07);
}

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

@media (min-width: 768px) {
  .review-card {
    min-width: calc((100% - 32px) / 3);
  }
}

.dark-section {
  background: #111111;
  color: #f9fafb;
}

.dark-section p, .dark-section li, .dark-section a {
  color: #f9fafb;
}

.area-pill {
  background: #ffffff;
  color: #111827;
  border-left: 4px solid var(--primary);
}

.faq-item {
  border-bottom: 1px solid #eadfdb;
}

.mobile-sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: none !important;
  background: #111111;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  transform: translateY(110%);
  opacity: 0;
  transition: transform 240ms ease, opacity 240ms ease;
}

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

@media (max-width: 767.98px) {
  .mobile-sticky-call {
    display: block !important;
  }

  body.has-sticky-call {
    padding-bottom: 76px;
  }
}

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

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

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(0.96);
    opacity: 0.25;
  }
  50% {
    transform: scale(1.04);
    opacity: 0.62;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 767.98px) {
  .hero-section {
    min-height: 820px;
    background-position: 63% center;
  }

  .hero-title {
    font-size: clamp(39px, 13vw, 52px);
  }

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

  .trust-badge-img {
    height: 48px;
    max-width: 98px;
  }

  .btn-primary {
    width: 100%;
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }
}
