/* =====================================================================
   Public website
   Idea: the blue and white of Welsh road signs. White pages, navy text, one deep "motorway" blue
   for the direction sign and the main buttons. One typeface, Overpass, which was drawn from
   road-sign lettering. Quiet everywhere else: thin lines, plain lists, no decoration for its own sake.
   ===================================================================== */
/* Fonts are hosted with the site (no Google Fonts request). SIL Open Font Licence, see assets/fonts. */
@font-face { font-family: 'Overpass'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('../fonts/overpass-latin-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Overpass'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('../fonts/overpass-latin-ext-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'UK Plate'; font-style: normal; font-display: block; font-weight: 400 900; src: url('../fonts/uk-plate.woff2') format('woff2'); }

:root {
  /* Admin → Website → Logo and colours overrides --brand and --ink. */
  --brand: #1d5bd8;
  --ink: #0a1a33;
  --sky: #6cb6ff;
  --on-brand: #ffffff;
  --sign: color-mix(in srgb, var(--brand) 62%, #00285e);   /* deep motorway blue */
  --brand-deep: color-mix(in srgb, var(--brand) 80%, black);
  --paper: #ffffff;
  --tint: #f2f5f9;
  --line: #dbe1ea;
  --mist: #d3dae5;
  --cream: #f2f5f9;
  --sand: #e8edf4;
  --text: #0d1b2e;
  --muted: #55657a;
  --muted-d: #9fb0c6;
  --line-d: rgba(255, 255, 255, 0.14);
  --plate: #ffd200;
  --danger: #c0352b;
  --ok: #1d7a45;
  --r: 10px;
  --r-lg: 14px;
  --r-xl: 18px;
  --wrap: 1180px;
  --display: 'Overpass', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Overpass', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow: 0 1px 2px rgba(13, 27, 46, 0.06), 0 8px 24px -16px rgba(13, 27, 46, 0.25);
  --shadow-lg: 0 1px 2px rgba(13, 27, 46, 0.06), 0 24px 48px -28px rgba(13, 27, 46, 0.35);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; font-variant-numeric: lining-nums; }
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--brand); color: var(--on-brand); padding: 10px 14px; z-index: 100; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
.i { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.015em; line-height: 1.08; margin: 0 0 0.45em; text-wrap: balance; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.15rem; line-height: 1.25; font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
.intro { font-size: 1.12rem; color: var(--muted); max-width: 56ch; }
.fine { font-size: 0.88rem; color: var(--muted); max-width: 60ch; }
/* Used by older inner pages; kept quiet on purpose */
.eyebrow { font-size: 0.95rem; font-weight: 600; color: var(--muted); margin-bottom: 8px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--brand); --fg: var(--on-brand);
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 20px 13px; border-radius: var(--r); border: 0; cursor: pointer; text-decoration: none;
  background: var(--bg); color: var(--fg); transition: background-color 0.15s, box-shadow 0.15s, color 0.15s;
}
.btn:hover { color: var(--fg); --bg: var(--brand-deep); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn-dark { --bg: var(--ink); --fg: #fff; }
.btn-dark:hover { --bg: color-mix(in srgb, var(--ink) 85%, white); }
.btn-outline { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--mist); }
.btn-outline:hover { --bg: var(--tint); --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--mist); }
.btn-outline-dark { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5); }
.btn-quiet { --bg: transparent; --fg: var(--brand-deep); padding: 10px 4px; font-weight: 600; }
.btn-quiet:hover { --bg: transparent; --fg: var(--ink); text-decoration: underline; }
.btn-lg { padding: 17px 24px 16px; font-size: 1.05rem; }
.btn-sm { padding: 10px 14px 9px; font-size: 0.92rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; top: var(--announce-h, 0px); z-index: 50; height: var(--header-h); background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid transparent; transition: border-color 0.2s, top 0.3s var(--ease); }
.site-header.is-scrolled, body:not(.home) .site-header { border-bottom-color: var(--line); }
.site-header.is-scrolled { top: 0; }
html.has-announce { --announce-h: 40px; }
.announce { position: fixed; inset: 0 0 auto; z-index: 51; height: var(--announce-h); display: flex; align-items: center; justify-content: center; padding: 0 16px; background: var(--sign); color: #fff; font-size: 0.93rem; font-weight: 600; text-align: center; transition: transform 0.3s var(--ease); }
.announce a { color: inherit; }
.announce span, .announce a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
html.is-scrolled .announce { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; flex: none; }
.brand:hover { color: var(--ink); }
.brand img { height: var(--logo-h, 38px); width: auto; max-width: 220px; object-fit: contain; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.main-nav ul a { display: block; padding: 6px 0 4px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.98rem; border-bottom: 2px solid transparent; }
.main-nav ul a:hover, .main-nav ul a.is-active { border-bottom-color: var(--brand); color: var(--ink); }
.nav-mobile-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.header-phone .i { color: var(--brand); }
.header-phone:hover { color: var(--brand-deep); }
.header-book { padding: 12px 18px 11px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: var(--r); border: 1.5px solid var(--mist); background: #fff; cursor: pointer; place-items: center; }
.burger { display: grid; gap: 5px; width: 18px; }
.burger span { height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s; }
.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1080px) { .header-phone { display: none; } }
@media (max-width: 900px) {
  .menu-toggle { display: grid; }
  .header-actions { margin-left: auto; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0; top: calc(var(--header-h) + var(--announce-h, 0px)); margin: 0; background: #fff; border-top: 1px solid var(--line); padding: 8px 20px 28px; display: none; flex-direction: column; justify-content: space-between; overflow-y: auto; }
  html.is-scrolled .main-nav { top: var(--header-h); }
  .nav-open .main-nav { display: flex; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { font-size: 1.5rem; font-weight: 700; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .main-nav ul a:hover { border-bottom-color: var(--line); color: var(--brand-deep); }
  .nav-mobile-cta { display: grid; gap: 10px; margin-top: 24px; }
  .nav-open { overflow: hidden; }
}
@media (max-width: 520px) { .header-book { display: none; } .brand { font-size: 1.05rem; } }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--header-h) + var(--announce-h, 0px) + 56px) 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: clamp(32px, 6vw, 88px); align-items: start; }
.hero-copy { padding-top: 28px; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1; letter-spacing: -0.03em; max-width: 13ch; margin-bottom: 24px; }
.hero-lede { font-size: 1.22rem; line-height: 1.5; color: var(--muted); max-width: 40ch; margin-bottom: 12px; }
.hero-call { font-size: 1.1rem; margin-bottom: 36px; }
.hero-call a { font-weight: 700; color: var(--ink); white-space: nowrap; }
.hero-facts { list-style: none; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; color: var(--muted); font-size: 0.98rem; }
.hero-facts li { display: flex; align-items: center; gap: 10px; }
.hero-facts li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); flex: none; }
.hero-facts li:has(a)::before { display: none; }
.hero-facts a { display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; }
.hero-facts a:hover strong { text-decoration: underline; }
@media (max-width: 900px) {
  .hero { padding-top: calc(var(--header-h) + var(--announce-h, 0px) + 28px); padding-bottom: 48px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-top: 0; }
  .hero h1 { max-width: 16ch; margin-bottom: 14px; }
  .hero-call { margin-bottom: 0; }
  .hero-facts { display: none; }
}

/* ---------- Booking card ---------- */
.book { scroll-margin-top: calc(var(--header-h) + 16px);
  position: relative; background: var(--paper); color: var(--text); border-radius: var(--r-xl); padding: 28px;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.book.flash { opacity: 1; transform: none; animation: flash 0.9s var(--ease); }   /* keep the form visible: this replaces the .rise entrance animation that made it fade in */
@keyframes flash { 30% { box-shadow: var(--shadow-lg), 0 0 0 4px color-mix(in srgb, var(--brand) 45%, transparent); } }
.book-head { margin-bottom: 18px; }
.book-head h2 { font-size: 1.55rem; margin: 0 0 4px; letter-spacing: -0.01em; }
.book-head p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* Booking steps: a real sequence, so they are numbered */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; padding: 0; margin: 0 0 22px; font-size: 0.9rem; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); }
.steps li { display: flex; align-items: center; gap: 8px; padding: 0 0 10px; margin-bottom: -1px; border-bottom: 2px solid transparent; }
.steps li span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 0.78rem; font-weight: 700; background: var(--tint); color: var(--muted); }
.steps li[aria-current='step'] { color: var(--ink); border-bottom-color: var(--brand); }
.steps li[aria-current='step'] span { background: var(--brand); color: var(--on-brand); }
.steps li.done { color: var(--ink); }
.steps li.done span { background: var(--ink); color: #fff; }

.step-panel { animation: step-in 0.5s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateX(10px); } }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field > span, .field legend, .promo > label { font-size: 0.85rem; font-weight: 700; color: var(--text); }
.field small { color: var(--muted); font-size: 0.82rem; font-weight: 400; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 460px) { .row { grid-template-columns: 1fr; } .row-3 { grid-template-columns: 1fr 1fr; } }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--text);
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--mist); border-radius: var(--r); background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
/* iPhone Safari gives date/time boxes a fixed minimum width and centres the text, so they spill out of the card */
input[type='datetime-local'], input[type='date'], input[type='time'] {
  -webkit-appearance: none; appearance: none; display: block; min-width: 0; max-width: 100%; min-height: 50px; text-align: left;
}
input[type='datetime-local']::-webkit-date-and-time-value, input[type='date']::-webkit-date-and-time-value, input[type='time']::-webkit-date-and-time-value { text-align: left; margin: 0; }
.field, .row > * { min-width: 0; }
input:hover, select:hover, textarea:hover { border-color: #c9cbc3; }
textarea { min-height: 76px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent); }
input[aria-invalid='true'] { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(192, 53, 43, 0.12); animation: shake 0.4s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }

/* From / To boxes with suggestions */
.route-box { position: relative; border: 1.5px solid var(--mist); border-radius: var(--r-lg); background: #fff; transition: border-color 0.2s, box-shadow 0.2s; }
.route-box:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
.route-box::before { content: ''; position: absolute; left: 25px; top: 34px; bottom: 34px; width: 2px; background: repeating-linear-gradient(180deg, #c9cbc3 0 4px, transparent 4px 8px); }
.addr { position: relative; display: grid; grid-template-columns: 30px 1fr auto; grid-template-rows: auto auto; align-items: center; column-gap: 8px; padding: 10px 56px 10px 12px; }
.addr + .addr { border-top: 1px solid var(--mist); }
.addr-pin { grid-row: 1 / span 2; justify-self: center; width: 14px; height: 14px; border-radius: 50%; position: relative; z-index: 1; }
.pin-from { background: #fff; box-shadow: inset 0 0 0 4px var(--ink); }
.pin-to { background: var(--brand); border-radius: 4px; transform: rotate(45deg); box-shadow: 0 0 0 3px #fff; }
.addr-label { grid-column: 2; font-size: 0.85rem; font-weight: 700; color: var(--muted); cursor: text; }
.addr input { grid-column: 2; border: 0; padding: 2px 0 4px; border-radius: 0; font-size: 1.02rem; font-weight: 600; background: transparent; box-shadow: none !important; text-overflow: ellipsis; }
.addr input::placeholder { font-weight: 400; color: #98a2a8; }
.addr input[aria-invalid='true'] { animation: shake 0.4s; }
.addr:has(input[aria-invalid='true']) .addr-label { color: var(--danger); }
.addr-clear { grid-column: 3; grid-row: 1 / span 2; width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--cream); color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.addr-clear:hover { background: var(--mist); color: var(--ink); }
.addr-clear .i { width: 14px; height: 14px; }
.addr.is-complete .addr-label::after { content: ' ✓'; color: var(--brand); }
.addr.is-loading .addr-label::after { content: ''; display: inline-block; width: 10px; height: 10px; margin-left: 6px; border-radius: 50%; border: 2px solid var(--mist); border-top-color: var(--brand); vertical-align: -1px; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.swap { position: absolute; right: 12px; top: 50%; z-index: 2; width: 38px; height: 38px; margin-top: -19px; border-radius: 50%; border: 1.5px solid var(--mist); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: border-color 0.2s, background-color 0.2s; }
.swap:hover { border-color: var(--ink); background: var(--brand); color: var(--on-brand); }
.swap.spin .i { animation: flip 0.45s var(--ease); }
@keyframes flip { from { transform: rotate(-180deg); } }

.suggest { position: absolute; z-index: 30; left: -1.5px; right: -1.5px; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: #fff; border-radius: 16px; box-shadow: 0 24px 50px -12px color-mix(in srgb, var(--ink) 35%, transparent), 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent); max-height: min(340px, 55vh); overflow-y: auto; overscroll-behavior: contain; animation: drop 0.18s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.addr[data-addr='pickup'] .suggest { top: calc(100% + 4px); }
.addr.is-open { z-index: 5; }
.suggest-head { padding: 8px 10px 4px; font-size: 0.82rem; font-weight: 700; color: var(--muted); }
.suggest-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; cursor: pointer; }
.suggest-item:hover, .suggest-item[aria-selected='true'] { background: var(--cream); }
.suggest-item[aria-selected='true'] { box-shadow: inset 3px 0 0 var(--brand); }
.suggest-icon { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--cream); color: var(--ink); }
.suggest-item:hover .suggest-icon, .suggest-item[aria-selected='true'] .suggest-icon { background: #fff; }
.suggest-place .suggest-icon { background: var(--cream); color: var(--brand); }
.suggest-locate .suggest-icon { background: var(--cream); color: var(--brand-deep); }
.suggest-locate strong { color: var(--brand-deep); }
.suggest-text { display: grid; min-width: 0; line-height: 1.3; }
.suggest-text strong { font-weight: 600; font-size: 0.96rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest-text small { color: var(--muted); font-size: 0.82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest-empty { padding: 12px 10px; color: var(--muted); font-size: 0.9rem; }
.suggest-foot { padding: 6px 10px 2px; text-align: right; font-size: 0.72rem; color: var(--muted); }
.addr-hint { font-size: 0.8rem; color: var(--muted); margin: 8px 2px 16px; }
.field-when { margin-bottom: 10px; }

/* Details step */
.pay-options { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-option { position: relative; cursor: pointer; }
.pay-option input { position: absolute; inset: 0; opacity: 0; margin: 0; width: 100%; height: 100%; cursor: pointer; }
.pay-option span { display: block; padding: 9px 16px; border-radius: var(--r); border: 1.5px solid var(--mist); font-size: 0.92rem; font-weight: 600; transition: all 0.2s; }
.pay-option input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pay-option input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.more { margin: 2px 0 14px; border-radius: var(--r); background: var(--cream); }
.more summary { cursor: pointer; padding: 11px 14px; font-size: 0.9rem; font-weight: 600; color: var(--brand-deep); list-style: none; display: flex; align-items: center; gap: 8px; }
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: '+'; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-weight: 700; transition: transform 0.2s var(--ease); }
.more[open] summary::before { transform: rotate(45deg); }
.more > :not(summary) { margin: 0 14px 12px; }
.more .field textarea { background: #fff; }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.94rem; margin-bottom: 12px; cursor: pointer; }
.check input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--brand); padding: 0; }
.check-switch input { appearance: none; -webkit-appearance: none; width: 40px; height: 24px; border-radius: 999px; background: var(--mist); border: 0; position: relative; cursor: pointer; margin-top: -1px; transition: background-color 0.25s; }
.check-switch input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 0.3s var(--ease); }
.check-switch input:checked { background: var(--brand); }
.check-switch input:checked::after { transform: translateX(16px); }
.check-switch input:focus { box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 20%, transparent); }

.actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.alert { border-radius: var(--r); padding: 12px 14px; font-size: 0.94rem; margin-bottom: 14px; }
.alert-error { background: #fdeeed; color: var(--danger); border: 1px solid #f4cdca; animation: step-in 0.3s; }
.alert-info { background: var(--cream); color: var(--brand-deep); border: 1px solid var(--mist); }

.summary-line { font-size: 0.9rem; color: var(--muted); margin-bottom: 14px; padding: 10px 12px; background: var(--cream); border-radius: var(--r); }
.vehicles { display: grid; gap: 8px; margin-bottom: 16px; }
.vehicle { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; border: 1.5px solid var(--mist); border-radius: var(--r-lg); padding: 13px 16px; cursor: pointer; transition: border-color 0.15s, background-color 0.15s; }
.vehicle:hover { border-color: var(--ink); }
.vehicle input { position: absolute; opacity: 0; pointer-events: none; }
.vehicle:has(input:checked) { border-color: var(--ink); background: var(--cream); box-shadow: inset 5px 0 0 var(--brand); }
.vehicle:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }
.vehicle:has(input:disabled) { opacity: 0.45; cursor: not-allowed; }
.vehicle-name { font-weight: 700; }
.vehicle-meta { grid-column: 1; font-size: 0.83rem; color: var(--muted); }
.vehicle-price { grid-row: 1 / span 2; grid-column: 2; font-weight: 800; font-size: 1.35rem; font-variant-numeric: tabular-nums; }

.total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; margin: 6px 0 14px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.total strong { font-size: 1.9rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.total span { color: var(--muted); font-size: 0.95rem; font-weight: 600; }

.step-done { text-align: center; padding: 10px 0; }
.step-done h2 { font-size: 1.9rem; margin-bottom: 8px; }
.done-tick { width: 76px; height: 76px; margin: 0 auto 14px; }
.done-tick circle { fill: none; stroke: var(--brand); stroke-width: 3; stroke-dasharray: 160; stroke-dashoffset: 160; animation: tick 0.7s var(--ease) forwards; }
.done-tick path { fill: none; stroke: var(--brand); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: tick 0.45s 0.55s var(--ease) forwards; }
@keyframes tick { to { stroke-dashoffset: 0; } }
.done-ref { display: inline-block; font-size: 2rem; font-weight: 800; letter-spacing: 0.06em; margin: 4px 0 12px; padding: 4px 14px; background: var(--plate); border-radius: 6px; color: #111; }
@media (max-width: 520px) { .book { padding: 20px 18px; } }


/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 40px; }

/* ---------- The direction sign ---------- */
.journeys { background: var(--tint); padding: clamp(56px, 8vw, 96px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.journeys-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.journeys-copy p { color: var(--muted); max-width: 44ch; }
.journeys-copy .fine { margin-top: 20px; }

/* Blue panel, white border set in from the edge, rounded corners: how a UK direction sign is made */
.sign { position: relative; background: var(--sign); color: #fff; border-radius: 22px; padding: 18px; box-shadow: 0 30px 60px -36px rgba(0, 30, 80, 0.55); }
.sign::before { content: ''; position: absolute; inset: 9px; border: 4px solid #fff; border-radius: 15px; pointer-events: none; }
.sign-row { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto auto; align-items: center; gap: 18px; padding: 18px 24px; color: #fff; text-decoration: none; border-radius: 10px; }
.sign-row + .sign-row::before { content: ''; position: absolute; top: 0; left: 24px; right: 24px; height: 2px; background: rgba(255, 255, 255, 0.85); }
.sign-row:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.sign-row:focus-visible { outline: 3px solid var(--plate); outline-offset: -3px; }
.sign-arrow { width: 44px; height: 44px; fill: none; stroke: #fff; stroke-width: 5.5; stroke-linecap: square; stroke-linejoin: miter; }
.sign-arrow-left { transform: rotate(-45deg); }
.sign-arrow-right { transform: rotate(45deg); }
.sign-names { display: grid; line-height: 1.12; min-width: 0; }
.sign-names span { font-size: clamp(1.15rem, 2.1vw, 1.55rem); font-weight: 700; letter-spacing: 0; }
.sign-names [lang='cy'] { font-weight: 400; color: #e6eeff; }
.sign-plane { width: 34px; height: 34px; fill: #fff; transform: rotate(45deg); }
.sign-fare { justify-self: end; font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sign-fare small { font-size: 0.55em; font-weight: 600; opacity: 0.85; }
@media (max-width: 900px) { .journeys-grid { grid-template-columns: 1fr; } .journeys-copy { order: 0; } }
@media (max-width: 560px) {
  .sign { padding: 12px; border-radius: 16px; }
  .sign::before { inset: 6px; border-width: 3px; border-radius: 11px; }
  .sign-row { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; padding: 14px 14px; }
  .sign-row + .sign-row::before { left: 14px; right: 14px; }
  .sign-arrow { width: 28px; height: 28px; stroke-width: 6; }
  .sign-plane { display: none; }
}

/* ---------- Fares ---------- */
.fares-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(32px, 6vw, 88px); align-items: start; }
.tariff { width: 100%; max-width: 520px; border-collapse: collapse; margin: 28px 0 16px; border-top: 2px solid var(--ink); font-variant-numeric: tabular-nums; }
.tariff th, .tariff td { padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: baseline; }
.tariff th { font-weight: 600; }
.tariff th small { display: block; font-weight: 400; color: var(--muted); font-size: 0.9rem; }
.tariff td { text-align: right; font-weight: 800; font-size: 1.15rem; }
.estimator { background: var(--tint); border-radius: var(--r-xl); padding: 28px; }
.estimator h3 { font-size: 1.3rem; margin-bottom: 16px; }
.est-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.est-presets button { font: inherit; font-size: 0.92rem; font-weight: 600; padding: 8px 12px; border-radius: 8px; border: 1.5px solid var(--mist); background: #fff; color: var(--text); cursor: pointer; }
.est-presets button:hover { border-color: var(--ink); }
.est-presets button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.est-range { display: grid; gap: 10px; margin-bottom: 18px; }
.est-label { font-weight: 700; }
input[type='range'] { -webkit-appearance: none; appearance: none; height: 6px; padding: 0; border: 0; border-radius: 3px; background: linear-gradient(90deg, var(--brand) var(--p, 7%), var(--mist) var(--p, 7%)); box-shadow: none !important; }
input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); cursor: grab; }
input[type='range']::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); cursor: grab; }
input[type='range']:focus-visible { outline: 3px solid var(--brand); outline-offset: 6px; }
.est-cars { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.est-cars label { position: relative; cursor: pointer; }
.est-cars input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.est-cars span { display: block; padding: 7px 12px; border-radius: 8px; font-size: 0.92rem; font-weight: 600; border: 1.5px solid var(--mist); background: #fff; }
.est-cars input:checked + span { border-color: var(--brand); color: var(--brand-deep); box-shadow: inset 0 0 0 1px var(--brand); }
.est-cars input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.est-result { display: flex; align-items: baseline; justify-content: space-between; padding: 16px 0; margin-bottom: 16px; border-top: 1px solid var(--mist); }
.est-result span { color: var(--muted); font-weight: 600; }
.est-result strong { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .fares-grid { grid-template-columns: 1fr; } }

/* ---------- Fleet ---------- */
.fleet { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 40px 28px; }
.fleet-art { background: var(--tint); border-radius: var(--r-lg); padding: 28px 18px 18px; margin-bottom: 16px; }
.fleet h3 { margin-bottom: 4px; }
.fleet p { color: var(--muted); font-size: 0.98rem; margin-bottom: 6px; }
.fleet .fleet-specs { color: var(--text); font-weight: 600; font-size: 0.94rem; }
.car-art .shadow { fill: rgba(13, 27, 46, 0.12); }
.car-art .body { fill: var(--sign); }
.car-art .glass { fill: #cfe0ff; }
.car-art .tyre { fill: #18212d; }
.car-art .hub { fill: #c9d1dc; }
.car-art .spoke { stroke: #18212d; stroke-width: 2; }
.car-art .lamp { stroke: var(--plate); stroke-width: 4; stroke-linecap: round; }

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

/* ---------- Licence ---------- */
.licence { background: var(--tint); }
.licence-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
/* The council licence plate fixed to the back of every car */
.plate { justify-self: center; width: min(100%, 400px); aspect-ratio: 2 / 1.12; display: grid; grid-template-rows: auto 1fr auto auto; place-items: center; text-align: center; padding: 18px 22px; background: #fff; color: var(--ink); border: 4px solid var(--ink); border-radius: 12px; box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 6px var(--sign), 0 24px 40px -28px rgba(13, 27, 46, 0.5); transform: rotate(-2deg); }
.plate-top { font-weight: 700; font-size: 1rem; color: var(--sign); }
.plate-main { font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.3rem); letter-spacing: -0.01em; align-self: center; }
.plate-no { font-weight: 800; font-size: 1.4rem; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
.plate-foot { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }
@media (max-width: 900px) { .licence-grid { grid-template-columns: 1fr; } .plate { width: min(100%, 340px); } }

/* Reviews */
.reviews-section { overflow: hidden; overflow: clip; }
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 32px; margin-bottom: 32px; flex-wrap: wrap; }
.reviews-head h2 { margin-bottom: 10px; }
.rating-line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0; }
.rating-line .rating-num { font-size: 1.6rem; }
.rating-card { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 20px 24px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.rating-score { display: flex; align-items: center; gap: 14px; }
.rating-num { font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.rating-count { color: var(--muted); font-size: 0.95rem; }
.rating-card .rating-count { display: block; margin-top: 4px; }
.rating-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.stars { --size: 16px; display: inline-block; width: calc(var(--size) * 5); height: var(--size); flex: none;
  background: linear-gradient(90deg, #f6b400 var(--pct), #d8d6cf var(--pct));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6L2.5 9.4l6.6-.8z'/%3E%3C/svg%3E") 0 0 / var(--size) var(--size) repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6L2.5 9.4l6.6-.8z'/%3E%3C/svg%3E") 0 0 / var(--size) var(--size) repeat-x; }
.stars-lg { --size: 22px; }

.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 4px 24px; margin: -6px -4px 0; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { outline-offset: 4px; }
@media (max-width: 980px) { .carousel-track { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (max-width: 640px) { .carousel-track { grid-auto-columns: 86%; } }
.review { scroll-snap-align: start; display: flex; flex-direction: column; padding: 24px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); position: relative; }
.review-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.review-when { font-size: 0.82rem; color: var(--muted); }
.review-text { flex: 1; margin: 0 0 6px; font-size: 0.98rem; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review.open .review-text { -webkit-line-clamp: unset; display: block; }
.review-more { align-self: flex-start; font: inherit; font-size: 0.88rem; font-weight: 700; color: var(--brand-deep); background: none; border: 0; padding: 0; cursor: pointer; margin-bottom: 4px; }
.review-author { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--mist); }
.review-author img, .avatar { width: 42px; height: 42px; border-radius: 50%; flex: none; object-fit: cover; }
.avatar { display: grid; place-items: center; background: var(--tint); color: var(--ink); font-weight: 800; }
.review-author a, .review-author strong { display: block; font-weight: 700; color: var(--text); text-decoration: none; line-height: 1.2; }
.review-author a:hover { text-decoration: underline; }
.review-author small { color: var(--muted); font-size: 0.8rem; }
.review-skeleton { gap: 12px; min-height: 260px; }
.review-skeleton span { display: block; height: 14px; border-radius: 8px; background: linear-gradient(90deg, var(--sand) 0%, #fff 50%, var(--sand) 100%) 0 0 / 200% 100%; animation: shimmer 1.4s linear infinite; }
.review-skeleton span:first-child { width: 40%; }
.review-skeleton span:last-child { width: 60%; margin-top: auto; }
@keyframes shimmer { to { background-position: -200% 0; } }
.review-empty { padding: 40px; border-radius: var(--r-lg); background: var(--tint); grid-column: 1 / -1; text-align: center; color: var(--muted); }
.carousel-nav { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.carousel-btn { width: 44px; height: 44px; border-radius: var(--r); border: 1.5px solid var(--mist); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.carousel-btn:hover { border-color: var(--ink); }
.carousel-btn:disabled { opacity: 0.35; cursor: default; }
.carousel-progress { flex: 1; height: 2px; background: var(--line); border-radius: 3px; overflow: hidden; }
.carousel-progress span { display: block; height: 100%; width: var(--w, 33%); margin-left: var(--l, 0); background: var(--ink); border-radius: 3px; transition: margin-left 0.3s var(--ease), width 0.3s var(--ease); }
.reviews-attr { font-size: 0.82rem; color: var(--muted); margin: 18px 0 0; }


/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-intro p { color: var(--muted); }
.faq-intro a { font-weight: 700; color: var(--ink); white-space: nowrap; }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d1b2e' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 4v16M4 12h16'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform 0.2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--brand-deep); }
.faq-body { padding: 0 40px 12px 0; color: var(--muted); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 24px; } .faq-intro { position: static; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c3cedd; font-size: 0.98rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 72px 0 48px; }
.footer-name { color: #fff; font-weight: 800; font-size: 1.25rem; margin-bottom: 8px; }
.footer-about p { max-width: 36ch; }
.footer-phone { display: grid; margin-top: 20px; }
.footer-phone a { font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.footer-phone span { color: var(--muted-d); font-size: 0.92rem; }
.footer-col h3 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { color: #c3cedd; }
.footer-base { display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid var(--line-d); font-size: 0.88rem; color: var(--muted-d); }
.footer-base p { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-links a { color: #c3cedd; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; padding-top: 56px; } }

/* Mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); transform: translateY(110%); transition: transform 0.3s var(--ease); }
  .show-bar .mobile-bar { transform: none; }
  .mobile-bar .btn { padding: 14px 12px 13px; }
  .site-footer { padding-bottom: 76px; }
}

/* ---------- Simple pages (manage, terms, 404) ---------- */
.page { padding: calc(var(--header-h) + var(--announce-h, 0px) + 48px) 0 96px; background: var(--tint); min-height: 70vh; }
.page .card { background: var(--paper); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 44px); max-width: 760px; border: 1px solid var(--line); }
.page h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.dl { display: grid; grid-template-columns: 150px 1fr; gap: 12px 16px; margin: 0 0 24px; }
.dl dt { color: var(--muted); font-size: 0.92rem; }
.dl dd { margin: 0; font-weight: 600; }
@media (max-width: 480px) { .dl { grid-template-columns: 1fr; gap: 2px; } .dl dd { margin-bottom: 10px; } }
.status { display: inline-block; padding: 4px 12px; border-radius: 6px; font-weight: 700; font-size: 0.92rem; background: var(--tint); }
.status-confirmed, .status-assigned, .status-en_route, .status-on_board { background: #e2f3e8; color: var(--ok); }
.status-pending { background: #fff4d1; color: #8a5a00; }
.status-cancelled, .status-no_show { background: #fdeeed; color: var(--danger); }
.status-completed { background: #e6eef3; color: #2b4a5e; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose p { max-width: 68ch; }

/* Driver card on the customer's booking page */
.driver-card { margin: 4px 0 22px; border-radius: var(--r-lg); background: var(--tint); border: 1px solid var(--line); overflow: hidden; }
.driver-card-top { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.driver-card-top img, .driver-initial { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 3px #fff, 0 6px 16px -6px color-mix(in srgb, var(--ink) 40%, transparent); }
.driver-initial { display: grid; place-items: center; background: var(--brand); color: var(--on-brand); font-size: 1.6rem; font-weight: 800; }
.driver-initial[hidden] { display: none; }
.driver-card-top div { display: grid; flex: 1; min-width: 0; line-height: 1.3; }
.driver-card-top small { font-size: 0.88rem; font-weight: 600; color: var(--muted); }
.driver-card-top strong { font-size: 1.3rem; font-weight: 800; }
.driver-card-top span { color: var(--muted); font-size: 0.92rem; }
.reg-plate { flex: none; padding: 6px 10px; border-radius: 6px; background: var(--plate); color: #111 !important; font-weight: 700; font-size: 1rem !important; letter-spacing: 0.06em; box-shadow: inset 0 0 0 1.5px #111; }
.driver-card-car { display: block; width: 100%; max-height: 260px; object-fit: cover; }
@media (max-width: 480px) { .driver-card-top { flex-wrap: wrap; } .reg-plate { margin-left: 78px; } }

/* ---------- Reviews page ---------- */
.reviews-page { background: var(--tint); min-height: 70vh; padding-bottom: 96px; }
.reviews-hero { background: var(--paper); border-bottom: 1px solid var(--line); padding: calc(var(--header-h) + var(--announce-h, 0px) + 48px) 0 48px; }
.reviews-page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.reviews-page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0 0 10px; max-width: 14ch; letter-spacing: -0.03em; }
.reviews-page-head .lede { color: var(--muted); max-width: 46ch; margin: 0; }
.reviews-page-head .rating-card { color: var(--text); }
.review-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 24px; }
.review-filters .chip { font: inherit; font-size: 0.95rem; font-weight: 700; padding: 9px 14px; border-radius: var(--r); border: 1.5px solid var(--mist); background: var(--paper); color: var(--text); cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.review-filters .chip span { opacity: 0.6; font-weight: 600; margin-left: 4px; }
.review-filters .chip:hover { border-color: var(--brand); }
.review-filters .chip[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: #fff; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; align-items: start; margin-top: 32px; }
.review-filters + .reviews-grid { margin-top: 0; }
.reviews-grid .review[hidden] { display: none; }
.reviews-grid .review-text { display: block; -webkit-line-clamp: unset; overflow: visible; }
.reviews-grid .review-more { display: none; }
.reviews-page .review-empty { margin-top: 32px; }
.reviews-page-foot { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 32px; text-align: center; }
@media (max-width: 640px) { .reviews-page-head .rating-card { width: 100%; } }
.credit a { color: #fff; font-weight: 700; }

/* =====================================================================
   Colour and motion layer: night-blue hero with a moving road, taxi yellow
   for the main actions and prices, gentle scroll reveals.
   ===================================================================== */
:root {
  --yellow: #ffc629;
  --yellow-deep: #f2a900;
  --night: #071a3f;
  --night-2: #0c2a66;
}

/* Buttons */
.btn-yellow { --bg: var(--yellow); --fg: #0b1a33; box-shadow: 0 10px 26px -12px rgba(255, 198, 41, 0.8); }
.btn-yellow:hover { --bg: #ffd65c; --fg: #0b1a33; }
.btn-glass { --bg: rgba(255, 255, 255, 0.08); --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.28); backdrop-filter: blur(6px); }
.btn-glass:hover { --bg: rgba(255, 255, 255, 0.16); --fg: #fff; }
.btn { transition: background-color 0.2s, box-shadow 0.2s, color 0.2s, transform 0.2s var(--ease); }
.btn-primary:hover, .btn-yellow:hover { transform: translateY(-2px); }

/* Header: clear over the night sky at the top of the home page, white once you scroll */
.home .site-header:not(.is-scrolled) { background: transparent; }
.home .site-header:not(.is-scrolled) .brand,
.home .site-header:not(.is-scrolled) .main-nav ul a,
.home .site-header:not(.is-scrolled) .header-phone { color: #fff; }
.home .site-header:not(.is-scrolled) .header-phone .i { color: var(--yellow); }
.home .site-header:not(.is-scrolled) .header-book { --bg: var(--yellow); --fg: #0b1a33; }
.home .site-header:not(.is-scrolled) .menu-toggle { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.25); }
.home .site-header:not(.is-scrolled) .burger span { background: #fff; }
.home .site-header:not(.is-scrolled) .brand img { background: #fff; border-radius: 10px; padding: 3px; }
.site-header.is-scrolled { box-shadow: 0 6px 24px -18px rgba(7, 26, 63, 0.5); }
@media (max-width: 900px) { body.nav-open .site-header { background: #fff !important; } body.nav-open .site-header .brand, body.nav-open .site-header .burger span { color: var(--ink); } body.nav-open .burger span { background: var(--ink) !important; } }

/* ---------- Hero: Cardiff at night ---------- */
.hero { position: relative; overflow: hidden; overflow: clip; color: #fff; isolation: isolate;
  background:
    radial-gradient(900px 520px at 85% -10%, color-mix(in srgb, var(--brand) 70%, transparent), transparent 65%),
    radial-gradient(700px 420px at -10% 30%, rgba(77, 140, 255, 0.25), transparent 70%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 70%, #10337a 100%);
  padding-bottom: 170px; }
.hero h1 { color: #fff; }
.hero-lede { color: #c9d7f3; }
.hero-call { color: #c9d7f3; margin-bottom: 28px; }
.hero-call a { color: var(--yellow); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.hero-facts { border-top-color: rgba(255, 255, 255, 0.14); color: #c9d7f3; }
.hero-facts li::before { background: var(--yellow); }
.hero-facts a { color: #fff; }
.hero .book { box-shadow: 0 40px 80px -30px rgba(0, 8, 30, 0.75); border-color: transparent; }

/* Headline words rise in one after another (the one big entrance on the page) */
.hero-title .w { display: inline-block; opacity: 0; transform: translateY(0.45em); animation: word-in 0.7s var(--ease) forwards; animation-delay: calc(0.08s * var(--i) + 0.1s); }
@keyframes word-in { to { opacity: 1; transform: none; } }
.rise { opacity: 0; transform: translateY(18px); animation: word-in 0.8s var(--ease) forwards; animation-delay: var(--d, 0.3s); }

/* Stars and skyline */
.hero-sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.star { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; opacity: 0.7; animation: twinkle 3.5s ease-in-out infinite; }
.s1 { top: 18%; left: 8%; } .s2 { top: 12%; left: 46%; animation-delay: -1s; } .s3 { top: 30%; left: 62%; animation-delay: -2s; width: 2px; height: 2px; }
.s4 { top: 9%; left: 78%; animation-delay: -0.5s; } .s5 { top: 40%; left: 30%; animation-delay: -2.6s; width: 2px; height: 2px; }
@keyframes twinkle { 50% { opacity: 0.15; } }
.skyline { position: absolute; left: 0; right: 0; bottom: 26px; width: 100%; height: 300px; }
.skyline .far { fill: rgba(40, 80, 170, 0.28); }
.skyline .near { fill: #061536; color: #061536; }
.skyline .stroke { stroke: #061536; }
.skyline .stroke.thin { stroke: rgba(6, 21, 54, 0.9); }
.skyline .clock { fill: #ffe7a3; opacity: 0.85; }
.skyline .glass { fill: rgba(255, 214, 120, 0.22); }
.skyline .lit { fill: var(--yellow); opacity: 0.75; animation: window-light 6s ease-in-out infinite; animation-delay: calc(var(--k) * -0.7s); }
@keyframes window-light { 0%, 100% { opacity: 0.75; } 45% { opacity: 0.2; } 55% { opacity: 0.85; } }
@media (max-width: 900px) { .skyline { height: 190px; bottom: 26px; } }

/* The street under the skyline: a dark kerb with street-lamp glows, and one taxi driving across now and then */
.hero-street { position: absolute; left: 0; right: 0; bottom: 0; height: 26px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, #0a1c44 0 2px, #050f29 2px); }
/* Lamp glows along the pavement */
.hero-street::before { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 34px;
  background: radial-gradient(14px 10px at 50% 100%, rgba(255, 214, 120, 0.35), transparent 70%) 0 0 / 240px 100% repeat-x; }
/* Faint centre line */
.hero-street::after { content: ''; position: absolute; left: 0; right: 0; top: 13px; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255, 198, 41, 0.45) 0 26px, transparent 26px 64px); }
.street-scene { position: absolute; inset: auto 0 0 0; height: 100%; --t: 18s; }
/* The pickup: riders wait at the middle of the street, the taxi pulls in, they get in, it drives off. One loop every 18 seconds. */
.street-taxi { position: absolute; z-index: 2; left: -130px; bottom: 6px; width: 86px; animation: taxi-run var(--t) infinite; }
.street-taxi svg { display: block; width: 100%; height: auto; }
.street-taxi .brake { animation: brake var(--t) infinite; }
@keyframes taxi-run {
  0% { left: -130px; animation-timing-function: cubic-bezier(.2, .7, .3, 1); }
  26% { left: calc(50% - 52px); }
  52% { left: calc(50% - 52px); animation-timing-function: cubic-bezier(.6, 0, .9, .6); }
  74%, 100% { left: calc(100% + 40px); }
}
@keyframes brake { 0%, 20% { opacity: 0.55; } 24%, 52% { opacity: 1; filter: drop-shadow(0 0 3px #ff5a5a); } 56%, 100% { opacity: 0.55; } }

.rider { position: absolute; z-index: 1; bottom: 13px; height: 30px; fill: #a9bfeb; stroke: #a9bfeb; animation: rider var(--t) infinite; }
.rider svg { display: block; height: 100%; width: auto; overflow: visible; }
.rider .case { fill: #ffc629; stroke: none; }
.rider .case-h { stroke: #ffc629; }
.r1 { left: calc(50% + 4px); }
.r2 { left: calc(50% + 17px); animation-name: rider-2; }
/* Waiting, then a few steps to the car door and in; a new rider walks up later */
@keyframes rider {
  0%, 30% { opacity: 1; transform: translateX(0); }
  38% { opacity: 1; transform: translateX(-16px); }
  42%, 80% { opacity: 0; transform: translateX(-20px); }
  81% { opacity: 0; transform: translateX(46px); }
  92%, 100% { opacity: 1; transform: translateX(0); }
}
@keyframes rider-2 {
  0%, 34% { opacity: 1; transform: translateX(0); }
  43% { opacity: 1; transform: translateX(-24px); }
  47%, 84% { opacity: 0; transform: translateX(-28px); }
  85% { opacity: 0; transform: translateX(46px); }
  97%, 100% { opacity: 1; transform: translateX(0); }
}
/* Legs move while walking; the first rider waves while the taxi pulls in */
.rider .leg { animation: step var(--t) infinite; transform-box: fill-box; transform-origin: 50% 0; }
.rider .leg.r { animation-name: step-r; }
@keyframes step { 0%, 30%, 42%, 81%, 92%, 100% { transform: rotate(0); } 32%, 36%, 83%, 87%, 91% { transform: rotate(14deg); } 34%, 38%, 85%, 89% { transform: rotate(-14deg); } }
@keyframes step-r { 0%, 30%, 42%, 81%, 92%, 100% { transform: rotate(0); } 32%, 36%, 83%, 87%, 91% { transform: rotate(-14deg); } 34%, 38%, 85%, 89% { transform: rotate(14deg); } }
.rider .arm { animation: wave var(--t) infinite; transform-box: fill-box; transform-origin: 0 0; }
@keyframes wave { 0%, 10%, 26%, 100% { transform: rotate(0); } 13%, 19%, 25% { transform: rotate(-120deg); } 16%, 22% { transform: rotate(-150deg); } }

.pickup-pin { position: absolute; z-index: 1; left: calc(50% + 8px); bottom: 48px; width: 14px; animation: pin var(--t) infinite; }
.pickup-pin svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 2px 4px rgba(255, 198, 41, 0.45)); }
@keyframes pin {
  0%, 28% { opacity: 1; transform: translateY(0); }
  4%, 12%, 20% { transform: translateY(-4px); }
  8%, 16%, 24% { transform: translateY(0); }
  34%, 88% { opacity: 0; transform: translateY(-8px); }
  96%, 100% { opacity: 1; transform: translateY(0); }
}
/* Arabic: the same scene, mirrored */
[dir="rtl"] .street-scene { transform: scaleX(-1); }

/* ---------- Scroll reveals ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--d, 0) * 0.12s); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Sign section on a night band ---------- */
.journeys { background: linear-gradient(180deg, #10337a 0%, var(--night) 100%); color: #fff; border: 0; position: relative; }
.journeys h2 { color: #fff; }
.journeys-copy p { color: #c9d7f3; }
.journeys .fine { color: #9fb4dc; }
.sign { background: linear-gradient(180deg, color-mix(in srgb, var(--sign) 92%, white), var(--sign)); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05); }
.sign-post { position: absolute; left: 50%; bottom: -90px; width: 22px; height: 90px; margin-left: -11px; background: linear-gradient(90deg, #5b6b85, #9aa7bb 45%, #4a586f); z-index: -1; border-radius: 3px; }
.sign-fare { color: var(--yellow); }
.sign-fare small { color: #fff; }
.sign-row { opacity: 1; }
html.js .sign[data-reveal] .sign-row { opacity: 0; transform: translateX(30px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), background-color 0.2s; transition-delay: calc(0.35s + var(--n) * 0.14s); }
html.js .sign[data-reveal].is-in .sign-row { opacity: 1; transform: none; }
.sign-row:hover .sign-arrow { animation: nudge 0.6s var(--ease); }
@keyframes nudge { 50% { translate: 0 -5px; } }
.sign-row:hover { background: rgba(255, 255, 255, 0.1); }
/* A car's headlights sweeping across the sign */
.sign::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.16) 48%, transparent 60%) -150% 0 / 250% 100% no-repeat; animation: sweep 7s ease-in-out 1.5s infinite; }
@keyframes sweep { 0%, 60% { background-position: -150% 0; } 85%, 100% { background-position: 250% 0; } }
@media (max-width: 900px) { .sign-post { display: none; } }

/* ---------- Fares ---------- */
.tariff { border-top: 3px solid var(--yellow); }
.tariff td { color: var(--ink); }
.estimator { background: linear-gradient(160deg, #eef4ff, #f8fbff); border: 1px solid #dbe6fb; box-shadow: 0 30px 60px -40px rgba(12, 42, 102, 0.45); }
.est-result strong { color: var(--brand-deep); }
.est-result strong.bump { animation: bump 0.4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.06); } }
.est-presets button.on { background: var(--brand); border-color: var(--brand); }

/* ---------- Fleet: cars drive in, wheels turn ---------- */
.fleet-section { background: linear-gradient(180deg, #fff, #f1f6ff); }
.fleet-art { background: linear-gradient(180deg, #e7efff, #f5f8ff); position: relative; overflow: hidden; }
.fleet-art::after { content: ''; position: absolute; left: 0; right: 0; bottom: 14px; height: 2px; background: repeating-linear-gradient(90deg, #c7d4ec 0 14px, transparent 14px 26px); }
.fleet-art .car-art { position: relative; z-index: 1; }
html.js .fleet li[data-reveal] .car-art { transform: translateX(-120%); transition: transform 1.2s var(--ease); transition-delay: calc(var(--d, 0) * 0.12s + 0.2s); }
html.js .fleet li[data-reveal].is-in .car-art { transform: none; }
.car-art .wheel { transform-box: fill-box; transform-origin: center; }
html.js .fleet li.is-in .wheel { animation: roll 1.2s var(--ease) calc(var(--d, 0) * 0.12s + 0.2s) both; }
@keyframes roll { from { transform: rotate(-540deg); } }
.fleet li:hover .wheel { animation: roll 0.8s var(--ease); }
.fleet h3 { color: var(--ink); }


/* ---------- Licence ---------- */
.licence { background: linear-gradient(180deg, #f1f6ff, #fff); }
html.js .plate[data-reveal] { transform: rotate(-8deg) translateY(30px); }
html.js .plate[data-reveal].is-in { transform: rotate(-2deg); transition: opacity 0.8s var(--ease), transform 1s cubic-bezier(0.3, 1.5, 0.5, 1); }

/* ---------- Reviews on a blue band ---------- */
.reviews-section { background: radial-gradient(800px 400px at 100% 0%, rgba(255, 255, 255, 0.12), transparent 70%), linear-gradient(160deg, var(--brand) 0%, #0c3a9e 100%); color: #fff; border-top: 0 !important; }
.reviews-section h2 { color: #fff; }
.reviews-section .rating-count, .reviews-section .fine { color: #d3e0ff; }
.reviews-section .rating-num { color: var(--yellow); }
.reviews-section .btn-outline { --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5); }
.reviews-section .btn-outline:hover { --bg: #fff; --fg: var(--ink); }
.reviews-section .btn-quiet { --fg: #fff; }
.reviews-section .review { color: var(--text); border: 0; box-shadow: 0 30px 50px -34px rgba(0, 0, 0, 0.6); }
.reviews-section .carousel-btn { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.reviews-section .carousel-progress { background: rgba(255, 255, 255, 0.25); }
.reviews-section .carousel-progress span { background: var(--yellow); }

/* ---------- FAQ ---------- */
.faq { border-top-color: var(--yellow); }
.faq details[open] summary { color: var(--brand-deep); }

/* ---------- Footer: a yellow road line along the top ---------- */
.site-footer { position: relative; background: linear-gradient(180deg, #0a1f4d, var(--night)); }
.site-footer::before { content: ''; display: block; height: 6px; background: repeating-linear-gradient(90deg, var(--yellow) 0 48px, transparent 48px 80px); background-size: 80px 6px; animation: footer-road 2.5s linear infinite; }
@keyframes footer-road { to { background-position: 80px 0; } }
.footer-phone a { color: var(--yellow); }
.footer-base { align-items: center; }
.credit { margin: 0 0 0 auto !important; color: var(--muted-d); text-align: right; }
.credit a { color: var(--yellow) !important; font-weight: 800; letter-spacing: 0.02em; }
@media (max-width: 640px) { .credit { margin: 0 !important; text-align: left; } }

@media (prefers-reduced-motion: reduce) {
  .hero-title .w, .rise, html.js [data-reveal], html.js .sign[data-reveal] .sign-row, html.js .fleet li[data-reveal] .car-art { opacity: 1 !important; transform: none !important; animation: none !important; }
  .street-taxi { display: none; }
  .rider, .pickup-pin, .rider .leg, .rider .arm { animation: none !important; }
  .star, .sign::after, .site-footer::before, .skyline .lit { animation: none !important; }
}
.footer-legal a { color: #c3cedd; }
.footer-base p.credit { display: block; }
@media (max-width: 900px) { .hero-ctas { display: none; } .hero-call { margin-bottom: 4px; font-size: 1rem; } .hero { padding-bottom: 190px; } .street-taxi { width: 64px; } .street-scene { --t: 16s; } }

/* ---------- Our cars: cards with drawings, capacity icons and a sample fare ---------- */
.fleet { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.car-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #dfe7f5; border-radius: 18px; overflow: hidden; box-shadow: 0 1px 2px rgba(12, 42, 102, 0.05); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s; }
.car-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(12, 42, 102, 0.45); border-color: #c9d8f3; }
.car-card .fleet-art { margin: 0; border-radius: 0; padding: 34px 14px 16px; background: radial-gradient(120% 90% at 50% 0%, #ffffff 0%, #e8f0ff 70%); border-bottom: 1px solid #e3eaf7; }
.car-card .fleet-art::after { bottom: 12px; left: 10%; right: 10%; }
.car-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.car-body h3 { font-size: 1.2rem; margin-bottom: 4px; }
.car-body > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 16px; flex: 1; }
.car-specs { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.car-specs li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px 6px; border-radius: 999px; background: #eef4ff; font-size: 0.88rem; color: var(--muted); line-height: 1; white-space: nowrap; }
.car-specs .i { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: -2px; }
.car-specs strong { font-size: 1rem; color: var(--ink); font-weight: 800; }
.car-price { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 14px; border-top: 1px dashed #d6e0f0; text-decoration: none; color: var(--muted); font-size: 0.88rem; }
.car-price strong { font-size: 1.3rem; color: var(--ink); font-weight: 800; white-space: nowrap; }
.car-price strong small { font-size: 0.62em; font-weight: 600; color: var(--muted); }
.car-price:hover strong { color: var(--brand-deep); }
.car-art .shadow { fill: rgba(12, 32, 80, 0.16); }
.car-art .c-top { stop-color: color-mix(in srgb, var(--brand) 70%, white); }
.car-art .c-bot { stop-color: color-mix(in srgb, var(--brand) 75%, #001a4d); }
.car-art .body { fill-opacity: 1; }
.car-art .w-top { stop-color: #dbe8ff; }
.car-art .w-bot { stop-color: #7fa3e0; }
.car-art .seam { fill: none; stroke: rgba(0, 20, 60, 0.35); stroke-width: 1.2; }
.car-art .trim { fill: none; stroke: rgba(255, 255, 255, 0.35); stroke-width: 1.5; }
.car-art .lamp { stroke: #ffe28a; stroke-width: 4; stroke-linecap: round; }
.car-art .tail { stroke: #ff5a4f; stroke-width: 4; stroke-linecap: round; }
.car-art .tyre { fill: #141c28; }
.car-art .rim { fill: #c8d2e0; }
.car-art .spokes { stroke: #7d8aa0; stroke-width: 1.6; }
.car-art .hub { fill: #45526a; }

/* ---------- Floating WhatsApp chat ---------- */
.wa { --wa: #25d366; --wa-deep: #128c7e; position: fixed; right: 20px; bottom: 20px; z-index: 60; font-size: 0.95rem; }
.wa-btn { position: relative; width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--wa); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 14px 30px -10px rgba(18, 140, 126, 0.75); transition: transform 0.25s var(--ease); }
.wa-btn::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: wa-ping 2.6s ease-out infinite; }
@keyframes wa-ping { 0% { transform: scale(1); opacity: 0.55; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
.wa-btn:hover { transform: scale(1.07); }
.wa-logo { width: 32px; height: 32px; fill: #fff; }
.wa-dot { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; border-radius: 10px; background: #ff3b30; color: #fff; font-size: 0.72rem; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
.wa.is-seen .wa-dot, .wa.is-open .wa-btn::before { display: none; }
.wa-teaser { position: absolute; right: 72px; bottom: 10px; width: max-content; max-width: 240px; padding: 10px 30px 10px 14px; border-radius: 14px 14px 4px 14px; background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 16px 40px -18px rgba(7, 26, 63, 0.5); animation: wa-pop 0.4s var(--ease); }
.wa-teaser-close { position: absolute; top: 4px; right: 6px; border: 0; background: none; font-size: 1.1rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 2px 4px; }
@keyframes wa-pop { from { opacity: 0; transform: translateY(8px) scale(0.96); } }
.wa-panel { position: absolute; right: 0; bottom: 76px; width: min(360px, calc(100vw - 32px)); border-radius: 18px; overflow: hidden; background: #efeae2; box-shadow: 0 30px 70px -20px rgba(7, 26, 63, 0.55); transform-origin: bottom right; animation: wa-open 0.3s var(--ease); }
@keyframes wa-open { from { opacity: 0; transform: translateY(14px) scale(0.94); } }
.wa-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--wa-deep); color: #fff; }
.wa-head div { flex: 1; display: grid; line-height: 1.25; }
.wa-head strong { font-size: 1.02rem; }
.wa-head small { opacity: 0.85; font-size: 0.82rem; }
.wa-avatar { position: relative; width: 42px; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; }
.wa-avatar img { max-width: 30px; max-height: 30px; object-fit: contain; }
.wa-avatar i { position: absolute; right: 0; bottom: 0; width: 11px; height: 11px; border-radius: 50%; background: #4ade80; border: 2px solid var(--wa-deep); }
.wa-close { border: 0; background: rgba(255, 255, 255, 0.15); color: #fff; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.wa-body { padding: 16px; min-height: 150px; background-color: #efeae2; background-image: radial-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px); background-size: 14px 14px; }
.wa-msg { position: relative; max-width: 88%; padding: 9px 12px 18px; background: #fff; border-radius: 0 12px 12px 12px; color: #111b21; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08); animation: wa-pop 0.4s 0.15s var(--ease) both; }
.wa-msg p { margin: 0 0 4px; line-height: 1.4; }
.wa-msg time { position: absolute; right: 10px; bottom: 4px; font-size: 0.7rem; color: #667781; }
.wa-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.wa-quick button { font: inherit; font-size: 0.86rem; font-weight: 600; padding: 7px 12px; border-radius: 999px; border: 1px solid #b7e4c7; background: #fff; color: var(--wa-deep); cursor: pointer; }
.wa-quick button:hover { background: #dcf8c6; }
.wa-form { display: flex; gap: 8px; padding: 10px; background: #f0f2f5; }
.wa-form input { flex: 1; border: 0; border-radius: 999px; padding: 11px 16px; font-size: 16px; background: #fff; box-shadow: none; }
.wa-form input:focus { box-shadow: 0 0 0 2px var(--wa); }
.wa-form button { width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: var(--wa-deep); display: grid; place-items: center; cursor: pointer; }
.wa-form button svg { width: 20px; height: 20px; fill: #fff; }
.wa-foot { margin: 0; padding: 0 14px 10px; background: #f0f2f5; font-size: 0.74rem; color: #667781; text-align: center; }
@media (max-width: 760px) {
  .wa { right: 14px; bottom: 14px; transition: bottom 0.3s var(--ease); }
  .show-bar .wa { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .wa-btn { width: 54px; height: 54px; }
  .wa-teaser { max-width: 190px; }
}
@media (prefers-reduced-motion: reduce) { .wa-btn::before { animation: none; } }

/* Optional photos from Admin → Website → Pictures */
.hero-photo { position: absolute; inset: 0; z-index: -3; background-size: cover; background-position: center; }
.hero.has-photo::before { content: ''; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(7, 26, 63, 0.82), rgba(7, 26, 63, 0.7) 50%, rgba(12, 42, 102, 0.88)); }
.hero.has-photo { background: var(--night); }
.fleet-art.has-photo { padding: 0; aspect-ratio: 16 / 10; }
.fleet-art.has-photo::after { display: none; }
.car-photo { width: 100%; height: 100%; object-fit: cover; }
.licence-photo { width: 100%; max-width: 460px; justify-self: center; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; box-shadow: 0 30px 60px -36px rgba(12, 42, 102, 0.6); }

/* Free cancellation line on the booking form */
.free-cancel { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 12px 0 0; font-size: 0.92rem; font-weight: 600; color: var(--ok); }
.free-cancel .i { width: 17px; height: 17px; stroke-width: 3; }
.free-cancel-total { justify-content: flex-start; margin: -6px 0 14px; }
.cc-fee { font-weight: 700; color: var(--danger); }
/* Registration plates in the UK number plate lettering */
.reg-plate { font-family: 'UK Plate', 'Arial Narrow', sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: 0; line-height: 1; white-space: nowrap; padding: 7px 12px 6px !important; font-size: 1.15rem !important; border-radius: 5px; background: #fcd116; box-shadow: inset 0 0 0 1.5px #111; }

/* Promo code and itemised fare on the booking form */
.promo-row { display: flex; gap: 8px; }
.promo-row input { flex: 1; min-width: 0; text-transform: uppercase; }
.promo-msg { display: block; min-height: 1.2em; margin-top: 4px; font-size: 0.85rem; color: var(--muted); }
.promo-msg.is-good { color: #15803d; font-weight: 600; }
.promo-msg.is-bad { color: #b42318; }
.fare-lines { margin: -6px 0 12px; font-size: 0.88rem; }
.fare-lines summary { cursor: pointer; color: var(--brand); font-weight: 600; padding: 4px 0; }
.fare-lines dl { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; margin: 8px 0 4px; padding: 10px 12px; border-radius: 10px; background: var(--tint); }
.fare-lines dt { color: var(--ink); }
.fare-lines dt small { display: block; color: var(--muted); font-size: 0.8rem; }
.fare-lines dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.fare-leg { margin: 10px 0 0; font-weight: 700; }

/* ---------- Services: a night road; the taxi drives down it as you scroll and lights each stop ---------- */
.services { --road-w: 84px; --gap: 140px; position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(900px 500px at 85% 0%, rgba(40, 92, 190, 0.35), transparent 70%), linear-gradient(180deg, var(--night) 0%, #04112b 100%); }
.services::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 72% 9%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 38% 6%, #cfe0ff 50%, transparent 51%), radial-gradient(1px 1px at 91% 31%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 6% 62%, #cfe0ff 50%, transparent 51%); }
.services-head { position: relative; max-width: 620px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.services-head h2 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 14px; }
.services-head .intro { color: #b9c8e2; font-size: 1.08rem; margin: 0 auto; max-width: 46ch; }

.route { position: relative; }
.svc-road { position: absolute; top: -24px; bottom: -24px; left: 50%; width: var(--road-w); margin-left: calc(var(--road-w) / -2); border-radius: 14px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.5) 0 2px, transparent 2px calc(100% - 2px), rgba(255, 255, 255, 0.5) calc(100% - 2px)), #0b1630;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.025), 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  -webkit-mask: linear-gradient(180deg, transparent, #000 60px, #000 calc(100% - 60px), transparent); mask: linear-gradient(180deg, transparent, #000 60px, #000 calc(100% - 60px), transparent); }
/* the yellow centre line, already driven past behind the car */
.svc-road::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; margin-left: -2px; background: repeating-linear-gradient(180deg, rgba(255, 198, 41, 0.35) 0 22px, transparent 22px 40px); }
.svc-road-done { position: absolute; left: 50%; top: 0; width: 4px; margin-left: -2px; height: var(--done, 0px); background: repeating-linear-gradient(180deg, var(--yellow) 0 22px, transparent 22px 40px); filter: drop-shadow(0 0 6px rgba(255, 198, 41, 0.7)); }
.svc-car { position: absolute; left: 50%; top: 0; width: 38px; margin-left: -19px; transform: translateY(var(--car, 0px)); will-change: transform; }
.svc-car svg { display: block; width: 38px; height: auto; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.55)); }
.svc-car::after { content: ''; position: absolute; left: 50%; top: 58px; width: 120px; height: 150px; margin-left: -60px; pointer-events: none;
  background: radial-gradient(60px 120px at 50% 0%, rgba(255, 236, 170, 0.32), transparent 70%); }

.stops { list-style: none; margin: 0; padding: 0 0 110px; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); row-gap: 28px; position: relative; }
.stop { position: relative; }
.stop:nth-child(even) { top: 110px; }
.stop-card { position: relative; padding: 22px 24px 24px; border-radius: 16px; background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease), opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.stop-card h3 { color: #fff; font-size: 1.2rem; margin: 0 0 6px; letter-spacing: -0.01em; }
.stop-card p { color: #b9c8e2; margin: 0; line-height: 1.55; }
.stop-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; margin-bottom: 14px; color: #dbe6ff; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); transition: background-color 0.5s, color 0.5s, box-shadow 0.5s; }
.stop-icon .i { width: 22px; height: 22px; }
/* slip road from the card to its junction on the road */
.stop::before { content: ''; position: absolute; top: 46px; height: 2px; width: calc(var(--gap) / 2 - var(--road-w) / 2 + 4px); background: linear-gradient(90deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.08)); }
.stop:nth-child(odd)::before { left: 100%; transform: scaleX(-1); transform-origin: center; }
.stop:nth-child(even)::before { right: 100%; }
.stop::after { content: ''; position: absolute; top: 40px; width: 14px; height: 14px; border-radius: 50%; background: #0b1630; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35); transition: background-color 0.4s, box-shadow 0.4s; }
.stop:nth-child(odd)::after { left: calc(100% + var(--gap) / 2 - var(--road-w) / 2 - 10px); }
.stop:nth-child(even)::after { right: calc(100% + var(--gap) / 2 - var(--road-w) / 2 - 10px); }

/* Lit: the taxi has reached this stop */
html.js .stop:not(.is-lit) .stop-card { opacity: 0.5; transform: translateY(10px); }
.stop.is-lit .stop-card { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 198, 41, 0.45); }
.stop.is-lit .stop-icon { background: var(--yellow); color: #0b1a33; box-shadow: 0 0 0 6px rgba(255, 198, 41, 0.14), 0 0 28px rgba(255, 198, 41, 0.45); }
.stop.is-lit::after { background: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 198, 41, 0.25), 0 0 16px rgba(255, 198, 41, 0.8); }
.stop.is-lit::before { background: linear-gradient(90deg, rgba(255, 198, 41, 0.8), rgba(255, 198, 41, 0.15)); }

@media (max-width: 820px) {
  .services { --road-w: 46px; }
  .svc-road { left: 22px; margin-left: 0; }
  .svc-car { width: 30px; margin-left: -15px; }
  .svc-car svg { width: 30px; }
  .svc-car::after { top: 44px; width: 46px; height: 90px; margin-left: -23px; background: radial-gradient(22px 70px at 50% 0%, rgba(255, 236, 170, 0.28), transparent 70%); }
  .stops { grid-template-columns: 1fr; padding: 0 0 40px calc(var(--road-w) + 38px); row-gap: 22px; }
  .stop:nth-child(even) { top: 0; }
  .stop::before, .stop:nth-child(odd)::before, .stop:nth-child(even)::before { left: auto; right: 100%; transform: none; width: 26px; }
  .stop::after, .stop:nth-child(odd)::after, .stop:nth-child(even)::after { left: auto; right: calc(100% + 26px + (var(--road-w) - 14px) / 2 - 1px); }
  .services-head { text-align: left; margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .svc-car { transform: none; }
  html.js .stop:not(.is-lit) .stop-card { opacity: 1; transform: none; }
}


/* ---------- Scroll bar: a night road, and the taxi is the handle (Chrome, Edge, Safari; Firefox gets taxi colours) ---------- */
html::-webkit-scrollbar { width: 18px; }
html::-webkit-scrollbar-track {
  background:
    repeating-linear-gradient(180deg, rgba(255, 198, 41, 0.55) 0 12px, transparent 12px 24px) center / 2px 100% no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.28) 0 1px, transparent 1px calc(100% - 1px), rgba(255, 255, 255, 0.28) calc(100% - 1px)),
    #0b1630;
}
html::-webkit-scrollbar-thumb {
  min-height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 72'%3E%3Crect x='3' y='4' width='34' height='64' rx='11' fill='%23ffc629' stroke='%23c98d00' stroke-width='1.5'/%3E%3Cpath d='M8 44h24l-2 12H10z' fill='%230b1a33' opacity='.85'/%3E%3Cpath d='M8 22h24l-3-9H11z' fill='%230b1a33' opacity='.7'/%3E%3Crect x='11' y='27' width='18' height='13' rx='3' fill='%23f2b400'/%3E%3Crect x='13' y='31' width='14' height='5' rx='1.5' fill='%230b1a33'/%3E%3Crect x='6' y='63' width='8' height='4' rx='2' fill='%23fff6d5'/%3E%3Crect x='26' y='63' width='8' height='4' rx='2' fill='%23fff6d5'/%3E%3Crect x='6' y='5' width='7' height='3' rx='1.5' fill='%23d0342c'/%3E%3Crect x='27' y='5' width='7' height='3' rx='1.5' fill='%23d0342c'/%3E%3C/svg%3E") center / 14px auto no-repeat;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.5));
}
html::-webkit-scrollbar-thumb:hover { background-size: 16px auto; }
html::-webkit-scrollbar-thumb:active { background-size: 16px auto; }
@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-color: #ffc629 #0b1630; }
}

/* Online payment */
.pay-due-box { margin: 0 0 18px; padding: 14px 16px; border-radius: var(--r); background: #fff7dd; border: 1px solid #f3d27a; }
.pay-due-box p { margin: 0 0 10px; }
.alert-success { background: #e8f6ee; color: #14532d; border: 1px solid #a7dcbc; padding: 12px 14px; border-radius: var(--r); margin: 0 0 16px; }
.pay-card { max-width: 560px; margin: 0 auto; }
.pay-legs { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.pay-legs li { position: relative; padding: 12px 90px 12px 14px; border-radius: var(--r); background: var(--tint); font-size: 0.95rem; }
.pay-legs li span { color: var(--muted); }
.pay-legs li b { position: absolute; right: 14px; top: 12px; font-variant-numeric: tabular-nums; }
.pay-paid { color: var(--ok); font-weight: 600; }
.pay-due { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0; padding-top: 14px; border-top: 2px solid var(--ink); }
.pay-due strong { font-size: 2rem; font-variant-numeric: tabular-nums; }
.pay-buttons { display: grid; gap: 10px; }
.pay-buttons .btn { flex-direction: column; gap: 2px; }
.pay-buttons .btn small { font-weight: 500; font-size: 0.8rem; opacity: 0.85; }
.btn-paypal { --bg: #ffc439; --fg: #10225d; }
.btn-paypal:hover { --bg: #f2b928; --fg: #10225d; }
.pay-secure { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 0.88rem; }
.pay-secure .i { width: 18px; height: 18px; flex: none; }

/* ---------- Wheelchair accessible van: 3D model and why we care ---------- */
.access { background: linear-gradient(180deg, #f3f7ff 0%, #fff 70%); }
.access-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.van3d { position: relative; margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 5 / 4;
  background: radial-gradient(120% 90% at 50% 18%, #ffffff 0%, #e9eff8 55%, #d5deec 100%); box-shadow: inset 0 0 0 1px rgba(12, 42, 102, 0.08), 0 40px 80px -50px rgba(12, 42, 102, 0.55); }
.van3d::after { content: ''; position: absolute; left: 10%; right: 10%; bottom: 13%; height: 1px; background: linear-gradient(90deg, transparent, rgba(12, 42, 102, 0.18), transparent); pointer-events: none; }
.van3d-canvas { position: absolute; inset: 0; }
.van3d-canvas canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.van3d-canvas canvas:active { cursor: grabbing; }
.van3d-fallback { position: absolute; inset: 22% 8% 22%; display: grid; place-items: center; transition: opacity 0.4s; }
.van3d-fallback svg { width: 100%; height: auto; }
.van3d.is-3d .van3d-fallback { opacity: 0; visibility: hidden; }
.van3d-badge { position: absolute; z-index: 2; top: 18px; left: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: #1f5fbf; color: #fff; font-weight: 700; font-size: 0.9rem; box-shadow: 0 10px 24px -12px rgba(31, 95, 191, 0.8); }
.van3d-badge .i { width: 20px; height: 20px; }
.van3d-bar { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.van3d-btn { font: inherit; font-weight: 700; font-size: 0.92rem; border: 0; border-radius: 999px; padding: 10px 18px; background: var(--ink, #0b1a33); color: #fff; cursor: pointer; display: none; }
.van3d.is-3d .van3d-btn { display: inline-block; }
.van3d-btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.van3d-hint { display: none; align-items: center; gap: 6px; color: #51607a; font-size: 0.85rem; font-weight: 600; transition: opacity 0.4s; }
.van3d-hint svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.van3d.is-3d .van3d-hint { display: inline-flex; }
.van3d.is-touched .van3d-hint { opacity: 0; }

.access-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.06; letter-spacing: -0.02em; margin: 0 0 14px; }
.access-copy .intro { color: var(--muted); font-size: 1.06rem; margin: 0 0 22px; max-width: 54ch; }
.access-features { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.access-features li { display: flex; gap: 12px; align-items: flex-start; }
.access-features h3 { font-size: 1rem; margin: 2px 0 3px; }
.access-features p { margin: 0; color: var(--muted); font-size: 0.93rem; line-height: 1.5; }
.af-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #e3ecfb; color: #1f5fbf; }
.af-icon .i { width: 20px; height: 20px; }
.access-why { position: relative; margin: 0 0 24px; padding: 20px 22px 20px 24px; border-radius: 18px; background: #0b1a33; color: #dbe4f3; }
.access-why::before { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 0 4px 4px 0; background: var(--yellow); }
.access-why h3 { color: #fff; margin: 0 0 8px; font-size: 1.15rem; }
.access-why p { margin: 0; line-height: 1.6; }
.access-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.access-cta .small { margin: 0; color: var(--muted); font-size: 0.88rem; max-width: 34ch; }
@media (max-width: 900px) {
  .access-grid { grid-template-columns: 1fr; }
  .van3d { aspect-ratio: 1 / 1.02; }
  .van3d-badge { top: 12px; left: 12px; font-size: 0.82rem; padding: 6px 12px 6px 8px; }
  .van3d-bar { left: 12px; right: 12px; bottom: 12px; }
}
@media (max-width: 560px) { .access-features { grid-template-columns: 1fr; } }

/* ---------- News & blog ---------- */
.post-card { display: grid; align-content: start; gap: 18px; min-width: 0; }
.post-card-pic { display: block; border-radius: var(--r-lg); overflow: hidden; background: var(--sand); aspect-ratio: 16 / 10; }
.post-card-pic img, .post-card-blank { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.post-card-blank { background: linear-gradient(135deg, var(--sign), var(--ink)); }
.post-card:hover .post-card-pic img { transform: scale(1.03); }
.post-card-text { min-width: 0; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0 0 8px; font-size: 0.88rem; font-weight: 600; color: var(--muted); }
.post-meta > * + *::before { content: ''; display: inline-block; width: 1px; height: 0.9em; margin-right: 12px; vertical-align: -0.1em; background: var(--mist); }
.post-card-title { font-size: 1.28rem; line-height: 1.22; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 8px; }
.post-card-title a { color: var(--text); text-decoration: none; }
.post-card-title a::after { content: ''; position: absolute; inset: 0; }
.post-card { position: relative; }
.post-card-title a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.post-card-excerpt { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .post-grid { grid-template-columns: 1fr; gap: 28px; }
  .post-grid .post-card { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: start; }
  .post-grid .post-card-pic { aspect-ratio: 1; border-radius: var(--r); }
  .post-grid .post-card-title { font-size: 1.08rem; }
  .post-grid .post-card-excerpt { display: none; }
  .post-grid .post-meta { font-size: 0.8rem; margin-bottom: 4px; }
}

/* Homepage section */
.blog-section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 40px; }
.blog-section-head h2 { margin-bottom: 0.3em; }
.blog-section-head .intro { margin: 0; }

/* News page */
.blog-hero { background: var(--tint); border-bottom: 1px solid var(--line); padding: calc(var(--header-h) + var(--announce-h, 0px) + 56px) 0 48px; }
.blog-hero h1 { font-size: clamp(2.4rem, 5.4vw, 3.8rem); letter-spacing: -0.025em; margin-bottom: 0.25em; }
.blog-hero .intro { margin: 0; }
.blog-list { padding: 56px 0 96px; }
.post-card-lead { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px 48px; align-items: center; padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); }
.post-card-lead .post-card-title { font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 14px; }
.post-card-lead .post-card-excerpt { font-size: 1.1rem; -webkit-line-clamp: 5; }
@media (max-width: 800px) { .post-card-lead { grid-template-columns: 1fr; padding-bottom: 40px; margin-bottom: 40px; } }
.blog-empty { color: var(--muted); font-size: 1.1rem; }
.blog-pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.blog-pager-at { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
@media (max-width: 600px) { .blog-pager-at { display: none; } }

/* One post */
.read-progress { position: fixed; z-index: 60; left: 0; right: 0; top: 0; height: 3px; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--brand); transform: scaleX(0); transform-origin: 0 50%; }
.post-head { padding-top: calc(var(--header-h) + var(--announce-h, 0px) + 40px); padding-bottom: 32px; }
.post-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.06; letter-spacing: -0.025em; max-width: 22ch; margin: 0 0 22px; }
.post-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 22px; font-weight: 700; font-size: 0.95rem; text-decoration: none; color: var(--brand-deep); }
.post-back:hover { text-decoration: underline; }
.post-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0; color: var(--muted); font-weight: 600; font-size: 0.98rem; }
.post-byline > time::before, .post-byline > time + span::before { content: ''; display: inline-block; width: 1px; height: 0.9em; margin-right: 14px; vertical-align: -0.1em; background: var(--mist); }
.post-avatar + .post-author + time::before { display: inline-block; }
.post-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sign); color: #fff; font-weight: 800; font-size: 0.95rem; margin-right: -4px; }
.post-author { color: var(--text); }
.post-byline > .post-avatar:first-child ~ time::before { display: inline-block; }
.post-byline > time:first-child::before { display: none; }
.post-draft { margin: 0 0 20px; padding: 12px 16px; border-radius: var(--r); background: #fff4d1; color: #6b4600; font-weight: 600; }
.post-cover { margin-block: 0 56px; }
.post-cover img { width: 100%; max-height: 600px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-xl); background: var(--sand); }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px 72px; align-items: start; padding-bottom: 96px; }
.post-aside { position: sticky; top: calc(var(--header-h) + var(--announce-h, 0px) + 24px); display: grid; gap: 28px; }
.post-book { background: var(--sign); color: #fff; border-radius: var(--r-lg); padding: 26px 24px 22px; }
.post-book-title { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.15; margin: 0 0 8px; }
.post-book p { color: #d8e2f2; font-size: 0.98rem; }
.post-book a:not(.btn) { color: #fff; }
.post-book-btn { --bg: #fff; --fg: var(--sign); width: 100%; }
.post-book-btn:hover { --bg: var(--plate); --fg: #111; }
.post-book-phone { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-weight: 700; text-decoration: none; }
.post-book-phone:hover { text-decoration: underline; color: #fff; }
.post-share p { margin: 0 0 10px; font-weight: 700; font-size: 0.95rem; }
.post-share div { display: flex; flex-wrap: wrap; gap: 8px; }
.post-share a, .post-share button { font: inherit; font-size: 0.9rem; font-weight: 600; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--text); text-decoration: none; cursor: pointer; }
.post-share a:hover, .post-share button:hover { border-color: var(--text); color: var(--text); }
@media (max-width: 960px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-aside { position: static; max-width: 68ch; }
  .post-cover { margin-bottom: 36px; }
}
@media (max-width: 600px) {
  .post-cover { width: 100%; }
  .post-cover img { border-radius: 0; aspect-ratio: 4 / 3; }
}

.prose-post { max-width: 68ch; font-size: 1.14rem; line-height: 1.75; }
.prose-post > :first-child { margin-top: 0; }
.prose-post > p:first-child { font-size: 1.28rem; line-height: 1.6; color: var(--text); }
.prose-post p { margin: 0 0 1.15em; }
.prose-post h2 { font-size: clamp(1.45rem, 2.4vw, 1.75rem); line-height: 1.2; margin: 1.9em 0 0.55em; }
.prose-post h3 { font-size: 1.25rem; margin: 1.6em 0 0.45em; }
.prose-post ul, .prose-post ol { margin: 0 0 1.3em; padding-left: 1.4em; }
.prose-post li { margin-bottom: 0.4em; padding-left: 0.2em; }
.prose-post ul { list-style: none; padding-left: 1.6em; }
.prose-post ul li { position: relative; }
.prose-post ul li::before { content: ''; position: absolute; left: -1.25em; top: 0.68em; width: 8px; height: 8px; border-radius: 2px; background: var(--brand); }
.prose-post ol li::marker { font-weight: 800; color: var(--brand-deep); }
.prose-post blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--brand); font-size: 1.28rem; line-height: 1.5; font-weight: 600; }
.prose-post blockquote p { margin: 0; }
.prose-post figure { margin: 2em 0; }
.prose-post figure img { width: 100%; height: auto; border-radius: var(--r-lg); background: var(--sand); }
.prose-post figcaption { margin-top: 10px; font-size: 0.92rem; color: var(--muted); }
.prose-post a { font-weight: 600; }
.prose-post strong { font-weight: 800; }

.post-more { background: var(--tint); border-top: 1px solid var(--line); padding: 72px 0 96px; }
.post-more-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 36px; }
.post-more-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0; }
.post-more-head a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.post-more-head a:hover { text-decoration: underline; }

/* =====================================================================
   Arabic: right to left
   IBM Plex Sans Arabic for Arabic letters; Latin letters and numbers (prices, postcodes) stay in Overpass.
   ===================================================================== */
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-display: swap; font-weight: 400; src: url('../fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-display: swap; font-weight: 500 600; src: url('../fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-display: swap; font-weight: 700 900; src: url('../fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

/* Language switch: a slim vertical tab on the right edge, the two languages one above the other */
.lang-float { position: fixed; z-index: 55; right: 0; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: stretch; gap: 3px; padding: 4px; direction: ltr;
  background: #fff; border: 1px solid var(--line); border-right: 0; border-radius: 12px 0 0 12px; box-shadow: 0 10px 28px -12px rgba(10, 26, 51, 0.45); }
.lang-float a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 6px 12px; border-radius: 8px; font-family: 'Overpass', system-ui, sans-serif; font-size: 0.82rem; font-weight: 700; line-height: 1; color: var(--ink); text-decoration: none; white-space: nowrap; transition: background-color 0.2s, color 0.2s; }
.lang-float a span { writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: 0.02em; }
.lang-float .flag { width: 20px; height: 14px; flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(10, 26, 51, 0.15); }
.lang-float a:hover { background: var(--tint); }
.lang-float a.is-on { background: var(--ink); color: #fff; }
.lang-float a.is-on .flag { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35); }
.lang-float a:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
@media (max-width: 640px) {
  .lang-float { padding: 3px; gap: 2px; }
  .lang-float a { padding: 8px 4px 10px; gap: 6px; font-size: 0.74rem; }
  .lang-float .flag { width: 18px; height: 12px; }
}
@media print { .lang-float { display: none; } }

[dir="rtl"] {
  --display: 'IBM Plex Sans Arabic', 'Overpass', system-ui, 'Segoe UI', Tahoma, sans-serif;
  --body: 'IBM Plex Sans Arabic', 'Overpass', system-ui, 'Segoe UI', Tahoma, sans-serif;
}
/* Arabic letters join up, so no letter spacing; and taller lines for the letter shapes */
[dir="rtl"] body, [dir="rtl"] body * { letter-spacing: 0 !important; }
[dir="rtl"] body { line-height: 1.75; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { line-height: 1.35; }
[dir="rtl"] .hero-title { line-height: 1.25; }
[dir="rtl"] .reg-plate, [dir="rtl"] .plate-no, [dir="rtl"] .done-ref, [dir="rtl"] input[type="tel"], [dir="rtl"] input[type="email"], [dir="rtl"] .sign-fare { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] input[type="tel"], [dir="rtl"] input[type="email"] { text-align: right; }
[dir="rtl"] a[href^="tel:"] { unicode-bidi: isolate; }

/* Arrows that mean back and forward point the other way */
[dir="rtl"] [data-icon="left"], [dir="rtl"] [data-icon="right"], [dir="rtl"] [data-icon="arrow"], [dir="rtl"] [data-icon="external"] { transform: scaleX(-1); }

/* Header and footer */
[dir="rtl"] .main-nav { margin-left: 0; margin-right: auto; }
@media (max-width: 900px) { [dir="rtl"] .header-actions { margin-left: 0; margin-right: auto; } }
[dir="rtl"] .skip { left: auto; right: 16px; }
[dir="rtl"] .credit { margin: 0 auto 0 0 !important; text-align: left; }
@media (max-width: 640px) { [dir="rtl"] .credit { margin: 0 !important; text-align: right; } }
[dir="rtl"] .footer-legal span, [dir="rtl"] .footer-phone a { unicode-bidi: isolate; }

/* Booking form */
[dir="rtl"] input, [dir="rtl"] select, [dir="rtl"] textarea { text-align: right; }
[dir="rtl"] input[type='datetime-local']::-webkit-date-and-time-value { text-align: right; }
[dir="rtl"] .route-box::before { left: auto; right: 25px; }
[dir="rtl"] .addr { padding: 10px 12px 10px 56px; }
[dir="rtl"] .swap { right: auto; left: 12px; }
[dir="rtl"] .addr.is-loading .addr-label::after { margin-left: 0; margin-right: 6px; }
[dir="rtl"] .suggest-foot { text-align: left; }
[dir="rtl"] .check-switch input::after { left: auto; right: 3px; }
[dir="rtl"] .check-switch input:checked::after { transform: translateX(-16px); }
@keyframes step-in-rtl { from { opacity: 0; transform: translateX(-10px); } }
[dir="rtl"] .step-panel:not([hidden]) { animation-name: step-in-rtl; }
[dir="rtl"] .fare-lines dd { text-align: left; }
[dir="rtl"] .free-cancel .i { margin-left: 0; }

/* Fares table */
[dir="rtl"] .tariff th, [dir="rtl"] .tariff td { text-align: right; }
[dir="rtl"] .tariff td { text-align: left; direction: ltr; }

/* The direction sign: rows slide in from the other side */
[dir="rtl"] .sign-row + .sign-row::before { left: 24px; right: 24px; }
html.js[dir="rtl"] .sign[data-reveal] .sign-row { transform: translateX(-30px); }
html.js[dir="rtl"] .sign[data-reveal].is-in .sign-row { transform: none; }

/* Lists with ticks and bullets */
[dir="rtl"] .ticks li { padding-left: 0; padding-right: 34px; }
[dir="rtl"] .ticks li::before { left: auto; right: 0; }
[dir="rtl"] .access-why::before { left: auto; right: 0; border-radius: 4px 0 0 4px; }
[dir="rtl"] .van3d-badge { left: auto; right: 18px; padding: 8px 10px 8px 14px; }
@media (max-width: 640px) { [dir="rtl"] .van3d-badge { left: auto; right: 12px; } }

/* Other services: the road and its stops keep their layout; only the text inside reads right to left */
[dir="rtl"] .route { direction: ltr; }
[dir="rtl"] .route .stop-card { direction: rtl; text-align: right; }
@media (max-width: 760px) { [dir="rtl"] .services-head { text-align: right; margin-left: auto; margin-right: 0; } }

/* Reviews carousel scrolls left to right in both languages; the cards read right to left */
[dir="rtl"] .carousel-track { direction: ltr; }
[dir="rtl"] .carousel-track .review, [dir="rtl"] .carousel-track .review-empty { direction: rtl; text-align: right; }
[dir="rtl"] .review-filters .chip span { margin-left: 0; margin-right: 4px; }

/* WhatsApp chat sits bottom left */
[dir="rtl"] .wa { right: auto; left: 20px; }
@media (max-width: 640px) { [dir="rtl"] .wa { left: 14px; right: auto; } }
[dir="rtl"] .wa-panel { right: auto; left: 0; }
[dir="rtl"] .wa-teaser { right: auto; left: 72px; padding: 10px 14px 10px 30px; border-radius: 14px 14px 14px 4px; }
[dir="rtl"] .wa-teaser-close { right: auto; left: 6px; }
[dir="rtl"] .wa-dot { right: auto; left: -2px; }
[dir="rtl"] .wa-msg time { right: auto; left: 10px; }

/* Booking page and payments */
@media (max-width: 480px) { [dir="rtl"] .reg-plate { margin-left: 0; margin-right: 78px; } }
[dir="rtl"] .pay-legs li b { right: auto; left: 14px; }
[dir="rtl"] .terms-note { padding: 12px 16px; border-radius: var(--r); background: var(--tint); }

/* News & blog */
[dir="rtl"] .post-meta > * + *::before, [dir="rtl"] .post-byline > time::before, [dir="rtl"] .post-byline > time + span::before { margin-right: 0; margin-left: 12px; }
[dir="rtl"] .post-avatar { margin-right: 0; margin-left: -4px; }
[dir="rtl"] .read-progress span { transform-origin: 100% 50%; }
[dir="rtl"] .prose-post[dir="ltr"] { text-align: left; }
.prose-post[dir="rtl"] ul, .prose-post[dir="rtl"] ol { padding-left: 0; padding-right: 1.6em; }
.prose-post[dir="rtl"] ul li::before { left: auto; right: -1.25em; }
.prose-post[dir="rtl"] blockquote { padding: 4px 22px 4px 0; border-left: 0; border-right: 4px solid var(--brand); }
