html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  font-size: 16px;
  line-height: 1.7;
  background: var(--surface);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  overflow-x: hidden;
}

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

.topbar {
  background: #080808;
  color: #fff;
  font-size: 14px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e6e1d6;
  backdrop-filter: blur(14px);
}

.logo-mark {
  width: 42px;
  height: 42px;
  border: 2px solid #111;
  background: var(--accent);
  display: grid;
  place-items: center;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #111827;
  white-space: nowrap;
}

.nav-link {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  padding: 30px 0;
  border-bottom: 3px solid transparent;
}

.nav-link:hover {
  color: #000;
  border-bottom-color: var(--accent);
}

.phone-button,
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 2px solid #111;
  background: var(--accent);
  color: #080808;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
  animation: ctaPulse 2.2s infinite;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.phone-button:hover,
.cta-button:hover {
  transform: translateY(-2px);
  background: #ffe06a;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.24);
}

.hamburger {
  width: 48px;
  height: 48px;
  border: 2px solid #111;
  background: #fff;
  display: none;
  place-items: center;
}

.mobile-menu {
  display: none;
  background: #fff;
  border-bottom: 1px solid #e6e1d6;
}

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

.mobile-link {
  display: block;
  font-size: 18px;
  font-weight: 800;
  padding: 14px 0;
  border-top: 1px solid #ece7dc;
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  isolation: isolate;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.78) 43%, rgba(0, 0, 0, 0.28) 100%), url('../images/hero-technician.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero h1 {
  max-width: 820px;
  color: #fff;
  font-size: clamp(45px, 5.4vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-copy {
  color: #f8f8f8;
  font-size: 20px;
  max-width: 700px;
}

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

.hero-icon-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-icon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 16px;
  font-weight: 800;
}

.hero-icon img,
.phone-button img,
.cta-button img {
  width: 22px;
  height: 22px;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(16px);
  color: #fff;
  padding: 34px;
}

.hero-panel h2 {
  color: #fff;
  font-size: 30px;
}

.benefit-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.benefit-item img {
  width: 34px;
  height: 34px;
  flex: none;
}

.section-pad {
  padding: 92px 0;
}

.section-dark {
  background: #080808;
  color: #fff;
}

.section-alt {
  background: var(--surface-alt);
}

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

h2 {
  font-size: clamp(31px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h3 {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h4 {
  font-size: 20px;
  line-height: 1.25;
}

p,
li {
  font-size: 16px;
}

.accent-line {
  width: 76px;
  height: 6px;
  background: var(--accent);
  margin: 18px 0 28px;
}

.content-card {
  border: 1px solid #e0d9c9;
  background: #fff;
  padding: 34px;
  box-shadow: 18px 18px 0 #111;
}

.info-split {
  display: grid;
  grid-template-columns: 65fr 35fr;
  gap: 42px;
  align-items: center;
}

.info-split.reverse {
  grid-template-columns: 35fr 65fr;
}

.image-frame {
  position: relative;
  border: 4px solid #111;
  background: #111;
}

.image-frame::after {
  content: '';
  position: absolute;
  inset: auto -14px -14px auto;
  width: 54%;
  height: 48%;
  background: var(--accent);
  z-index: -1;
}

.image-frame img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  background: #fff;
  border: 1px solid #e4ddcf;
  padding: 28px;
  min-height: 100%;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 12px 12px 0 #111;
}

.service-card img,
.mini-icon {
  width: 54px;
  height: 54px;
}

.parts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.part-chip {
  border: 1px solid #ded6c6;
  background: #fff;
  padding: 14px;
  font-weight: 800;
}

.cta-band {
  background: linear-gradient(135deg, #111 0%, #111 58%, #f6c400 58%, #f6c400 100%);
  color: #fff;
  border-top: 8px solid #f6c400;
  border-bottom: 8px solid #f6c400;
}

.cta-band h2 {
  color: #fff;
}

.numbered-list {
  counter-reset: item;
  display: grid;
  gap: 16px;
}

.numbered-card {
  position: relative;
  background: #fff;
  border-left: 8px solid #111;
  padding: 22px 22px 22px 76px;
}

.numbered-card::before {
  counter-increment: item;
  content: counter(item);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #111;
  font-weight: 900;
}

.area-list {
  columns: 2;
  column-gap: 42px;
}

.area-list li {
  break-inside: avoid;
  margin-bottom: 8px;
  font-weight: 700;
}

.review-shell {
  overflow: hidden;
}

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

.review-card {
  min-width: calc((100% - 40px) / 3);
  background: #fff;
  color: var(--text);
  border: 1px solid #ded6c6;
  padding: 28px;
}

.review-card .stars {
  font-size: 18px;
  letter-spacing: 0.06em;
}

.carousel-button {
  width: 48px;
  height: 48px;
  border: 2px solid #111;
  background: #fff;
  font-size: 26px;
  font-weight: 900;
}

.faq-item {
  border-top: 1px solid #ded6c6;
  padding: 24px 0;
}

.footer {
  background: #080808;
  color: #fff;
  font-size: 14px;
}

.footer h3,
.footer h4 {
  color: #fff;
}

.footer .logo-text {
  color: #fff;
}

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

.sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: none;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 260ms ease, opacity 260ms ease;
  background: #080808;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  border-top: 4px solid var(--accent);
}

.sticky-call.show {
  transform: translateY(0);
  opacity: 1;
}

.sticky-call a {
  width: 100%;
  min-height: 56px;
  background: var(--accent);
  color: #080808;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 17px;
  white-space: nowrap;
}

@keyframes ctaPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.58); }
  70% { box-shadow: 0 0 0 18px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

@media (max-width: 767px) {
  .desktop-nav,
  .desktop-phone {
    display: none !important;
  }

  .hamburger {
    display: grid;
  }

  .mobile-phone-row {
    display: flex;
  }

  .hero {
    min-height: 720px;
    padding: 72px 0;
  }

  .hero-panel {
    margin-top: 34px;
  }

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

@media (min-width: 768px) {
  .mobile-phone-row,
  .mobile-menu {
    display: none !important;
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .header .container-wide > .flex {
    flex-wrap: wrap;
  }

  .desktop-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 14px;
  }

  .nav-link {
    padding: 8px 0 16px;
    font-size: 18px;
  }

  .desktop-phone {
    min-height: 46px;
    padding: 0 16px;
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: 82px;
  }

  .container-wide {
    width: min(100% - 24px, 1180px);
  }

  .logo-text {
    font-size: 24px;
  }

  .logo-mark {
    width: 38px;
    height: 38px;
  }

  .mobile-phone-row .phone-button {
    width: 100%;
    font-size: 17px;
  }

  .hero {
    min-height: auto;
    padding: 56px 0 70px;
    background-position: 58% center;
  }

  .hero h1 {
    font-size: 45px;
  }

  .hero-copy {
    font-size: 17px;
  }

  h2 {
    font-size: 31px;
  }

  .section-pad {
    padding: 62px 0;
  }

  .info-split,
  .info-split.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .info-split.reverse .image-frame {
    order: 2;
  }

  .service-grid,
  .parts-grid {
    grid-template-columns: 1fr;
  }

  .area-list {
    columns: 1;
  }

  .review-card {
    min-width: 100%;
  }

  .cta-band {
    background: #111;
  }

  .sticky-call {
    display: block;
  }
}

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