:root {
  --ink: #080808;
  --charcoal: #121212;
  --graphite: #202020;
  --muted: #6d6d6d;
  --line: #ded8cc;
  --paper: #ffffff;
  --soft: #f7f5f0;
  --gold: #c8a45d;
  --gold-dark: #8f6f2f;
  --silver: #d7dce0;
  --success: #1f7a4d;
  --radius: 8px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
  --max: 1220px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

a:hover {
  color: var(--gold-dark);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--gold);
  color: var(--ink);
  border-radius: var(--radius);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 8, 0.93);
  color: var(--paper);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 74px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.1;
  min-width: 192px;
}

.brand span:last-child {
  display: block;
  color: var(--silver);
  font-size: 0.76rem;
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
}

.nav-menu a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-menu a[aria-current="page"] {
  color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: transparent;
  color: var(--paper);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  text-align: center;
  transition: transform 160ms ease, background 160ms ease, border 160ms ease, color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: #d6b66f;
  color: var(--ink);
}

.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.btn-secondary:hover {
  color: var(--ink);
  background: var(--silver);
}

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

.btn-outline:hover {
  color: var(--paper);
  border-color: var(--gold);
}

.btn-dark {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btn-dark:hover {
  color: var(--paper);
  background: var(--graphite);
}

.hero {
  position: relative;
  min-height: 76svh;
  display: grid;
  align-items: end;
  color: var(--paper);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.42) 52%, rgba(0, 0, 0, 0.74)),
    var(--hero-image, url("../img/hero-car.jpg")) center / cover no-repeat;
  transform: scale(1.02);
}

.hero-inner {
  position: relative;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 92px 22px 58px;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-weight: 800;
  font-size: 0.95rem;
}

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

h1 {
  font-size: clamp(2.5rem, 7vw, 5.8rem);
  line-height: 0.95;
  margin-bottom: 22px;
  max-width: 920px;
}

.page-hero h1 {
  max-width: 900px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.03;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.24rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

.lead {
  font-size: clamp(1.06rem, 2vw, 1.28rem);
  color: rgba(255, 255, 255, 0.84);
  max-width: 690px;
}

.page-hero .lead {
  max-width: 760px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.section-actions.center-actions {
  justify-content: center;
}

.hero-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 760px;
  margin-top: 42px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-stat {
  padding: 18px;
  background: rgba(8, 8, 8, 0.62);
}

.hero-stat strong {
  display: block;
  color: var(--gold);
  font-size: 1.7rem;
  line-height: 1;
}

.hero-stat span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.section {
  padding: 84px 22px;
}

.section.alt {
  background: var(--soft);
}

.section.dark {
  background: var(--ink);
  color: var(--paper);
}

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.kicker {
  margin: 0 0 8px;
  color: var(--gold-dark);
  font-weight: 900;
}

.dark .kicker {
  color: var(--gold);
}

.muted {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
}

.card-body {
  padding: 24px;
}

.card p:last-child,
.panel p:last-child {
  margin-bottom: 0;
}

.card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.dark .card {
  background: #151515;
  border-color: rgba(255, 255, 255, 0.13);
}

.dark .card p {
  color: rgba(255, 255, 255, 0.75);
}

.service-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card .card-body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.service-card .text-link {
  margin-top: auto;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--gold-dark);
  font-weight: 900;
}

.dark .text-link {
  color: var(--gold);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 44px;
  align-items: center;
}

.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--charcoal);
}

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

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

.ba-item {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--charcoal);
}

.ba-item img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.ba-label {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 8px 12px;
  border-radius: var(--radius);
  background: rgba(8, 8, 8, 0.78);
  color: var(--paper);
  font-weight: 900;
}

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

.feature-list li {
  position: relative;
  padding-left: 30px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 12px;
  height: 12px;
  border: 2px solid var(--gold);
  border-radius: 50%;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pill-list a,
.pill-list span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  font-weight: 800;
}

.dark .pill-list a,
.dark .pill-list span {
  background: #151515;
  border-color: rgba(255, 255, 255, 0.15);
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.price-card .price {
  color: var(--gold-dark);
  font-size: 1.65rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.price-card .btn {
  margin-top: auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: var(--radius);
  background: #f0e6d2;
  color: #4d3712;
  font-weight: 900;
  font-size: 0.84rem;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-item {
  min-height: 128px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #111111;
}

.trust-item strong {
  color: var(--gold);
  font-size: 1.15rem;
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100%;
}

.stars {
  color: var(--gold-dark);
  font-weight: 900;
}

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

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 18px 20px;
}

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

details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.form-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--paper);
}

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

.form-field {
  display: grid;
  gap: 7px;
}

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

label {
  font-weight: 800;
  font-size: 0.95rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfc7b8;
  border-radius: var(--radius);
  padding: 13px 14px;
  background: #ffffff;
  color: var(--ink);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.contact-list a,
.contact-list span {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  font-weight: 800;
}

.mini-map {
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(8, 8, 8, 0.86), rgba(8, 8, 8, 0.62)),
    url("../img/detail-process.jpg") center / cover no-repeat;
  min-height: 360px;
  color: var(--paper);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.city-section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.city-section:last-child {
  border-bottom: 0;
}

.process {
  counter-reset: steps;
}

.process .card-body {
  position: relative;
}

.process .card-body::before {
  counter-increment: steps;
  content: counter(steps);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  font-weight: 900;
}

.map-section-inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.map-frame {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  margin-top: 36px;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.map-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 54px 22px 34px;
}

.not-found-main {
  min-height: 100svh;
  display: grid;
  align-items: center;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
  gap: 30px;
}

.footer-grid h2,
.footer-grid h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.footer-grid p,
.footer-grid a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  max-width: var(--max);
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.mobile-sticky {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 90;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-sticky.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(100% + 28px));
}

@media (max-width: 1040px) {
  .nav-menu {
    gap: 10px;
    font-size: 0.86rem;
  }

  .header-actions .btn-outline {
    display: none;
  }

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

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

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav-menu {
    position: fixed;
    inset: 74px 0 auto 0;
    display: none;
    padding: 22px;
    background: rgba(8, 8, 8, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav-menu.is-open {
    display: grid;
    gap: 10px;
  }

  .nav-menu a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .split,
  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }

  .hero-strip {
    grid-template-columns: 1fr;
  }

  .before-after {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .nav-wrap {
    min-height: 68px;
    padding: 0 16px;
  }

  .brand {
    font-size: 0.98rem;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .nav-menu {
    inset: 68px 0 auto 0;
  }

  .hero {
    min-height: 78svh;
  }

  .hero-inner {
    padding: 78px 18px 42px;
  }

  .section {
    padding: 62px 18px;
  }

  .grid.four,
  .trust-row,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .media-frame img,
  .card img {
    min-height: 260px;
    height: 260px;
  }

  .map-frame iframe {
    height: 300px;
  }

  .form-panel {
    padding: 20px;
  }

  .mobile-sticky {
    display: inline-flex;
  }

  body {
    padding-bottom: 76px;
  }
}
