/* =========================================================
   GCR Globe Car Rental — "Midnight Showroom" site styles
   Shared by every public page (header.php links it).
   Homepage-only sections live in home.css.
   ========================================================= */
:root {
    --bg: #0B0E13;
    --bg-2: #11151C;
    --card: #141922;
    --card-2: #161B24;
    --line: rgba(255, 255, 255, .08);
    --line-2: rgba(255, 255, 255, .14);
    --text: #E9ECF1;
    --white: #FFFFFF;
    --muted: #9AA3AF;
    --soft: #C9CFD8;
    --accent: #F26A21;
    --accent-ink: #0B0E13;
    --ok: #34D399;
    --danger: #FCA5A5;
    --radius: 22px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --display: 'Sora', system-ui, sans-serif;
    --body: 'Manrope', system-ui, sans-serif;
    --wrap: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--white); }
a:hover { color: #FFB37E; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--white); margin: 0; letter-spacing: -0.02em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.section { padding: 112px 0; }
.section.wrap { padding-left: 32px; padding-right: 32px; } /* "section wrap" blocks keep the side gutter */
.section-tight { padding: 72px 0; }
.section-alt { background: var(--bg-2); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; text-decoration: none; font: 700 15px/1 var(--body); padding: 14px 22px; border-radius: 999px; transition: transform .2s, filter .2s, background .2s, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { color: var(--accent-ink); filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255, 255, 255, .25); }
.btn-ghost:hover { color: var(--white); border-color: rgba(255, 255, 255, .5); }
.btn-wa { background: #25D366; color: #0B0E13; }
.btn-wa:hover { color: #0B0E13; filter: brightness(1.05); }
.btn-sm { padding: 12px 16px; font-size: 14px; border-radius: 12px; }
.btn-lg { padding: 18px 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.section-title { font-size: clamp(32px, 4vw, 54px); line-height: 1.08; margin-top: 12px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.center-head { text-align: center; max-width: 760px; margin: 0 auto; }
.center-head p { color: var(--muted); margin: 18px 0 0; }
.lead { font-size: 19px; color: var(--soft); line-height: 1.65; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .35s, box-shadow .35s, backdrop-filter .35s; }
.site-header.is-scrolled { background: rgba(11, 14, 19, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 32px; max-width: var(--wrap); margin: 0 auto; }
/* Original logo, unchanged, on a light plate so its dark lettering stays readable */
.logo-plate { display: inline-flex; align-items: center; background: #FFFFFF; border-radius: 14px; padding: 6px 12px; box-shadow: 0 6px 24px rgba(0, 0, 0, .25); transition: transform .25s var(--ease); }
.logo-plate:hover { transform: translateY(-1px); }
.logo-plate img { height: 42px; width: auto; }
.main-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--text); position: relative; padding: 8px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--white); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-phone { text-decoration: none; font-weight: 600; font-size: 15px; padding: 12px 14px; color: var(--text); }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .06); color: var(--white); cursor: pointer; align-items: center; justify-content: center; }

/* ---------- Page banner (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: 170px 0 84px; background: radial-gradient(1200px 500px at 85% -10%, rgba(242, 106, 33, .16), transparent 60%), var(--bg-2); border-bottom: 1px solid var(--line); }
.page-hero.has-image { padding: 190px 0 110px; }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 12s ease-out both; }
.page-hero-shade { position: absolute; inset: 0; pointer-events: none; }
.page-hero.has-image .page-hero-shade { background: linear-gradient(180deg, rgba(11, 14, 19, .82) 0%, rgba(11, 14, 19, .55) 50%, rgba(11, 14, 19, .92) 100%); }
.page-hero-inner { position: relative; }
/* Default inner-page top: breadcrumb only, just below the fixed header */
.page-hero.is-compact { padding: 104px 0 16px; background: var(--bg-2); }
.page-hero.is-compact + section { padding-top: 40px; }
.page-hero h1.page-title-compact { max-width: none; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -0.01em; margin: 8px 0 0; text-wrap: balance; }
.page-hero h1 { font-size: clamp(36px, 5.2vw, 72px); line-height: 1.05; letter-spacing: -0.03em; max-width: 920px; margin-top: 18px; }
.page-hero-lead { font-size: 19px; color: var(--soft); max-width: 680px; margin: 20px 0 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #5D6672; }
.breadcrumb a { color: var(--soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb [aria-current] { color: var(--accent); }

/* ---------- Long-form content (SEO text, terms, blog posts) ---------- */
.prose { color: var(--soft); font-size: 17px; line-height: 1.75; max-width: 820px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.2; margin: 48px 0 16px; }
.prose h3 { font-size: 22px; line-height: 1.3; margin: 36px 0 12px; }
.prose h4 { font-size: 18px; margin: 28px 0 10px; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent); }
.prose strong, .prose b { color: var(--white); }
.prose a { color: #FFB37E; }
.prose img { border-radius: 16px; margin: 24px 0; height: auto; }
.prose blockquote { margin: 24px 0; padding: 8px 0 8px 20px; border-left: 3px solid var(--accent); color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line-2); padding: 10px 12px; text-align: left; }
.prose-wide { max-width: none; }
.content-card { padding: 48px; border-radius: 28px; background: var(--card); border: 1px solid rgba(255, 255, 255, .07); }

/* ---------- Layout helpers ---------- */
.split { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.split > * { flex: 1 1 460px; min-width: 0; }
.with-aside { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.with-aside > .main-col { flex: 999 1 560px; min-width: 0; }
.with-aside > .aside-col { flex: 1 1 300px; min-width: 0; }
.sticky-col { position: sticky; top: 104px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.media-round { border-radius: 28px; overflow: hidden; border: 1px solid var(--line); }
.media-round img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Info cards ---------- */
.info-card { padding: 32px; border-radius: 24px; background: var(--card-2); border: 1px solid rgba(255, 255, 255, .07); transition: transform .35s var(--ease), border-color .35s; }
.info-card:hover { transform: translateY(-6px); border-color: rgba(242, 106, 33, .55); }
.info-card .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(242, 106, 33, .14); color: var(--accent); margin-bottom: 20px; }
.info-card h3 { font-size: 21px; }
.info-card p { color: var(--muted); margin: 10px 0 0; }
.info-card p a { text-decoration: none; border-bottom: 1px solid var(--line-2); transition: color .2s, border-color .2s; }
.info-card p a:hover { color: var(--white) !important; border-color: var(--accent); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--white); }
.checks svg { flex: none; color: var(--accent); margin-top: 2px; }

/* ---------- Car cards ---------- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.tab { border: 0; cursor: pointer; padding: 10px 18px; border-radius: 999px; font: 700 15px var(--body); background: transparent; color: var(--soft); transition: background .25s, color .25s; text-decoration: none; }
.tab:hover { color: var(--white); }
.tab[aria-pressed="true"], .tab[aria-current="page"] { background: var(--accent); color: var(--accent-ink); }
.tab-count { font-weight: 600; opacity: .7; margin-left: 4px; }
.car-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 48px; }
.car { border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid rgba(255, 255, 255, .07); display: flex; flex-direction: column; transition: transform .35s var(--ease), border-color .35s; }
.car:hover { transform: translateY(-6px); border-color: rgba(242, 106, 33, .55); }
.car.is-hidden { display: none; }
.car.is-entering { animation: pop .5s var(--ease) both; }
.car-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #0F131A; }
/* Highlight badges over the photo (New listing / Lowest price / Best value) */
.car-badges { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.badge { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 999px; font: 800 12px/1 var(--body); letter-spacing: .02em; box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }
.badge-new { background: #34D399; color: #052E1F; }
.badge-lowest { background: var(--accent); color: var(--accent-ink); }
.badge-best { background: #FACC15; color: #2B2105; }
.badge-discount { background: #F43F5E; color: #FFFFFF; }
/* Discounted price: regular price crossed out above the deal price */
.was { display: block; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration-thickness: 1.5px; }
.price.is-deal { color: #FDA4AF; }
[dir="rtl"] .car-badges { left: 12px; right: 12px; }
/* Feature tags on the card */
.car-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.car-tags li { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 8px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--soft); font-size: 12px; font-weight: 600; line-height: 1.2; }
.car-tags svg { color: var(--accent); flex: none; }
/* Feature tags on the car page */
.tag-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.tag-list li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--card); border: 1px solid rgba(255, 255, 255, .07); color: var(--white); font-weight: 700; }
.tag-list .ic { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(242, 106, 33, .14); color: var(--accent); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.car-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.car:hover .car-media img { transform: scale(1.07); }
.car-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.car-head { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.car-head h3 { font-size: 19px; line-height: 1.3; }
.car-head h3 a { text-decoration: none; color: var(--white); }
.car-year { font-size: 13px; color: var(--muted); flex: none; }
.car-specs { display: flex; flex-wrap: wrap; gap: 6px 14px; list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--muted); }
.car-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.price { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--white); }
.per, .month { font-size: 13px; color: var(--muted); }
.per { font-size: 14px; }
.more-row { display: flex; justify-content: center; margin-top: 40px; }
.empty-note { color: var(--muted); text-align: center; margin-top: 32px; }
.empty-state { margin-top: 48px; padding: 48px 32px; border-radius: 24px; border: 1px dashed var(--line-2); text-align: center; color: var(--soft); }
.empty-state p { margin: 0 0 20px; }

/* ---------- Toolbar (listing pages) ---------- */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 40px; }
.toolbar .count { color: var(--muted); font-weight: 600; }
.select-wrap { position: relative; display: inline-flex; align-items: center; }
.select-wrap select, .search-field input { appearance: none; -webkit-appearance: none; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); color: var(--white); font: 600 15px var(--body); padding: 12px 42px 12px 16px; border-radius: 999px; cursor: pointer; color-scheme: dark; }
.select-wrap svg { position: absolute; right: 14px; pointer-events: none; color: var(--muted); }
.select-wrap select option { background: var(--card); }
.search-field { position: relative; display: flex; align-items: center; flex: 1 1 280px; max-width: 460px; }
.search-field input { width: 100%; cursor: text; padding: 13px 18px 13px 46px; }
.search-field svg { position: absolute; left: 16px; color: var(--muted); pointer-events: none; }
.search-field input::placeholder { color: #7D8693; }

/* ---------- Booking form ---------- */
.booking { padding: 14px; border-radius: 26px; background: rgba(20, 25, 33, .82); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.booking-errors { margin: 0 0 12px; padding: 14px 18px; border-radius: 16px; background: rgba(252, 165, 165, .12); border: 1px solid rgba(252, 165, 165, .4); color: var(--danger); font-weight: 600; }
.booking-errors p { margin: 2px 0; }
.booking-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.booking-docs, .step2-inner > .booking-row + .booking-row { margin-top: 12px; }
.booking [hidden] { display: none; } /* .field's display:flex would otherwise show the hidden return-location field */
.booking-step2 { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }
.js .booking-step2 { display: grid; grid-template-rows: 0fr; opacity: 0; margin-top: 0; padding-top: 0; border-top-color: transparent; transition: grid-template-rows .5s var(--ease), opacity .4s, margin .4s, padding .4s; }
.js .booking-step2 > .step2-inner { overflow: hidden; min-height: 0; }
.js .booking.is-open .booking-step2 { grid-template-rows: 1fr; opacity: 1; margin-top: 14px; padding-top: 14px; border-top-color: var(--line); }
.js .booking.is-open .continue-btn { display: none; }
.continue-btn { display: none; }
.js .continue-btn { display: inline-flex; }
.field { flex: 1 1 200px; display: flex; flex-direction: column; gap: 4px; padding: 13px 18px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); transition: border-color .2s, background .2s; min-width: 0; }
.field:focus-within { border-color: var(--accent); background: rgba(255, 255, 255, .07); }
.field-wide { flex: 2 1 260px; }
.field-age { flex: 0 1 160px; }
.field-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; background: transparent; border: 0; outline: 0; color: var(--white); font: 600 16px var(--body); padding: 2px 0; color-scheme: dark; min-width: 0; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7D8693; }
.field select option, .field select optgroup { background: var(--card); color: var(--white); }
.booking .submit-btn, .booking .continue-btn { flex: 1 1 180px; border-radius: 16px; font-size: 17px; padding: 18px 24px; }
.toggle { flex: 1 1 220px; display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); cursor: pointer; font-weight: 600; }
.toggle input { width: 20px; height: 20px; accent-color: var(--accent); cursor: pointer; }
.segmented { flex: 1 1 280px; display: flex; gap: 6px; padding: 6px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); margin: 0; min-width: 0; }
.segmented legend { padding: 0; }
.segmented label { flex: 1; position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented span { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 48px; padding: 8px 12px; border-radius: 12px; font-weight: 700; font-size: 15px; color: var(--soft); text-align: center; transition: background .25s, color .25s; }
.segmented input:checked + span { background: var(--accent); color: var(--accent-ink); }
.segmented input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.file-field { position: relative; cursor: pointer; }
.file-field input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-name { font-weight: 600; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 8px; }
.file-name svg { flex: none; color: var(--accent); }
.booking-note { margin: 12px 4px 0; font-size: 14px; color: var(--muted); }

/* Location field with "Map" button */
.field-row { display: flex; align-items: center; gap: 8px; }
.field-row input { flex: 1; }
.map-btn { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(242, 106, 33, .12); color: #FFB37E; font: 700 13px var(--body); cursor: pointer; transition: background .2s, color .2s; }
.map-btn:hover, .map-btn:focus-visible { background: var(--accent); color: var(--accent-ink); }

/* Location picker dialog */
.map-dialog { width: min(920px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--line-2); border-radius: 24px; background: var(--bg-2); color: var(--text); box-shadow: 0 40px 100px rgba(0, 0, 0, .6); overflow: hidden; }
.map-dialog[open] { display: flex; flex-direction: column; animation: pop .3s var(--ease); }
.map-dialog::backdrop { background: rgba(5, 7, 10, .72); backdrop-filter: blur(4px); }
.map-dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px 0; }
.map-dialog-head h2 { font-size: 22px; }
.map-close { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; color: var(--white); font-size: 24px; line-height: 1; cursor: pointer; }
.map-close:hover { background: rgba(255, 255, 255, .08); }
.map-search { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 22px; }
.map-search .search-field { max-width: none; flex: 1 1 260px; }
.map-search .search-field input { padding-top: 11px; padding-bottom: 11px; }
.map-results { list-style: none; margin: 0 22px 12px; padding: 6px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); max-height: 190px; overflow: auto; }
.map-results button { width: 100%; text-align: start; padding: 10px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--text); font: 600 14px var(--body); cursor: pointer; }
.map-results button:hover, .map-results button:focus-visible { background: rgba(255, 255, 255, .07); color: var(--white); }
.map-results-note { padding: 10px 12px; color: var(--muted); font-size: 14px; }
.map-canvas { height: min(52vh, 460px); min-height: 280px; background: #1A1F28; }
.map-canvas .leaflet-tile-pane { filter: brightness(.82) contrast(1.05) saturate(.85); }
.map-canvas .leaflet-control-attribution { background: rgba(11, 14, 19, .8); color: var(--muted); }
.map-canvas .leaflet-control-attribution a { color: var(--soft); }
.map-canvas .leaflet-bar a { background: var(--card); color: var(--white); border-color: var(--line-2); }
.map-pin span { position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--accent); border: 3px solid #FFFFFF; box-shadow: 0 8px 18px rgba(0, 0, 0, .45); }
.map-pin span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #FFFFFF; }
.map-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 22px 18px; border-top: 1px solid var(--line); }
.map-address { margin: 0; flex: 1 1 280px; color: var(--soft); font-weight: 600; }
.map-foot .btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.booking.is-flash { animation: flash 1s var(--ease); }

/* ---------- Simple forms (contact) ---------- */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
.form-msg { margin: 0 0 16px; padding: 14px 18px; border-radius: 16px; font-weight: 600; }
.form-msg.ok { background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .4); color: #A7F3D0; }
.form-msg.err { background: rgba(252, 165, 165, .12); border: 1px solid rgba(252, 165, 165, .4); color: var(--danger); }

/* ---------- Car details ---------- */
.gallery-main { position: relative; border-radius: 28px; overflow: hidden; background: #0F131A; aspect-ratio: 16 / 10; border: 1px solid var(--line); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.gallery-main img.is-swapping { opacity: 0; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(11, 14, 19, .7); color: var(--white); display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(8px); transition: background .2s; }
.gallery-nav:hover { background: var(--accent); color: var(--accent-ink); }
.gallery-nav.prev { left: 16px; }
.gallery-nav.next { right: 16px; }
.gallery-nav.prev svg { transform: rotate(180deg); }
.gallery-count { position: absolute; right: 16px; bottom: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(11, 14, 19, .75); font-size: 13px; font-weight: 700; }
.thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 14px 2px 4px; scrollbar-width: thin; }
.thumb { flex: none; width: 104px; height: 72px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; background: none; cursor: pointer; opacity: .6; transition: opacity .2s, border-color .2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover, .thumb[aria-current="true"] { opacity: 1; }
.thumb[aria-current="true"] { border-color: var(--accent); }
.price-card { padding: 28px; border-radius: 24px; background: var(--card); border: 1px solid rgba(255, 255, 255, .08); }
.price-card .rates { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 20px 0; }
/* Car page, tablets/phones only: price + book strip under the photos */
.price-quick { display: none; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 24px; padding: 14px 16px; border-radius: 18px; background: var(--card); border: 1px solid rgba(255, 255, 255, .08); }
.price-quick > div { flex: 1 1 auto; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price-quick small { color: var(--muted); font-size: 13px; }
.price-quick strong { color: var(--white); font-family: var(--display); font-size: 24px; }
.price-quick s { color: var(--muted); font-size: 15px; font-weight: 400; }
.price-quick > div > span { color: var(--muted); font-size: 14px; }
.price-quick .btn-wa { padding-left: 14px; padding-right: 14px; }
.rate { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 12px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.rate small { color: var(--soft); font-size: 14px; font-weight: 700; }
.rate strong { font-family: var(--display); font-size: 24px; color: var(--white); white-space: nowrap; text-align: right; }
.rate span { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
.rate s { font-size: 15px; font-weight: 600; color: var(--muted); }
.deal-note { display: flex; align-items: center; gap: 8px; margin: -8px 0 20px; padding: 10px 14px; border-radius: 12px; background: rgba(244, 63, 94, .12); border: 1px solid rgba(244, 63, 94, .35); color: #FDA4AF; font-weight: 700; font-size: 14px; }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.spec { display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: 16px; background: var(--card); border: 1px solid rgba(255, 255, 255, .07); }
.spec svg { flex: none; color: var(--accent); }
.spec small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.spec strong { color: var(--white); }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px 20px; }
.feature-list li { display: flex; gap: 10px; align-items: center; color: var(--soft); }
.feature-list svg { color: var(--accent); flex: none; }

/* ---------- Blog cards ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 40px; }
.post { border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid rgba(255, 255, 255, .07); transition: transform .35s var(--ease); display: flex; flex-direction: column; }
.post:hover { transform: translateY(-6px); }
.post-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0F131A; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post:hover .post-media img { transform: scale(1.06); }
.post-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-body time, .post-meta { font-size: 13px; color: var(--muted); }
.post-body h3 { font-family: var(--body); font-size: 19px; letter-spacing: 0; margin-top: 8px; line-height: 1.35; }
.post-body h3 a { text-decoration: none; }
.post-body p { color: var(--muted); font-size: 15px; margin: 8px 0 0; }
.post-body .read-more { margin-top: auto; padding-top: 16px; font-weight: 700; text-decoration: none; color: var(--accent); display: inline-flex; gap: 8px; align-items: center; }

/* ---------- Documents ---------- */
.doc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; margin-top: 48px; }
.doc-card { padding: 36px; border-radius: 24px; background: var(--card-2); border: 1px solid rgba(255, 255, 255, .07); transition: transform .35s var(--ease), border-color .35s; }
.doc-card:hover { transform: translateY(-6px); border-color: rgba(242, 106, 33, .55); }
.doc-card h3 { font-size: 24px; }
.doc-card ul { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 17px; }
.doc-card li { display: flex; gap: 12px; }
.doc-card li svg { flex: none; color: var(--accent); margin-top: 3px; }
.doc-card p { margin: 20px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { padding: 112px 0; }
.faq-wrap { max-width: 880px; margin: 0 auto; padding: 0 32px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; }
.faq-item { border-radius: 18px; background: var(--card); border: 1px solid rgba(255, 255, 255, .07); overflow: hidden; transition: border-color .3s; }
.faq-item[open] { border-color: rgba(242, 106, 33, .45); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; font-weight: 700; font-size: 18px; color: var(--white); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); font-size: 22px; font-weight: 400; transition: transform .3s, background .3s, color .3s; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); }
.faq-answer { padding: 0 24px 24px; color: #AEB6C2; line-height: 1.7; }
.faq-answer p { margin: 0 0 8px; }
.faq-answer ul { margin: 0 0 8px; padding-left: 20px; }
.faq-item[open] .faq-answer { animation: fadeDown .35s var(--ease); }
/* "Was this helpful?" (render_faqs, faq-vote.php) */
.faq-q { flex: 1; min-width: 0; }
.faq-helpful { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(52, 211, 153, .12); color: var(--ok); font-size: 13px; font-weight: 700; }
.faq-helpful[hidden] { display: none; }
.faq-helpful.is-bump { animation: faqPop .5s var(--ease); }
.faq-vote { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 24px 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.faq-vote-ask { font-weight: 600; margin-inline-end: 4px; }
.faq-vote-btn { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--soft); font: 700 14px var(--body); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.faq-vote-btn:hover { color: var(--white); border-color: rgba(255, 255, 255, .4); }
.faq-vote-btn.is-no svg { transform: scaleY(-1); }
.faq-vote-btn:disabled { cursor: wait; opacity: .7; }
.faq-vote-q { display: contents; }
.faq-vote-q[hidden] { display: none; }
.faq-vote-thanks { display: inline-flex; align-items: center; gap: 8px; color: var(--ok); font-weight: 600; }
.faq-vote-thanks[hidden] { display: none; }
.faq-vote-thanks.is-pop { animation: faqPop .45s var(--ease); }
@keyframes faqPop { 0% { transform: scale(1); } 45% { transform: scale(1.12); } 100% { transform: scale(1); } }
.faq-more { text-align: center; margin-top: 32px; }
.faq-group + .faq-group { margin-top: 64px; }
.faq-group h2 { font-size: 26px; }

/* ---------- CTA ---------- */
.cta { padding: 0 0 96px; }
.cta-box { position: relative; border-radius: 32px; overflow: hidden; padding: 88px 56px; }
.cta-box > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 14, 19, .94) 0%, rgba(11, 14, 19, .72) 55%, rgba(11, 14, 19, .25) 100%); }
.cta-content { position: relative; max-width: 580px; }
.cta-content h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1.05; }
.cta-content p { margin: 18px 0 32px; font-size: 18px; color: var(--soft); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.footer-about { flex: 1 1 280px; max-width: 380px; }
.footer-about p { color: var(--muted); margin: 18px 0 0; }
.footer-col { display: flex; flex-direction: column; gap: 10px; max-width: 300px; }
.footer-col strong { color: var(--white); }
.footer-col a, .footer-col span { color: #AEB6C2; text-decoration: none; }
.footer-col a:hover { color: var(--white); }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--white); transition: background .25s, border-color .25s; }
.social a:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .06); color: #7D8693; font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: #AEB6C2; }

/* ---------- Floating WhatsApp ---------- */
.wa-fab { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #0B0E13; box-shadow: 0 12px 30px rgba(0, 0, 0, .4); transition: transform .25s var(--ease); animation: waPulse 2.6s infinite; }
.wa-fab:hover { transform: scale(1.08); color: #0B0E13; }

/* ---------- Cookie choice bar (partials/consent.php, assets/js/visit.js) ----------
   Bottom-left, clear of the WhatsApp button; on phones full width, and the button moves up above it */
.an-consent { position: fixed; left: 16px; right: 96px; bottom: 16px; z-index: 95; max-width: 920px; display: flex; align-items: center; gap: 14px 22px; padding: 14px 14px 14px 20px; border-radius: 18px; background: rgba(17, 21, 28, .97); border: 1px solid var(--line-2); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); animation: pop .45s var(--ease) both; }
.an-consent[hidden], .no-js .an-consent { display: none; }
.an-consent p { flex: 1 1 auto; margin: 0; color: var(--soft); font-size: 14px; line-height: 1.5; }
.an-consent p a { color: var(--white); white-space: nowrap; }
.an-consent-actions { flex: none; display: flex; gap: 10px; }
.an-consent-actions .btn { padding: 11px 20px; }
[dir="rtl"] .an-consent { left: 96px; right: 16px; padding: 14px 20px 14px 14px; }
.footer-links { display: inline-flex; flex-wrap: wrap; gap: 8px 20px; }
.link-btn { padding: 0; border: 0; background: none; color: #AEB6C2; font: inherit; cursor: pointer; text-decoration: underline; }
.link-btn:hover { color: var(--white); }
@media (max-width: 640px) {
    .an-consent, [dir="rtl"] .an-consent { left: 12px; right: 12px; bottom: 12px; flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; }
    .an-consent-actions .btn { flex: 1 1 0; }
    .an-consent:not([hidden]) ~ .wa-fab { bottom: calc(var(--an-consent-h, 170px) + 24px); }
}

/* ---------- Language switcher (header) ---------- */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .06); color: var(--white); font: 700 14px var(--body); cursor: pointer; transition: background .2s, border-color .2s; }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); }
.lang-btn svg:last-child { transition: transform .25s; }
.lang-btn[aria-expanded="true"] svg:last-child { transform: rotate(180deg); }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 120; min-width: 200px; margin: 0; padding: 6px; list-style: none; border-radius: 16px; background: rgba(17, 21, 28, .98); border: 1px solid var(--line-2); box-shadow: 0 30px 60px rgba(0, 0, 0, .5); animation: fadeDown .25s var(--ease); }
.lang-menu button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 14px; border: 0; border-radius: 10px; background: transparent; color: var(--text); font: 600 15px var(--body); text-align: start; cursor: pointer; }
.lang-menu button:hover, .lang-menu button:focus-visible { background: rgba(255, 255, 255, .07); color: var(--white); }
.lang-menu button[aria-current="true"] { color: var(--accent); }
.lang-menu button[aria-current="true"]::after { content: "✓"; }
[dir="rtl"] .lang-menu { right: auto; left: 0; }
.is-translating .lang-btn { opacity: .7; }

/* Google Translate: hide its own toolbar, tooltips and highlights (our header menu drives it) */
#google_translate_element, body > .skiptranslate, iframe.skiptranslate, .goog-te-banner-frame,
#goog-gt-tt, .goog-te-balloon-frame, .goog-tooltip, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; }
html, body { top: 0 !important; position: static !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
font[style] { background: none !important; box-shadow: none !important; }

/* Arabic (right-to-left) adjustments */
[dir="rtl"] .arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .gallery-nav.prev svg { transform: none; }
[dir="rtl"] .gallery-nav.next svg { transform: rotate(180deg); }
[dir="rtl"] .gallery-nav.prev { left: auto; right: 16px; }
[dir="rtl"] .gallery-nav.next { right: auto; left: 16px; }
[dir="rtl"] .gallery-count { right: auto; left: 16px; }
[dir="rtl"] .search-field svg { left: auto; right: 16px; }
[dir="rtl"] .search-field input { padding: 13px 46px 13px 18px; }
[dir="rtl"] .select-wrap select { padding: 12px 16px 12px 42px; }
[dir="rtl"] .select-wrap svg { right: auto; left: 14px; }
[dir="rtl"] .main-nav a::after { transform-origin: right; }
[dir="rtl"] .prose ul, [dir="rtl"] .prose ol, [dir="rtl"] .faq-answer ul { padding-left: 0; padding-right: 22px; }
[dir="rtl"] .prose blockquote { border-left: 0; border-right: 3px solid var(--accent); padding: 8px 20px 8px 0; }
[dir="rtl"] .wa-fab { right: auto; left: 20px; }
[dir="rtl"] .media-chip { left: auto; right: 20px; }
[dir="rtl"] .cta-shade { background: linear-gradient(270deg, rgba(11, 14, 19, .94) 0%, rgba(11, 14, 19, .72) 55%, rgba(11, 14, 19, .25) 100%); }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.rise { animation: rise .9s var(--ease) both; animation-delay: var(--d, 0s); }

/* ---------- Keyframes ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); } 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
@keyframes waPulse { 0% { box-shadow: 0 12px 30px rgba(0, 0, 0, .4), 0 0 0 0 rgba(37, 211, 102, .55); } 70% { box-shadow: 0 12px 30px rgba(0, 0, 0, .4), 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 12px 30px rgba(0, 0, 0, .4), 0 0 0 0 rgba(37, 211, 102, 0); } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes flash { 0% { box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 0 rgba(242, 106, 33, .7); } 100% { box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 18px rgba(242, 106, 33, 0); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .header-phone { display: none; }
    .main-nav ul { gap: 20px; }
}
@media (max-width: 900px) {
    .menu-toggle { display: inline-flex; }
    .main-nav { position: absolute; top: 100%; left: 16px; right: 16px; display: none; padding: 12px; border-radius: 20px; background: rgba(17, 21, 28, .97); border: 1px solid var(--line-2); box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
    .site-header.nav-open .main-nav { display: block; animation: fadeDown .3s var(--ease); }
    .site-header.nav-open { background: rgba(11, 14, 19, .95); }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav a { display: block; padding: 14px 12px; font-size: 17px; }
    .main-nav a::after { display: none; }
    .header-actions .btn-accent { display: none; }
    .sticky-col { position: static; }
    .price-quick { display: flex; }
}
@media (max-width: 640px) {
    .wrap, .faq-wrap { padding: 0 16px; }
    .header-row { padding: 12px 16px; }
    .logo-plate img { height: 34px; }
    .page-hero { padding: 130px 0 56px; }
    .page-hero.has-image { padding: 140px 0 72px; }
    .page-hero.is-compact { padding: 80px 0 12px; }
    .page-hero-lead { font-size: 17px; }
    .section, .faq { padding: 80px 0; }
    .section.wrap { padding-left: 16px; padding-right: 16px; }
    .content-card { padding: 28px 22px; }
    .booking { padding: 10px; border-radius: 22px; }
    .doc-card, .info-card { padding: 26px; }
    .cta-box { padding: 56px 24px; }
    .split, .with-aside { gap: 40px; }
    .car-grid, .doc-grid, .grid-2 { grid-template-columns: 1fr; }
    .price-card .rates { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .rise, .page-hero-img, .wa-fab, .car.is-entering, .faq-item[open] .faq-answer, .booking.is-flash, .an-consent, .faq-vote-thanks.is-pop, .faq-helpful.is-bump { animation: none !important; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .car, .car-media img, .doc-card, .info-card, .post, .post-media img, .btn { transition: none; }
}
