:root {
  --ink: #e8e2d6;
  --muted: #b7ad9c;
  --navy: #07111f;
  --navy-2: #101b2e;
  --card: #132033;
  --line: rgba(212, 175, 106, 0.35);
  --gold: #d4af6a;
  --gold-2: #f0d7a2;
  --danger: #c45b4a;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, .btn { font-family: inherit; }

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  background: rgba(7, 17, 31, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 0;
  flex-wrap: nowrap;
}
.nav-panel { display: contents; }
.nav-links { display: flex; align-items: center; gap: 22px; margin-left: auto; white-space: nowrap; }
.burger {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; }
.brand strong { display: block; letter-spacing: 0.16em; font-size: 13px; }
.brand span { color: var(--muted); font-size: 12px; }
.nav a { color: var(--muted); font-size: 14px; }
.nav a:hover { color: var(--gold-2); }
.langs { display: flex; gap: 6px; }
.langs button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer;
}
.langs button.active { background: var(--gold); color: #1a1408; border-color: var(--gold); }

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  background: #000 center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.2), rgba(7, 17, 31, 0.92));
}
.hero .wrap { position: relative; z-index: 1; padding: 80px 0 64px; }
.eyebrow {
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 12px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: 0.01em; }
h1 { font-size: clamp(46px, 7vw, 86px); line-height: 0.95; margin: 0 0 18px; }
h2 { font-size: clamp(34px, 4vw, 52px); margin: 0 0 12px; }
.lead { max-width: 640px; color: var(--muted); font-size: 18px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #1a1408;
  font-weight: 700;
}
.btn.ghost { background: transparent; color: var(--gold-2); }

section { padding: 84px 0; }
.section-head { max-width: 680px; margin-bottom: 32px; }
.section-head p { color: var(--muted); }

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

.card, .step, .review, .car {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.card, .step, .review { padding: 22px; }
.card h3, .step h3 { margin: 8px 0; font-size: 28px; }
.card p, .step p, .review p { color: var(--muted); margin: 0; }
.num { color: var(--gold); font-family: var(--serif); font-size: 28px; }

.car { overflow: hidden; display: grid; grid-template-columns: 220px 1fr; }
.car img { height: 100%; min-height: 180px; object-fit: cover; }
.car div { padding: 18px 18px 18px 16px; }
.car h3 { margin: 0 0 6px; font-size: 30px; }
.price { color: var(--gold-2); font-weight: 700; margin: 8px 0; }
.meta { color: var(--muted); font-size: 14px; }

.review header { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.review strong { font-family: var(--serif); font-size: 24px; }
.stars { color: var(--gold); letter-spacing: 2px; }

.contact {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}
.address { color: var(--muted); }
.address p { margin: 0 0 8px; }
.note { font-size: 14px; color: var(--gold-2); }

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 28px 0 40px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .burger { display: inline-flex; }
  .nav-inner { flex-wrap: wrap; }
  .nav-panel {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 6px 0 16px;
  }
  .nav.is-open .nav-panel { display: flex; }
  .nav-links { flex-direction: column; align-items: flex-start; gap: 14px; margin-left: 0; white-space: normal; }
  .nav.is-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .burger span:nth-child(2) { opacity: 0; }
  .nav.is-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .services, .steps, .reviews, .contact, .catalog { grid-template-columns: 1fr; }
  .car { grid-template-columns: 1fr; }
  .car img { height: 210px; }
}
