/* DriveMe — public site. Logical properties everywhere so Arabic (RTL) mirrors for free. */
:root {
  --ink: #12161c;
  --ink-2: #1d232c;
  --ink-3: #2a313c;
  --paper: #f7f3ec;
  --sand: #efe6d6;
  --sand-2: #e4d7c1;
  --card: #ffffff;
  --line: #e6ddcd;
  --text: #1b1f25;
  --muted: #6b6559;
  --accent: #d4502a;
  --accent-ink: #b23f1d;
  --accent-soft: #fbe5dc;
  --green: #1f6f5c;
  --wa: #1fa855;
  --gold: #e8a33d;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgb(18 22 28 / .05), 0 10px 30px -12px rgb(18 22 28 / .18);
  --shadow-lg: 0 30px 60px -25px rgb(18 22 28 / .35);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
}
.lang-ar { --font: "IBM Plex Sans Arabic", system-ui, sans-serif; --display: "IBM Plex Sans Arabic", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
.lang-ar h1, .lang-ar h2, .lang-ar h3 { letter-spacing: 0; line-height: 1.3; font-weight: 700; }
h2 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.5rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.i { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.tiny { font-size: .8rem; }
.hidden, [hidden] { display: none !important; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
bdi { unicode-bidi: isolate; direction: ltr; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.3em; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.1; transition: transform .15s ease, background .2s, box-shadow .2s, color .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: .6em 1.05em; font-size: .92rem; }
.btn-lg { padding: 1em 1.6em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: var(--on-accent, #fff); box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-accent:hover { background: var(--accent-ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { filter: brightness(.95); }
.btn-danger { color: #b3261e; border-color: #f0c6c1; }
.link-arrow, .small-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; color: var(--accent-ink); }
.small-link { font-size: .9rem; }
.link-arrow:hover, .small-link:hover { text-decoration: underline; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; font-weight: 600; color: var(--muted); }
.inline { display: inline; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(247 243 236 / .88); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: "Bricolage Grotesque", var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: var(--paper); display: grid; place-items: center; }
.brand-mark svg { width: 26px; height: 26px; }
.brand-mark svg circle { fill: var(--accent); }
.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--ink-3); }
.main-nav a:hover { background: var(--sand); }
.main-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.nav-mobile-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-link { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); text-decoration: none; }
.icon-link:hover { border-color: var(--ink); }
.lang-switch { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; cursor: pointer; font-weight: 700; }
.lang-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); background: var(--card); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: 6px; min-width: 160px; }
.lang-menu a { display: block; padding: 9px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.lang-menu a:hover { background: var(--sand); }
.lang-menu a[aria-current="true"] { color: var(--accent-ink); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; inset-inline-start: 13px; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, top .25s; }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Flash / crumbs / notices ---------- */
.flashes { display: grid; gap: 8px; padding-top: 16px; }
.flash { padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 600; border: 1px solid; }
.flash-success { background: #e6f4ee; border-color: #b9e0cd; color: #155b45; }
.flash-error { background: #fdebe7; border-color: #f4c2b5; color: #8d2b14; }
.flash-info { background: #eef1f6; border-color: #d4dbe7; color: #2b3a55; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; padding-block: 16px 0; font-size: .88rem; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-inline-start: 6px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.notice { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; background: var(--sand); border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 20px; }
.notice-warn { background: #fff3dc; }
.empty { text-align: center; background: var(--card); border: 1px dashed var(--sand-2); border-radius: var(--radius); padding: 48px 20px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #f4efe6; padding: clamp(40px, 6vw, 80px) 0 32px; overflow: hidden; isolation: isolate; }
.hero-pattern { position: absolute; inset: 0; z-index: -1; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M32 4l7 14 14-7-7 14 14 7-14 7 7 14-14-7-7 14-7-14-14 7 7-14-14-7 14-7-7-14 14 7z' fill='none' stroke='%23fff' stroke-width='1.2'/%3E%3C/svg%3E"); background-size: 64px; mask-image: linear-gradient(to bottom, #000 30%, transparent 95%); }
.hero-copy { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.lang-ar .eyebrow { letter-spacing: 0; font-size: .95rem; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }
.hero-title { font-size: clamp(2.4rem, 1.2rem + 5vw, 4.6rem); line-height: 1; letter-spacing: -.035em; margin-bottom: 20px; }
.lang-ar .hero-title { line-height: 1.2; letter-spacing: 0; font-size: clamp(2.1rem, 1.2rem + 4vw, 3.8rem); }
.hero-title em { font-style: normal; color: var(--accent); position: relative; white-space: nowrap; }
.hero-lead { font-size: clamp(1.02rem, .95rem + .4vw, 1.2rem); color: #c9c2b6; max-width: 54ch; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; font-weight: 600; color: #e9e2d6; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .i { color: var(--gold); }
.hero-visual { position: relative; min-height: 300px; display: grid; place-items: center; }
.hero-visual img { position: relative; width: 112%; max-width: none; margin-inline-start: -6%; filter: drop-shadow(0 30px 30px rgb(0 0 0 / .45)); }
[dir="rtl"] .hero-visual img { transform: scaleX(-1); }
.sun { position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 50%, var(--accent) 0, var(--accent-ink) 55%, transparent 56%); opacity: .95; top: -2%; }
.sun::after { content: ""; position: absolute; inset: 52% -30% -10%; background: var(--ink); }
.hero-price { position: absolute; inset-inline-end: 4%; top: 6%; background: var(--paper); color: var(--ink); border-radius: 16px; padding: 10px 16px; display: grid; line-height: 1.2; box-shadow: var(--shadow-lg); transform: rotate(-3deg); }
.hero-price span { font-size: .8rem; color: var(--muted); }
.hero-price strong { font-family: var(--display); font-size: 1.6rem; }
.hero-search { margin-top: 28px; position: relative; z-index: 2; }
.hero-stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .1); }
.hero-stats div { display: grid; }
.hero-stats strong { font-family: var(--display); font-size: clamp(1.4rem, 1rem + 1.5vw, 2rem); color: #fff; }
.hero-stats span { color: #a9a296; font-size: .9rem; }

/* ---------- Search card ---------- */
.search-card { display: grid; grid-template-columns: 1fr 1.25fr 1.25fr auto; gap: 10px; background: var(--card); color: var(--text); padding: 10px; border-radius: 22px; box-shadow: var(--shadow-lg); align-items: end; }
.search-card .field { background: var(--paper); border-radius: 14px; padding: 10px 14px 8px; }
.search-card label { display: flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.lang-ar .search-card label { text-transform: none; letter-spacing: 0; font-size: .85rem; }
.search-card select, .search-card input { border: 0; background: transparent; padding: 4px 0; width: 100%; font-weight: 600; min-width: 0; }
.search-card select:focus, .search-card input:focus { outline: none; }
.search-card .field:focus-within { box-shadow: inset 0 0 0 2px var(--accent); }
.dt { display: flex; gap: 6px; }
.dt input[type="time"] { width: 104px; flex: none; }
.dt input[type="date"] { flex: 1; min-width: 0; }
.search-go { height: 100%; min-height: 62px; border-radius: 16px; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 7vw, 100px); }
.section-tight { padding-block: clamp(28px, 4vw, 48px); }
.section-tint { background: var(--sand); }
.section-dark { background: var(--ink); color: #efe8dc; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head.center { justify-content: center; text-align: center; }
.section-head h2 { margin: 0; max-width: 22ch; }
.kicker { font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 10px; }
.lang-ar .kicker { letter-spacing: 0; font-size: .95rem; }
.kicker-light { color: var(--gold); }
.muted-light { color: #b8b0a3; }
.page-head { padding-block: clamp(28px, 4vw, 48px) 8px; }
.page-head h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.2rem); }
.page-head .search-card { margin-top: 18px; }
.page-head-dark { position: relative; background: var(--ink); color: #f4efe6; padding-bottom: 36px; overflow: hidden; isolation: isolate; }
.h-page { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
.h-small { font-size: 1.2rem; }

/* ---------- Categories ---------- */
.cat-rail { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.cat-tile { position: relative; display: grid; gap: 6px; padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; min-height: 150px; align-content: end; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--sand-2); }
.cat-num { position: absolute; top: 18px; inset-inline-start: 22px; font-family: "Bricolage Grotesque", var(--display); font-weight: 800; color: var(--sand-2); font-size: 1.8rem; }
.cat-name { font-family: var(--display); font-weight: 800; font-size: 1.25rem; }
.cat-meta { font-size: .85rem; color: var(--muted); }
.cat-arrow { position: absolute; top: 22px; inset-inline-end: 22px; color: var(--accent); transition: transform .2s; }
.cat-tile:hover .cat-arrow { transform: translateX(4px); }
[dir="rtl"] .cat-tile:hover .cat-arrow { transform: scaleX(-1) translateX(4px); }

/* ---------- Car cards ---------- */
.car-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.car-grid-2 { grid-template-columns: repeat(2, 1fr); }
.car-card { background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.car-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.car-card-media { position: relative; display: block; background: linear-gradient(160deg, #f3ece0, #e7dcc9); aspect-ratio: 16 / 10; overflow: hidden; }
.car-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.car-card:hover .car-card-media img { transform: scale(1.04); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--sand); font-size: .78rem; font-weight: 700; text-decoration: none; color: var(--ink-3); }
.chip-float { position: absolute; top: 12px; inset-inline-start: 12px; background: rgb(255 255 255 / .9); }
.chip-busy { position: absolute; top: 12px; inset-inline-end: 12px; background: var(--ink); color: #fff; }
.car-card.is-busy .car-card-media img { filter: grayscale(.8); opacity: .7; }
.car-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.car-card-title { margin: 0; font-size: 1.2rem; }
.car-card-title a { text-decoration: none; }
.car-card-title a::after { content: ""; position: absolute; inset: 0; }
.car-card { position: relative; }
.car-card .btn, .car-card .chip { position: relative; z-index: 1; }
.car-card-title .muted { font-weight: 600; font-size: .9rem; font-family: var(--font); }
.specs { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: .88rem; font-weight: 600; }
.specs li { display: inline-flex; align-items: center; gap: 5px; }
.car-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); }
.price { margin: 0; display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.price-from { font-size: .78rem; color: var(--muted); }
.price strong { font-family: var(--display); font-size: 1.35rem; }
.price-unit { color: var(--muted); font-size: .85rem; }

/* ---------- Steps / why ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.step-n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-ink); font-family: var(--display); font-weight: 800; font-size: 1.3rem; margin-bottom: 18px; }
.step p { color: var(--muted); margin: 0; }
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.why-intro { position: sticky; top: 110px; }
.why-intro h2 { color: #fff; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.why-list li { display: flex; gap: 14px; padding: 20px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--ink-3); }
.why-list h3 { color: #fff; margin-bottom: 4px; font-size: 1.05rem; }
.why-list p { color: #aaa293; margin: 0; font-size: .93rem; }
.why-ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgb(232 163 61 / .12); color: var(--gold); }
.why-ic .i { width: 22px; height: 22px; }

/* ---------- Cities ---------- */
.city-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.city-tile { position: relative; display: flex; align-items: end; min-height: 170px; padding: 22px; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; isolation: isolate; transition: transform .25s; }
.city-tile:hover { transform: translateY(-3px); }
.city-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.city-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(18 22 28 / .75), rgb(18 22 28 / .05)); }
.city-tone-0 { background: #c4532f; } .city-tone-1 { background: #a8452c; } .city-tone-2 { background: #1f6f5c; }
.city-tone-3 { background: #2e5b7a; } .city-tone-4 { background: #c18a2e; } .city-tone-5 { background: #5c3d6b; }
.city-tone-0::after, .city-tone-1::after, .city-tone-2::after, .city-tone-3::after, .city-tone-4::after, .city-tone-5::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M24 2l5 10 10-5-5 10 10 5-10 5 5 10-10-5-5 10-5-10-10 5 5-10-10-5 10-5-5-10 10 5z' fill='none' stroke='%23fff' stroke-width='1.2'/%3E%3C/svg%3E"); }
.city-label { display: grid; }
.city-label small { opacity: .85; font-weight: 600; }
.city-label strong { font-family: var(--display); font-size: 1.7rem; line-height: 1.1; }
.city-arrow { position: absolute; top: 20px; inset-inline-end: 20px; width: 24px; height: 24px; }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { margin: 0; background: var(--card); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; align-content: start; }
.review blockquote { margin: 0; font-size: 1.02rem; }
.review figcaption { color: var(--muted); font-size: .9rem; }
.stars { display: flex; gap: 2px; color: var(--sand-2); }
.stars .on { color: var(--gold); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { padding: 0 20px 18px; margin: 0; color: var(--muted); }
.faq-plus { position: relative; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--sand); }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; inset: 50% 6px auto; height: 2px; margin-top: -1px; background: var(--ink); transition: transform .2s; }
.faq-plus::after { transform: rotate(90deg); }
.faq[open] .faq-plus::after { transform: rotate(0); }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.post-card-media { aspect-ratio: 16 / 9; background: var(--sand-2); display: block; overflow: hidden; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.post-ph { display: grid; place-items: center; height: 100%; color: var(--accent); background: linear-gradient(135deg, var(--sand), var(--sand-2)); }
.post-ph .i { width: 48px; height: 48px; opacity: .6; }
.post-card-body { padding: 20px; }
.post-card-body time { font-size: .82rem; color: var(--muted); font-weight: 600; }
.post-card-body h3 { margin: 6px 0 8px; font-size: 1.15rem; }
.post-card-body h3 a { text-decoration: none; }
.post-card-body h3 a:hover { text-decoration: underline; }
.post-card-body p { color: var(--muted); font-size: .94rem; margin: 0; }
.post-head { padding-block: 8px 20px; }
.post-head h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.3rem); }
.post-head time { color: var(--muted); font-weight: 600; }
.lead { font-size: 1.15rem; color: var(--muted); }
.post-cover img { border-radius: var(--radius); width: 100%; aspect-ratio: 1200/630; object-fit: cover; }
.post-body { padding-block: 28px; }
.post-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.post-cta h2 { font-size: 1.3rem; margin: 0 0 4px; }
.post-cta p { margin: 0; }
.prose { font-size: 1.05rem; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { list-style: disc; padding-inline-start: 1.3em; margin-bottom: 1em; }
.prose ol { list-style: decimal; padding-inline-start: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .35em; }
.prose a { color: var(--accent-ink); }
.prose img { border-radius: var(--radius-sm); }
.prose ul.checks { list-style: none; padding: 0; }
.checks { display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .i { color: var(--green); margin-top: .2em; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 32px; }
.pager a, .pager span { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--card); border: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.pager span { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Cars listing ---------- */
.cars-layout { display: grid; grid-template-columns: 270px 1fr; gap: 28px; align-items: start; }
.filters { position: sticky; top: 92px; }
.filter-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 18px; }
.filter-head { display: flex; justify-content: space-between; align-items: center; }
.filter-head h2 { font-size: 1.05rem; margin: 0; display: flex; align-items: center; gap: 8px; }
.filter-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.filter-form legend { font-weight: 700; font-size: .85rem; margin-bottom: 6px; color: var(--muted); }
.filter-form select { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); }
.radio { display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 600; font-size: .94rem; }
.radio input, .check input { accent-color: var(--accent); width: 18px; height: 18px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--paper); border-radius: 10px; padding: 3px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 7px 4px; border-radius: 8px; font-size: .82rem; font-weight: 700; }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--accent); }
.seo-text { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); }
.seo-text h2 { font-size: 1.3rem; color: var(--text); }

/* ---------- Car page ---------- */
.car-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.car-main { margin: 0; border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, #f3ece0, #e7dcc9); aspect-ratio: 16 / 10; }
.car-main img { width: 100%; height: 100%; object-fit: cover; }
.car-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.car-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; width: 96px; flex: none; background: var(--sand); }
.car-thumbs button[aria-current="true"] { border-color: var(--accent); }
.car-gallery { position: sticky; top: 92px; }
.car-title { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.7rem); margin-top: 12px; }
.car-title .muted { font-size: .55em; font-family: var(--font); font-weight: 600; }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0; }
.spec-grid li { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-weight: 600; font-size: .9rem; }
.spec-grid .i { color: var(--accent); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.tier { background: var(--ink); color: #fff; border-radius: 14px; padding: 12px 14px; display: grid; line-height: 1.25; }
.tier span { font-size: .78rem; color: #b8b0a3; }
.tier strong { font-family: var(--display); font-size: 1.25rem; }
.tier small { color: #b8b0a3; }
.book-box { margin-top: 18px; background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); display: grid; gap: 14px; }
.book-box-title { font-size: 1.25rem; margin: 0; }
.book-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .88rem; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 13px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); min-width: 0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.field input:disabled { opacity: .6; }

.extras { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.extras legend { font-weight: 700; font-size: .88rem; margin-bottom: 6px; }
.extra { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); cursor: pointer; font-weight: 600; font-size: .92rem; }
.extra:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.extra input { accent-color: var(--accent); width: 18px; height: 18px; }
.extra-price { margin-inline-start: auto; color: var(--muted); white-space: nowrap; }
.quote { background: var(--paper); border-radius: 14px; padding: 14px 16px; }
.quote-hint { margin: 0; color: var(--muted); font-size: .92rem; }
.quote-lines { display: grid; gap: 6px; font-size: .94rem; }
.quote-lines li { display: flex; justify-content: space-between; gap: 12px; }
.quote-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; justify-content: space-between; border-top: 1px dashed var(--sand-2); padding-top: 10px; margin-top: 10px; font-weight: 700; }
.quote-total strong { font-family: var(--display); font-size: 1.6rem; }
.quote-total small { width: 100%; text-align: end; color: var(--muted); font-weight: 600; }
.quote-error { color: #a42c12; font-weight: 700; margin: 8px 0 0; }
.car-details { margin-top: 40px; max-width: 860px; }

/* ---------- Booking ---------- */
.progress { display: flex; gap: 8px; margin-bottom: 18px; counter-reset: p; flex-wrap: wrap; }
.progress li { counter-increment: p; display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--muted); font-size: .9rem; }
.progress li::before { content: counter(p); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); font-size: .85rem; }
.progress li:not(:last-child)::after { content: ""; width: 28px; height: 2px; background: var(--sand-2); }
.progress .done::before { content: "✓"; background: var(--green); color: #fff; }
.progress .current { color: var(--text); }
.progress .current::before { background: var(--accent); color: var(--on-accent, #fff); }
.booking-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; }
.card { background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); padding: clamp(18px, 3vw, 28px); }
.card-title { font-size: 1.2rem; display: flex; align-items: center; gap: 8px; }
.card-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.form-card { display: grid; gap: 16px; align-content: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.span-2 { grid-column: span 2; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: .94rem; }
.check input { margin-top: 3px; flex: none; }
.account-opt { background: var(--paper); border-radius: 14px; padding: 14px 16px; display: grid; gap: 10px; }
.account-opt p { margin: 0; }
.summary { position: sticky; top: 92px; display: grid; gap: 14px; }
.summary-img { border-radius: 12px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; background: var(--sand); }
.summary .card-title { margin: 0; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; font-size: .94rem; }
.kv dt { color: var(--muted); font-weight: 600; }
.kv dd { margin: 0; }
.kv-wide { margin: 20px 0; text-align: start; padding: 18px; background: var(--paper); border-radius: 14px; }
.done-card { text-align: center; display: grid; justify-items: center; gap: 6px; }
.done-ic { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: #dff1e8; color: var(--green); margin-bottom: 10px; }
.done-ic .i { width: 36px; height: 36px; }
.ref { font-size: 1.1rem; }
.ref strong { font-family: var(--display); letter-spacing: .08em; background: var(--sand); padding: 4px 10px; border-radius: 8px; }
.done-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }

/* ---------- Badges ---------- */
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.badge-pending { background: #fff1d6; color: #8a5a00; }
.badge-confirmed { background: #dfeefe; color: #1d4f91; }
.badge-active { background: #e0f2ea; color: #166048; }
.badge-completed { background: #ececec; color: #444; }
.badge-cancelled { background: #fde4df; color: #9c2a12; }

/* ---------- Account ---------- */
.auth-section { background: radial-gradient(ellipse at top, var(--sand), var(--paper) 60%); }
.auth-wrap { display: grid; place-items: center; }
.auth-card { width: 100%; max-width: 460px; box-shadow: var(--shadow); }
.account-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.account-head .kicker { margin-bottom: 4px; }
.account-head h1 { margin: 0; }
.tabs { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.tabs a { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 700; background: var(--card); border: 1px solid var(--line); }
.tabs a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tabs .link-btn { padding: 8px 10px; }
.booking-list { display: grid; gap: 12px; }
.booking-item { display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; align-items: center; padding: 14px; }
.booking-item img { border-radius: 10px; aspect-ratio: 16/10; object-fit: cover; background: var(--sand); }
.booking-item h2 { font-size: 1.1rem; margin: 0 0 4px; }
.booking-item h2 a { text-decoration: none; }
.booking-item p { margin: 0; }
.booking-item-side { display: grid; justify-items: end; gap: 4px; }
.booking-item-side strong { font-family: var(--display); font-size: 1.2rem; }
.profile-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.rating-input { border: 0; padding: 0; margin: 0; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rating-input legend { font-weight: 700; font-size: .88rem; margin-bottom: 6px; }
.rating-input input { position: absolute; opacity: 0; }
.rating-input label { cursor: pointer; color: var(--sand-2); }
.rating-input label .i { width: 30px; height: 30px; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: var(--gold); }

/* ---------- City / contact ---------- */
.city-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.loc-list { display: grid; }
.loc-list li { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.loc-list li:last-child { border-bottom: 0; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-block; padding: 9px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.pill:hover { border-color: var(--ink); }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.contact-side { display: grid; gap: 10px; }
.contact-tile { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; text-decoration: none; font-weight: 700; }
.contact-tile > .i { width: 24px; height: 24px; color: var(--accent); }
.contact-tile span { display: grid; }
.contact-tile small { color: var(--muted); font-weight: 600; }
.tile-wa { background: #e6f6ec; border-color: #c4e8d1; }
.tile-wa > .i { color: var(--wa); }
.big-code { font-family: var(--display); font-weight: 800; font-size: clamp(5rem, 3rem + 10vw, 10rem); line-height: 1; color: var(--sand-2); margin: 0; }

/* ---------- CTA + footer ---------- */
.cta-band { background: var(--accent); color: var(--on-accent, #fff); padding-block: clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: inherit; margin-bottom: 6px; }
.cta-band p { margin: 0; opacity: .9; max-width: 52ch; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-band .btn-accent { background: var(--ink); box-shadow: none; }
.cta-band .btn-accent:hover { background: #000; }
.site-footer { background: var(--ink); color: #b8b0a3; padding-top: 64px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.brand-light { color: #fff; margin-bottom: 12px; }
.footer-h { color: #fff; font-size: 1rem; margin-bottom: 14px; font-family: var(--font); letter-spacing: 0; }
.footer-links { display: grid; gap: 8px; }
.footer-links a, .footer-contact a { text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact { display: grid; gap: 10px; margin-top: 16px; }
.footer-contact li, .footer-contact a { display: inline-flex; align-items: center; gap: 10px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--ink-3); margin-top: 48px; padding-block: 22px; font-size: .86rem; }
.footer-bottom p { margin: 0; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--ink-3); }
.footer-social a:hover { color: #fff; border-color: #fff; }
.wa-float { position: fixed; inset-inline-end: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgb(31 168 85 / .7); z-index: 40; transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float .i { width: 30px; height: 30px; }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .search-card { grid-template-columns: 1fr 1fr; }
  .search-card .field-loc { grid-column: span 2; }
  .search-go { grid-column: span 2; min-height: 54px; }
  .car-grid, .post-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-grid, .faq-wrap { grid-template-columns: 1fr; }
  .why-intro { position: static; }
}
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .hide-sm { display: none !important; }
  .main-nav { position: fixed; inset: 72px 0 auto; background: var(--paper); padding: 16px var(--gutter) 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(-120%); transition: transform .3s ease; visibility: hidden; margin: 0; }
  .main-nav.is-open { transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: 12px 14px; font-size: 1.05rem; }
  .nav-mobile-extra { display: flex; gap: 8px; margin-top: 12px; }
  .header-actions { margin-inline-start: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 200px; order: -1; overflow: hidden; max-width: 520px; margin-inline: auto; width: 100%; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .cars-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .filter-form { grid-template-columns: 1fr 1fr; }
  .filter-head, .filter-form fieldset:first-of-type { grid-column: span 2; }
  .car-top, .booking-grid, .city-body, .contact-grid, .profile-grid { grid-template-columns: 1fr; }
  .car-gallery, .summary { position: static; }
  .city-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .search-card { grid-template-columns: 1fr; }
  .search-card .field-loc, .search-go { grid-column: auto; }
  .car-grid, .car-grid-2, .post-grid, .review-grid, .why-list { grid-template-columns: 1fr; }
  .city-grid { grid-template-columns: 1fr 1fr; }
  .city-tile { min-height: 130px; padding: 16px; }
  .city-label strong { font-size: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid, .book-row { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: 1fr 1fr 1fr; }
  .tier strong { font-size: 1rem; }
  .booking-item { grid-template-columns: 84px 1fr; }
  .booking-item-side { grid-column: span 2; justify-items: start; grid-auto-flow: column; justify-content: space-between; }
  .filter-form { grid-template-columns: 1fr; }
  .filter-head, .filter-form fieldset:first-of-type { grid-column: auto; }
  .hero-price { transform: none; padding: 8px 12px; }
  .hero-price strong { font-size: 1.2rem; }
  .brand-name { font-size: 1.15rem; }
}

/* ---------- Flags & language switcher ---------- */
.flag { width: 24px; height: 16px; flex: none; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgb(18 22 28 / .12); display: inline-block; vertical-align: middle; }
.lang-btn { gap: 8px; padding: 0 10px 0 12px; }
.lang-btn .lang-code { font-size: .86rem; letter-spacing: .02em; }
.lang-caret { width: 14px; height: 14px; transform: rotate(90deg); opacity: .6; transition: transform .2s; }
.lang-btn[aria-expanded="true"] .lang-caret { transform: rotate(-90deg); }
.lang-menu { min-width: 190px; }
.lang-menu a { display: flex; align-items: center; gap: 12px; }
.lang-menu a .flag { width: 28px; height: 19px; }
.lang-menu a[aria-current="true"] { background: var(--sand); color: var(--text); }
.lang-tick { margin-inline-start: auto; width: 16px; height: 16px; color: var(--green); }

/* ---------- Uploaded logo ---------- */
.brand-logo { height: 44px; width: auto; max-width: 190px; object-fit: contain; display: block; }
.site-footer .brand-logo { height: 48px; max-width: 220px; }
@media (max-width: 640px) {
  .brand-logo { height: 36px; max-width: 140px; }
  .lang-btn .lang-code { display: none; }
}

/* ---------- Hero slider ---------- */
.hero-slider { position: relative; padding: 0 0 32px; min-height: clamp(620px, 92vh, 860px); display: flex; flex-direction: column; justify-content: flex-end; background: var(--ink); }
.hero-slider .slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-slider .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-slider .slide.is-active { opacity: 1; }
.hero-slider .slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14) translate3d(0, 0, 0); transition: transform 8s cubic-bezier(.2, .6, .3, 1); will-change: transform; }
.hero-slider .slide.is-active img { transform: scale(1.02) translate3d(0, 0, 0); }
.hero-slider .slide:nth-child(2n).is-active img { transform: scale(1.02) translate3d(-1.5%, 0, 0); }
.hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to right, rgb(18 22 28 / .88) 0%, rgb(18 22 28 / .55) 45%, rgb(18 22 28 / .08) 75%),
    linear-gradient(to top, rgb(18 22 28 / .95) 0%, rgb(18 22 28 / .2) 38%, rgb(18 22 28 / 0) 60%),
    linear-gradient(to bottom, rgb(18 22 28 / .45), transparent 22%); }
[dir="rtl"] .hero-shade {
  background:
    linear-gradient(to left, rgb(18 22 28 / .88) 0%, rgb(18 22 28 / .55) 45%, rgb(18 22 28 / .08) 75%),
    linear-gradient(to top, rgb(18 22 28 / .95) 0%, rgb(18 22 28 / .2) 38%, rgb(18 22 28 / 0) 60%),
    linear-gradient(to bottom, rgb(18 22 28 / .45), transparent 22%); }
.hero-slider-body { position: relative; z-index: 2; padding-top: clamp(64px, 12vh, 140px); }
.slide-texts { display: grid; max-width: 680px; }
.slide-text { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity .6s ease, visibility 0s linear .6s; }
.slide-text.is-active { visibility: visible; opacity: 1; transition: opacity .6s ease .25s, visibility 0s; }
.slide-text > * { transform: translateY(18px); opacity: 0; transition: transform .8s cubic-bezier(.2, .7, .2, 1), opacity .8s ease; }
.slide-text.is-active > * { transform: none; opacity: 1; }
.slide-text.is-active > :nth-child(2) { transition-delay: .35s; }
.slide-text.is-active > :nth-child(3) { transition-delay: .5s; }
.slide-text.is-active > :nth-child(4) { transition-delay: .65s; }
.hero-slider .hero-title { text-shadow: 0 2px 30px rgb(0 0 0 / .35); }
.hero-slider .hero-lead { color: #e3ddd2; }
.slide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.slide-price { color: #e9e2d6; font-weight: 600; }
.slide-price strong { font-family: var(--display); font-size: 1.5rem; color: #fff; }
.slider-ui { display: flex; align-items: center; gap: 10px; margin-top: 30px; }
.slider-arrow, .slider-pause { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgb(255 255 255 / .35); background: rgb(18 22 28 / .3); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); transition: background .2s, border-color .2s; }
.slider-arrow:hover, .slider-pause:hover { background: rgb(255 255 255 / .15); border-color: #fff; }
.slider-dots { display: flex; gap: 6px; padding-inline: 6px; }
.slider-dots button { width: 34px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.slider-dots span { display: block; height: 4px; border-radius: 4px; background: rgb(255 255 255 / .3); overflow: hidden; position: relative; }
.slider-dots span::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
[dir="rtl"] .slider-dots span::after { transform-origin: right; }
.slider-dots button[aria-current="true"] span::after { animation: dm-progress var(--slide-ms, 6500ms) linear forwards; }
.hero-slider.is-paused .slider-dots button[aria-current="true"] span::after { animation-play-state: paused; }
@keyframes dm-progress { to { transform: scaleX(1); } }
.slider-pause span { width: 10px; height: 12px; border-inline: 3px solid #fff; }
.hero-slider.is-paused .slider-pause span { width: 0; height: 0; border-inline: 0; border-block: 7px solid transparent; border-inline-start: 11px solid #fff; margin-inline-start: 3px; }
.hero-slider .hero-trust { margin-top: 26px; }
.hero-slider .hero-search { margin-top: 34px; }
@media (max-width: 640px) {
  .hero-slider { min-height: 0; }
  .hero-slider-body { padding-top: 56px; }
  .hero-shade { background: linear-gradient(to top, rgb(18 22 28 / .96) 0%, rgb(18 22 28 / .7) 55%, rgb(18 22 28 / .35) 100%) !important; }
  .slider-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slider .slide img, .hero-slider .slide.is-active img { transform: none; }
  .slider-dots span::after { animation: none !important; }
}
.hero-title { font-family: var(--display); font-weight: 800; margin: 0 0 20px; }
.lang-ar .hero-title { font-weight: 700; }

/* ---------- Announcement bar (Admin → Appearance) ---------- */
.announce { background: var(--ann-bg); color: var(--ann-fg); font-weight: 700; font-size: .92rem; }
.announce-row { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 40px; position: relative; padding-inline-end: 44px; }
.announce a, .announce p { color: inherit; text-decoration: none; margin: 0; text-align: center; display: inline-flex; align-items: center; gap: 8px; padding-block: 8px; }
.announce a:hover { text-decoration: underline; }
.announce-close { position: absolute; inset-inline-end: var(--gutter); top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; display: grid; place-items: center; opacity: .8; }
.announce-close:hover { opacity: 1; background: color-mix(in srgb, currentColor 15%, transparent); }
.announce.is-hidden { display: none; }

/* ---------- Promo codes & seasons ---------- */
.promo-field { display: grid; gap: 6px; }
.promo-field label { font-weight: 700; font-size: .88rem; }
.promo-row { display: flex; gap: 8px; }
.promo-row input { flex: 1; min-width: 0; padding: 10px 13px; border-radius: 12px; border: 1.5px dashed var(--sand-2); background: var(--paper); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.promo-row input:focus { outline: none; border-color: var(--accent); border-style: solid; }
.promo-msg { margin: 0; font-size: .88rem; font-weight: 700; }
.promo-msg.is-ok { color: var(--green); }
.promo-msg.is-bad { color: #a42c12; }
.quote-lines li.is-minus span:last-child { color: var(--green); font-weight: 700; }
.season-note { display: grid; gap: 4px; margin: 6px 0 0; font-size: .86rem; color: var(--muted); }
.season-note li { display: flex; gap: 6px; align-items: center; }

/* ---------- Phone fixes (v1.4.1) ---------- */
/* Grid/flex children may shrink below their content width; without this, long rows pushed pages wider than phones. */
.car-top > *, .booking-grid > *, .cars-layout > *, .contact-grid > *, .city-body > *, .profile-grid > *, .faq-wrap > *,
.why-grid > *, .hero-grid > *, .footer-grid > *, .book-box > *, .book-row > *, .form-card > *, .form-grid > *,
.field > *, .search-card > *, .promo-field > *, .account-opt > * { min-width: 0; }
.promo-row .btn, .extra input { flex: none; }
.slider-dots button { height: 36px; }
@media (max-width: 640px) {
  .book-box { padding: 16px; }
  .dt input[type="time"] { width: 100px; }
  .dt input { padding-inline: 9px; }
  .tier { padding: 10px; }
  .tier span { font-size: .72rem; }
  .wa-float { width: 52px; height: 52px; inset-inline-end: 12px; bottom: 12px; }
  .wa-float .i { width: 26px; height: 26px; }
}

/* ---------- Identity & documents (v1.5) ---------- */
.auth-card-wide { max-width: 640px; }
.id-block { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px 14px; margin: 0; min-width: 0; }
.id-block legend { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; padding: 0 6px; }
.doc-details summary { cursor: pointer; padding: 6px 0; }
.doc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 8px 0; }
.doc-card { border: 1.5px dashed var(--sand-2); border-radius: var(--radius-sm); padding: 10px; display: grid; gap: 8px; background: var(--paper); min-width: 0; }
.doc-card.has-doc, .doc-card.picked { border-style: solid; border-color: var(--green); background: #fff; }
.doc-head { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: .88rem; }
.doc-ok { display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-size: .78rem; font-weight: 700; }
.doc-preview { height: 110px; border-radius: 10px; background: var(--sand); display: grid; place-items: center; overflow: hidden; }
.doc-preview img { width: 100%; height: 100%; object-fit: cover; }
.doc-placeholder .i { width: 38px; height: 38px; color: var(--sand-2); }
.doc-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.doc-actions .btn { flex: 1 1 auto; padding: .55em .7em; font-size: .82rem; cursor: pointer; }
.doc-file { margin: 0; word-break: break-all; }
.notice-ok { background: #e3f4ec; color: #155b45; }
@media (max-width: 420px) { .doc-grid { grid-template-columns: 1fr; } }

/* Dark logo shown on a dark background: render it white. */
.logo-white { filter: brightness(0) invert(1); }
/* Dark logo with white parts on a dark background: show it on a white badge. */
.logo-chip { background: #fff; padding: 6px 12px; border-radius: 10px; box-sizing: content-box; }
.pager { flex-wrap: wrap; }
.pager .pager-gap { background: none; border: 0; color: var(--muted, #888); min-width: 20px; }
.cat-intro { max-width: 760px; margin: 10px 0 0; line-height: 1.6; }

/* Installable app (PWA) */
.pwa-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: transparent; color: inherit; font: inherit; font-weight: 700; cursor: pointer; }
.pwa-btn:hover { background: rgba(255,255,255,.08); }
.pwa-btn[hidden], .pwa-bar[hidden], .pwa-ios[hidden] { display: none; }
.pwa-bar { position: fixed; inset-inline: 12px; bottom: 12px; z-index: 60; display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--paper, #fff); color: var(--ink, #111); border-radius: 18px; box-shadow: 0 10px 34px rgba(0,0,0,.22); }
.pwa-bar img { width: 44px; height: 44px; border-radius: 11px; flex: none; }
.pwa-bar div { display: grid; gap: 2px; min-width: 0; flex: 1; font-size: .9rem; line-height: 1.3; }
.pwa-bar span { opacity: .75; }
.pwa-close { background: none; border: 0; font-size: 1.5rem; line-height: 1; padding: 4px 6px; cursor: pointer; color: inherit; opacity: .6; }
.pwa-ios { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.45); display: grid; align-items: end; padding: 16px; }
.pwa-ios-card { background: var(--paper, #fff); color: var(--ink, #111); border-radius: 22px; padding: 22px; max-width: 420px; width: 100%; margin: 0 auto; display: grid; gap: 12px; justify-items: center; text-align: center; }
.pwa-ios-card img { border-radius: 14px; }
.pwa-ios-card ol { margin: 0; padding-inline-start: 20px; text-align: start; display: grid; gap: 8px; justify-self: stretch; }
.pwa-ios-card .i { width: 18px; height: 18px; vertical-align: -3px; }
@media (display-mode: standalone) { .pwa-btn, .pwa-bar { display: none !important; } }
