:root{
  --paper:#F9FAF8; --white:#FFFFFF; --navy:#052A40; --navy-2:#0A3A55;
  --steel:#215B76; --steel-soft:#E7EFF3; --sage:#47695A; --sage-tint:#EDF2EE;
  --line:#E1E5E2; --line-2:#EDEFEC; --text:#3E4F58; --muted:#647680; --muted-2:#7E8F87;
  --amber:#8A6A24; --amber-tint:#FBF3E2;
  --sp:clamp(20px,4vw,40px);
  --shadow:0 16px 40px -30px rgba(5,42,64,.5);
  --radius:14px;
}
*{box-sizing:border-box;}
body{
  background:var(--paper); color:var(--text);
  font-family:"Karla",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:16px; line-height:1.6; -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{font-family:"Newsreader",Georgia,serif; font-weight:400; color:var(--navy); margin:0; text-wrap:balance; letter-spacing:-0.005em;}
h1{font-size:clamp(33px,5vw,54px); line-height:1.1;}
h2{font-size:clamp(25px,3.4vw,34px); line-height:1.2;}
h3{font-size:clamp(18px,2.2vw,21px); line-height:1.3; font-weight:500;}
h4{font-size:17px; font-weight:500;}
p{margin:0;}
a{color:var(--steel);}
:focus-visible{outline:2px solid var(--steel); outline-offset:3px; border-radius:4px;}
.shell{max-width:1180px; margin:0 auto; padding-inline:20px;}
.eyebrow{
  display:inline-flex; align-items:center; gap:8px; font-size:12px; font-weight:600;
  color:var(--sage); background:var(--sage-tint); border-radius:999px; padding:6px 13px;
}
.lede{font-size:17px; line-height:1.7; color:var(--muted); max-width:62ch;}
.small{font-size:13.5px; color:var(--muted-2);}
.stack{display:flex; flex-direction:column;}
.section{padding-block:clamp(44px,6vw,76px); border-top:1px solid var(--line);}
#open-account{scroll-margin-top:88px;}
.section.first{border-top:none;}
.section.tint{background:var(--sage-tint); border-top:1px solid #DCE4DE;}
.section.deep{background:var(--navy); border-top:none;}
.section.deep h2,.section.deep h3{color:#F4F7F6;}
.section.deep .lede{color:#9EB6C2;}
.head-2{display:flex; flex-direction:column; gap:12px; margin-bottom:30px;}

/* buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:"Karla",sans-serif; font-size:15px; font-weight:600; line-height:1;
  padding:14px 24px; border-radius:999px; border:1px solid transparent;
  text-decoration:none; cursor:pointer; transition:opacity .15s ease, background .15s ease;
}
.btn:hover{opacity:.88;}
.btn-primary{background:var(--navy); color:var(--paper);}
.btn-steel{background:var(--steel); color:#fff;}
.btn-ghost{background:var(--white); color:var(--steel); border-color:#CBD8DD;}
.btn-line{background:transparent; color:#F4F7F6; border-color:rgba(244,247,246,.4);}
.btn.wide{width:100%;}
.btn[disabled]{opacity:.45; cursor:not-allowed;}
.actions{display:flex; flex-wrap:wrap; gap:12px;}

/* header */
.masthead{position:sticky; top:0; z-index:40; background:rgba(255,255,255,.94); backdrop-filter:blur(8px); border-bottom:1px solid var(--line);}
.masthead .shell{display:flex; align-items:center; justify-content:space-between; gap:16px; padding-block:14px;}
.mark{display:flex; align-items:center; gap:11px; text-decoration:none; color:inherit;}
.mark svg{display:block; flex:none;}
.mark strong{display:block; font-family:"Newsreader",serif; font-weight:500; font-size:20px; color:var(--navy); line-height:1.1;}
.mark span{display:block; font-size:10.5px; color:var(--muted-2); letter-spacing:0.02em; margin-top:2px;}
.nav{display:flex; align-items:center; gap:24px;}
.nav a{font-size:14.5px; font-weight:500; color:#4A5C66; text-decoration:none; white-space:nowrap;}
.nav a:hover{color:var(--navy);}
.nav a.on{color:var(--navy); font-weight:600;}
.nav .btn{padding:10px 18px; font-size:14px;}
.nav a.btn-steel{color:#FFFFFF;}
.nav a.btn-primary{color:var(--paper);}
.burger{display:none; background:none; border:1px solid var(--line); border-radius:10px; padding:9px 11px; cursor:pointer;}
.burger span{display:block; width:18px; height:1.5px; background:var(--navy); margin:3.5px 0;}
.drawer{display:none; border-top:1px solid var(--line); background:var(--white);}
.drawer a{display:block; padding:13px 20px; border-bottom:1px solid var(--line-2); text-decoration:none; color:var(--navy); font-weight:500;}
/* The full menu needs about 950px (mark + six items on one line); below 1000px the burger
   and drawer take over, so no menu item ever wraps onto two lines. */
@media (max-width:1000px){
  .nav{display:none;}
  .burger{display:block;}
  .drawer.open{display:block;}
}

/* hero */
.hero{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,430px); gap:clamp(28px,4vw,54px); align-items:start; padding-block:clamp(34px,5vw,64px);}
.hero .copy{display:flex; flex-direction:column; gap:20px; align-items:flex-start;}
@media (max-width:900px){ .hero{grid-template-columns:1fr;} }

/* quote / booking card */
.card{background:var(--white); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow);}
.card .card-head{padding:18px 22px; border-bottom:1px solid var(--line-2); display:flex; align-items:baseline; justify-content:space-between; gap:10px;}
.card .card-head b{font-family:"Newsreader",serif; font-weight:500; font-size:18px; color:var(--navy);}
.card .card-body{padding:20px 22px;}
.grid2{display:grid; grid-template-columns:1fr 1fr; gap:14px;}
.full{grid-column:1 / -1;}
.field{display:flex; flex-direction:column; gap:6px; min-width:0;}
.field > label, .field > .label{font-size:10.5px; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; color:var(--muted-2);}
input, select, textarea{
  font-family:"Karla",sans-serif; font-size:15px; color:var(--navy); width:100%;
  background:#FDFDFC; border:1px solid #DFE4E1; border-radius:9px; padding:11px 12px;
}
textarea{min-height:88px; resize:vertical;}
select{appearance:none; -webkit-appearance:none; background-image:linear-gradient(45deg,transparent 49%,var(--muted-2) 50%),linear-gradient(135deg,var(--muted-2) 50%,transparent 51%); background-position:calc(100% - 18px) 19px, calc(100% - 13px) 19px; background-size:5px 5px; background-repeat:no-repeat; padding-right:34px;}

/* Date and time fields. A native picker opens only from its own small indicator,
   which nobody finds — so the whole field opens it, and the icon says that it will. */
/* Date and time fields. The browser's own picker button is the only thing that opens a
   native picker inside a sandboxed frame — showPicker() is refused there with a
   SecurityError — so the button itself is made big and obvious rather than replaced.
   It keeps its right-hand corner so the rest of the field can still be typed into;
   covering the whole field would open the picker on any click but kill typing outright. */
input[type="date"], input[type="time"]{ padding-right:48px; display:block; min-width:0; max-width:100%; min-height:46px; }
/* §2b: Safari on iPhone gives date and time boxes a width of their own and centres the value, so
   they ran past the card's edge while the drop-downs fitted. On iOS only (the touch-callout test
   matches nothing else), drop Safari's own box so they take the card's width like every other
   field, and keep the value on the left. Computers keep their calendar and clock buttons. */
@supports (-webkit-touch-callout: none){
  input[type="date"], input[type="time"]{ -webkit-appearance:none; appearance:none; width:100%; padding-right:12px; }
  input[type="date"]::-webkit-date-and-time-value, input[type="time"]::-webkit-date-and-time-value{ text-align:left; margin:0; }
}
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator{
  width:20px; height:20px; margin:0; padding:0 13px; cursor:pointer; opacity:1;
  background-repeat:no-repeat; background-position:center; background-size:22px 22px;
  border-radius:8px;
}
input[type="date"]::-webkit-calendar-picker-indicator{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23215B76' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2.5'/%3E%3Cpath d='M8 2.5v4M16 2.5v4M3 10h18'/%3E%3C/svg%3E"); }
input[type="time"]::-webkit-calendar-picker-indicator{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23215B76' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 6.75V12l3.25 2.25'/%3E%3C/svg%3E"); }
input[type="date"]::-webkit-calendar-picker-indicator:hover,
input[type="time"]::-webkit-calendar-picker-indicator:hover{ background-color:var(--steel-soft); }
input[type="date"]:hover, input[type="time"]:hover{ border-color:var(--steel); }
.err{border-color:#B4462F;}
.errmsg{font-size:12.5px; color:#B4462F;}
.errmsg .notice-actions{margin-top:12px;}
.errmsg .notice-actions .btn{color:#fff;}
.errmsg .notice-actions .btn-ghost{color:var(--steel);}
.addr-msg{margin:6px 0 0; font-size:12.5px; color:#B4462F;}   /* batch 5: "Please add your street or postcode" */
/* round 2: "House number or name", straight under its address box */
.addr-num{margin-top:10px; display:flex; flex-direction:column; gap:6px;}
.addr-num label{font-size:10.5px; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; color:var(--muted-2);}
.addr-num .addr-msg{margin-top:0;}
.quote-out{margin-top:16px; padding-top:16px; border-top:1px solid var(--line-2); display:flex; align-items:baseline; justify-content:space-between; gap:12px; flex-wrap:wrap;}
.quote-out .cap{font-size:13px; color:var(--muted-2);}
.quote-out .amt{font-family:"Newsreader",serif; font-size:32px; line-height:1; color:var(--navy); font-variant-numeric:tabular-nums;}
.quote-out .amt.sm{font-size:17px; line-height:1.25;}

/* cards & grids */
.cards{display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:16px;}
.tile{background:var(--white); border:1px solid var(--line); border-radius:var(--radius); padding:24px; display:flex; flex-direction:column; gap:10px;}
.tile p{font-size:14.5px; color:var(--muted); line-height:1.65;}
.tile .go{font-size:14px; font-weight:600; color:var(--steel); text-decoration:none; margin-top:auto;}
.plain{display:grid; grid-template-columns:repeat(auto-fit,minmax(215px,1fr)); gap:26px;}
.plain .num{display:block; font-size:11px; font-weight:700; letter-spacing:0.14em; color:var(--muted-2); margin-bottom:9px;}
.plain p{font-size:14.5px; color:var(--muted); line-height:1.65;}
.split{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,400px); gap:clamp(26px,4vw,48px); align-items:center;}
@media (max-width:900px){ .split{grid-template-columns:1fr;} }

/* record card */
.record{background:var(--white); border:1px solid var(--line); border-radius:var(--radius); padding:22px; box-shadow:var(--shadow);}
.record .rh{display:flex; align-items:center; justify-content:space-between; gap:10px; border-bottom:1px solid var(--line-2); padding-bottom:13px; margin-bottom:13px;}
.record .rh b{font-family:"Newsreader",serif; font-weight:500; font-size:18px; color:var(--navy);}
.pill{font-size:11px; font-weight:700; color:var(--sage); background:var(--sage-tint); border-radius:999px; padding:4px 10px; white-space:nowrap;}
.record dl{display:grid; grid-template-columns:auto 1fr; gap:10px 16px; margin:0; font-size:14px;}
.record dt{font-size:10.5px; font-weight:700; letter-spacing:0.07em; text-transform:uppercase; color:var(--muted-2); padding-top:3px;}
.record dd{margin:0;}

/* tables */
.table-wrap{overflow-x:auto; -webkit-overflow-scrolling:touch;}
table{width:100%; border-collapse:collapse; font-size:15px; min-width:520px;}
caption{text-align:left; font-family:"Newsreader",serif; font-size:19px; color:var(--navy); padding-bottom:10px;}
th{font-family:"Karla",sans-serif; font-size:10.5px; font-weight:700; letter-spacing:0.12em; text-transform:uppercase; color:var(--muted-2); text-align:left; padding:0 14px 10px 0; border-bottom:1px solid var(--line);}
td{padding:13px 14px 13px 0; border-bottom:1px solid var(--line-2); color:var(--navy);}
th.num, td.num{text-align:right; padding-right:0; font-variant-numeric:tabular-nums; white-space:nowrap;}
td.na{color:var(--muted-2);}
p.fare-from{margin:12px 0 0; max-width:68ch; font-size:14.5px; line-height:1.55; color:var(--muted);}
tbody tr:hover{background:#FCFDFC;}

/* assistance checkboxes */
.checks{display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:10px 16px; margin:4px 0 2px;}
.check{display:flex; gap:10px; align-items:flex-start; font-size:14.5px; line-height:1.45; color:var(--navy); cursor:pointer;}
.check input[type=checkbox]{width:18px; height:18px; flex:none; margin-top:2px; accent-color:var(--steel);}
.check span small{display:block; font-size:12.5px; color:var(--muted-2); margin-top:1px;}
fieldset{border:1px solid var(--line); border-radius:12px; padding:16px; margin:0; background:#FDFDFC;}
legend{font-size:10.5px; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; color:var(--muted-2); padding:0 6px;}

/* notices */
.notice{display:flex; gap:12px; align-items:flex-start; background:var(--amber-tint); border:1px solid #EBDCBB; border-radius:12px; padding:14px 16px; font-size:14px; color:#6C551E;}
.notice b{color:#54410F;}

/* faq */
details{border-bottom:1px solid var(--line); padding:16px 0;}
summary{cursor:pointer; font-family:"Newsreader",serif; font-size:18px; color:var(--navy); list-style:none; display:flex; justify-content:space-between; gap:16px;}
summary::-webkit-details-marker{display:none;}
summary::after{content:"+"; color:var(--muted-2); font-family:"Karla",sans-serif; font-size:19px;}
details[open] summary::after{content:"\2212";}
details p{margin-top:10px; font-size:15px; color:var(--muted); max-width:70ch;}

/* footer */
.foot{background:var(--navy); color:#9EB6C2; padding-block:44px 30px;}
.foot a{color:#CBDCE5; text-decoration:none; font-size:14.5px;}
.foot a:hover{text-decoration:underline;}
.foot h4{color:#F4F7F6; font-size:15px; margin-bottom:12px; font-family:"Karla",sans-serif; font-weight:700; letter-spacing:0.04em;}
.foot .cols{display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:28px;}
.foot .links{display:flex; flex-direction:column; gap:9px;}
.foot .base{margin-top:34px; padding-top:20px; border-top:1px solid #123A52; display:flex; flex-wrap:wrap; gap:10px 24px; font-size:13px;}
.foot button.cookie-settings{background:none; border:0; padding:0; margin:0; font:inherit; font-size:14.5px; color:#CBDCE5; text-align:left; cursor:pointer;}
.foot button.cookie-settings:hover{text-decoration:underline;}
.cookie-banner{background:var(--white); border-bottom:1px solid var(--line); padding:16px 0;}
.cookie-banner .shell{display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px 24px;}
.cookie-banner p{margin:0; flex:1 1 280px; font-size:14.5px; line-height:1.5; color:var(--text);}
.cookie-actions{display:flex; gap:12px; flex:1 1 280px; max-width:420px;}
.cookie-choice{flex:1 1 0; min-width:0; min-height:48px; font-family:"Karla",sans-serif; font-size:15px; font-weight:700; line-height:1; padding:14px 18px; border-radius:999px; border:2px solid var(--navy); background:var(--white); color:var(--navy); cursor:pointer;}
.cookie-choice:hover{background:#F4F7F6;}

/* booking flow */
.steps{display:flex; flex-wrap:wrap; gap:8px; margin-bottom:26px;}
.steps div{font-size:12.5px; font-weight:600; color:var(--muted-2); background:var(--white); border:1px solid var(--line); border-radius:999px; padding:7px 14px;}
.steps div.on{background:var(--navy); border-color:var(--navy); color:var(--paper);}
.steps div.done{background:var(--sage-tint); border-color:#D6E1D9; color:var(--sage);}
.summary-row{display:flex; justify-content:space-between; gap:16px; padding:11px 0; border-bottom:1px solid var(--line-2); font-size:15px;}
.summary-row span:first-child{color:var(--muted-2); font-size:13px; letter-spacing:0.04em; text-transform:uppercase; font-weight:700; flex:none; padding-top:2px;}
.summary-row span:last-child{color:var(--navy); text-align:right;}
.hidden{display:none !important;}
@media (max-width:560px){
  .grid2{grid-template-columns:1fr;}
  .summary-row{flex-direction:column; gap:2px;}
  .summary-row span:last-child{text-align:left;}
}

/* address suggestions */
.ac-wrap{position:relative;}
/* above the booking page's floating fare bar (z-index 40), so a list near the foot of the screen can be tapped */
.ac-box{position:absolute; left:0; right:0; top:100%; margin-top:4px; z-index:50; background:var(--white);
  border:1px solid var(--line); border-radius:10px; box-shadow:var(--shadow); overflow:hidden;}
.ac-item{display:flex; flex-direction:column; gap:2px; padding:10px 14px; cursor:pointer; border-top:1px solid var(--line-2);}
.ac-item:first-child{border-top:none;}
.ac-item:hover, .ac-item.on{background:var(--steel-soft);}
.ac-main{font-size:15px; color:var(--navy);}
.ac-sec{font-size:12.5px; color:var(--muted);}
.ac-by{padding:6px 14px; font-size:11px; color:var(--muted-2); text-align:right; border-top:1px solid var(--line-2); font-family:Roboto, Arial, sans-serif;}

/* ---- journey map ---- */
.jmap-wrap{margin:2px 0 4px; position:relative;}
/* §2a: closes the map */
.jmap-x{position:absolute; top:10px; right:10px; z-index:2; width:34px; height:34px; padding:0; border-radius:50%;
  border:1px solid var(--line-2); background:#fff; color:var(--navy); font:400 22px/1 Karla,sans-serif; cursor:pointer;
  display:flex; align-items:center; justify-content:center; box-shadow:0 1px 4px rgba(5,42,64,.18);}
.jmap-x:hover{background:#F3F5F4;}
.jmap-x:focus-visible{outline:2px solid var(--navy); outline-offset:2px;}
.jmap{height:240px; border-radius:12px; overflow:hidden; background:#E8EDEA; border:1px solid var(--line-2);}
#home-quote #hq-map .jmap{height:200px;}
/* Home, wide screens: the map takes the introduction's place. The introduction, the map and the price
   card each have a fixed place in the grid, the map in the introduction's own cell, so nothing else moves:
   the introduction slides and fades out while the map fades in (batch 5: before, the map took the cell
   first, which pushed the introduction into the card's column and the card a row down, then snapped back). */
@media (min-width:901px){
  .hero > .copy{grid-column:1; grid-row:1; transition:transform .35s ease, opacity .3s ease, visibility 0s linear 0s;}
  .hero > #home-quote{grid-column:2; grid-row:1;}
  .hero > #hq-map{grid-column:1; grid-row:1; align-self:stretch; display:flex; flex-direction:column; margin:0;
    opacity:0; transform:translateX(24px); transition:opacity .35s ease .1s, transform .35s ease .1s;}
  .hero > #hq-map .jmap{flex:1; min-height:440px; height:auto;}
  .hero.map-on > .copy{opacity:0; transform:translateX(-40px); visibility:hidden; pointer-events:none;
    transition:transform .35s ease, opacity .3s ease, visibility 0s linear .35s;}
  .hero.map-on > #hq-map{opacity:1; transform:none;}
}
/* Booking page: the map grows into place, so the fields under it slide down instead of jumping
   (the negative margin takes back the grid's gap while it is closed) */
.bstep .jmap-wrap:not(.hidden){animation:jmap-grow .4s ease both; overflow:hidden;}
@keyframes jmap-grow{from{max-height:0; opacity:0; margin-top:-14px; margin-bottom:0;} to{max-height:460px; opacity:1; margin-top:2px; margin-bottom:4px;}}
@media (prefers-reduced-motion:reduce){ .hero > .copy, .hero > #hq-map{transition:none !important;} .bstep .jmap-wrap:not(.hidden){animation:none;} }
.jmap-chip{margin:8px 2px 0; font-size:13px; color:var(--muted-2); min-height:1.2em;}
.jpin{width:26px; height:26px; border-radius:50%; display:grid; place-items:center; font:600 12px/1 "Karla",sans-serif;
  color:#fff; background:var(--navy); border:2px solid #fff; box-shadow:0 1px 4px rgba(5,42,64,.35);}
.jpin-b{background:var(--steel);}
.jpin-s{background:#fff; color:var(--navy); border-color:var(--navy);}   /* extra stops, numbered in visiting order */
/* §3a: one address box per extra stop, stacked under the question */
.stop-list{display:grid; gap:14px;}
.stop-list > .hint{margin:0;}
/* 4a: a shorter order of the stops, offered with a button */
.stop-order{display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; padding:12px 14px; border:1px solid var(--line-2);
  border-radius:10px; background:var(--paper);}
.stop-order p{margin:0; flex:1 1 220px; font-size:14px; line-height:1.45; color:var(--navy);}
.stop-order .btn{padding:9px 16px; font-size:14px;}
.jpin-r{background:#fff; color:#15803D; border:2px solid #22C55E; font-size:10px;}   /* the way back's own stops (green, as its line) */
/* The booking page's fare bar: the total so far and the step's button, on a floating card as wide as
   the booking form. It is the form's last child and sticky, so it rides along at the foot of the
   screen while the form scrolls past and comes to rest at the end of the form, above the footer.
   The page keeps the bar's height clear when it scrolls a field into view (scroll-padding), so the
   bar never hides the field being filled in on a phone. */
.farebar{position:sticky; bottom:calc(12px + env(safe-area-inset-bottom)); z-index:40; margin:0 -1px -1px;
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius); box-shadow:0 8px 28px rgba(5,42,64,.16);
  padding:10px 12px 10px 18px;}
.farebar-in{display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:8px 14px;}
/* the total keeps at least 96 px; when the button leaves less (a small phone, "Send booking request"), the
   button moves onto its own line rather than covering the total */
.fb-sum{margin-right:auto; flex:1 1 96px; min-width:0; display:flex; flex-direction:column; gap:2px;}
.fb-total{font-family:Newsreader,serif; font-size:22px; line-height:1.1; color:var(--navy); white-space:nowrap;}
.fb-total #b-amt.sm{font-family:Karla,sans-serif; font-size:15px; font-weight:600;}
.fb-total.state .fb-lab{display:none;}
.fb-total.state{white-space:normal;}                    /* "Quoted within 24 hours, or before pick-up if sooner" may wrap */                  /* "Not available", "Measuring…": no "Total" in front */
.fb-sub{display:flex; flex-wrap:wrap; column-gap:.5em; font-size:13px; color:var(--muted); line-height:1.35;}
.fb-more{padding:0; border:0; background:none; font:inherit; font-weight:600; color:var(--steel);
  text-decoration:underline; text-underline-offset:2px; cursor:pointer;}
/* the breakdown, above the total and the button: never taller than the screen leaves room for, so it
   can't cover the button or run off a phone; it scrolls inside itself when long */
.fb-details{max-height:calc(100vh - 260px); max-height:calc(100dvh - 260px); overflow-y:auto; overscroll-behavior:contain;
  margin:0 -12px 10px -18px; padding:4px 12px 12px 18px; border-bottom:1px solid var(--line-2);}
.fb-route{margin:0 0 6px; font-size:13px; color:var(--muted-2);}
.fb-lines p{margin:0 0 5px; font-size:14px; line-height:1.45; color:var(--text);}
.fb-lines p:last-child{margin-bottom:0;}
.farebar .btn{padding:12px 22px; white-space:nowrap; flex:none;}
@media (max-width:480px){
  .farebar .btn{padding:11px 18px;}
  .fb-car{display:none;}
  .fb-total{font-size:20px;}
}
/* On a narrow phone the quote label is too long to sit beside Continue, so it takes the row and the button drops below. */
@media (max-width:360px){
  .fb-sum:has(.fb-total.state){flex-basis:100%;}
}
html.has-farebar{scroll-padding-bottom:calc(96px + env(safe-area-inset-bottom));}
@media (min-width:900px){ .bstep .jmap{height:300px;} }

/* ---- the three cars ---- */
.vcards{display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:8px;}
.vcard{display:flex; flex-direction:column; align-items:flex-start; gap:2px; text-align:left; cursor:pointer;
  font-family:"Karla",sans-serif; color:var(--navy); background:#FDFDFC; border:1px solid #DFE4E1; border-radius:10px;
  padding:10px 10px 11px; min-width:0;}
.vcard:hover{border-color:var(--steel);}
.vcard:focus-visible{outline:2px solid var(--steel); outline-offset:2px;}
.vcard.on{border-color:var(--navy); box-shadow:inset 0 0 0 1px var(--navy); background:#F4F7F8;}
.vcard.off{opacity:.45; cursor:not-allowed;}
.vcard.off:hover{border-color:#DFE4E1;}
.vc-art{display:block; width:100%; margin-bottom:4px;}
/* the whole car, never cropped: the photo keeps its 3:2 shape and fits inside the card */
.vc-art picture{display:block;}
.vc-art img{display:block; width:100%; height:auto; aspect-ratio:3 / 2; object-fit:contain; border-radius:8px;}
.vc-name{font-weight:700; font-size:14px;}
.vc-model, .vc-seats, .vc-boot{font-size:11.5px; color:var(--muted-2); line-height:1.3;}
.vc-price{margin-top:4px; font-family:"Newsreader",serif; font-size:21px; line-height:1.1; font-variant-numeric:tabular-nums;}
.vc-price.sm{font-family:"Karla",sans-serif; font-size:12.5px; font-weight:600; color:var(--muted-2);}
.vc-why{font-size:11.5px; color:#B4462F; min-height:0;}
.vc-why:empty{display:none;}
.vcards.err .vcard{border-color:#B4462F;}
@media (max-width:420px){ .vc-model{display:none;} .vc-price{font-size:18px;} .vcard{padding:9px 8px;} }

/* luggage: three sizes side by side */
.lug3{display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:14px;}
.lug3 .full-row{grid-column:1 / -1; margin:-4px 0 0;}
.hint{font-size:12px; color:var(--muted-2); line-height:1.35;}
@media (max-width:480px){ .lug3{gap:10px;} .lug3 .field > label{font-size:9.5px;} }
#wrap-wcsize{grid-column:1 / -1; max-width:420px; margin:-2px 0 4px 30px;}
/* Home: the short trust line under the hero (marketing batch) */
.trust{margin:-14px 0 0; padding-bottom:clamp(20px,3vw,34px); font-size:13.5px; letter-spacing:0.02em; color:var(--muted);}
/* Route pages: the fares card, the journey time, what's included; links to them from the fare pages */
.route-fares table{width:100%; min-width:0; border-collapse:collapse;}
.route-fares td{padding:10px 0; border-top:1px solid var(--line-2); font-size:15px; color:var(--navy);}
.route-fares tr:first-child td{border-top:none;}
.route-fares td.num{text-align:right; font-family:"Newsreader",serif; font-size:22px; white-space:nowrap; padding-left:12px;}
.route-time{font-size:15px; color:var(--navy); font-weight:600;}
.route-included{margin:0; padding-left:20px; display:grid; gap:10px; max-width:70ch; color:var(--muted); font-size:15px; line-height:1.6;}
.route-links{margin-top:22px; font-size:15px; color:var(--muted);}

/* legal pages, and the short notice by the booking and account buttons */
.legal{max-width:760px; padding-bottom:clamp(40px,6vw,72px);}
.legal .head-2{padding-top:clamp(34px,5vw,64px);}
.legal h2{font-size:clamp(22px,3vw,28px); margin:34px 0 10px;}
.legal h3{margin:20px 0 8px;}
.legal p, .legal li{font-size:15.5px; line-height:1.7;}
.legal p + p, .legal ul + p, .legal p + ul, .legal h3 + p{margin-top:12px;}
.legal ul{margin:0; padding-left:1.15em;}
.legal li + li{margin-top:6px;}
.legal a{font-weight:600;}
.legal-links{margin-top:28px; font-size:15px;}
.to-confirm{background:var(--amber-tint); border:1px solid #EBDCBB; border-radius:6px; padding:0 5px; color:#6C551E; font-weight:600;}
.consent{font-size:13.5px; line-height:1.5; color:var(--muted); margin:14px 0 0;}
.consent a{font-weight:600;}

/* Partner guest pages (unlisted). The logo slot stays empty until a file is named in the config. */
.guest-logo:empty{display:none;}
.guest-logo img{display:block; max-width:220px; height:auto; margin-bottom:18px;}
.guest-table{width:100%; min-width:0; border-collapse:collapse; margin:8px 0 8px; table-layout:fixed;}
.guest-fare-note{margin:0 0 22px; font-size:13.5px; line-height:1.4; color:var(--muted-2);}
.guest-table th, .guest-table td{text-align:left; padding:12px 10px; border-top:1px solid var(--line); vertical-align:top; font-weight:500;}
.guest-table th{color:var(--navy); width:34%;}
.guest-table td.num{width:18%; text-align:right; font-family:"Newsreader",serif; font-size:20px; color:var(--navy); white-space:nowrap;}
.guest-fare{margin:16px 0 0; font-family:"Newsreader",serif; font-size:22px; color:var(--navy); line-height:1.3;}
.guest .cards{margin-top:8px;}
.guest .cards .card p{margin-top:8px;}
.guest .cards .btn{margin-top:14px;}
.guest-trust{margin:28px 0 8px; padding-bottom:clamp(28px,4vw,48px);}
#guest-fares h2, #guest-eats h2, #guest-hourly h2, #guest-form h2{margin:8px 0 12px;}
#guest-eats, #guest-hourly, #guest-form{margin-top:12px;}
