/* BGDS shared stylesheet — built from the v2 reference design tokens and components.
   Loaded by every page that has been migrated. Page-specific rules stay out of this file. */

:root {
  /* Colour */
  --navy: #103452;
  --blue: #075bea;
  --blue-dark: #004fc7;
  --sky: #e8f6ff;
  --ink: #213e53;
  --muted: #566c7f;
  --line: #d9e6ee;
  --white: #fff;
  --bg: #fff;
  --soft: #f0f8ff;
  --focus: #ffbb45;
  --success-bg: #e8f7f0;
  --success-ink: #145d47;
  /* Aliases kept for inline styles carried over from the previous design */
  --surface: #fff;
  --border-color: var(--line);
  --text: var(--navy);
  --text-muted: var(--muted);
  --text-dim: var(--muted);

  /* Type */
  --font: Arial, Helvetica, sans-serif;
  --text-body: 16px;
  --text-small: 15px;
  --text-fine: 13px;
  --text-eyebrow: 11px;
  --text-lead: 17.5px;
  --line-body: 1.62;
  --line-lead: 1.65;
  --h1: clamp(36px, 4vw, 56px);
  --h1-hero: clamp(42px, 5vw, 68px);
  --h2: clamp(26px, 2.6vw, 38px);
  --h3: 21px;
  --tracking-tight: -0.035em;
  --tracking-tighter: -0.055em;

  /* Space */
  --wrap: 1240px;
  --gutter: 64px;
  --section-y: 90px;
  --space-1: 6px;
  --space-2: 10px;
  --space-3: 16px;
  --space-4: 22px;
  --space-5: 28px;
  --space-6: 36px;
  --space-7: 48px;

  /* Radius */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 100px;

  /* Elevation */
  --shadow-card: 0 16px 40px #1538570d;
  --shadow-panel: 0 22px 70px #12447b0b;
  --shadow-header: 0 12px 30px #1034520f;
}

/* ---------- Base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--text-body);
  line-height: var(--line-body);
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

button { cursor: pointer; }

a { color: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

[hidden] { display: none !important; }

img,
picture,
svg { max-width: 100%; }

/* Skip link: visible only when focused. */
.skip-link {
  position: absolute;
  left: var(--space-3);
  top: -60px;
  z-index: 60;
  background: var(--navy);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
  font-size: var(--text-small);
  transition: top .2s;
}

.skip-link:focus { top: var(--space-2); }

/* ---------- Layout ---------- */

.wrap {
  width: min(var(--wrap), calc(100% - var(--gutter)));
  margin: auto;
}

.section { padding: var(--section-y) 0; }
.section.soft { background: var(--soft); }

.sectionhead {
  display: flex;
  justify-content: space-between;
  gap: 35px;
  align-items: flex-end;
  margin-bottom: var(--space-6);
}

.sectionhead h2 { margin: var(--space-2) 0 0; }
.sectionhead p { max-width: 380px; color: var(--muted); font-size: 15.5px; margin: 0; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 65px;
  align-items: start;
}

.strip {
  background: #f5fbff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  font-size: var(--text-fine);
}

.strip .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* ---------- Type ---------- */

h1, h2, h3, p { margin-top: 0; }

h1 {
  font-size: var(--h1);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--navy);
  margin: 22px 0 25px;
}

h1 em { font-style: normal; color: var(--blue); }

h2 {
  font-size: var(--h2);
  line-height: 1.12;
  letter-spacing: var(--tracking-tight);
  color: var(--navy);
  margin-bottom: 20px;
}

h3 {
  font-size: var(--h3);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 10px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--blue);
  font-size: var(--text-eyebrow);
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 3px;
  background: var(--blue);
}

.lead {
  font-size: var(--text-lead);
  line-height: var(--line-lead);
  color: var(--muted);
  max-width: 610px;
}

.fine { font-size: var(--text-fine); color: var(--muted); line-height: 1.7; }

.badge {
  display: inline-block;
  padding: 5px 9px;
  background: #ecf5ff;
  border-radius: 6px;
  color: var(--blue);
  font-size: var(--text-eyebrow);
}

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 48px;
  padding: 15px 25px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--blue);
  color: var(--white);
  font-size: var(--text-small);
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s, background .2s;
}

.btn:hover { background: var(--blue-dark); transform: translateY(-2px); }

.btn.secondary {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--line);
}

.btn.secondary:hover { background: var(--soft); }

.textlink {
  color: var(--blue);
  font-size: var(--text-small);
  font-weight: 700;
  text-decoration: none;
}

.textlink:hover { text-decoration: underline; }

.actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin: 28px 0; }

/* ---------- Header and navigation ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fffffff5;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 25px;
  min-height: 94px;
}

.brand {
  display: flex;
  align-items: center;
  margin-right: auto;
  text-decoration: none;
}

.brand img {
  width: 72px;
  height: 65px;
  object-fit: contain;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13px;
  font-weight: 700;
}

.navlinks a {
  position: relative;
  padding: 4px 0;
  text-decoration: none;
  color: var(--navy);
}

.navlinks a:hover { color: var(--blue); }

.navlinks a[aria-current] { color: var(--blue); }

.navlinks a[aria-current]::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -13px;
  height: 3px;
  border-radius: 10px;
  background: var(--blue);
}

.nav .btn { flex: none; }

.menu {
  display: none;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
}

/* ---------- Journey scene (home hero) ---------- */

.scene {
  position: relative;
  min-height: 560px;
  border-radius: 28px;
  background: linear-gradient(150deg, #eefaff, #d5ecff);
  overflow: hidden;
  isolation: isolate;
}

.journey-label {
  position: absolute;
  left: 26px;
  top: 25px;
  color: #456a85;
  font-size: var(--text-eyebrow);
  font-weight: 800;
  letter-spacing: 0.17em;
}

.orbit {
  position: absolute;
  left: 90px;
  top: 90px;
  width: 450px;
  height: 450px;
  border: 1px solid #a8ccef;
  border-radius: 50%;
}

.orbit.o2 { left: 15px; top: 15px; width: 600px; height: 600px; }

.journey-card {
  position: absolute;
  display: block;
  width: 245px;
  padding: 22px;
  border-radius: 18px;
  box-shadow: 0 16px 35px #123a5c1a;
  text-decoration: none;
  color: var(--navy);
  transition: transform .25s;
}

.journey-card:hover { transform: translateY(-6px) rotate(0deg); z-index: 5; }

.journey-num {
  display: block;
  margin-bottom: 14px;
  font-size: var(--text-eyebrow);
  font-weight: 800;
  letter-spacing: 0.1em;
  opacity: .65;
}

.journey-card strong {
  display: block;
  margin-bottom: 16px;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.journey-card > span:last-of-type {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  font-size: var(--text-eyebrow);
  font-weight: 700;
}

.jc1 { left: 22px; top: 70px; background: var(--white); transform: rotate(-7deg); z-index: 2; }
.jc2 { right: 18px; top: 175px; background: var(--blue); color: var(--white); transform: rotate(7deg); z-index: 3; }
.jc3 { left: 38px; top: 330px; width: 275px; background: #bce0ff; color: #103452; transform: rotate(-3deg); z-index: 4; }

.journey-visual { height: 96px; margin-top: 15px; border-radius: 8px; overflow: hidden; }
.journey-visual picture { display: block; width: 100%; height: 100%; }
.journey-visual img { display: block; width: 100%; height: 100%; object-fit: contain; }

.visualnote { position: absolute; left: 24px; bottom: 13px; right: 24px; margin: 0; font-size: 9px; color: var(--muted); }

.journey-card:focus-visible { outline: 3px solid #082d50; outline-offset: 3px; box-shadow: 0 0 0 6px #fff; }

@media (max-width: 1000px) and (min-width: 761px) {
  .journey-card { width: 205px; padding: 18px; }
  .journey-card strong { font-size: 23px; }
  .jc1 { left: 12px; }
  .jc2 { right: 10px; }
  .jc3 { left: 15px; width: 240px; }
  .scene { min-height: 510px; }
}

@media (max-width: 760px) {
  .scene { min-height: 0; display: block; padding: 62px 14px 26px; }
  .journey-label { left: 14px; top: 14px; }
  .journey-card { position: static; width: 100%; max-width: 360px; margin: 0 auto 14px; transform: none; }
  .journey-card:hover { transform: translateY(-3px); }
  .orbit { display: none; }
  .visualnote { position: static; margin: 10px auto 0; max-width: 340px; text-align: center; }
}

@media (min-width: 761px) {
  .scene { min-height: var(--scene-h, 660px); }
}

.journey-card strong,
.journey-card span,
.journey-card b { overflow-wrap: anywhere; }

.journey-card > span:last-of-type { flex-wrap: wrap; row-gap: 2px; }

@media (prefers-reduced-motion: reduce) {
  .journey-card:hover { transform: none; }
}

/* Article alias used by the about and content-flywheel pages */
.legal-content { max-width: 760px; }

.legal-content h2 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.02em; margin: 44px 0 14px; }

.legal-content p,
.legal-content li { font-size: 16px; }

.legal-content ul { padding-left: 22px; margin: 0 0 18px; }

.legal-content a { color: var(--blue); }

/* Stats band */
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; text-align: center; }

.stat-item { padding: 26px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }

.stat-number { color: var(--blue); font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }

.stat-label { margin-top: 8px; color: var(--muted); font-size: var(--text-fine); }

/* Numbered values list */
.value-item { display: flex; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }

.value-num { flex: none; color: var(--blue); font-size: var(--text-fine); font-weight: 800; letter-spacing: 0.1em; }

.value-content h4 { margin: 0 0 6px; color: var(--navy); font-size: 17px; }

.value-content p { margin: 0; color: var(--muted); font-size: var(--text-small); }

/* Profile card */
.profile-card { display: flex; gap: 22px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }

.profile-avatar { display: grid; place-items: center; flex: none; width: 72px; height: 72px; border-radius: 50%; background: #e0efff; color: var(--blue); font-weight: 800; font-size: 20px; }

.profile-name { margin: 0 0 4px; font-size: 20px; }

.profile-role { display: block; color: var(--blue); font-size: var(--text-fine); font-weight: 700; margin-bottom: 10px; }

.profile-info { min-width: 0; }

.profile-bio { margin: 0; color: var(--muted); font-size: var(--text-small); }

.quote-author { margin-top: 10px; color: var(--navy); font-weight: 700; font-size: var(--text-fine); }

.service-visual-icon { display: grid; place-items: center; height: 100%; min-height: 200px; color: var(--white); background: linear-gradient(140deg, #0a67f0, #74c0ff); }

@media (max-width: 980px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-card { flex-direction: column; }
}

@media (max-width: 700px) {
  .stats-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Small state pills used on the circuit page */
.tag { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: var(--text-eyebrow); font-weight: 800; letter-spacing: 0.08em; }

.tag-cyan { background: #e0f2ff; color: #0b5b86; }

/* ---------- Home page building blocks carried over from the old layout ---------- */

.bg-orb { display: none; }

.pillars-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }

.pillars-grid .card { padding: 28px; }

.marquee-section { padding: 42px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }

.marquee-track { overflow: hidden; }

.marquee-inner { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 26px 44px; }

.marquee-label { width: 100%; margin: 0 0 12px; text-align: center; color: var(--muted); font-size: var(--text-eyebrow); font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }

.marquee-logo { display: grid; place-items: center; min-width: 152px; height: 64px; }

.marquee-logo img { width: auto; height: auto; max-height: 26px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }

/* Each supplier artwork carries a different amount of internal padding, so the
   rendered height is set per logo to give every mark the same optical height. */
.marquee-logo img[alt="ARV Caravans"] { height: 47px; max-height: none; }
.marquee-logo img[alt="Avan"] { height: 38px; max-height: none; }
.marquee-logo img[alt="Ezytrail"] { height: 58px; max-height: none; }
.marquee-logo img[alt="Response Real Estate"] { height: 38px; max-height: none; }
.marquee-logo img[alt="National Leisure Finance"] { height: 33px; max-height: none; }
.marquee-logo img[alt="Maserati"] { height: 39px; max-height: none; }
.marquee-logo img[alt="Audi"] { height: 28px; max-height: none; }
.marquee-logo img[alt="Toyota"] { height: 26px; max-height: none; }
.marquee-logo img[alt="Golf Super Centre"] { height: 26px; max-height: none; }
.marquee-logo img[alt="Golf Caravans"] { height: 26px; max-height: none; }
.marquee-logo img[alt="Jayco"] { height: 28px; max-height: none; }
.marquee-logo img[alt="X-Series RV"] { height: 26px; max-height: none; }

/* Brand page hero mark, on its white plate */
.brandmark {
  display: block;
  width: auto;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.95);
  padding: 14px 26px;
  border-radius: 10px;
}

.brandmark[alt="ARV Caravans"] { height: 80px; }
.brandmark[alt="Avan"] { height: 64px; }
.brandmark[alt="Ezytrail"] { height: 98px; }
.brandmark[alt="Response Real Estate"] { height: 64px; }
.brandmark[alt="National Leisure Finance"] { height: 55px; }
.brandmark[alt="Maserati"] { height: 66px; }
.brandmark[alt="Audi"] { height: 48px; }
.brandmark[alt="Toyota"] { height: 44px; }
.brandmark[alt="Golf Super Centre"] { height: 44px; }
.brandmark[alt="Golf Caravans"] { height: 44px; }
.brandmark[alt="Jayco"] { height: 50px; }

.marquee-logo:hover img { filter: none; opacity: 1; }

.marquee-logo.card-dark { background: #0d2c4a; border-radius: 10px; padding: 8px 16px; }

.marquee-logo.logo-large img { max-height: 52px; }

.circuit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; align-items: start; }

.circuit-map { padding: 26px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-lg); }

.map-locations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }

.map-location { display: flex; align-items: center; gap: 9px; font-size: var(--text-small); }

.map-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: none; }

.map-state { margin-left: auto; color: var(--muted); font-size: var(--text-eyebrow); letter-spacing: 0.08em; }

.circuit-events { display: grid; gap: 12px; }

.circuit-events-label { margin: 0; color: var(--muted); font-size: var(--text-eyebrow); font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }

.event-item { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); }

.event-date { color: var(--blue); font-size: var(--text-fine); font-weight: 700; white-space: nowrap; }

.event-name { color: var(--navy); font-weight: 700; font-size: var(--text-small); }

.event-badge { margin-left: auto; }

.cta-left { min-width: 0; }

.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 46px; align-items: start; }

/* Enquiry form carried over from the old layout, restyled as a v2 panel */
.form { padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-panel); }

.form-group { margin-bottom: 16px; }

.form-group label { display: block; margin-bottom: 6px; color: var(--navy); font-size: var(--text-fine); font-weight: 700; }

.form-group input,
.form-group select,
.form-group textarea,
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"] {
  width: 100%;
  padding: 13px;
  background: #fbfdff;
  color: var(--ink);
  border: 1px solid #bbd2e5;
  border-radius: 10px;
  font: inherit;
  font-size: var(--text-small);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }

.form-submit { margin-top: 6px; }

.btn-full { width: 100%; }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Contact block used beside the home page form */
.contact-info { display: grid; gap: 14px; }

.contact-item { display: flex; gap: 12px; align-items: flex-start; }

.contact-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #e0efff; color: var(--blue); flex: none; }

.contact-label { color: var(--muted); font-size: var(--text-eyebrow); text-transform: uppercase; letter-spacing: 0.08em; }

.contact-value { color: var(--ink); font-weight: 700; font-size: var(--text-small); }

.contact-value a { color: var(--blue); text-decoration: none; }

@media (max-width: 1180px) {
  .pillars-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .circuit-grid,
  .cta-inner { grid-template-columns: minmax(0, 1fr); gap: 30px; }
}

@media (max-width: 700px) {
  .pillars-grid { grid-template-columns: minmax(0, 1fr); }
  .form { padding: 22px; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .map-locations { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Route hero and quiz (ad review) ---------- */

.routehero {
  background: linear-gradient(120deg, var(--white) 30%, #e9f6ff);
  border-bottom: 1px solid var(--line);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 82px 0 92px;
}

.hero h1 { font-size: var(--h1-hero); }

.back {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: var(--text-fine);
  text-decoration: none;
}

.back:hover { color: var(--blue); }

.offer {
  display: flex;
  gap: 20px;
  margin: 16px 0;
  color: var(--muted);
  font-size: var(--text-fine);
}

.progress {
  height: 5px;
  margin: 18px 0 30px;
  background: #e3edf7;
  border-radius: 10px;
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  background: var(--blue);
  transition: width .2s;
}

.qcount { font-size: var(--text-eyebrow); font-weight: 700; color: var(--muted); }

.question {
  margin: 0 0 26px;
  font-size: 29px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.answers { display: grid; gap: 10px; }

.answer {
  padding: 17px;
  background: var(--white);
  border: 1px solid #bfd7eb;
  border-radius: 12px;
  color: var(--navy);
  font-size: var(--text-small);
  font-weight: 700;
  text-align: left;
}

.answer:hover { background: #e7f3ff; border-color: var(--blue); }

.quiznav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}

.plainbtn {
  border: 0;
  background: none;
  padding: 8px 0;
  color: var(--blue);
  font-size: var(--text-fine);
  font-weight: 700;
}

.results { padding: 0; margin: 0; list-style: none; }

.results li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.results strong { display: block; margin-bottom: 4px; color: var(--navy); }

.results span { color: var(--muted); }

.form-success {
  display: none;
  padding: 28px;
  background: var(--success-bg);
  border: 1px solid #b3dfca;
  border-radius: var(--radius);
  color: var(--success-ink);
}

.form-success h3 { color: var(--success-ink); }

.form-success-check {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #b3dfca;
  color: var(--success-ink);
  font-size: 20px;
  font-weight: 700;
}

/* ---------- Cards, steps, callout ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .25s, box-shadow .25s;
}

.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }

.card .number {
  margin-bottom: 35px;
  color: var(--blue);
  font-size: var(--text-fine);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.card h3 { font-size: 22px; }
.card p { font-size: 15.5px; color: var(--muted); }
.card .textlink { margin-top: auto; padding-top: 12px; }

.card.accent {
  background: #eff7ff;
  color: var(--ink);
  border-color: #b9d9fb;
}

.card.accent h3,
.card.accent p { color: var(--ink); }

.card.accent .number,
.card.accent .textlink { color: var(--blue); }

.steps { counter-reset: step; }

.step {
  position: relative;
  padding: 20px 0 20px 48px;
  border-top: 1px solid var(--line);
}

.step::before {
  counter-increment: step;
  content: '0' counter(step);
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: var(--text-fine);
  font-weight: 700;
}

.boxhead { margin: 30px 0 4px; color: var(--navy); font-size: 13px; letter-spacing: 0.02em; }

.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { margin: 0; font-size: var(--text-small); color: var(--muted); }

.callout {
  padding: 38px;
  background: #e0f0ff;
  border-radius: var(--radius);
}

.callout h3 { font-size: 30px; }

/* Contact details list */
.contactlist {
  display: grid;
  gap: 14px;
  margin: 28px 0 36px;
  padding: 0;
  list-style: none;
}

.contactlist li { display: flex; align-items: baseline; gap: 12px; font-size: var(--text-small); flex-wrap: wrap; }

.contactlist i { width: 18px; color: var(--blue); font-size: 13px; }

.contactlist-label { min-width: 108px; color: var(--muted); font-size: var(--text-fine); text-transform: uppercase; letter-spacing: 0.08em; }

.contactlist-value { color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
.contactlist-value a { color: var(--blue); text-decoration: none; }

/* Long checkbox group inside a form */
.checklist { border: 1px solid #bbd2e5; border-radius: 10px; background: #fbfdff; }

.checklist summary {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 13px;
  color: var(--navy);
  font-size: var(--text-fine);
  font-weight: 700;
  cursor: pointer;
}

.checklist-options {
  display: grid;
  gap: 8px;
  max-height: 260px;
  overflow: auto;
  padding: 4px 13px 13px;
  border-top: 1px solid var(--line);
}

.checklist-options label { display: flex; gap: 9px; align-items: flex-start; font-size: var(--text-fine); font-weight: 400; color: var(--ink); padding-top: 8px; }

.field-hint { margin: 6px 0 0; font-size: var(--text-eyebrow); font-weight: 400; color: var(--muted); }

/* Card grids used by the explainer and service templates */
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: #e0efff;
  color: var(--blue);
  font-size: 18px;
}

@media (max-width: 1180px) {
  .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .cards.two,
  .cards.four { grid-template-columns: minmax(0, 1fr); }
}

/* Image and caption column used by the service overview */
.service-visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--soft); }

.service-visual img { display: block; width: 100%; height: auto; }

.service-visual .badge { position: absolute; left: 16px; bottom: 16px; background: #ffffffdd; }

.service-block { margin-bottom: 8px; }

.checklist-list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }

.checklist-list li { position: relative; padding-left: 26px; font-size: var(--text-small); color: var(--ink); }

.checklist-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: 700;
}

.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); display: inline-block; margin-right: 7px; }

.split.reverse > :first-child { order: 2; }

@media (max-width: 980px) {
  .split.reverse > :first-child { order: 0; }
}

/* ---------- Form panel ---------- */

.panel {
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-panel);
}

.field {
  display: block;
  margin-bottom: 17px;
  font-size: var(--text-fine);
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 13px;
  background: #fbfdff;
  color: var(--ink);
  border: 1px solid #bbd2e5;
  border-radius: 10px;
}

.field textarea { min-height: 110px; resize: vertical; }

.fieldrow { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

.formstatus {
  margin-top: 15px;
  padding: 12px;
  background: var(--success-bg);
  border: 1px solid #b3dfca;
  border-radius: var(--radius-sm);
  color: var(--success-ink);
  font-size: 13px;
}

.formnote { margin: 14px 0 0; font-size: var(--text-fine); color: var(--muted); }
.formnote a { color: var(--blue); }

/* ---------- FAQ ---------- */

.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }

.faq summary {
  margin-left: 20px;
  color: var(--navy);
  font-weight: 700;
  list-style-position: outside;
  cursor: pointer;
}

.faq details p { margin: 16px 20px 0; color: var(--muted); font-size: var(--text-small); }

.faq { margin-top: 22px; }

.faq summary { display: flex; gap: 10px; align-items: baseline; }

.faq summary h3 { display: inline; margin: 0; font-size: 16px; }

.faq-body { margin: 16px 20px 0; color: var(--muted); font-size: var(--text-small); }

.faq-body > :first-child { margin-top: 0; }

.faq-body > :last-child { margin-bottom: 0; }

.faq-body ul { padding-left: 20px; }

.faq-body li { margin-bottom: 8px; }

/* ---------- Legal article ---------- */

.article { max-width: 760px; }

.article h2 {
  font-size: clamp(21px, 1.9vw, 26px);
  letter-spacing: -0.02em;
  margin: 44px 0 14px;
}

.article h2:first-child { margin-top: 0; }

.article h3 { font-size: 19px; margin: 28px 0 10px; }

.article p,
.article li { font-size: 16px; color: var(--ink); }

.article p { margin: 0 0 16px; }

.article ul,
.article ol { margin: 0 0 18px; padding-left: 22px; }

.article li { margin-bottom: 9px; }

.article a { color: var(--blue); text-underline-offset: 2px; }

.article strong { color: var(--navy); }

/* Page head used by the legal pages. */
.pagehead {
  padding: 64px 0 44px;
  background: linear-gradient(120deg, var(--white) 30%, #e9f6ff);
  border-bottom: 1px solid var(--line);
}

.pagehead h1 { margin-bottom: 14px; }

.pagehead .lead { max-width: 720px; }

/* ---------- Mobile call to action ---------- */

.mobilebar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  padding: 10px 18px;
  background: #ffffffef;
  border-top: 1px solid var(--line);
}

.mobilebar .btn { width: 100%; min-height: 45px; padding: 10px; }

@media (max-width: 700px) {
  .mobilebar { display: flex; }
  .foot { padding-bottom: 96px; }
}

/* ---------- Footer ---------- */

.foot {
  padding: 40px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footinner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  font-size: var(--text-fine);
}

.footbrand { display: flex; align-items: center; gap: 14px; }
.footbrand img { width: 58px; height: 52px; object-fit: contain; }
.footbrand strong { color: var(--navy); font-size: 13px; letter-spacing: 0.04em; }
.footbrand p { margin: 2px 0 0; color: var(--muted); }

.footlinks { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.footlinks a { color: var(--muted); text-decoration: none; }
.footlinks a:hover { color: var(--blue); }

.footmeta { color: var(--muted); }

.footmeta p { margin: 0; }

.footsocial { display: flex; gap: 14px; margin-top: 12px; }
.footsocial a { color: var(--muted); font-size: 15px; }
.footsocial a:hover { color: var(--blue); }

.footcopy { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: var(--text-fine); color: var(--muted); }

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .navlinks { gap: 22px; }
  .nav { gap: 18px; }
}

@media (max-width: 980px) {
  .nav {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 0;
  }

  .menu { display: block; margin-left: auto; }

  .nav .btn { display: none; }

  .navlinks {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0 4px;
    font-size: 15px;
  }

  .navlinks.open { display: flex; }

  .navlinks a { padding: 13px 4px; border-top: 1px solid #e4eef6; }
  .navlinks a[aria-current]::after { display: none; }

  .hero { gap: 28px; }

  .sectionhead { display: block; margin-bottom: 25px; }
  .sectionhead p { max-width: none; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 35px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .card { padding: 23px; }
}

@media (max-width: 700px) {
  .wrap { width: calc(100% - 36px); }

  .nav { min-height: 73px; }
  .brand img { width: 65px; height: 59px; }

  h1 { margin-top: 18px; }
  .lead { font-size: var(--text-body); }

  .section { padding: 55px 0; }
  .sectionhead h2 { margin-bottom: 20px; }

  .cards { grid-template-columns: 1fr; gap: 20px; }
  .card { padding: 27px; }
  .card .number { margin-bottom: 20px; }

  .panel { padding: 25px; }
  .fieldrow { grid-template-columns: 1fr; gap: 0; }

  .callout { padding: 27px; }

  .pagehead { padding: 42px 0 32px; }

  .hero { grid-template-columns: minmax(0, 1fr); gap: 34px; padding: 44px 0 45px; }
  .hero h1 { font-size: clamp(38px, 11vw, 58px); }
  .offer { flex-wrap: wrap; gap: 8px 18px; }
  .question { font-size: 25px; }
  .back { margin-bottom: 18px; }
  .results li { font-size: 12px; }

  .footinner { flex-direction: column; }
  .footlinks { gap: 12px 20px; }

  .strip .wrap { gap: 12px; }
  .strip strong { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .btn:hover,
  .card:hover { transform: none; }
}

/* Keep the sticky mobile call to action clear of the footer. */
@media (max-width: 700px) {
  .foot { padding-bottom: 96px; }
}
