:root {
  --font-heading: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: 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;
}

.site-shell {
  background: radial-gradient(circle at top left, rgba(156, 8, 15, 0.08), transparent 34rem), #fff;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(63, 13, 22, 0.12);
  backdrop-filter: blur(16px);
}

.header-row {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111827;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: #9c080f;
  color: #fff;
  flex: 0 0 auto;
}

.brand-mark svg {
  width: 23px;
  height: 23px;
}

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

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

.nav-link {
  color: #3f0d16;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #9c080f;
}

.hamburger-button {
  display: inline-flex !important;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(63, 13, 22, 0.18);
  color: #111827;
  background: #fff;
}

.hamburger-button span,
.hamburger-button span::before,
.hamburger-button span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  content: "";
  position: relative;
}

.hamburger-button span::before {
  position: absolute;
  top: -7px;
}

.hamburger-button span::after {
  position: absolute;
  top: 7px;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 74px 0 auto 0;
  z-index: 49;
  background: #fff;
  border-bottom: 1px solid rgba(63, 13, 22, 0.14);
  box-shadow: 0 22px 40px rgba(63, 13, 22, 0.15);
}

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

.mobile-menu-inner {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  padding: 18px 0 24px;
  display: grid;
  gap: 14px;
}

.btn-primary,
.btn-secondary,
.phone-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 0;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  min-height: 54px;
  padding: 0 22px;
  background: #9c080f;
  color: #fff !important;
  box-shadow: 0 18px 36px rgba(156, 8, 15, 0.26);
}

.btn-primary:hover,
.phone-button:hover {
  background: #6f050a;
  color: #fff !important;
  transform: translateY(-2px);
}

.phone-button {
  min-height: 46px;
  padding: 0 16px;
  background: #17080c;
  color: #fff !important;
  font-size: 14px;
}

.hero-section {
  min-height: calc(100svh - 74px);
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  color: #fff;
  background-image: linear-gradient(90deg, rgba(23, 8, 12, 0.93) 0%, rgba(23, 8, 12, 0.76) 47%, rgba(23, 8, 12, 0.34) 100%), url("../images/hero-technician.jpg");
  background-size: cover;
  background-position: center;
  padding: 64px 0;
}

.hero-grid {
  display: grid;
  gap: 28px;
}

.eyebrow {
  color: #9c080f;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
}

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

.hero-title {
  color: #fff !important;
  font-size: clamp(32px, 10vw, 68px);
  line-height: 0.94;
  letter-spacing: -0.06em;
  font-weight: 900;
  max-width: 820px;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 1.75;
  max-width: 700px;
}

.stars {
  color: #ddaa3b;
  font-size: 24px;
  letter-spacing: 4px;
  line-height: 1;
}

.gallery-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.gallery-badges img {
  width: auto;
  height: 50px;
  max-width: 128px;
  object-fit: contain;
  padding: 6px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero-panel {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.23);
  backdrop-filter: blur(16px);
  padding: 22px;
}

.hero-panel h2 {
  color: #fff !important;
  font-size: 26px;
  margin-bottom: 18px;
}

.hero-benefit {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.hero-benefit strong {
  display: block;
  color: #fff;
  font-size: 16px;
}

.icon-tile {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: #9c080f;
  color: #fff;
  border-radius: 999px;
}

.icon-tile svg {
  width: 23px;
  height: 23px;
  stroke-width: 2;
}

.section {
  padding: 70px 0;
}

.section-alt {
  background: #fff7f5;
}

.dark-section {
  background: #17080c;
  color: #f8f4f4;
}

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

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading.centered {
  text-align: center;
  margin-inline: auto;
}

.section-heading h2 {
  font-size: clamp(26px, 6vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 900;
}

.section-heading p {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.75;
}

.heading-mark {
  width: 62px;
  height: 4px;
  background: #9c080f;
  margin-top: 16px;
}

.section-heading.centered .heading-mark {
  margin-inline: auto;
}

.prose-copy {
  font-size: 17px;
  line-height: 1.82;
}

.prose-copy p + p {
  margin-top: 18px;
}

.split-section {
  display: grid;
  gap: 26px;
  align-items: center;
}

.split-text {
  min-width: 0;
}

.split-image {
  min-width: 0;
  border: 1px solid rgba(63, 13, 22, 0.12);
  box-shadow: 20px 20px 0 rgba(156, 8, 15, 0.08);
}

.split-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.bento-card {
  background: #fff;
  border: 1px solid rgba(63, 13, 22, 0.12);
  padding: 22px;
  min-height: 100%;
  box-shadow: 0 18px 50px rgba(63, 13, 22, 0.06);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.bento-card:hover {
  transform: translateY(-6px);
  border-color: rgba(156, 8, 15, 0.45);
  box-shadow: 0 26px 60px rgba(156, 8, 15, 0.15);
}

.bento-card h3 {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 850;
  margin-top: 16px;
}

.bento-card p {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.72;
  color: #4a2a31;
}

.signs-list {
  display: grid;
  gap: 14px;
}

.sign-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border-left: 4px solid #9c080f;
  box-shadow: 0 14px 38px rgba(63, 13, 22, 0.06);
}

.process-grid {
  display: grid;
  gap: 16px;
}

.process-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  padding: 20px;
  background: #fff;
  border: 1px solid rgba(63, 13, 22, 0.12);
}

.step-number {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: #9c080f;
  color: #fff;
  font-weight: 900;
}

.why-grid {
  display: grid;
  gap: 16px;
}

.service-area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.area-pill {
  padding: 10px 14px;
  border: 1px solid rgba(156, 8, 15, 0.24);
  background: #fff;
  color: #3f0d16;
  font-weight: 800;
  font-size: 14px;
}

.map-frame {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

.reviews-shell {
  position: relative;
}

.reviews-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-bottom: 10px;
}

.review-card {
  flex: 0 0 88%;
  scroll-snap-align: start;
  background: #fff;
  color: #3f0d16;
  border: 1px solid rgba(63, 13, 22, 0.12);
  padding: 22px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-card .stars {
  font-size: 16px;
  letter-spacing: 2px;
}

.review-card p {
  margin-top: 14px;
  line-height: 1.75;
}

.review-card strong {
  display: block;
  margin-top: 18px;
  color: #111827;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.slider-button {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(63, 13, 22, 0.18);
  background: #fff;
  color: #111827;
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid rgba(63, 13, 22, 0.12);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  background: transparent;
  border: 0;
  color: #111827;
  text-align: left;
  font-size: 18px;
  font-weight: 850;
}

.faq-answer {
  display: none;
  padding: 0 18px 18px;
  color: #3f0d16;
  line-height: 1.75;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.cta-band {
  background: linear-gradient(135deg, #9c080f, #3f0d16);
  color: #fff;
  padding: 38px 0;
}

.cta-band h2 {
  color: #fff !important;
  font-size: clamp(26px, 6vw, 40px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  margin-top: 10px;
  font-size: 17px;
}

.cta-row {
  display: grid;
  gap: 18px;
  align-items: center;
}

.site-footer {
  background: #17080c;
  color: #f8f4f4;
  padding: 54px 0 26px;
  font-size: 14px;
}

.site-footer a {
  color: #fff;
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-small {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}

.mobile-sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: none !important;
  background: #17080c;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  transform: translateY(105%);
  opacity: 0;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

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

.mobile-sticky-call a {
  width: 100%;
  min-height: 52px;
  background: #9c080f;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .bento-grid,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

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

  .hamburger-button,
  .mobile-menu,
  .mobile-sticky-call,
  .mobile-sticky-call.is-visible {
    display: none !important;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.8fr);
    align-items: center;
  }

  .split-section {
    grid-template-columns: minmax(0, 65fr) minmax(0, 35fr);
  }

  .split-section.image-left {
    grid-template-columns: minmax(0, 35fr) minmax(0, 65fr);
  }

  .split-section.image-left .split-image {
    order: 1;
  }

  .split-section.image-left .split-text {
    order: 2;
  }

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

  .cta-row {
    grid-template-columns: 1fr auto;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 1fr;
  }
}

@media (min-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .why-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .section {
    padding: 54px 0;
  }

  .hero-section {
    padding: 46px 0 56px;
  }

  .section-heading h2 {
    font-size: 26px;
  }

  .brand-link {
    font-size: 20px;
  }

  .hero-panel h2 {
    font-size: 26px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
