/* Atlas Drive — public site. Logical properties everywhere so Arabic (RTL) mirrors cleanly. */
:root {
  --brand: #0F4C5C;
  --brand-deep: #0A3540;
  --cta: #FFC83D;
  --cta-ink: #10202B;
  --paper: #F3F5F4;
  --white: #fff;
  --ink: #10202B;
  --muted: #5B6B74;
  --line: #DCE3E5;
  --soft: #E8EEEF;
  --ok: #1E7F52;
  --bad: #C0392B;
  --warn: #A86A12;
  --asphalt: #26333B;
  --r-s: 10px;
  --r-m: 16px;
  --r-l: 22px;
  --shadow: 0 1px 2px rgba(16, 32, 43, .06), 0 8px 24px rgba(16, 32, 43, .08);
  --font: "Readex Pro", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
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(--ink); background: var(--paper); font-weight: 400; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-deep); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); }
h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem); }
h3 { font-size: 1.1rem; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; line-height: 1.35; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--cta); outline-offset: 2px; border-radius: 4px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--cta); color: var(--cta-ink); padding: 10px 16px; border-radius: var(--r-s); font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; unicode-bidi: isolate; }

/* Buttons */
.btn { --bg: var(--white); --fg: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: var(--r-s); border: 1px solid transparent; background: var(--bg); color: var(--fg); font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background-color .15s, transform .1s; }
.btn:hover { color: var(--fg); }
.btn:active { transform: translateY(1px); }
.btn.cta { --bg: var(--cta); --fg: var(--cta-ink); }
.btn.cta:hover { --bg: #FFBA14; }
.btn.ghost { --bg: transparent; border-color: var(--line); }
.btn.ghost:hover { --bg: var(--soft); }
.btn.light { --bg: rgba(255, 255, 255, .14); --fg: #fff; border-color: rgba(255, 255, 255, .3); }
.btn.wa { --bg: #1FAF5A; --fg: #fff; }
.btn.wa:hover { --bg: #189A4E; }
.btn.sm { min-height: 40px; padding: 8px 16px; font-size: .95rem; }
.btn.big { min-height: 54px; font-size: 1.08rem; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn.danger-link { --bg: transparent; --fg: var(--bad); font-weight: 500; }
.more { font-weight: 600; text-decoration: none; }
.more::after { content: " ›"; }
[dir="rtl"] .more::after { content: " ‹"; }

/* Header */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; flex-shrink: 0; }
.logo.light { color: #fff; }
.mainnav { display: flex; gap: 4px; align-items: center; flex: 1; }
.mainnav > a { white-space: nowrap; padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .97rem; }
.mainnav > a:hover { background: var(--soft); }
.mainnav > a[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
.mainnav .mng { margin-inline-start: auto; color: var(--muted); }
.nav-foot { display: none; }
.top-tools { display: flex; align-items: center; gap: 14px; }
.top-call { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.cur select { border: 1px solid var(--line); background: var(--white); border-radius: 8px; padding: 6px 8px; font: 500 .9rem var(--font); color: var(--ink); }
.burger { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; }

/* Round flags */
.langs { display: flex; gap: 6px; align-items: center; }
.langs a { display: inline-flex; border-radius: 50%; padding: 2px; border: 2px solid transparent; transition: border-color .15s, transform .15s; }
.langs a:hover { transform: scale(1.08); }
.langs a.on { border-color: var(--brand); }
.flag { display: inline-block; width: var(--s); height: var(--s); border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); flex-shrink: 0; }
.flag svg { display: block; width: 100%; height: 100%; }
.langs.foot a.on { border-color: var(--cta); }
.langs.big .flag { --s: 36px !important; }

/* Flash */
.flash { padding: 12px 0; font-weight: 500; }
.flash.ok { background: #E3F4EA; color: #145C3A; }
.flash.err { background: #FBE6E3; color: #8E2A1F; }

/* Hero: the booking search sits on the road */
.hero { position: relative; background: var(--brand); color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 420px at 85% -10%, rgba(255, 255, 255, .13), transparent 60%); pointer-events: none; }
[dir="rtl"] .hero::before { background: radial-gradient(900px 420px at 15% -10%, rgba(255, 255, 255, .13), transparent 60%); }
.hero-in { position: relative; display: grid; grid-template-columns: 1fr minmax(340px, 440px); gap: 48px; align-items: center; padding-block: 56px 40px; }
.hero h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); font-weight: 700; letter-spacing: -.025em; max-width: 14ch; margin-bottom: 18px; }
[dir="rtl"] .hero h1 { letter-spacing: 0; max-width: 16ch; }
.hero .lead { font-size: 1.15rem; color: rgba(255, 255, 255, .85); max-width: 46ch; }
.hero-trust { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .95rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero .hero-trust { color: rgba(255, 255, 255, .92); }
.hero .hero-trust .ic { color: var(--cta); }
.hero .stars .on { color: var(--cta); }
.hero-search .search { background: var(--white); color: var(--ink); border-radius: var(--r-l); padding: 22px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.road { position: relative; height: 112px; background: var(--asphalt); border-top: 6px solid #3A4952; }
.road-line { position: absolute; inset-inline: 0; top: 50%; height: 5px; margin-top: -2px; background: repeating-linear-gradient(90deg, var(--cta) 0 46px, transparent 46px 86px); opacity: .9; }
.road-car { position: absolute; bottom: 22px; inset-inline-start: 8%; width: 260px; animation: drive 1.6s cubic-bezier(.2, .7, .2, 1) both .2s; }
[dir="rtl"] .road-car { transform: scaleX(-1); animation-name: drive-rtl; }
@keyframes drive { from { transform: translateX(-120vw); } to { transform: translateX(0); } }
@keyframes drive-rtl { from { transform: translateX(120vw) scaleX(-1); } to { transform: translateX(0) scaleX(-1); } }
@media (prefers-reduced-motion: reduce) { .road-car { animation: none; } html { scroll-behavior: auto; } }

/* Search form */
.search { display: grid; gap: 14px; }
.s-field { display: grid; gap: 6px; }
.s-field > label:first-child { display: flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.s-field select, .s-field input, .dt select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--white); font: 500 1rem var(--font); color: var(--ink); }
.s-field select:focus, .s-field input:focus { border-color: var(--brand); outline: 2px solid rgba(15, 76, 92, .18); }
.dt { display: grid; grid-template-columns: 1fr 96px; gap: 8px; }
.s-same { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); cursor: pointer; }
.s-same input { width: 18px; height: 18px; accent-color: var(--brand); }
.search.hero .s-when { display: grid; }
.search.hero .s-go { min-height: 54px; font-size: 1.08rem; margin-top: 4px; }
.search.bar { grid-template-columns: 1.4fr 1.2fr 1.2fr auto; align-items: end; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px; margin-block: 20px; box-shadow: var(--shadow); }
.search.bar .s-return:not([hidden]) { grid-column: auto; }
.search.bar:has(.s-return:not([hidden])) { grid-template-columns: 1.2fr 1.2fr 1.1fr 1.1fr auto; }
.search.bar .s-same { position: absolute; }
.search.bar .s-where { position: relative; padding-bottom: 26px; }
.search.bar .s-when, .search.bar .s-return { padding-bottom: 26px; }
.search.bar .s-same { bottom: 0; }
.search.bar .s-go { margin-bottom: 26px; }

/* Facts strip */
.band-facts { background: var(--white); border-bottom: 1px solid var(--line); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 26px; }
.facts > div { display: flex; gap: 14px; align-items: flex-start; }
.facts .ic { color: var(--brand); flex-shrink: 0; margin-top: 2px; }
.facts p { margin: 0; display: grid; }
.facts b { font-weight: 600; }
.facts span { color: var(--muted); font-size: .92rem; }

/* Sections */
.sec { padding-block: 56px; }
.sec.tint { background: var(--soft); }
.sec.dark { background: var(--brand-deep); color: #fff; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.sec-head h2 { margin: 0; }
.page-head { background: var(--white); border-bottom: 1px solid var(--line); padding-block: 28px 30px; }
.page-head.slim { padding-block: 18px 22px; }
.page-head h1 { margin-bottom: 8px; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 62ch; }
.score { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* Category tiles */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.cat { display: grid; gap: 2px; padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); text-decoration: none; color: var(--ink); transition: border-color .15s; }
.cat:hover { border-color: var(--brand); color: var(--ink); }
.cat .cat-art { width: 100%; height: auto; margin-bottom: 8px; }
.cat b { font-weight: 600; }
.cat span { color: var(--muted); font-size: .9rem; }

/* Car cards */
.grid-cars { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.car-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.car-card.out { opacity: .62; }
.cc-pic { display: block; background: linear-gradient(180deg, #EEF3F4, #F8FAFA 70%); padding: 18px 16px 6px; aspect-ratio: 16 / 9; }
.cc-pic .car-art { width: 100%; height: 100%; object-fit: contain; }
.cc-pic img.photo { object-fit: cover; border-radius: 10px; }
.cc-body { padding: 14px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.cc-cat { margin: 0; font-size: .82rem; color: var(--muted); font-weight: 500; }
.cc-cat a { color: inherit; }
.car-card h3 { margin: 2px 0 0; font-size: 1.15rem; }
.car-card h3 a { color: var(--ink); text-decoration: none; }
.car-card h3 a::after { content: ""; position: absolute; inset: 0; }
.car-card { position: relative; }
.car-card .btn { position: relative; z-index: 1; }
.cc-like { margin: 0 0 10px; font-size: .8rem; color: var(--muted); }
.specs { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .88rem; color: #33444D; }
.specs li { display: inline-flex; align-items: center; gap: 5px; }
.specs .ic { color: var(--muted); }
.cc-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px dashed var(--line); }
.cc-price { display: grid; line-height: 1.25; }
.cc-price strong { font-size: 1.35rem; font-weight: 700; }
.cc-price span { font-size: .8rem; color: var(--muted); }
.cc-price s { color: var(--muted); font-size: .85rem; }
.cc-left { margin: 8px 0 0; color: var(--bad); font-size: .85rem; font-weight: 600; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--soft); }

/* How it works: a real sequence, so numbered */
.how h2 { margin-bottom: 26px; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px dashed var(--line); }
.steps li { counter-increment: s; position: relative; padding: 34px 24px 0 0; display: grid; gap: 6px; }
[dir="rtl"] .steps li { padding: 34px 0 0 24px; }
.steps li::before { content: counter(s); position: absolute; top: -19px; inset-inline-start: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--cta); color: var(--cta-ink); display: grid; place-items: center; font-weight: 700; }
.steps b { font-size: 1.12rem; font-weight: 600; }
.steps span { color: var(--muted); }

/* Cities */
.cities-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: start; }
.cities-wrap p { color: rgba(255, 255, 255, .78); }
.cities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.cities a { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--r-s); background: rgba(255, 255, 255, .07); color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, .1); }
.cities a:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.cities .ic { color: var(--cta); flex-shrink: 0; }
.cities span { display: grid; line-height: 1.3; }
.cities small { color: rgba(255, 255, 255, .7); }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.reviews.one { grid-template-columns: 1fr; }
.review { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.rv-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.rv-date { font-size: .82rem; color: var(--muted); }
.review blockquote { margin: 0; flex: 1; }
.review figcaption { font-size: .92rem; color: var(--muted); }
.review figcaption b { color: var(--ink); font-weight: 600; }
.stars { display: inline-flex; gap: 1px; vertical-align: middle; }
.stars .on { color: #F0A500; }
.stars .off { color: #CBD3D6; }

/* FAQ */
.faqs { display: grid; gap: 10px; margin-block: 18px; }
.faqs details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-s); }
.faqs summary { cursor: pointer; padding: 16px 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); transition: transform .2s; }
.faqs details[open] summary::after { transform: rotate(45deg); }
.faqs details > div { padding: 0 18px 16px; color: #33444D; }

/* Posts */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.post-card { display: grid; gap: 6px; align-content: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); padding: 18px; color: var(--ink); text-decoration: none; }
.post-card:hover { border-color: var(--brand); color: var(--ink); }
.post-card img { border-radius: var(--r-s); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; margin-bottom: 6px; }
.post-card b { font-size: 1.1rem; font-weight: 600; line-height: 1.35; }
.post-card span, .post-card small { color: var(--muted); font-size: .93rem; }

/* CTA band */
.cta-band { background: var(--brand); color: #fff; padding-block: 44px; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-in h2 { margin-bottom: 6px; }
.cta-in p { margin: 0; color: rgba(255, 255, 255, .8); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; padding: 0; font-size: .87rem; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-inline-start: 6px; color: #A9B5BA; }
.crumbs a { color: var(--muted); }

/* Fleet */
.fleet { display: grid; grid-template-columns: 250px 1fr; gap: 28px; padding-bottom: 60px; }
.filters details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); padding: 6px 18px 18px; position: sticky; top: 84px; }
.filters summary { font-weight: 600; padding-block: 12px; cursor: pointer; }
.filters fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.filters legend { font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--muted); }
.opt { display: flex; align-items: center; gap: 8px; padding: 4px 0; cursor: pointer; font-size: .95rem; }
.opt input { accent-color: var(--brand); width: 17px; height: 17px; }
.filters select, .results-bar select { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; font: 500 .95rem var(--font); background: var(--white); color: var(--ink); }
.reset { font-size: .9rem; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.results-bar p { margin: 0; font-weight: 500; }
.results-bar form { display: flex; align-items: center; gap: 8px; font-size: .9rem; }
.results-bar select { width: auto; }
.empty { background: var(--white); border: 1px dashed var(--line); border-radius: var(--r-m); padding: 40px; text-align: center; }

/* Car page */
.car-page { display: grid; grid-template-columns: 1fr 380px; gap: 36px; padding-bottom: 60px; align-items: start; }
.car-title h1 { margin: 2px 0 6px; }
.rating { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--muted); font-size: .92rem; }
.gallery { background: linear-gradient(180deg, #E7EEF0, #F7F9F9); border-radius: var(--r-l); padding: 30px; margin: 18px 0; }
.g-main .big { width: 100%; height: auto; max-height: 420px; object-fit: contain; }
.g-main img.photo { border-radius: var(--r-m); object-fit: cover; aspect-ratio: 16 / 9; }
.g-thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; }
.g-thumbs button { border: 2px solid transparent; border-radius: 10px; padding: 0; background: none; cursor: pointer; flex: 0 0 86px; }
.g-thumbs button.on { border-color: var(--brand); }
.g-thumbs img { border-radius: 8px; aspect-ratio: 4 / 3; object-fit: cover; }
.car-page .specs { font-size: .95rem; gap: 10px 20px; }
.car-sec { padding-block: 24px; border-top: 1px solid var(--line); }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.3rem; margin-top: 1.4em; }
.incl { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.incl li { display: flex; gap: 8px; align-items: flex-start; }
.incl .ic { color: var(--ok); margin-top: 3px; flex-shrink: 0; }
.rates { border-collapse: collapse; width: 100%; max-width: 480px; }
.rates th, .rates td { text-align: start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rates th { font-weight: 500; color: var(--muted); }
.rates td { text-align: end; font-weight: 600; }

.book-box { position: sticky; top: 86px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px; box-shadow: var(--shadow); }
.bb-price strong { font-size: 1.8rem; font-weight: 700; }
.bb-price span { color: var(--muted); }
.bb-fields { display: grid; gap: 10px; margin: 14px 0; }
.bb-fields label { display: grid; gap: 4px; font-size: .82rem; font-weight: 600; color: var(--muted); }
.bb-fields select, .bb-fields input { min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-s); font: 500 .97rem var(--font); background: var(--white); color: var(--ink); width: 100%; }
.two { display: grid; grid-template-columns: 1fr 100px; gap: 8px; }
.breakdown { margin: 0 0 12px; display: grid; gap: 6px; font-size: .95rem; }
.breakdown > div { display: flex; justify-content: space-between; gap: 12px; }
.breakdown dt { color: #3A4B54; }
.breakdown dd { margin: 0; font-weight: 500; }
.breakdown .save dd, .breakdown .save dt { color: var(--ok); }
.breakdown .total { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; font-size: 1.15rem; font-weight: 700; }
.breakdown .total dt { color: var(--ink); }
.breakdown .total dd { font-weight: 700; }
.deposit .ic { flex-shrink: 0; margin-top: 3px; }
.deposit { display: flex; align-items: flex-start; gap: 6px; font-size: .87rem; color: var(--muted); margin: 0 0 12px; }
.bad { color: var(--bad); font-weight: 500; }
.bb-quote[aria-busy="true"] { opacity: .5; }
.bb-note { display: flex; align-items: center; gap: 6px; justify-content: center; font-size: .85rem; color: var(--muted); margin: 10px 0 0; }
.bb-note .ic { color: var(--ok); }
.bb-wa { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 12px; font-size: .92rem; font-weight: 500; color: #168A47; text-decoration: none; }
.mobile-book { display: none; }

/* Booking step */
.progress { list-style: none; display: flex; gap: 8px; margin: 0 0 12px; padding: 0; font-size: .87rem; color: var(--muted); flex-wrap: wrap; }
.progress li { display: flex; align-items: center; gap: 8px; }
.progress li:not(:last-child)::after { content: ""; width: 28px; height: 2px; background: var(--line); }
.progress .done { color: var(--ok); }
.progress .done a { color: inherit; }
.progress .on { color: var(--ink); font-weight: 600; }
.book { display: grid; grid-template-columns: 1fr 380px; gap: 30px; padding-block: 24px 60px; align-items: start; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); padding: 20px 22px; margin: 0 0 18px; }
fieldset.panel { min-width: 0; }
.panel legend { font-weight: 600; font-size: 1.1rem; padding: 0 6px; margin-inline-start: -6px; }
.extras { display: grid; gap: 10px; }
.extra { display: grid; grid-template-columns: 40px 1fr auto auto; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-s); cursor: pointer; }
.extra.on, .extra:has(input:checked) { border-color: var(--brand); background: #F2F8F9; }
.x-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--soft); display: grid; place-items: center; color: var(--brand); }
.x-txt { display: grid; line-height: 1.35; }
.x-txt small, .x-price small { color: var(--muted); font-size: .82rem; }
.x-price { display: grid; text-align: end; font-weight: 600; line-height: 1.3; }
.extra input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--brand); }
.extra select { padding: 6px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fgrid .span2 { grid-column: 1 / -1; }
.fgrid label, .form-card label { display: grid; gap: 5px; font-size: .88rem; font-weight: 600; color: #33444D; }
.fgrid input, .fgrid textarea, .form-card input, .form-card textarea, .coupon input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-s); font: 400 1rem var(--font); color: var(--ink); background: var(--white); }
.fgrid textarea, .form-card textarea { min-height: 0; resize: vertical; }
input[aria-invalid="true"] { border-color: var(--bad) !important; }
.ferr { color: var(--bad); font-size: .84rem; font-weight: 500; }
.pay { display: grid; gap: 10px; margin-bottom: 18px; }
.pay-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-s); cursor: pointer; }
.pay-opt:has(input:checked) { border-color: var(--brand); background: #F2F8F9; }
.pay-opt input { margin-top: 4px; accent-color: var(--brand); width: 18px; height: 18px; }
.pay-opt span { display: grid; }
.pay-opt small { color: var(--muted); }
.coupon label { font-weight: 600; font-size: .9rem; }
.coupon .row { display: flex; gap: 8px; margin-top: 6px; }
.terms { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0; cursor: pointer; }
.terms input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex-shrink: 0; }
.terms.bad span { color: var(--bad); }
.alert { padding: 14px 16px; border-radius: var(--r-s); background: #FFF6DA; margin-bottom: 16px; }
.alert.bad { background: #FBE6E3; color: #8E2A1F; }
.book-sum { position: sticky; top: 86px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); padding: 20px; box-shadow: var(--shadow); }
.sum-car { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center; margin-bottom: 12px; }
.sum-car div { display: grid; }
.sum-car small { color: var(--muted); font-size: .82rem; }
.sum-car img.photo { border-radius: 8px; }
.sum-trip { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 8px; font-size: .92rem; }
.sum-trip li { display: flex; gap: 8px; }
.sum-trip .ic { color: var(--brand); margin-top: 3px; flex-shrink: 0; }
.sum-trip span { display: grid; }
.book-sum .bb-quote { margin-top: 14px; }

/* Booking confirmation: printed like a ticket */
.booking-view { display: grid; grid-template-columns: 1fr 340px; gap: 30px; padding-block: 26px 60px; align-items: start; }
.ticket { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px; position: relative; }
.t-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 2px dashed var(--line); }
.t-head small { display: block; color: var(--muted); font-size: .8rem; }
.ref { font-size: 1.7rem; letter-spacing: .08em; font-weight: 700; }
.badge { padding: 5px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; background: var(--soft); white-space: nowrap; }
.badge.ok { background: #E3F4EA; color: #145C3A; }
.badge.warn { background: #FFF1CF; color: #7A4D00; }
.badge.bad { background: #FBE6E3; color: #8E2A1F; }
.badge.muted { color: var(--muted); }
.t-car { display: grid; grid-template-columns: 160px 1fr; gap: 16px; align-items: center; padding-block: 16px; }
.t-car div { display: grid; }
.t-car small { color: var(--muted); }
.t-trip { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; background: var(--soft); border-radius: var(--r-m); padding: 16px; margin-bottom: 18px; }
.t-trip div { display: grid; }
.t-trip small { color: var(--muted); font-size: .8rem; }
.t-trip span { font-size: .9rem; color: #33444D; }
.t-arrow { color: var(--brand); }
[dir="rtl"] .t-arrow svg { transform: scaleX(-1); }
.next h2 { font-size: 1.2rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; }
.checklist .ic { color: var(--brand); flex-shrink: 0; margin-top: 2px; }
.next-actions { display: grid; gap: 10px; }
.rate-form { margin-top: 20px; display: grid; gap: 10px; }
.rate-form h3 { margin: 0; }
.rate-form textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--r-s); padding: 10px; font: inherit; }
.rate-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
[dir="rtl"] .rate-input { flex-direction: row-reverse; }
.rate-input { position: relative; }
.rate-input input { position: absolute; opacity: 0; width: 1px !important; height: 1px; min-height: 0 !important; padding: 0 !important; }
.rate-input label { color: #CBD3D6; cursor: pointer; }
.rate-input input:checked ~ label, .rate-input label:hover, .rate-input label:hover ~ label { color: #F0A500; }
.rate-input input:focus-visible + label { outline: 3px solid var(--cta); border-radius: 4px; }

/* Forms pages */
.form-card { display: grid; gap: 14px; }
.form-card h2 { margin: 0; }
.contact { display: grid; grid-template-columns: 1fr 340px; gap: 30px; padding-block: 28px 60px; align-items: start; }
.contact-info { display: grid; gap: 10px; }
.contact-info > * { display: flex; gap: 14px; align-items: center; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); color: var(--ink); text-decoration: none; }
.contact-info .ic { color: var(--brand); flex-shrink: 0; }
.contact-info span { display: grid; min-width: 0; }
.contact-info small { color: var(--muted); }
.contact-info b { font-weight: 600; overflow-wrap: anywhere; }
.reviews-page { display: grid; grid-template-columns: 1fr 360px; gap: 28px; padding-block: 28px 60px; align-items: start; }
.reviews-page .reviews { grid-template-columns: 1fr; }
.cta-inline { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 26px; }

/* Locations */
.loc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; padding-block: 28px 60px; }
.loc-card { display: flex; gap: 14px; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); text-decoration: none; color: var(--ink); }
.loc-card:hover { border-color: var(--brand); color: var(--ink); }
.loc-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--soft); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.loc-txt { display: grid; line-height: 1.4; }
.loc-txt small { color: var(--muted); }
.loc-txt b { font-weight: 600; font-size: 1.05rem; }
.loc-txt em { font-style: normal; color: var(--muted); font-size: .9rem; }
.loc-txt em.ok { color: var(--ok); }
.page-head .hero-trust { color: var(--muted); margin-top: 14px; }
.page-head .hero-trust .ic { color: var(--brand); }

/* Article */
.article { padding-block: 28px 60px; }
.article .cover { border-radius: var(--r-m); margin: 18px 0; width: 100%; }
.nf { text-align: center; padding-block: 60px 80px; }
.nf svg { max-width: 320px; margin: 0 auto 20px; display: block; }

/* Footer */
.foot { background: #0B252D; color: rgba(255, 255, 255, .78); padding-top: 50px; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 36px; }
.foot h2 { font-size: 1rem; color: #fff; font-weight: 600; margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .93rem; }
.foot a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-brand p { margin: 12px 0 16px; max-width: 32ch; }
.foot-contact { margin-top: 16px; font-size: .92rem; line-height: 1.8; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 18px 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .87rem; }
.socials { display: flex; gap: 16px; }

.wa-float { position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 50; width: 58px; height: 58px; border-radius: 50%; background: #1FAF5A; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.wa-float:hover { color: #fff; background: #189A4E; }

/* Responsive */
@media (max-width: 1320px) {
  .top-call span { display: none; }
}
@media (max-width: 1080px) {
  .search.bar, .search.bar:has(.s-return:not([hidden])) { grid-template-columns: 1fr 1fr; }
  .search.bar .s-go { grid-column: 1 / -1; margin-bottom: 0; }
}
@media (max-width: 1100px) {
  .burger { display: inline-flex; }
  .mainnav { position: fixed; inset: 68px 0 0 0; background: var(--white); flex-direction: column; align-items: stretch; padding: 16px 20px 30px; gap: 2px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; overflow-y: auto; }
  .mainnav.open { opacity: 1; visibility: visible; transform: none; }
  .mainnav > a { padding: 14px 6px; font-size: 1.08rem; border-bottom: 1px solid var(--soft); border-radius: 0; }
  .mainnav > a[aria-current="page"] { box-shadow: none; }
  .mainnav .mng { margin: 0; }
  .nav-foot { display: grid; gap: 16px; margin-top: 18px; }
  .top-tools > .langs { display: none; }
}
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; gap: 26px; padding-block: 34px 28px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fleet { grid-template-columns: 1fr; }
  .filters details { position: static; }
  .car-page, .book, .booking-view, .contact, .reviews-page { grid-template-columns: 1fr; }
  .book-box { position: static; }
  .book-sum { position: static; }
  .cities-wrap { grid-template-columns: 1fr; gap: 16px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .mobile-book { display: flex; position: fixed; inset-inline: 0; bottom: 0; z-index: 45; background: var(--white); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); justify-content: space-between; align-items: center; gap: 12px; box-shadow: 0 -6px 20px rgba(0, 0, 0, .08); }
  .mobile-book strong { font-size: 1.25rem; }
  .mobile-book.hide { display: none; }
  body:has(.mobile-book) .wa-float { bottom: 84px; }
}
@media (max-width: 640px) {
  .wrap { padding-inline: 16px; }
  .top-in { gap: 10px; min-height: 60px; }
  .mainnav { top: 60px; }
  .logo { font-size: 1.05rem; }
  .logo svg { width: 30px; height: 30px; }
  .cur select { padding: 5px 4px; font-size: .85rem; }
  .hero-search .search { padding: 16px; border-radius: var(--r-m); }
  .road { height: 84px; }
  .road-car { width: 180px; bottom: 16px; }
  .facts { grid-template-columns: 1fr; gap: 16px; }
  .sec { padding-block: 40px; }
  .steps { grid-template-columns: 1fr; border-top: 0; border-inline-start: 2px dashed var(--line); gap: 26px; margin-inline-start: 18px; }
  .steps li, [dir="rtl"] .steps li { padding: 0; padding-inline-start: 34px; }
  .steps li::before { top: -4px; inset-inline-start: -19px; }
  .search.bar, .search.bar:has(.s-return:not([hidden])) { grid-template-columns: 1fr; }
  .search.bar .s-where, .search.bar .s-when, .search.bar .s-return { padding-bottom: 0; }
  .search.bar .s-same { position: static; }
  .fgrid { grid-template-columns: 1fr; }
  .extra { grid-template-columns: 36px 1fr auto; }
  .extra .x-price { grid-column: 2; text-align: start; }
  .extra > input, .extra > select { grid-row: 1; grid-column: 3; }
  .incl { grid-template-columns: 1fr; }
  .gallery { padding: 14px; }
  .t-trip { grid-template-columns: 1fr; }
  .t-arrow { transform: rotate(90deg); justify-self: start; }
  .t-car { grid-template-columns: 110px 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .grid-cars { grid-template-columns: 1fr; }
  .sec-head { flex-wrap: wrap; }
}

@media print {
  .top, .foot, .wa-float, .next-actions, .rate-form, .mobile-book, .flash { display: none !important; }
  body { background: #fff; }
  .booking-view { grid-template-columns: 1fr; }
  .ticket { border: 1px solid #999; }
}
