:root {
  --bg: #07090d;
  --bg-soft: #0c1016;
  --panel: #111720;
  --panel-2: #151d27;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f7fb;
  --muted: #8f9baa;
  --red: #ef2b2f;
  --red-dark: #b71920;
  --cyan: #55c9f3;
  --green: #59d98e;
  --white-panel: #eff2f4;
  --black-text: #11151a;
  --radius: 8px;
  color-scheme: dark;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
  text-rendering: optimizeLegibility;
}
body, button, input, select, textarea { font: inherit; }
button, input, select, textarea { border: 0; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(85, 201, 243, 0.72);
  outline-offset: 3px;
}
[hidden] { display: none !important; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  min-height: 74px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 0 clamp(18px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 9, 13, 0.86);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.brand b { color: var(--red); }
.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(239, 43, 47, 0.54);
  border-radius: 5px;
  color: #fff;
  background: var(--red);
  box-shadow: inset 0 0 0 3px #12161c;
}
.main-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}
.main-nav a {
  padding: 10px 12px;
  color: #aeb7c2;
  font-size: 13px;
  font-weight: 700;
}
.main-nav a:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { color: #d7dde5; font-size: 13px; font-weight: 800; white-space: nowrap; }
.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--panel);
}
.menu-button span { display: block; height: 2px; margin: 4px 0; background: #fff; }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-weight: 900;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--red); box-shadow: 0 16px 40px rgba(239, 43, 47, 0.22); }
.button-primary:hover { background: #ff373b; }
.button-outline { border-color: var(--line-strong); background: rgba(12, 16, 22, 0.72); }
.button-outline:hover { border-color: rgba(255, 255, 255, 0.38); }
.button-small { min-height: 40px; padding: 9px 15px; font-size: 13px; }
.button-block { width: 100%; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 126px clamp(20px, 5vw, 78px) 150px;
  isolation: isolate;
}
.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media {
  background-color: #090c11;
  background-image: url("assets/hero-wide.png");
  background-position: center 52%, center;
  background-size: cover, cover;
  background-repeat: no-repeat;
  filter: saturate(0.92) contrast(1.08);
}
.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.98) 0%, rgba(5, 7, 10, 0.86) 35%, rgba(5, 7, 10, 0.2) 75%),
    linear-gradient(0deg, rgba(5, 7, 10, 0.96) 0%, transparent 42%);
}
.hero-content { width: min(720px, 61vw); }
.eyebrow, .section-kicker {
  margin-bottom: 18px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(89, 217, 142, 0.12);
}
.hero h1 {
  max-width: 740px;
  margin-bottom: 22px;
  font-size: clamp(58px, 7.8vw, 122px);
  font-weight: 950;
  line-height: 0.82;
  text-transform: uppercase;
}
.hero h1 em { color: var(--red); font-style: normal; }
.hero-lead {
  max-width: 570px;
  margin-bottom: 30px;
  color: #c2cad4;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-diagnostic {
  position: absolute;
  right: clamp(20px, 5vw, 78px);
  bottom: 146px;
  width: min(390px, 29vw);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(11, 15, 21, 0.86);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(14px);
}
.diagnostic-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}
.diagnostic-head b { color: var(--green); }
.diagnostic-car {
  position: relative;
  overflow: hidden;
  min-height: 145px;
  display: grid;
  align-items: end;
  padding: 18px;
  background: linear-gradient(180deg, rgba(15, 21, 29, 0.18), #0d1219), url("assets/visual-01.png") center 43% / cover;
}
.diagnostic-car::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(85, 201, 243, 0.22);
  content: "";
}
.diagnostic-car div { position: relative; z-index: 2; display: grid; gap: 3px; }
.diagnostic-car small, .diagnostic-car span { color: #a7b2bf; font-size: 11px; }
.diagnostic-car strong { font-size: 18px; }
.scan-line {
  position: absolute;
  z-index: 1;
  top: 20%;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
  animation: scan 3s ease-in-out infinite;
}
@keyframes scan { 50% { top: 78%; } }
.diagnostic-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.diagnostic-grid span { display: grid; gap: 3px; padding: 12px 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.diagnostic-grid span:nth-child(odd) { border-right: 1px solid var(--line); }
.diagnostic-grid b { color: #e8edf3; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.hero-metrics {
  position: absolute;
  right: clamp(20px, 5vw, 78px);
  bottom: 30px;
  left: clamp(20px, 5vw, 78px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(9, 12, 17, 0.88);
  backdrop-filter: blur(16px);
}
.hero-metrics div { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; padding: 16px 22px; }
.hero-metrics div + div { border-left: 1px solid var(--line); }
.hero-metrics span, .hero-metrics small { color: var(--muted); font-size: 11px; }
.hero-metrics strong { grid-row: span 2; align-self: center; font-size: 19px; }

.section { padding: 104px clamp(20px, 5vw, 78px); }
.section-heading { margin-bottom: 38px; }
.split-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 520px); align-items: end; gap: 40px; }
.section-heading h2 { max-width: 900px; margin-bottom: 0; font-size: clamp(42px, 5.4vw, 82px); line-height: 0.92; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }

.services-section { background: #0a0d12; }
.brand-filter { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
.brand-filter::-webkit-scrollbar { display: none; }
.brand-filter button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: #9ba6b3;
  background: var(--panel);
  font-size: 13px;
  font-weight: 800;
}
.brand-filter button.is-active { border-color: var(--red); color: #fff; background: var(--red); }
.filter-status { min-height: 20px; margin: 12px 0 20px; color: var(--muted); font-size: 12px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.service-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: grid;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.service-card-wide { grid-column: span 2; }
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; transition: transform 0.5s ease; }
.service-card:nth-child(2) img { object-position: center 56%; }
.service-card:nth-child(3) img { object-position: center 48%; }
.service-card:nth-child(4) img { object-position: center 42%; }
.service-card:hover img { transform: scale(1.035); }
.service-card::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 18%, rgba(7, 10, 14, 0.94) 86%); content: ""; }
.service-copy { position: relative; z-index: 2; display: grid; grid-template-columns: 42px 1fr auto; align-items: start; gap: 5px 12px; padding: 22px; }
.service-copy .service-icon { grid-row: span 3; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(85, 201, 243, 0.35); border-radius: 5px; color: var(--cyan); background: rgba(7, 14, 20, 0.72); font-size: 20px; }
.service-copy small { color: #9ba6b3; font-size: 10px; text-transform: uppercase; }
.service-copy h3 { margin: 0; font-size: 21px; }
.service-copy p { grid-column: 2 / -1; margin: 4px 0 0; color: #a7b0bc; font-size: 13px; line-height: 1.45; }
.service-copy button {
  grid-column: 3;
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: rgba(10, 14, 19, 0.78);
  font-size: 11px;
  font-weight: 800;
}
.service-copy button:hover { border-color: var(--red); }
.standards-row { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.standards-row span { display: flex; align-items: center; gap: 11px; padding: 18px; color: #aab3be; font-size: 12px; font-weight: 700; }
.standards-row span + span { border-left: 1px solid var(--line); }
.standards-row b { color: var(--cyan); font-size: 18px; }

.estimate-section { background: #0e131a; }
.estimate-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.72fr); gap: 14px; }
.estimate-form, .estimate-summary, .booking-panel, .reviews-block, .warranty-block, .account-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.estimate-form { padding: clamp(20px, 3vw, 34px); }
.field-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.estimate-form label > span, .field-label, .contact-field > span {
  display: block;
  margin-bottom: 8px;
  color: #8e99a7;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.estimate-form select, .contact-field input, .contact-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: #eef2f6;
  background: #0c1117;
}
.work-fieldset, .urgency-fieldset { min-width: 0; margin: 28px 0 0; padding: 0; border: 0; }
.work-fieldset legend, .urgency-fieldset legend { margin-bottom: 12px; color: #dfe5eb; font-size: 13px; font-weight: 900; }
.work-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.work-options label { position: relative; }
.work-options input { position: absolute; opacity: 0; pointer-events: none; }
.work-options span {
  min-height: 66px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: 4px;
  padding: 12px 14px 12px 42px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #0c1117;
  cursor: pointer;
}
.work-options span::before {
  position: absolute;
  left: 14px;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid #4f5a67;
  border-radius: 3px;
  color: #fff;
  content: "";
}
.work-options input:checked + span { border-color: rgba(239, 43, 47, 0.68); background: rgba(239, 43, 47, 0.08); }
.work-options input:checked + span::before { border-color: var(--red); background: var(--red); content: "✓"; }
.work-options b { font-size: 13px; }
.work-options b, .work-options small { display: block; }
.work-options small { color: var(--muted); font-size: 11px; }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; }
.segmented span {
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  background: #0c1117;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}
.segmented input:checked + span { border-color: var(--red); color: #fff; background: var(--red); }
.estimate-alert { display: flex; gap: 12px; margin-top: 18px; padding: 14px; border: 1px solid rgba(239, 43, 47, 0.35); border-radius: 5px; background: rgba(239, 43, 47, 0.08); }
.estimate-alert > b { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #fff; background: var(--red); }
.estimate-alert p { display: grid; gap: 3px; margin: 0; }
.estimate-alert strong { font-size: 12px; }
.estimate-alert span { color: #acb5c0; font-size: 11px; }
.estimate-summary { display: grid; align-content: start; padding: clamp(22px, 3vw, 34px); background: #10161e; }
.summary-top { display: grid; gap: 8px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.summary-top span { color: var(--muted); font-size: 12px; }
.summary-top strong { color: var(--red); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: clamp(38px, 4vw, 62px); line-height: 1; }
.summary-top small { color: #ccd3dc; }
.summary-lines { display: grid; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.summary-lines div { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 12px; }
.summary-lines b { color: #e8edf3; }
.summary-benefits { display: grid; gap: 10px; padding: 22px 0; }
.summary-benefits > span { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; }
.summary-benefits > span > b { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(85, 201, 243, 0.28); border-radius: 5px; color: var(--cyan); }
.summary-benefits > span > span { display: grid; color: var(--muted); font-size: 10px; }
.summary-benefits strong { color: #e8edf3; font-size: 12px; }
.estimate-summary > p { color: var(--muted); font-size: 11px; line-height: 1.5; }

.booking-section { background: #080b10; }
.booking-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.booking-steps span { position: relative; padding: 0 12px 14px; color: #66717e; font-size: 12px; font-weight: 800; }
.booking-steps span::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: transparent; content: ""; }
.booking-steps span.is-active { color: #fff; }
.booking-steps span.is-active::after { background: var(--red); }
.booking-layout { display: grid; grid-template-columns: 1.05fr 1fr 0.9fr; gap: 12px; align-items: start; }
.booking-panel { min-width: 0; padding: 22px; }
.panel-title { display: flex; align-items: start; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.panel-title small { color: var(--red); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.panel-title h3 { margin: 3px 0 0; font-size: 22px; }
.panel-title > span { color: #dbe1e8; font-size: 12px; font-weight: 800; }
.calendar-week, .calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.calendar-week { margin-bottom: 6px; color: #687381; font-size: 10px; text-align: center; }
.calendar-day {
  position: relative;
  aspect-ratio: 1;
  min-width: 0;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #dce2e9;
  background: #0c1117;
  font-size: 12px;
  font-weight: 800;
}
.calendar-day:hover:not(:disabled) { border-color: var(--red); }
.calendar-day.is-selected { color: #fff; background: var(--red); }
.calendar-day:disabled { color: #3f4751; background: #0a0e13; cursor: not-allowed; text-decoration: line-through; }
.calendar-day.is-empty { visibility: hidden; }
.calendar-day i { position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--green); }
.calendar-legend { display: flex; gap: 18px; margin-top: 16px; color: var(--muted); font-size: 10px; }
.calendar-legend span { display: flex; align-items: center; gap: 7px; }
.calendar-legend i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.calendar-legend i.busy { background: #414953; }
.service-options { display: grid; gap: 8px; margin-bottom: 22px; }
.service-options label { position: relative; }
.service-options input { position: absolute; opacity: 0; }
.service-options span {
  display: grid;
  gap: 4px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #0c1117;
  cursor: pointer;
}
.service-options input:checked + span { border-color: rgba(239, 43, 47, 0.72); box-shadow: inset 3px 0 0 var(--red); }
.service-options b { font-size: 12px; }
.service-options small { color: var(--muted); font-size: 10px; }
.time-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.time-grid button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #dce2e8;
  background: #0c1117;
  font-size: 12px;
  font-weight: 800;
}
.time-grid button:hover:not(:disabled) { border-color: var(--red); }
.time-grid button.is-selected { border-color: var(--red); background: var(--red); }
.time-grid button:disabled { color: #424b57; background: #090d12; cursor: not-allowed; text-decoration: line-through; }
.confirm-panel { background: #111821; }
.booking-preview { margin-bottom: 16px; padding: 14px; border: 1px solid rgba(85, 201, 243, 0.18); border-radius: 5px; background: rgba(85, 201, 243, 0.04); }
.booking-preview > strong { display: block; margin-bottom: 4px; }
.booking-preview > span { color: var(--muted); font-size: 11px; }
.booking-preview dl { display: grid; gap: 8px; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.booking-preview dl div { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; }
.booking-preview dt { color: var(--muted); }
.booking-preview dd { margin: 0; text-align: right; font-weight: 800; }
.contact-field { display: block; margin-top: 10px; }
.contact-field textarea { min-height: 74px; resize: vertical; }
.contact-field input:invalid:not(:placeholder-shown) { border-color: var(--red); }
.confirm-panel .button { margin-top: 12px; }
.form-message { min-height: 18px; margin: 10px 0 0; color: var(--red); font-size: 11px; font-weight: 800; }

.trust-section { color: var(--black-text); background: var(--white-panel); }
.trust-section .section-kicker { color: var(--red); }
.trust-section .section-heading > p { color: #5d6874; }
.price-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; overflow: hidden; border: 1px solid #d5dade; border-radius: var(--radius); background: #d5dade; }
.price-strip article { display: grid; gap: 7px; padding: 20px; background: #fff; }
.price-strip small { color: #59636e; font-weight: 800; }
.price-strip strong { font-size: clamp(21px, 2.2vw, 31px); }
.price-strip span { color: #7a848f; font-size: 11px; }
.trust-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 12px; margin-top: 12px; }
.reviews-block, .warranty-block { border-color: #d5dade; background: #fff; box-shadow: 0 18px 50px rgba(20, 25, 31, 0.07); }
.reviews-block { padding: 24px; }
.review-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.review-head h3 { margin: 0; }
.review-head span { color: #c58b00; font-weight: 900; }
.review-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.review-list article { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 16px; border: 1px solid #e1e5e8; border-radius: 6px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: 50% 24%; }
.review-list article div:last-child { display: grid; gap: 5px; }
.review-list span { color: #c58b00; font-size: 11px; }
.review-list p { margin: 4px 0 0; color: #66717d; font-size: 12px; line-height: 1.55; }
.warranty-block { display: grid; grid-template-columns: 130px 1fr; gap: 24px; align-items: center; padding: 28px; color: #fff; background: #111820; }
.warranty-shield {
  display: grid;
  width: 130px;
  height: 150px;
  place-items: center;
  clip-path: polygon(50% 0, 94% 17%, 86% 74%, 50% 100%, 14% 74%, 6% 17%);
  color: #fff;
  background: linear-gradient(145deg, #ff3a3e, #96131a);
  font-size: 42px;
  font-weight: 950;
  line-height: 0.8;
}
.warranty-shield small { display: block; font-size: 11px; text-transform: uppercase; }
.warranty-block > div:last-child > small { color: var(--red); font-weight: 900; text-transform: uppercase; }
.warranty-block h3 { margin: 5px 0 10px; font-size: 27px; }
.warranty-block p { color: #aab4bf; font-size: 12px; line-height: 1.55; }
.warranty-block ul { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; color: #c8d0d8; font-size: 11px; }
.warranty-block li::before { margin-right: 8px; color: var(--green); content: "✓"; }

.account-section { background: #0a0e13; }
.account-shell { overflow: hidden; }
.account-topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: #0e141b;
}
.account-user { display: flex; align-items: center; gap: 10px; }
.account-user > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: #fff; background: var(--red); font-size: 11px; font-weight: 900; }
.account-user div { display: grid; }
.account-user small { color: var(--muted); font-size: 10px; }
.account-tabs { display: flex; justify-content: center; gap: 4px; }
.account-tabs button { padding: 10px 13px; border-bottom: 2px solid transparent; color: var(--muted); background: transparent; font-size: 11px; font-weight: 800; }
.account-tabs button.is-active { border-color: var(--red); color: #fff; }
.account-notice { padding: 7px 9px; border: 1px solid rgba(239, 43, 47, 0.3); border-radius: 4px; color: #ff777a; background: rgba(239, 43, 47, 0.08); font-size: 10px; font-weight: 800; }
.account-pane { display: grid; grid-template-columns: 1fr 280px; gap: 12px; padding: 14px; }
.repair-card { display: grid; grid-template-columns: 34% 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #0d131a; }
.repair-image { min-height: 360px; }
.repair-image img { width: 100%; height: 100%; object-fit: cover; object-position: 46% center; }
.repair-info { display: grid; align-content: center; padding: clamp(20px, 3vw, 34px); }
.repair-info > small { color: var(--red); font-weight: 900; text-transform: uppercase; }
.repair-info h3 { margin: 6px 0 4px; font-size: 30px; }
.repair-info > p { color: var(--muted); }
.repair-progress { display: grid; grid-template-columns: repeat(5, 1fr); margin: 20px 0; }
.repair-progress span { position: relative; padding-top: 18px; color: #596471; font-size: 9px; text-align: center; }
.repair-progress span::before { position: absolute; z-index: 2; top: 0; left: 50%; width: 9px; height: 9px; border: 2px solid #3e4854; border-radius: 50%; background: #0d131a; content: ""; transform: translateX(-50%); }
.repair-progress span::after { position: absolute; top: 5px; left: -50%; width: 100%; height: 1px; background: #323b45; content: ""; }
.repair-progress span:first-child::after { display: none; }
.repair-progress span.done, .repair-progress span.current { color: #dce3ea; }
.repair-progress span.done::before { border-color: var(--green); background: var(--green); }
.repair-progress span.done::after { background: var(--green); }
.repair-progress span.current::before { border-color: var(--red); box-shadow: 0 0 0 4px rgba(239, 43, 47, 0.12); }
.repair-progress span.current::after { background: linear-gradient(90deg, var(--green), var(--red)); }
.repair-update { padding: 14px; border-left: 3px solid var(--cyan); border-radius: 0 5px 5px 0; background: rgba(85, 201, 243, 0.06); }
.repair-update b { font-size: 11px; }
.repair-update p { margin: 5px 0 0; color: #a8b3bf; font-size: 11px; line-height: 1.5; }
.repair-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.account-side { display: grid; gap: 12px; }
.account-side div { display: grid; align-content: center; gap: 6px; padding: 24px; border: 1px solid var(--line); border-radius: 6px; background: #0d131a; }
.account-side small, .account-side span { color: var(--muted); font-size: 11px; }
.account-side strong { font-size: 20px; }
.account-pane[data-account-pane="history"], .account-pane[data-account-pane="documents"] { grid-template-columns: 1fr; }
.history-table { overflow: hidden; border: 1px solid var(--line); border-radius: 6px; }
.history-row { display: grid; grid-template-columns: 150px 1fr 160px 140px; gap: 16px; padding: 16px 18px; border-top: 1px solid var(--line); color: #bdc6d0; font-size: 12px; }
.history-row:first-child { border-top: 0; }
.history-head { color: var(--muted); background: #0d131a; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.history-row strong { text-align: right; }
.document-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.document-grid button { display: grid; grid-template-columns: 46px 1fr; gap: 4px 14px; padding: 18px; border: 1px solid var(--line); border-radius: 6px; background: #0d131a; text-align: left; }
.document-grid button:hover { border-color: var(--red); }
.document-grid button > span { grid-row: span 2; display: grid; width: 46px; height: 54px; place-items: center; border-radius: 4px; color: #fff; background: var(--red); font-size: 10px; font-weight: 900; }
.document-grid small { color: var(--muted); }

.site-footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; padding: 32px clamp(20px, 5vw, 78px); border-top: 1px solid var(--line); background: #07090d; }
.site-footer p { margin: 0; color: var(--muted); text-align: center; }
.site-footer > div { display: grid; text-align: right; }
.site-footer > div a { font-weight: 900; }
.site-footer > div span { color: var(--muted); font-size: 10px; }

.modal { position: fixed; z-index: 80; inset: 0; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3, 5, 7, 0.84); backdrop-filter: blur(8px); }
.modal-dialog { position: relative; width: min(440px, 100%); padding: 34px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #111821; box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55); text-align: center; }
.modal-close { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; color: var(--muted); background: transparent; font-size: 26px; }
.modal-check { display: grid; width: 56px; height: 56px; margin: 0 auto 16px; place-items: center; border-radius: 50%; color: #08100b; background: var(--green); font-size: 24px; font-weight: 900; }
.modal-dialog > small { color: var(--green); font-weight: 900; text-transform: uppercase; }
.modal-dialog h2 { margin: 7px 0 10px; font-size: 34px; }
.modal-dialog p { color: var(--muted); line-height: 1.55; }
.toast {
  position: fixed;
  z-index: 90;
  right: 20px;
  bottom: 20px;
  max-width: min(360px, calc(100% - 40px));
  padding: 14px 18px;
  border: 1px solid rgba(89, 217, 142, 0.3);
  border-radius: 5px;
  color: #dff8e9;
  background: #11241a;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: 0.2s ease;
}
.toast.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1180px) {
  .main-nav { gap: 0; }
  .main-nav a { padding-inline: 8px; font-size: 12px; }
  .header-phone { display: none; }
  .hero-content { width: min(660px, 66vw); }
  .hero-diagnostic { width: 31vw; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card-wide { grid-column: span 2; }
  .booking-layout { grid-template-columns: 1fr 1fr; }
  .confirm-panel { grid-column: 1 / -1; }
  .trust-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 70px; }
  .site-header { min-height: 66px; grid-template-columns: auto 1fr auto; }
  .menu-button { display: block; }
  .main-nav {
    position: absolute;
    top: 66px;
    right: 0;
    left: 0;
    display: none;
    padding: 10px 18px 16px;
    border-bottom: 1px solid var(--line);
    background: #090d12;
  }
  .main-nav.is-open { display: grid; }
  .main-nav a { min-height: 44px; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
  .hero { min-height: 920px; align-items: start; padding-top: 130px; }
  .hero-content { width: 100%; }
  .hero-diagnostic { right: 20px; bottom: 150px; left: 20px; width: auto; }
  .hero h1 { font-size: clamp(54px, 11vw, 94px); }
  .split-heading { grid-template-columns: 1fr; gap: 18px; }
  .field-grid { grid-template-columns: 1fr; }
  .estimate-layout, .booking-layout { grid-template-columns: 1fr; }
  .confirm-panel { grid-column: auto; }
  .standards-row { grid-template-columns: repeat(2, 1fr); }
  .standards-row span:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .standards-row span:nth-child(4) { border-top: 1px solid var(--line); }
  .price-strip { grid-template-columns: repeat(2, 1fr); }
  .price-strip article:last-child { grid-column: span 2; }
  .account-pane { grid-template-columns: 1fr; }
  .account-side { grid-template-columns: repeat(2, 1fr); }
  .document-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .site-footer > div { text-align: center; }
}

@media (max-width: 620px) {
  .site-header { padding-inline: 14px; }
  .header-actions .button { display: none; }
  .section { padding: 72px 16px; }
  .hero { min-height: 860px; padding: 112px 16px 142px; }
  .hero-media { background-position: 58% center, center; }
  .hero-overlay { background: linear-gradient(180deg, rgba(5, 7, 10, 0.84), rgba(5, 7, 10, 0.5) 38%, rgba(5, 7, 10, 0.96) 73%); }
  .hero h1 { font-size: 49px; line-height: 0.86; }
  .hero-lead { font-size: 16px; }
  .hero-actions { display: grid; }
  .hero-diagnostic { bottom: 130px; }
  .diagnostic-grid { display: none; }
  .hero-metrics { right: 16px; bottom: 16px; left: 16px; grid-template-columns: repeat(3, 1fr); }
  .hero-metrics div { display: grid; grid-template-columns: 1fr; gap: 3px; padding: 11px; text-align: center; }
  .hero-metrics div + div { border-left: 1px solid var(--line); }
  .hero-metrics strong { grid-row: auto; font-size: 13px; }
  .hero-metrics small { display: none; }
  .section-heading h2 { font-size: 43px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card-wide { grid-column: auto; }
  .service-card { min-height: 330px; }
  .service-copy { grid-template-columns: 38px 1fr; padding: 16px; }
  .service-copy button { grid-column: 2; grid-row: auto; justify-self: start; }
  .service-copy p { grid-column: 2; }
  .standards-row { grid-template-columns: 1fr; }
  .standards-row span + span { border-top: 1px solid var(--line); border-left: 0; }
  .work-options, .segmented { grid-template-columns: 1fr; }
  .work-options b { font-size: 12px; line-height: 1.25; }
  .work-options small { font-size: 10px; line-height: 1.25; }
  .booking-steps { overflow-x: auto; grid-template-columns: repeat(4, minmax(120px, 1fr)); }
  .calendar-grid, .calendar-week { gap: 3px; }
  .calendar-day { font-size: 11px; }
  .time-grid { grid-template-columns: repeat(3, 1fr); }
  .price-strip { grid-template-columns: 1fr; }
  .price-strip article:last-child { grid-column: auto; }
  .review-list { grid-template-columns: 1fr; }
  .warranty-block { grid-template-columns: 1fr; }
  .warranty-shield { width: 100px; height: 116px; font-size: 32px; }
  .account-topbar { grid-template-columns: 1fr auto; gap: 12px; }
  .account-tabs { grid-column: 1 / -1; justify-content: start; overflow-x: auto; }
  .repair-card { grid-template-columns: 1fr; }
  .repair-image { min-height: 230px; }
  .repair-progress span { font-size: 0; }
  .account-side { grid-template-columns: 1fr; }
  .history-table { overflow-x: auto; }
  .history-row { min-width: 680px; }
}

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