/* ==========================================================
   Page compositions
   ========================================================== */

[data-icon] { display: inline-flex; }
[data-icon] svg { width: 1.25em; height: 1.25em; }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  position: relative; overflow: hidden;
  padding-block: clamp(3.5rem, 2rem + 6vw, 7rem) clamp(2.5rem, 2rem + 3vw, 4.5rem);
  background: var(--c-void);
  isolation: isolate;
}
.page-hero .bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; opacity: 0.32;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(12, 12, 11, 0.95) 0%, rgba(12, 12, 11, 0.7) 55%, rgba(12, 12, 11, 0.4) 100%);
}
.page-hero .wrap { display: grid; gap: var(--s-5); }
.page-hero h1 { max-width: 16ch; }
.page-hero p { max-width: 60ch; font-size: var(--fs-lg); color: var(--t-body); }
.page-hero .level-mark { position: absolute; right: var(--gutter); bottom: -0.12em; font-size: clamp(4rem, 2rem + 10vw, 12rem); pointer-events: none; }

/* ---------- Home hero ---------- */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh - var(--header-h), 900px);
  display: grid; align-items: center;
  padding-block: clamp(2.5rem, 2rem + 4vw, 5rem) clamp(3.5rem, 3rem + 3vw, 5.5rem);
  background: var(--c-void);
}
.hero-photo { position: absolute; inset: 0; z-index: -2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 12, 11, 0.94) 0%, rgba(12, 12, 11, 0.78) 42%, rgba(12, 12, 11, 0.35) 70%, rgba(12, 12, 11, 0.55) 100%),
    linear-gradient(0deg, rgba(12, 12, 11, 0.85) 0%, transparent 40%);
}
.hero-grid {
  display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1fr 420px; } }

.hero-copy { position: relative; display: grid; gap: var(--s-5); }
.hero-copy .level-mark {
  position: absolute; left: -0.06em; top: -0.62em; z-index: -1;
  font-size: clamp(7rem, 4rem + 12vw, 16rem);
  -webkit-text-stroke-color: rgba(248, 248, 246, 0.16);
}
.hero h1 { font-size: clamp(3.25rem, 1.8rem + 5.6vw, 6rem); max-width: 10ch; }
.ink-red { color: var(--c-red-ink); }
.hero-lead { max-width: 46ch; font-size: var(--fs-lg); color: #e2e0db; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); }
.hero-points li {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--f-sign); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--t-strong);
}
.hero-points [data-icon] { color: var(--c-red-ink); }
.hero-band { position: absolute; left: 0; right: 0; bottom: 0; }

/* Quote bay */
.quote { display: grid; gap: var(--s-4); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.quote-title { font-size: 1.9rem; }
.quote-result {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4);
  padding-top: var(--s-4); border-top: 2px dashed var(--line-strong);
}
.quote-days { font-family: var(--f-sign); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--t-body); }
.quote-total { font-family: var(--f-sign); font-weight: 800; font-size: 3.25rem; line-height: 1; color: var(--t-strong); }
.quote-msg { font-size: var(--fs-sm); color: var(--t-muted); min-height: 1.4em; margin-top: calc(var(--s-3) * -1); }
.quote-msg.is-warn { color: var(--c-yellow); }
.quote-msg.is-error { color: var(--c-red-ink); }
.quote-foot { font-size: var(--fs-xs); color: var(--t-muted); text-align: center; }

/* ---------- Meet & Greet lane ---------- */

.lane-steps {
  list-style: none; counter-reset: none;
  display: grid; gap: 0;
  border-top: 3px solid var(--c-paint);
}
@media (min-width: 820px) { .lane-steps { grid-template-columns: repeat(4, 1fr); } }
.lane-step {
  position: relative;
  padding: var(--s-6) var(--s-5) var(--s-6) 0;
  display: grid; gap: var(--s-3); align-content: start;
}
@media (min-width: 820px) {
  .lane-step { padding: var(--s-6) var(--s-5); }
  .lane-step + .lane-step::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c-paint);
  }
}
@media (max-width: 819px) {
  .lane-step + .lane-step { border-top: 2px dashed var(--line-strong); }
}
.step-mark {
  font-family: var(--f-stencil); font-weight: 800; font-size: 4.5rem; line-height: 0.9;
  color: var(--c-red-ink);
}
.lane-step p { color: var(--t-body); }
.lane-alt {
  margin-top: var(--s-6);
  display: flex; gap: var(--s-4); align-items: center;
  padding: var(--s-5); border: 1.5px dashed var(--line-strong); border-radius: var(--radius);
}
.lane-alt [data-icon] { font-size: 1.6rem; color: var(--c-red-ink); }
.lane-alt p { max-width: 70ch; }

/* ---------- Proof ---------- */

.proof-grid { display: grid; gap: var(--s-5); }
@media (min-width: 900px) {
  .proof-grid {
    grid-template-columns: 1.6fr 0.8fr 1.2fr;
    grid-template-areas: "main side copy";
    align-items: stretch;
  }
  .proof-main { grid-area: main; }
  .proof-side { grid-area: side; }
  .proof-copy { grid-area: copy; }
}
.proof figure { margin: 0; overflow: hidden; border-radius: 3px; }
.proof figure img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.proof-copy { display: grid; gap: var(--s-5); align-content: center; }
.proof-list { list-style: none; display: grid; gap: var(--s-3); }
.proof-list li { display: flex; gap: var(--s-3); align-items: flex-start; }
.proof-list [data-icon] { color: var(--c-red-ink); margin-top: 2px; }

/* ---------- Prices teaser ---------- */

.prices-teaser h2 { font-size: clamp(2.5rem, 1.6rem + 3.5vw, 4.5rem); }
.big-price { color: var(--c-red); font-size: 1.5em; line-height: 0.8; }
.teaser-lead { margin-block: var(--s-5); font-size: var(--fs-lg); max-width: 42ch; }

.rate-board {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 3px solid var(--t-ink); border-bottom: 3px solid var(--t-ink);
}
.rate-board .cell {
  padding: var(--s-5) var(--s-3); display: grid; gap: var(--s-1);
  border-left: 2px solid var(--t-ink);
}
.rate-board .cell:first-child { border-left: 0; }
.rate-board .d { font-family: var(--f-sign); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--t-ink-muted); }
.rate-board .p { font-family: var(--f-sign); font-weight: 800; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1; color: var(--t-ink); }
.rate-board .pd { font-size: var(--fs-sm); }
@media (max-width: 520px) {
  .rate-board { grid-template-columns: 1fr 1fr; }
  .rate-board .cell:nth-child(3) { border-left: 0; }
  .rate-board .cell:nth-child(n+3) { border-top: 2px solid var(--t-ink); }
}

/* ---------- Closing CTA ---------- */

.close-cta { position: relative; background: var(--c-void); overflow: hidden; }
.close-hatch { height: 28px; opacity: 0.9; }
.close-inner { display: grid; gap: var(--s-5); justify-items: start; padding-block: clamp(4rem, 3rem + 4vw, 7rem); }
.close-inner h2 { font-size: var(--fs-3xl); max-width: 14ch; }
.close-inner p { font-size: var(--fs-lg); }
.close-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* ---------- Prices page ---------- */

.price-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table caption { text-align: left; padding-bottom: var(--s-4); color: var(--t-ink-muted); }
.price-table th, .price-table td { padding: var(--s-3) var(--s-3); text-align: right; border-bottom: 1px dashed var(--line-ink); }
.price-table th:first-child, .price-table td:first-child { text-align: left; }
.price-table thead th {
  font-family: var(--f-sign); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--t-ink); border-bottom: 3px solid var(--t-ink);
}
.price-table tbody th { font-family: var(--f-sign); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; color: var(--t-ink); }
.price-table td.total { font-family: var(--f-sign); font-weight: 800; font-size: 1.5rem; color: var(--t-ink); }
.price-table tr.is-hit { background: rgba(213, 36, 44, 0.08); }
.price-table tfoot td { border-bottom: 0; padding-top: var(--s-5); text-align: left; color: var(--t-ink); font-weight: 600; }

.table-scroll { overflow-x: auto; }

.calc { display: grid; gap: var(--s-4); }
.calc-out { font-family: var(--f-sign); font-weight: 800; font-size: 3rem; color: var(--t-ink); line-height: 1; }

.plans { display: grid; gap: 0; border-top: 3px solid var(--c-paint); }
@media (min-width: 760px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan {
  position: relative; display: grid; gap: var(--s-4); align-content: start;
  padding: var(--s-6) var(--s-5);
}
@media (min-width: 760px) {
  .plan + .plan::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c-paint); }
}
@media (max-width: 759px) { .plan + .plan { border-top: 2px dashed var(--line-strong); } }
.plan h3 { font-size: 1.6rem; }
.plan .amount { font-family: var(--f-sign); font-weight: 800; font-size: 3.5rem; line-height: 1; color: var(--t-strong); }
.plan .per { color: var(--t-muted); font-size: var(--fs-sm); }
.plan ul { list-style: none; display: grid; gap: var(--s-2); }
.plan li { display: flex; gap: var(--s-2); }
.plan li [data-icon] { color: var(--c-red-ink); margin-top: 3px; }
.plan.is-featured { background: var(--c-slab-2); }
.plan .flag {
  justify-self: start; padding: 2px var(--s-2);
  background: var(--c-red); color: var(--c-paint);
  font-family: var(--f-sign); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.85rem;
}

/* ---------- Services ---------- */

.svc-cols { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); }
@media (min-width: 960px) { .svc-cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Car rent ---------- */

.fleet { display: grid; gap: var(--s-6); }
@media (min-width: 820px) { .fleet { grid-template-columns: 1fr 1fr; } }
.car {
  position: relative; display: grid; gap: var(--s-4);
  padding: var(--s-6); padding-bottom: var(--s-6);
}
.car img { width: 100%; height: 220px; object-fit: contain; filter: drop-shadow(0 24px 22px rgba(0, 0, 0, 0.6)); }
.car .group { font-family: var(--f-sign); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-red-ink); }
.car .specs { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); color: var(--t-muted); font-size: var(--fs-sm); }
.car .from { display: flex; align-items: baseline; gap: var(--s-2); }
.car .from strong { font-family: var(--f-sign); font-weight: 800; font-size: 2.5rem; line-height: 1; }
.car .from.is-request span { display: none; }
.car .from.is-request strong { font-size: 1.8rem; text-transform: uppercase; }
.included { list-style: none; display: grid; gap: var(--s-3); }
@media (min-width: 600px) { .included { grid-template-columns: 1fr 1fr; } }
.included li { display: flex; gap: var(--s-3); align-items: center; font-weight: 500; color: var(--t-ink); }
.included [data-icon] { color: var(--c-red); }

/* ---------- Gallery ---------- */

.masonry { columns: 3 300px; column-gap: var(--s-4); }
.masonry button {
  display: block; width: 100%; margin: 0 0 var(--s-4); padding: 0;
  background: none; border: 0; border-radius: 3px; overflow: hidden;
  break-inside: avoid; position: relative;
}
.masonry img { width: 100%; transition: transform 0.6s var(--ease-out), filter 0.4s; }
.masonry button:hover img { transform: scale(1.03); filter: brightness(1.08); }
.masonry button::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--c-red);
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease-out);
}
.masonry button:hover::after, .masonry button:focus-visible::after { transform: scaleX(1); }

.facts-row { display: grid; gap: var(--s-6); }
@media (min-width: 820px) { .facts-row { grid-template-columns: repeat(3, 1fr); } }
.facts-row h3 { margin-bottom: var(--s-3); }

/* ---------- About ---------- */

.prose { max-width: 68ch; }
.prose h2 { margin: var(--s-8) 0 var(--s-4); font-size: var(--fs-xl); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: inherit; }
.prose ul { padding-left: 1.2em; display: grid; gap: var(--s-2); margin-top: var(--s-4); }
.prose li::marker { color: var(--c-red); }
.on-concrete .prose h2 { color: var(--t-ink); }

.company-card dl { display: grid; gap: var(--s-3); margin: 0; }
.company-card dt { font-family: var(--f-sign); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--t-muted); font-size: 0.9rem; }
.company-card dd { margin: 0 0 var(--s-2); color: var(--t-strong); }

/* ---------- Booking ---------- */

.booking-layout { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
@media (min-width: 1000px) {
  .booking-layout { grid-template-columns: minmax(0, 1fr) 380px; }
  .booking-aside { position: sticky; top: calc(var(--header-h) + var(--s-5)); }
}
.form-step { display: grid; gap: var(--s-5); padding-block: var(--s-6); border-top: 3px solid var(--c-paint); }
.form-step:first-child { padding-top: 0; border-top: 0; }
.form-step-head { display: flex; align-items: baseline; gap: var(--s-4); }
.form-step-head .step-mark { font-size: 3rem; }
.form-step-head h2 { font-size: var(--fs-xl); }
.svc-choice { display: grid; gap: var(--s-3); }
@media (min-width: 640px) { .svc-choice { grid-template-columns: 1fr 1fr; } }
.svc-choice input { position: absolute; opacity: 0; pointer-events: none; }
.svc-choice label {
  position: relative; display: grid; gap: var(--s-2);
  padding: var(--s-5); padding-right: var(--s-8);
  border: 1.5px solid var(--line-strong); border-radius: var(--radius); cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.svc-choice label:hover { border-color: rgba(248, 248, 246, 0.55); }
.svc-choice b { font-family: var(--f-sign); font-weight: 800; font-size: 1.4rem; text-transform: uppercase; color: var(--t-strong); }
.svc-choice small { color: var(--t-muted); font-size: var(--fs-sm); }
.svc-choice .badge {
  justify-self: start; padding: 1px var(--s-2);
  background: var(--c-red); color: var(--c-paint);
  font-family: var(--f-sign); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.8rem;
}
.svc-choice label::after {
  content: ""; position: absolute; right: var(--s-5); top: var(--s-5);
  width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-strong);
}
.svc-choice input:checked + label { border-color: var(--c-paint); background: var(--c-slab-2); }
.svc-choice input:checked + label::after { border: 7px solid var(--c-paint); }
.svc-choice input:focus-visible + label { outline: 2px solid var(--c-paint); outline-offset: 3px; }

.booking-aside .ticket { --ticket-hole: var(--c-slab); }
.ticket .placeholder { color: var(--t-ink-muted); font-size: var(--fs-sm); }

.success { display: grid; gap: var(--s-5); justify-items: start; max-width: 640px; }
.success[hidden] { display: none; }
.success .ticket { width: 100%; }

.phone-row { display: grid; grid-template-columns: 120px 1fr; gap: var(--s-2); }

/* ---------- Legal ---------- */

.legal { padding-block: var(--s-8); }
.legal .prose { color: var(--t-ink-muted); }
.legal .updated { font-size: var(--fs-sm); margin-bottom: var(--s-6); }
.legal-note:empty { display: none; }
.legal-note { margin-bottom: var(--s-6); font-weight: 600; color: var(--t-ink); }
.success { grid-column: 1 / -1; }

/* Small-screen safety: grid children may shrink below their content's intrinsic width */
.hero { grid-template-columns: minmax(0, 1fr); }
.hero-grid > *, .split > *, .booking-layout > * { min-width: 0; }

.on-concrete .field > label, .on-concrete .field > .label, .on-concrete fieldset > legend { color: var(--t-ink); }
.on-concrete .input { background: #fff; color: var(--t-ink); border-color: rgba(20, 20, 19, 0.3); }
.facts-row h2 { font-size: var(--fs-xl); line-height: 1.05; margin-bottom: var(--s-3); }

/* Horizontal rate strips (prices page) */
.rate-strips { display: grid; gap: var(--s-5); margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.rate-caption { font-size: var(--fs-sm); color: var(--t-ink-muted); }
.rate-strip { width: 100%; min-width: 640px; border-collapse: collapse; table-layout: fixed; font-variant-numeric: tabular-nums; }
.rate-strip th, .rate-strip td { padding: var(--s-3) var(--s-3); text-align: center; border-left: 2px solid var(--t-ink); }
.rate-strip tr > :first-child { width: 112px; text-align: left; border-left: 0; }
.rate-strip thead th {
  font-family: var(--f-sign); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--t-ink); border-top: 3px solid var(--t-ink); border-bottom: 2px solid var(--t-ink);
}
.rate-strip tbody th { font-family: var(--f-sign); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--t-ink-muted); font-size: 0.95rem; }
.rate-strip tbody tr:last-child > * { border-bottom: 3px solid var(--t-ink); color: var(--t-ink-muted); }
.rate-strip td.total { font-family: var(--f-sign); font-weight: 800; font-size: 1.75rem; line-height: 1.1; color: var(--t-ink); }
.rate-strip .extra { background: var(--c-red); color: var(--c-paint) !important; }
.rate-strip .is-hit { background: rgba(213, 36, 44, 0.12); }
.rate-strip thead .is-hit { color: var(--c-red-deep); }
@media (max-width: 760px) {
  .rate-strip tr > :first-child { position: sticky; left: 0; z-index: 1; background: var(--c-concrete); width: 92px; }
}

/* Prices page: centred calculator, compact informative table, quiet fine print */
.rates { display: grid; justify-items: center; text-align: center; gap: var(--s-6); }
.rates-head { display: grid; gap: var(--s-3); max-width: 56ch; }
.rates-head p { font-size: var(--fs-lg); }
.rates .calc { justify-items: center; gap: var(--s-3); }
.rates .calc > label { font-family: var(--f-sign); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--t-ink); }
.calc-row { display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; justify-content: center; }
.calc-row .input { width: 96px; text-align: center; font-size: 1.25rem; font-weight: 600; }
.rates .calc-out { font-size: 2.5rem; }
.rates .rate-strips { width: 100%; max-width: 860px; margin-top: var(--s-4); gap: var(--s-3); }
.rates .rate-strip { min-width: 560px; }
.rates .rate-strip th, .rates .rate-strip td { padding: var(--s-2) var(--s-2); }
.rates .rate-strip thead th { font-size: 0.85rem; border-top-width: 2px; }
.rates .rate-strip tbody th { font-size: 0.8rem; }
.rates .rate-strip td { font-size: var(--fs-xs); }
.rates .rate-strip td.total { font-size: 1.15rem; }
.rates .rate-strip tbody tr:last-child > * { border-bottom-width: 2px; }
.rates .rate-strip tr > :first-child { width: 88px; }
.rates .rate-strip th, .rates .rate-strip td { border-left-width: 1px; }
.fine-print { max-width: 70ch; font-size: var(--fs-xs); line-height: 1.6; color: var(--t-ink-muted); }
.fine-print strong { color: var(--t-ink-muted); font-weight: 600; }
.home-plans .plan.is-featured { background: var(--c-slab-3); }

/* ---------- Car rental fleet ---------- */
.rent-bar {
  display: grid; gap: var(--s-4); align-items: end;
  padding: var(--s-5); margin-bottom: var(--s-6);
  background: var(--c-slab-2); border-radius: var(--radius); outline: 1px solid var(--line);
}
@media (min-width: 1000px) { .rent-bar { grid-template-columns: 1.1fr 1fr 1fr auto; } }
.seg--3 { grid-template-columns: repeat(3, 1fr); }
.seg--3 label { padding-block: var(--s-3); }
.rent-days { font-family: var(--f-sign); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; color: var(--t-strong); min-width: 7ch; padding-bottom: var(--s-2); }
.rent-days.is-error { font-size: var(--fs-sm); color: var(--c-red-ink); text-transform: none; font-family: var(--f-text); font-weight: 500; }
.fleet { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.fleet .car { align-content: start; gap: var(--s-3); padding: var(--s-5); }
.car-media { height: 170px; display: grid; place-items: center; }
.car-media img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 20px 18px rgba(0, 0, 0, 0.6)); }
.car-media-ph { display: grid; justify-items: center; gap: var(--s-2); color: var(--t-muted); font-size: var(--fs-xs); }
.car-ph { width: 170px; height: auto; color: var(--c-paint); }
.car-head { display: grid; gap: 2px; }
.car-head h2 { font-size: 1.8rem; }
.car-origin { justify-self: start; padding: 2px var(--s-2); font-size: var(--fs-xs); font-weight: 600; color: var(--c-red-ink); border: 1px solid rgba(255, 90, 97, 0.4); border-radius: 3px; }
.car-origin--viper { color: var(--t-muted); border-color: var(--line-strong); }
.rent-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-2); margin-top: var(--s-2); color: var(--t-muted); font-size: var(--fs-sm); }
.rent-price strong { font-family: var(--f-sign); font-weight: 800; font-size: 2.25rem; line-height: 1; color: var(--t-strong); }
.fleet .car .btn { margin-top: var(--s-2); }

.rent-dialog {
  width: min(560px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 0; border-radius: 6px;
  background: var(--c-slab-2); color: var(--t-body); box-shadow: var(--shadow-lift);
}
.rent-dialog::backdrop { background: rgba(8, 8, 7, 0.8); }
.rent-form, .rent-ok { display: grid; gap: var(--s-4); padding: var(--s-6); }
.rent-form-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); }
.rent-form-head h2, .rent-ok h2 { font-size: var(--fs-xl); }
.rent-form .hint { font-size: var(--fs-xs); color: var(--t-muted); text-align: center; }
.rent-ok .ref { font-family: var(--f-stencil); font-size: 2rem; color: var(--c-red-ink); }

/* Hero photos fade up from black on first paint */
@keyframes ape-photo-in { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
.hero-photo img, .page-hero .bg { animation: ape-photo-in 1.8s cubic-bezier(0.22, 1, 0.36, 1) both; }
.page-hero .bg { animation-name: ape-photo-in-dim; }
@keyframes ape-photo-in-dim { from { opacity: 0; } to { opacity: 0.32; } }

/* Plans: equal-height columns, action pinned to the bottom, "most chosen" flag under it */
.plan { display: flex; flex-direction: column; gap: var(--s-4); padding-bottom: calc(var(--s-6) + 34px); }
.plan ul { flex: 1; }
.plan .link-arrow { margin-top: auto; }
.plan .flag { position: absolute; left: var(--s-5); bottom: var(--s-5); }

/* Prices: calculator left, compact table right */
.rates { justify-items: stretch; text-align: left; gap: var(--s-6); }
@media (min-width: 1000px) { .rates { grid-template-columns: minmax(280px, 0.8fr) 1.6fr; align-items: center; column-gap: clamp(2rem, 1rem + 3vw, 4rem); } }
.rates-left { display: grid; gap: var(--s-5); }
.rates-head { max-width: 40ch; gap: var(--s-2); }
.rates-head h2 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); }
.rates-head p { font-size: var(--fs-sm); }
.rates .calc { justify-items: start; }
.calc-row { justify-content: flex-start; }
.calc-row .input { width: 80px; min-height: 42px; font-size: 1.1rem; }
.rates .calc-out { font-size: 1.9rem; }
.rates .rate-strips { max-width: none; margin-top: 0; }
.rates .rate-strip { min-width: 520px; }
.rates .fine-print { grid-column: 1 / -1; max-width: 90ch; margin-top: calc(var(--s-3) * -1); }

/* Gallery: even grid that ends in a clean rectangle */
.masonry { columns: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3); }
@media (max-width: 900px) { .masonry { grid-template-columns: repeat(2, 1fr); } }
.masonry button { margin: 0; aspect-ratio: 4 / 3; }
.masonry img { width: 100%; height: 100%; object-fit: cover; }

/* Services: compact rows */
.svc-cols .sign-list > li { grid-template-columns: 40px 1fr; gap: var(--s-3); padding: var(--s-4) 0; }
.svc-cols .sign-list .glyph { width: 40px; height: 40px; }
.svc-cols .sign-list .glyph svg { width: 20px; height: 20px; }
.svc-cols .sign-list h3 { font-size: 1.2rem; margin-bottom: var(--s-1); }
.svc-cols .sign-list p { font-size: var(--fs-sm); }
.svc-cols .sign-list .tag { font-size: 0.8rem; margin-top: var(--s-1); }
.svc-cols .section-head { margin-bottom: var(--s-5); }
.svc-cols .section-head h2 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem); }

/* ---------- Car rental v2 (Elite Trip) ---------- */
.rent-hero .rent-logo { width: clamp(180px, 22vw, 280px); height: auto; margin-bottom: var(--s-2); }
.rent-bar { grid-template-columns: 1fr; }
@media (min-width: 800px) { .rent-bar { grid-template-columns: minmax(320px, 420px) 1fr; align-items: end; } }
.rent-bar-note { color: var(--t-muted); font-size: var(--fs-sm); padding-bottom: var(--s-2); }
.car-media { height: 170px; overflow: hidden; }
.car-media img { max-height: 100%; }

.rent-dialog { width: min(920px, calc(100% - 2rem)); }
.rent-dialog .rent-form-head { padding: var(--s-5) var(--s-6) 0; }
.rent-dialog .rent-form-head h2 { font-size: var(--fs-xl); }
.rent-step { display: grid; gap: var(--s-4); padding: var(--s-5) var(--s-6) var(--s-6); }
.rent-step-label { font-family: var(--f-sign); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-red-ink); }
.rent-quote { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); padding-top: var(--s-3); border-top: 2px dashed var(--line-strong); }
.rent-quote span { font-family: var(--f-sign); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.rent-quote strong { font-family: var(--f-sign); font-weight: 800; font-size: 2.5rem; line-height: 1; color: var(--t-strong); }
.rent-summary { display: grid; gap: var(--s-2); padding: var(--s-4) var(--s-5); background: var(--c-slab); border-radius: var(--radius); outline: 1px solid var(--line); }
.rent-summary dl { margin: 0; display: grid; gap: var(--s-1); font-size: var(--fs-sm); }
.rent-summary dl div { display: flex; gap: var(--s-3); }
.rent-summary dt { color: var(--t-muted); min-width: 110px; }
.rent-summary dd { margin: 0; color: var(--t-strong); font-weight: 600; }
.link-btn { justify-self: start; padding: 0; background: none; border: 0; color: var(--t-body); text-decoration: underline; text-decoration-color: var(--c-red); text-underline-offset: 0.2em; font-size: var(--fs-sm); }
.rent-cols { display: grid; gap: var(--s-5); }
@media (min-width: 760px) { .rent-cols { grid-template-columns: 1fr 1fr; align-items: start; } }
.rent-col { display: grid; gap: var(--s-3); }
.rent-col > legend { margin-bottom: var(--s-2); padding-bottom: var(--s-2); width: 100%; border-bottom: 1px solid var(--line-strong); font-family: var(--f-sign); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-red-ink); }
.rent-step .check { padding: var(--s-2) 0; }
.rent-step .hint { font-size: var(--fs-xs); color: var(--t-muted); text-align: center; }
.rent-ok .ref { font-family: var(--f-stencil); font-size: 2.2rem; color: var(--c-red-ink); }

.fiscal-card { display: grid; gap: var(--s-3); margin: 0 0 var(--s-7); padding: var(--s-5); max-width: 640px; background: #fff; border-radius: var(--radius); outline: 1px solid var(--line-ink); }
.fiscal-card div { display: grid; grid-template-columns: 150px 1fr; gap: var(--s-3); }
.fiscal-card dt { font-family: var(--f-sign); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--t-ink-muted); font-size: 0.9rem; }
.fiscal-card dd { margin: 0; color: var(--t-ink); font-weight: 600; }

/* Long-stay suggestion under the day calculators */
.plan-tip { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-2); align-items: baseline; padding: var(--s-3) var(--s-4); font-size: var(--fs-sm); border-radius: var(--radius); background: rgba(213, 36, 44, 0.12); outline: 1px solid rgba(213, 36, 44, 0.45); color: var(--t-strong); }
.plan-tip a { font-family: var(--f-sign); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--c-red-ink); text-decoration: none; }
.plan-tip a:hover { text-decoration: underline; }
.on-concrete .plan-tip { color: var(--t-ink); background: #fff; outline-color: rgba(213, 36, 44, 0.5); }
.on-concrete .plan-tip a { color: var(--c-red-deep); }

/* Flags keep their own square shape */
.flag { border-radius: 2px; box-shadow: none; object-fit: contain; }

.plan .flag { white-space: nowrap; width: max-content; padding: 4px var(--s-3); }
.fiscal-card div { grid-template-columns: minmax(0, 150px) minmax(0, 1fr); }
.fiscal-card dd { overflow-wrap: anywhere; }
@media (max-width: 560px) { .fiscal-card div { grid-template-columns: 1fr; gap: 2px; } }

.legal-lang { max-width: 70ch; margin-bottom: var(--s-6); padding: var(--s-3) var(--s-4); font-size: var(--fs-sm); color: var(--t-ink); background: #fff; border-radius: var(--radius); outline: 1px solid var(--line-ink); }

/* Rental: formal "or similar" notice */
.model-notice { margin-top: var(--s-6); padding: var(--s-4) var(--s-5); max-width: 90ch; font-size: var(--fs-sm); line-height: 1.6; color: var(--c-red-ink); border: 1.5px solid var(--c-red); border-radius: var(--radius); background: rgba(213, 36, 44, 0.08); }

/* Rental hero: Elite Trip logo in the large space on the right */
@media (min-width: 900px) {
  .rent-hero .wrap { grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(2rem, 1rem + 4vw, 6rem); align-items: center; }
  .rent-hero .wrap > :not(.rent-logo) { grid-column: 1; }
  .rent-hero .rent-logo { grid-column: 2; grid-row: 1 / span 3; width: clamp(280px, 26vw, 440px); margin: 0; }
}
.model-notice { margin-inline: auto; text-align: center; }

/* Booking / rental reference codes: clear, even figures instead of the stencil face */
.rent-ok .ref, .ticket-head .ref {
  font-family: var(--f-sign); font-weight: 800;
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: 0.08em;
}
.rent-ok .ref { font-size: 2.4rem; line-height: 1; }
.ticket-head .ref { font-size: 1.5rem; }

/* "Most chosen" badge: text optically centred */
.plan .flag { display: inline-flex; align-items: center; height: 26px; padding: 1px 10px 0; line-height: 1; font-size: 0.85rem; border-radius: 3px; }

/* Booking: long-stay plan as clickable cards */
.plan-pick { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
@media (min-width: 640px) { .plan-pick { grid-template-columns: repeat(4, 1fr); } }
.plan-pick input { position: absolute; opacity: 0; pointer-events: none; }
.plan-pick label {
  display: grid; gap: var(--s-1); padding: var(--s-4); cursor: pointer;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease-out);
}
.plan-pick label:hover { border-color: rgba(248, 248, 246, 0.6); transform: translateY(-2px); }
.plan-pick b { font-family: var(--f-sign); font-weight: 800; font-size: 1.2rem; text-transform: uppercase; color: var(--t-strong); }
.plan-pick span { font-family: var(--f-sign); font-weight: 800; font-size: 1.9rem; line-height: 1; color: var(--t-strong); }
.plan-pick input:checked + label { border-color: var(--c-red); background: rgba(213, 36, 44, 0.16); box-shadow: inset 0 0 0 1px var(--c-red); }
.plan-pick input:checked + label span { color: var(--c-red-ink); }
.plan-pick input:focus-visible + label { outline: 2px solid var(--c-paint); outline-offset: 3px; }

/* Booking: Meet & Greet is the only service */
.svc-fixed { display: grid; gap: var(--s-1); padding: var(--s-4) var(--s-5); border: 1.5px solid var(--c-paint); border-radius: var(--radius); background: var(--c-slab-2); }
.svc-fixed b { font-family: var(--f-sign); font-weight: 800; font-size: 1.4rem; text-transform: uppercase; color: var(--t-strong); }
.svc-fixed small { color: var(--t-muted); font-size: var(--fs-sm); }

/* Home hero quote bay: two tabs, a stay by the day or a long-stay contract */
.quote-panel { display: grid; gap: var(--s-4); }
.quote-tabs { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--c-paint); border-radius: var(--radius); }
.quote-tabs button {
  min-height: 46px; padding: 0 var(--s-3); border: 0; background: transparent; color: var(--t-body); cursor: pointer;
  font-family: var(--f-sign); font-weight: 800; font-size: 1.05rem; text-transform: uppercase;
  transition: background-color 0.2s, color 0.2s;
}
.quote-tabs button:hover { color: var(--t-strong); background: var(--c-slab-3); }
.quote-tabs button[aria-selected='true'] { background: var(--c-red); color: var(--c-paint); }
.quote-tabs button:focus-visible { outline: 2px solid var(--c-paint); outline-offset: 2px; }
.plan-bay .plan-pick--bay { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
.plan-bay .plan-pick label { padding: var(--s-3); }
.plan-bay .plan-pick b { font-size: 1rem; }
.plan-bay .plan-pick span { font-size: 1.5rem; }
.plan-bay .field { border: 0; margin: 0; padding: 0; min-width: 0; }
/* Both tab panels share one cell, so the bay keeps the same size on either tab */
.quote-panels { display: grid; }
.quote-panels > .quote-panel { grid-area: 1 / 1; align-content: start; }
.quote-panel[data-off] { visibility: hidden; }

/* Plan cards: "Choose" is a real button (outlined, full width), red on the featured plan */
.plan .plan-cta { margin-top: auto; width: 100%; --btn-bd: var(--c-paint); }
.plan .plan-cta:hover { --btn-bg: var(--c-paint); --btn-fg: var(--c-void); }
.plan.is-featured .plan-cta { --btn-bg: var(--c-red); --btn-bd: var(--c-red); --btn-fg: var(--c-paint); }
.plan.is-featured .plan-cta:hover { --btn-bg: var(--c-red-deep); --btn-bd: var(--c-red-deep); }

/* Tabs: one red ink block slides under the active tab (GSAP in home.js; CSS keeps it right without JS) */
.quote-tabs { position: relative; isolation: isolate; overflow: hidden; }
.quote-tabs-ink { position: absolute; z-index: -1; inset: 0 auto 0 0; width: 50%; background: var(--c-red); transform-origin: 0 50%; }
.quote-tabs:has(#qt-plan[aria-selected='true']) .quote-tabs-ink { transform: translateX(100%); }
.quote-tabs button[aria-selected='true'] { background: transparent; color: var(--c-paint); }
.quote-tabs button[aria-selected='false']:hover { background: rgba(248, 248, 246, 0.06); }

/* Car rental hero: link to the Elite Trip Solutions website */
.rent-hero .rent-site { margin-top: var(--s-5); }
