:root {
  --font-heading: Arial, "Helvetica Neue", sans-serif;
  --font-body: "Segoe UI", Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-size: 16px; line-height: 1.7; color: var(--text); overflow-x: hidden; }
a { text-decoration: none; }
h1, h2, h3, h4 { font-weight: 900; letter-spacing: -0.035em; }
h1 { font-size: clamp(39px, 7vw, 72px); line-height: 0.96; color: #fff; }
h2 { font-size: clamp(31px, 5vw, 52px); line-height: 1.05; color: #111827; }
h3, h4 { font-size: clamp(22px, 3vw, 28px); line-height: 1.16; color: #111827; }

.site-shell { background: #fff; }
.blueprint { position: relative; overflow: hidden; }
.blueprint::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(115,14,34,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(115,14,34,.08) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}
.container-wide { width: min(1180px, calc(100% - 32px)); margin-inline: auto; position: relative; z-index: 1; }
.accent-rule { width: 74px; height: 5px; background: var(--primary); margin-top: 18px; position: relative; }
.accent-rule::after { content: ""; position: absolute; right: -18px; top: -5px; width: 15px; height: 15px; background: var(--accent); clip-path: polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%); }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(115,14,34,.14); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: #111827; font-family: var(--font-heading); font-weight: 900; font-size: 24px; letter-spacing: -.04em; white-space: nowrap; }
.logo img { width: 42px; height: 42px; display: block; }
.desktop-nav { display: none !important; align-items: center; gap: 20px; }
.desktop-nav a { color: #4D1515; font-weight: 800; font-size: 16px; }
.desktop-phone { display: none !important; }
.hamburger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 48px; height: 48px; border: 2px solid var(--primary); background: #fff; }
.hamburger span { display: block; width: 24px; height: 3px; margin-inline: auto; background: var(--primary); }
.mobile-panel { display: none; border-top: 1px solid rgba(115,14,34,.16); background: #fff; padding: 18px 0 22px; }
.mobile-panel.is-open { display: block; }
.mobile-panel a { display: block; color: #4D1515; font-weight: 800; padding: 11px 0; }

.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 22px; background: var(--primary); color: #fff !important; border: 0; border-radius: 0; font-weight: 900; white-space: nowrap; box-shadow: 0 0 0 0 rgba(255,255,255,.72); animation: glowPulse 2.1s ease-in-out infinite; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.btn-primary:hover { background: var(--primary-dark); color: #fff !important; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(77,21,21,.26); }
.btn-light { background: #fff; color: #111827 !important; }
.btn-light:hover { background: #f7ede9; color: #111827 !important; }
@keyframes glowPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,255,255,.65); } 50% { box-shadow: 0 0 0 12px rgba(255,255,255,0); } }

.hero { min-height: 760px; display: flex; align-items: center; color: #fff; background: linear-gradient(90deg, rgba(26,7,11,.95) 0%, rgba(77,21,21,.86) 46%, rgba(77,21,21,.28) 100%), url('../images/hero-technician.jpg') center/cover no-repeat; }
.hero p, .hero li { color: #fff; }
.hero .kicker { color: var(--accent); font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.stars { color: var(--accent); letter-spacing: .12em; font-size: 22px; margin: 18px 0 12px; }
.gallery-icons { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 14px 0 22px; }
.gallery-icons img { width: auto; height: 48px; max-width: 94px; object-fit: contain; background: rgba(255,255,255,.92); border: 1px solid rgba(255,255,255,.65); padding: 5px; }
.hero-card { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.34); backdrop-filter: blur(16px); padding: 28px; color: #fff; }
.hero-card h3 { color: #fff; }
.benefit-list { display: grid; gap: 16px; }
.benefit-item { display: flex; gap: 12px; align-items: flex-start; }
.benefit-icon { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; background: #fff; color: var(--primary); clip-path: polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%); font-weight: 900; }

.section { padding: 78px 0; }
.section-dark { background: #1A070B; color: #fff; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p, .section-dark li { color: #F9FAFB; }
.section-alt { background: #FFF7F3; }
.intro-card { border-left: 6px solid var(--primary); background: #fff; padding: 28px; box-shadow: 0 24px 70px rgba(77,21,21,.08); }

.split-block { display: grid; gap: 24px; align-items: center; margin-top: 36px; }
.split-block .split-media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; }
.split-block .split-text { background: #fff; border: 1px solid rgba(115,14,34,.14); padding: 28px; }
.split-block.dark .split-text { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; }
.split-block.dark .split-text h3, .split-block.dark .split-text p, .split-block.dark .split-text li { color: #fff; }

.review-shell { position: relative; }
.review-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 20px; scrollbar-width: none; }
.review-track::-webkit-scrollbar { display: none; }
.review-card { scroll-snap-align: start; background: #fff; color: #4D1515; border: 1px solid rgba(115,14,34,.16); padding: 24px; min-height: 305px; box-shadow: 0 18px 50px rgba(77,21,21,.08); }
.review-card strong { color: #111827; display: block; margin-bottom: 8px; }
.review-card .stars { margin: 0 0 10px; font-size: 17px; }
.carousel-controls { display: flex; gap: 12px; margin-top: 10px; }
.carousel-controls button { width: 48px; height: 48px; border: 2px solid var(--primary); background: #fff; color: var(--primary); font-weight: 900; }

.services-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 36px; }
.service-card { background: #fff; border: 1px solid rgba(115,14,34,.16); padding: 24px; position: relative; overflow: hidden; box-shadow: 0 18px 44px rgba(77,21,21,.06); }
.service-card::after { content: ""; position: absolute; right: -28px; top: -28px; width: 90px; height: 90px; border: 2px solid rgba(115,14,34,.13); clip-path: polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%); }
.service-card img { width: 52px; height: 52px; margin-bottom: 14px; }
.service-card h3 { margin-bottom: 12px; }

.model-list, .parts-list, .area-list { display: grid; gap: 12px; margin-top: 24px; }
.model-list li, .parts-list li, .area-list li { background: #fff; padding: 15px 18px; border-left: 5px solid var(--primary); box-shadow: 0 10px 30px rgba(77,21,21,.06); }
.process-list { counter-reset: step; display: grid; gap: 18px; margin-top: 24px; }
.process-list li { counter-increment: step; list-style: none; display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: start; }
.process-list li::before { content: counter(step); width: 54px; height: 54px; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 900; }

.table-wrap { overflow-x: auto; background: #fff; border: 1px solid rgba(115,14,34,.16); margin-top: 24px; }
table { width: 100%; border-collapse: collapse; min-width: 520px; }
th, td { text-align: left; padding: 16px; border-bottom: 1px solid rgba(115,14,34,.14); color: #4D1515; }
th { background: #730E22; color: #fff; }

.faq-grid { display: grid; gap: 16px; margin-top: 32px; }
.faq-item { background: #fff; border: 1px solid rgba(115,14,34,.16); padding: 22px; }
.faq-item h3 { margin-bottom: 8px; }
.cta-band { background: linear-gradient(135deg, #730E22, #1A070B); color: #fff; padding: 42px 28px; display: grid; gap: 22px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: 24px; top: 20px; width: 140px; height: 140px; border: 2px solid rgba(255,255,255,.18); clip-path: polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%); }
.cta-band h2, .cta-band p { color: #fff; }

.footer { background: #120407; color: #fff; padding: 52px 0 30px; font-size: 14px; }
.footer p, .footer a, .footer li { color: #fff; font-size: 14px; }
.footer .logo { color: #fff; }
.footer-grid { display: grid; gap: 28px; }
.footer-disclaimer { border-top: 1px solid rgba(255,255,255,.16); margin-top: 30px; padding-top: 22px; color: #F9FAFB; }

.sticky-call { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none !important; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(18,4,7,.96); transform: translateY(110%); opacity: 0; transition: opacity .25s ease, transform .25s ease; }
.sticky-call.is-visible { display: block !important; transform: translateY(0); opacity: 1; }
.sticky-call a { width: 100%; min-height: 52px; font-size: 16px; }

.draw-line { position: relative; }
.draw-line::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--primary), transparent); transform: scaleY(.35); transform-origin: top; animation: lineDraw 4s linear both; }
@keyframes lineDraw { to { transform: scaleY(1); } }
.dot { display: inline-block; width: 9px; height: 9px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 8px rgba(243,178,59,.14); }

@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .model-list, .parts-list, .area-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .desktop-nav { display: flex !important; }
  .desktop-phone { display: inline-flex !important; }
  .hamburger, .mobile-panel { display: none !important; }
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .65fr); gap: 46px; align-items: center; }
  .split-block { grid-template-columns: 65fr 35fr; }
  .split-block.reverse { grid-template-columns: 35fr 65fr; }
  .split-block.reverse .split-media { order: -1; }
  .review-track { grid-auto-columns: calc((100% - 36px) / 3); }
  .footer-grid { grid-template-columns: 1.2fr .8fr .8fr; }
  .cta-band { grid-template-columns: 1fr auto; padding: 52px; }
  .sticky-call { display: none !important; }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  h1 { font-size: 39px; }
  h2 { font-size: 31px; }
  .hero { min-height: 820px; padding: 44px 0; }
  .hero-card { margin-top: 28px; padding: 22px; }
  .section { padding: 58px 0; }
  .logo { font-size: 24px; max-width: calc(100vw - 96px); }
  .logo span { overflow: hidden; text-overflow: ellipsis; }
  body.has-sticky-call { padding-bottom: 78px; }
}
