/* Al Bader Car Rental — main stylesheet (theme 1.1).
   Design tokens first; every component uses them. Layout uses logical
   properties (inline-start/end) so Arabic pages mirror automatically. */

:root {
	/* Colour */
	--ink: #131713;
	--panel: #20261f;
	--panel-2: #2a312a;
	--line-dark: #384035;
	--muted-dark: #bcc3b7;
	--paper: #f5f2eb;
	--paper-2: #ebe7dd;
	--white: #ffffff;
	--gold: #c4a46a;
	--gold-hover: #b8955a;
	--gold-dark: #7d602e;
	--gold-soft: #fbf8f1;
	--text: #22281f;
	--muted: #5b6356;
	--line: #daddd2;
	--green: #1e6045;
	--green-hover: #175038;
	--danger: #a23b2a;
	--danger-soft: #f8e6e1;

	/* Shape and space */
	--radius: 12px;
	--radius-sm: 6px;
	--radius-lg: 16px;
	--gutter: 72px;
	--container: 1296px;
	--header-h: 84px;
	--section: 96px;
	--space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;

	/* Type scale */
	--font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--fs-xs: 13px;
	--fs-sm: 14px;
	--fs-base: 16px;
	--fs-md: 17px;
	--fs-lg: 20px;
	--fs-xl: 22px;
	--fs-h3: clamp(20px, .5vw + 17px, 24px);
	--fs-h2: clamp(28px, 2.2vw + 14px, 44px);
	--fs-h1: clamp(34px, 2.8vw + 14px, 56px);
	--fs-display: clamp(40px, 4.4vw + 12px, 72px);

	/* Controls */
	--control-h: 52px;
	--control-h-sm: 42px;

	--shadow: 0 1px 2px rgb(19 23 19 / 6%), 0 8px 24px rgb(19 23 19 / 6%);
	--shadow-lg: 0 2px 4px rgb(19 23 19 / 8%), 0 20px 48px rgb(19 23 19 / 14%);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--focus: 0 0 0 3px rgb(196 164 106 / 35%);
}

:lang(ar) { --font: "Cairo", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif; }

@media (max-width: 1200px) { :root { --gutter: 48px; --section: 80px; } }
@media (max-width: 960px)  { :root { --gutter: 32px; --section: 64px; --header-h: 72px; } }
@media (max-width: 600px)  { :root { --gutter: 20px; --section: 56px; --header-h: 68px; } }

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

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font-family: var(--font);
	font-size: var(--fs-base);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	overflow-wrap: break-word;
}
:lang(ar) body, body:lang(ar) { line-height: 1.75; }

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3 { letter-spacing: 0; line-height: 1.35; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
small { font-size: var(--fs-xs); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; inset-inline-start: 16px; top: -60px; z-index: 200;
	padding: 12px 18px; border-radius: var(--radius-sm); background: var(--gold); color: var(--ink); font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }

.icon { flex: none; }
[dir="rtl"] .icon-flip { transform: scaleX(-1); }

/* ---------- Type ---------- */

.eyebrow {
	margin: 0 0 12px;
	color: var(--gold-dark);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}
:lang(ar) .eyebrow { letter-spacing: 0; font-size: 13.5px; }
.eyebrow--gold, .section-ink .eyebrow, .card--dark .eyebrow { color: var(--gold); }

.section-title { font-size: var(--fs-h2); }
.lead { margin-top: 14px; color: var(--muted); font-size: clamp(16px, .3vw + 15px, 18px); max-width: 62ch; text-wrap: pretty; }
.section-ink .lead { color: var(--muted-dark); }

.section-head { margin-bottom: clamp(28px, 3vw, 40px); max-width: 760px; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 3vw, 40px); }
.section-head-row .section-head { margin-bottom: 0; }

.prose { color: var(--muted); font-size: var(--fs-md); }
.prose > * + * { margin-top: 1em; }
.prose h2, .prose h3 { color: var(--text); margin-top: 1.6em; }
.prose h2 { font-size: clamp(24px, 1.2vw + 16px, 30px); }
.prose h3 { font-size: var(--fs-lg); }
.prose ul { list-style: disc; padding-inline-start: 1.3em; }
.prose ol { list-style: decimal; padding-inline-start: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--gold-dark); }
.prose strong { color: var(--text); }
.prose--article { color: var(--text); font-size: 18px; }
.prose--article p, .prose--article li { color: #3b4236; }
.prose img { border-radius: var(--radius); }
.updated { color: var(--muted); font-size: var(--fs-sm); margin-bottom: 24px; }

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: var(--control-h); padding: 12px 24px;
	border: 1px solid transparent; border-radius: var(--radius-sm);
	font-size: 15px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none;
	transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
	-webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; box-shadow: var(--focus), 0 0 0 1px var(--gold); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .65; cursor: progress; pointer-events: none; }
.btn-sm { min-height: var(--control-h-sm); padding: 8px 16px; font-size: 14px; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-outline { background: var(--white); border-color: var(--line); color: var(--text); }
.btn-outline:hover { border-color: var(--text); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-whatsapp { background: var(--green); color: var(--white); }
.btn-whatsapp:hover { background: var(--green-hover); }
.btn-ghost { background: transparent; border-color: var(--line-dark); color: var(--white); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-icon { width: var(--control-h); padding: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }
.stack-sm { display: grid; gap: 10px; margin-top: 20px; }
.stack-sm .btn { width: 100%; }

.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-dark); font-weight: 700; font-size: 15px; text-decoration: none; }
.text-link:hover span { text-decoration: underline; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted-dark); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; }
.back-link:hover { color: var(--white); }
.back-link .icon { transform: scaleX(-1); }
[dir="rtl"] .back-link .icon { transform: none; }

.icon-btn {
	display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
	background: none; border: 0; border-radius: var(--radius-sm); color: inherit;
}

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

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--ink); color: var(--white);
	border-bottom: 1px solid rgb(255 255 255 / 6%);
	transition: box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-scrolled { background: rgb(19 23 19 / 96%); box-shadow: 0 8px 24px rgb(0 0 0 / 25%); backdrop-filter: blur(8px); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); transition: min-height .25s var(--ease); }
.is-scrolled .site-header__inner { min-height: calc(var(--header-h) - 10px); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand__mark { width: 52px; height: 52px; object-fit: contain; }
.brand__text { display: grid; line-height: 1.1; }
.brand__name { font-size: 22px; font-weight: 600; letter-spacing: .02em; }
.brand__tag { margin-top: 4px; color: var(--gold); font-size: 9px; font-weight: 500; letter-spacing: .18em; }
:lang(ar) .brand__name { font-size: 24px; letter-spacing: 0; }
:lang(ar) .brand__tag { font-size: 12px; letter-spacing: 0; }

.main-nav__list { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 30px); }
.main-nav__list a { display: block; padding: 8px 0; color: var(--muted-dark); font-size: 14px; font-weight: 500; text-decoration: none; position: relative; transition: color .2s; }
.main-nav__list a:hover, .main-nav__list .current-menu-item > a, .main-nav__list .current_page_item > a, .main-nav__list .current-menu-ancestor > a, .main-nav__list .current_page_parent > a { color: var(--white); }
.main-nav__list a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--gold); border-radius: 2px; transform: scaleX(0); transition: transform .25s var(--ease); }
.main-nav__list a:hover::after { transform: scaleX(.5); }
.main-nav__list .current-menu-item > a::after, .main-nav__list .current_page_item > a::after, .main-nav__list .current-menu-ancestor > a::after, .main-nav__list .current_page_parent > a::after { transform: scaleX(1); }
:lang(ar) .main-nav__list a { font-size: 15px; }

.site-header__actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { color: var(--white); font-size: 14px; font-weight: 600; text-decoration: none; padding: 8px 4px; }
.lang-switch:hover { color: var(--gold); }
.lang-switch:lang(ar) { font-family: "Cairo", var(--font); font-size: 15px; }
.lang-switch:lang(en) { font-family: "Manrope", var(--font); }
.site-header__wa { display: none; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: var(--white); }
.site-header__actions .btn { min-height: 46px; }
.menu-toggle { display: none; color: var(--white); }

@media (max-width: 1080px) {
	.main-nav { display: none; }
	.menu-toggle { display: inline-grid; }
}
@media (max-width: 600px) {
	.site-header__actions [data-header-cta] { display: none; }
	.site-header__wa { display: grid; }
	.site-header__actions { gap: 6px; }
	.brand__mark { width: 44px; height: 44px; }
	.brand__name { font-size: 19px; }
}

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 100; background: rgb(10 12 10 / 55%); }
.admin-bar .mobile-menu, .admin-bar .fleet__filters.is-open { top: 46px; }
@media (min-width: 783px) { .admin-bar .mobile-menu, .admin-bar .fleet__filters.is-open { top: 32px; } }
.mobile-menu__panel {
	position: absolute; inset-block: 0; inset-inline-end: 0; width: min(420px, 100%);
	display: flex; flex-direction: column; gap: 24px;
	padding: 16px var(--gutter) calc(24px + env(safe-area-inset-bottom));
	background: var(--ink); color: var(--white); overflow-y: auto;
	animation: menu-in .28s var(--ease);
}
[dir="rtl"] .mobile-menu__panel { animation-name: menu-in-rtl; }
@keyframes menu-in { from { transform: translateX(100%); } }
@keyframes menu-in-rtl { from { transform: translateX(-100%); } }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.mobile-menu__list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 20px; font-weight: 600; text-decoration: none; }
.mobile-menu__list .current-menu-item > a, .mobile-menu__list .current_page_item > a { color: var(--gold); }
.mobile-menu__actions { display: grid; gap: 12px; margin-top: auto; }
.mobile-menu__phone { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px; color: var(--muted-dark); text-decoration: none; }
body.menu-open { overflow: hidden; }

/* ---------- Sections ---------- */

.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--tight-bottom { padding-bottom: calc(var(--section) * .4); }
.section--flush-top { padding-top: 0; }
.section-white { background: var(--white); }
.section-ink { background: var(--ink); color: var(--white); }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--white); }
.hero__bg, .page-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero::before, .page-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, rgb(19 23 19 / 96%) 0%, rgb(19 23 19 / 78%) 45%, rgb(19 23 19 / 30%) 100%);
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; z-index: -1; background: linear-gradient(180deg, rgb(19 23 19 / 0%), rgb(19 23 19 / 70%)); }
[dir="rtl"] .hero::before, [dir="rtl"] .page-hero::before { background: linear-gradient(270deg, rgb(19 23 19 / 96%) 0%, rgb(19 23 19 / 78%) 45%, rgb(19 23 19 / 30%) 100%); }
[dir="rtl"] .hero__bg, [dir="rtl"] .page-hero__bg { object-position: 30% center; }
.hero__inner { padding-block: clamp(64px, 8vw, 112px) clamp(40px, 5vw, 64px); }
.hero__copy { max-width: 720px; }
.hero__title { font-size: var(--fs-display); line-height: 1.04; letter-spacing: -0.02em; }
:lang(ar) .hero__title { line-height: 1.3; letter-spacing: 0; }
.hero__lead { margin: 22px 0 32px; color: var(--muted-dark); font-size: clamp(16px, .4vw + 14px, 19px); max-width: 560px; }

.search-bar {
	display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr auto; align-items: end; gap: 14px;
	margin-top: clamp(40px, 6vw, 80px); padding: 22px 24px 18px;
	background: var(--white); color: var(--text); border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.search-bar .btn { min-height: var(--control-h); padding-inline: 26px; }
.search-bar__note { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: var(--fs-xs); }

.trust-bar { background: var(--ink); color: var(--white); border-top: 1px solid rgb(255 255 255 / 6%); }
.trust-bar__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-block: 26px; }
.trust-bar__list li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; }
.trust-bar__list .icon { color: var(--gold); }

/* Page hero */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--white); }
.page-hero__inner { padding-block: clamp(48px, 6vw, 88px); }
.page-hero__title { font-size: var(--fs-h1); max-width: 880px; }
.page-hero__lead { margin-top: 16px; color: var(--muted-dark); font-size: clamp(16px, .4vw + 14px, 19px); max-width: 680px; }
.page-hero .btn-row { margin-top: 28px; }
.page-hero--tall .page-hero__inner { padding-block: clamp(64px, 9vw, 140px); }
.page-hero--compact .page-hero__inner { padding-block: clamp(40px, 5vw, 64px); }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; color: var(--gold); font-size: var(--fs-xs); }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; color: var(--muted-dark); opacity: .7; }
.crumbs a { color: var(--muted-dark); text-decoration: none; }
.crumbs a:hover { color: var(--white); }

/* ---------- Forms ---------- */

.field { display: grid; gap: 8px; min-width: 0; align-content: start; }
.field__label { color: var(--muted); font-size: var(--fs-xs); font-weight: 600; }
.field__label small { font-weight: 500; opacity: .8; }
.field input, .field select, .field textarea, .filters input[type="number"], .filters input[type="search"], .select-label select, .phone-input select, .phone-input input {
	width: 100%; min-height: var(--control-h); padding: 12px 16px;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
	color: var(--text); font-size: 16px; line-height: 1.3;
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
	appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select, .select-label select, .phone-input select {
	padding-inline-end: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%237d602e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 16px center;
}
[dir="rtl"] .field select, [dir="rtl"] .select-label select { background-position: left 16px center; }
.field input[type="date"], .field input[type="time"] { min-width: 0; }
.field input::-webkit-date-and-time-value { text-align: start; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #c3c7bb; }
.field input:focus, .field select:focus, .field textarea:focus, .filters input:focus, .select-label select:focus, .phone-input select:focus, .phone-input input:focus {
	outline: none; border-color: var(--gold-dark); box-shadow: var(--focus);
}
.field input:disabled, .field select:disabled { background: var(--paper-2); color: var(--muted); cursor: not-allowed; }
.field.has-error input, .field.has-error select, .field.has-error textarea, .checkbox.has-error input { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: var(--fs-xs); font-weight: 600; }
::placeholder { color: #858b7f; opacity: 1; }

.phone-input { display: grid; grid-template-columns: minmax(118px, 36%) 1fr; gap: 8px; }
.phone-input select { padding-inline: 12px 32px; font-size: 14px; background-position: right 10px center; }

.checkbox { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; cursor: pointer; font-size: 15px; position: relative; }
.checkbox small { margin-inline-start: auto; color: var(--muted); font-size: var(--fs-xs); }
.checkbox input {
	flex: none; width: 20px; height: 20px; margin: 0; appearance: none; -webkit-appearance: none;
	border: 1px solid var(--line); border-radius: 4px; background: var(--white) center / 14px no-repeat;
	transition: background-color .15s, border-color .15s;
}
.checkbox input[type="radio"] { border-radius: 50%; }
.checkbox input:checked {
	background-color: var(--gold); border-color: var(--gold);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23131713' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.checkbox input[type="radio"]:checked { background-image: radial-gradient(circle, var(--ink) 35%, transparent 40%); }
.checkbox input:focus-visible { outline: none; box-shadow: var(--focus); }
.checkbox--consent { align-items: flex-start; font-size: var(--fs-sm); color: var(--muted); line-height: 1.5; }
.checkbox--consent input { margin-top: 2px; }
.checkbox--consent a { color: var(--gold-dark); }

.prefs { margin: 0; padding: 0; border: 0; }
.prefs legend { padding: 0; margin-bottom: 8px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.radio-pill span { display: inline-flex; align-items: center; min-height: var(--control-h-sm); padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: 14px; font-weight: 600; transition: border-color .2s, background-color .2s; }
.radio-pill input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.radio-pill input:focus-visible + span { box-shadow: var(--focus); }

.form { display: grid; gap: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field--full { grid-column: 1 / -1; }
.form .btn[type="submit"] { justify-self: start; min-width: 200px; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice { margin-bottom: 20px; padding: 14px 18px; border-radius: var(--radius-sm); font-size: 15px; }
.notice--error { background: var(--danger-soft); color: #6e2416; border: 1px solid #efc9bf; }
.notice:focus { outline: none; }

/* ---------- Chips ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
	display: inline-flex; align-items: center; gap: 8px; min-height: var(--control-h-sm); padding: 8px 18px;
	background: var(--white); border: 1px solid var(--line); border-radius: 999px;
	font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap;
	transition: border-color .2s, background-color .2s;
}
.chip:hover { border-color: var(--gold-dark); }
.chip.is-active { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.chip--remove { background: var(--gold-soft); border-color: #e8dcc2; padding-inline-end: 12px; }
.chip--remove .icon { color: var(--gold-dark); }
.chip--remove:hover { border-color: var(--danger); }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; }
.active-filters__clear { margin-inline-start: 6px; color: var(--gold-dark); font-size: var(--fs-sm); font-weight: 700; text-decoration: none; }
.active-filters__clear:hover { text-decoration: underline; }

/* ---------- Cards & grids ---------- */

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.card--pad { padding: clamp(24px, 2.5vw, 32px); }
.card--dark { background: var(--panel); border-color: var(--line-dark); color: var(--white); }
.card--dark p { color: var(--muted-dark); }
.card__title { font-size: var(--fs-xl); margin-bottom: 16px; }
.card__title--sm { font-size: var(--fs-md); margin: 8px 0 8px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

.car-grid { display: grid; gap: 24px; }
.car-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.car-card {
	display: flex; flex-direction: column; overflow: hidden;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
	transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.car-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #cfd3c7; }
.car-card:focus-within { border-color: var(--gold); }
.car-card__media { position: relative; display: block; aspect-ratio: 5 / 3; background: #e7e4dc; overflow: hidden; }
.car-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.car-card:hover .car-card__media img { transform: scale(1.03); }
.car-card__badge { position: absolute; top: 14px; inset-inline-start: 14px; padding: 5px 10px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
:lang(ar) .car-card__badge { letter-spacing: 0; }
.car-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.car-card__cat { margin-bottom: 8px; color: var(--gold-dark); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
:lang(ar) .car-card__cat { letter-spacing: 0; font-size: 13.5px; }
.car-card__title { font-size: 21px; font-weight: 600; }
.car-card__title a { text-decoration: none; }
.car-card__title a:hover { color: var(--gold-dark); }
.car-card__specs { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 12px 0 0; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: var(--fs-sm); }
.car-card__specs li { display: inline-flex; align-items: center; gap: 6px; }
.car-card__specs .icon { color: var(--gold-dark); }
.car-card__price { display: grid; gap: 2px; margin: 16px 0 18px; }
.car-card__price strong { font-size: 22px; font-weight: 600; line-height: 1.2; }
.car-card__price span { color: var(--muted); font-size: var(--fs-xs); }
.car-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.car-card__actions .btn { min-height: 48px; padding-inline: 10px; font-size: 14px; }

.tile-grid { display: grid; gap: 24px; }
.tile-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile {
	position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end;
	min-height: 320px; padding: 24px; overflow: hidden; border-radius: var(--radius);
	background: var(--panel); color: var(--white); text-decoration: none;
}
.tile--tall { min-height: 400px; }
.tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(19 23 19 / 0%) 35%, rgb(19 23 19 / 92%) 100%); }
.tile:hover img { transform: scale(1.04); }
.tile__body { display: grid; gap: 6px; }
.tile__meta { color: var(--muted-dark); font-size: var(--fs-xs); font-weight: 600; }
.tile__title { font-size: var(--fs-xl); font-weight: 600; }
.tile__sub { color: var(--gold); font-size: var(--fs-sm); font-weight: 600; }
.tile__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--white); font-size: var(--fs-xs); font-weight: 700; opacity: .85; transition: gap .2s var(--ease); }
.tile:hover .tile__cta { gap: 10px; }

.feature-grid { display: grid; gap: 24px; }
.feature-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature { display: flex; flex-direction: column; gap: 12px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.feature__num { color: var(--gold-dark); font-size: var(--fs-xl); font-weight: 600; }
.feature__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-dark); }
.feature__title { font-size: var(--fs-lg); }
.feature__text { color: var(--muted); font-size: 15px; }
.feature-grid--dark .feature { background: var(--panel); border-color: var(--line-dark); }
.feature-grid--dark .feature__icon { background: var(--panel-2); color: var(--gold); }
.feature-grid--dark .feature__num { color: var(--gold); }
.feature-grid--dark .feature__text { color: var(--muted-dark); }
.feature-grid--steps { counter-reset: none; }
.feature-grid--steps .feature { position: relative; }
.feature-grid--steps .feature__num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-dark); font-size: 15px; }

.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; }
.check-list .icon { margin-top: 2px; color: var(--gold-dark); }
.section-ink .check-list .icon, .card--dark .check-list .icon, .plan--highlight .check-list .icon { color: var(--gold); }
.check-list--cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 32px; }
.dash-list { display: grid; gap: 10px; color: var(--muted); font-size: 15px; }
.dash-list li { padding-inline-start: 18px; position: relative; }
.dash-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .75em; width: 8px; height: 2px; background: var(--gold); }
.numbered { display: grid; gap: 14px; counter-reset: n; }
.numbered li { position: relative; padding-inline-start: 40px; counter-increment: n; color: var(--muted-dark); font-size: 15px; }
.numbered li::before { content: counter(n); position: absolute; inset-inline-start: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 13px; font-weight: 700; }

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
.split__media img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; border-radius: var(--radius); }
.split__copy .check-list { margin: 8px 0 28px; }
.split__copy .section-head { margin-bottom: 20px; }

.about-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); }
.about-split .section-head { margin: 0; }

.company-facts { display: grid; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.company-facts div { display: flex; gap: 16px; justify-content: space-between; }
.company-facts dt { color: var(--muted); }
.company-facts dd { margin: 0; font-weight: 600; text-align: end; }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 22px 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline-offset: -2px; }
.faq-item__icon { position: relative; flex: none; width: 22px; height: 22px; color: var(--gold-dark); }
.faq-item__icon::before, .faq-item__icon::after { content: ""; position: absolute; inset-inline-start: 4px; top: 10px; width: 14px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease); }
.faq-item__icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-item__icon::after { transform: rotate(0deg); }
.faq-item__answer { padding-bottom: 22px; color: var(--muted); font-size: 16px; max-width: 80ch; }
.faq-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); }
.section .faq-split { margin-top: 0; }
.grid-2 + .faq-split { margin-top: var(--section); }
.faq-split .btn { margin-top: 8px; }
.faq-page { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.faq-page__aside { position: sticky; top: calc(var(--header-h) + 24px); }

/* CTA */
.cta-panel { position: relative; isolation: isolate; overflow: hidden; padding: clamp(32px, 5vw, 64px); border-radius: var(--radius-lg); background: var(--panel); }
.cta-panel__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta-panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(19 23 19 / 72%); }
.cta-panel__copy { max-width: 720px; }
.cta-panel .lead { margin-bottom: 28px; }

/* Stats */
.stats { background: var(--ink); color: var(--white); }
.stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-block: 48px; }
.stat { display: grid; gap: 4px; }
.stat strong { color: var(--gold); font-size: clamp(24px, 1.6vw + 12px, 34px); font-weight: 600; line-height: 1.15; }
.stat span { color: var(--muted-dark); font-size: var(--fs-sm); }

/* ---------- Fleet ---------- */

.fleet { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; }
.fleet__filters { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; scrollbar-width: thin; border-radius: var(--radius); }
.filters { padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.filters__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.filters__title { font-size: var(--fs-lg); }
.filters__close { display: none; }
.filters__group { margin: 0; padding: 18px 0; border: 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.filters__group:last-of-type { border-bottom: 0; }
.filters__group legend { float: left; width: 100%; margin-bottom: 8px; padding: 0; color: var(--gold-dark); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
:lang(ar) .filters__group legend { letter-spacing: 0; }
.filters__group legend + * { clear: both; }
.filters__hint { margin: -4px 0 10px; color: var(--muted); font-size: var(--fs-xs); }
.filters__search { position: relative; display: block; }
.filters__search .icon { position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.filters input[type="search"] { min-height: 46px; padding-inline-start: 42px; font-size: 15px; }
.filters input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
.filters__range { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.filters input[type="number"] { min-height: 44px; padding: 8px 12px; font-size: 15px; }
.filters__dates { display: grid; gap: 10px; }
.filters__dates input { min-height: 46px; font-size: 15px; }
.filters__actions { display: grid; gap: 10px; padding-top: 20px; }
.fleet__results.is-loading { opacity: .55; pointer-events: none; transition: opacity .2s; }

.fleet__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.fleet__count { margin: 0; font-weight: 600; }
.fleet__tools { display: flex; align-items: center; gap: 10px; }
.fleet__filter-toggle { display: none; position: relative; }
.fleet__filter-dot { position: absolute; top: 8px; inset-inline-end: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.select-label select { min-height: 44px; min-width: 220px; padding-block: 8px; font-size: 15px; }
.fleet__results .chips { margin-bottom: 20px; }
.empty-state { display: grid; justify-items: center; gap: 12px; padding: 56px 24px; text-align: center; color: var(--muted); background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-state .icon { color: var(--gold-dark); }
.empty-state h2 { color: var(--text); font-size: var(--fs-xl); }
.empty-state .btn-row { margin-top: 8px; }
.drawer-scrim { position: fixed; inset: 0; z-index: 89; background: rgb(10 12 10 / 55%); }

.trip-banner { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding: 14px 18px; background: var(--gold-soft); border: 1px solid #e8dcc2; border-radius: var(--radius); }
.trip-banner .icon { color: var(--gold-dark); }
.trip-banner div { display: grid; gap: 2px; flex: 1; }
.trip-banner strong { font-size: 15px; }
.trip-banner span { color: var(--muted); font-size: var(--fs-xs); }
.trip-banner__edit { color: var(--gold-dark); font-size: var(--fs-sm); font-weight: 700; text-decoration: none; white-space: nowrap; }
.trip-banner__edit:hover { text-decoration: underline; }

.pagination { margin-top: 40px; }
.pagination ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers {
	display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
	font-size: 15px; font-weight: 600; text-decoration: none;
}
.pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: var(--white); }
.pagination .prev .icon { transform: scaleX(-1); }
[dir="rtl"] .pagination .prev .icon { transform: none; }

/* ---------- Car detail ---------- */

.car-top { padding-block: 24px clamp(40px, 5vw, 64px); }
.car-top__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.car-top__nav .crumbs ol { margin-bottom: 0; }
.car-top__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4.3fr); gap: clamp(24px, 3vw, 48px); align-items: start; }
.gallery__main { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 0; border-radius: var(--radius); background: var(--panel); aspect-ratio: 16 / 10; cursor: zoom-in; color: var(--white); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery__main:hover img { transform: scale(1.02); }
.gallery__empty { display: grid; place-items: center; height: 100%; color: var(--muted-dark); }
.gallery__count { position: absolute; bottom: 14px; inset-inline-start: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgb(19 23 19 / 70%); font-size: var(--fs-xs); font-weight: 600; backdrop-filter: blur(4px); }
.gallery__zoom { position: absolute; top: 14px; inset-inline-end: 14px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgb(19 23 19 / 70%); opacity: 0; transition: opacity .2s; }
.gallery__main:hover .gallery__zoom, .gallery__main:focus-visible .gallery__zoom { opacity: 1; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.gallery__thumb { padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 8px; background: var(--panel); aspect-ratio: 19 / 11; opacity: .65; transition: opacity .2s, border-color .2s; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover, .gallery__thumb.is-active { opacity: 1; border-color: var(--gold); }

.car-info__title { font-size: clamp(30px, 2.2vw + 14px, 46px); }
.spec-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 22px; }
.spec-chips li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 1px solid var(--line-dark); border-radius: 999px; color: var(--muted-dark); font-size: var(--fs-xs); font-weight: 600; }
.spec-chips .icon { color: var(--gold); }

.book-panel { padding: 22px 24px 20px; background: var(--panel); border: 1px solid var(--line-dark); border-radius: var(--radius); }
.book-panel__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; }
.book-panel__price { margin: 0; font-size: 32px; font-weight: 600; line-height: 1.1; }
.book-panel__price small { margin-inline-start: 4px; color: var(--muted-dark); font-size: var(--fs-sm); font-weight: 500; }
.book-panel__note { margin: 0; color: var(--muted-dark); font-size: var(--fs-xs); }
.rate-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 18px 0 16px; }
.rate-tabs li { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--line-dark); border-radius: var(--radius-sm); background: var(--panel-2); }
.rate-tabs span { color: var(--muted-dark); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
:lang(ar) .rate-tabs span { letter-spacing: 0; }
.rate-tabs strong { font-size: 15px; font-weight: 600; white-space: nowrap; }
.book-panel__dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.book-panel__dates .field__label { color: var(--muted-dark); }
.book-panel__dates input { min-height: 48px; font-size: 15px; }
.book-panel__hint { margin: 14px 0 0; color: var(--muted-dark); font-size: var(--fs-xs); }
.kv { display: grid; margin: 18px 0 20px; font-size: var(--fs-sm); }
.kv > div { display: flex; justify-content: space-between; gap: 16px; padding-block: 9px; border-top: 1px solid var(--line); }
.book-panel .kv > div { border-color: var(--line-dark); }
.kv dt { color: var(--muted); }
.book-panel .kv dt { color: var(--muted-dark); }
.kv dd { margin: 0; font-weight: 600; text-align: end; }
.estimate { margin: 16px 0 0; }
.estimate__total dt, .estimate__total dd { color: var(--white); font-size: var(--fs-md); font-weight: 700; }
.estimate__deposit dt small { display: block; font-size: 12px; font-weight: 500; }
.estimate__deposit dd { color: var(--gold); }
.book-panel__actions { display: grid; gap: 10px; margin-top: 18px; }
.book-panel__foot { margin: 12px 0 0; color: var(--muted-dark); font-size: var(--fs-xs); text-align: center; }

.key-facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: clamp(24px, 3vw, 40px); padding-top: clamp(20px, 3vw, 32px); border-top: 1px solid var(--line-dark); }
.key-facts li { display: flex; align-items: center; gap: 12px; }
.key-facts .icon { color: var(--gold); }
.key-facts span { display: grid; gap: 1px; min-width: 0; }
.key-facts small { color: var(--muted-dark); font-size: 12px; }
.key-facts strong { font-size: var(--fs-sm); font-weight: 600; }

.spec-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; }
.spec { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.spec__icon { grid-row: 1 / 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--gold-soft); color: var(--gold-dark); }
.spec dt { color: var(--muted); font-size: var(--fs-xs); }
.spec dd { margin: 2px 0 0; font-size: 18px; font-weight: 600; }

.feature-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.feature-group { padding: 24px 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.feature-group__title { margin-bottom: 14px; color: var(--gold-dark); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
:lang(ar) .feature-group__title { letter-spacing: 0; }
.terms-link { margin-top: 24px; }

.sticky-book { display: none; }

/* Lightbox */
.lightbox { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: rgb(10 12 10 / 96%); color: var(--white); }
.lightbox::backdrop { background: rgb(10 12 10 / 70%); }
.lightbox__close { position: absolute; top: 16px; inset-inline-end: 16px; z-index: 2; color: var(--white); background: rgb(255 255 255 / 8%); border-radius: 50%; }
.lightbox__stage { display: grid; grid-template-columns: auto 1fr auto; align-items: center; height: 100%; gap: 8px; padding: 16px; }
.lightbox__figure { margin: 0; display: grid; justify-items: center; align-content: center; gap: 12px; height: 100%; min-width: 0; }
.lightbox__figure img { max-height: calc(100dvh - 110px); width: auto; max-width: 100%; object-fit: contain; border-radius: 8px; }
.lightbox__caption { color: var(--muted-dark); font-size: var(--fs-sm); }
.lightbox__nav { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: rgb(255 255 255 / 8%); color: var(--white); transition: background-color .2s; }
.lightbox__nav:hover { background: rgb(255 255 255 / 18%); }
.lightbox__nav--prev .icon { transform: scaleX(-1); }
[dir="rtl"] .lightbox__nav--prev .icon { transform: none; }
[dir="rtl"] .lightbox__nav--next .icon { transform: scaleX(-1); }

/* ---------- Brands ---------- */

.brand-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.brand-card {
	display: flex; flex-direction: column; overflow: hidden; background: var(--white); border: 1px solid var(--line);
	border-radius: var(--radius); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.brand-card:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-2px); }
.brand-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #e7e4dc; }
.brand-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.brand-card:hover .brand-card__media img { transform: scale(1.04); }
.brand-card__body { display: grid; gap: 10px; padding: 20px 22px 22px; }
.brand-card__logo img { width: 40px; height: 40px; object-fit: contain; }
.brand-card__name { font-size: 21px; font-weight: 600; }
.brand-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: var(--fs-sm); }
.brand-card__meta .icon { color: var(--gold-dark); transition: transform .2s var(--ease); }
.brand-card:hover .brand-card__meta .icon { transform: translateX(4px); }
[dir="rtl"] .brand-card:hover .brand-card__meta .icon { transform: translateX(-4px) scaleX(-1); }

/* ---------- Monthly plans ---------- */

.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 6px; padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.plan--highlight { background: var(--ink); border-color: var(--gold); color: var(--white); }
.plan__name { font-size: 24px; }
.plan__term { color: var(--muted); font-size: var(--fs-sm); }
.plan--highlight .plan__term { color: var(--muted-dark); }
.plan__price { margin: 6px 0 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); color: var(--gold-dark); font-size: 32px; font-weight: 600; line-height: 1.2; }
.plan--highlight .plan__price { color: var(--gold); border-color: var(--line-dark); }
.plan .check-list { margin-bottom: 24px; }
.plan .btn { margin-top: auto; }

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

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service-card { display: flex; flex-direction: column; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .25s, transform .25s; }
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.service-card__media { display: block; aspect-ratio: 15 / 8; overflow: hidden; background: #e7e4dc; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.03); }
.service-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 24px 26px 26px; }
.service-card__title { font-size: var(--fs-xl); }
.service-card__title a { text-decoration: none; }
.service-card__title a:hover { color: var(--gold-dark); }
.service-card__text { color: var(--muted); font-size: 15px; }
.service-card__price { color: var(--gold-dark); font-size: var(--fs-sm); font-weight: 700; }
.service-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; padding-top: 6px; }

.service-detail { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.service-detail__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.service-detail__price { margin: 0 0 14px; font-size: 30px; font-weight: 600; line-height: 1.2; }
.service-detail__pricing { color: var(--muted); font-size: 15px; }
.service-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.service-fact { padding: 24px 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.service-fact__title { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: var(--fs-md); }
.service-fact__title .icon { color: var(--gold-dark); }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 32px; align-items: start; }
.contact-side { display: grid; gap: 20px; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 18px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); color: var(--gold-dark); flex: none; }
.contact-card__text { display: grid; gap: 2px; min-width: 0; }
.contact-card__label { color: var(--muted); font-size: var(--fs-xs); }
.contact-card__value { font-size: var(--fs-md); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
[dir="rtl"] .contact-card__value[dir="ltr"] { text-align: right; }
a.contact-card__value:hover { color: var(--gold-dark); }
.contact-promise .card__title { font-size: var(--fs-lg); }
.form-card__title { font-size: 28px; margin-bottom: 20px; }
.map-band iframe { width: 100%; height: 420px; border: 0; filter: grayscale(.25); }

.location-panel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.location-panel__list { display: grid; gap: 14px; margin-top: 24px; }
.location-panel__list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; }
.location-panel__list .icon { margin-top: 2px; color: var(--gold-dark); }
.location-panel__airports { padding: 28px; background: var(--ink); color: var(--white); border-radius: var(--radius); }
.location-panel__airports h3 { font-size: var(--fs-xl); margin-bottom: 10px; }
.location-panel__airports p { color: var(--muted-dark); font-size: 15px; margin-bottom: 20px; }

.success { display: grid; justify-items: center; gap: 16px; padding-block: 24px; text-align: center; }
.success__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--gold); color: var(--ink); }
.success--page { max-width: 720px; margin-inline: auto; padding-block: 56px; }
.success--page .lead, .success .lead { margin-inline: auto; }
.success__ref { font-size: var(--fs-md); }

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

.booking-top { padding-block: 28px 40px; }
.booking-top .page-hero__title { margin-bottom: 8px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 28px; }
.steps__item { display: flex; align-items: center; gap: 10px; padding-top: 14px; border-top: 3px solid var(--line-dark); color: var(--muted-dark); font-size: var(--fs-sm); font-weight: 600; }
.steps__num { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-dark); font-size: 13px; }
.steps__item.is-current { border-color: var(--gold); color: var(--white); }
.steps__item.is-current .steps__num { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.steps__item.is-done { border-color: var(--gold-dark); color: var(--white); }
.steps__item.is-done .steps__num { border-color: var(--gold); color: var(--gold); }

.booking { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.booking__steps { display: grid; gap: 24px; }
.booking__step { margin: 0; min-width: 0; }
.booking__legend { display: grid; gap: 4px; float: left; width: 100%; margin-bottom: 24px; padding: 0; font-size: 26px; font-weight: 600; }
.booking__legend .eyebrow { margin: 0; }
.booking__legend + * { clear: both; }
.booking__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.booking__nav .btn:only-child { margin-inline-start: auto; }
.booking__nav [data-prev] .icon { transform: scaleX(-1); }
[dir="rtl"] .booking__nav [data-prev] .icon { transform: none; }
.js .booking__step:not(.is-active) { display: none; }
.booking__summary { position: sticky; top: calc(var(--header-h) + 24px); }
.summary__car { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 14px; margin-bottom: 8px; }
.summary__car img { width: 96px; height: 62px; object-fit: cover; border-radius: 8px; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 600; }
.summary__total strong { font-size: 26px; }
.summary__vat { margin: 2px 0 12px; color: var(--muted); font-size: var(--fs-xs); text-align: end; }
.summary__deposit { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--gold-soft); font-size: var(--fs-sm); }
.summary__deposit small { display: block; color: var(--muted); font-size: 12px; }
.summary__deposit strong { color: var(--gold-dark); }
.summary__note { margin-top: 14px; color: var(--muted); font-size: var(--fs-xs); }

.extras { display: grid; gap: 12px; }
.extra {
	position: relative; display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 14px;
	padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
	transition: border-color .2s, background-color .2s;
}
.extra input { position: absolute; opacity: 0; pointer-events: none; }
.extra__box { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid var(--line); border-radius: 4px; color: transparent; }
.extra__name { font-weight: 600; }
.extra__price { color: var(--muted); font-size: var(--fs-sm); white-space: nowrap; }
.extra:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); }
.extra input:checked + .extra__box { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.extra input:focus-visible + .extra__box { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- Journal ---------- */

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.post-card__media { display: block; aspect-ratio: 5 / 3; overflow: hidden; background: #e7e4dc; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 24px; }
.post-card__meta { margin: 0; color: var(--gold-dark); font-size: var(--fs-xs); font-weight: 600; }
.post-card__title { font-size: 21px; }
.post-card__title a { text-decoration: none; }
.post-card__title a:hover { color: var(--gold-dark); }
.post-card__text { color: var(--muted); font-size: 15px; }
.post-card .text-link { margin-top: auto; }

.article-head { padding-block: 32px clamp(40px, 5vw, 64px); }
.article-head__title { font-size: clamp(32px, 2.6vw + 14px, 52px); }
.article-head__meta { margin-top: 16px; color: var(--muted-dark); font-size: var(--fs-sm); }
.article-media { margin-top: clamp(-40px, -3vw, -24px); }
.article-media img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; }

/* 404 */
.not-found { padding-block: clamp(80px, 12vw, 160px); text-align: center; }
.not-found__inner { display: grid; justify-items: center; gap: 16px; }
.not-found__code { margin: 0; color: var(--gold); font-size: clamp(88px, 12vw, 160px); font-weight: 700; line-height: 1; }
.not-found .btn-row { margin-top: 12px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: var(--muted-dark); border-top: 1px solid var(--line-dark); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 40px; padding-block: 72px 48px; }
.site-footer__brand img { width: 96px; height: auto; margin-bottom: 20px; }
.site-footer__brand p { color: var(--white); font-size: 15px; }
.site-footer__contact { display: grid; gap: 10px; margin-top: 20px; font-size: var(--fs-sm); }
.site-footer__contact a, .site-footer__address { display: inline-flex; align-items: flex-start; gap: 10px; text-decoration: none; }
.site-footer__contact a:hover, .site-footer__col a:hover { color: var(--gold); }
.site-footer__contact .icon { color: var(--gold); margin-top: 2px; }
.site-footer__title { margin-bottom: 16px; color: var(--gold); font-size: 15px; font-weight: 700; }
.site-footer__col li + li { margin-top: 10px; }
.site-footer__col a { font-size: var(--fs-sm); text-decoration: none; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 24px; border-top: 1px solid var(--line-dark); font-size: var(--fs-xs); }
.site-footer__bottom p { margin: 0; }
.site-footer .lang-switch { font-size: var(--fs-xs); color: var(--muted-dark); }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-dark); border-radius: 50%; color: var(--white); }
.socials a:hover { border-color: var(--gold); color: var(--gold); }

.wa-float {
	position: fixed; inset-inline-end: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 40;
	display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
	background: var(--green); color: var(--white); box-shadow: 0 8px 24px rgb(0 0 0 / 25%);
	transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }

/* ---------- Responsive ---------- */

@media (max-width: 1200px) {
	.search-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.search-bar .btn { grid-column: 1 / -1; }
	.fleet { grid-template-columns: 260px minmax(0, 1fr); gap: 24px; }
	.car-grid--3, .post-grid, .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.feature-grid--4, .tile-grid--4, .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.spec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.key-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
	.site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.site-footer__brand { grid-column: 1 / -1; }
	.car-top__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
}

@media (max-width: 960px) {
	.trust-bar__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
	.split, .about-split, .faq-split, .faq-page, .contact-grid, .service-detail, .car-top__grid, .location-panel { grid-template-columns: minmax(0, 1fr); }
	.faq-page__aside, .service-detail__aside { position: static; }
	.feature-grid--3, .plan-grid, .tile-grid--3, .feature-groups { grid-template-columns: minmax(0, 1fr); }
	.feature-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.check-list--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tile--tall { min-height: 320px; }
	.stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.service-facts { grid-template-columns: minmax(0, 1fr); }

	/* Filters become a drawer */
	.fleet { grid-template-columns: minmax(0, 1fr); }
	.fleet__filter-toggle { display: inline-flex; }
	.fleet__filters {
		position: fixed; inset-block: 0; inset-inline-start: 0; z-index: 90; width: min(380px, 92vw); max-height: none; border-radius: 0;
		overflow-y: auto; background: var(--white); transform: translateX(-105%); transition: transform .3s var(--ease);
		visibility: hidden;
	}
	[dir="rtl"] .fleet__filters { transform: translateX(105%); }
	.fleet__filters.is-open { transform: none; visibility: visible; }
	.fleet__filters .filters { border: 0; border-radius: 0; min-height: 100%; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
	.filters__close { display: inline-grid; }
	.filters__actions { position: sticky; bottom: 0; background: var(--white); padding-bottom: 8px; }

	.car-top__grid { gap: 28px; }
	.booking { grid-template-columns: minmax(0, 1fr); }
	.booking__summary { position: static; }
	.site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
}

@media (max-width: 720px) {
	/* On phones the photo sits behind the text, so fade top to bottom instead of side to side. */
	.hero::before, .page-hero::before, [dir="rtl"] .hero::before, [dir="rtl"] .page-hero::before {
		background: linear-gradient(180deg, rgb(19 23 19 / 55%) 0%, rgb(19 23 19 / 82%) 45%, rgb(19 23 19 / 96%) 100%);
	}
	.hero__bg, .page-hero__bg, [dir="rtl"] .hero__bg, [dir="rtl"] .page-hero__bg { object-position: center 30%; }
	.hero__inner { padding-top: 48px; }
	.section-head-row { flex-direction: column; align-items: flex-start; }
	.search-bar { grid-template-columns: minmax(0, 1fr); padding: 20px; margin-top: 36px; }
	.hero .btn-row .btn, .page-hero .btn-row .btn, .cta-panel .btn-row .btn { flex: 1 1 100%; }
	.trust-bar__list { grid-template-columns: minmax(0, 1fr); }
	.car-grid--3, .post-grid, .service-grid, .grid-2, .feature-grid--4, .feature-grid--3, .brand-grid { grid-template-columns: minmax(0, 1fr); }
	.spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.spec { padding: 14px 16px; grid-template-columns: 40px 1fr; }
	.spec__icon { width: 40px; height: 40px; }
	.spec dd { font-size: 16px; }
	.key-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.check-list--cols { grid-template-columns: minmax(0, 1fr); }
	.form-grid { grid-template-columns: minmax(0, 1fr); }
	.form .btn[type="submit"] { justify-self: stretch; }
	.fleet__toolbar { flex-wrap: wrap; }
	.fleet__tools { width: 100%; }
	.fleet__tools .select-label { flex: 1; }
	.select-label select { min-width: 0; }
	.trip-banner { flex-wrap: wrap; }
	.chips--scroll, .fleet__results .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; scroll-snap-type: x proximity; }
	.chips--scroll::-webkit-scrollbar, .fleet__results .chips::-webkit-scrollbar { display: none; }
	.chip { scroll-snap-align: start; }
	.scroll-row.tile-grid, .scroll-row.brand-grid { display: flex; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 14px; }
	.scroll-row.tile-grid::-webkit-scrollbar, .scroll-row.brand-grid::-webkit-scrollbar { display: none; }
	.scroll-row .tile { flex: 0 0 78%; min-height: 300px; scroll-snap-align: start; }
	.scroll-row .brand-card { flex: 0 0 78%; scroll-snap-align: start; }
	.car-top__nav { flex-wrap: wrap; }
	.gallery__thumbs { display: flex; overflow-x: auto; scrollbar-width: none; gap: 8px; }
	.gallery__thumb { flex: 0 0 26%; }
	.book-panel__price { font-size: 30px; }
	.book-panel__dates { grid-template-columns: minmax(0, 1fr); }
	.rate-tabs strong { font-size: 14px; }
	.steps__label { display: none; }
	.steps__item.is-current .steps__label { display: inline; }
	.steps { grid-template-columns: auto auto auto auto; justify-content: start; gap: 6px; }
	.steps__item { padding-inline-end: 8px; }
	.booking__legend { font-size: 22px; }
	.booking__nav .btn { flex: 1; }
	.extra { grid-template-columns: 24px 1fr; }
	.extra__price { grid-column: 2; }
	.stats__grid { padding-block: 36px; gap: 24px; }
	.map-band iframe { height: 320px; }
	.site-footer__grid { grid-template-columns: minmax(0, 1fr); padding-block: 56px 32px; }
	.site-footer__bottom { flex-direction: column; align-items: flex-start; padding-bottom: calc(24px + 72px); }
	.lightbox__stage { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
	.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; }
	.lightbox__nav--prev { inset-inline-start: 8px; }
	.lightbox__nav--next { inset-inline-end: 8px; }

	/* Sticky booking bar on car pages; the floating WhatsApp button makes room for it. */
	.single-car .sticky-book {
		position: fixed; inset-inline: 0; bottom: 0; z-index: 45;
		display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px;
		padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
		background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgb(19 23 19 / 8%);
		transform: translateY(110%); transition: transform .3s var(--ease);
	}
	.single-car .sticky-book.is-visible { transform: none; }
	.sticky-book__price { display: grid; line-height: 1.2; min-width: 0; }
	.sticky-book__price strong { font-size: 18px; }
	.sticky-book__price span { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.sticky-book .btn { min-height: 48px; }
	.sticky-book .btn-gold { padding-inline: 16px; }
	.single-car .wa-float { display: none; }
	.single-car .site-footer { padding-bottom: 80px; }
	.key-facts strong { font-size: 13px; }
}

@media (max-width: 359px) {
	.car-card__actions, .service-card__actions { grid-template-columns: minmax(0, 1fr); }
	.brand__tag { display: none; }
	.spec-grid, .key-facts { grid-template-columns: minmax(0, 1fr); }
	.phone-input { grid-template-columns: minmax(0, 1fr); }
}

@media print {
	.site-header, .site-footer, .wa-float, .sticky-book, .mobile-menu, .lightbox { display: none !important; }
}
