:root {
  --bg: #EAEDEF;
  --surface: #F5F7F8;
  --fg: #12181B;
  --muted: #59646A;
  --border: #D3D9DC;
  --accent: #B7DB00;
  --accent-on: #12181B;
  --ink: #161C20;
  --font-display: "Unbounded", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
  --radius: 0px;
  --space-section: 88px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin: 0 0 16px;
  text-wrap: balance;
}

p { margin: 0 0 16px; max-width: 68ch; }
a { color: inherit; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: 20px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 16px;
  z-index: 50;
}
.skip:focus { left: 0; }

/* ---------- header ---------- */
.top {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}
.top-in {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 64px;
  flex-wrap: wrap;
  padding-block: 10px;
}
.mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  letter-spacing: -0.01em;
  line-height: 1.2;
  display: block;
}
.mark span {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.nav {
  display: flex;
  gap: 18px;
  margin-left: auto;
  flex-wrap: wrap;
}
.nav a {
  font-size: 14px;
  text-decoration: none;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.nav a:hover { color: var(--fg); border-bottom-color: var(--fg); }
.phone {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--fg);
  padding: 9px 14px;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.phone:hover { background: var(--fg); color: var(--bg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid var(--fg);
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.btn-accent { background: var(--accent); color: var(--accent-on); border-color: var(--accent); }
.btn-accent:hover { background: var(--fg); color: var(--accent); }
.btn-line { background: transparent; color: var(--fg); }
.btn-line:hover { background: var(--fg); color: var(--bg); }
.btn:active { transform: scale(0.985); }
.btn:focus-visible,
.nav a:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.link { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.link:hover { text-decoration-thickness: 2px; }

/* ---------- hero ---------- */
.hero { padding-top: 40px; }
.hero-in {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
.hero-txt h1 { font-size: clamp(2rem, 5.2vw, 3.3rem); }
.lead {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.sub { font-size: 17px; color: #2C353A; }
.hero-act { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 22px; }
.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}
.facts li {
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-size: 14.5px;
  color: #2C353A;
}
.hero-media {
  position: relative;
  border: 1px solid var(--border);
  background: var(--surface);
}
.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.hero-media figcaption {
  border-top: 1px solid var(--border);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- price plate ---------- */
.plate {
  background: var(--accent);
  color: var(--accent-on);
  padding: 16px 18px;
}
.plate b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}
.plate span { font-size: 13px; letter-spacing: 0.02em; }

/* ---------- fleet table ---------- */
.fleet-table { margin-top: 40px; }
.ft-head, .ft-row {
  display: grid;
  grid-template-columns: 1.4fr 0.5fr 0.8fr 1.1fr 0.9fr 1fr;
  gap: 10px;
  align-items: baseline;
}
.ft-head {
  background: var(--ink);
  color: #EDF1F2;
  padding: 10px 14px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ft-row {
  display: grid;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 14px;
  font-size: 15px;
}
.ft-row:hover { background: #ECF1F2; }

@media (max-width: 767px) {
  .ft-head { display: none; }
  .ft-row { grid-template-columns: 1fr; gap: 2px; padding: 12px 14px; }
  .ft-row span {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    font-size: 14px;
    color: #2C353A;
  }
  .ft-row span::before { content: attr(data-label); color: var(--muted); }
  .ft-row .ft-name {
    display: block;
    font-size: 16px;
    padding-bottom: 6px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--border);
  }
  .ft-row .ft-name::before { content: none; }
  .ft-row .ft-price { font-weight: 600; }
}

.ft-name { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.ft-num { font-variant-numeric: tabular-nums; }
.ft-price { font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- sections ---------- */
section { padding-block: var(--space-section); }
.sec-title { font-size: clamp(1.45rem, 2.8vw, 2rem); }
.sec-note { color: var(--muted); margin-bottom: 28px; max-width: 60ch; }

/* ---------- cars ---------- */
.car {
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr;
}
.car-media { position: relative; }
.car-media > img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.car-pair { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 24px; }
.car-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.car-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  margin: 0;
  line-height: 1.15;
}
.car-year {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}
.specs { margin: 0; border-top: 1px solid var(--border); }
.specs div {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  font-size: 14.5px;
}
.specs dt { color: var(--muted); margin: 0; }
.specs dd { margin: 0; text-align: right; font-weight: 500; }
.car-foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.car-note { font-size: 13px; color: var(--muted); flex: 1 1 220px; }
.more { border-top: 1px solid var(--border); }
.more summary {
  cursor: pointer;
  padding: 10px 14px;
  font-size: 14px;
  list-style: none;
  position: sticky;
  bottom: 0;
  background: var(--surface);
}
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: "+ "; color: var(--muted); }
.more[open] summary::before { content: "– "; }
.more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 14px 14px;
}
.more-grid img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }

/* ---------- mileage bar ---------- */
.mileage { display: block; }
.mileage-label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}
.mileage-label b { color: var(--fg); font-variant-numeric: tabular-nums; font-weight: 600; }
.mileage-bar { display: flex; gap: 4px; height: 10px; }
.mileage-bar i { flex: 1; background: var(--fg); display: block; }
.mileage-bar.free i { background: var(--fg); }

/* ---------- steps ---------- */
.steps { border-top: 1px solid var(--border); }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.step h3 { font-size: 1.05rem; margin: 0 0 6px; }
.step p { margin: 0; color: #2C353A; font-size: 15.5px; }

/* ---------- terms ---------- */
.terms-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.terms-col h3 { font-size: 1.05rem; }
.dl { margin: 0; border-top: 1px solid var(--border); }
.dl div {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.dl dt { color: var(--muted); margin: 0; }
.dl dd { margin: 0; text-align: right; font-weight: 600; }
.terms-note {
  margin-top: 28px;
  padding: 16px 0 0;
  border-top: 1px solid var(--fg);
  font-size: 15px;
}

/* ---------- faq ---------- */
.faq-list { border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary {
  cursor: pointer;
  padding: 16px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--muted); font-family: var(--font-body); }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin: 0 0 18px; color: #2C353A; font-size: 15.5px; }

/* ---------- booking ---------- */
.booking-in { display: grid; grid-template-columns: 1fr; gap: 28px; }
.booking-txt p { color: #2C353A; }
.form {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: #2C353A; }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--fg);
  background: #fff;
  border: 1px solid var(--border);
  padding: 12px 12px;
  min-height: 46px;
  width: 100%;
  border-radius: var(--radius);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8C969C; }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.consent { font-size: 13px; color: var(--muted); margin: 0; flex: 1 1 240px; }
.form-status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 14px;
  background: #FFF3F3;
  border: 1px solid #E6B9B9;
  font-size: 14.5px;
}
.done { grid-column: 1 / -1; }
.done-title { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin: 0 0 8px; }
.done-text { margin: 0; color: #2C353A; }
.privacy {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
  max-width: 75ch;
}

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #D8DEE1; padding-block: 40px; }
.foot-in { display: grid; grid-template-columns: 1fr; gap: 10px; }
.foot-title { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: #fff; margin: 0; }
.foot p { margin: 0; font-size: 14.5px; }
.foot-phone { color: var(--accent); border-color: var(--accent); justify-self: start; }
.foot-phone:hover { background: var(--accent); color: var(--ink); }

/* ---------- mobile bar ---------- */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: var(--bg);
  border-top: 1px solid var(--border);
  z-index: 30;
}
.mb-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--fg);
  transition: background-color 0.18s ease, color 0.18s ease;
}
.mb-btn.mb-accent { background: var(--accent); color: var(--accent-on); border-color: var(--accent); }
.mb-btn.mb-accent:hover { background: var(--fg); color: var(--accent); }
.mb-btn:not(.mb-accent):hover { background: var(--fg); color: var(--bg); }

/* ---------- breakpoints ---------- */
@media (min-width: 560px) {
  .more-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-in { grid-template-columns: 1fr auto; align-items: center; }
  .foot-phone { justify-self: end; }
}

@media (min-width: 768px) {
  section { padding-block: 72px; }
  .hero { padding-top: 56px; }
  .hero-in { grid-template-columns: 1.05fr 0.95fr; gap: 40px; }
  .hero-media img { aspect-ratio: 4 / 5; }
  .ft-head, .ft-row { grid-template-columns: 1.5fr 0.5fr 0.9fr 1.2fr 1fr 1fr; }
  .terms-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .booking-in { grid-template-columns: 0.8fr 1.2fr; gap: 48px; }
  .form { padding: 28px; }
}

@media (min-width: 1024px) {
  .car-pair { grid-template-columns: 1fr 1fr; gap: 32px; }
  .car { grid-template-columns: 0.85fr 1.15fr; }
  .car-media > img { aspect-ratio: 3 / 4; height: 100%; }
  .car-rev .car-media { order: 2; }
  .car-body { padding: 28px; }
}

@media (min-width: 900px) {
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
}

@media (max-width: 899px) {
  body { padding-bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* SEO text block */
#seo-text { padding: 56px 0 8px; }
#seo-text p { max-width: 70ch; margin: 0 0 14px; }
#seo-text h3 { margin: 26px 0 10px; font-family: "Unbounded", sans-serif; font-size: 18px; }
#seo-text .link { color: inherit; }
