:root {
  --bg: #06080c;
  --surface: #0d1118;
  --surface-2: #141a24;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f6f8fb;
  --muted: #aeb7c6;
  --blue: #3bbcff;
  --blue-2: #0b73ff;
  --silver: #dce4ef;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(6, 8, 12, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 218px;
}

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

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

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.93rem;
}

.nav a:hover,
.header-phone:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--blue);
}

.header-phone {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--silver);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 92vh;
  padding: 132px clamp(18px, 5vw, 72px) 70px;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 36% center;
  transform: scale(1.16) translateX(8%);
  transform-origin: center;
  filter: saturate(1.05) contrast(1.08);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 8, 12, 0.98) 0%, rgba(6, 8, 12, 0.82) 42%, rgba(6, 8, 12, 0.12) 100%),
    linear-gradient(0deg, #06080c 0%, rgba(6, 8, 12, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 800px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.92;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

h3 {
  font-size: 1.25rem;
}

.hero-copy {
  width: min(620px, 100%);
  color: var(--silver);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions,
.hero-trust,
.proof-stats,
.footer-links,
.mini-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #03111d;
  box-shadow: 0 12px 34px rgba(59, 188, 255, 0.24);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.hero-trust {
  margin-top: 28px;
  color: var(--muted);
}

.hero-trust span,
.mini-list span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 30px;
  padding: 18px;
  border-block: 1px solid var(--line);
  color: var(--silver);
  background: #090d13;
}

.strip a {
  color: var(--blue);
  font-weight: 800;
}

.section {
  padding: clamp(64px, 10vw, 118px) clamp(18px, 5vw, 72px);
}

.section-heading {
  width: min(820px, 100%);
  margin-bottom: 34px;
}

.section-heading p,
.booking-copy p,
.about-panel p,
.location-panel p,
.plan p,
.service-card p,
.faq-list p {
  color: var(--muted);
}

.service-tag {
  margin-bottom: 14px;
  color: var(--blue);
  font-weight: 900;
}

.service-list {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 18px;
  color: var(--muted);
}

.service-addons {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.service-addons span {
  display: block;
  margin-bottom: 6px;
  color: var(--silver);
  font-weight: 900;
}

.service-addons p {
  margin-bottom: 0;
}

.services-grid,
.gallery-grid,
.reviews-grid,
.plans-grid,
.about-location,
.booking-section {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.review-card,
.compare-card,
.plan,
.booking-form,
.about-panel,
.location-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
}

.service-card,
.review-card,
.plan,
.about-panel,
.location-panel {
  padding: 24px;
}

.service-card {
  min-height: 278px;
}

.service-card.featured {
  border-color: rgba(59, 188, 255, 0.42);
  background: linear-gradient(180deg, rgba(59, 188, 255, 0.16), rgba(255, 255, 255, 0.04));
}

.service-card strong,
.plan strong {
  color: var(--silver);
}

.proof-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background:
    linear-gradient(135deg, rgba(59, 188, 255, 0.18), rgba(255, 255, 255, 0.02)),
    var(--surface);
  border-block: 1px solid var(--line);
}

.proof-band h2 {
  max-width: 780px;
}

.proof-stats span {
  min-width: 150px;
  color: var(--muted);
}

.proof-stats strong {
  display: block;
  color: var(--text);
  font-size: 2.2rem;
}

.smart-quote {
  background: #080b10;
  border-block: 1px solid var(--line);
}

.smart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
  align-items: start;
}

.quiz-panel,
.recommendation-card,
.comparison-table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
}

.quiz-panel {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.quiz-step {
  display: grid;
  gap: 12px;
}

.quiz-step h3 {
  margin-bottom: 0;
}

.segmented-options,
.toggle-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quiz-option,
.feature-toggle {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
  font-weight: 800;
}

.quiz-option {
  padding: 10px 14px;
  cursor: pointer;
}

.quiz-option.active,
.feature-toggle:has(input:checked) {
  border-color: rgba(59, 188, 255, 0.6);
  background: rgba(59, 188, 255, 0.16);
  color: var(--blue);
}

.feature-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
}

.feature-toggle input,
.addon-calculator input {
  width: auto;
  min-height: 0;
  accent-color: var(--blue);
}

.recommendation-card {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 16px;
  padding: 24px;
}

.recommendation-card h3 {
  margin-bottom: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

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

.estimate-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(59, 188, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(59, 188, 255, 0.1);
}

.estimate-row strong {
  color: var(--blue);
  font-size: 1.4rem;
}

.addon-calculator {
  display: grid;
  gap: 10px;
}

.addon-calculator p {
  margin-bottom: 0;
  color: var(--silver);
  font-weight: 900;
}

.addon-calculator label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

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

.comparison-table-wrap {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  color: var(--blue);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.comparison-table td {
  color: var(--muted);
}

.comparison-table td:first-child,
.comparison-table td:last-child {
  color: var(--text);
  font-weight: 900;
}

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

.compare-card {
  overflow: hidden;
}

.compare {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #111;
}

.compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tire-compare .before-img {
  object-position: center 66%;
}

.tire-compare .after-img {
  object-position: center 44%;
  transform: scale(1.04);
}

.interior-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
}

.interior-pane {
  position: relative;
  overflow: hidden;
  min-width: 0;
  height: 100%;
}

.interior-pane img {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 88%;
  height: auto;
  max-width: none;
  transform: translateX(-50%);
  transform-origin: center bottom;
}

.interior-compare .before-img,
.interior-compare .after-img {
  clip-path: none;
  filter: none;
}

.before-img {
  clip-path: inset(0 calc(100% - var(--position)) 0 0);
  filter: saturate(0.72) contrast(0.9) brightness(0.72);
}

.compare::before,
.compare::after {
  position: absolute;
  top: 14px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.58);
  font-size: 0.74rem;
  font-weight: 800;
}

.compare::before {
  left: 14px;
  content: "Before";
}

.compare::after {
  right: 14px;
  content: "After";
}

.compare input {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.compare-copy {
  padding: 18px;
}

.compare-copy span {
  color: var(--blue);
  font-weight: 800;
  font-size: 0.8rem;
}

.booking-section {
  grid-template-columns: 0.92fr 1.08fr;
  align-items: start;
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.booking-copy {
  position: sticky;
  top: 104px;
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 22px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--silver);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #090d13;
  color: var(--text);
  font: inherit;
  min-height: 48px;
  padding: 12px 14px;
}

textarea {
  resize: vertical;
}

.full-field {
  grid-column: 1 / -1;
}

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--blue);
  font-weight: 800;
}

.stars {
  color: #ffd166;
}

.about-location {
  grid-template-columns: 0.9fr 1.1fr;
}

.text-link {
  color: var(--blue);
  font-weight: 800;
}

iframe {
  width: 100%;
  height: 310px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  filter: grayscale(1) invert(0.9) contrast(0.9);
}

.plans-grid,
.reviews-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.faq-section {
  background: #080b10;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 12px 0 0;
}

.final-cta {
  padding: clamp(70px, 11vw, 130px) 18px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(6, 8, 12, 0.42), rgba(6, 8, 12, 0.9)),
    linear-gradient(90deg, rgba(6, 8, 12, 0.86), rgba(6, 8, 12, 0.42), rgba(6, 8, 12, 0.86)),
    url("assets/bottom-cta.jpeg") center 48% / cover;
  filter: contrast(1.08) saturate(0.88);
}

.final-cta .hero-actions {
  justify-content: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 26px clamp(18px, 5vw, 72px) 88px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.sticky-actions {
  display: none;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .services-grid,
  .gallery-grid,
  .reviews-grid,
  .plans-grid,
  .about-location,
  .booking-section {
    grid-template-columns: 1fr 1fr;
  }

  .booking-copy {
    position: static;
  }

  .proof-band {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .recommendation-card {
    position: static;
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 68px;
    padding-inline: 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand small,
  .header-phone {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding: 116px 18px 54px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(6, 8, 12, 0.55), #06080c 88%),
      linear-gradient(90deg, rgba(6, 8, 12, 0.88), rgba(6, 8, 12, 0.22));
  }

  .hero-media img {
    object-position: 40% center;
    transform: scale(1.12) translateX(5%);
  }

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

  .services-grid,
  .gallery-grid,
  .reviews-grid,
  .plans-grid,
  .about-location,
  .booking-section,
  .booking-form {
    grid-template-columns: 1fr;
  }

  .full-field {
    grid-column: auto;
  }

  .section {
    padding-inline: 18px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .sticky-actions {
    position: fixed;
    right: 12px;
    bottom: 14px;
    left: 12px;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(6, 8, 12, 0.9);
    font-weight: 900;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(18px);
  }

  .sticky-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
  }

  .sticky-actions a:last-child {
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    color: #03111d;
  }
}
