:root {
  --bg: #10151c;
  --bg-soft: #151b23;
  --surface: #171e27;
  --surface-2: #202a35;
  --text: #f5f7fa;
  --muted: #a4afbb;
  --line: #303c49;
  --accent: #ff5b37;
  --accent-dark: #de3e1d;
  --max-width: 1180px;
  --radius: 20px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -20%, rgba(255, 91, 55, 0.08), transparent 35%),
    var(--bg);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

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

.container {
  width: min(calc(100% - 36px), var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 1000;
  padding: 10px 14px;
  color: #111;
  background: #fff;
}

.skip-link:focus {
  left: 10px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(48, 60, 73, 0.75);
  background: rgba(16, 21, 28, 0.9);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, var(--accent), var(--accent-dark));
  box-shadow: 0 8px 25px rgba(255, 91, 55, 0.2);
  font-size: 23px;
  font-weight: 950;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  gap: 25px;
  margin-left: auto;
}

.nav a {
  color: #d0d8df;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.nav a:hover {
  color: #fff;
}

.menu-toggle {
  display: none;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border: 1px solid var(--accent);
  border-radius: 11px;
  color: #fff;
  background: var(--accent);
  text-decoration: none;
  font-weight: 850;
  cursor: pointer;
}

.button:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.button-ghost {
  border-color: #40505f;
  color: #f0f3f6;
  background: rgba(23, 30, 39, 0.65);
}

.button-small {
  min-height: 43px;
  padding-inline: 16px;
  font-size: 14px;
}

.hero {
  position: relative;
  padding: 78px 0 64px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}

.glow-one {
  width: 480px;
  height: 480px;
  top: -250px;
  right: -100px;
  background: radial-gradient(circle, rgba(255, 91, 55, 0.18), transparent 70%);
}

.glow-two {
  width: 420px;
  height: 420px;
  left: -260px;
  bottom: -280px;
  background: radial-gradient(circle, rgba(67, 123, 164, 0.13), transparent 70%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 58px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.06;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(48px, 6.8vw, 82px);
  letter-spacing: -0.055em;
}

h1 span {
  display: block;
  color: #c0c8d0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(36px, 4.4vw, 58px);
  letter-spacing: -0.045em;
}

h3 {
  font-size: 23px;
}

.hero-lead,
.large-copy {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 31px 0 29px;
}

.hero-points {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #c9d0d7;
}

.hero-points li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--accent);
  font-weight: 950;
}

.hero-panel {
  padding: 18px;
  border: 1px solid #33404d;
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), transparent 50%),
    #11171e;
  box-shadow: var(--shadow);
}

.panel-top,
.diagnostic-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.panel-top {
  padding: 4px 3px 14px;
  color: #96a2ae;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.status-dot {
  color: #c1dbc9;
}

.status-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 50%;
  background: #42cb79;
}

.garage-illustration {
  border: 1px solid #293642;
  border-radius: 18px;
  background: #0c1117;
}

.diagnostic-bar {
  padding: 15px 4px 1px;
}

.diagnostic-bar small,
.diagnostic-bar strong {
  display: block;
}

.diagnostic-bar small {
  color: #81909e;
  font-size: 10px;
  font-weight: 900;
}

.diagnostic-bar strong {
  margin-top: 2px;
  font-size: 14px;
}

.diagnostic-bar > div:last-child {
  text-align: right;
}

.trust-band {
  border-block: 1px solid var(--line);
  background: #131920;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid > div {
  padding: 26px 20px;
  border-right: 1px solid var(--line);
}

.trust-grid > div:last-child {
  border-right: 0;
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  font-size: 17px;
}

.trust-grid span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 104px 0;
}

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

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 18px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
}

.service-card {
  position: relative;
  min-height: 310px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), transparent 38%),
    var(--surface);
}

.service-card p {
  color: var(--muted);
}

.service-number {
  display: inline-block;
  margin-bottom: 69px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 950;
}

.service-line {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.process-section,
.reviews-section {
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
}

.process-grid,
.faq-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 72px;
  align-items: start;
}

.text-link {
  display: inline-block;
  margin-top: 22px;
  font-weight: 850;
  text-underline-offset: 5px;
}

.process-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 61px 1fr;
  gap: 18px;
  padding: 23px;
  border: 1px solid #384653;
  border-radius: 16px;
  background: var(--surface);
}

.process-list li > span {
  color: var(--accent);
  font-size: 14px;
  font-weight: 950;
}

.process-list p {
  margin: 4px 0 0;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: repeat(2, 230px);
  gap: 17px;
}

.gallery-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, transparent, rgba(3, 5, 8, 0.85)),
    repeating-linear-gradient(135deg, #28333d 0 18px, #1e2730 18px 36px);
}

.gallery-card:nth-child(2) {
  background:
    linear-gradient(180deg, transparent, rgba(3, 5, 8, 0.85)),
    repeating-linear-gradient(45deg, #3a2924 0 18px, #242327 18px 36px);
}

.gallery-card:nth-child(3) {
  background:
    linear-gradient(180deg, transparent, rgba(3, 5, 8, 0.85)),
    repeating-linear-gradient(135deg, #23332d 0 18px, #1e2828 18px 36px);
}

.gallery-large {
  grid-row: 1 / 3;
}

.gallery-label {
  position: absolute;
  inset: auto 25px 24px;
}

.gallery-label span,
.gallery-label strong {
  display: block;
}

.gallery-label span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 950;
}

.gallery-label strong {
  font-size: 20px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.reviews-grid blockquote {
  margin: 0;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.reviews-grid blockquote p {
  font-size: 19px;
}

.reviews-grid footer {
  color: var(--muted);
  font-size: 14px;
}

.stars {
  color: #ffb648;
  letter-spacing: 0.1em;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 850;
}

.faq-list p {
  color: var(--muted);
}

.contact-section {
  padding: 105px 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 91, 55, 0.13), transparent 28%),
    #12181f;
}

.contact-lead {
  color: var(--muted);
  font-size: 19px;
}

.contact-cards {
  display: grid;
  gap: 11px;
  margin-top: 34px;
}

.contact-cards > * {
  padding: 18px;
  border: 1px solid #3a4855;
  border-radius: 13px;
  background: rgba(23, 30, 39, 0.85);
  text-decoration: none;
}

.contact-cards small,
.contact-cards strong {
  display: block;
}

.contact-cards small {
  color: #8f9ca8;
}

.contact-form {
  padding: 31px;
  border: 1px solid #3b4956;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.form-tag {
  color: var(--accent);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.13em;
}

.contact-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #465563;
  border-radius: 10px;
  color: #fff;
  background: #11171e;
}

.form-note {
  color: var(--muted);
  font-size: 12px;
}

.site-footer {
  padding: 36px 0 92px;
  border-top: 1px solid #2b3540;
  color: #b8c1ca;
  background: #0c1015;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer-inner p {
  margin: 4px 0 0;
}

.footer-inner > div:last-child {
  display: grid;
  gap: 4px;
  text-align: right;
}

.mobile-call {
  display: none;
}

@media (max-width: 1000px) {
  .nav,
  .header-call {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
    padding: 9px 12px;
    border: 1px solid #465563;
    border-radius: 9px;
    color: #fff;
    background: var(--surface);
  }

  .nav.is-open {
    position: absolute;
    inset: 78px 18px auto;
    display: flex;
    padding: 18px;
    flex-direction: column;
    gap: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #171e27;
  }

  .hero-grid,
  .process-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .hero {
    padding: 50px 0 44px;
  }

  h1 {
    font-size: 47px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-panel {
    padding: 12px;
    border-radius: 19px;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 74px 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 260px);
  }

  .gallery-large {
    grid-row: auto;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-inner > div:last-child {
    text-align: left;
  }

  .mobile-call {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 35;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff;
    background: var(--accent);
    text-decoration: none;
    font-weight: 950;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
  }
}
