/* Layout: night-map hero holding the booking card → trip panel (route map | car + details) → quiet info bands. Deliberately single dark theme. */
:root{
  --ink:#0B0D10;
  --map-land:#0F1216; /* = C.land in map.js */
  --panel:#14171C;
  --panel-2:#1B1F25;
  --line:#2A2F37;
  --text:#EEE9E0;
  --muted:#9C978F;
  /* Soft light text on dark chrome: header nav, language button, footer */
  --soft:#B9B4AB;
  --brass:#FBB03B;
  /* Primary buttons and the header's current item: one gold in dark and light sections alike (.light redefines --brass) */
  --gold:#FBB03B;
  --gold-hover:#FCC264;
  --brass-soft:rgba(251,176,59,.12);
  --sea:#0D1A22;
  --coast:#24404D;
  --ok:#86C9A2;
  --err:#E8877B;
  --f-display:"Manrope","Segoe UI",system-ui,sans-serif;
  --f-body:"Onest","Segoe UI",system-ui,-apple-system,sans-serif;
  color-scheme:dark;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap} /* read aloud, not shown */
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--ink);color:var(--text);font:400 16px/1.55 var(--f-body);-webkit-font-smoothing:antialiased}
button,input,textarea{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--brass);outline-offset:2px}
.wrap{max-width:1180px;margin:0 auto;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
.eyebrow{font-size:12px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:var(--brass);margin:0}
h1,h2,h3{font-family:var(--f-display);font-weight:700;letter-spacing:-.025em;text-wrap:balance;margin:0}

/* Hero */
/* The map is clipped, not the hero: the search lists drop below the hero's edge, over the next section (z-index) */
.hero{position:relative;z-index:3;border-bottom:1px solid var(--line)}
.hero-map{position:absolute;inset:0;z-index:0;overflow:hidden}
.hero-map svg{display:block;width:100%;height:100%}
.hero::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(90deg,var(--ink) 0%,rgba(11,13,16,.9) 30%,rgba(11,13,16,.25) 50%,rgba(11,13,16,0) 62%)}
/* The hero fills the first screen on any display (svh: phone browser bars don't make it jump);
   the content sits in the vertical middle and the map behind it grows to the full height. */
.hero>.wrap{position:relative;z-index:2;min-height:100vh;min-height:100svh;display:flex;flex-direction:column}
/* Logo | nav (centred on the page) | language: equal side columns keep the nav at the true centre */
.top{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;padding-block:22px}
.top-end{display:flex;align-items:center;gap:10px;justify-self:end}
/* Fixed header: clear over the hero, then a dark glass bar once the page scrolls (.stuck).
   The hero keeps --top-h free at its top so nothing jumps. On phones it tucks away while
   scrolling down past the form (.tuck) and returns on the way up. */
:root{--top-h:84px}
.site-top{position:fixed;top:0;inset-inline:0;z-index:50;border-bottom:1px solid transparent;transition:background .25s,border-color .25s,transform .3s}
/* No backdrop blur here, on the nav or on the search card: blurring what scrolls or animates behind
   them (the hero map) is recalculated every frame and made scrolling stutter. Near-opaque fills instead. */
.site-top.stuck{background:rgba(11,13,16,.97);border-bottom-color:var(--line)}
.site-top.tuck{transform:translateY(-100%)}
.hero>.wrap{padding-top:var(--top-h)}
#trip,#routes,#why,#how,#faq{scroll-margin-top:72px}
.logo{font-family:var(--f-display);font-weight:800;font-size:19px;letter-spacing:.01em;display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--text)}
.logo-mark{flex:none;width:28px;height:28px}
.logo b{font-weight:inherit;color:var(--gold)}
/* Segmented control, the .lc-tabs look: a dark track over the map, the current item filled in brass (as the picked day in the calendar) */
.top-links{display:flex;gap:4px;padding:4px;border-radius:12px;background:rgba(20,23,28,.9);
  border:1px solid var(--line)}
.top-links a{color:var(--soft);text-decoration:none;font:500 14px var(--f-body);padding:8px 18px;border-radius:9px;white-space:nowrap;transition:background .15s,color .15s}
.top-links a:hover{color:var(--text);background:rgba(255,255,255,.04)}
.top-links a[aria-current]{background:var(--gold);color:#14171C;font-weight:600}

/* Dropdown: BakuTransfer's .pick pattern (REUSE THIS for any dropdown — never a native <select>).
   .pick > .pick-btn (label + chevron) + .pick-pop.tour-pop (options); open/close via togglePick(id). */
.pick{position:relative}
.pick-btn{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:12px 14px;
  border:1px solid var(--line);border-radius:10px;background:var(--panel-2);font:500 15px var(--f-body);color:var(--text);cursor:pointer;transition:border-color .2s;text-align:start}
.pick-btn:hover,.pick.open .pick-btn{border-color:var(--brass)}
.pick-btn svg{width:16px;height:16px;color:var(--muted);flex:none;transition:transform .2s}
.pick.open .pick-btn svg:last-child{transform:rotate(180deg)}
.pick-pop{position:absolute;top:calc(100% + 8px);left:0;right:0;background:var(--panel);border:1px solid var(--line);
  border-radius:12px;box-shadow:0 24px 60px -20px #000;z-index:40;display:none}
.pick.open .pick-pop{display:block}
.tour-pop{max-height:300px;overflow:auto;padding:6px}
.tour-pop button,.tour-pop a{display:block;width:100%;text-align:start;padding:10px 12px;border:none;background:none;border-radius:8px;
  font:500 14px var(--f-body);color:var(--text);text-decoration:none;cursor:pointer;transition:background .15s}
.tour-pop button:hover,.tour-pop a:hover{background:var(--panel-2)}
.tour-pop .sel{font-weight:600;color:var(--brass)}
.tour-pop .sel::after{content:"✓";float:inline-end;color:var(--brass)}

/* Language switcher: compact pill version of .pick in the header */
/* Language | currency: two segments on the nav's dark track, same height, padding and type */
.lang-pick .lc-btn{width:auto;gap:4px;padding:4px;border-radius:12px;background:rgba(20,23,28,.9);border:1px solid var(--line);color:var(--soft)}
.lc-seg{display:flex;align-items:center;gap:7px;padding:8px 12px;border-radius:9px;font:500 14px var(--f-body);transition:background .15s,color .15s}
.lc-btn .globe{width:15px;height:15px;color:currentColor}
.lang-pick .lc-btn svg:last-child{transform:none} /* the generic .pick chevron flip doesn't apply here */
.lang-pick .lc-btn:hover .lc-seg{background:rgba(255,255,255,.04);color:var(--text)}
.lang-pick.open .lc-btn{border-color:var(--gold)}
.lang-pick.open .lc-seg{color:var(--text)}
.lang-pick .pick-pop{inset-inline:auto 0;min-width:180px}
.hero-body{flex:1;display:flex;flex-direction:column;justify-content:center;padding-block:44px 64px;max-width:580px}
.hero h1{font-size:clamp(36px,5vw,64px);line-height:1.06;margin:14px 0 16px;font-weight:800;letter-spacing:-.035em}
.sub{color:var(--muted);max-width:48ch;margin:0;font-size:17px}

/* Booking card */
.card{margin-top:30px;background:rgba(20,23,28,.95);border:1px solid var(--line);border-radius:20px;padding:10px;box-shadow:0 40px 90px -40px #000}
.route-fields{position:relative;display:grid;gap:6px}
.row2{display:grid;grid-template-columns:1.35fr 1fr 1.1fr;gap:6px;margin-top:6px}
.field{position:relative;display:flex;align-items:center;gap:12px;background:var(--panel-2);border:1px solid transparent;border-radius:12px;padding:10px 14px;min-width:0;transition:border-color .15s}
.field:focus-within{border-color:var(--brass)}
.field.bad{border-color:var(--err)}
.field.open{z-index:30}
.field .ic{flex:none;width:18px;height:18px;color:var(--muted)}
.field .ic svg{width:100%;height:100%;display:block}
.field .in{flex:1;min-width:0}
.field label,.lbl{display:block;font-size:11px;font-weight:500;letter-spacing:.09em;text-transform:uppercase;color:var(--muted)}
.field input{display:block;width:100%;background:transparent;border:0;outline:none;padding:2px 0 0;font-size:15px;font-weight:500;color:var(--text);text-overflow:ellipsis}
.field input::placeholder{color:#6E6A64;font-weight:400}
.field input[type=time]{min-height:24px}
/* Clear (x) in a place field: shown while it holds text; one tap empties it */
.clr{flex:none;display:grid;place-items:center;width:26px;height:26px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.08);color:var(--muted);cursor:pointer;transition:background .15s,color .15s}
.clr:hover{background:rgba(255,255,255,.14);color:var(--text)}
.clr svg{width:10px;height:10px}
.clr[hidden]{display:none}
.field .clr{align-self:flex-end;margin-bottom:1px} /* on the line of the typed text, not the middle of label + text */

/* Date picker: our own calendar (home.js "Date picker"); the whole field opens it */
.date-btn{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:24px;padding:2px 0 0;border:0;background:none;
  color:var(--text);font:500 15px var(--f-body);text-align:start;white-space:nowrap;cursor:pointer}
.date-btn:focus-visible{outline:none}
.date-btn::after{content:"";position:absolute;inset:0;border-radius:12px}
.date-btn span{overflow:hidden;text-overflow:ellipsis}
.date-btn svg{flex:none;width:16px;height:16px;color:var(--muted)}
.cal{position:absolute;top:calc(100% + 6px);inset-inline-start:-1px;z-index:2;width:304px;max-width:calc(100vw - 32px);
  background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:12px;box-shadow:0 24px 60px -20px #000}
.cal.up{top:auto;bottom:calc(100% + 6px)}
.cal-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.cal-head b{font:700 15px var(--f-display);letter-spacing:-.01em}
.cal-nav{flex:none;width:32px;height:32px;display:grid;place-items:center;border:1px solid var(--line);border-radius:9px;background:none;color:var(--text);cursor:pointer;transition:border-color .15s,color .15s}
.cal-nav:hover:not(:disabled){border-color:var(--brass);color:var(--brass)}
.cal-nav:disabled{opacity:.3;cursor:default}
.cal-nav svg{width:14px;height:14px}
[dir="rtl"] .cal-nav svg{transform:scaleX(-1)}
.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}
.cal-grid .wd{padding:4px 0 6px;text-align:center;font-size:11px;font-weight:500;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.cal-grid button{aspect-ratio:1;border:0;border-radius:9px;background:none;color:var(--text);font:500 14px var(--f-body);font-variant-numeric:tabular-nums;cursor:pointer;transition:background .12s}
.cal-grid button:hover:not(:disabled){background:var(--panel-2)}
.cal-grid button.today{box-shadow:inset 0 0 0 1px rgba(251,176,59,.45)}
.cal-grid button[aria-pressed="true"]{background:var(--brass);color:#14171C;font-weight:600}
.cal-grid button:disabled{color:#4A4E55;cursor:default}
.cal-grid button:focus-visible{outline:2px solid var(--brass);outline-offset:-2px}
:lang(ar) .cal-grid .wd{letter-spacing:0}
/* Time: hours | minutes columns, aligned to the field's end so it stays on screen in the middle column */
.tpop{width:252px;inset-inline:auto -1px;padding:8px}
.tcols{display:grid;grid-template-columns:1fr 1fr;gap:6px;direction:ltr} /* hours left of minutes, as on a clock */
.tcol{height:236px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--line) transparent;display:flex;flex-direction:column;gap:2px;padding:2px}
.tcol button{position:relative;flex:none;display:flex;align-items:center;justify-content:center;gap:6px;height:36px;border:0;border-radius:9px;background:none;
  color:var(--text);font:500 15px var(--f-body);font-variant-numeric:tabular-nums;cursor:pointer;transition:background .12s}
.tcol button:hover{background:var(--panel-2)}
.tcol button[aria-selected="true"]{background:var(--brass);color:#14171C;font-weight:600}
.tcol button:focus-visible{outline:2px solid var(--brass);outline-offset:-2px}
.swap{position:absolute;inset-inline-end:12px;top:50%;transform:translateY(-50%);z-index:5;width:36px;height:36px;border-radius:50%;border:1px solid var(--line);background:var(--panel);display:grid;place-items:center;cursor:pointer;color:var(--muted);transition:color .15s,transform .25s}
.swap:hover{color:var(--brass);transform:translateY(-50%) rotate(180deg)}
.route-fields .field{padding-inline-end:58px}
.stepper{display:flex;align-items:center;gap:10px;margin-top:2px}
.stepper button{width:26px;height:26px;padding:0;border-radius:50%;border:1px solid var(--line);background:none;color:var(--text);cursor:pointer;display:grid;place-items:center;line-height:1}
.stepper button svg{display:block;width:11px;height:11px} /* drawn, not "−"/"+" text, so they sit dead centre */
.stepper button:disabled{opacity:.35;cursor:default}
.stepper output{min-width:20px;text-align:center;font-weight:600;font-variant-numeric:tabular-nums}
.btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;border:0;border-radius:12px;padding:16px 18px;font-size:15px;font-weight:600;cursor:pointer;background:var(--gold);color:#14171C;transition:background .2s,transform .1s}
.btn:hover{background:var(--gold-hover)}
.btn:disabled{opacity:.6;cursor:default}
.btn:active{transform:scale(.99)}
.btn.ghost{background:none;border:1px solid var(--line);color:var(--text);width:auto;padding:10px 16px;font-size:14px}
.btn.ghost:hover{border-color:var(--brass);color:var(--brass)}
.card .btn{margin-top:10px}
.form-err{color:var(--err);font-size:14px;margin:10px 4px 0}
.trust{display:flex;flex-wrap:wrap;gap:8px 22px;margin:22px 0 0;padding:0;list-style:none;font-size:14px;color:var(--muted)}
.trust li{display:flex;align-items:center;gap:8px}
.trust li::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--brass)}

/* Autocomplete */
.ac{position:absolute;left:-1px;right:-1px;top:calc(100% + 6px);background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:6px;max-height:330px;overflow:auto;box-shadow:0 24px 60px -20px #000}
.ac button{display:flex;align-items:center;gap:12px;width:100%;text-align:start;background:none;border:0;padding:9px 10px;border-radius:9px;cursor:pointer}
.ac button[aria-selected="true"],.ac button:hover{background:var(--panel-2)}
.ac .oi{flex:none;width:30px;height:30px;border-radius:8px;background:var(--panel-2);display:grid;place-items:center;color:var(--brass)}
.ac .oi svg{width:16px;height:16px}
.ac b{display:block;font-weight:500;font-size:14px}
.ac small{display:block;color:var(--muted);font-size:12px}
.ac-cap{margin:0;padding:10px 10px 4px;font-size:11px;font-weight:500;letter-spacing:.09em;text-transform:uppercase;color:var(--muted)}
.ac-cap:not(:first-child){margin-top:4px;border-top:1px solid var(--line);padding-top:12px}
.ac-empty{margin:0;padding:12px;color:var(--muted);font-size:14px}

/* Trip */
.trip{padding-block:56px 64px;border-bottom:1px solid var(--line)}
/* The booking page opens on the trip: clear of the fixed header, and tall enough that the footer
   doesn't jump while the price loads */
.site-top + .trip{padding-top:calc(var(--top-h) + 36px);min-height:80vh}
.trip-msg{margin:0;padding:24px 0;color:var(--muted)}
.trip-msg.err{color:var(--err)}
a.btn{text-decoration:none}
.trip-head{display:flex;align-items:end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:22px}
.trip-head h2{font-size:clamp(22px,2.6vw,30px);margin-top:8px}
.trip-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}
.map-card{background:var(--panel);border:1px solid var(--line);border-radius:20px;overflow:hidden}
/* Map + "included" stick together below the fixed header, when the screen is tall enough to show both */
.trip-side{display:grid;gap:14px}
@media (min-width:901px) and (min-height:760px){.trip-side{position:sticky;top:calc(var(--top-h) + 16px)}}
.map-card svg{display:block;width:100%;height:auto;aspect-ratio:16/11}
.stats{display:grid;grid-template-columns:1fr 1fr 1.7fr .9fr;border-top:1px solid var(--line)}
.stat{padding:14px 16px;min-width:0}
.stat+.stat{border-inline-start:1px solid var(--line)}
.stat b{display:block;font-family:var(--f-display);font-weight:700;font-size:17px;line-height:1.3;margin-top:4px;font-variant-numeric:tabular-nums}
.map-note{font-size:12px;color:var(--muted);padding:0 16px 14px;margin:0}
/* Booking panel spacing, one scale: label→field 8, rows 20, columns 16, heading→content 16,
   sections 28, fields→terms line 24, terms→button→payment line 12, panel padding 24 */
.panel{background:var(--panel);border:1px solid var(--line);border-radius:20px;padding:24px;overflow-x:clip} /* a tooltip must never widen the page */
.panel h3{font-size:15px;font-weight:500;letter-spacing:0;margin-bottom:16px}
/* Car list: a quiet list where the photo, the class name and the price lead; only the chosen car
   gets a frame (brass, the site's selection colour). */
.cars{display:grid;gap:2px;margin:0 0 28px;padding:0;border:0}
.car{display:grid;grid-template-columns:100px 1fr var(--pr-w,auto);align-items:center;gap:14px;padding:10px 14px;border:1px solid transparent;border-radius:16px;cursor:pointer;transition:border-color .15s,background .15s}
.car:hover{background:var(--panel-2)}
.car input{position:absolute;opacity:0;pointer-events:none}
.car:has(input:checked){border-color:var(--brass);background:var(--brass-soft)}
.car:has(input:focus-visible){outline:2px solid var(--brass);outline-offset:2px}
/* Too small for the group: faded, but the reason badge stays readable */
.car.off{cursor:not-allowed}
.car.off .ph,.car.off>svg{opacity:.35}
.car.off .nm,.car.off .meta,.car.off .pr{opacity:.45}
.car.off:hover{background:none}
.car .tag.no{background:rgba(192,57,43,.1);color:var(--err)}
.car>svg{width:62px;height:28px;color:var(--text);justify-self:center}
.car .ph{width:100px;height:auto;display:block}
.car .nm-row{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px}
.car .nm{font-family:var(--f-display);font-size:18px;font-weight:700;letter-spacing:-.02em;line-height:1.2}
.car .tag{font-size:10.5px;font-weight:600;line-height:1;padding:4px 8px;border-radius:999px;background:var(--panel-2);color:var(--muted);white-space:nowrap}
.car:has(input:checked) .tag{background:var(--brass);color:#fff}
/* model, then capacity: two fixed lines so every card is the same height in any currency */
.car .meta{display:block;margin-top:2px}
.car .md{display:block;font-size:13px;color:var(--muted)}
.car .cap{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:12px;line-height:16px;color:var(--muted);margin-top:3px}
.car .cap>span{display:flex;align-items:center;gap:4px;white-space:nowrap}
/* icon + number stay together ("up to 👤 3"); the number a touch stronger than the words */
.car .cap b{display:inline-flex;align-items:center;gap:2px;font-weight:500;color:var(--text)}
.car .cap svg{flex:none;display:block;width:12px;height:12px;color:var(--muted)}
.car .cap>span:last-child{color:var(--text);font-weight:500}
.car .pr{font-family:var(--f-display);font-size:22px;font-weight:800;letter-spacing:-.02em;text-align:end;font-variant-numeric:tabular-nums;white-space:nowrap}
.car .pr small{display:block;font-family:var(--f-body);font-size:11px;color:var(--muted);font-weight:400}
.car>div{min-width:0}
.chip{display:inline-block;font-size:12px;color:var(--brass);border:1px solid rgba(251,176,59,.35);border-radius:999px;padding:3px 10px;margin:-4px 0 12px}
.inputs{display:grid;grid-template-columns:1fr 1fr;gap:20px 16px}
.inputs .full{grid-column:1/-1}
.inputs:has(#flight-box[hidden]) #email-box{grid-column:1/-1}
.box{min-width:0}
/* Every label row is the same height (with or without an (i)), so fields side by side line up */
.box label{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:18px;margin-bottom:8px}
.box label em,.lbl-row em{font-style:normal;text-transform:none;letter-spacing:0;color:#6E6A64}
.lbl-row{display:flex;align-items:center;gap:6px;min-height:18px;margin-bottom:8px}
.field .lbl-row{margin-bottom:0} /* search form: label rows sit as tight as plain labels */
.box .lbl-row label{margin:0}
.lbl-row em{margin-inline-start:auto;font-size:11px}
/* (i) tooltip: hover / keyboard focus on desktop, tap (.on, site.js) on phones */
.tip{position:relative;display:grid;place-items:center;width:18px;height:18px;margin:-2px 0;padding:0;border:0;border-radius:50%;background:none;color:var(--muted);cursor:help}
.tip:hover,.tip.on{color:var(--brass)}
.tip svg{width:15px;height:15px}
.tip-pop{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(calc(-50% + var(--dx,0px)));z-index:20;width:230px;padding:9px 12px;border-radius:10px;
  background:#16181C;color:#F3F1EC;font:400 12.5px/1.45 var(--f-body);text-align:start;text-transform:none;letter-spacing:0;
  box-shadow:0 10px 30px -10px rgba(0,0,0,.4);display:none;pointer-events:none}
.tip-pop::after{content:"";position:absolute;top:100%;left:calc(50% - var(--dx,0px));margin-left:-6px;border:6px solid transparent;border-top-color:#16181C}
/* display, not visibility: a hidden bubble near the screen edge must not widen the page */
.tip:hover .tip-pop,.tip:focus-visible .tip-pop,.tip.on .tip-pop{display:block;animation:tip-in .15s ease}
@keyframes tip-in{from{opacity:0}}

/* "Included in every ride": a card under the trip map, details behind each (i) */
.incl{padding:16px 20px}
.incl .lbl{margin:0 0 10px}
.incl ul{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px;margin:0;padding:0;list-style:none}
.incl li{display:flex;align-items:center;gap:6px;font-size:13.5px;font-weight:500;line-height:1.3}
.incl li>svg{flex:none;width:16px;height:16px;color:var(--brass)}
.incl .tip{flex:none}
.box input,.box textarea{display:block;width:100%;background:var(--panel-2);border:1px solid var(--line);border-radius:10px;padding:11px 12px;font-size:15px;outline:none;resize:vertical}
.box input:focus,.box textarea:focus{border-color:var(--brass)}
.box input[aria-invalid="true"]{border-color:var(--err)}
.box .hint{font-size:12px;color:var(--muted);margin:6px 0 0}
/* Phone: country picker (flag + dial code) | national number. dir=ltr on the group: numbers read
   left to right in every language; the list itself follows the page direction. */
.phone-grp{position:relative;display:flex;gap:8px}
.phone-grp>input{flex:1;min-width:0}
.cc-pick{flex:none;position:static} /* the list spans the whole phone row, so it stays inside the panel */
.cc-btn{width:auto;height:100%;gap:8px;padding:0 10px 0 12px}
.cc-flag{width:22px;height:16px;object-fit:cover;border-radius:3px;display:block;box-shadow:0 0 0 1px rgba(22,24,28,.12)}
.cc-dial{font-variant-numeric:tabular-nums}
.cc-btn svg{width:14px;height:14px}
.cc-pop{padding:8px}
.box .cc-search{padding:9px 12px;font-size:14px;margin-bottom:6px}
.cc-list{max-height:240px;overflow:auto}
.cc-list button{display:flex;align-items:center;gap:10px;width:100%;padding:9px 10px;border:0;border-radius:8px;background:none;
  font:500 14px var(--f-body);color:var(--text);text-align:start;cursor:pointer}
.cc-list button:hover,.cc-list button.sel{background:var(--panel-2)}
.cc-list img{flex:none;width:22px;height:16px;object-fit:cover;border-radius:3px;box-shadow:0 0 0 1px rgba(22,24,28,.12)}
.cc-list .dial{margin-inline-start:auto;color:var(--muted);font-variant-numeric:tabular-nums;direction:ltr}
.box .err{font-size:12px;color:var(--err);margin:8px 0 0}
.panel .btn{margin-top:20px}
.fine{font-size:13px;color:var(--muted);margin:12px 0 0;text-align:center}
.fine.agree{margin-top:24px} /* sits right above the Book button */
.fine.agree + .btn{margin-top:12px}
.done{text-align:start}
.done .check{width:44px;height:44px;border-radius:50%;background:rgba(134,201,162,.14);color:var(--ok);display:grid;place-items:center;margin-bottom:16px}
.done h3{font-family:var(--f-display);font-size:22px;letter-spacing:-.01em;margin-bottom:6px}
.ref{display:flex;align-items:baseline;justify-content:space-between;gap:12px;border:1px dashed rgba(251,176,59,.45);border-radius:12px;padding:14px 16px;margin:18px 0}
.ref b{font-family:var(--f-display);font-size:20px;font-weight:700;letter-spacing:.06em;color:var(--brass);white-space:nowrap}
.sum{display:grid;grid-template-columns:auto 1fr;gap:8px 18px;margin:0 0 18px;font-size:14px}
.sum dt{color:var(--muted)}
.sum dd{margin:0;text-align:end;min-width:0}
.done p{color:var(--muted);font-size:14px;margin:0}

/* Info bands */
/* Home sections alternate so each reads as its own block: cream (routes) → white (why) →
   dark (how it works, echoing the hero) → cream (FAQ). No rules between them:
   the change of background is the divider. */
.band{padding-block:72px}
.band.white{background:#fff}
.band.white .why li{background:var(--paper);border-color:transparent}
.band.dark{background:var(--ink);color:var(--text)}
.band.dark .steps li{border-top-color:#2A2F37}
.band h2{font-size:clamp(22px,2.6vw,30px);margin:10px 0 28px}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:0;padding:0;list-style:none;counter-reset:s}
.steps li{counter-increment:s;border-top:1px solid var(--line);padding-top:18px;min-width:0}
.steps li::before{content:counter(s);display:block;font-family:var(--f-display);font-weight:700;font-size:13px;color:var(--brass);margin-bottom:10px}
.steps b{display:block;font-weight:600;margin-bottom:6px}
.steps p{margin:0;color:var(--muted);font-size:15px;max-width:34ch}
/* Popular routes: destination first (big, with its kind's icon), where from, time and distance,
   then the price beside an arrow button that fills with amber on hover */
.routes{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:0;padding:0;list-style:none}
.routes a{position:relative;display:flex;flex-direction:column;height:100%;padding:20px;border:1px solid var(--line);border-radius:18px;
  background:var(--panel);color:var(--text);text-decoration:none;transition:border-color .15s,box-shadow .2s,transform .2s}
.routes a:hover{border-color:var(--brass);box-shadow:0 18px 36px -24px rgba(22,24,28,.45);transform:translateY(-3px)}
.rc-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:18px}
.rc-ic{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--brass-soft);color:var(--brass)}
.rc-badge{font-size:11px;font-weight:600;line-height:1;padding:6px 9px;border-radius:999px;background:var(--gold);color:#14171C;white-space:nowrap}
.rc-ic svg{width:18px;height:18px}
/* Pickup → drop-off, top to bottom: hollow dot and origin, dashed line, amber dot and destination */
.rc-trip{position:relative;display:grid;gap:14px}
/* Dot centre to dot centre; the dashes march towards the destination, like the routes on the hero map */
.rc-trip::before{content:"";position:absolute;inset-inline-start:4px;top:10px;bottom:12px;width:2px;
  background:repeating-linear-gradient(to bottom,var(--brass) 0 4px,transparent 4px 8px);opacity:.7;animation:rc-march .9s linear infinite}
@keyframes rc-march{to{background-position:0 8px}}
@media (prefers-reduced-motion:reduce){.rc-trip::before{animation:none}}
.rc-stop{position:relative;display:flex;align-items:center;gap:12px;min-width:0}
.rc-dot{flex:none;width:10px;height:10px;border-radius:50%;border:2px solid var(--muted);background:var(--panel);box-sizing:border-box;z-index:1}
.rc-dot.end{border:0;background:var(--brass);box-shadow:0 0 0 3px var(--brass-soft)}
.rc-from{font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rc-to{font-family:var(--f-display);font-size:21px;font-weight:700;letter-spacing:-.02em;line-height:1.2}
.rc-meta{display:flex;flex-wrap:wrap;gap:4px 14px;margin-block:18px;font-size:13px;color:var(--muted);min-height:1.4em}
.rc-meta span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.rc-meta svg{width:14px;height:14px;flex:none}
.rc-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:16px;border-top:1px solid var(--line)} /* auto: prices line up across a row; the rule sets the price apart */
.rc-price{font-size:13px;color:var(--muted);min-height:28px;display:flex;align-items:baseline;gap:4px;white-space:nowrap}
.rc-price b{font-family:var(--f-display);font-size:24px;font-weight:800;letter-spacing:-.02em;color:var(--text)}
.rc-go{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;border:1px solid var(--line);color:var(--text);transition:background .15s,border-color .15s,color .15s}
.rc-go svg{width:16px;height:16px}
.routes a:hover .rc-go{background:var(--gold);border-color:var(--gold);color:#14171C}
[dir="rtl"] .rc-go svg{transform:scaleX(-1)}
@media (max-width:1000px){.routes{grid-template-columns:repeat(2,minmax(0,1fr))}} /* minmax: a card's content can't widen its column on 360px phones */
/* phones: the whole card is the tap target, so the arrow goes and the price keeps one line */
@media (max-width:560px){.routes{gap:10px}.routes a{padding:16px}.rc-top{margin-bottom:12px}.rc-to{font-size:18px}.rc-price b{font-size:20px}.rc-go{display:none}}
@media (prefers-reduced-motion:reduce){.routes a{transition:none}.routes a:hover{transform:none}}

/* Why DayTripBaku: six cards, icon in a soft amber disc, title and one line of detail */
.why{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:0;padding:0;list-style:none}
.why li{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:24px;min-width:0}
.why-ic{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:var(--brass-soft);color:var(--brass);margin-bottom:16px}
.why-ic svg{width:22px;height:22px}
.why b{display:block;font-family:var(--f-display);font-size:17px;font-weight:700;letter-spacing:-.01em;margin-bottom:6px}
.why p{margin:0;color:var(--muted);font-size:14.5px;line-height:1.55}
@media (max-width:900px){.why{grid-template-columns:1fr 1fr}}
/* phones: icon beside the text, so six cards don't make a long scroll */
@media (max-width:560px){
  .why{grid-template-columns:1fr;gap:10px}
  .why li{display:grid;grid-template-columns:44px 1fr;column-gap:14px;padding:16px}
  .why-ic{grid-row:span 2;margin:0}
  .why b{margin-bottom:2px}
}
.faq{display:grid;gap:0;max-width:760px;margin-inline:auto}
/* FAQ sits in the middle of the page: centred heading over a centred, left-aligned list */
#faq .eyebrow,#faq h2{text-align:center}
.faq details{border-top:1px solid var(--line);padding:16px 0}
.faq details:last-child{border-bottom:1px solid var(--line)}
.faq summary{cursor:pointer;font-weight:500;list-style:none;display:flex;justify-content:space-between;gap:16px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--brass);font-size:20px;line-height:1}
.faq details[open] summary::after{content:"−"}
.faq p{color:var(--muted);margin:10px 0 0;max-width:62ch}
/* Dark, closing the page as the hero opens it; soft light text (readable, not glaring), links light up on hover */
footer{padding-block:32px;background:var(--ink);color:var(--soft);font-size:14px}
footer .foot-links a{color:var(--soft);text-decoration:none;transition:color .15s}
footer .foot-links a:hover{color:var(--gold)}
footer .wrap{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
/* WhatsApp: a floating round button on every page; its label shows on hover (desktop) */
.wa-fab{position:fixed;inset-inline-end:20px;bottom:20px;z-index:45;display:grid;place-items:center;width:56px;height:56px;border-radius:50%;
  background:#25D366;color:#fff;box-shadow:0 10px 26px -8px rgba(0,0,0,.45);transition:transform .15s}
.wa-fab svg{width:28px;height:28px}
.wa-fab:hover{transform:scale(1.06)}
.wa-tip{position:absolute;inset-inline-end:calc(100% + 10px);white-space:nowrap;padding:8px 12px;border-radius:10px;background:#16181C;color:#F3F1EC;
  font-size:13px;font-weight:500;opacity:0;pointer-events:none;transform:translateX(6px);transition:opacity .15s,transform .15s}
.wa-fab:hover .wa-tip,.wa-fab:focus-visible .wa-tip{opacity:1;transform:none}
@media (max-width:560px){.wa-fab{width:52px;height:52px;inset-inline-end:16px;bottom:16px}.wa-tip{display:none}}
/* Home and day trips pages: a heartbeat every few seconds (two quick beats and a ring), to be noticed; still on hover */
.wa-fab.beat{animation:wa-beat 3.2s ease-in-out 1.5s infinite}
.wa-fab.beat::before{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid #25D366;opacity:0;animation:wa-ring 3.2s ease-out 1.5s infinite;pointer-events:none}
.wa-fab.beat:hover,.wa-fab.beat:hover::before{animation:none}
@keyframes wa-beat{0%,30%,100%{transform:scale(1)}7%{transform:scale(1.14)}14%{transform:scale(1)}21%{transform:scale(1.1)}}
@keyframes wa-ring{0%{transform:scale(1);opacity:.7}45%{transform:scale(1.7);opacity:0}100%{opacity:0}}
@media (prefers-reduced-motion:reduce){.wa-fab,.wa-tip{transition:none}.wa-fab.beat,.wa-fab.beat::before{animation:none}}

/* Under the FAQ: where to ask if the answer isn't there */
.faq-more{max-width:760px;margin:24px auto 0;text-align:center;color:var(--muted);font-size:15px}
.faq-more a{color:var(--text);font-weight:600;text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--brass)}
.faq-more a:hover{color:var(--brass)}
.foot-links{display:flex;flex-wrap:wrap;gap:8px 18px} /* wraps on phones: "Политика конфиденциальности" is one long word */
.foot-links a,.fine.agree a{color:inherit;text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--line)}
.foot-links a:hover,.fine.agree a:hover{color:var(--text);text-decoration-color:currentColor}

/* Contact page: WhatsApp card (green accent) then email and hours, on paper like the legal pages */
.contact{padding:calc(var(--top-h) + 48px) 0 72px;border-bottom:1px solid var(--line)}
.contact-doc{max-width:960px}
.contact-doc h1{font-size:clamp(30px,4vw,44px);margin:10px 0 6px}
.ct-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.ct-card{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:22px;border-radius:16px;background:var(--panel);border:1px solid var(--line);
  color:var(--text);text-decoration:none;transition:border-color .15s,transform .15s}
a.ct-card:hover{border-color:var(--brass);transform:translateY(-2px)}
.ct-ic{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--brass-soft);color:var(--brass);margin-bottom:10px}
.ct-ic svg{width:20px;height:20px}
.ct-wa .ct-ic{background:#25D366;color:#fff}
a.ct-wa:hover{border-color:#25D366}
.ct-lbl{font-size:11px;font-weight:500;letter-spacing:.09em;text-transform:uppercase;color:var(--muted)}
.ct-val{font-size:20px;font-weight:600;overflow-wrap:anywhere}
.ct-sub{font-size:14px;line-height:1.5;color:var(--muted)}
.ct-go{margin-top:auto;padding-top:12px;font-size:14px;font-weight:600;color:var(--brass)}
.flip{display:inline-block}
[dir="rtl"] .flip{transform:scaleX(-1)}
/* "Available 24/7": a quiet line under the lead, a green dot for "open now" */
.ct-hours{display:inline-flex;align-items:center;gap:8px;margin:-14px 0 28px;padding:6px 12px;border-radius:999px;background:var(--panel);border:1px solid var(--line);font-size:14px;font-weight:500}
.ct-live{width:8px;height:8px;border-radius:50%;background:#25D366;box-shadow:0 0 0 3px rgba(37,211,102,.18)}
.ct-note{margin:28px 0 0;color:var(--muted);font-size:15px}
@media (max-width:760px){.ct-grid{grid-template-columns:1fr}.ct-val{font-size:18px}}
@media (prefers-reduced-motion:reduce){.ct-card{transition:none}}

/* About page: the contact page layout, plus a short story, the promises and a closing call to action */
.ab-story{max-width:68ch}
.ab-story p{line-height:1.7;margin:0 0 14px}
.ab-h{font-size:22px;margin:44px 0 16px}
.ab-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.ab-grid h3{font-size:17px;margin:0}
.ab-grid p{margin:0}
.ab-cta{display:flex;align-items:center;justify-content:space-between;gap:16px 24px;flex-wrap:wrap;margin-top:44px;padding:26px 28px;border-radius:16px;background:var(--panel);border:1px solid var(--line)}
/* The page ends on the card: the same space under it as over it */
.about{padding-bottom:44px}
.ab-cta h2{font-size:22px;margin:0}
.ab-cta div{display:flex;gap:10px;flex-wrap:wrap}
.ab-cta .btn{width:auto;padding:13px 20px}
/* A white card like the promises above; the yellow button is the only colour */
@media (max-width:960px){.ab-grid{grid-template-columns:repeat(2,1fr)}}
/* Phones: icon beside the text, so four promises fit without a long scroll */
@media (max-width:560px){.ab-grid{grid-template-columns:1fr;gap:10px}.ab-grid .ct-card{display:grid;grid-template-columns:40px 1fr;gap:4px 14px;padding:16px}.ab-grid .ct-ic{grid-row:span 2;margin:0}.ab-cta{padding:22px}.ab-cta div,.ab-cta .btn{width:100%}}

/* Day trips (/day-trips): intro, destination cards (the .routes look), the request form */
.dt-intro h1{font-size:clamp(30px,4vw,44px);margin:10px 0 6px;max-width:24ch}
.dt-intro .legal-lead{max-width:62ch;margin-bottom:22px}
.dt-intro .trust{margin:0 0 28px}
.dt-cta{display:flex;gap:10px;flex-wrap:wrap}
.dt-cta .btn{width:auto;padding:13px 20px}
.dt-desc{font-size:14px;line-height:1.5;color:var(--muted);margin-top:8px}
@media (min-width:1001px){.dt-dests{grid-template-columns:repeat(3,1fr)}} /* nine cards: three full rows */
/* Card photo: bleeds over the card's padding at the top; the badge sits on its corner */
.dt-photo{position:relative;display:block;aspect-ratio:4/3;margin:-20px -20px 18px;overflow:hidden;border-radius:17px 17px 0 0;background:var(--panel-2)}
.dt-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.dt-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.18) 0%,transparent 35%);pointer-events:none}
.dt-photo .rc-badge{position:absolute;top:12px;inset-inline-start:12px;z-index:1;box-shadow:0 2px 8px rgba(0,0,0,.18)}
.dt-dests a:hover .dt-photo img{transform:scale(1.05)}
.dt-dests .rc-to{font-size:19px}
.dt-dests .rc-meta{margin-block:14px 16px}
.dt-dests .rc-price{min-height:0;align-items:center;color:var(--brass);font-weight:500}
.dt-panel{max-width:760px;margin-inline:auto}
.dt-panel h3{margin-top:28px}
.dt-panel h3:first-child{margin-top:0}
/* "A request, not a booking": the one thing to know before filling in, so a quiet info box, not grey small print */
.dt-note{display:flex;align-items:center;gap:10px;margin:-6px 0 20px;padding:10px 14px;border-radius:12px;background:var(--brass-soft);color:var(--text);font-size:14px;line-height:1.45}
.dt-note svg{flex:none;width:18px;height:18px;color:var(--brass)}
.dt-when{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:6px;margin-bottom:20px}
/* Same label and value heights in all four fields, so the labels line up (the (i) and the steppers are taller) */
.dt-when .lbl,.dt-when .lbl-row{display:flex;align-items:center;min-height:18px}
.dt-when .date-btn{min-height:28px}
.dt-when .stepper{min-height:28px;margin-top:0}
/* Steppers on paper: a visible button, not a faint ring */
.dt-when .stepper button{background:var(--panel);border-color:#CFC9BD;color:var(--text);transition:border-color .15s}
.dt-when .stepper button:hover:not(:disabled){border-color:var(--brass)}
.dt-ac{position:relative}
.dt-ac input{padding-inline-end:44px}
.dt-ac .clr{position:absolute;top:50%;inset-inline-end:10px;transform:translateY(-50%);background:rgba(22,24,28,.07)}
.dt-ac .clr:hover{background:rgba(22,24,28,.12)}
.dt-ac .ac{z-index:30;box-shadow:0 18px 40px -18px rgba(22,24,28,.35)}
.dt-when-err{font-size:12px;color:var(--err);margin:-12px 0 16px}
.dt-chips,.dt-cars{border:0;padding:0;margin:0;min-width:0}
.dt-chips legend,.dt-cars legend{display:flex;align-items:center;justify-content:space-between;width:100%;padding:0;margin-bottom:8px}
.dt-chips legend em,.dt-cars legend em{font-style:normal;text-transform:none;letter-spacing:0;color:#9A958B}
.dt-chip-list{display:flex;flex-wrap:wrap;gap:8px}
.dt-chip{position:relative;display:inline-flex;align-items:center;min-height:40px;padding:8px 14px;border:1px solid var(--line);border-radius:999px;
  background:var(--panel-2);font-size:14px;cursor:pointer;transition:border-color .15s,background .15s}
.dt-chip:hover{border-color:var(--brass)}
.dt-chip input{position:absolute;opacity:0;pointer-events:none}
/* Ticked: filled gold with dark text, like the current item in the header nav, so it reads at a glance */
.dt-chip:has(input:checked){border-color:var(--gold);background:var(--gold);color:#14171C;font-weight:600}
/* The place's icon; a ticked chip swaps it for a check in the same spot */
.dt-chip-ic{flex:none;width:15px;height:15px;margin-inline-end:7px;color:var(--brass)}
.dt-chip:has(input:checked) .dt-chip-ic{display:none}
.dt-chip:has(input:checked)::before{content:"✓";width:15px;margin-inline-end:7px;text-align:center;color:#14171C;font-weight:700}
.dt-plan{border-style:dashed;background:transparent}
.dt-chip:has(input:focus-visible){outline:2px solid var(--brass);outline-offset:2px}
.dt-chip.flash{animation:dt-flash 1.2s ease}
@keyframes dt-flash{0%,40%{box-shadow:0 0 0 4px var(--brass-soft)}100%{box-shadow:0 0 0 0 transparent}}
/* Preferred car: tiles, not the transfer page's rows (no price column to fill them) */
.dt-cars .cars{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0}
.dt-car{position:relative;display:flex;flex-direction:column;min-width:0;background:var(--panel);border:1px solid var(--line);border-radius:16px;overflow:hidden;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.dt-car input{position:absolute;opacity:0;pointer-events:none}
/* The stage: the same box for every car; contain + bottom anchor puts all wheels on one floor line */
.dt-car-stage{--pt:28px;--px:12px;--pb:8px;position:relative;display:flex;align-items:flex-end;justify-content:center;aspect-ratio:3/2;padding:var(--pt) var(--px) var(--pb);background:var(--panel-2)}
.dt-car-stage::after{content:"";position:absolute;inset-inline:16%;bottom:7px;height:10px;border-radius:50%;background:radial-gradient(closest-side,rgba(22,24,28,.22),transparent)}
/* absolute: a tall photo (minibus) must not stretch its stage past 16:9 */
.dt-car-stage img{position:absolute;z-index:1;inset:var(--pt) var(--px) var(--pb);width:calc(100% - 2 * var(--px));height:calc(100% - var(--pt) - var(--pb));object-fit:contain;object-position:50% 100%}
.dt-car-stage>svg{position:relative;z-index:1;width:62%;height:auto;margin:auto;color:var(--text)}
.dt-car-any .dt-car-stage{padding:12px}
.dt-car-any .dt-car-stage::after{display:none}
.dt-car-any .dt-car-stage>svg{width:72px;color:var(--brass)}
.dt-car .tag{position:absolute;z-index:2;top:8px;inset-inline-start:8px;max-width:calc(100% - 44px);font-size:10.5px;font-weight:600;line-height:1.25;padding:4px 8px;border-radius:999px;background:var(--panel);color:var(--muted);box-shadow:0 1px 2px rgba(22,24,28,.08)}
.dt-car .tag.no{max-width:calc(100% - 16px);background:#FBEDEB;color:var(--err)}
.dt-car-body{display:flex;flex-direction:column;flex:1;gap:2px;padding:10px 12px 12px;min-width:0}
.dt-car .nm{font-family:var(--f-display);font-size:16px;font-weight:700;letter-spacing:-.02em;line-height:1.2}
.dt-car .md{font-size:12.5px;line-height:1.35;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.dt-car .cap{display:flex;flex-wrap:wrap;gap:4px 10px;margin-top:auto;padding-top:8px;font-size:12px;line-height:16px;color:var(--muted)}
.dt-car .cap>span{display:flex;align-items:center;gap:4px;white-space:nowrap}
.dt-car .cap b{display:inline-flex;align-items:center;gap:2px;font-weight:500;color:var(--text)}
.dt-car .cap svg{flex:none;display:block;width:12px;height:12px}
.dt-car .cap>span:last-child{color:var(--text);font-weight:500}
.dt-car:hover{border-color:color-mix(in srgb,var(--brass) 45%,var(--line));box-shadow:0 6px 18px -12px rgba(22,24,28,.35)}
.dt-car:has(input:checked){border-color:var(--brass);box-shadow:0 0 0 1px var(--brass)}
.dt-car:has(input:checked) .dt-car-stage{background:var(--brass-soft)}
.dt-car:has(input:checked) .tag:not(.no){background:var(--brass);color:#fff}
.dt-car:has(input:checked)::after{content:"✓";position:absolute;z-index:3;top:8px;inset-inline-end:8px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--brass);color:#fff;font-size:13px;font-weight:700}
.dt-car:has(input:focus-visible){outline:2px solid var(--brass);outline-offset:2px}
.dt-car.off{cursor:not-allowed}
.dt-car.off:hover{border-color:var(--line);box-shadow:none}
.dt-car.off img{filter:grayscale(1);opacity:.35}
.dt-car.off .dt-car-body{opacity:.5}
.dt-again{width:100%;margin-top:10px;padding:14px}
.dt-dests .rc-meta span{white-space:normal}
@media (max-width:560px){
  .dt-dests{grid-template-columns:minmax(0,1fr)}
  .dt-photo{margin:-16px -16px 14px;aspect-ratio:16/9}
  .dt-when{grid-template-columns:1fr 1fr}
  .dt-plan{flex-basis:100%}
  .dt-cta,.dt-cta .btn{width:100%}
  .dt-cars .cars{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dt-car-stage{--pt:26px;--px:8px;--pb:6px}
  .dt-car-body{padding:8px 10px 10px}
  .dt-car .nm{font-size:15px}
}
@media (prefers-reduced-motion:reduce){.dt-car{transition:none}.dt-chip.flash{animation:none}.dt-photo img{transition:none}.dt-dests a:hover .dt-photo img{transform:none}}

/* Legal pages (/terms, /privacy): one readable column on paper, clear of the fixed header */
.legal{padding:calc(var(--top-h) + 48px) 0 72px;border-bottom:1px solid var(--line)}
.legal-doc{max-width:760px}
.legal-doc h1{font-size:clamp(30px,4vw,44px);margin:10px 0 6px}
.legal-date{margin:0 0 22px;font-size:13px;color:var(--muted)}
.legal-lead{font-size:18px;line-height:1.6;margin:0 0 34px}
.legal-doc section{padding-top:22px;border-top:1px solid var(--line);margin-top:22px}
.legal-doc h2{font-size:20px;margin:0 0 10px}
.legal-doc p,.legal-doc li{line-height:1.7;color:var(--text)}
.legal-doc p{margin:0 0 10px}
.legal-doc ul{margin:0;padding-inline-start:20px}
.legal-doc li{margin-bottom:6px}

/* Map */
.lbl-map{font:500 13px var(--f-body);fill:var(--text);paint-order:stroke;stroke:var(--ink);stroke-width:4px;stroke-linejoin:round}
.lbl-hero{font-size:15px;fill-opacity:.9}
.sea-lbl{font:400 12px var(--f-body);letter-spacing:.3em;text-transform:uppercase;fill:#3E6474}
.flow{stroke-dasharray:2 10;animation:flow 2.6s linear infinite}
@keyframes flow{to{stroke-dashoffset:-48}}
@media (prefers-reduced-motion:reduce){.flow{animation:none}.swap{transition:none}}

@media (max-width:900px){
  .trip-grid{grid-template-columns:1fr}
  .trip-side{position:static}
  .hero::after{background:linear-gradient(180deg,rgba(11,13,16,.7) 0%,rgba(11,13,16,.9) 55%,var(--ink) 100%)}
  .top{grid-template-columns:1fr auto;row-gap:12px}
  /* Phones: just Transfer | Day trips, a full-width row under the logo */
  .top-links{grid-column:1/-1;grid-row:2}
  .top-links a{flex:1;text-align:center}
  .top-links a.sec{display:none}
  /* The route map sits behind the text here: keep it as texture so labels don't fight the copy */
  .hero-map{opacity:.4}
}
@media (max-width:560px){
  .hero-body{padding-block:20px 40px}
  .row2{grid-template-columns:1fr 1fr}
  .row2 .pax{grid-column:1/-1}
  .stats{grid-template-columns:1fr 1fr}
  .stat:nth-child(3){border-inline-start:0}
  .stat:nth-child(n+3){border-top:1px solid var(--line)}
  .steps{grid-template-columns:1fr}
  .inputs{grid-template-columns:1fr}
  .panel{padding:20px 16px}
  /* phones: the price moves under the details, so a long one ("16 626 Rs") doesn't squeeze the text */
  .car{grid-template-columns:76px 1fr;gap:2px 10px;padding:10px}
  .car>svg,.car .ph{grid-row:span 2}
  .car .pr{grid-column:2;text-align:start}
  .car .md{font-size:12px}
  .car>svg{width:52px}
  .car .ph{width:76px}
  .car .nm{font-size:17px}
  .car .pr{font-size:20px}
}

/* Real maps (map.js): the MapLibre layer fades in over the SVG fallback, which keeps the box size */
#hero-map .fallback,#hero-map .fallback svg{position:absolute;inset:0;width:100%;height:100%}
/* The box keeps its size before (and without) any map inside it */
#trip-map{position:relative;aspect-ratio:16/11;background:var(--map-land)}
/* direction:ltr — MapLibre positions markers from the left edge; in an RTL page they would land off-map */
.gl{position:absolute;inset:0;opacity:0;transition:opacity .7s ease;direction:ltr}
.gl.on{opacity:1}
.has-gl>.fallback{visibility:hidden}
@media (prefers-reduced-motion:reduce){.gl{transition:none}}
/* Map credits (map.js CREDITS): a quiet corner line, no box */
.map-credits{position:absolute;bottom:6px;inset-inline-end:10px;z-index:2;font:400 10px/1.4 var(--f-body);color:rgba(236,232,225,.38);white-space:nowrap}
[dir="rtl"] .map-credits{inset-inline-end:auto;left:10px} /* .gl is direction:ltr; credits sit in the page's end corner */
.map-credits a{color:inherit;text-decoration:none}
.map-credits a:hover{color:var(--text);text-decoration:underline}
.maplibregl-cooperative-gesture-screen{font-family:var(--f-body)}

/* Place markers on the real maps: zero-size anchor, dot centred on it, label to one side */
.mk{width:0;height:0;position:relative}
.mk .dot{position:absolute;left:-6px;top:-6px;width:12px;height:12px;border-radius:50%;background:var(--text);box-shadow:0 0 0 4px rgba(238,233,224,.12)}
.mk.hub .dot{left:-8px;top:-8px;width:16px;height:16px;background:var(--brass);box-shadow:0 0 0 6px var(--brass-soft)}
.mk.from .dot{left:-9px;top:-9px;width:18px;height:18px;background:var(--ink);border:3px solid var(--text)}
.mk.to .dot{left:-11px;top:-11px;width:22px;height:22px;background:radial-gradient(var(--ink) 0 3.5px,var(--brass) 4px);border:3px solid var(--ink)}
.mk .mk-lbl{position:absolute;unicode-bidi:plaintext;white-space:nowrap;font:500 15px/1 var(--f-body);color:var(--text);
  text-shadow:0 0 3px var(--ink),0 0 6px var(--ink),0 0 10px var(--ink);pointer-events:none}
.mk.l-r .mk-lbl{left:16px;top:-7px}
.mk.l-l .mk-lbl{right:16px;top:-7px}
.mk.l-t .mk-lbl{left:0;bottom:16px;transform:translateX(-50%)}
.mk.l-b .mk-lbl{left:0;top:16px;transform:translateX(-50%)}
#trip-map .mk .mk-lbl{font-size:13px}
.mk.tag .chip{position:absolute;transform:translate(-50%,-50%);white-space:nowrap;background:var(--panel);border:1px solid var(--line);
  border-radius:999px;padding:6px 12px;font:500 13px/1 var(--f-body);color:var(--text);font-variant-numeric:tabular-nums}

/* Right-to-left (Arabic, /ar). Layout already mirrors through grid/flex and the logical
   properties above; these rules cover what does not flip by itself. */
[dir="rtl"] .hero::after{background:linear-gradient(270deg,var(--ink) 0%,rgba(11,13,16,.9) 30%,rgba(11,13,16,.25) 50%,rgba(11,13,16,0) 62%)}
@media (max-width:900px){
  [dir="rtl"] .hero::after{background:linear-gradient(180deg,rgba(11,13,16,.7) 0%,rgba(11,13,16,.9) 55%,var(--ink) 100%)}
}
[dir="rtl"] .btn svg{transform:scaleX(-1)} /* forward arrows point left */
/* Phone, flight number and booking reference are left-to-right text inside an RTL page */
[dir="rtl"] input[dir="ltr"]{text-align:right}

/* Arabic type: brand Latin faces first, so Latin words (DayTripBaku, GYD) keep them and Arabic
   letters fall through to the Arabic faces. Arabic is cursive: letter-spacing breaks the joins,
   and it needs more line height than Latin. */
:root:lang(ar){
  --f-display:"Manrope","Noto Kufi Arabic","Segoe UI",system-ui,sans-serif;
  --f-body:"Onest","IBM Plex Sans Arabic","Segoe UI",system-ui,-apple-system,sans-serif;
}
:lang(ar) .eyebrow,:lang(ar) .field label,:lang(ar) .lbl,:lang(ar) h1,:lang(ar) h2,:lang(ar) h3,
:lang(ar) .sea-lbl,:lang(ar) .steps li::before{letter-spacing:0}
:lang(ar) .eyebrow{font-size:13px}
:lang(ar) .field label,:lang(ar) .lbl{font-size:12px}
:lang(ar) .hero h1{line-height:1.35;font-size:clamp(30px,4.2vw,50px)}
:lang(ar) h2{line-height:1.4}
:lang(ar) body{line-height:1.7}

/* Short laptop screens (768–860 px tall): tighten the hero so the form and its button fit
   in the first screen without scrolling. */
@media (min-width:901px) and (max-height:860px){
  :root{--top-h:68px}
  .top{padding-block:14px}
  .hero-body{padding-block:12px 28px}
  .hero h1{font-size:clamp(32px,3.9vw,54px);margin:10px 0 10px}
  :lang(ar) .hero h1{font-size:clamp(28px,3.2vw,42px)}
  .sub{font-size:16px}
  .card{margin-top:20px}
  .card .btn{padding-block:14px}
  .field{padding-block:8px}
  .trust{margin-top:14px}
}

/* Light sections: everything below the dark hero (trip panel, how it works, FAQ, footer) sits on
   warm paper, like a printed itinerary. Only tokens change here; components follow.
   --ink is "the colour opposite the text" (halos, button text, hollow marker fills), so it turns white. */
.light{
  --ink:#FFFFFF;
  --paper:#F6F4EF;
  --panel:#FFFFFF;
  --panel-2:#F3F1EC;
  --line:#E3DFD6;
  --text:#16181C;
  --muted:#6B675F;
  --brass:#9A5E06; /* amber deepened to read on paper (4.8:1); buttons keep --gold */
  --brass-soft:rgba(154,94,6,.09);
  --ok:#2E8656;
  --err:#C0453A;
  --map-land:#EEEFEB;
  background:var(--paper);
  color:var(--text);
  color-scheme:light;
}
.light .panel,.light .map-card{box-shadow:0 1px 2px rgba(22,24,28,.04),0 12px 32px -18px rgba(22,24,28,.18)}
.light .car:hover{background:#F1EEE7}
.light .chip{border-color:rgba(154,94,6,.35)}
.light .done .check{background:rgba(46,134,86,.1)}
.light .ref{border-color:rgba(154,94,6,.4)}
.light .box label em,.light .field input::placeholder,.light .box input::placeholder,.light .box textarea::placeholder{color:#9A958B}
.light .map-credits{color:rgba(22,24,28,.45)}
.light .mk .dot{box-shadow:0 0 0 4px rgba(22,24,28,.08)}
.light .mk .mk-lbl{text-shadow:0 0 3px #fff,0 0 6px #fff,0 0 10px #fff}

/* Language + currency menu (the header .pick): two tabs over the option lists, as on BakuTransfer */
.lang-pick .lc-pop{min-width:260px;padding:6px}
.lc-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;margin-bottom:4px;background:var(--panel-2);border-radius:10px}
.lc-tabs button{border:0;background:none;border-radius:8px;padding:8px 10px;font:500 13px var(--f-body);color:var(--muted);cursor:pointer;transition:background .15s,color .15s}
.lc-tabs button[aria-selected="true"]{background:var(--panel);color:var(--text);box-shadow:0 1px 2px rgba(0,0,0,.3)}
.lc-pop .tour-pop{padding:2px 0 0;max-height:340px}
.tour-pop button .sym{display:inline-block;min-width:34px;margin-inline-end:8px;font-weight:600;color:var(--muted);font-variant-numeric:tabular-nums}
.tour-pop button.sel .sym{color:var(--brass)}
