:root {
  --ink: #0b1220;
  --ink-2: #3a4556;
  --muted: #6b7686;
  --line: #e7eaef;
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --brand: #0d6e5f;
  --brand-soft: #e6f3f0;
  --accent: #f5b83d;
  --wa: #16a34a;
  --wa-dark: #12863d;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, .05);
  --shadow: 0 1px 2px rgba(11, 18, 32, .04), 0 12px 32px -12px rgba(11, 18, 32, .14);
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0;
  font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 80px; /* room for the sticky bar on mobile */
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

.preview-banner {
  background: #fff7e0;
  color: #6b4e00;
  font-size: .8rem;
  text-align: center;
  padding: 7px 16px;
}

/* header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid rgba(231, 234, 239, .8);
}
.header-row { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 800; letter-spacing: -.03em; text-decoration: none; white-space: nowrap; }
.brand .glyph {
  width: 36px; height: 36px; padding: 3px; border-radius: 11px;
  background: var(--brand); color: #fff;
}
.nav { display: none; gap: 4px; margin-left: 20px; }
.nav a { text-decoration: none; color: var(--ink-2); font-size: .93rem; font-weight: 500; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: var(--bg-soft); color: var(--ink); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang-switch {
  font-size: .85rem; font-weight: 500; text-decoration: none; padding: 7px 12px;
  background: var(--bg-soft); border-radius: 999px; color: var(--ink-2);
}
.lang-switch:hover { background: var(--line); }
.header-phone { display: none; font-weight: 600; font-size: .93rem; text-decoration: none; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; }
.header-phone:hover { border-color: var(--ink-2); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 999px; border: 0;
  font: inherit; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: background-color .15s, box-shadow .15s, transform .1s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn .ico { width: 18px; height: 18px; flex: none; }
.btn-lg { padding: 15px 24px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 6px 16px -6px rgba(22, 163, 74, .55); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--ink-2); }

/* hero */
.hero {
  background:
    radial-gradient(900px 400px at 85% -10%, var(--brand-soft), transparent 70%),
    linear-gradient(180deg, #fbfcfd, #fff);
  padding: 36px 0 48px;
}
.hero-grid { display: grid; gap: 32px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 600; color: var(--brand);
  background: var(--brand-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.hero h1 { font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.6rem); font-weight: 800; letter-spacing: -.035em; max-width: 15ch; }
.lead { font-size: 1.1rem; color: var(--ink-2); max-width: 52ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 26px; }
.trust { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; font-size: .92rem; color: var(--ink-2); }
.trust li { display: flex; align-items: center; gap: 8px; }
.ico-check { width: 18px; height: 18px; flex: none; color: var(--brand); }

.hero-visual {
  position: relative; display: block; border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow); background: var(--bg-soft); text-decoration: none;
}
.hero-visual img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-chip {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow-sm);
}
.chip-badge { font-size: .72rem; font-weight: 700; background: var(--accent); color: var(--ink); border-radius: 999px; padding: 3px 9px; }
.chip-name { font-weight: 700; font-size: .95rem; }
.chip-price { margin-left: auto; font-size: .9rem; color: var(--muted); }
.chip-price strong { color: var(--ink); font-size: 1.2rem; }
.hero-visual-empty { padding: 48px; text-align: center; font-size: 1.2rem; }

/* sections */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-soft); }
.section-lead { color: var(--muted); margin-top: -4px; margin-bottom: 32px; font-size: 1.05rem; }

/* cars */
.car-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.car-grid.car-grid-single { grid-template-columns: minmax(0, 520px); justify-content: center; }
.car-card {
  position: relative;
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.car-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(11, 18, 32, .05), 0 20px 40px -16px rgba(11, 18, 32, .22); }
.car-media { position: relative; background: linear-gradient(180deg, #eef1f4, #f8f9fb); padding: 18px 18px 6px; }
.car-media.has-photo { padding: 0; background: #eef1f4; }
.car-media img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.car-art { display: block; width: 100%; height: auto; }
.badge {
  position: absolute; top: 12px; right: 12px;
  background: rgba(11, 18, 32, .78); color: #fff; font-size: .72rem; font-weight: 700;
  padding: 4px 9px; border-radius: 999px; backdrop-filter: blur(6px);
}
.badge-deal { left: 12px; right: auto; background: var(--accent); color: var(--ink); }
.car-card-deal { box-shadow: 0 0 0 2px var(--accent), var(--shadow); }
.car-body { padding: 18px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.car-body h3 { font-size: 1.12rem; margin-bottom: 8px; }
.car-year { color: var(--muted); font-weight: 500; font-size: .9rem; }
.specs { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.specs li { font-size: .8rem; font-weight: 500; color: var(--ink-2); background: var(--bg-soft); border-radius: 999px; padding: 4px 10px; }
.tiers { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .82rem; margin-bottom: 16px; text-align: center; background: var(--bg-soft); border-radius: var(--radius-sm); }
.tiers th { color: var(--muted); font-weight: 500; padding: 8px 4px 0; }
.tiers td { padding: 2px 4px 8px; font-weight: 700; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { margin: 0; line-height: 1.1; }
.price strong { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.price .from, .price .per { color: var(--muted); font-size: .85rem; }
.photo-note { margin: 18px 0 0; font-size: .82rem; color: var(--muted); }

/* included */
.included { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
.included li {
  display: flex; gap: 14px; background: #fff;
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm);
}
.included .ico-check {
  width: 36px; height: 36px; padding: 8px; border-radius: 10px; flex: none;
  background: var(--brand-soft); color: var(--brand);
}
.included h3 { margin-bottom: 4px; }
.included p { margin: 0; color: var(--ink-2); font-size: .93rem; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
.steps li { position: relative; background: var(--bg-soft); border-radius: var(--radius); padding: 22px; }
.step-num {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 12px;
  background: var(--ink); color: #fff; font-weight: 800; margin-bottom: 14px;
}
.steps p { color: var(--ink-2); margin: 0; font-size: .95rem; }

/* form */
.booking {
  background: #fff; border-radius: 22px;
  box-shadow: var(--shadow); padding: 22px; display: grid; gap: 16px;
}
.row-2 { display: grid; gap: 16px; grid-template-columns: 1fr; }
.booking label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.booking input, .booking select, .booking textarea {
  font: inherit; font-size: 1rem; font-weight: 400; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; background: var(--bg-soft); width: 100%;
  min-height: 50px; transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.booking textarea { resize: vertical; }
.booking input:focus, .booking select:focus, .booking textarea:focus {
  outline: none; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.estimate { margin: 0; color: var(--ink-2); min-height: 1.2em; }
.estimate:empty { display: none; }
.estimate strong { color: var(--ink); }
.form-error { margin: 0; color: #b42318; font-weight: 600; }
.form-error:empty { display: none; }
.fine { font-size: .8rem; color: var(--muted); margin: 0; text-align: center; }
.thanks { background: #fff; border-radius: 22px; padding: 28px; text-align: center; box-shadow: var(--shadow); }

/* faq */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--bg-soft); border-radius: var(--radius-sm); padding: 0 18px; }
.faq summary {
  cursor: pointer; list-style: none; font-weight: 600; padding: 16px 32px 16px 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--ink-2); margin: 0 0 16px; }

/* text pages */
.prose h1 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.5rem); font-weight: 800; margin-top: 8px; }
.prose h2 { font-size: 1.2rem; margin-top: 1.8em; }
.prose p { color: var(--ink-2); }
.credits li { margin-bottom: 8px; color: var(--ink-2); word-break: break-word; }

/* footer */
.site-footer { background: var(--ink); color: #aab4c3; padding: 48px 0 28px; font-size: .93rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.brand-footer { color: #fff; margin-bottom: 12px; }
.footer-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 20px; padding-top: 18px; font-size: .8rem; color: #7d8898; }

/* sticky contact bar (mobile) */
.sticky-bar {
  position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 30;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px;
  padding: 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -10px rgba(11, 18, 32, .3), inset 0 0 0 1px var(--line);
}
.sticky-bar .btn { padding: 12px; }
.sticky-bar .btn-ghost { box-shadow: none; background: var(--bg-soft); }

@media (min-width: 640px) {
  .car-grid { grid-template-columns: repeat(2, 1fr); }
  .included { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .row-2 { grid-template-columns: 1fr 1fr; }
  .trust { display: flex; flex-wrap: wrap; gap: 10px 22px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .booking { padding: 30px; }
}

@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .sticky-bar { display: none; }
  .nav { display: flex; }
  .header-phone { display: inline-block; }
  .hero { padding: 72px 0 88px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .car-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .included { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 96px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .car-card, .btn { transition: none; }
}
