/* ==========================================================================
   WhiBlu Cab — inner-page stylesheet
   Loaded only on pages that set $bodyClass, so the homepage is untouched.
   Builds on the tokens and primitives in style.css (.container, .section,
   .eyebrow, .btn, .reveal) and adds the page-level component kit:
   hero, subnav, split bands, checklists, steps, FAQ, tools, forms, articles.
   ========================================================================== */

:root {
  --r-xl: 34px;
  --sky: #EAF3F8;
  --mist: #F7FAFC;
  --line-soft: #E6EEF3;
  --measure: 68ch;
}

/* ==========================================================================
   1. Page scaffolding
   ========================================================================== */

.page main,
main { display: block; }

.page .section--tight { padding-block: clamp(52px, 6.5vw, 84px); }
.page .section--mist  { background: var(--mist); }
.page .section--sky   { background: linear-gradient(180deg, var(--sky), #FFFFFF 78%); }

/* Full-width hairline with the brand's dashed-route motif */
.rule {
  height: 1px;
  border: 0;
  background: repeating-linear-gradient(90deg, var(--line) 0 14px, transparent 14px 26px);
  opacity: .8;
}

/* ==========================================================================
   2. Breadcrumbs
   ========================================================================== */

.crumbs { margin-bottom: 18px; }
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 4px;
  font-size: 13.5px;
  line-height: 1.5;
}
.crumbs li { display: inline-flex; align-items: center; }
.crumbs a { color: rgba(255, 255, 255, .72); text-decoration: none; padding: 3px 2px; }
.crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: #fff; font-weight: 500; padding: 3px 2px; }
.crumbs__sep {
  display: inline-flex;
  color: rgba(255, 255, 255, .38);
  transform: rotate(-90deg);
  margin: 0 2px;
}
.crumbs__sep svg { display: block; }

/* Light variant for pages whose crumbs sit on a pale band */
.crumbs--ink a { color: var(--ink-soft); }
.crumbs--ink a:hover { color: var(--teal); }
.crumbs--ink [aria-current] { color: var(--ink); }
.crumbs--ink .crumbs__sep { color: var(--line); }

/* ==========================================================================
   3. Page hero
   ========================================================================== */

.phero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #E9F0F4;
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(6, 137, 146, .30), transparent 62%),
    radial-gradient(900px 460px at 8% 110%, rgba(19, 102, 173, .34), transparent 60%),
    linear-gradient(165deg, #0E2A41 0%, var(--navy) 55%, #081A29 100%);
  /* The sticky header overlays the hero via a negative margin, so the content
     is padded down by the header's measured height (--wb-header-h, set in
     script.js) plus breathing room. The fallback covers a no-JS render. */
  padding-block:
    calc(var(--wb-header-h, 86px) + clamp(26px, 3vw, 38px))
    clamp(56px, 8vw, 104px);
}

/* Faint map-grid texture, kept cheap: two repeating gradients, no image */
.phero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 68px 68px, 68px 68px;
  -webkit-mask-image: radial-gradient(70% 65% at 60% 20%, #000 0%, transparent 78%);
          mask-image: radial-gradient(70% 65% at 60% 20%, #000 0%, transparent 78%);
}

.phero__glow {
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  right: -140px;
  top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 166, 60, .22), transparent 65%);
  pointer-events: none;
}

.phero__inner {
  display: grid;
  gap: clamp(30px, 5vw, 56px);
  align-items: center;
}

.phero__title {
  font-size: clamp(30px, 5.4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 18px;
}
.phero__title .accent {
  background: linear-gradient(100deg, #4FD1D9, var(--sun));
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.phero__lead {
  font-size: clamp(16px, 1.9vw, 18.5px);
  color: #B9CBD9;
  max-width: 46em;
}
.phero__lead strong { color: #E9F0F4; font-weight: 500; }
.phero__lead a { color: #7FE0E6; text-decoration: underline; text-underline-offset: 3px; }

.phero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.phero__cta .btn--outline {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .3);
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
.phero__cta .btn--outline .btn__disc { background: #fff; color: var(--navy); }
.phero__cta .btn--outline:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .5); }

.phero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 26px;
  font-size: 14.5px;
  color: #A9C0D0;
}
.phero__chips li { display: inline-flex; align-items: center; gap: 8px; }
.phero__chips svg { color: #4FD1D9; flex: none; }

/* Media column */
.phero__media { position: relative; }

.phero__frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(3, 14, 24, .5);
  border: 1px solid rgba(255, 255, 255, .14);
  background: #0B2032;
}
.phero__frame img { width: 100%; height: auto; }
.phero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(190deg, transparent 55%, rgba(8, 26, 41, .55));
  pointer-events: none;
}

.phero__card {
  position: absolute;
  left: -8px;
  bottom: -22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px 13px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .93);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(3, 14, 24, .38);
  color: var(--ink);
  max-width: calc(100% - 24px);
}
.phero__cardIcon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  flex: none;
}
.phero__cardText { display: grid; line-height: 1.3; }
.phero__cardText small { font-size: 12px; color: var(--ink-soft); letter-spacing: .04em; text-transform: uppercase; }
.phero__cardText strong { font-size: 16px; font-weight: 600; }

/* Hero without a photo (legal, FAQ, contact) centres its copy */
.phero--plain {
  padding-block:
    calc(var(--wb-header-h, 86px) + clamp(22px, 2.6vw, 30px))
    clamp(44px, 6vw, 76px);
}
.phero--plain .phero__copy { max-width: 780px; }

@media (min-width: 901px) {
  .phero__inner { grid-template-columns: 1.02fr .98fr; }
  .phero--plain .phero__inner { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .phero__media { order: 2; }
  .phero__card { left: 10px; bottom: -18px; }
}

/* ==========================================================================
   4. Sticky in-page nav
   ========================================================================== */

.subnav {
  position: sticky;
  top: 64px;
  z-index: 40;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
          backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.subnav__inner { overflow: hidden; }
.subnav ul {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0;
}
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: block;
  white-space: nowrap;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.subnav a:hover { background: var(--sky); color: var(--ink); }
.subnav a.is-active { background: var(--navy); color: #fff; }

@media (max-width: 720px) { .subnav { top: 58px; } }

/* Anchored sections clear the sticky bars */
[id] { scroll-margin-top: 128px; }

/* ==========================================================================
   5. Rich text
   ========================================================================== */

.rich { max-width: var(--measure); }
.rich > * + * { margin-top: 1.15em; }
.rich p { color: var(--ink-soft); }
.rich strong { color: var(--ink); font-weight: 600; }
.rich h2 {
  font-size: clamp(23px, 3vw, 32px);
  color: var(--ink);
  margin-top: 1.6em;
}
.rich h3 {
  font-size: clamp(18px, 2.2vw, 21px);
  color: var(--ink);
  margin-top: 1.5em;
}
.rich a {
  color: var(--teal-deep);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.rich a:hover { color: var(--blue); }
.rich ul, .rich ol { padding-left: 1.25em; color: var(--ink-soft); }
.rich ul { list-style: disc; }
.rich ol { list-style: decimal; }
.rich li + li { margin-top: .5em; }
.rich li::marker { color: var(--teal); }
.rich blockquote {
  border-left: 3px solid var(--teal);
  padding: 4px 0 4px 20px;
  color: var(--ink);
  font-size: 1.06em;
}

/* Lead paragraph */
.lede {
  font-size: clamp(17px, 2.1vw, 20px);
  line-height: 1.65;
  color: var(--ink);
}

/* ==========================================================================
   6. Split bands (image + copy)
   ========================================================================== */

.split {
  display: grid;
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}
.split__copy > * + * { margin-top: 1.05em; }
.split__copy p { color: var(--ink-soft); }
.split__copy h2 { font-size: clamp(24px, 3.2vw, 36px); }
.split__copy a:not(.btn) {
  color: var(--teal-deep);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.split__copy a:not(.btn):hover { color: var(--blue); }
.split__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.split__media { position: relative; }
.split__frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--sky);
}
.split__frame img { width: 100%; height: auto; display: block; }

/* Offset colour block behind the photo */
.split__media::before {
  content: "";
  position: absolute;
  inset: auto -18px -18px auto;
  width: 62%;
  height: 62%;
  border-radius: var(--r-lg);
  background: var(--grad);
  opacity: .16;
  z-index: 0;
}
.split__frame { z-index: 1; }

/* Small badge that can sit on the image */
.split__badge {
  position: absolute;
  z-index: 2;
  left: -14px;
  top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  color: var(--ink);
  border-radius: var(--r-pill);
  padding: 10px 18px 10px 12px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}
.split__badge svg { color: var(--teal); }

@media (min-width: 861px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--rev .split__media { order: -1; }
  .split--rev .split__media::before { inset: auto auto -18px -18px; }
  .split--wide { grid-template-columns: 1.08fr .92fr; }
}
@media (max-width: 860px) {
  .split__badge { left: 12px; top: -14px; }
}

/* ==========================================================================
   7. Checklists
   ========================================================================== */

.checklist { display: grid; gap: 14px; }
.checklist--2 { gap: 14px 30px; }
.checklist__item {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 13px;
  align-items: start;
  color: var(--ink-soft);
  line-height: 1.62;
}
.checklist__item strong { color: var(--ink); font-weight: 600; }
.checklist__item a {
  color: var(--teal-deep);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.checklist__tick {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  margin-top: 3px;
  box-shadow: 0 4px 12px rgba(6, 137, 146, .28);
}
.checklist--light .checklist__item { color: #B9CBD9; }
.checklist--light .checklist__item strong { color: #fff; }

@media (min-width: 760px) {
  .checklist--2 { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   8. Feature cards
   ========================================================================== */

.fgrid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
}
.fcard {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 26px 24px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  overflow: hidden;
}
.fcard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.fcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.fcard:hover::before { transform: scaleX(1); }
.fcard__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--sky);
  color: var(--teal-deep);
  margin-bottom: 16px;
}
.fcard__title { font-size: 18px; margin-bottom: 8px; color: var(--ink); }
.fcard__text { color: var(--ink-soft); font-size: 15.5px; line-height: 1.62; }
.fcard__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--teal-deep);
}
.fcard__link:hover { color: var(--blue); }

/* Dark band variant */
.section--dark .fcard {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: none;
}
.section--dark .fcard__icon { background: rgba(255, 255, 255, .1); color: #7FE0E6; }
.section--dark .fcard__title { color: #fff; }
.section--dark .fcard__text { color: #B9CBD9; }

/* ==========================================================================
   9. Steps
   ========================================================================== */

.steps { display: grid; gap: 16px; counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.step__num {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--grad);
  color: #fff;
  font-size: 22px;
  font-weight: 600;
}
.step__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18.5px;
  color: var(--ink);
  margin-bottom: 7px;
}
.step__icon { color: var(--teal); display: inline-flex; }
.step__text { color: var(--ink-soft); }
.step__note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--teal-deep);
  background: var(--sky);
  border-radius: var(--r-pill);
  padding: 6px 14px;
}
.step__text a, .step__body a:not(.btn) {
  color: var(--teal-deep);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 900px) {
  .steps--3 { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .steps--3 .step { grid-template-columns: 1fr; gap: 14px; }
}

/* ==========================================================================
   10. FAQ accordion (native <details>)
   ========================================================================== */

.faq { display: grid; gap: 12px; max-width: 860px; }
.faq__item {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.faq__item[open] { border-color: rgba(6, 137, 146, .4); box-shadow: var(--shadow-md); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 16.5px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  min-height: 56px;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--teal-deep); }
.faq__mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--sky);
  color: var(--teal-deep);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.faq__item[open] .faq__mark { transform: rotate(180deg); background: var(--grad); color: #fff; }
.faq__a { padding: 0 20px 20px; color: var(--ink-soft); line-height: 1.7; }
.faq__a a {
  color: var(--teal-deep);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq__item[open] .faq__a { animation: faqIn .32s var(--ease) both; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.faq-group + .faq-group { margin-top: 40px; }
.faq-group__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.faq-group__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--grad);
  color: #fff;
  flex: none;
}
.faq-group__title { font-size: 21px; color: var(--ink); }

/* ==========================================================================
   11. CTA band
   ========================================================================== */

.ctaband {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(52px, 7vw, 86px);
  color: #E9F0F4;
  background:
    radial-gradient(800px 380px at 15% 0%, rgba(19, 102, 173, .42), transparent 62%),
    linear-gradient(140deg, #0E2A41, var(--navy) 60%, #081A29);
}
.ctaband__glow {
  position: absolute;
  z-index: -1;
  inset: auto -100px -160px auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 137, 146, .4), transparent 65%);
}
.ctaband__inner {
  display: grid;
  gap: 26px;
  align-items: center;
}
.ctaband__title { font-size: clamp(24px, 3.4vw, 36px); color: #fff; }
.ctaband__text { margin-top: 12px; color: #B9CBD9; max-width: 46em; }
.ctaband__text a { color: #7FE0E6; text-decoration: underline; text-underline-offset: 3px; }
.ctaband__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ctaband__actions .btn--outline {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .32);
  color: #fff;
}
.ctaband__actions .btn--outline .btn__disc { background: #fff; color: var(--navy); }
.ctaband__actions .btn--outline:hover { background: rgba(255, 255, 255, .16); }
.ctaband__note {
  grid-column: 1 / -1;
  font-size: 14px;
  color: #8FA8BA;
  margin-top: 4px;
}
.ctaband--light {
  color: var(--ink);
  background: linear-gradient(180deg, var(--sky), #fff);
}
.ctaband--light .ctaband__title { color: var(--ink); }
.ctaband--light .ctaband__text { color: var(--ink-soft); }
.ctaband--light .ctaband__note { color: var(--ink-soft); }

@media (min-width: 900px) {
  .ctaband__inner { grid-template-columns: 1.4fr auto; }
}

/* ==========================================================================
   12. Related service cards
   ========================================================================== */

.rgrid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(262px, 1fr));
}
.rcard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.rcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.rcard__media { display: block; position: relative; overflow: hidden; }
.rcard__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.rcard:hover .rcard__media img { transform: scale(1.05); }
.rcard__body { display: block; padding: 22px 22px 24px; position: relative; }
.rcard__icon {
  position: absolute;
  top: -24px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.rcard__title { display: block; font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.rcard__text { display: block; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.rcard__go {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--teal-deep);
}
.rcard:hover .rcard__go { color: var(--blue); }

/* ==========================================================================
   13. Area (town) cards
   ========================================================================== */

.agrid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
}
.acard {
  display: grid;
  grid-template-columns: 44px 1fr 20px;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.acard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(6, 137, 146, .35); }
.acard__pin img { width: 40px; height: auto; }
.acard__body { display: grid; gap: 3px; min-width: 0; }
.acard__body strong { font-size: 16.5px; color: var(--ink); font-weight: 600; }
.acard__body small { font-size: 13.6px; color: var(--ink-soft); line-height: 1.5; }
.acard__go { color: var(--teal); display: inline-flex; transition: transform .3s var(--ease); }
.acard:hover .acard__go { transform: translateX(4px); }

/* Town chips (compact list) */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chips a, .chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 9px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.chips a:hover { border-color: var(--teal); color: var(--teal-deep); }

/* ==========================================================================
   14. Blog cards
   ========================================================================== */

.pgrid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
}
.pcard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.pcard__media { display: block; overflow: hidden; }
.pcard__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.pcard__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  margin-bottom: 12px;
}
.pcard__cat {
  display: inline-flex;
  background: var(--sky);
  color: var(--teal-deep);
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: 11.5px;
  border-radius: var(--r-pill);
  padding: 5px 12px;
}
.pcard__read { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-soft); }
.pcard__title { font-size: 19px; line-height: 1.35; margin-bottom: 10px; }
.pcard__title a { color: var(--ink); }
.pcard__title a:hover { color: var(--teal-deep); }
.pcard__text { color: var(--ink-soft); font-size: 15px; line-height: 1.6; flex: 1; }
.pcard__go {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--teal-deep);
}

/* First card runs full width on the hub */
@media (min-width: 900px) {
  .pgrid--feature > .pcard:first-child {
    grid-column: 1 / -1;
    flex-direction: row;
  }
  .pgrid--feature > .pcard:first-child .pcard__media { flex: 0 0 46%; }
  .pgrid--feature > .pcard:first-child .pcard__media img { height: 100%; aspect-ratio: auto; }
  .pgrid--feature > .pcard:first-child .pcard__body { padding: 34px; justify-content: center; }
  .pgrid--feature > .pcard:first-child .pcard__title { font-size: 27px; }
  .pgrid--feature > .pcard:first-child .pcard__text { flex: 0 1 auto; }
}

/* ==========================================================================
   15. Stat strip & callouts
   ========================================================================== */

.stats {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.stat {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}
.stat__val {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 600;
  line-height: 1.1;
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.stat__label { margin-top: 8px; color: var(--ink-soft); font-size: 15px; }
.section--dark .stat { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.section--dark .stat__label { color: #B9CBD9; }
.section--dark .stat__val {
  background: linear-gradient(100deg, #4FD1D9, var(--sun));
  -webkit-background-clip: text;
          background-clip: text;
}

.callout {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--sky);
  border: 1px solid rgba(6, 137, 146, .22);
  border-radius: var(--r-md);
  padding: 22px 24px;
  color: var(--ink-soft);
}
.callout strong { color: var(--ink); }
.callout__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #fff;
  color: var(--teal-deep);
  box-shadow: var(--shadow-sm);
}
.callout a {
  color: var(--teal-deep);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.callout--warm { background: #FFF6EA; border-color: rgba(240, 166, 60, .38); }
.callout--warm .callout__icon { color: #C57C15; }

/* ==========================================================================
   16. Comparison / route tables
   ========================================================================== */

.tablewrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.rtable { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 15.5px; }
.rtable caption { text-align: left; padding: 18px 20px 0; color: var(--ink-soft); font-size: 14px; }
.rtable th, .rtable td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.rtable thead th {
  background: var(--mist);
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}
.rtable tbody tr:last-child td { border-bottom: 0; }
.rtable tbody th { font-weight: 600; color: var(--ink); }
.rtable td { color: var(--ink-soft); }

/* Below the breakpoint a four-column route table cannot be read side-scrolled:
   the notes clip mid-word and the last column sits off-screen entirely. Each
   row becomes its own card, with the column name carried by data-label. */
@media (max-width: 760px) {
  .tablewrap {
    overflow: visible;
    border: 0;
    background: none;
    box-shadow: none;
    border-radius: 0;
  }
  .rtable { display: block; min-width: 0; }
  /* A table-caption inside a block-display table shrink-wraps to a sliver,
     so it is switched to a plain block. */
  .rtable caption {
    display: block;
    width: 100%;
    padding: 0 2px 14px;
    text-align: left;
  }
  .rtable thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .rtable tbody { display: block; }
  .rtable tbody tr {
    display: block;
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--r-md);
    padding: 16px 18px 8px;
    box-shadow: var(--shadow-sm);
  }
  .rtable tbody tr + tr { margin-top: 12px; }
  .rtable tbody th,
  .rtable tbody td { display: block; padding: 0; border: 0; }
  .rtable tbody th[scope="row"] {
    font-size: 17px;
    line-height: 1.35;
    margin-bottom: 10px;
    color: var(--ink);
  }
  .rtable tbody td {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    justify-content: space-between;
    align-items: baseline;
    padding: 9px 0;
    border-top: 1px dashed var(--line-soft);
  }
  .rtable tbody td::before {
    content: attr(data-label);
    flex: none;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--ink-soft);
  }
  .rtable tbody td:empty { display: none; }
  .rtable tbody td a {
    font-weight: 600;
    color: var(--teal-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  /* Same treatment on the dark band (fare calculator examples) */
  .section--dark .rtable tbody tr {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .14);
    box-shadow: none;
  }
  .section--dark .rtable tbody th[scope="row"] { color: #fff; }
  .section--dark .rtable tbody td { border-top-color: rgba(255, 255, 255, .14); color: #B9CBD9; }
  .section--dark .rtable tbody td::before { color: #8FA8BA; }
  .section--dark .rtable tbody td a { color: #7FE0E6; }
  .section--dark .rtable caption { color: #8FA8BA; }
}

/* ==========================================================================
   17. Fare calculator
   ========================================================================== */

.tool {
  display: grid;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.tool__form { padding: clamp(22px, 3.4vw, 34px); }
.tool__row { display: grid; gap: 16px; }
.tool__row + .tool__row { margin-top: 16px; }

.field { display: grid; gap: 7px; }
.field > label, .fieldset__legend {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field select,
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px; /* keeps iOS from zooming on focus */
  color: var(--ink);
  background: var(--mist);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  min-height: 50px;
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}
.field textarea { min-height: 132px; resize: vertical; line-height: 1.6; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%234E6274' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
}
.field select:focus,
.field input:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(6, 137, 146, .14);
}
.field__hint { font-size: 13px; color: var(--ink-soft); }
.field__error {
  font-size: 13.5px;
  font-weight: 500;
  color: #B3261E;
  display: none;
}
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: #B3261E; background: #FEF3F2; }
.field.is-invalid .field__error { display: block; }

/* Segmented radio pills */
.segment { position: relative; display: flex; flex-wrap: wrap; gap: 8px; }
.segment input {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.segment label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--line);
  background: var(--mist);
  border-radius: var(--r-pill);
  padding: 11px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  min-height: 46px;
  transition: all .25s var(--ease);
}
.segment label:hover { border-color: var(--teal); color: var(--ink); }
.segment input:checked + label {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.segment input:focus-visible + label { outline: 3px solid var(--teal); outline-offset: 2px; }
.segment svg { flex: none; }

.tool__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; align-items: center; }
.tool__reset {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 10px 4px;
  min-height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
}
.tool__reset:hover { color: var(--teal-deep); }

.tool__result {
  background:
    radial-gradient(600px 300px at 80% 0%, rgba(6, 137, 146, .28), transparent 60%),
    linear-gradient(150deg, #0E2A41, var(--navy));
  color: #E9F0F4;
  padding: clamp(24px, 3.4vw, 34px);
  display: grid;
  gap: 18px;
  align-content: start;
}
.tool__resultHead { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #8FA8BA; }
.tool__fare {
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 52px);
  font-weight: 600;
  line-height: 1.05;
  color: #fff;
}
.tool__fare small { font-size: .42em; font-weight: 500; color: #8FA8BA; display: block; margin-top: 6px; letter-spacing: .02em; }
.tool__meta { display: grid; gap: 10px; }
.tool__metaRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .16);
  font-size: 15px;
  color: #B9CBD9;
}
.tool__metaRow:last-child { border-bottom: 0; }
.tool__metaRow strong { color: #fff; font-weight: 600; }
.tool__note { font-size: 13.5px; color: #8FA8BA; line-height: 1.6; }
.tool__note a { color: #7FE0E6; text-decoration: underline; text-underline-offset: 3px; }
.tool__cta { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 10px; }
.tool__empty { color: #8FA8BA; font-size: 15px; line-height: 1.65; }

@media (min-width: 900px) {
  .tool { grid-template-columns: 1.15fr .85fr; }
  .tool__row--2 { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   18. Forms
   ========================================================================== */

.form {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(24px, 3.6vw, 38px);
}
.form__grid { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
.fieldset { border: 0; }
.fieldset__legend { display: block; margin-bottom: 10px; }
.form__foot {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.form__consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 11px;
  align-items: start;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.form__consent input {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  accent-color: var(--teal);
}
.form__consent a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }
.form button[type="submit"] { border: 0; cursor: pointer; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__status {
  display: none;
  margin-bottom: 22px;
  border-radius: var(--r-sm);
  padding: 16px 18px;
  font-size: 15.5px;
  line-height: 1.6;
  border: 1px solid transparent;
}
.form__status.is-shown { display: block; }
.form__status--ok { background: #ECF8F3; border-color: #9AD9BF; color: #14614A; }
.form__status--err { background: #FEF3F2; border-color: #F1B4AE; color: #8C1D18; }

@media (min-width: 700px) {
  .form__row--2 { grid-template-columns: 1fr 1fr; }
  .form__row--3 { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   19. Article layout
   ========================================================================== */

.article { display: grid; gap: clamp(30px, 4vw, 56px); }
.article__body { min-width: 0; }
.article__body > * + * { margin-top: 1.2em; }
.article__body p { color: var(--ink-soft); font-size: 17px; line-height: 1.78; }
.article__body h2 {
  font-size: clamp(24px, 3.1vw, 32px);
  color: var(--ink);
  margin-top: 1.7em;
  scroll-margin-top: 130px;
}
.article__body h3 { font-size: clamp(19px, 2.3vw, 22px); color: var(--ink); margin-top: 1.5em; }
.article__body ul { display: grid; gap: 12px; }
.article__body ul li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.article__body ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--grad);
}
.article__body ol { padding-left: 1.3em; list-style: decimal; display: grid; gap: 12px; color: var(--ink-soft); }
.article__body li strong { color: var(--ink); }
.article__body a {
  color: var(--teal-deep);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.article__body a:hover { color: var(--blue); }
.article__body figure { margin-block: 2em; }
.article__body figure img { border-radius: var(--r-md); box-shadow: var(--shadow-md); width: 100%; height: auto; }
.article__body figcaption { margin-top: 12px; font-size: 14px; color: var(--ink-soft); text-align: center; }

.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  font-size: 14.5px;
  color: #A9C0D0;
  margin-top: 20px;
}
.article__meta span { display: inline-flex; align-items: center; gap: 7px; }
.article__meta svg { color: #4FD1D9; }

.toc {
  position: sticky;
  top: 108px;
  align-self: start;
  background: var(--mist);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 24px;
}
.toc__title {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.toc ol { display: grid; gap: 4px; counter-reset: toc; }
.toc a {
  display: block;
  font-size: 14.8px;
  line-height: 1.5;
  color: var(--ink-soft);
  padding: 8px 12px;
  border-radius: 10px;
  border-left: 2px solid transparent;
}
.toc a:hover { background: #fff; color: var(--ink); }
.toc a.is-active { background: #fff; color: var(--teal-deep); font-weight: 600; border-left-color: var(--teal); }

.article__share {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.article__share p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

@media (min-width: 1000px) {
  .article { grid-template-columns: minmax(0, 1fr) 276px; }
  .article__aside { order: 2; }
}
@media (max-width: 999px) {
  .toc { position: static; }
}

/* ==========================================================================
   20. Contact & map
   ========================================================================== */

.contactgrid { display: grid; gap: clamp(26px, 4vw, 48px); align-items: start; }
.contactcard {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  padding: 26px;
  display: grid;
  gap: 8px;
}
.contactcard__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
  margin-bottom: 8px;
}
.contactcard h2, .contactcard h3 { font-size: 19px; color: var(--ink); }
.contactcard p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.65; }
.contactcard__big {
  font-size: clamp(21px, 3vw, 27px);
  font-weight: 600;
  color: var(--ink);
  word-break: break-word;
}
.contactcard__big:hover { color: var(--teal-deep); }

.mapframe {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-md);
  background: var(--sky);
  line-height: 0;
}
.mapframe iframe { width: 100%; height: 420px; border: 0; display: block; }

@media (min-width: 900px) {
  .contactgrid { grid-template-columns: 1fr 1.15fr; }
  .contactgrid--even { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   21. App / store badges on the download page
   ========================================================================== */

.appgrid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
.appshots { display: flex; gap: 18px; justify-content: center; align-items: flex-end; }
.badgeRow { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.qr {
  display: inline-grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 16px 22px 16px 16px;
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
}
.qr img { width: 92px; height: 92px; border-radius: 10px; }
.qr strong { display: block; color: var(--ink); font-size: 16px; }
.qr small { color: var(--ink-soft); font-size: 14px; }

@media (min-width: 900px) { .appgrid { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   22. Legal pages
   ========================================================================== */

.legal { max-width: 820px; }
.legal h2 { font-size: clamp(21px, 2.6vw, 26px); margin-top: 2em; color: var(--ink); }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--ink-soft); line-height: 1.75; }
.legal ul { display: grid; gap: 10px; padding-left: 1.2em; list-style: disc; }
.legal li::marker { color: var(--teal); }
.legal a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }
.legal__updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sky);
  border-radius: var(--r-pill);
  padding: 8px 16px;
  font-size: 14px;
  color: var(--teal-deep);
  font-weight: 500;
  margin-bottom: 28px;
}

/* ==========================================================================
   23. Utilities
   ========================================================================== */

.u-center { text-align: center; }
.u-center .section__head { margin-inline: auto; }
.u-center .section__lead { margin-inline: auto; }
.mt-l { margin-top: clamp(30px, 4vw, 48px); }
.mt-m { margin-top: clamp(20px, 3vw, 32px); }
.stack > * + * { margin-top: 1.1em; }

.illus { max-width: 100%; height: auto; border-radius: var(--r-md); }
.illus--flat { box-shadow: var(--shadow-sm); }

/* Tap targets stay comfortable on touch devices.
   Inline links inside sentences are exempt (WCAG 2.5.8) — these are the
   standalone controls and list links a thumb actually aims at. */
@media (pointer: coarse) {
  .subnav a,
  .chips a,
  .crumbs a,
  .toc a { min-height: 44px; display: inline-flex; align-items: center; }

  .footer__areas { column-gap: 6px; }

  .nav__toggle {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .faq__q { min-height: 60px; }
  .fcard__link, .rcard__go, .pcard__go { min-height: 40px; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  .fcard, .rcard, .pcard, .acard, .rcard__media img, .pcard__media img { transition: none; }
  .faq__item[open] .faq__a { animation: none; }
}

@media print {
  .phero, .subnav, .ctaband, .app-bar, .call-pill, .announce, .header, .footer { display: none !important; }
  .article { display: block; }
  body { background: #fff; }
}

/* Standalone links inside data tables are controls, not prose — give them a
   comfortable tap size on touch without stretching the table rows on desktop. */
@media (pointer: coarse) {
  .rtable td a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-inline: 2px;
  }
  .form__consent input { width: 24px; height: 24px; }
}

/* Landscape phones: tighten the hero so the headline and CTAs fit the fold */
@media (max-height: 520px) and (orientation: landscape) and (pointer: coarse) {
  .phero {
    padding-block:
      calc(var(--wb-header-h, 72px) + 16px)
      clamp(26px, 6vh, 44px);
  }
  .phero__inner { gap: 24px; }
  .phero__cta { margin-top: 18px; }
  .phero__chips { margin-top: 16px; }
  .subnav { top: 56px; }
}
