:root {
  --primary: #da3f4b;
  --primary-dark: #a91f2a;
  --secondary: #ed6f78;
  --accent: #da3f4b;
  --heading: #111827;
  --text: #374151;
  --text-muted: #5b6472;
  --surface: #ffffff;
  --surface-alt: #fff5f6;
  --surface-dark: #111827;
  --on-dark: #ffffff;
  --on-primary: #ffffff;
  --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 {
  font-family: var(--font-body);
  color: var(--text);
  background: #ffffff;
  font-size: 16px;
  line-height: 1.65;
}

h1,
h2,
h3,
h4,
.logo-text {
  font-family: var(--font-heading);
  color: var(--heading);
  letter-spacing: -0.03em;
}

h1 {
  font-size: 39px;
  line-height: 1.05;
  font-weight: 900;
}

h2 {
  font-size: 31px;
  line-height: 1.1;
  font-weight: 850;
}

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

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

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.91);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.logo-mark {
  width: 42px;
  height: 42px;
  background: #111827;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.logo-mark svg {
  width: 28px;
  height: 28px;
}

.logo-text {
  font-size: 24px;
  font-weight: 900;
  color: #111827;
  white-space: nowrap;
}

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

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

.mobile-panel {
  display: none;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  background: #ffffff;
}

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

.nav-link {
  color: #111827;
  font-weight: 750;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--primary-dark);
}

.phone-btn,
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--primary);
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 850;
  border: 2px solid var(--primary);
  border-radius: 0;
  min-height: 48px;
  padding: 12px 20px;
  white-space: nowrap;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55), 0 18px 36px rgba(218, 63, 75, 0.28);
  animation: pulseGlow 2.2s infinite;
  transition: transform .22s ease, background-color .22s ease, border-color .22s ease;
}

.phone-btn:hover,
.cta-btn:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

.header-phone-light {
  background: #111827;
  border-color: #111827;
  color: #ffffff !important;
}

.hero {
  position: relative;
  min-height: 740px;
  color: #ffffff;
  background-image: linear-gradient(90deg, rgba(17, 24, 39, .94) 0%, rgba(17, 24, 39, .78) 43%, rgba(17, 24, 39, .32) 100%), url('../images/hero-technician.jpg');
  background-size: cover;
  background-position: center;
}

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

.hero p,
.hero li {
  color: rgba(255,255,255,.92);
}

.hero-grid {
  min-height: 740px;
  display: grid;
  align-items: center;
  gap: 32px;
  padding: 96px 0 64px;
}

.stars {
  color: var(--secondary);
  font-size: 27px;
  letter-spacing: 3px;
  line-height: 1;
}

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

.gallery-badge {
  height: 58px;
  width: auto;
  max-width: 112px;
  object-fit: contain;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.72);
  padding: 5px 8px;
}

.hero-benefits {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.24);
  backdrop-filter: blur(18px);
  padding: 26px;
  box-shadow: 0 28px 80px rgba(0,0,0,.26);
}

.hero-benefit {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.hero-benefit:last-child {
  border-bottom: 0;
}

.icon-box {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  background: rgba(218,63,75,.16);
  border: 1px solid rgba(218,63,75,.38);
  color: var(--primary);
}

.hero .icon-box {
  background: rgba(255,255,255,.14);
  color: #ffffff;
  border-color: rgba(255,255,255,.22);
}

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

.eyebrow {
  color: var(--primary-dark);
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 13px;
}

.title-accent {
  width: 58px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin-top: 18px;
}

.glass-card {
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(218,63,75,.14);
  box-shadow: 0 26px 80px rgba(17,24,39,.08);
  backdrop-filter: blur(16px);
  border-radius: 0;
}

.image-text {
  display: grid;
  gap: 26px;
  align-items: center;
}

.image-text .copy {
  order: 2;
}

.image-text .media {
  order: 1;
}

.media-frame {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 28px 70px rgba(17,24,39,.16);
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.service-card {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(17,24,39,.08);
  background: #ffffff;
  border-radius: 0;
  box-shadow: 0 18px 55px rgba(17,24,39,.06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 72px rgba(218,63,75,.14);
  border-color: rgba(218,63,75,.34);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: #fff0f1;
  color: var(--primary-dark);
  margin-bottom: 18px;
}

.issue-list li {
  margin-top: 12px;
}

.soft-bg {
  background: radial-gradient(circle at 12% 10%, rgba(237,111,120,.20), transparent 28%), radial-gradient(circle at 82% 18%, rgba(218,63,75,.12), transparent 30%), #fff8f8;
}

.dark-section {
  background: linear-gradient(135deg, #111827 0%, #1f2937 60%, #411d23 100%);
  color: #ffffff;
}

.dark-section p,
.dark-section li {
  color: rgba(255,255,255,.86);
}

.process-step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  padding: 22px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
}

.step-num {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #ffffff;
  font-weight: 900;
}

.reviews-wrap {
  position: relative;
}

.reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  scroll-snap-align: start;
  padding: 26px;
  background: #ffffff;
  border: 1px solid rgba(17,24,39,.08);
  box-shadow: 0 18px 55px rgba(17,24,39,.07);
  border-radius: 0;
  min-height: 265px;
}

.review-stars {
  color: var(--primary);
  letter-spacing: 2px;
}

.carousel-btn {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(17,24,39,.16);
  background: #ffffff;
  color: #111827;
  font-weight: 900;
  transition: all .2s ease;
}

.carousel-btn:hover {
  background: #111827;
  color: #ffffff;
}

.area-pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid rgba(218,63,75,.24);
  background: #ffffff;
  color: #111827;
  font-weight: 750;
}

.cta-band {
  background: linear-gradient(120deg, #da3f4b, #111827);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.cta-band p {
  color: rgba(255,255,255,.9);
}

.cta-band .cta-btn {
  background: #ffffff;
  border-color: #ffffff;
  color: #111827 !important;
}

.cta-band .cta-btn:hover {
  background: #f3f4f6;
  border-color: #f3f4f6;
  color: #111827 !important;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: -80px auto auto -60px;
  width: 240px;
  height: 240px;
  background: rgba(255,255,255,.13);
  transform: rotate(35deg);
}

.footer {
  background: #0f172a;
  color: rgba(255,255,255,.82);
}

.footer a {
  color: #ffffff;
  text-decoration: none;
}

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

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

.sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: none !important;
  background: #111827;
  color: #ffffff !important;
  text-decoration: none;
  text-align: center;
  padding: 15px 12px calc(15px + env(safe-area-inset-bottom));
  font-weight: 900;
  white-space: nowrap;
  transform: translateY(100%);
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
}

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

.safe-bottom {
  padding-bottom: 78px;
}

.fade-up {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp .7s ease forwards;
}

.delay-1 { animation-delay: .12s; }
.delay-2 { animation-delay: .22s; }
.delay-3 { animation-delay: .32s; }

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,.45), 0 18px 36px rgba(218,63,75,.25); }
  70% { box-shadow: 0 0 0 14px rgba(255,255,255,0), 0 18px 36px rgba(218,63,75,.25); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0), 0 18px 36px rgba(218,63,75,.25); }
}

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

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

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

  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, .72fr);
  }

  .image-text {
    grid-template-columns: minmax(0, 65fr) minmax(280px, 35fr);
  }

  .image-text.image-left {
    grid-template-columns: minmax(280px, 35fr) minmax(0, 65fr);
  }

  .image-text .copy,
  .image-text .media {
    order: initial;
  }

  .reviews-track {
    grid-auto-columns: calc((100% - 36px) / 3);
  }
}

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

  h2 {
    font-size: 24px;
  }

  .hero,
  .hero-grid {
    min-height: auto;
  }

  .hero-grid {
    padding: 62px 0 44px;
  }

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

  .hero-benefits {
    padding: 20px;
  }

  .phone-btn,
  .cta-btn {
    width: 100%;
    max-width: 100%;
  }

  .mobile-panel .phone-btn {
    width: auto;
  }

  .gallery-badge {
    height: 48px;
  }
}
