/*
 * Car rental site, template "ABC". Mobile first: the base rules are the phone layout, and the
 * min-width blocks at the end widen it (390px the brand's name, 700px tablet, 950px small
 * desktop, 1150px desktop, 1220px the header's section links).
 * The two colour schemes, day ("original") and night, differ only in the custom properties
 * below; data-theme on <html> picks one, the browser's light or dark mode unless the visitor
 * picked the other.
 */

@font-face {
    font-family: Manrope;
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url(fonts/manrope-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: Manrope;
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url(fonts/manrope-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Colour schemes ---------- */

:root {
    color-scheme: light;
    --navy: #142d4e; --navy-dark: #0e223b; --ink: #192e47; --muted: #5f6d80; --line: #e2e7ed; --bg: #f6f8fa;
    --blue: #245b8c; --light-blue: #ecf3f8; --amber: #f6c400; --amber-hover: #e6b600; --green: #29735a; --red: #b73b3b;
    --shadow: 0 12px 42px #152d4c0a;
    --page: #fff; --surface: #fff; --field-surface: #fafbfd; --hover-surface: #f1f5f9; --input-line: #dbe2e9;
    --soft-line: #eef1f4; --strip: #eaf0f6; --strip-line: #e0e8f0; --spec-ink: #52657a; --spec-icon: #73869a;
    --disabled-surface: #e7ebef; --disabled-ink: #8c97a4; --image-start: #f0f4f7; --image-end: #e9eef4;
    --success-surface: #eaf3f0; --success-ink: #315c4e; --success-muted: #557064; --success-line: #dbeae2;
    --warning-surface: #fffbf3; --warning-ink: #8a6d3b; --warning-line: #dfcbaa; --error-surface: #fdf1f0;
    --solid-hover: #23476c; --mobile-surface: #fffffff7; --focus: #3b83bf; --range-end: var(--navy); --range-end-ink: #fff;
    --hero-rgb: 0, 115, 173; --hero-muted: #fff; --footer: #0073ad; --footer-ink: #fff; --footer-muted: #eaf5fc;
}
:root[data-theme="night"] {
    color-scheme: dark;
    --navy: #2c5277; --navy-dark: #0b1420; --ink: #e5edf6; --muted: #a6b5c7; --line: #35465a; --bg: #101c2b;
    --blue: #9ac9ef; --light-blue: #24394f; --amber: #f6c400; --amber-hover: #ffd426; --green: #a5d6bc; --red: #ffb0ad;
    --shadow: 0 12px 42px #00000030;
    --page: #111d2c; --surface: #1a2a3c; --field-surface: #132234; --hover-surface: #283c52; --input-line: #35465a;
    --soft-line: #35465a; --strip: #24394f; --strip-line: #35465a; --spec-ink: #a6b5c7; --spec-icon: #a6b5c7;
    --disabled-surface: #243244; --disabled-ink: #9baabd; --image-start: #263a50; --image-end: #203147;
    --success-surface: #203e34; --success-ink: #b7e3cc; --success-muted: #b7e3cc; --success-line: #3a6051;
    --warning-surface: #3c3223; --warning-ink: #f3d09b; --warning-line: #6d593c; --error-surface: #432d36;
    --solid-hover: #39688f; --mobile-surface: #1a2a3cf7; --focus: #9ac9ef; --range-end: var(--blue); --range-end-ink: var(--navy-dark);
    --hero-rgb: 11, 20, 32; --hero-muted: #d3e1f0; --footer: #0b1420; --footer-ink: #d3dce8; --footer-muted: #afbed0;
}

/* ---------- Base ---------- */

* { box-sizing: border-box; }
html { font-family: Manrope, Arial, sans-serif; color: var(--ink); background: var(--page); font-synthesis: none; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-width: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { letter-spacing: -.045em; }
p { line-height: 1.75; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:is(button, a, summary):focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
:is(input, select, textarea):focus-visible { outline: 3px solid color-mix(in srgb, var(--focus) 35%, transparent); border-color: var(--blue); }

.icon { display: inline-block; width: 1em; height: 1em; font-size: 24px; fill: currentColor; flex-shrink: 0; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: calc(100% - 36px); max-width: 1200px; margin-inline: auto; }
.wide-container { width: calc(100% - 24px); max-width: 1440px; margin-inline: auto; }
.kicker { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.section-title { font-size: 28px; line-height: 1.23; font-weight: 750; }
.section-subtitle { color: var(--muted); font-size: 14px; margin-top: 12px; line-height: 1.8; }
.skip-link { position: fixed; top: -100px; left: 16px; padding: 12px; background: var(--surface); z-index: 100; }
.skip-link:focus { top: 16px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 48px; border: 1px solid transparent; border-radius: 9px; padding: 12px 20px; font-weight: 750; font-size: 15px; line-height: 1.5; transition: background .16s, transform .16s, box-shadow .16s; text-align: center; }
.btn .icon { font-size: 20px; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: var(--navy-dark); background: var(--amber); }
.btn-primary:hover { background: var(--amber-hover); box-shadow: 0 4px 16px #f6c40033; }
.btn-navy { color: #fff; background: var(--navy); }
.btn-navy:hover { background: var(--solid-hover); }
.btn-outline { border-color: var(--line); background: var(--surface); }
.btn-secondary { color: var(--ink); background: var(--light-blue); }
.btn-secondary:hover { border-color: var(--blue); }
.btn-outline:hover { background: var(--hover-surface); border-color: var(--blue); }
.btn-ghost { background: transparent; color: var(--muted); padding-left: 0; }
.btn:disabled { background: var(--disabled-surface); color: var(--disabled-ink); box-shadow: none; transform: none; }
.btn-block { width: 100%; }
.text-link { border: 0; background: none; padding: 10px 0; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; font-weight: 650; font-size: inherit; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); flex-shrink: 0; }
.icon-btn:hover { background: var(--hover-surface); }
.pill { display: inline-flex; align-items: center; gap: 7px; border-radius: 99px; padding: 7px 12px; font-size: 14px; font-weight: 700; line-height: 1.4; }
.pill .icon { font-size: 16px; }
.pill-blue { background: var(--light-blue); color: var(--blue); }

/* ---------- Header ---------- */

.site-header { min-height: 72px; padding-block: 10px; border-bottom: 1px solid var(--soft-line); display: flex; align-items: center; background: var(--surface); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.brand { display: flex; align-items: center; gap: 7px; min-width: 0; }
.brand-mark { width: 44px; height: 36px; padding: 4px 5px; border-radius: 7px; background: var(--navy-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-word { font-size: clamp(13px, 4.1vw, 16px); font-weight: 800; letter-spacing: -.055em; white-space: nowrap; }
.brand-word span { font-weight: 500; }
.brand > span:last-child { display: none; min-width: 0; }
.brand-caption { display: block; font-size: 8px; letter-spacing: .13em; color: var(--muted); font-weight: 700; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.desktop-nav { display: none; }
.header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
/* Day and night as one switch; the highlighted half follows data-theme on <html>, so it is right
   before site.js runs. */
.theme-switch { display: flex; flex-shrink: 0; padding: 0; border: 1px solid var(--line); border-radius: 9px; background: transparent; }
.theme-switch > span { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border-radius: 8px; color: var(--muted); }
.theme-switch:hover > span { color: var(--ink); }
.theme-switch .icon { font-size: 20px; }
:root:not([data-theme="night"]) .theme-switch-day, :root[data-theme="night"] .theme-switch-night { color: var(--ink); background: var(--light-blue); }
.header-help, .header-book { display: none; }

.nav-menu, .lang-menu { position: relative; flex-shrink: 0; z-index: 50; }
.nav-menu > summary, .lang-menu > summary { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); list-style: none; cursor: pointer; }
.nav-menu > summary::-webkit-details-marker, .lang-menu > summary::-webkit-details-marker { display: none; }
.nav-menu > summary:hover, .nav-menu[open] > summary, .lang-menu > summary:hover, .lang-menu[open] > summary { background: var(--hover-surface); }
.nav-menu > summary .icon, .lang-menu > summary .icon { font-size: 22px; }
.nav-menu > summary .icon:last-child, .nav-menu[open] > summary .icon:first-child { display: none; }
.nav-menu[open] > summary .icon:last-child { display: inline-block; }
.nav-menu-panel { position: absolute; right: 0; top: calc(100% + 10px); display: grid; width: min(260px, calc(100vw - 32px)); padding: 9px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 12px 45px #081b3426; }
.nav-menu-panel a { display: flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 12px; border-radius: 9px; font-size: 15px; font-weight: 700; }
.nav-menu-panel a:hover { background: var(--hover-surface); }
.nav-menu-panel a:last-child { margin-top: 6px; border-top: 1px solid var(--soft-line); border-radius: 0 0 9px 9px; padding-top: 6px; }
.nav-menu-panel .icon { font-size: 19px; color: var(--muted); }
.lang-menu-panel { position: absolute; right: 0; top: calc(100% + 10px); display: grid; gap: 3px; width: 200px; padding: 9px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 12px 45px #081b3426; }
.lang-menu-panel a { display: flex; align-items: center; justify-content: space-between; gap: 9px; min-height: 48px; padding: 0 12px; border-radius: 9px; font-size: 15px; font-weight: 700; }
.lang-menu-panel a:hover { background: var(--hover-surface); }
.lang-menu-panel a[aria-current] { background: var(--light-blue); }
.lang-menu-panel .icon { font-size: 19px; color: var(--blue); visibility: hidden; }
.lang-menu-panel a[aria-current] .icon { visibility: visible; }

/* ---------- Landing: hero and date search ---------- */

/* On a phone the hero grows with its text; the date card overlaps its last 62px, below the badge. */
.hero { position: relative; min-height: 390px; margin-top: 12px; overflow: hidden; border-radius: 15px; background: rgb(var(--hero-rgb)); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 63% 60%; }
:root[data-theme="night"] .hero-photo { filter: brightness(.83); }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--hero-rgb), .94) 0%, rgba(var(--hero-rgb), .92) 50%, rgba(var(--hero-rgb), .8) 70%, rgba(var(--hero-rgb), .2) 88%, rgba(var(--hero-rgb), .18) 100%), linear-gradient(90deg, rgba(var(--hero-rgb), .3), rgba(var(--hero-rgb), 0)); }
.hero-content { position: relative; z-index: 1; padding: 25px 22px 78px; color: #fff; max-width: 610px; }
.hero .kicker { color: var(--hero-muted); font-size: 11px; letter-spacing: .14em; }
.hero h1 { font-size: clamp(38px, 11.9vw, 48px); font-weight: 750; letter-spacing: -.06em; line-height: 1.08; margin: 13px 0; }
.hero-description { font-size: 14px; color: var(--hero-muted); max-width: 290px; line-height: 1.75; }
/* Solid in the accent, as the primary buttons are. */
.hero-pill { margin-top: 13px; color: var(--navy-dark); background: var(--amber); padding: 7px 10px; font-size: 12px; }
.hero-caption { display: none; }

.date-card { position: relative; z-index: 3; width: calc(100% - 48px); margin-top: -62px; padding: 20px 16px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; box-shadow: 0 14px 50px #132c4b0c; scroll-margin-top: 16px; }
.date-card-heading { margin-bottom: 18px; }
.date-card-heading h2 { font-size: 22px; }
.date-card-heading p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.pickup-location { display: flex; align-items: center; gap: 8px; margin-top: 15px; border-top: 1px solid var(--line); padding-top: 13px; font-size: 13px; line-height: 1.65; }
.pickup-location > .icon { font-size: 20px; color: var(--blue); }
.pickup-location small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
.date-fields { display: grid; grid-template-columns: 1fr; gap: 15px; align-items: end; }
.date-group { display: grid; grid-template-columns: minmax(0, 1fr) 92px; gap: 8px; }
.date-group .field-label { grid-column: 1 / -1; display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
.date-group .field-label .icon { font-size: 15px; }
.date-group input, .date-group select { min-width: 0; width: 100%; height: 48px; padding: 10px 8px; background: var(--field-surface); border: 1px solid var(--line); border-radius: 8px; font-size: 16px; font-weight: 700; }
.date-search { min-height: 48px; margin-top: 2px; white-space: nowrap; }
.date-errors { padding-top: 12px; }
/* Without an error #date-errors is empty. */
.date-errors:not(:has(.field-error)) { padding-top: 0; }
.field-error { color: var(--red); font-size: 13px; line-height: 1.6; margin-top: 6px; }
.field-error:empty { display: none; }
.date-errors .field-error { background: var(--error-surface); border-radius: 7px; padding: 10px 12px; display: flex; align-items: flex-start; gap: 8px; }
.date-errors .icon { font-size: 17px; margin-top: 2px; }
.date-notes { margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--soft-line); font-size: 13px; color: var(--muted); }
.duration { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-weight: 600; color: var(--ink); line-height: 1.6; }
.duration .icon { color: var(--blue); font-size: 17px; }
.date-rule-notes { display: grid; gap: 6px; margin-top: 10px; font-size: 12px; }
.date-rule-notes span { display: flex; align-items: center; gap: 4px; }
.date-rule-notes .icon { font-size: 14px; color: var(--green); }
.time-note { display: block; font-size: 12px; color: var(--muted); margin-top: 8px; }

/* ---------- Date card: the range calendar (site.js) ---------- */

/* Each date's button, in place of its date input beside the time. */
.date-trigger { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-width: 0; width: 100%; height: 48px; padding: 10px 10px 10px 12px; background: var(--field-surface); border: 1px solid var(--line); border-radius: 8px; font-size: 16px; font-weight: 700; text-align: left; }
/* The button itself is what a press lands on, as common.js's focus count expects. */
.date-trigger > * { pointer-events: none; }
.date-trigger-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.date-trigger .icon { font-size: 20px; color: var(--muted); }
.date-trigger.is-empty { color: var(--muted); font-weight: 600; }
.date-trigger:hover, .date-trigger[aria-expanded="true"] { border-color: var(--blue); }
.date-trigger:focus-visible { outline: 3px solid color-mix(in srgb, var(--focus) 35%, transparent); outline-offset: 0; border-color: var(--blue); }
.date-trigger[aria-invalid="true"] { border-color: var(--red); background: var(--error-surface); }
/* A time the script moved, said on the card. */
.date-moved { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.6; }
.date-moved:empty { display: none; }

/* A popover under the fields from 700px; on a phone a full-screen sheet. */
.range-picker { padding: 0; width: auto; max-width: none; border-radius: 16px; }
.range-picker::backdrop { background: transparent; backdrop-filter: none; }
.range-picker.is-popover { position: absolute; inset: auto; margin: 0; max-height: none; overflow: visible; box-shadow: 0 18px 60px #0e223b33; }
.range-picker.is-sheet[open] { display: flex; flex-direction: column; position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh; max-height: none; margin: 0; overflow: hidden; border: 0; border-radius: 0; box-shadow: none; }
.range-picker.is-popover[open] { animation: range-in .14s ease-out; }
.range-picker.is-sheet[open] { animation: range-up .2s ease-out; }
@keyframes range-in { from { opacity: 0; transform: translateY(-6px); } }
@keyframes range-up { from { opacity: .4; transform: translateY(32px); } }

.range-head { display: flex; align-items: center; gap: 8px; padding: 14px 14px 4px 20px; }
.range-head h2 { flex: 1; font-size: 17px; letter-spacing: -.02em; }
.range-head .icon { font-size: 20px; }
.range-head [aria-disabled="true"] { color: var(--disabled-ink); background: transparent; cursor: default; }
.range-weekdays { display: none; }
.range-months { display: grid; grid-template-columns: repeat(var(--months, 2), 280px); justify-content: center; gap: 28px; padding: 0 20px 10px; }
.range-month-title { padding: 6px 0 2px; font-size: 15px; font-weight: 750; letter-spacing: -.02em; text-align: center; }
.range-grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.range-grid th { height: 32px; font-size: 12px; font-weight: 700; color: var(--muted); }
.range-grid td { padding: 0; height: 42px; text-align: center; }
.range-day { position: relative; display: block; width: 100%; height: 40px; padding: 0; border: 0; border-radius: 10px; background: none; font-size: 15px; font-weight: 650; }
.range-day:hover:not([aria-disabled="true"]) { background: var(--hover-surface); }
/* Not by colour alone: a day that takes no pick is also struck through. */
.range-day[aria-disabled="true"] { color: var(--disabled-ink); text-decoration: line-through; cursor: default; }
.range-day[aria-current="date"]::after { content: ''; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.range-grid .in-range { background: var(--light-blue); }
.range-grid .in-range > .range-day[aria-disabled="true"] { text-decoration: none; }
.range-grid .is-start.has-range { background: linear-gradient(90deg, transparent 50%, var(--light-blue) 50%); }
.range-grid .is-end.has-range { background: linear-gradient(270deg, transparent 50%, var(--light-blue) 50%); }
.range-grid :is(.is-start, .is-end) > .range-day, .range-grid :is(.is-start, .is-end) > .range-day:hover { background: var(--range-end); color: var(--range-end-ink); font-weight: 800; text-decoration: none; }
/* The return the pointer or the focus would pick: an outlined end. */
.range-grid .is-end.is-preview > .range-day { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 2px var(--range-end); }
/* Inside the cell, with a gap in the surface colour, so it shows on a filled end too. */
.range-grid .range-day:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; box-shadow: inset 0 0 0 5px var(--surface); }

.range-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 20px 16px; border-top: 1px solid var(--line); }
/* The months set the popover's width; a long line wraps in it. */
.is-popover .range-foot { width: 0; min-width: 100%; }
.range-notes { flex: 1 1 240px; min-width: 0; }
.range-status { font-size: 14px; font-weight: 700; line-height: 1.5; }
.range-rules { margin-top: 2px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.range-actions { display: flex; gap: 10px; }
.range-actions .btn { min-height: 44px; padding: 10px 16px; font-size: 14px; }
.is-popover .range-done { display: none; }
.range-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* The sheet: the weekdays fixed above every month in one scroll, the summary and Done below. */
.is-sheet .range-head { padding: 10px 10px 10px 18px; border-bottom: 1px solid var(--line); }
.is-sheet :is(.range-prev, .range-next) { display: none; }
.is-sheet .range-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); padding: 8px 12px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--muted); text-align: center; }
/* Positioned, so the months' hidden headings stay inside their scroll, not the sheet's. */
.is-sheet .range-months { position: relative; display: block; flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 12px 20px; }
.is-sheet .range-month-title { padding: 18px 6px 8px; text-align: left; }
.is-sheet .range-grid thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.is-sheet .range-grid td { height: 46px; }
.is-sheet .range-day { height: 44px; }
.is-sheet .range-foot { padding: 12px 16px max(16px, env(safe-area-inset-bottom)); box-shadow: 0 -8px 25px #10294008; }
.is-sheet .range-actions { flex: 1 1 100%; }
.is-sheet .range-done { flex: 1; }

/* Contrast themes (Windows) drop backgrounds and shadows: the range in system colours. */
@media (forced-colors: active) {
    .range-grid :is(.is-start, .is-end) > .range-day { forced-color-adjust: none; background: Highlight; color: HighlightText; }
    .range-grid .in-range > .range-day { border: 1px solid CanvasText; }
    .range-grid .is-end.is-preview > .range-day { background: Canvas; color: CanvasText; border: 2px dashed Highlight; }
}

.landing-stepper { margin-top: 22px; }
.stepper { display: flex; align-items: flex-start; justify-content: space-between; }
.stepper li { display: flex; flex: 1; justify-content: center; position: relative; min-width: 0; }
.stepper li:not(:last-child)::after { content: ''; position: absolute; top: 14px; left: calc(50% + 22px); right: calc(-50% + 22px); height: 1px; background: var(--line); }
.stepper .step-link { display: flex; flex-direction: column; align-items: center; gap: 7px; min-height: 64px; max-width: 76px; padding: 0; border: 0; background: none; font-size: 11px; font-weight: 650; line-height: 1.5; text-align: center; color: var(--muted); cursor: default; position: relative; z-index: 1; }
.stepper a.step-link { cursor: pointer; }
.step-num { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 1px solid var(--line); background: var(--surface); border-radius: 50%; font-size: 13px; font-weight: 700; }
.step-num .icon { font-size: 15px; }
.stepper .active .step-link { color: var(--ink); }
.stepper .active .step-num { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 0 0 4px #142d4e08; }
.stepper .complete .step-link { color: var(--blue); }
.stepper .complete .step-num { background: var(--light-blue); border-color: var(--line); color: var(--blue); }

/* ---------- Landing: why, fleet, FAQ, footer ---------- */

.why-section { padding: 47px 0; display: grid; gap: 28px; scroll-margin-top: 16px; }
.why-copy h2 { margin-top: 11px; font-size: 31px; line-height: 1.24; }
.why-copy h2 br { display: none; }
.why-copy p { font-size: 14px; color: var(--muted); margin-top: 10px; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px 18px; }
.feature-icon { width: 39px; height: 39px; margin-bottom: 10px; border-radius: 12px; background: var(--light-blue); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.feature-icon .icon { font-size: 22px; }
.why-feature h3 { font-size: 15px; font-weight: 750; letter-spacing: -.02em; margin-bottom: 5px; }
.why-feature p { color: var(--muted); font-size: 14px; line-height: 1.7; }

.fleet-section { padding: 36px 0 38px; background: var(--bg); border-block: 1px solid var(--soft-line); scroll-margin-top: 16px; }
.section-head { margin-bottom: 23px; }
.section-head h2 { margin-top: 10px; font-size: 28px; line-height: 1.3; max-width: 320px; }
.section-head .section-subtitle { margin-top: 10px; }
.section-head .btn { margin-top: 17px; min-height: 44px; font-size: 14px; }
.teaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.teaser { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.teaser:hover { box-shadow: var(--shadow); border-color: var(--blue); }
.teaser-img { background: linear-gradient(140deg, var(--image-start), var(--image-end)); overflow: hidden; }
.teaser-img img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; transition: transform .3s; }
.teaser:hover img { transform: scale(1.05); }
.teaser-body { padding: 14px 12px; }
.teaser h3 { font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.teaser h3 .icon { font-size: 18px; color: var(--blue); }
.teaser p { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.6; }
.teaser-specs { display: flex; flex-wrap: wrap; gap: 4px 9px; margin-top: 10px; font-size: 12px; color: var(--spec-ink); }
.teaser-specs span { display: flex; gap: 4px; align-items: center; }
.teaser-specs .icon { font-size: 14px; }
.tiny-note { font-size: 12px; color: var(--muted); margin-top: 15px; line-height: 1.7; }

.faq-section { padding: 43px 0; display: grid; gap: 25px; scroll-margin-top: 16px; }
.faq-copy .section-title { margin-top: 13px; }
.faq-copy > .btn { display: none; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 59px; padding: 16px 0; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 15px; font-size: 15px; font-weight: 750; line-height: 1.6; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-size: 23px; font-weight: 400; color: var(--blue); flex-shrink: 0; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { font-size: 14px; color: var(--muted); line-height: 1.85; padding: 0 22px 20px 0; }

.site-footer { background: var(--footer); color: var(--footer-ink); padding: 32px 0 20px; }
.footer-main { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; padding-bottom: 25px; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand .brand-word { font-size: 21px; color: #fff; }
.footer-brand p { color: var(--footer-muted); font-size: 14px; line-height: 1.65; margin-top: 10px; }
.footer-col h2 { font-size: 13px; color: #fff; letter-spacing: 0; margin-bottom: 8px; }
.footer-col p, .footer-col button, .footer-col > a, .contact-list a { font-size: 13px; color: var(--footer-muted); line-height: 1.7; overflow-wrap: anywhere; }
.footer-col button, .footer-col > a { display: flex; align-items: center; min-height: 44px; border: 0; background: none; padding: 0; text-align: left; }
.footer-col button:hover, .footer-col > a:hover, .contact-list a:hover, .footer-bottom :is(button, a):hover { color: #fff; }
.contact-list a { display: flex; align-items: flex-start; gap: 7px; padding: 8px 0; min-height: 44px; }
.contact-list .icon { font-size: 16px; margin-top: 4px; }
.footer-bottom { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid #ffffff16; padding-top: 16px; font-size: 12px; color: var(--footer-muted); }
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 0 20px; }
.footer-bottom button { background: none; border: 0; padding: 0; color: var(--footer-muted); font-size: 12px; min-height: 44px; }

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

.booking-page { background: var(--bg); min-height: calc(100vh - 72px); padding: 16px 0 112px; }
.booking-progress { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 4px 8px; }
.dates-strip { margin-top: 14px; background: var(--strip); border: 1px solid var(--strip-line); border-radius: 10px; padding: 4px 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dates-strip-content { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-size: 12px; line-height: 1.6; padding-block: 8px; }
.dates-strip-content .icon { color: var(--blue); font-size: 16px; }
.strip-days { background: var(--surface); border-radius: 5px; padding: 3px 6px; font-size: 11px; font-weight: 750; }
.dates-strip .text-link { font-size: 13px; flex-shrink: 0; min-height: 44px; }
.booking-heading { margin: 22px 0 20px; }
.heading-count { color: var(--muted); font-size: 11px; display: block; margin-bottom: 9px; text-transform: uppercase; letter-spacing: .12em; font-weight: 750; }
.booking-title { font-size: 27px; line-height: 1.25; outline: none; }
.booking-intro { font-size: 14px; color: var(--muted); margin-top: 10px; }
.booking-grid > .price-sidebar { display: none; }
.content-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 18px; }
.content-panel + .content-panel, .content-panel + .info-box, .info-box + .content-panel { margin-top: 18px; }
.panel-title { font-size: 17px; font-weight: 750; margin-bottom: 20px; display: flex; align-items: center; gap: 9px; }
.panel-title .icon { font-size: 21px; }
.section-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 14px; margin-top: 22px; padding: 10px 0; }
.section-actions .btn { font-size: 14px; padding: 12px 15px; }
.status-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 28px 20px; text-align: center; color: var(--muted); font-size: 15px; line-height: 1.7; }
.status-panel .btn { margin-top: 16px; }
.alert { display: flex; align-items: flex-start; gap: 9px; background: var(--error-surface); color: var(--red); border-radius: 9px; padding: 12px 14px; font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
.alert .icon { font-size: 19px; margin-top: 1px; }
.alert ul { margin-top: 4px; }
.taken-notice { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; margin: 4px 0 28px; padding: 18px 20px; background: var(--error-surface); border: 1px solid var(--red); border-left-width: 6px; border-radius: 12px; }
.taken-notice > .icon { font-size: 34px; color: var(--red); flex-shrink: 0; }
.taken-notice > div { flex: 1 1 240px; }
.taken-notice h3 { font-size: 19px; font-weight: 750; line-height: 1.35; color: var(--red); }
.taken-notice p { font-size: 15px; line-height: 1.55; margin-top: 4px; color: var(--ink); }
.taken-notice .btn { flex-shrink: 0; }
.car-status { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; padding: 13px 16px; border-radius: 10px; border-left: 5px solid; font-size: 15px; line-height: 1.5; }
.car-status .icon { font-size: 22px; flex-shrink: 0; margin-top: 1px; }
.car-status.is-taken { background: var(--error-surface); border-color: var(--red); color: var(--ink); }
.car-status.is-taken .icon, .car-status.is-taken strong { color: var(--red); }
.car-status-link { padding: 4px 0 0; }
.car-status.is-free { background: var(--success-surface); border-color: var(--green); color: var(--success-ink); }
.car-status.is-free .icon { color: var(--green); }

/* ---------- Car page ---------- */

.breadcrumb { margin-top: 14px; font-size: 13px; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; padding: 0; }
.breadcrumb li:not(:last-child)::after { content: '/'; margin: 0 8px; color: var(--line); }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 650; }
.car-hero { display: grid; gap: 22px; margin-top: 14px; }
.car-gallery { position: relative; min-width: 0; }
/* A strip that scrolls sideways and snaps to each photo; the buttons only scroll it. Every photo
   gets the same 3:2 frame and is shown whole inside it, never cropped or stretched: a photo of
   another shape leaves the frame's background showing beside or above it. */
.car-photos { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; gap: 10px; border-radius: 15px; list-style: none; padding: 0; scrollbar-width: none; }
.car-photos::-webkit-scrollbar { display: none; }
.car-photos li { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 3 / 2; border-radius: 15px; overflow: hidden; background: linear-gradient(140deg, var(--image-start), var(--image-end)); }
.car-photos img { width: 100%; height: 100%; object-fit: contain; }
.car-photos-nav { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 8px; }
.car-photos-nav .icon-btn { box-shadow: var(--shadow); }
.car-photos-nav .icon { font-size: 20px; }
.car-photo-placeholder { aspect-ratio: 3 / 2; border-radius: 15px; background: linear-gradient(140deg, var(--image-start), var(--image-end)); display: flex; align-items: center; justify-content: center; }
.car-photo-placeholder img { width: 80%; height: auto; }
.car-intro h1 { margin-top: 8px; font-size: clamp(32px, 9vw, 44px); font-weight: 750; letter-spacing: -.04em; line-height: 1.12; }
.car-from { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 12px; font-size: 14px; color: var(--muted); }
.car-intro .specs { margin-top: 6px; }
.car-text { margin-top: 16px; font-size: 15px; line-height: 1.8; color: var(--muted); }
.car-text p + p { margin-top: 10px; }
.car-shuttle { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; padding: 14px; border-radius: 11px; background: var(--light-blue); font-size: 13px; line-height: 1.7; color: var(--muted); }
.car-shuttle > .icon { color: var(--blue); font-size: 22px; }
.car-shuttle strong { display: block; color: var(--ink); font-size: 14px; }
.car-book { margin-top: 18px; width: 100%; }
/* Everything below the car sits on the tinted page background, its cards on the surface colour. */
.car-body { margin-top: 36px; padding: 1px 0 10px; background: var(--bg); border-top: 1px solid var(--soft-line); }
/* On a car page the date card stands alone: as wide as the container, not overlapping a hero. */
.date-card.date-card-plain { width: calc(100% - 36px); margin-top: 30px; scroll-margin-top: 16px; }
/* On the offers page, between the stepper and the offers. */
.date-card.booking-dates { width: calc(100% - 36px); margin-top: 14px; margin-bottom: 4px; }
.date-card-plain h2 { display: flex; align-items: center; gap: 10px; }
.car-details { display: grid; gap: 18px; margin: 30px auto 0; align-items: start; }
/* On a car page the date card is one of the panels: the grid gives it its width. */
.car-details > .date-card.date-card-plain { width: auto; margin: 0; }
.car-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 18px; box-shadow: var(--shadow); }
.car-panel .panel-title { margin-bottom: 12px; }
.panel-icon { width: 38px; height: 38px; border-radius: 11px; background: var(--light-blue); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.panel-icon .icon { font-size: 21px; }
.car-others { background: none; border: 0; }
.car-panel-intro { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 8px; }
.band-price { display: flex; justify-content: flex-end; align-items: baseline; flex-wrap: wrap; gap: 5px; font-size: 12px; color: var(--muted); }
.car-conditions { padding-top: 6px; }
.car-extras { list-style: none; padding: 0; }
.car-extras li { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 14px 0; border-top: 1px solid var(--soft-line); font-size: 14px; }
.car-extras li:first-child { border-top: 0; }
.car-extras small { display: block; margin-top: 3px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.car-extra-price { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: flex-end; gap: 4px; font-size: 12px; color: var(--muted); text-align: right; flex-shrink: 0; }

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

.price { position: relative; display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 3px 7px; line-height: 1.4; }
.price .amount { font-weight: 800; letter-spacing: -.045em; white-space: nowrap; }
/* The indicative amount in another currency: a tinted chip, readable beside the price without competing with it. */
.price .approx { font-weight: 650; font-size: 14px; color: var(--blue); background: var(--light-blue); padding: 1px 7px; border-radius: 6px; white-space: nowrap; letter-spacing: 0; }
.price-lg .amount { font-size: 28px; }
.price-lg .approx { font-size: 15px; }
.price-md .amount { font-size: 18px; }
.price-sm .amount { font-size: 15px; letter-spacing: -.01em; font-weight: 700; }
.price-sm .approx { font-size: 13px; }
.price-xs .amount { font-size: 13px; font-weight: 600; letter-spacing: 0; }
.price-xs .approx { font-size: 12px; padding: 0 6px; }
.approx-tip { display: inline-flex; align-items: center; cursor: help; min-height: 22px; outline-offset: 2px; }
/* On a phone the tooltip spans the screen just above the bottom bar; wider screens anchor it to its price. */
.currency-tooltip { display: none; position: fixed; left: 16px; right: 16px; bottom: calc(88px + env(safe-area-inset-bottom)); z-index: 40; background: var(--navy); color: #fff; border-radius: 9px; padding: 12px; font-size: 13px; line-height: 1.6; white-space: normal; box-shadow: var(--shadow); font-weight: 500; }
.approx-tip:hover .currency-tooltip, .approx-tip:focus .currency-tooltip { display: block; }
.currency-note { font-size: 12px; color: var(--muted); margin-top: 7px; line-height: 1.7; }

/* ---------- Step 2: offers ---------- */

.offers-step { scroll-margin-top: 16px; }
.offers-grid { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: start; }
.car-card { border: 1px solid var(--line); border-radius: 15px; background: var(--surface); position: relative; scroll-margin-top: 16px; }
.car-card.selected { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.car-card.unavailable { background: var(--field-surface); color: var(--muted); }
.car-card.unavailable .car-image img { filter: grayscale(1); opacity: .5; }
.car-image { border-radius: 14px 14px 0 0; background: linear-gradient(140deg, var(--image-start), var(--image-end)); position: relative; overflow: hidden; }
.car-image img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.car-tag { position: absolute; top: 14px; left: 15px; background: var(--navy); color: #fff; font-weight: 750; font-size: 12px; padding: 6px 9px; border-radius: 5px; z-index: 1; }
.car-select-check { position: absolute; right: 13px; top: 12px; color: var(--blue); }
.car-card-body { padding: 20px; }
.car-card h3 { font-size: 23px; }
.car-example { font-size: 14px; color: var(--muted); display: block; margin-top: 3px; line-height: 1.5; }
.car-desc { font-size: 14px; color: var(--muted); margin-top: 9px; line-height: 1.7; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 4px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--spec-ink); }
/* Without a spec .specs holds only its Alpine templates. */
.specs:not(:has(span)) { display: none; }
.specs span { display: flex; align-items: center; gap: 5px; }
.specs .icon { font-size: 16px; color: var(--spec-icon); }
.car-pricing { padding: 16px 0; }
.car-pricing small { display: block; font-size: 12px; color: var(--muted); margin-top: 1px; }
.car-per-day { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px; margin-top: 8px; font-size: 12px; color: var(--muted); }
.inclusions { font-size: 13px; line-height: 1.65; display: flex; gap: 7px; align-items: flex-start; margin-bottom: 10px; }
.inclusions .icon { font-size: 16px; color: var(--green); margin-top: 2px; }
.inclusions strong { display: block; font-weight: 700; font-size: 14px; }
.inclusions small { font-size: 12px; color: var(--muted); }
.deposit-line { display: flex; align-items: flex-start; gap: 7px; padding-bottom: 16px; font-size: 12px; line-height: 1.8; color: var(--muted); }
.deposit-line > .icon { font-size: 16px; color: var(--spec-icon); margin-top: 3px; }
.car-card .btn { min-height: 48px; }
.unavailable-label { font-size: 13px; background: var(--disabled-surface); border-radius: 7px; padding: 12px 5px; color: var(--ink); text-align: center; line-height: 1.6; min-height: 44px; font-weight: 600; }
.car-price-details { border-top: 1px solid var(--line); margin-top: 15px; }
.car-price-details summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 700; list-style: none; }
.car-price-details summary::-webkit-details-marker { display: none; }
.car-price-details summary > .icon { font-size: 18px; color: var(--muted); transition: transform .2s; }
.car-price-details[open] summary > .icon { transform: rotate(180deg); }
.price-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 2px 0 14px; }
.price-table th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 500; padding: 8px 0; border-bottom: 1px solid var(--line); }
.price-table td { padding: 8px 0; border-bottom: 1px solid var(--soft-line); }
.price-table :is(th, td):last-child { text-align: right; }
.condition { font-size: 12px; margin-top: 10px; line-height: 1.7; }
.condition strong { display: block; font-size: 13px; margin-bottom: 3px; }
.car-details-link { display: inline-block; font-size: 14px; padding: 12px 0 0; }
.disclaimer { display: flex; gap: 9px; font-size: 13px; line-height: 1.8; padding: 20px 0 0; color: var(--muted); }
.disclaimer > .icon { font-size: 18px; margin-top: 4px; }

/* ---------- Step 3: extras ---------- */

.extra-row { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px 13px; padding: 22px 0; border-top: 1px solid var(--line); align-items: center; }
.extra-row:first-of-type { border-top: 0; padding-top: 4px; }
.extra-icon { height: 42px; width: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: var(--light-blue); color: var(--blue); align-self: start; }
.extra-row h3 { font-size: 16px; letter-spacing: -.02em; margin-bottom: 4px; }
.extra-row p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.extra-price { font-size: 12px; color: var(--muted); display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.extra-qty { grid-column: 2; display: flex; gap: 13px; align-items: center; }
.quantity-control { display: grid; grid-template-columns: 44px 38px 44px; align-items: center; text-align: center; height: 46px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); overflow: hidden; }
.quantity-control button { border: 0; background: var(--surface); height: 44px; color: var(--ink); font-size: 23px; font-weight: 400; }
.quantity-control button:disabled { color: var(--disabled-ink); background: var(--disabled-surface); }
.quantity-control button:hover:enabled { background: var(--hover-surface); }
.quantity-control input { width: 100%; height: 44px; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-size: 16px; font-weight: 750; text-align: center; -moz-appearance: textfield; appearance: textfield; }
.quantity-control input::-webkit-inner-spin-button, .quantity-control input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
/* Without the script the steppers' buttons stay hidden, and the field is typed into. */
.quantity-control:has(button[hidden]) { grid-template-columns: 80px; }
.extra-max { font-size: 12px; color: var(--muted); white-space: nowrap; }
.info-box { padding: 17px; display: flex; align-items: flex-start; gap: 11px; background: var(--success-surface); border: 1px solid var(--success-line); border-radius: 11px; margin-top: 18px; color: var(--success-ink); }
.info-box > .icon { font-size: 24px; }
.info-box h3 { font-size: 15px; letter-spacing: -.01em; font-weight: 750; }
.info-box p { font-size: 14px; line-height: 1.7; margin-top: 4px; color: var(--success-muted); }
.info-box.blue { background: var(--light-blue); border-color: var(--line); color: var(--blue); }
.info-box.blue p { color: var(--muted); }

/* ---------- Step 4: details ---------- */

.form-grid { display: grid; grid-template-columns: 1fr; gap: 20px 18px; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field label { font-size: 14px; font-weight: 750; margin-bottom: 8px; }
.field label small { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 5px; }
.field :is(input, textarea, select) { width: 100%; min-height: 48px; padding: 11px; border: 1px solid var(--input-line); background: var(--field-surface); border-radius: 8px; font-size: 16px; resize: vertical; }
.field :is(input, textarea)::placeholder { color: var(--muted); font-size: 14px; opacity: .8; }
.field.has-error :is(input, select, textarea) { border-color: var(--red); background: var(--error-surface); }
.form-subhead { font-size: 16px; letter-spacing: -.02em; margin: 26px 0 18px; padding-top: 24px; border-top: 1px solid var(--line); }
.check-label { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.85; cursor: pointer; }
.check-label input { width: 22px; height: 22px; flex-shrink: 0; accent-color: var(--navy); margin: 2px 0 0; cursor: pointer; }
.check-field { margin-top: 25px; }
.consents { margin-bottom: 22px; }
.consents .check-field:first-child { margin-top: 18px; }
.invoice-toggle { padding-top: 24px; border-top: 1px solid var(--line); }
.billing-fields { margin-top: 20px; }
/* Asked only for a VAT invoice: shown while its box is ticked. */
#details-form:not(:has(#field-billing:checked)) .billing-fields { display: none; }
.check-field .text-link { padding: 0; display: inline; line-height: 1.9; }
.note-line { display: flex; align-items: flex-start; gap: 6px; margin-top: 17px; font-size: 12px; line-height: 1.7; color: var(--muted); }
.note-line .icon { font-size: 15px; margin-top: 2px; }

/* ---------- Step 5 and the result ---------- */

.breakdown-title { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.breakdown-title h2 { font-size: 17px; }
.review-car { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.review-car img { width: 125px; height: auto; aspect-ratio: 3 / 2; object-fit: contain; background: var(--bg); border-radius: 10px; }
.review-car h3 { font-size: 22px; }
.review-car p { font-size: 13px; color: var(--muted); margin-top: 5px; line-height: 1.5; }
.review-car .pill { margin-top: 10px; font-size: 12px; padding: 5px 9px; }
.review-date-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.review-date-grid small { display: block; color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.review-date-grid strong { font-size: 14px; line-height: 1.7; }
.review-date-grid p { font-size: 13px; margin-top: 5px; color: var(--muted); line-height: 1.5; }
.review-mileage { display: flex; align-items: flex-start; gap: 10px; padding: 18px 0; margin-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.review-mileage > .icon { color: var(--green); font-size: 20px; }
.review-mileage p { color: var(--muted); font-size: 13px; margin-top: 4px; }
/* Under the km, in the same block. */
.review-fuel { margin-top: 0; padding-top: 0; border-top: 0; }
.summary-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; font-size: 13px; line-height: 1.5; margin-top: 12px; }
.summary-row > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.summary-row > .price { justify-content: flex-end; text-align: right; }
.summary-row .amount { font-size: 14px; }
.summary-row .approx { font-size: 12px; padding: 0 6px; }
.review-breakdown .summary-row { padding: 5px 0; font-size: 14px; }
.review-grand-total { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 18px; font-size: 15px; font-weight: 750; }
.review-grand-total .price { flex-direction: column; align-items: flex-end; gap: 3px; }
.review-grand-total .amount { font-size: 25px; }
.review-grand-total .approx { font-size: 15px; }
.review-contact { font-size: 14px; line-height: 1.9; overflow-wrap: anywhere; }
.review-contact strong { font-size: 16px; }
.review-conditions { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 17px; }
.review-condition { border: 1px solid var(--line); padding: 12px 14px; border-radius: 9px; font-size: 13px; background: var(--field-surface); }
.review-condition .icon { font-size: 19px; color: var(--blue); margin-bottom: 6px; }
.review-condition strong { display: block; font-size: 14px; margin-bottom: 4px; }
.review-condition p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.confirm-panel { border-color: var(--warning-line); background: var(--warning-surface); }
.confirm-panel > p { font-size: 14px; color: var(--muted); margin: -8px 0 18px; }
.confirm-panel .btn { min-height: 52px; font-size: 16px; }
/* The gateway's logo strip, on white in every scheme: its logos are drawn for a light background. */
.payment-strip { display: block; margin-top: 16px; padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.payment-strip img { display: block; width: 100%; max-width: 440px; height: auto; margin-inline: auto; }

.result-page { padding-bottom: 45px; }
.result-heading { text-align: center; margin: 20px 0 26px; }
.result-symbol { width: 61px; height: 61px; border-radius: 50%; background: var(--success-surface); color: var(--green); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.result-symbol .icon { font-size: 30px; }
/* Left, under the confirmations; spaced from the button only while Turnstile shows itself. */
.captcha { display: flex; justify-content: flex-start; }
.captcha.is-shown { margin-bottom: 20px; }
.result-symbol.is-failed { background: var(--error-surface); color: var(--red); }
.result-symbol.is-neutral { background: var(--light-blue); color: var(--blue); }
/* The error page's longer text, at a line length that reads. */
.error-page .result-heading > p { max-width: 560px; margin-inline: auto; }
.result-heading :is(h1, h2) { font-size: 28px; line-height: 1.3; max-width: 520px; margin-inline: auto; outline: none; }
.result-heading > p { font-size: 14px; color: var(--muted); margin-top: 10px; }
.booking-reference { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 11px; margin-top: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; padding: 10px 16px; font-size: 13px; color: var(--muted); }
.booking-reference strong { color: var(--ink); font-size: 16px; letter-spacing: .04em; }
.transaction-id { font-size: 13px; color: var(--muted); margin-top: 10px; overflow-wrap: anywhere; }
.transaction-id strong { color: var(--ink); }
.email-confirm { padding: 14px; border: 1px solid var(--success-line); background: var(--success-surface); border-radius: 9px; margin-top: 22px; font-size: 13px; text-align: center; line-height: 1.8; color: var(--success-muted); overflow-wrap: anywhere; }
.email-confirm strong { display: block; color: var(--success-ink); }
.pickup-steps { display: grid; gap: 16px; }
.pickup-item { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.7; }
.pickup-item > span { display: flex; align-items: center; justify-content: center; width: 25px; height: 25px; flex-shrink: 0; border-radius: 50%; font-size: 13px; font-weight: 750; color: var(--blue); background: var(--light-blue); }
.pickup-address { background: var(--bg); padding: 8px 15px; border-radius: 9px; font-size: 14px; margin-top: 22px; line-height: 1.7; overflow-wrap: anywhere; }
.pickup-address a, .pickup-address div { display: flex; align-items: flex-start; gap: 9px; padding: 8px 0; }
.pickup-address .icon { font-size: 17px; margin-top: 3px; color: var(--blue); }
.result-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 25px; }

/* ---------- Summary: desktop sidebar, mobile bar and sheet ---------- */

.price-sidebar { position: sticky; top: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.sidebar-heading { padding: 17px 15px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.sidebar-heading h2 { font-size: 17px; }
.sidebar-heading > .icon { font-size: 21px; color: var(--blue); }
.sidebar-content { padding: 18px 20px; }
.sidebar-car { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.sidebar-car img { width: 88px; height: auto; aspect-ratio: 3 / 2; object-fit: contain; background: var(--bg); border-radius: 7px; flex-shrink: 0; }
.sidebar-car strong { font-size: 15px; }
.sidebar-car small { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.6; }
.empty-car { padding: 16px; background: var(--bg); font-size: 14px; color: var(--muted); border-radius: 8px; text-align: center; margin-bottom: 20px; }
.sidebar-date { display: grid; grid-template-columns: 20px 1fr; gap: 7px; align-items: flex-start; margin-bottom: 15px; }
.sidebar-date > .icon { font-size: 17px; color: var(--spec-icon); margin-top: 2px; }
.sidebar-date small { font-size: 12px; color: var(--muted); display: block; margin-bottom: 3px; }
.sidebar-date strong { display: block; font-size: 14px; font-weight: 650; line-height: 1.6; }
.sidebar-day-count { padding: 10px 0 15px; border-bottom: 1px dashed var(--line); margin-bottom: 13px; }
.sidebar-total { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.sidebar-total > span { font-size: 14px; font-weight: 750; display: block; margin-bottom: 6px; }
.sidebar-total .price { display: flex; justify-content: space-between; }
.sidebar-total .amount { font-size: 26px; }
.sidebar-total .approx { font-size: 15px; }
.sidebar-deposit { background: var(--field-surface); padding: 15px 20px; display: flex; align-items: flex-start; gap: 9px; font-size: 12px; border-top: 1px solid var(--line); line-height: 1.7; }
.sidebar-deposit > .icon { color: var(--blue); font-size: 19px; }
.sidebar-deposit p { font-size: 12px; line-height: 1.7; color: var(--muted); margin-top: 3px; }
.sidebar-deposit .price { display: flex; }
.sidebar-secure { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px; font-size: 12px; color: var(--success-muted); border-top: 1px solid var(--soft-line); }
.sidebar-secure .icon { font-size: 14px; }

.mobile-price-bar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; align-items: center; justify-content: space-between; gap: 12px; min-height: 76px; padding: 10px 16px max(10px, env(safe-area-inset-bottom)); background: var(--mobile-surface); backdrop-filter: blur(14px); border-top: 1px solid var(--line); box-shadow: 0 -8px 25px #10294008; }
.mobile-price-left { min-width: 0; }
.mobile-price-left > small { font-size: 12px; color: var(--muted); display: block; margin-bottom: 2px; }
.mobile-price-bar .amount { font-size: 20px; }
.mobile-price-bar .approx { font-size: 13px; }
.mobile-price-bar .empty-price { font-size: 14px; color: var(--muted); }
.mobile-price-bar > button { flex-shrink: 0; display: flex; align-items: center; gap: 4px; min-height: 44px; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--hover-surface); font-size: 13px; font-weight: 700; }
.mobile-price-bar > button > .icon { font-size: 18px; }

/* ---------- Dialogs, toast, consent ---------- */

dialog { border: 1px solid var(--line); border-radius: 17px; padding: 24px; max-width: 520px; width: calc(100% - 32px); background: var(--surface); color: var(--ink); box-shadow: 0 20px 100px #0e223b40; }
dialog::backdrop { background: #0a1e36a6; backdrop-filter: blur(4px); }
.modal-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 15px; }
.modal-header h2 { font-size: 22px; line-height: 1.35; }
.modal-body { font-size: 14px; color: var(--muted); line-height: 1.9; }
.modal-body p + p { margin-top: 12px; }
.modal-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.modal-footer { margin-top: 25px; }
.summary-dialog { margin: auto 0 0; padding: 0; width: 100%; max-width: none; max-height: 88dvh; border-radius: 20px 20px 0 0; border-bottom: 0; }
.summary-dialog > .modal-header { margin: 0; border-bottom: 1px solid var(--line); padding: 16px 20px; align-items: center; }
.summary-dialog > .modal-header h2 { font-size: 19px; }
.summary-dialog .price-sidebar { position: static; border: 0; border-radius: 0; box-shadow: none; }
.summary-dialog .sidebar-heading { display: none; }
.summary-dialog .sidebar-content { padding: 20px 22px; }
#toast { position: fixed; bottom: 92px; left: 50%; transform: translate(-50%, 20px); width: max-content; max-width: calc(100% - 32px); background: var(--navy); color: #fff; padding: 13px 20px; border-radius: 10px; opacity: 0; transition: .2s; pointer-events: none; z-index: 100; font-size: 14px; box-shadow: var(--shadow); }
#toast.visible { opacity: 1; transform: translate(-50%, 0); }
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; max-width: 520px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 45px #081b3433; }
.consent h2 { font-size: 17px; }
.consent p { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.7; }
.consent { max-height: calc(100dvh - 24px); overflow-y: auto; }
.consent-choices { display: grid; gap: 8px; margin-top: 12px; }
.consent-choices .check-label { font-size: 13px; line-height: 1.6; color: var(--muted); }
.consent-choices .check-label strong { color: var(--ink); }
.consent-actions { display: grid; gap: 8px; margin-top: 14px; }
.consent-actions .btn { min-height: 44px; padding: 10px 14px; font-size: 14px; }

/* ---------- Phones from 390px: room for the brand's name beside the logo ---------- */

@media (min-width: 390px) {
    .brand > span:last-child { display: inline; }
}

/* ---------- Tablet ---------- */

@media (min-width: 700px) {
    .container { width: calc(100% - 60px); }
    .wide-container { width: calc(100% - 48px); }
    .kicker { font-size: 13px; }

    .site-header { min-height: 90px; }
    .header-inner { gap: 20px; }
    .brand { gap: 13px; }
    .brand-mark { width: 64px; height: 50px; padding: 5px 6px; }
    .brand-word { font-size: 18px; }
    .brand-caption { letter-spacing: .15em; margin-top: 4px; }
    .header-actions { gap: 12px; }

    .hero { height: 470px; margin-top: 24px; border-radius: 20px; }
    .hero-photo { inset: 0 0 0 auto; width: 85%; object-position: 48% 50%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); }
    .hero::after { background: linear-gradient(90deg, rgb(var(--hero-rgb)) 0%, rgba(var(--hero-rgb), .96) 36%, rgba(var(--hero-rgb), .86) 52%, rgba(var(--hero-rgb), .1) 78%, rgba(var(--hero-rgb), .03) 100%); }
    .hero-content { padding: 47px 40px 57px; }
    .hero .kicker { font-size: 13px; letter-spacing: .16em; }
    .hero h1 { font-size: 52px; margin: 19px 0; }
    .hero-description { font-size: 15px; max-width: 300px; line-height: 1.8; }
    .hero-pill { margin-top: 25px; padding: 9px 14px; font-size: 14px; }
    .hero-caption { position: absolute; right: 20px; bottom: 140px; z-index: 1; display: flex; align-items: center; gap: 11px; background: rgba(var(--hero-rgb), .8); border: 1px solid #ffffff2e; color: #fff; padding: 13px 19px; border-radius: 10px; font-size: 13px; backdrop-filter: blur(12px); }
    .hero-caption strong { display: block; font-size: 14px; margin-bottom: 3px; }
    .hero-caption small { color: var(--hero-muted); font-size: 13px; }

    .date-card { width: calc(100% - 60px); margin-top: -95px; padding: 26px 30px 20px; border-radius: 16px; }
    .date-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
    .date-card-heading h2 { font-size: 23px; }
    .date-card-heading p { font-size: 14px; }
    .pickup-location { margin-top: 0; border-top: 0; padding-top: 3px; font-size: 14px; }
    .date-fields { grid-template-columns: 1fr 1fr; gap: 12px; }
    .date-group { grid-template-columns: minmax(0, 1fr) 100px; gap: 7px; }
    .date-group .field-label { font-size: 13px; }
    .date-search { grid-column: 1 / -1; }
    .date-notes { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
    .date-rule-notes { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 0; }

    .landing-stepper { margin-top: 30px; padding: 0 10px; }
    .stepper { align-items: center; }
    .stepper li { flex: 1; justify-content: flex-start; align-items: center; }
    .stepper li:last-child { flex: 0 0 auto; }
    .stepper li:not(:last-child)::after { position: static; flex: 1; margin: 0 12px; }
    .stepper .step-link { flex-direction: row; gap: 6px; min-height: 44px; max-width: none; font-size: 13px; white-space: nowrap; }
    .step-num { width: 29px; height: 29px; font-size: 14px; }

    .breadcrumb { margin-top: 22px; }
    .car-hero { margin-top: 18px; gap: 30px; }
    .date-card.date-card-plain { width: calc(100% - 60px); }
    .date-card.booking-dates { width: calc(100% - 60px); margin-top: 18px; }
    .car-details { grid-template-columns: 1.3fr 1fr; grid-template-areas: "dates dates" "prices extras"; }
    .car-details > .date-card { grid-area: dates; }
    .car-prices { grid-area: prices; }
    .car-extras-panel { grid-area: extras; }
    .car-panel { padding: 25px; }

    .why-section { padding: 60px 0 65px; grid-template-columns: 1fr 1.6fr; gap: 35px; align-items: start; }
    .why-copy h2 { font-size: 29px; }
    .why-copy h2 br { display: inline; }
    .why-copy p { font-size: 15px; max-width: 250px; }
    .why-grid { gap: 22px 15px; }
    .why-feature { display: flex; gap: 10px; align-items: flex-start; }
    .feature-icon { width: 34px; height: 36px; border-radius: 9px; margin: 0; flex-shrink: 0; }
    .feature-icon .icon { font-size: 19px; }
    .why-feature h3 { font-size: 14px; margin: 3px 0 6px; }
    .why-feature p { font-size: 13px; }

    .fleet-section { padding: 58px 0 65px; }
    .section-head { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 30px; }
    .section-head h2 { max-width: none; }
    .section-head .section-subtitle { font-size: 15px; margin-top: 9px; }
    .section-head .btn { margin-top: 0; flex-shrink: 0; }
    .teaser-grid { grid-template-columns: repeat(4, 1fr); }
    .teaser-body { padding: 13px; }
    .teaser h3 { font-size: 16px; }
    .tiny-note { font-size: 12px; margin-top: 16px; }

    .faq-section { padding: 75px 0 80px; grid-template-columns: .85fr 1.5fr; gap: 35px; }
    .faq-copy > .btn { display: inline-flex; margin-top: 22px; font-size: 14px; min-height: 44px; }
    .faq-list summary { font-size: 15px; }
    .faq-list details p { font-size: 15px; }

    .site-footer { padding: 44px 0 20px; }
    .footer-main { grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 35px; }
    .footer-brand { grid-column: auto; }
    .footer-brand .brand-word { font-size: 22px; }
    .footer-brand p { font-size: 16px; margin-top: 13px; }
    .footer-col h2 { font-size: 14px; margin: 5px 0 12px; }
    .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; gap: 20px; padding-top: 10px; }

    .booking-page { min-height: calc(100vh - 90px); padding: 30px 0 65px; }
    .currency-tooltip { position: absolute; left: 0; right: auto; bottom: calc(100% + 9px); width: 225px; }
    :is(.summary-row, .price-table, .sidebar-total, .review-grand-total) .currency-tooltip { left: auto; right: 0; }
    .booking-progress { padding: 14px 20px; border-radius: 12px; }
    .dates-strip { margin-top: 20px; padding: 6px 18px; gap: 18px; }
    .dates-strip-content { gap: 6px 14px; font-size: 14px; }
    .dates-strip-content .icon { font-size: 19px; }
    .strip-days { font-size: 13px; padding: 5px 9px; }
    .booking-main { margin-top: 10px; }
    .booking-heading { margin: 27px 0; }
    .heading-count { font-size: 13px; margin-bottom: 12px; }
    .booking-title { font-size: 28px; }
    .booking-intro { font-size: 15px; }
    .booking-grid { display: grid; grid-template-columns: minmax(0, 1fr) 275px; gap: 17px; align-items: start; }
    .booking-grid > .price-sidebar { display: block; }
    .booking-grid.no-summary { grid-template-columns: minmax(0, 1fr); }
    .no-summary .offers-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
    .mobile-price-bar { display: none; }
    .content-panel { padding: 20px; }
    .car-card-body { padding: 23px; }
    .specs { grid-template-columns: repeat(4, 1fr); gap: 8px; }
    .extra-row { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; }
    .extra-icon { width: 38px; height: 38px; }
    .review-car img { width: 140px; }
    .review-grand-total { align-items: center; font-size: 16px; }
    .review-grand-total .price { flex-direction: row; align-items: baseline; gap: 7px; }
    .result-page { padding-bottom: 65px; }
    .result-container { max-width: 790px; margin-inline: auto; }
    .result-heading :is(h1, h2) { font-size: 33px; }
    .result-heading > p { font-size: 15px; }
    .result-actions { flex-direction: row; justify-content: center; }
    #toast { bottom: 30px; }
    dialog { padding: 30px; }
    .modal-header h2 { font-size: 24px; }
    .modal-body { font-size: 15px; }
    .summary-dialog { margin: auto; max-width: 430px; border-radius: 17px; border-bottom: 1px solid var(--line); }
    .consent { left: 24px; bottom: 24px; }
    .consent-actions { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Small desktop ---------- */

@media (min-width: 950px) {
    .header-book { display: inline-flex; min-height: 44px; padding: 10px 18px; font-size: 14px; }

    .hero { height: 510px; }
    .hero-photo { width: 72%; object-position: 50% 54%; }
    .hero::after { background: linear-gradient(90deg, rgb(var(--hero-rgb)) 0%, rgba(var(--hero-rgb), .96) 23%, rgba(var(--hero-rgb), .68) 41%, rgba(var(--hero-rgb), .05) 69%, rgba(var(--hero-rgb), 0) 100%); }
    .hero-content { padding: 57px 40px; }
    .hero h1 { font-size: 57px; }
    .hero-description { font-size: 16px; max-width: 360px; }
    .hero-caption { right: 35px; bottom: 112px; }
    .date-card { margin-top: -83px; }
    .car-hero { grid-template-columns: 1.35fr 1fr; gap: 45px; align-items: start; }
    .car-book { width: auto; }
    /* The date fields only as wide as a date needs; the button takes the rest, on one line. */
    .date-fields { grid-template-columns: minmax(0, 300px) minmax(0, 300px) minmax(180px, 1fr); }
    .date-search { grid-column: auto; }
    /* The car page: the date card with the extras under it, the prices beside them; the dates one under the other. */
    .car-details { grid-template-areas: "dates prices" "extras prices"; }
    .car-details > .date-card.date-card-plain { padding: 25px; }
    .car-details .date-card-heading { display: block; }
    .car-details .pickup-location { margin-top: 15px; border-top: 1px solid var(--line); padding-top: 13px; }
    .car-details .date-fields { grid-template-columns: 1fr; gap: 15px; }

    .why-section { padding-top: 83px; grid-template-columns: .9fr 1.6fr; gap: 50px; }
    .why-copy h2 { font-size: 35px; }
    .why-grid { gap: 29px 26px; }
    .why-feature { gap: 14px; }
    .feature-icon { width: 43px; height: 43px; border-radius: 12px; }
    .feature-icon .icon { font-size: 22px; }
    .why-feature h3 { font-size: 16px; }
    .why-feature p { font-size: 14px; }
    .section-head h2 { font-size: 32px; }
    .teaser-grid { gap: 17px; }
    .teaser-body { padding: 17px; }
    .teaser h3 { font-size: 17px; }
    .faq-section { gap: 55px; }
    .faq-copy .section-title { font-size: 32px; }
    .footer-main { gap: 60px; }

    .booking-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; }
    .booking-title { font-size: 32px; }
    .offers-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
    .car-card-body { padding: 16px; }
    .car-card h3 { font-size: 22px; }
    .car-desc { font-size: 13px; }
    .specs { grid-template-columns: 1fr 1fr; }
    .price-lg .amount { font-size: 23px; }
    .extra-row { grid-template-columns: 40px minmax(0, 1fr) auto; }
    .extra-icon { width: 40px; height: 40px; }
    .extra-qty { grid-column: auto; flex-direction: column; gap: 7px; }
    .form-grid { grid-template-columns: 1fr 1fr; }
    .field.full { grid-column: 1 / -1; }
    .review-conditions { grid-template-columns: 1fr 1fr; }
    .review-car { gap: 23px; }
    .review-car img { width: 165px; }
    .sidebar-heading { padding: 18px; }
}

/* ---------- Desktop ---------- */

@media (min-width: 1150px) {
    .container { width: calc(100% - 80px); }
    .date-card.date-card-plain { width: calc(100% - 80px); }
    .header-inner { gap: 25px; }
    .header-actions { gap: 16px; }
    .header-help { display: flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 700; min-height: 44px; }
    .header-help .icon { font-size: 19px; }

    /* Room for a title line of about 18 letters at the larger sizes (the description keeps its own width). */
    .hero-content { max-width: 780px; padding: 64px 62px; }
    .hero h1 { font-size: 66px; }
    .date-fields { grid-template-columns: minmax(0, 330px) minmax(0, 330px) minmax(200px, 1fr); gap: 16px; }
    .date-group { grid-template-columns: minmax(0, 1fr) 112px; }
    .landing-stepper { padding: 0 55px; }
    .stepper li:not(:last-child)::after { margin: 0 17px; }
    .stepper .step-link { gap: 9px; font-size: 14px; }
    .why-section { gap: 85px; }
    .why-grid { gap: 29px 35px; }
    .faq-section { gap: 95px; }

    .booking-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 25px; }
    .offers-grid { gap: 20px; }
    .no-summary .offers-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .car-card-body { padding: 21px; }
    .price-lg .amount { font-size: 26px; }
    .extra-row { grid-template-columns: 45px minmax(0, 1fr) auto; gap: 16px; }
    .extra-icon { width: 45px; height: 45px; }
    .content-panel { padding: 25px; }
    .sidebar-heading { padding: 20px 22px 16px; }
    .sidebar-content { padding: 18px 22px; }
}

/* ---------- Section links in the header: they fit beside the brand and the actions only from here ---------- */

@media (min-width: 1220px) {
    .nav-menu { display: none; }
    .desktop-nav { display: flex; gap: 30px; margin: 0 auto 0 24px; font-size: 15px; font-weight: 650; align-items: center; white-space: nowrap; }
    .desktop-nav a { padding-block: 10px; }
    .desktop-nav a:hover { color: var(--blue); }
}


@media (min-width: 1550px) {
    .hero { height: 555px; }
    .hero-content { padding-top: 77px; }
    .hero h1 { font-size: 72px; }
    .hero-photo { object-position: 50% 59%; }
}

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