/* naniko.org — site styles */

:root {
  --ink: #132840;
  --ink-2: #0e1f33;
  --ink-3: #1d3a5c;
  --brand: #229ace;
  --brand-d: #1583b5;
  --brand-l: #e4f4fb;
  --accent: #ffb23f;
  --good: #14a36b;
  --bad: #d64545;
  --text: #132840;
  --muted: #5a6a7f;
  --line: #e2e8f0;
  --bg: #ffffff;
  --tint: #f4f7fb;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(19, 40, 64, .06), 0 8px 24px rgba(19, 40, 64, .07);
  --shadow-lg: 0 24px 60px rgba(19, 40, 64, .22);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--brand-d); text-decoration: none; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(26, 154, 214, .45); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer; font-weight: 700; font-size: 15px; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s, transform .1s; background: var(--ink); color: #fff; }
.btn:hover { color: #fff; background: var(--ink-3); }
.btn:active { transform: translateY(1px); }
.btn--brand { background: var(--brand); box-shadow: 0 8px 20px rgba(26, 154, 214, .3); }
.btn--brand:hover { background: var(--brand-d); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn--ghost:hover { background: var(--tint); color: var(--ink); box-shadow: inset 0 0 0 2px #cfd8e3; }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--off { background: var(--tint); color: var(--muted); box-shadow: none; cursor: default; }
.btn--off:hover { background: var(--tint); color: var(--muted); }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--brand); color: #fff; transition: box-shadow .2s; }
.header.is-stuck { box-shadow: 0 6px 24px rgba(19, 40, 64, .25); }
.header__row { display: flex; align-items: center; gap: 24px; height: 74px; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a, .nav__drop > summary { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 10px; color: #fff; font-weight: 600; font-size: 15px; cursor: pointer; list-style: none; }
.nav__drop > summary::-webkit-details-marker { display: none; }
.nav > a:hover, .nav > a.is-active, .nav__drop > summary:hover, .nav__drop[open] > summary { color: #fff; background: rgba(255, 255, 255, .18); }
.nav__drop { position: relative; }
.nav__drop[open] svg { transform: rotate(180deg); }
.nav__menu { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); min-width: 250px; padding: 8px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); }
.nav__menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--text); font-weight: 700; }
.nav__menu a svg { color: var(--brand); flex: none; }
.nav__menu a small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; line-height: 1.2; }
.nav__menu a:hover, .nav__menu a.is-active { background: var(--tint); color: var(--text); }
.header__cta { display: flex; align-items: center; gap: 10px; }
/* Log In / Sign Up — decorative only, there is no account system behind them yet */
.header__ghostlink { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent; color: #fff; font-weight: 600; font-size: 14px; cursor: pointer; }
.header__ghostlink:hover { background: rgba(255, 255, 255, .15); }
.header__ghostlink--fill { background: rgba(255, 255, 255, .18); }
.header__ghostlink--fill:hover { background: rgba(255, 255, 255, .28); }
/* "Account" dropdown — Log In / Register are decorative, there is no account system yet */
.account-drop { position: relative; list-style: none; }
.account-drop > summary { list-style: none; }
.account-drop > summary::-webkit-details-marker { display: none; }
.account-drop[open] > summary { background: rgba(255, 255, 255, .18); }
.account-menu { position: absolute; top: calc(100% + 10px); right: 0; min-width: 180px; padding: 8px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); z-index: 10; }
.account-menu button, .account-menu a { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 0; background: transparent; border-radius: 10px; color: var(--text); font-weight: 700; font-size: 14px; cursor: pointer; text-align: left; }
.account-menu button svg, .account-menu a svg { color: var(--brand); flex: none; }
.account-menu button:hover, .account-menu a:hover { background: var(--tint); }
.header__phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 15px; margin-left: 4px; }
.header__phone svg { color: #fff; }
.header__phone:hover { color: #fff; opacity: .85; }
.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .15); color: #fff; cursor: pointer; }
/* the brand button would be invisible on the brand-blue header, so it goes white there */
.header .btn--brand { background: #fff; color: var(--brand-d); box-shadow: none; }
.header .btn--brand:hover { background: #eaf7ff; color: var(--brand-d); }

/* ---------- flash / alerts ---------- */
.flash { padding: 14px 0; font-weight: 600; }
.flash .container { display: flex; align-items: center; gap: 10px; }
.flash--success { background: #e5f7ef; color: #0d7a50; }
.flash--error { background: #fdecec; color: #a92f2f; }
.alert { padding: 18px 22px; border-radius: var(--radius-sm); background: var(--tint); border: 1px solid var(--line); }
.alert p { margin: 0; }
.alert p + p { margin-top: 6px; }
.alert--error { background: #fdecec; border-color: #f6c9c9; color: #a92f2f; }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center 60%; }
.hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11, 26, 44, .94) 0%, rgba(11, 26, 44, .78) 42%, rgba(11, 26, 44, .35) 100%), linear-gradient(0deg, rgba(11, 26, 44, .7), transparent 45%); }
.hero__inner { position: relative; padding-top: 88px; padding-bottom: 72px; display: grid; gap: 40px; }
.hero__copy { max-width: 680px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); font-size: 13px; font-weight: 700; letter-spacing: .01em; backdrop-filter: blur(6px); }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 178, 63, .25); }
.hero h1 { margin: 20px 0 16px; font-size: clamp(36px, 5.4vw, 62px); letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { font-size: 18px; color: #c9d6e6; max-width: 600px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 24px; font-weight: 600; }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points svg { color: var(--brand); }
.hero--compact .hero__inner, .hero--page .hero__inner { padding-top: 48px; padding-bottom: 48px; gap: 28px; }
.hero--compact h1, .hero--page h1 { font-size: clamp(30px, 4vw, 46px); margin: 14px 0 12px; }
/* home hero: just the photo + search card, no headline over the image.
   min-height only (never a fixed/max height) — on a narrow phone the search form
   stacks taller than this floor and the section must be free to grow with it. */
.hero--plain { min-height: 520px; display: flex; align-items: center; }
.hero--plain .hero__bg::after { background: linear-gradient(0deg, rgba(19, 40, 64, .45), rgba(19, 40, 64, .05) 55%); }
/* min-width:0 overrides the flex item's default auto min-size, which otherwise refuses to
   shrink below its content's natural width and silently overflows the viewport on narrow phones */
.hero__inner--plain { width: 100%; min-width: 0; padding-top: 32px; padding-bottom: 32px; }
.back-link, .crumbs { display: inline-flex; align-items: center; gap: 6px; color: #9fb3ca; font-weight: 600; font-size: 14px; }
.crumbs { display: block; margin-bottom: 14px; }
.crumbs a, .back-link { color: #9fb3ca; }
.crumbs a:hover, .back-link:hover { color: #fff; }
.crumbs span { margin: 0 6px; opacity: .6; }
.trip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.trip li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 14px; }
.trip svg { color: var(--brand); flex: none; }

/* ---------- search form ---------- */
.booking { background: #fff; color: var(--text); border-radius: 22px; padding: 22px 22px 16px; box-shadow: var(--shadow-lg); }
.booking__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.booking h2 { font-size: 20px; }
.toggle { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 6px 0; color: var(--brand-d); font-weight: 700; font-size: 14px; cursor: pointer; }
.toggle:hover { color: var(--brand); }
.toggle--return { font-size: 13px; }
.booking__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 10px; }
.booking__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.2fr) minmax(0, 1.2fr) auto; gap: 12px; align-items: end; }
.booking.has-return .booking__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1.15fr) auto; }
.field { display: block; min-width: 0; }
.field > span { display: block; margin: 0 0 6px 4px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.control { position: relative; display: flex; align-items: center; height: 56px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.control:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(26, 154, 214, .14); }
.control > svg { position: absolute; left: 14px; color: var(--brand); pointer-events: none; }
.control select, .control input { width: 100%; height: 100%; border: 0; background: transparent; padding: 0 12px 0 44px; font-weight: 600; font-size: 15px; outline: none; min-width: 0; }
.control select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 34px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235a6a7f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; }

/* location combo box (JS-enhanced): a plain text input, no suggestions until 2+ characters.
   The real <select> stays in the DOM (hidden) so the page still works without JS. */
.combo-list { position: absolute; top: calc(100% + 6px); left: 0; right: 0; max-height: 280px; overflow-y: auto; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); z-index: 20; }
.combo-group { padding: 8px 10px 4px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.combo-item { display: block; width: 100%; padding: 9px 10px; border: 0; background: transparent; border-radius: 8px; color: var(--text); font-weight: 600; font-size: 14px; text-align: left; cursor: pointer; }
.combo-item:hover, .combo-item.is-active { background: var(--tint); }
.combo-empty { padding: 10px; font-size: 13px; color: var(--muted); }
.control--pair input[type="date"] { flex: 1 1 auto; padding-right: 6px; }
.control--pair input { font-size: 14px; }
.control--pair input[type="date"] { padding-left: 40px; }
.control--pair input[type="time"] { flex: 0 0 118px; padding-left: 12px; padding-right: 8px; border-left: 1.5px solid var(--line); height: 60%; }

/* date & time picker: the visible parts are buttons, the real inputs stay hidden underneath */
.dp-native { display: none !important; }
.dp__date, .dp__time { display: flex; align-items: center; height: 100%; min-width: 0; padding: 0 12px; border: 0; background: transparent; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); text-align: left; cursor: pointer; white-space: nowrap; }
.dp__date { flex: 1 1 auto; padding-left: 44px; }
.dp__time { flex: 0 0 118px; padding-left: 12px; border-left: 1.5px solid var(--line); height: 60%; align-self: center; }
.dp__date:hover span, .dp__time:hover span { color: var(--brand); }
.dp-pop { position: fixed; z-index: 400; max-width: calc(100vw - 24px); padding: 22px 22px 20px; background: #fff; border-radius: 22px; box-shadow: 0 24px 60px rgba(19, 40, 64, .22), 0 2px 6px rgba(19, 40, 64, .06); }
.dp-pop[hidden] { display: none; }
.dp-title { margin: 0 0 14px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.dp-cal { display: flex; gap: 28px; }
.dp-month { width: 252px; }
.dp-head { display: flex; align-items: center; justify-content: space-between; min-height: 36px; margin-bottom: 12px; }
.dp-head b { font-size: 16px; color: var(--ink); }
.dp-nav { width: 36px; height: 36px; border: 0; border-radius: 12px; background: #f3f7fb; color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; }
.dp-nav:hover { background: #e8f4fb; color: var(--brand); }
.dp-nav-spacer { width: 36px; }
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.dp-dow { padding: 6px 0; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.dp-day { height: 38px; border: 0; border-radius: 12px; background: transparent; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; }
.dp-day:hover:not(.is-off) { background: #e8f4fb; color: var(--brand); }
.dp-day.is-today { box-shadow: inset 0 0 0 1.5px #bfe0f3; }
.dp-day.is-range { background: #cde7f5; color: var(--ink); border-radius: 0; }
.dp-day.is-range:hover:not(.is-off) { background: #bfe0f2; color: var(--ink); }
.dp-day.is-start, .dp-day.is-end { background: var(--brand); color: #fff; box-shadow: 0 8px 18px rgba(34, 154, 206, .3); }
.dp-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.dp-chip { display: grid; gap: 2px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.dp-chip:hover { border-color: #c9d5e2; }
.dp-chip small { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dp-chip b { font-size: 15px; }
.dp-chip.is-on { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(34, 154, 206, .14); }
.dp-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted); }
.dp-done { height: 40px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.dp-done:hover { background: var(--ink-3); }
.dp-day.is-on { background: var(--brand); color: #fff; box-shadow: 0 8px 18px rgba(34, 154, 206, .3); }
.dp-day.is-off { color: #c3ccd7; background: transparent; box-shadow: none; cursor: default; }
.dp-pop--time { width: 372px; }
.dp-times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; max-height: 330px; overflow-y: auto; padding: 2px 4px 2px 2px; }
.dp-time-opt { height: 40px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; }
.dp-time-opt:hover { border-color: var(--brand); color: var(--brand); }
.dp-time-opt.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.booking__go { height: 56px; padding: 0 26px; border-radius: 14px; }
.booking__note { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0; font-size: 13px; color: var(--muted); }
.booking__note svg { color: var(--good); }

/* ---------- stats + perks ---------- */
.stats { background: var(--ink-2); color: #fff; padding: 26px 0; }
.stats__grid { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat b { font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.stat span { color: #9fb3ca; font-size: 14px; }
.perks { border-bottom: 1px solid var(--line); background: #fff; padding: 16px 0; }
.perks__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 22px; font-weight: 600; font-size: 14px; color: var(--muted); }
.perks__row span { display: inline-flex; align-items: center; gap: 7px; }
.perks__row svg { color: var(--good); }

/* ---------- 3-icon perk row under the hero ---------- */
.perks2 { background: #fff; padding: 36px 0; }
.perks2__row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.perk2 { display: flex; align-items: center; gap: 14px; flex: 1 1 240px; }
.perk2__ico { position: relative; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #fff; }
.perk2__ico svg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: block; color: #ffffff; }
.perk2 b { display: block; font-size: 16px; }
.perk2 span { display: block; color: var(--muted); font-size: 14px; }

/* ---------- last-minute offer banner ---------- */
.lastmin { padding: 32px 0 0; }
.lastmin__card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: var(--lm-h, 300px); display: flex; flex-direction: column; justify-content: center; padding: 40px 48px; background-size: cover; background-position: var(--lm-pos, center); color: #fff; }
/* darkening layer: colour/strength/shape come from the CMS as --ov (none = no darkening);
   a soft text shadow keeps the white text readable even without it */
.lastmin__card::before { content: ''; position: absolute; inset: 0; background: var(--ov, linear-gradient(90deg, rgba(19, 40, 64, .55) 0%, rgba(19, 40, 64, .2) 60%)); }
.lastmin__card h2, .lastmin__card p, .lastmin__badge { text-shadow: 0 1px 14px rgba(0, 0, 0, .45); }
.lastmin--full { padding-top: 0; }
.lastmin--full .lastmin__card { border-radius: 0; padding-left: 0; padding-right: 0; }
.lastmin__inner { display: flex; flex-direction: column; align-items: flex-start; width: 100%; }
.lastmin__card .btn { max-width: 100%; }
.lastmin__card > * { position: relative; }
.lastmin__badge { display: inline-flex; align-items: baseline; gap: 2px; align-self: flex-start; padding: 14px 18px; margin-bottom: 14px; border: 2px solid #fff; border-radius: 14px; font-size: 30px; font-weight: 800; }
.lastmin__card h2 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 8px; }
.lastmin__card p { max-width: 460px; color: rgba(255, 255, 255, .88); margin-bottom: 20px; }
.btn--ghost-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px #fff; }

/* ---------- "our rental cars" teaser carousel ---------- */
.section__title--center { text-align: center; font-size: clamp(26px, 3.2vw, 38px); text-transform: uppercase; letter-spacing: .01em; margin-bottom: 28px; }
.section__title { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 28px; }
.carousel { position: relative; display: flex; align-items: center; gap: 10px; }
.carousel__track { flex: 1; display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x proximity; padding: 4px 2px 10px; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.car-mini { flex: 0 0 220px; scroll-snap-align: start; text-align: center; }
.car-mini__img { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); background: #f3f6fa; overflow: hidden; }
.car-mini__img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; mix-blend-mode: multiply; }
.car-mini__label { display: block; margin-top: 10px; font-weight: 700; color: var(--good); font-size: 14px; }
.carousel__arrow { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--text); cursor: pointer; }
.carousel__arrow:hover { border-color: var(--brand); color: var(--brand); }
.carousel__cta { text-align: center; margin-top: 28px; }

/* ---------- generic image carousel (Image carousel component) ---------- */
.imgcar { display: flex; align-items: center; gap: 12px; }
.imgcar__track { flex: 1; min-width: 0; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.imgcar__track::-webkit-scrollbar { display: none; }
.imgcar__slide { flex: 0 0 calc((100% - 32px) / 3); scroll-snap-align: start; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #eef2f6; }
.imgcar__slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
a.imgcar__slide:hover img { transform: scale(1.03); transition: transform .3s ease; }
@media (max-width: 900px) { .imgcar__slide { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 600px) { .imgcar__slide { flex-basis: 82%; } .imgcar { gap: 6px; } .imgcar .carousel__arrow { display: none; } }

/* ---------- customer accounts: log in, sign up, profile ---------- */
.acct { padding: 56px 0 84px; }
.acct__card { max-width: 460px; margin: 0 auto; }
.acct__card--wide { max-width: 760px; }
.acct__title { margin: 0 0 8px; font-size: 28px; line-height: 1.2; }
.acct__lead { margin: 0 0 22px; color: var(--muted); line-height: 1.5; }
.acct__stack { display: grid; gap: 16px; }
.acct__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.acct__wide { grid-column: 1 / -1; }
.acct__submit { width: 100%; }
.acct__actions { margin-top: 18px; }
.acct__links { margin: 18px 0 0; text-align: center; color: var(--muted); font-size: 14px; }
.acct__links a { color: var(--brand); font-weight: 700; }
.acct__alert { margin-bottom: 16px; padding: 12px 14px; border-radius: 12px; background: #fdecec; color: var(--bad); font-weight: 600; font-size: 14px; }
.acct__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.acct__top .acct__lead { margin: 0; }
.acct__logout { height: 42px; padding: 0 18px; }
.acct__layout { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 28px; align-items: start; }
.acct__nav { position: sticky; top: 104px; padding: 22px 16px; }
.acct__who { display: flex; align-items: center; gap: 14px; padding: 4px 8px 20px; margin-bottom: 14px; border-bottom: 1px solid var(--line); min-width: 0; }
.acct__who-text { min-width: 0; }
.acct__who-text b { display: block; font-size: 16px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct__who-text small { display: block; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct__menu { display: grid; gap: 4px; margin: 0; }
.acct__menu--foot { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.acct__navlink { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 0; border-radius: 14px; background: transparent; color: #3b4f66; font: inherit; font-size: 15px; font-weight: 600; text-align: left; cursor: pointer; transition: background .15s, color .15s; }
.acct__navlink svg { flex: none; color: #7a8ca2; transition: color .15s; }
.acct__navlink:hover { background: #f3f7fb; color: var(--ink); }
.acct__navlink.is-active { background: #e8f4fb; color: var(--brand-d, #1b7fb3); }
.acct__navlink.is-active svg { color: var(--brand); }
.acct__navlink--out:hover { background: #fdf0f0; color: var(--bad); }
.acct__navlink--out:hover svg { color: var(--bad); }
.acct__main { display: grid; gap: 22px; min-width: 0; align-content: start; }
.acct__page-head { margin-bottom: 4px; }
.acct__page-head .acct__title { margin-bottom: 6px; }
.acct__card-block { margin: 0; }
.acct__empty { text-align: center; padding: 48px 36px; }
.acct__empty h2 { margin: 16px 0 6px; font-size: 20px; }
.acct__empty .acct__lead { margin-bottom: 22px; }
.acct__empty-ico { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 20px; background: #e8f4fb; color: var(--brand); }
.acct__list { padding: 8px 28px; }
.acct__booking { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.acct__booking:last-child { border-bottom: 0; }
.acct__booking-main { display: grid; gap: 4px; min-width: 0; }
.acct__booking-main b { color: var(--ink); font-size: 16px; }
.acct__booking-dates { color: var(--muted); font-size: 14px; }
.acct__photo-card { padding: 22px; }
.acct__photo-card .acct__upload { margin-top: 14px; }
.acct__photo-card .acct__photo-label { margin-bottom: 12px; }
.acct__main { display: grid; gap: 22px; min-width: 0; }
.acct__section { margin: 0; }
.acct__head { margin: 0 0 16px; font-size: 19px; }
.acct__muted { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }
.acct__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.acct__photo-label { margin-bottom: 8px; font-weight: 700; font-size: 14px; }
.acct__photo img, .acct__photo-empty { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 16 / 10; border-radius: 12px; background: #eef2f6; object-fit: cover; }
.acct__photo-empty { color: var(--muted); font-size: 14px; }
.acct__upload { display: grid; gap: 8px; margin-top: 10px; font-size: 13px; }
.acct__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.acct__row:last-child { border-bottom: 0; }
.acct__status { flex: none; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.acct__status--pending { background: #fff6cc; color: #6b5a00; }
.acct__status--ok { background: #e3f6e8; color: #1d6b34; }
/* soft, rounded form controls for the account pages */
.acct .panel { padding: 36px; border: 1px solid #edf1f6; border-radius: 24px; box-shadow: 0 1px 2px rgba(19, 40, 64, .04), 0 18px 48px rgba(19, 40, 64, .08); }
.acct .acct__card { padding: 40px 40px 34px; }
.acct__badge { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 18px; background: #e8f4fb; color: var(--brand); }
.acct .acct__title { font-size: 30px; letter-spacing: -.02em; }
.acct input[type="text"], .acct input[type="email"], .acct input[type="password"], .acct input[type="tel"], .acct input[type="date"] {
  width: 100%; height: 54px; padding: 0 16px; border: 1.5px solid #dfe6ee; border-radius: 14px; background: #fbfcfe;
  font-size: 15px; font-weight: 500; color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s, background .15s;
}
.acct input:hover { border-color: #c9d5e2; }
.acct input:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(34, 154, 206, .14); }
.acct input::placeholder { color: #9aa8b8; }
.acct .f > span { margin: 0 0 8px 4px; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: #3b4f66; }
.acct .f.is-bad input { border-color: var(--bad); background: #fff8f8; }
.acct .f.is-bad input:focus { box-shadow: 0 0 0 4px rgba(220, 53, 69, .12); }
.acct .f-err { margin: 6px 0 0 4px; }
.acct__stack { gap: 18px; }
.acct__grid { gap: 18px 16px; }
.acct .btn--brand { box-shadow: 0 12px 26px rgba(34, 154, 206, .28); }
.acct .btn--brand:hover { transform: translateY(-1px); }
.acct__terms { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #f5f9fc; font-size: 14px; line-height: 1.45; color: #3b4f66; cursor: pointer; }
.acct__terms input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--brand); }
.acct__filepick { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 8px 8px 8px 8px; border: 1.5px dashed #cfd9e5; border-radius: 14px; background: #fbfcfe; cursor: pointer; transition: border-color .15s, background .15s; }
.acct__filepick:hover, .acct__filepick:focus-within { border-color: var(--brand); background: #f5fbfe; }
.acct__filepick input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.acct__filepick-btn { display: inline-flex; align-items: center; gap: 8px; flex: none; height: 38px; padding: 0 16px; border-radius: 999px; background: #e8f4fb; color: var(--brand-d, #1b7fb3); font-size: 14px; font-weight: 700; }
.acct__filepick-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: var(--muted); }
.acct__upload-btn { margin-top: 12px; width: 100%; }

/* order history: rows are links, and one booking's detail page */
a.acct__booking { color: inherit; text-decoration: none; margin: 0 -12px; padding: 18px 12px; border-radius: 14px; transition: background .15s; }
a.acct__booking:hover { background: #f5f9fc; }
.acct__booking-end { display: inline-flex; align-items: center; gap: 10px; flex: none; color: #7a8ca2; }
.acct__page-head--row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 6px 0 22px; }
.acct__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.acct .acct__card { padding: 24px; display: grid; gap: 4px; align-content: start; }
.acct__card-label { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.acct__card-title { margin-top: 6px; font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.acct__chip { display: inline-flex; align-items: center; gap: 8px; justify-self: start; margin-top: 10px; padding: 6px 12px; border-radius: 999px; background: #e8f4fb; color: var(--brand-d, #1b7fb3); font-size: 13px; font-weight: 700; }
.acct__price { margin-top: 18px; }
.acct__price-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); color: #3b4f66; font-size: 15px; }
.acct__price-row b { color: var(--ink); }
.acct__price-total { display: flex; justify-content: space-between; gap: 16px; border-bottom: 0; padding-top: 16px; font-size: 17px; font-weight: 800; color: var(--ink); }
.acct__price-total b { font-size: 20px; }
.acct__help { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.acct__help b { display: block; color: var(--ink); }
.acct__help small { display: block; margin-top: 4px; }
.acct__help-actions { display: flex; gap: 10px; }
.acct__forgot { margin: -6px 0 0; text-align: right; font-size: 14px; }
.acct .f > .acct__pw { display: block; position: relative; margin: 0; font-size: inherit; font-weight: inherit; letter-spacing: normal; text-transform: none; color: inherit; }
.acct__pw input { padding-right: 52px; }
.acct__pw-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: #7a8ca2; cursor: pointer; transition: color .15s, background .15s; }
.acct__pw-eye:hover { color: var(--brand); background: #eef6fb; }
.acct__pw-eye .pw-slash { display: none; }
.acct__pw-eye.is-on { color: var(--brand); }
.acct__pw-eye.is-on .pw-slash { display: inline; }
.acct__forgot a { color: var(--brand); font-weight: 700; }
@media (max-width: 640px) { .acct__cards { grid-template-columns: 1fr; } .acct__page-head--row { flex-direction: column; } }

/* e-mail confirmation banner for signed-in customers who have not confirmed yet */
.verify-bar { background: #fff8e1; border-bottom: 1px solid #f3e3a3; color: #5c4a00; font-size: 14px; }
.verify-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.verify-bar form { margin: 0; }
.verify-bar__btn { height: 34px; padding: 0 16px; border: 0; border-radius: 999px; background: #5c4a00; color: #fff; font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; }
.verify-bar__btn:hover { background: #3f3200; }

/* booking detail: photo + trip, then price beside driver and help */
.acct .acct__hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); padding: 0; overflow: hidden; margin: 0; }
.acct__hero-img { position: relative; min-height: 260px; background: linear-gradient(160deg, #f3f8fc, #e6f1f9); }
.acct__hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 22px 26px; mix-blend-mode: multiply; }
.acct__hero-body { display: grid; align-content: start; gap: 6px; padding: 30px 32px; }
.acct__hero-title { margin: 6px 0 0; font-size: 26px; line-height: 1.2; letter-spacing: -.01em; color: var(--ink); }
.acct__hero-body .acct__chip { justify-self: start; margin-top: 12px; }
.acct__timeline { position: relative; display: grid; gap: 18px; margin-top: 22px; padding-left: 26px; }
.acct__timeline::before { content: ""; position: absolute; left: 6px; top: 10px; bottom: 12px; width: 2px; background: #cfdde9; }
.acct__stop { position: relative; }
.acct__dot { position: absolute; left: -26px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3px var(--brand); }
.acct__stop--end .acct__dot { box-shadow: inset 0 0 0 3px var(--ink); }
.acct__stop small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.acct__stop b { display: block; margin-top: 3px; font-size: 16px; color: var(--ink); }
.acct__stop span { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.acct__duo { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 18px; }
.acct__stack-col { display: grid; gap: 18px; }
.acct .acct__duo .panel { margin: 0; }
.acct .acct__price .acct__head { margin-bottom: 6px; }
.acct__driver-name { margin: 8px 0 10px; font-size: 18px; font-weight: 700; color: var(--ink); }
.acct__kv { font-size: 14px; color: #3b4f66; line-height: 1.7; word-break: break-word; }
.acct__kv b { color: var(--ink); }
.acct__stack-col .acct__help-actions { margin-top: 14px; }
.acct__stack-col .acct__help-actions .btn { flex: 1; }
@media (max-width: 900px) {
  .acct .acct__hero { grid-template-columns: 1fr; }
  .acct__hero-img { min-height: 210px; }
  .acct__duo { grid-template-columns: 1fr; }
}
@media (max-width: 640px) { .acct__hero-body { padding: 22px; } .acct__hero-title { font-size: 22px; } }

/* car condition: pick-up and return reports with photos */
.acct .acct__handover { margin-top: 18px; }
.acct__stages { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 4px; }
.acct__stage { min-width: 0; padding: 18px; border-radius: 18px; background: #f7fafd; }
.acct__stage-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.acct__stage-head b { font-size: 16px; color: var(--ink); }
.acct__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.acct__facts small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.acct__facts b { display: block; margin-top: 3px; font-size: 14px; color: var(--ink); }
.acct__note { margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: #fff; font-size: 14px; color: #3b4f66; line-height: 1.5; }
.acct__shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.acct__shots a { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #e9eef4; }
.acct__shots img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.acct__shots a:hover img { transform: scale(1.04); }
@media (max-width: 900px) { .acct__stages { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .acct__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .acct__shots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.acct .acct__photo img { border-radius: 16px; }
.acct .acct__photo-label { color: #3b4f66; }
.acct__hello { display: flex; align-items: center; gap: 16px; min-width: 0; }
.acct__hello .acct__lead { margin-bottom: 0; }
.acct__avatar { display: grid; place-items: center; flex: none; width: 60px; height: 60px; border-radius: 20px; background: linear-gradient(135deg, var(--brand), var(--ink-3)); color: #fff; font-size: 24px; font-weight: 800; box-shadow: 0 10px 24px rgba(34, 154, 206, .3); }
.acct .acct__logout { border-radius: 999px; }
.acct .acct__section .btn--ghost, .acct .acct__upload .btn--ghost { box-shadow: inset 0 0 0 1.5px #dfe6ee; }
.acct .acct__upload { gap: 10px; }
.acct .acct__upload .btn { justify-self: start; }
.acct .acct__row b { color: var(--ink); }
.acct .acct__status { letter-spacing: .01em; }
.acct__status--bad { background: #fdecec; color: #b42318; }
.acct__status--neutral { background: #eef2f6; color: var(--muted); }
@media (max-width: 900px) {
  .acct__layout { grid-template-columns: 1fr; gap: 18px; }
  .acct__nav { position: static; padding: 10px; }
  .acct__who { display: none; }
  .acct__menu { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; scrollbar-width: none; }
  .acct__menu--foot { margin-top: 0; padding-top: 0; border-top: 0; }
  .acct__navlink { padding: 10px 14px; font-size: 14px; }
  .acct__list { padding: 4px 18px; }
}
@media (max-width: 640px) {
  .acct { padding: 32px 0 60px; }
  .acct .panel { padding: 20px; }
  .acct__grid, .acct__photos { grid-template-columns: 1fr; }
  .acct__title { font-size: 24px; }
  .acct__top { flex-direction: column; }
}

/* ---------- simple car rental photo banner ---------- */
.simple { position: relative; color: #fff; overflow: hidden; min-height: var(--sb-h, 0); display: flex; flex-direction: column; justify-content: var(--sb-justify, flex-end); }
.simple__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.simple__bg::after { content: ''; position: absolute; inset: 0; background: var(--ov, linear-gradient(100deg, rgba(19, 40, 64, .88) 0%, rgba(19, 40, 64, .55) 45%, rgba(19, 40, 64, .2) 100%)); }
.simple h2 { text-shadow: 0 1px 14px rgba(0, 0, 0, .4); }
.simple__inner { position: relative; width: 100%; padding: var(--sb-pad, 56px) 20px; }
.simple h2 { font-size: clamp(26px, 3.6vw, 40px); text-transform: uppercase; max-width: 560px; margin-bottom: 28px; }
.simple--content { padding: 40px 0; min-height: 0; }
.simple--content .simple__frame { min-height: var(--sb-h, 0); display: flex; flex-direction: column; justify-content: var(--sb-justify, flex-end); }
.simple__frame { position: relative; border-radius: var(--radius); overflow: hidden; }
.simple--content .simple__inner { padding: var(--sb-pad, 56px) 40px; }
.simple__badges { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.simple__badge { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 14px; background: var(--brand); min-width: 0; }
.simple__badge svg { flex: none; }
.simple__badge b { display: block; font-size: 15px; }
.simple__badge span { display: block; font-size: 13px; color: rgba(255, 255, 255, .85); }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--brand); color: #fff; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 36px; }
.section__head h2, .split h2, .about h2, .compare h2 { font-size: clamp(28px, 3.4vw, 42px); }
.section__head > p { max-width: 420px; margin: 0; color: var(--muted); }
.section__head--center { justify-content: center; text-align: center; }
.eyebrow { display: inline-block; margin-bottom: 10px; color: var(--brand-d); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.section--dark .eyebrow { color: #fff; opacity: .8; }

/* ---------- class tabs ---------- */
.tabs { display: flex; gap: 8px; margin-bottom: 26px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; height: 40px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; transition: all .15s; }
.tabs button:hover { color: var(--text); border-color: #cbd5e1; }
.tabs button.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- car cards ---------- */
.fleet { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 20px; }
.fleet.is-collapsed .is-more { display: none; }
.fleet__more { text-align: center; margin-top: 32px; }
.car { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.car:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.car--focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(26, 154, 214, .2); }
.car--sold { opacity: .62; }
.car--sold:hover { transform: none; box-shadow: none; }
.car__img { position: relative; aspect-ratio: 16 / 10; background: #f3f6fa; }
/* show the whole car: never crop, white photo backgrounds melt into the tint */
.car__img img, .car-summary__img img, .deal__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.car__img img { position: absolute; inset: 0; padding: 34px 14px 8px; }
.car__class { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 12px; font-weight: 700; color: var(--ink); }
.car__badge { position: absolute; top: 12px; right: 12px; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 800; }
.car__badge--sold { background: var(--ink); color: #fff; }
.car__body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 16px; }
.car__head h3 { font-size: 18px; }
.car__link { color: var(--text); }
.car__link:hover { color: var(--brand-d); }
.car__head small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; }
.car__specs { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 12px; }
.car__specs li { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 8px; background: var(--tint); font-size: 13px; font-weight: 600; color: #34465c; }
.car__specs svg { color: var(--muted); }
.car__feat { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 16px; font-size: 13px; color: var(--muted); }
.car__feat li::before { content: '✓'; margin-right: 5px; color: var(--good); font-weight: 800; }
.car__price { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); }
.car__price small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; }
.car__price b { font-size: 24px; letter-spacing: -.02em; line-height: 1.1; }
.car__price b i { font-style: normal; font-size: 13px; font-weight: 600; color: var(--muted); margin-left: 2px; }
.car__price b s { font-size: 15px; color: var(--muted); font-weight: 600; }

/* ---------- deals (solid blue gradient card, car floating at the bottom) ---------- */
.deals { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.deal { position: relative; display: flex; flex-direction: column; min-height: 300px; padding: 22px 24px 20px; border-radius: var(--radius); overflow: hidden; color: #fff; background: linear-gradient(160deg, var(--brand) 0%, var(--brand-d) 100%); }
.deal__tag { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--brand-d); font-size: 13px; font-weight: 800; }
.deal__head { margin-top: 14px; }
.deal__head h3 { font-size: 20px; }
.deal__head small { color: rgba(255, 255, 255, .8); font-size: 13px; }
.deal__car { margin: 6px 0; max-height: 150px; width: 100%; object-fit: contain; object-position: bottom; mix-blend-mode: normal; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .25)); }
.deal__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; }
.deal__price small { display: block; font-size: 12px; color: rgba(255, 255, 255, .8); font-weight: 600; }
.deal__price b { font-size: 28px; letter-spacing: -.02em; }
.deal__price b::before { content: '$'; }
.deal__price span { margin-left: 2px; color: rgba(255, 255, 255, .8); font-size: 13px; font-weight: 600; }
.btn--light { background: #fff; color: var(--brand-d); }
.btn--light:hover { background: #eaf7ff; color: var(--brand-d); }

/* ---------- service tiles (one way / corporate / airport) ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { display: block; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: var(--text); transition: transform .2s, box-shadow .2s; }
.service:hover { color: var(--text); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.service img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.service__body { padding: 22px; }
.service__body h3 { font-size: 18px; margin-bottom: 6px; }
.service__body p { color: var(--muted); font-size: 14px; margin-bottom: 16px; min-height: 40px; }

/* ---------- "what's new" static blog teaser ---------- */
.blog { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.blog__card img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; border-radius: var(--radius); margin-bottom: 18px; }
.blog__card h3 { font-size: 19px; margin-bottom: 8px; }
.blog__card p { color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.blog__link { font-weight: 700; color: var(--brand-d); font-size: 14px; }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
.feature:hover { border-color: transparent; box-shadow: var(--shadow); }
.feature__ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-l); color: var(--brand-d); margin-bottom: 18px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- taxi vs rental ---------- */
.compare { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.compare__intro p { color: #b5c5d8; margin: 16px 0 28px; font-size: 17px; }
.compare__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compare__col { padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.compare__col h3 { font-size: 18px; margin-bottom: 18px; }
.compare__col li { display: flex; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 15px; color: #b5c5d8; }
.compare__col--win { background: #fff; color: var(--text); border-color: #fff; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
.compare__col--win li { color: var(--text); border-color: var(--line); font-weight: 600; }
.compare__col--win li svg { flex: none; color: var(--good); margin-top: 2px; }
.xlist li::before { content: '×'; flex: none; width: 18px; text-align: center; color: #ffd3d3; font-weight: 800; }
/* the brand-blue button would vanish on this section's brand-blue background */
.section--dark .btn--brand { background: #fff; color: var(--brand-d); box-shadow: none; }
.section--dark .btn--brand:hover { background: #eaf7ff; color: var(--brand-d); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--tint); }
.step__n { position: absolute; top: 20px; right: 22px; font-size: 44px; font-weight: 800; line-height: 1; color: #dde6f0; }
.step__ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: #fff; margin-bottom: 18px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- destinations ---------- */
.dest { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 26px; }
.dest__card { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; color: #fff; background: var(--ink); }
.dest__card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.dest__card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 26, 44, .9), rgba(11, 26, 44, .05) 60%); }
.dest__card:hover { color: #fff; }
.dest__card:hover img { transform: scale(1.05); }
.dest__body { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; }
.dest__body small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9fd5ef; }
.dest__body b { display: block; font-size: 26px; letter-spacing: -.02em; }
.dest__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 14px; font-weight: 600; color: #c9d6e6; }
.locs { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.loc { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--text); transition: border-color .15s, box-shadow .15s; }
.loc:hover { color: var(--text); border-color: var(--brand); box-shadow: var(--shadow); }
.loc__cc { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--brand-l); color: var(--brand-d); font-size: 12px; font-weight: 800; }
.loc__t { flex: 1; min-width: 0; font-weight: 700; font-size: 15px; line-height: 1.3; }
.loc__t small { display: block; font-weight: 500; font-size: 13px; color: var(--muted); }
.loc > svg { color: var(--muted); flex: none; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about__media { position: relative; padding: 0 12% 14% 0; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.about__media img + img { position: absolute; right: 0; bottom: 0; width: 52%; border: 6px solid #fff; }
.about__copy p { color: var(--muted); font-size: 16.5px; }
.about__copy h2 { margin-bottom: 18px; }
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0 28px; }
.why__item { display: flex; gap: 12px; padding: 16px; border-radius: 14px; background: var(--tint); }
.why__item > svg { flex: none; color: var(--brand-d); }
.why__item b { display: block; font-size: 15px; }
.why__item span { font-size: 14px; color: var(--muted); line-height: 1.45; }

/* ---------- FAQ + callback ---------- */
.split { display: grid; grid-template-columns: 1.45fr 1fr; gap: 56px; align-items: start; }
.faq { margin-top: 26px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 20px 40px 20px 0; font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 600; color: var(--brand-d); transition: transform .2s; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0 0 20px; color: var(--muted); max-width: 640px; }
.callback { position: sticky; top: 96px; padding: 30px; border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.callback__ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand); color: #fff; margin-bottom: 16px; }
.callback h3 { font-size: 22px; margin-bottom: 6px; }
.callback > p { color: var(--muted); font-size: 15px; }
.callback form { display: grid; gap: 10px; }
.callback input, .fgrid input, .fgrid textarea { width: 100%; height: 52px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s; }
.callback input:focus, .fgrid input:focus, .fgrid textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(26, 154, 214, .14); }
.callback__or { margin: 16px 0 0; text-align: center; font-size: 14px; font-weight: 600; }

/* ---------- content pages ---------- */
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: start; }
.article { font-size: 17px; line-height: 1.75; color: #2a3a4f; max-width: 760px; }
.article h2 { font-size: 26px; margin: 36px 0 14px; color: var(--text); }
.article h2:first-child { margin-top: 0; }
.article ul { margin: 0 0 1em; }
.article ul li { position: relative; padding: 4px 0 4px 28px; }
.article ul li::before { content: ''; position: absolute; left: 4px; top: 14px; width: 10px; height: 10px; border-radius: 3px; background: var(--brand); }
.article .btn { margin-top: 10px; }
.article-side { display: grid; gap: 20px; position: sticky; top: 96px; }
.article-side .callback { position: static; }
.side-links { padding: 22px; border-radius: var(--radius); background: var(--tint); }
.side-links h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.side-links a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); color: var(--text); font-weight: 700; }
.side-links a:hover { color: var(--brand-d); }

/* ---------- booking page ---------- */
.book-page { padding-top: 40px; }
.book-page .back-link { color: var(--muted); margin-bottom: 18px; }
.book-page .back-link:hover { color: var(--text); }
.book-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.book-main { display: grid; gap: 24px; }
.panel { background: #fff; border-radius: 22px; padding: 28px; box-shadow: var(--shadow); }
.car-summary { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: center; }
.car-summary__img { position: relative; border-radius: 16px; overflow: hidden; background: #f3f6fa; aspect-ratio: 16 / 10; }
.car-summary__img img { position: absolute; inset: 0; padding: 12px; }
.car-summary h1 { font-size: 28px; }
.car-summary h1 small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.car-summary .car__specs { margin: 12px 0 14px; }
.trip--dark { flex-direction: column; gap: 10px; margin: 0 0 12px; }
.trip--dark li { align-items: flex-start; background: var(--tint); border-radius: 12px; padding: 10px 14px; color: var(--text); }
.trip--dark small { display: block; color: var(--muted); }
.link { font-weight: 700; font-size: 14px; }
.book-form h2 { font-size: 20px; margin: 4px 0 16px; }
.book-form h2 + .extras { margin-bottom: 28px; }
.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.extra { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.extra:hover { border-color: #cbd5e1; }
.extra:has(input:checked) { border-color: var(--brand); background: var(--brand-l); }
.extra input, .check input { width: 20px; height: 20px; accent-color: var(--brand); flex: none; }
.extra__name { flex: 1; font-weight: 700; font-size: 15px; }
.extra__price { font-weight: 700; font-size: 14px; text-align: right; }
.extra__price small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-bottom: 20px; }
.f { display: block; }
.f > span { display: block; font-size: 13px; font-weight: 700; margin: 0 0 6px 2px; color: #34465c; }
.f--wide { grid-column: 1 / -1; }
.fgrid textarea { height: auto; padding: 12px 16px; resize: vertical; }
.f-err { display: block; margin-top: 5px; color: var(--bad); font-size: 13px; font-weight: 600; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 8px; font-size: 14px; color: #34465c; cursor: pointer; }
.book-form .btn--block { margin-top: 16px; height: 56px; font-size: 16px; }
.book-form .muted.small { margin: 12px 0 0; text-align: center; }
.price-box { position: sticky; top: 96px; }
.price-box h2 { font-size: 20px; margin-bottom: 14px; }
.price-box dl { margin: 0; }
.price-box dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.price-box dt { color: var(--muted); }
.price-box dd { margin: 0; font-weight: 700; }
.price-box .good dt, .price-box .good dd { color: var(--good); }
.price-box__total { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 8px; }
.price-box__total span { font-weight: 700; }
.price-box__total b { font-size: 32px; letter-spacing: -.02em; }
.price-box__dep { padding: 10px 14px; border-radius: 12px; background: #fff7e8; color: #8a5300; font-size: 14px; font-weight: 600; }
.price-box__inc { margin: 14px 0; }
.price-box__inc li { padding: 4px 0; font-size: 14px; color: var(--muted); }
.price-box__inc li::before { content: '✓'; margin-right: 8px; color: var(--good); font-weight: 800; }
.price-box__office { margin: 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* ---------- done / error ---------- */
.done { text-align: center; padding: 48px 40px; }
.done__ico { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: #e5f7ef; color: var(--good); margin-bottom: 18px; }
.done h1 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 12px; }
.lead-dark { color: var(--muted); font-size: 17px; }
.done__list { margin: 26px 0; text-align: left; border-radius: 16px; background: var(--tint); padding: 6px 22px; }
.done__list div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.done__list div:last-child { border: 0; }
.done__list dt { color: var(--muted); }
.done__list dd { margin: 0; text-align: right; font-weight: 600; }
.page-error .section { padding: 72px 0; }

/* ---------- footer (light, like the rest of the page) ---------- */
.footer { background: #fff; color: var(--muted); padding: 64px 0 0; font-size: 15px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.footer__brand p { margin: 18px 0 20px; max-width: 340px; }
/* the logo is a white PNG (made for a dark header) — darken it for the light footer */
.footer .logo img { filter: brightness(0) saturate(100%) opacity(.82); }
.footer h4 { color: var(--text); font-size: 15px; margin-bottom: 16px; letter-spacing: 0; }
.footer li { padding: 5px 0; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--brand-d); }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { flex: none; margin-top: 4px; color: var(--brand); }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--tint); color: var(--brand-d); }
.social a:hover { background: var(--brand); color: #fff; }
.footer__bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding: 22px 0; border-top: 1px solid var(--line); font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .header__phone span { display: none; }
  .account-drop summary span { display: none; }
  .nav > a, .nav__drop > summary { padding: 8px 9px; }
}
@media (max-width: 1080px) {
  .booking__grid, .booking.has-return .booking__grid { grid-template-columns: 1fr 1fr; }
  .booking__go { grid-column: 1 / -1; }
  .features { grid-template-columns: 1fr 1fr; }
  .steps, .dest { grid-template-columns: 1fr 1fr; }
  .compare { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .services { grid-template-columns: 1fr 1fr; }
  .article-wrap { grid-template-columns: minmax(0, 1fr); }
  .article-side { position: static; }
  .book-grid { grid-template-columns: minmax(0, 1fr); }
  .price-box { position: static; }
}
@media (max-width: 960px) {
  .burger { display: inline-flex; }
  .header__cta { margin-left: auto; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 20px; background: var(--brand); border-top: 1px solid rgba(255, 255, 255, .15); box-shadow: 0 20px 40px rgba(19, 40, 64, .35); display: none; max-height: calc(100vh - 74px); overflow-y: auto; }
  .header.is-open .nav { display: flex; }
  .nav > a, .nav__drop > summary { padding: 12px; font-size: 16px; }
  .nav__menu { position: static; transform: none; box-shadow: none; background: rgba(255, 255, 255, .05); margin: 4px 0 8px; }
  .nav__menu a { color: #fff; }
  .nav__menu a small { color: #9fb3ca; }
  .nav__menu a:hover, .nav__menu a.is-active { background: rgba(255, 255, 255, .08); color: #fff; }
  .split, .about { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .callback { position: static; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .car-summary { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .header__row { height: 64px; gap: 12px; }
  .logo img { height: 28px; }
  .header__cta .btn { display: none; }
  .header__phone { width: 44px; height: 44px; justify-content: center; border-radius: 12px; background: rgba(255, 255, 255, .08); }
  .nav { max-height: calc(100vh - 64px); }
  html { scroll-padding-top: 76px; }
  .hero__inner { padding-top: 48px; padding-bottom: 40px; gap: 28px; }
  .hero .lead { font-size: 16px; }
  .hero--plain { min-height: 0; }
  .hero__inner--plain { padding-top: 88px; padding-bottom: 28px; }
  .booking { padding: 18px 16px 14px; border-radius: 18px; }
  .booking__top { flex-direction: column; align-items: flex-start; gap: 4px; }
  .booking__grid, .booking.has-return .booking__grid { grid-template-columns: minmax(0, 1fr); }
  /* a native date input won't shrink enough to sit beside the time input in a single mobile column — stack them */
  .control--pair { flex-direction: column; align-items: stretch; height: auto; padding: 4px 0; }
  .control--pair input[type="date"] { width: 100%; height: 38px; flex: none; padding-right: 12px; }
  .control--pair input[type="time"] { width: 100%; height: 38px; flex: none; padding-left: 44px; border-left: 0; border-top: 1.5px solid var(--line); }
  .control--pair > svg { top: 18px; left: 14px; }
  .dp__date { width: 100%; height: 38px; flex: none; padding-left: 44px; padding-right: 12px; }
  .dp__time { width: 100%; height: 38px; flex: none; padding-left: 44px; border-left: 0; border-top: 1.5px solid var(--line); }
  .dp-pop, .dp-pop--time { width: auto; }
  .dp-cal { flex-direction: column; gap: 0; }
  .dp-month { width: 100%; }
  .dp-times { grid-template-columns: repeat(4, 1fr); }
  .section { padding: 60px 0; }
  .stats__grid { display: grid; grid-template-columns: 1fr 1fr; }
  .stat b { font-size: 24px; }
  .perks__row { justify-content: flex-start; }
  .perks2__row { flex-direction: column; align-items: flex-start; gap: 18px; }
  .perk2 { flex: none; width: 100%; }
  .lastmin__card { padding: 28px 20px; min-height: var(--lm-hm, 260px); }
  .lastmin--full .lastmin__card { padding-left: 0; padding-right: 0; }
  .lastmin__badge { font-size: 22px; padding: 10px 14px; }
  .car-mini { flex: 0 0 148px; }
  .simple { min-height: var(--sb-hm, 0); }
  .simple--content .simple__frame { min-height: var(--sb-hm, 0); }
  .simple__inner { padding: calc(var(--sb-pad, 56px) * .6) 20px; }
  .simple--content { padding: 20px 0; }
  .simple--content .simple__inner { padding: calc(var(--sb-pad, 56px) * .6) 22px; }
  .simple__badges { grid-template-columns: minmax(0, 1fr); }
  .deals { grid-template-columns: minmax(0, 1fr); }
  .services, .blog { grid-template-columns: minmax(0, 1fr); }
  .features, .steps, .compare__cols, .why, .extras, .fgrid { grid-template-columns: minmax(0, 1fr); }
  .dest { grid-template-columns: 1fr 1fr; gap: 12px; }
  .dest__card { aspect-ratio: 3 / 4; }
  .dest__body { left: 14px; right: 14px; bottom: 14px; }
  .dest__body b { font-size: 20px; }
  .about__media { padding: 0 0 18% 0; }
  .panel { padding: 20px; }
  .done { padding: 36px 20px; }
  .done__list div { flex-direction: column; gap: 2px; }
  .done__list dd { text-align: left; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* ---------- per-block spacing set in the CMS (helpers.php block_attrs) ---------- */
[style*="--sp-pt:"] { padding-top: var(--sp-pt) !important; }
[style*="--sp-pb:"] { padding-bottom: var(--sp-pb) !important; }
[style*="--sp-mt:"] { margin-top: var(--sp-mt) !important; }
[style*="--sp-mb:"] { margin-bottom: var(--sp-mb) !important; }
@media (max-width: 640px) {
  [style*="--sp-pt:"] { padding-top: calc(var(--sp-pt) * .7) !important; }
  [style*="--sp-pb:"] { padding-bottom: calc(var(--sp-pb) * .7) !important; }
  [style*="--sp-mt:"] { margin-top: calc(var(--sp-mt) * .7) !important; }
  [style*="--sp-mb:"] { margin-bottom: calc(var(--sp-mb) * .7) !important; }
}

/* account pages on phones: nothing may be wider than the screen */
.acct, .acct * { box-sizing: border-box; }
.acct input, .acct select, .acct textarea { max-width: 100%; min-width: 0; }
@media (max-width: 900px) {
  .acct__layout { grid-template-columns: minmax(0, 1fr); }
  .acct__layout > *, .acct__main, .acct__nav, .acct .panel { min-width: 0; max-width: 100%; }
  .acct__menu { max-width: 100%; }
}
@media (max-width: 640px) {
  .acct__grid, .acct__photos, .acct__cards, .acct__duo, .acct__stages { grid-template-columns: minmax(0, 1fr); }
  .acct__actions .btn, .acct__submit { width: 100%; }
}

/* account menu on phones: all sections visible in two columns, instead of one scrolling row */
@media (max-width: 900px) {
  .acct__menu { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; gap: 6px; }
  .acct__navlink { font-size: 14px; padding: 11px 12px; }
  .acct__menu--foot .acct__navlink--out { grid-column: 1 / -1; justify-content: center; }
}

/* account on phones: sections as one scrolling row of pills, log out at the end of the row */
@media (max-width: 900px) {
  .acct .acct__nav { display: flex; align-items: center; gap: 8px; padding: 0; margin: 0 0 6px; border: 0; box-shadow: none; background: transparent; }
  .acct__nav .acct__menu { flex: 1 1 auto; min-width: 0; display: flex; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: max-content; gap: 8px; overflow-x: auto; overflow-y: hidden; padding: 2px 2px 4px; scrollbar-width: none; }
  .acct__nav .acct__menu::-webkit-scrollbar { display: none; }
  .acct__nav .acct__navlink { flex: none; width: auto; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; white-space: nowrap; }
  .acct__nav .acct__navlink.is-active { background: #e8f4fb; border-color: #bfe0f3; }
  .acct__nav .acct__menu--foot { flex: none; display: flex; margin: 0; padding: 0; border: 0; grid-auto-flow: row; overflow: visible; }
  .acct__nav .acct__navlink--out { padding: 9px 12px; color: #3b4f66; }
  .acct__layout { gap: 14px; }
}

/* phone account menu: the right edge fades out and a thin bar shows that the row scrolls */
@media (max-width: 900px) {
  .acct__nav .acct__menu { padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: #c9d5e2 transparent; -webkit-mask-image: linear-gradient(to right, #000 82%, transparent); mask-image: linear-gradient(to right, #000 82%, transparent); }
  .acct__nav .acct__menu::-webkit-scrollbar { display: block; height: 3px; }
  .acct__nav .acct__menu::-webkit-scrollbar-track { background: transparent; }
  .acct__nav .acct__menu::-webkit-scrollbar-thumb { background: #c9d5e2; border-radius: 3px; }
}
