/* GS Autoselect — site styles
   Palette: black / off-white, one champagne accent.
   Type: Onest throughout. Its zero is a clean oval with no slash or dot, and it
   carries true tabular figures, so prices and mileage still line up in columns
   without a second typeface. */
:root {
  --ink: #0C0C0D;
  --ink-2: #111113;
  --ink-3: #1B1B1D;
  --paper: #F4F4F2;
  --paper-2: #EDEDEA;
  --white: #FFFFFF;
  --mute: #8C8C8A;      /* muted text on dark surfaces: 5.8:1 on ink */
  --text-2: #4A4A48;
  --line-d: #232325;
  --line-d2: #2C2C2F;
  --line-l: #DCDCD8;
  --line-l2: #8C8C88;   /* control borders on light: 3.4:1 on white */
  --accent: #C9B48B;
  --sans: 'Onest', system-ui, -apple-system, sans-serif;
  --data: 'Onest', system-ui, sans-serif;
  --mark: 'Onest', system-ui, sans-serif;
  --gutter: 80px;
  --nav-h: 88px;
}
/* --mute has to differ by surface: #8C8C8A reads 5.8:1 on ink but only 2.9:1 on
   paper. Light regions get a darker muted tone; dark regions inside a light page
   set it back. Both sides clear 4.5:1. */
.section--paper, .section--paper2, .on-light, .admin, .drawer__panel,
.site-header.is-light { --mute: #6B6A66; }
.section--ink, .site-footer, .buybox, .admin__side, .hero, .qsearch,
.card--dark, .tier { --mute: #8C8C8A; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; transition: color .15s ease, opacity .15s ease; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.wrap { padding-left: var(--gutter); padding-right: var(--gutter); max-width: 1600px; margin: 0 auto; }
.h-display { font-size: 44px; font-weight: 300; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.h-display em { font-style: normal; font-weight: 700; letter-spacing: -.03em; }
.lead { font-size: 15.5px; line-height: 1.65; color: #B9B9B5; text-wrap: pretty; }
.on-light .lead { color: var(--text-2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons */
/* One cell, not two. The arrow is gone, so the old label-cell / action-cell pair
   collapsed onto a single span that matched both rules: it became a 52px square
   with the label spilling out, and hover flashed the whole button. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border: 1px solid var(--paper); background: var(--paper); color: var(--ink);
  font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  transition: background .18s ease, color .18s ease, border-color .18s ease; }
.btn > span { display: inline-flex; align-items: center; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
/* a quiet shift, not an inversion */
.btn:hover { background: #DDDBD4; border-color: #DDDBD4; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--paper); border-color: #4A4A4C; }
.btn--ghost:hover { background: rgba(244,244,242,.07); border-color: var(--paper); color: var(--paper); }
.on-light .btn { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.on-light .btn:hover { background: #26262A; border-color: #26262A; color: var(--paper); }
.on-light .btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-l2); }
.on-light .btn--ghost:hover { background: rgba(12,12,13,.05); border-color: var(--ink); color: var(--ink); }
.btn--sm { height: 44px; padding: 0 18px; font-size: 11.5px; }
.btn--wide { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; padding-bottom: 6px; border-bottom: 1px solid currentColor; }
.link-arrow svg { width: 16px; height: 16px; }
.icon { width: 16px; height: 16px; flex-shrink: 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: var(--ink); color: var(--paper); border-bottom: 1px solid var(--line-d); }
.site-header.is-light { background: var(--paper); color: var(--ink); border-bottom-color: var(--line-l); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand:hover { color: inherit; }
/* The monogram is a traced SVG used as a mask, so it takes the text colour of
   whatever surface it sits on: white on the dark header, ink on light pages. */
.brand__mark { display: block; width: 44px; height: 44px; flex-shrink: 0; background-color: currentColor;
  -webkit-mask: url("../img/logo.svg") center / contain no-repeat; mask: url("../img/logo.svg") center / contain no-repeat; }
.brand__name { display: flex; flex-direction: column; gap: 2px; }
.brand__name b { font-family: var(--mark); font-size: 17px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; }
.brand__name span { font-family: var(--mark); font-size: 9px; letter-spacing: .3em; text-transform: uppercase; color: var(--mute); }
.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav a { position: relative; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; padding-bottom: 4px; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .22s cubic-bezier(.3,0,.2,1); }
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav a.is-active::after { transform: scaleX(1); }
.header-right { display: flex; align-items: center; gap: 28px; }
.lang { display: flex; align-items: center; gap: 2px; }
.lang button { font-family: var(--data); display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 44px; font-size: 12px; letter-spacing: .16em; padding: 0 8px; color: var(--mute); border-bottom: 1px solid transparent; }
.lang button.is-active { color: inherit; border-bottom-color: currentColor; }
.header-phone { display: flex; align-items: center; gap: 8px; font-size: 14px; letter-spacing: .04em; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav-toggle svg { width: 24px; height: 24px; }
.mobile-menu { display: none; }

/* Hero */
.hero { position: relative; min-height: 760px; overflow: hidden; background: var(--ink); display: flex; align-items: center; }
/* .wrap is a flex item here. Without an explicit width it shrinks to its content
   and `margin: 0 auto` then centres that block, which pulled the hero copy into
   the middle of wide screens. Make it fill the hero so the text keeps the gutter. */
.hero > .wrap { width: 100%; flex: 1 1 auto; }
.hero__img { position: absolute; inset: 0; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; opacity: .55; }
.hero__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,12,13,.96) 0%, rgba(12,12,13,.82) 38%, rgba(12,12,13,.25) 70%, rgba(12,12,13,.35) 100%), linear-gradient(180deg, rgba(12,12,13,0) 60%, rgba(12,12,13,.9) 100%); }
.hero__body { position: relative; display: flex; flex-direction: column; gap: 28px; max-width: 640px; padding: 120px 0 200px; }
.hero__title { font-size: 72px; font-weight: 300; line-height: 1.04; letter-spacing: -.025em; text-wrap: balance; }
.hero__title em { display: block; font-style: normal; font-weight: 700; letter-spacing: -.03em; }
.hero__lead { max-width: 520px; font-size: 18px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.hero__caption { position: absolute; right: var(--gutter); bottom: 132px; z-index: 2; display: flex; flex-direction: column; gap: 3px; padding: 10px 15px; background: var(--ink); border: 1px solid var(--line-d); }
.hero__caption span:first-child { font-size: 13.5px; font-weight: 600; color: var(--paper); }
.hero__caption span:last-child { font-family: var(--data); font-size: 11px; color: var(--mute); }

/* Quick search */
.qsearch { position: relative; margin-top: -112px; z-index: 2; }
.qsearch__bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) 260px; background: #121214; border: 1px solid var(--line-d2); }
.qsearch__bar .field { border-right: 1px solid var(--line-d); }
.qsearch__bar .btn { height: auto; border: 0; }
.field { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 14px 20px; }
.field::before { content: ""; position: absolute; inset: -1px 0 auto; height: 2px; background: var(--paper); transform: scaleX(0); transform-origin: left; transition: transform .22s cubic-bezier(.3,0,.2,1); }
.field:hover::before, .field:focus-within::before { transform: scaleX(1); }
.field label, .field__label { font-family: var(--data); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.field select, .field input { width: 100%; background: transparent; border: 0; padding: 0; font-size: 15px; color: var(--paper); outline: none; appearance: none; -webkit-appearance: none; }
.field select option { color: var(--ink); }
.field__control { position: relative; }
.field__control::after { content: ""; position: absolute; right: 2px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--mute); border-bottom: 1.5px solid var(--mute); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field__control--plain::after { display: none; }

/* Sections */
.section { padding: 96px 0; }
.section--paper { background: var(--paper); color: var(--ink); }
.section--paper2 { background: var(--paper-2); color: var(--ink); }
.section--ink { background: var(--ink); color: var(--paper); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 48px; }
.section__head .stack { display: flex; flex-direction: column; gap: 14px; }
.section__head .stack:only-child, .catalog-head .stack { gap: 0; }
.section__head .lead { max-width: 420px; }

.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* A rule grid, not nine floating cards: every cell is bounded by hairlines,
   and the outer edges of the grid stay open. */
.service { display: flex; flex-direction: column; gap: 12px; padding: 30px 32px 34px; border-left: 1px solid var(--line-l); border-top: 1px solid var(--line-l); }
.services > .service:nth-child(3n+1) { border-left: 0; padding-left: 0; }
.services > .service:nth-child(-n+3) { border-top: 1px solid var(--ink); }
.service__icon { display: block; width: 26px; height: 26px; color: var(--ink); }
.service__icon svg { width: 100%; height: 100%; display: block; }
.service__title { font-size: 15px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.3; }
.service p { font-size: 14.5px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.service .link-arrow { border: 0; padding: 0; margin-top: 6px; align-self: flex-start; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; background: transparent; color: var(--ink); }
.card:hover { color: var(--ink); }
.card__img { position: relative; aspect-ratio: 16 / 10; background: var(--ink-3); overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.card:hover .card__img img { transform: scale(1.03); }
.card__body { display: flex; flex-direction: column; gap: 7px; padding-top: 13px; margin-top: 13px; border-top: 1px solid var(--line-l); transition: border-color .18s; }
.card:hover .card__body { border-top-color: var(--ink); }
.card__title { font-size: 17px; font-weight: 500; letter-spacing: .02em; line-height: 1.25; }
.card__meta { font-family: var(--data); font-size: 12.5px; color: var(--mute); }
.card__price { font-family: var(--data); font-size: 19px; font-weight: 700; margin-top: 3px; }
.badge { position: absolute; top: 0; left: 0; font-family: var(--data); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: 5px 10px; }
.badge--dark { background: var(--ink); color: var(--paper); }
.card--dark { background: var(--ink-2); border-color: var(--line-d); color: var(--paper); }
.card--dark:hover { color: var(--paper); border-color: #4A4A4C; }

/* Rentals */
.rentals { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 80px; align-items: start; }
.rentals__intro { display: flex; flex-direction: column; gap: 22px; }
.rentals__intro a.u { border-bottom: 1px solid var(--mute); }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tier { display: flex; flex-direction: column; background: var(--ink-2); border: 1px solid var(--line-d); }
.tier__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-3); }
.tier__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.tier__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; }
.tier__title { font-size: 18px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.tier__ex { font-size: 13.5px; color: var(--mute); line-height: 1.5; }
.tier__price { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line-d); }
.tier__price small { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.tier__price b { font-family: var(--data); font-size: 20px; font-weight: 700; }
.tier__price span { font-size: 13px; color: var(--mute); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.step { display: flex; flex-direction: column; gap: 14px; padding-top: 22px; border-top: 1px solid var(--ink); }
.step__n { font-family: var(--data); font-size: 11px; letter-spacing: .16em; color: var(--mute); }
.step__t { font-size: 19px; font-weight: 500; }
.step p { font-size: 14.5px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }

/* About */
.about { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: center; }
.about__text { display: flex; flex-direction: column; gap: 22px; }
.about__text p { font-size: 16px; line-height: 1.7; color: var(--text-2); text-wrap: pretty; }
.about__sig { display: flex; flex-direction: column; gap: 4px; padding-top: 18px; border-top: 1px solid var(--ink); width: 280px; }
.about__sig b { font-size: 15px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.about__sig span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.about__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-3); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; }
.contact__info { display: flex; flex-direction: column; gap: 22px; }
.contact__lines { display: flex; flex-direction: column; gap: 16px; margin-top: 10px; font-size: 16px; }
.contact__lines a, .contact__lines span { display: flex; align-items: center; gap: 14px; }
.contact__lines .icon { color: var(--mute); }
.form { display: flex; flex-direction: column; gap: 16px; background: var(--ink-2); border: 1px solid var(--line-d); padding: 32px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.form input, .form select, .form textarea { height: 48px; border: 1px solid #63636A; background: transparent; padding: 0 14px; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--paper); outline: none; appearance: none; -webkit-appearance: none; border-radius: 0; }
.form ::placeholder, .form input::placeholder, .form textarea::placeholder { color: #7E7E7B; opacity: 1; }
.drawer .form ::placeholder, .drawer .form input::placeholder, .drawer .form textarea::placeholder { color: #6B6A66; }
.form select option { color: var(--ink); }
.form textarea { height: 110px; padding: 12px 14px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent); }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 6px; }
.form__foot small { font-size: 12px; color: var(--mute); max-width: 300px; line-height: 1.5; }
.form__ok { padding: 14px 16px; border: 1px solid var(--accent); color: var(--accent); font-size: 14px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--paper); padding: 72px 0 40px; border-top: 1px solid var(--line-d); }
.site-footer .wrap { display: flex; flex-direction: column; }
.footer__top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; }
.footer__brand { display: flex; flex-direction: column; gap: 20px; }
.footer__brand .brand__mark { width: 56px; height: 56px; }
.footer__brand .brand__name b { font-size: 20px; }
.footer__tag { font-family: var(--data); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: #B9B9B5; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col span:first-child { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--mute); margin-bottom: 6px; }
.footer__col a, .footer__col p { font-size: 14px; color: #B9B9B5; line-height: 1.5; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-d); font-size: 12px; color: var(--mute); letter-spacing: .04em; }
.footer__bottom div { display: flex; gap: 24px; }

/* Catalogue */
.page-head { padding-top: 40px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-bottom: 26px; }
.crumbs b { font-weight: 400; color: var(--ink); }
.page-title { font-size: 52px; font-weight: 300; line-height: 1.04; letter-spacing: -.025em; text-wrap: balance; }
.catalog-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; padding-bottom: 28px; border-bottom: 1px solid var(--ink); }
.catalog-head .stack { display: flex; flex-direction: column; gap: 12px; }
.catalog-tools { display: flex; align-items: center; gap: 28px; }
.catalog-tools .count { font-size: 14px; color: var(--mute); }
.catalog-tools .count b { color: var(--ink); font-weight: 500; }
.sort { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border: 1px solid var(--line-l2); font-size: 14px; }
.sort span { color: var(--mute); }
.sort select { border: 0; background: transparent; outline: none; font-size: 14px; appearance: none; -webkit-appearance: none; padding-right: 18px; }
.catalog { display: flex; gap: 48px; align-items: flex-start; padding-bottom: 96px; }
.filters { display: flex; flex-direction: column; gap: 26px; width: 300px; flex-shrink: 0; }
.filters__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.filters__head b { font-size: 14px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.filters__head button { font-size: 12px; color: var(--mute); border-bottom: 1px solid var(--line-l); }
.f { display: flex; flex-direction: column; gap: 8px; }
.f > span { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.f .sel { position: relative; }
.f .sel::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--mute); border-bottom: 1.5px solid var(--mute); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.f select, .f input { width: 100%; height: 44px; border: 1px solid var(--line-l2); background: var(--white); padding: 0 14px; font-size: 14.5px; color: var(--ink); outline: none; appearance: none; -webkit-appearance: none; }
.f select:focus, .f input:focus { border-color: var(--ink); }
.f .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font-size: 13px; border: 1px solid var(--line-l2); background: var(--white); color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.checks { display: flex; flex-direction: column; gap: 4px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14.5px; min-height: 44px; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check i { width: 18px; height: 18px; border: 1px solid var(--line-l2); background: var(--white); display: flex; align-items: center; justify-content: center; }
.check i svg { width: 12px; height: 12px; opacity: 0; }
.check input:checked + i { background: var(--ink); border-color: var(--ink); }
.check input:checked + i svg { opacity: 1; }
.results { display: flex; flex-direction: column; gap: 32px; flex-grow: 1; min-width: 0; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-height: 32px; }
.active-filters > span:first-child { font-size: 12px; color: var(--mute); margin-right: 6px; }
.active-filters button { display: flex; align-items: center; gap: 8px; padding: 6px 12px; font-size: 13px; background: var(--white); border: 1px solid var(--line-l); }
.active-filters button span { color: var(--mute); }
.results .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.empty { padding: 64px 24px; text-align: center; color: var(--mute); border: 1px dashed var(--line-l2); }
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 16px; }
.pager button { min-width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 14px; border: 1px solid transparent; }
.pager button.is-on { border-color: var(--ink); }
.pager .next { width: auto; padding: 0 14px; gap: 8px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.filters-toggle { display: none; }

/* Vehicle */
.vehicle { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; padding-bottom: 96px; }
.vehicle__main { display: flex; flex-direction: column; gap: 40px; min-width: 0; }
.vehicle__title { display: flex; flex-direction: column; gap: 10px; }
.vehicle__title h1 { font-size: 48px; font-weight: 300; line-height: 1.05; }
.vehicle__title .sub { font-size: 16px; color: var(--mute); }
.gallery { display: flex; flex-direction: column; gap: 12px; }
.gallery__main { position: relative; aspect-ratio: 16 / 9; background: var(--ink-3); overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__main video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.gallery__main.is-video .gallery__count { top: 14px; bottom: auto; }
.gallery__thumbs button.is-video { position: relative; }
.gallery__thumbs video { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.gallery__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(12,12,13,.28); color: var(--paper); }
.gallery__play svg { width: 18px; height: 18px; filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)); }
.card__video { position: absolute; right: 0; bottom: 0; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; background: rgba(12,12,13,.78); color: var(--paper); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.card__video svg { width: 9px; height: 9px; }
.gallery__count { position: absolute; right: 16px; bottom: 14px; padding: 6px 10px; font-size: 11px; letter-spacing: .16em; background: rgba(12,12,13,.7); color: var(--paper); }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.gallery__thumbs button { min-height: 44px; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--line-l); background: var(--ink-3); padding: 0; }
.gallery__thumbs button.is-on { border-color: var(--ink); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.block { display: flex; flex-direction: column; gap: 18px; }
.block > h2 { font-size: 14px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; }
.spec { display: flex; flex-direction: column; gap: 6px; padding: 16px 0; border-top: 1px solid var(--line-l); }
.spec span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.spec b { font-family: var(--data); font-size: 15px; font-weight: 400; }
.spec__note { display: block; margin-top: 4px; font-size: 12.5px; color: var(--mute); }
/* a small painted disc with a soft highlight, like a paint chip */
.swatch-dot { display: inline-block; width: 12px; height: 12px; margin-right: 8px; border-radius: 50%; vertical-align: -1px;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.45), transparent 58%), var(--sw); box-shadow: inset 0 0 0 1px rgba(12,12,13,.2); }
.block p { font-size: 16px; line-height: 1.75; color: #3A3A38; max-width: 68ch; text-wrap: pretty; }
.equip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 32px; }
.equip div { display: flex; align-items: center; gap: 12px; font-size: 15px; min-height: 32px; }
.equip svg { width: 14px; height: 14px; color: var(--mute); flex-shrink: 0; }
.buybox { position: sticky; top: calc(var(--nav-h) + 24px); display: flex; flex-direction: column; gap: 22px; background: var(--ink); color: var(--paper); padding: 32px 32px 28px; }
.buybox .btn { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.buybox .btn:hover { background: var(--accent); border-color: var(--accent); }
.buybox .btn--ghost { background: transparent; color: var(--paper); border-color: #4A4A4C; }
.buybox .btn--ghost:hover { background: rgba(244,244,242,.07); border-color: var(--paper); color: var(--paper); }
.buybox__price { display: flex; flex-direction: column; gap: 6px; }
.buybox__price span { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.buybox__price b { font-family: var(--data); font-size: 34px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.buybox__price small { font-size: 13px; color: var(--mute); }
.buybox__actions { display: flex; flex-direction: column; gap: 10px; }
.buybox__actions .btn { width: 100%; }
.buybox__msg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: -12px; }
.buybox__msg .msg-btn { justify-content: center; padding: 0 10px; }
.buybox__contact { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line-d); font-size: 14.5px; }
.buybox__contact a { display: flex; align-items: center; gap: 12px; }
.buybox__contact .icon { color: var(--mute); }
.buybox__contact p { font-size: 13px; color: var(--mute); line-height: 1.5; }
.buybox__rent { display: flex; flex-direction: column; gap: 6px; padding-top: 20px; border-top: 1px solid var(--line-d); }
.buybox__rent span { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.similar { display: flex; flex-direction: column; gap: 28px; padding-bottom: 96px; }
.similar__head { display: flex; justify-content: space-between; align-items: flex-end; }
.similar__head h2 { font-size: 32px; font-weight: 300; }

/* Admin */
.admin { display: flex; min-height: 100vh; background: #ECECE9; color: var(--ink); }
.admin__side { width: 240px; flex-shrink: 0; background: var(--ink); color: var(--paper); display: flex; flex-direction: column; padding: 24px 0; position: sticky; top: 0; height: 100vh; }
.admin__brand { display: flex; align-items: center; gap: 12px; padding: 0 18px 28px; }
.admin__brand .brand__mark { width: 36px; height: 36px; }
.admin__brand b { font-family: var(--mark); font-size: 13px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; display: block; }
.admin__brand span { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.admin__nav { display: flex; flex-direction: column; gap: 2px; }
.admin__nav a { display: flex; align-items: center; gap: 14px; height: 48px; padding: 0 18px; font-size: 14.5px; color: #A9A9A5; border-left: 2px solid transparent; }
.admin__nav a svg { width: 18px; height: 18px; color: var(--mute); }
.admin__nav a.is-active { color: var(--paper); background: #1C1C1F; border-left-color: var(--paper); }
.admin__nav a.is-active svg { color: var(--paper); }
.admin__nav a:hover { color: var(--paper); }
.admin__nav .pill { margin-left: auto; font-size: 11px; padding: 2px 7px; background: var(--paper); color: var(--ink); }
.admin__user { display: flex; align-items: center; gap: 12px; margin-top: auto; padding: 18px 18px 0; border-top: 1px solid var(--line-d); font-size: 13.5px; }
.admin__user i { width: 32px; height: 32px; border-radius: 50%; background: var(--line-d2); display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 12px; }
.admin__user span { display: flex; flex-direction: column; gap: 2px; }
.admin__user small { font-size: 12px; color: var(--mute); }
.admin__main { flex-grow: 1; display: flex; flex-direction: column; gap: 24px; padding: 28px 36px; min-width: 0; }
.admin__head { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.admin__head h1 { font-size: 28px; font-weight: 400; }
.admin__head p { font-size: 13.5px; color: var(--mute); }
.admin__head .right { display: flex; gap: 12px; align-items: center; }
.admin-search { display: flex; align-items: center; gap: 10px; height: 44px; width: 280px; padding: 0 14px; background: var(--white); border: 1px solid var(--line-l2); }
.admin-search input { border: 0; outline: none; background: transparent; width: 100%; font-size: 14px; }
.admin-search svg { width: 18px; height: 18px; color: var(--mute); flex-shrink: 0; }
.btn--admin { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 20px; background: var(--ink); color: var(--paper); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.btn--admin:hover { background: #26262A; color: var(--paper); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; background: var(--white); border: 1px solid var(--line-l); }
.tile span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.tile b { font-family: var(--data); font-size: 30px; font-weight: 700; line-height: 1; }
.panel { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line-l); flex-grow: 1; }
.panel__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 0 20px; border-bottom: 1px solid var(--line-l); overflow-x: auto; }
.tabs { display: flex; gap: 24px; }
.tabs button { padding: 12px 2px; font-size: 13.5px; color: var(--mute); border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs button.is-on { color: var(--ink); border-bottom-color: var(--ink); }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; text-align: left; }
.table th { padding: 12px 16px; font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); white-space: nowrap; }
.table td { padding: 10px 16px; border-top: 1px solid var(--line-l); font-size: 14px; vertical-align: middle; }
.table td.title { font-size: 14.5px; font-weight: 500; }
.table td.dim { color: var(--text-2); }
.table td.mute { color: var(--mute); font-size: 13px; }
.table .thumb { width: 72px; height: 44px; object-fit: cover; background: var(--ink-3); display: block; }
.status { display: inline-block; padding: 5px 10px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; border: 1px solid transparent; white-space: nowrap; }
.status--published { background: var(--ink); color: var(--paper); }
.status--reserved { background: var(--paper); color: var(--ink); border-color: var(--line-l); }
.status--draft { background: #E4E4E0; color: var(--text-2); }
.status--sold { background: var(--white); color: var(--mute); border-color: var(--line-l); }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; }
.row-actions button { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 1px solid var(--line-l2); font-size: 12.5px; white-space: nowrap; }
.row-actions button:hover { border-color: var(--ink); }
.row-actions svg { width: 14px; height: 14px; }
.panel__foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding: 14px 20px; border-top: 1px solid var(--line-l); font-size: 13px; color: var(--mute); }
.drawer { position: fixed; inset: 0; z-index: 100; display: flex; justify-content: flex-end; background: rgba(12,12,13,.45); }
.drawer__panel { width: 520px; max-width: 100%; height: 100%; overflow-y: auto; background: var(--white); color: var(--ink); display: flex; flex-direction: column; gap: 20px; padding: 32px; }
.drawer__panel h2 { font-size: 22px; font-weight: 400; }
.drawer .form { background: transparent; border: 0; padding: 0; }
.drawer .form input, .drawer .form select, .drawer .form textarea { color: var(--ink); border-color: var(--line-l2); background: var(--white); }
.drawer .form input:focus, .drawer .form select:focus, .drawer .form textarea:focus { border-color: var(--ink); }
.drawer .form__foot { justify-content: flex-end; }
.drawer .btn { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.drawer .btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-l2); }
.dropzone { display: flex; align-items: center; justify-content: center; gap: 10px; height: 110px; border: 1px dashed var(--line-l2); font-size: 13px; color: var(--mute); text-transform: none; letter-spacing: 0; }
.dropzone svg { width: 18px; height: 18px; }



/* the catalogue's apply button fills the filter column */
.btn--wide { width: 100%; }


/* --- buy / rent tabs ------------------------------------------------------ */
.qsearch__tabs { display: flex; }
.qsearch__tabs button {
  min-height: 46px; padding: 0 24px; background: #121214; color: var(--mute);
  border: 1px solid var(--line-d2); border-bottom: 0; border-right: 0;
  font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  transition: background .18s, color .18s;
}
.qsearch__tabs button:last-child { border-right: 1px solid var(--line-d2); }
.qsearch__tabs button:hover { color: var(--paper); }
.qsearch__tabs button.is-on { background: var(--paper); color: var(--ink); border-color: var(--paper); }
/* the date inputs are native pickers; tell the browser they sit on a dark surface */
#qrent input[type="date"] { color-scheme: dark; cursor: pointer; }
#qrent output { font-size: 15px; color: var(--paper); }
#qrent output[data-empty="1"] { color: var(--mute); }


/* --- admin: extra chrome for the five views -------------------------------- */
.admin__main { gap: 20px; }
.admin__main .panel { flex-grow: 0; }
.admin__main .panel:last-of-type { flex-grow: 1; }
.linkish { font-size: 13px; color: var(--mute); white-space: nowrap; }
.linkish:hover { color: var(--ink); }
.admin__main fieldset legend { font-size: 11px; }
.admin__main .form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.admin__main label { display: flex; flex-direction: column; gap: 7px; }
.admin__main label > span { font-family: var(--data); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.admin__main input[type="text"], .admin__main input[type="tel"], .admin__main input[type="email"], .admin__main input[type="number"] {
  height: 44px; border: 1px solid var(--line-l2); background: var(--white); padding: 0 12px; font-size: 15px; color: var(--ink); border-radius: 0; outline: none;
}
.admin__main input:focus { border-color: var(--ink); }
.admin__main .form__foot { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.admin__main .table td { vertical-align: top; }
.admin__main .table td .dim { color: var(--mute); }
.acts a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid var(--line-l2); }
.acts a:hover { border-color: var(--ink); }
.acts a svg { width: 14px; height: 14px; }
@media (max-width: 900px) { .admin__main .form__row { grid-template-columns: 1fr; } }


/* --- status chip ---------------------------------------------------------- */
/* One component for every state in the admin: vehicles, rentals and enquiries.
   Outline is the quiet state, solid is the one that needs attention. */
.tag {
  display: inline-block; padding: 5px 10px; white-space: nowrap;
  font-family: var(--data); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  background: var(--white); color: var(--text-2); border: 1px solid var(--line-l2);
}
.tag--solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.section--ink .tag, .buybox .tag { background: transparent; color: var(--paper); border-color: #4A4A4C; }
.enq-msg { max-width: 46ch; white-space: normal; }

/* single-cell buttons: no arrow, so no divider either */


/* Numerals: one family, lined up by tabular figures rather than a monospace. */
.num, .card__meta, .card__price, .tier__price b, .buybox__price b, .spec b,
.table td, .pager button, .catalog-tools .count, .tile b, .gallery__count,
.vehicle__title .sub, .header-phone, .contact__lines a, .step__n, .lang button,
.footer__tag, .field label, .field__label, .form label > span, .f > span,
.enq-msg, .admin__main label > span, .tag {
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}


/* admin tables: dates, totals and names read on one line; only the message wraps */
.admin__main .table td, .admin__main .table th { white-space: nowrap; }
.admin__main .table td .enq-msg { white-space: normal; }

/* --- social links ---------------------------------------------------------- */
.socials { display: flex; align-items: center; gap: 2px; }
.footer__bottom .socials { gap: 2px; }
.socials a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; color: inherit; opacity: .78; transition: opacity .18s ease; }
.socials a:hover { opacity: 1; color: inherit; }
.socials svg { width: 18px; height: 18px; }
.footer__links { align-items: center; }
.mobile-menu .socials { margin-top: 18px; gap: 8px; }
.mobile-menu .socials a { width: 44px; height: 44px; padding: 0; opacity: 1; font-size: inherit; letter-spacing: 0; border: 1px solid var(--line-d2); }
/* six menu items: keep the wordmark, links and phone on one line, and drop the social
   icons (they are in the menu and the footer) before anything wraps */
.site-nav a, .header-phone, .brand__name b, .brand__name span { white-space: nowrap; }
@media (max-width: 1500px) { .socials--header { display: none; } }
@media (max-width: 1340px) {
  .site-header .wrap { gap: 18px; }
  .site-nav { gap: 24px; }
  .site-nav a { font-size: 12.5px; letter-spacing: .06em; }
  .header-right { gap: 18px; }
}

/* --- booking form: messengers, status line, spam trap ---------------------- */
.form__alt { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line-d); }
.form__alt > span { font-size: 12.5px; color: var(--mute); margin-right: 6px; }
.msg-btn { display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 16px; border: 1px solid #4A4A4C; color: var(--paper); font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; transition: border-color .18s ease, background .18s ease; }
.msg-btn:hover { color: var(--paper); border-color: var(--paper); background: rgba(244,244,242,.06); }
.msg-btn span { display: inline-flex; }
.msg-btn svg { width: 17px; height: 17px; }
.form__status { min-height: 20px; margin: 0; font-size: 14px; color: var(--paper); }
.form__status.is-error { color: #F0B8B8; }
.form button[disabled] { opacity: .6; cursor: progress; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* --- hero video: same treatment as the still ------------------------------ */
.hero__img video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .55; }

/* --- rentals: real cars, clickable --------------------------------------- */
.rentals__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.tiers--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tier__img { position: relative; }
a.tier { color: var(--paper); transition: border-color .18s ease; }
a.tier:hover { color: var(--paper); border-color: #4A4A4C; }
a.tier:hover .tier__img img { transform: scale(1.03); }
.tier--car .tier__title { font-size: 17px; letter-spacing: .01em; text-transform: none; line-height: 1.3; }
.card__rent { font-size: 13px; color: var(--mute); }
.card__rent b { font-family: var(--data); font-weight: 600; color: var(--ink); }
.card--dark .card__rent b { color: var(--paper); }
.card__per { font-size: 13px; font-weight: 400; color: var(--mute); }
.f--rent { padding-bottom: 6px; border-bottom: 1px solid var(--line-l); }
.f--rent .check { font-weight: 500; }
.buybox__rent .buybox__rate { font-size: 15px; letter-spacing: 0; text-transform: none; color: inherit; }
.buybox__rent .btn { margin-top: 8px; }
.buybox__rent .btn span { font-size: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; }

/* --- services page ---------------------------------------------------------- */
.svcp__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 40px; align-items: end; padding-bottom: 30px; border-bottom: 1px solid var(--ink); }
.svcp__lead { font-size: 16px; line-height: 1.7; color: var(--text-2); text-wrap: pretty; }
.svcp__jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 4px; }
.svcp__jump a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; font-size: 13px; color: var(--ink); border: 1px solid var(--line-l2); }
.svcp__jump a:hover { background: var(--white); border-color: var(--ink); color: var(--ink); }
.svcp__list { display: flex; flex-direction: column; }
.svcp__item { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 32px; padding: 42px 0; border-top: 1px solid var(--line-l); scroll-margin-top: calc(var(--nav-h) + 18px); }
.svcp__item:first-child { border-top: 0; }
.svcp__num { display: flex; flex-direction: column; gap: 12px; color: var(--mute); }
.svcp__num svg { width: 30px; height: 30px; }
.svcp__n { font-family: var(--data); font-size: 12px; letter-spacing: .18em; }
.svcp__body { display: flex; flex-direction: column; gap: 14px; max-width: 70ch; }
.svcp__body h2 { font-size: 26px; font-weight: 500; letter-spacing: -.01em; }
.svcp__intro { font-size: 17px; line-height: 1.6; color: var(--ink); }
.svcp__body p { font-size: 15.5px; line-height: 1.75; color: var(--text-2); text-wrap: pretty; }
.svcp__points { display: grid; gap: 7px; margin: 2px 0 0; padding: 0; list-style: none; }
.svcp__points li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.6; }
.svcp__points li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 10px; height: 1px; background: var(--ink); }
.svcp__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.svcp__acts .btn { height: 48px; background: var(--ink); border-color: var(--ink); color: var(--paper); }
.svcp__acts .btn:hover { background: #26262A; border-color: #26262A; color: var(--paper); }
.svcp__acts .btn--line { background: transparent; color: var(--ink); border-color: var(--line-l2); }
.svcp__acts .btn--line:hover { background: var(--white); border-color: var(--ink); color: var(--ink); }
.svcp__faq { margin-top: 10px; padding: 54px 0 70px; border-top: 1px solid var(--ink); }
.svcp__faq h2 { margin: 0 0 20px; font-size: 30px; font-weight: 400; letter-spacing: -.02em; }
.svcp__faq details { border-bottom: 1px solid var(--line-l); }
.svcp__faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; padding: 12px 0; font-size: 17px; cursor: pointer; list-style: none; }
.svcp__faq summary::-webkit-details-marker { display: none; }
.svcp__faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--mute); }
.svcp__faq details[open] summary::after { content: "–"; }
.svcp__faq p { margin: 0 0 22px; max-width: 70ch; font-size: 15.5px; line-height: 1.75; color: var(--text-2); }
.svcp__cta .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.svcp__cta h2 { font-size: 32px; font-weight: 400; letter-spacing: -.02em; }
.svcp__cta p { margin: 12px 0 0; max-width: 60ch; font-size: 15.5px; line-height: 1.65; color: #B9B9B5; }
.svcp__cta-acts { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 900px) {
  .svcp__head { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .svcp__item { grid-template-columns: 1fr; gap: 14px; padding: 32px 0; }
  .svcp__num { flex-direction: row; align-items: center; gap: 14px; }
  .svcp__cta .wrap { grid-template-columns: 1fr; }
}

/* --- rental availability calendar ------------------------------------------ */
.avail { position: relative; display: flex; flex-direction: column; gap: 12px; }
.avail__loading { margin: 0; font-size: 14px; color: var(--mute); }
.avail__nav { position: absolute; top: -6px; right: 0; display: flex; gap: 6px; }
.avail__arrow { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--line-l2); color: inherit; }
.avail__arrow svg { width: 15px; height: 15px; }
.avail__arrow:disabled { opacity: .3; cursor: default; }
.avail__months { display: grid; gap: 28px; }
.avail__months--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.avail__month h4 { display: flex; align-items: center; height: 28px; margin: 0 0 10px; font-size: 15px; font-weight: 600; }
.avail__wd, .avail__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.avail__wd span { padding-bottom: 6px; font-size: 11px; text-align: center; color: var(--mute); }
.avail__grid { gap: 2px; }
.avail__day, .avail__pad { min-height: 36px; }
.avail__day { display: flex; align-items: center; justify-content: center; border: 1px solid transparent; background: transparent; color: inherit;
  font-family: var(--data); font-size: 13.5px; font-variant-numeric: tabular-nums; cursor: pointer; }
.avail__day:not(:disabled):hover { border-color: currentColor; }
.avail__day:disabled { cursor: default; }
.avail__day.is-busy { color: var(--mute); text-decoration: line-through; background: repeating-linear-gradient(135deg, transparent 0 4px, rgba(140,140,138,.2) 4px 8px); }
.avail__day.is-busy.is-returnok { text-decoration: none; }
.avail__day.is-past { opacity: .35; }
.avail__day.is-today { box-shadow: inset 0 -2px 0 var(--accent); }
.avail__day.is-range { background: rgba(201,180,139,.24); }
.avail__day.is-start, .avail__day.is-end { background: var(--ink); border-color: var(--ink); color: var(--paper); text-decoration: none; }
.avail__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 12px; border-top: 1px solid var(--line-l); }
.avail__legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--mute); }
.avail__legend span { display: inline-flex; align-items: center; gap: 6px; }
.avail__legend i { width: 14px; height: 14px; border: 1px solid var(--line-l2); }
.avail__legend i.is-busy { background: repeating-linear-gradient(135deg, transparent 0 3px, rgba(140,140,138,.4) 3px 6px); }
.avail__legend i.is-pick { background: var(--ink); border-color: var(--ink); }
.avail__summary { margin: 0; font-size: 14px; font-weight: 500; }
.avail__summary.is-error { color: #9B2C2C; }
.avail__cta { margin-top: 18px; }
.avail__cta .btn { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.avail__cta .btn:disabled { opacity: .35; cursor: default; }
.tier__avail { font-size: 12.5px; }
.tier__avail.is-free { color: #8FC79F; }
.tier__avail.is-busy { color: var(--accent); }
.buybox__rent .buybox__free { font-size: 13px; letter-spacing: 0; text-transform: none; }
.buybox__rent .buybox__free.is-free { color: #8FC79F; }
.buybox__rent .buybox__free.is-busy { color: var(--accent); }
@media (max-width: 600px) { .avail__months--2 { grid-template-columns: 1fr; } }

/* --- enquiry dialog --------------------------------------------------------- */
.enq-dialog [hidden] { display: none !important; }
/* the dialog sits outside the dark page sections, so its buttons need the light-on-dark style of their own */
.enq-dialog .btn { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.enq-dialog .btn:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.enq-dialog__label { display: block; margin-bottom: 12px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.enq-dialog .avail__arrow { border-color: #4A4A4C; }
.enq-dialog .avail__day.is-start, .enq-dialog .avail__day.is-end, .enq-dialog .avail__legend i.is-pick { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.enq-dialog .avail__foot { border-top-color: var(--line-d); }
.enq-dialog .avail__legend i { border-color: #63636A; }
.enq-dialog .avail__summary.is-error { color: #F0B8B8; }
body.has-dialog { overflow: hidden; }
.enq-dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; overflow: auto;
  border: 1px solid var(--line-d2); background: var(--ink); color: var(--paper); color-scheme: dark; --mute: #8C8C8A; }
.enq-dialog::backdrop { background: rgba(12,12,13,.64); }
.enq-dialog__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 28px 0; }
.enq-dialog__head small { display: block; margin-bottom: 6px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.enq-dialog__head h2 { margin: 0; font-size: 22px; font-weight: 500; line-height: 1.25; }
.enq-dialog__x { flex-shrink: 0; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #4A4A4C; color: var(--paper); }
.enq-dialog__x:hover { border-color: var(--paper); }
.enq-dialog__x svg { width: 16px; height: 16px; }
.enq-dialog__car { display: flex; align-items: center; gap: 14px; margin: 18px 28px 0; padding-bottom: 18px; border-bottom: 1px solid var(--line-d); }
.enq-dialog__car img { width: 96px; aspect-ratio: 16 / 10; object-fit: cover; background: var(--ink-3); }
.enq-dialog__car b { font-family: var(--data); font-size: 17px; font-weight: 600; }
.enq-dialog__car span { display: block; margin-top: 3px; font-size: 13px; color: var(--mute); }
.enq-dialog .form { background: transparent; border: 0; padding: 20px 28px 26px; }
.enq-dialog__estimate { min-height: 20px; margin: -4px 0 0; font-size: 14px; color: var(--accent); }
.enq-dialog__done { display: flex; flex-direction: column; gap: 14px; padding: 24px 28px 30px; }
.enq-dialog__done h3 { margin: 0; font-size: 22px; font-weight: 500; }
.enq-dialog__done p { margin: 0; color: var(--mute); line-height: 1.55; }
@media (max-width: 600px) {
  .enq-dialog { inset: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; border: 0; }
  .enq-dialog__head, .enq-dialog .form, .enq-dialog__done { padding-left: 18px; padding-right: 18px; }
  .enq-dialog__car { margin-left: 18px; margin-right: 18px; }
  .enq-dialog .form__row { grid-template-columns: 1fr; }
  .enq-dialog .form__foot { flex-direction: column; align-items: stretch; }
}

/* --- keyboard focus ------------------------------------------------------ */
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 0; }
.section--ink :focus-visible, .site-footer :focus-visible, .hero :focus-visible,
.qsearch :focus-visible, .buybox :focus-visible, .admin__side :focus-visible { outline-color: var(--accent); }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible,
.f select:focus-visible, .f input:focus-visible { outline-offset: 2px; }

/* --- respect reduced motion ---------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}

/* --- pointer-friendly hit areas ------------------------------------------ */

/* --- browser surfaces ----------------------------------------------------- */
/* Selection, caret, scrollbars and underlines ship with defaults that belong to
   no design system. Theme them from the palette. */
::selection { background: var(--ink); color: var(--paper); }
.section--ink ::selection, .site-footer ::selection, .hero ::selection,
.qsearch ::selection, .buybox ::selection, .admin__side ::selection { background: var(--accent); color: var(--ink); }
input, textarea, select { caret-color: var(--ink); }
.form input, .form textarea, .form select, .field input, .field select { caret-color: var(--accent); }
a { text-underline-offset: .18em; text-decoration-thickness: 1px; }

html { scrollbar-color: #9A9A96 var(--paper); scrollbar-width: thin; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: #9A9A96; border: 3px solid var(--paper); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--text-2); }
.table-wrap::-webkit-scrollbar-track, .panel__bar::-webkit-scrollbar-track { background: var(--white); }
.table-wrap::-webkit-scrollbar-thumb, .panel__bar::-webkit-scrollbar-thumb { border-color: var(--white); }

/* --- numerals ------------------------------------------------------------- */
/* Prices, mileage and spec values sit in columns; lining tabular figures keep
   them from dancing between rows. */
.card__price, .card__meta, .tier__price b, .buybox__price b, .buybox__rent,
.spec b, .table td, .pager button, .catalog-tools .count, .tiles .tile b,
.gallery__count, .vehicle__title .sub, .header-phone, .contact__lines a {
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

/* --- invalid fields ------------------------------------------------------- */
/* Only after the visitor has actually left the field, never while typing. */
.form input:user-invalid, .form textarea:user-invalid, .form select:user-invalid { border-color: var(--accent); }
.form input:user-invalid:focus-visible, .form textarea:user-invalid:focus-visible { outline-color: var(--accent); }
.drawer .form input:user-invalid, .drawer .form textarea:user-invalid { border-color: var(--ink); }

/* Responsive */
@media (max-width: 1200px) {
  :root { --gutter: 40px; }
  .hero__title { font-size: 60px; } .hero__title em { font-size: 70px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .results .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rentals { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-nav { gap: 24px; }
  .header-phone span { display: none; }
  .specs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --gutter: 20px; --nav-h: 64px; }
  .site-nav, .header-right .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__name b { font-size: 13px; letter-spacing: .28em; }
  .brand__name span { display: none; }
  .lang button { padding: 6px 5px; }
  .mobile-menu { display: flex; flex-direction: column; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; z-index: 49; background: var(--ink); color: var(--paper); padding: 20px; gap: 4px; }
  .mobile-menu a { padding: 16px 0; font-size: 16px; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid var(--line-d); }
  .mobile-menu .header-phone { display: flex; margin-top: 20px; font-size: 16px; }
  .mobile-menu .header-phone span { display: inline; }
  .hero { min-height: 0; }
  .hero__img img { object-position: 60% center; }
  .hero__body { padding: 48px 0 260px; gap: 18px; }
  .hero__title { font-size: 40px; } .hero__title em { font-size: 48px; }
  .hero__lead { font-size: 15.5px; }
  .hero__actions { flex-direction: column; } .hero__actions .btn { width: 100%; }
  .hero__caption { display: none; }
  .qsearch { margin-top: -220px; }
  .qsearch__bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qsearch__bar .field:nth-child(1), .qsearch__bar .field:nth-child(2) { grid-column: span 2; border-bottom: 1px solid var(--line-d); }
  .qsearch__bar .field:nth-child(3) { border-bottom: 1px solid var(--line-d); }
  .qsearch__bar .field:nth-child(4) { border-right: 0; border-bottom: 1px solid var(--line-d); }
  .qsearch__bar .btn { grid-column: span 2; height: 52px; }
  .section { padding: 48px 0; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
  .h-display { font-size: 28px; }
  .services { grid-template-columns: 1fr; }
  .service { border-left: 0; padding: 22px 0; }
  .services > .service:nth-child(3n+1) { padding-left: 0; }
  .cards, .results .cards, .cards--3 { grid-template-columns: 1fr; gap: 16px; }
  .tiers { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .about, .contact { grid-template-columns: 1fr; gap: 32px; }
  .form { padding: 20px; }
  .form__row { grid-template-columns: 1fr; }
  .form__foot { flex-direction: column; align-items: stretch; }
  .site-footer { padding: 40px 0 32px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__cols { grid-template-columns: 1fr; gap: 24px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; margin-top: 32px; }
  .page-title { font-size: 36px; }
  .catalog-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
  .catalog-tools { flex-wrap: wrap; gap: 12px; }
  .catalog { flex-direction: column; gap: 24px; padding-bottom: 48px; }
  .filters { width: 100%; }
  .filters:not(.is-open) { display: none; }
  .filters-toggle { display: inline-flex; }
  .vehicle { grid-template-columns: 1fr; gap: 32px; padding-bottom: 48px; }
  .vehicle__title h1 { font-size: 32px; }
  .buybox { position: static; padding: 24px 20px; }
  .buybox__price b { font-size: 32px; }
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  .equip { grid-template-columns: 1fr; }
  .gallery__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .similar__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .admin { flex-direction: column; }
  .admin__side { width: 100%; height: auto; position: static; flex-direction: row; align-items: center; padding: 12px 8px; overflow-x: auto; gap: 8px; }
  .admin__brand { padding: 0 10px; }
  .admin__brand b, .admin__brand span { display: none; }
  .admin__nav { flex-direction: row; }
  .admin__nav a { height: 40px; padding: 0 12px; border-left: 0; font-size: 13px; }
  .admin__nav a.is-active { border-left: 0; border-bottom: 2px solid var(--paper); }
  .admin__user { display: none; }
  .admin__main { padding: 20px 16px; gap: 16px; }
  .admin-search { width: 100%; }
  .admin__head .right { width: 100%; flex-wrap: wrap; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .drawer__panel { padding: 20px; }
}

@media (pointer: coarse) {
  .row-actions button, .tabs button, .sort, .filters__head button,
  .active-filters button, .catalog-tools .sort { min-height: 44px; }
  .row-actions button { padding: 0 14px; }
}

/* --- 404 --------------------------------------------------------------------- */
.err404 { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-bottom: 120px; }
.err404__code { font-family: var(--data); font-size: 13px; letter-spacing: .24em; color: var(--mute); }
.err404__lead { max-width: 52ch; font-size: 16px; line-height: 1.7; color: var(--text-2); }
.err404__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.err404__acts .btn { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.err404__acts .btn--line { background: transparent; color: var(--ink); border-color: var(--line-l2); }
.err404__acts .btn--line:hover { background: var(--white); border-color: var(--ink); color: var(--ink); }
