/* ------------------------------------------------------------------
   Shared rank-and-rent theme. RTL-first, mobile-first, IS 5568 / WCAG 2.0 AA.
   Per-site colors are injected as inline custom properties on <html>.
   ------------------------------------------------------------------ */

:root {
  --brand: #0f4c81;
  --brand-dark: #0a3558;
  --accent: #a8460f;          /* 5.9:1 on white text - AA for buttons */
  --accent-dark: #8b3a0d;
  --ink: #10202c;             /* 15:1 on --bg */
  --ink-soft: #40525f;        /* 7.4:1 on --bg */
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --bg-dark: #0b2438;
  --line: #d5dee6;
  --line-strong: #9aabb9;
  --focus: #b8360a;
  --radius: 10px;
  --wrap: 1120px;
  --tap: 44px;                /* minimum tap target */

  /* List marks, as masks so they inherit theme colour and never mirror in RTL */
  --icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.6 16.9 5.4 12.7l1.5-1.5 2.7 2.7 7.5-7.5 1.5 1.5z'/%3E%3C/svg%3E");
  --icon-dot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3C/svg%3E");
  --font: "Segoe UI", "Noto Sans Hebrew", Rubik, Arial, Helvetica, sans-serif;
}

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

html {
  font-size: 100%;            /* never lock font-size: text must scale to 200% */
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;         /* belt and braces: page never scrolls sideways */
}

img, picture, svg, video { max-width: 100%; height: auto; }
img { display: block; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 1rem; }
.wrap-text { max-width: 760px; }
.wrap-narrow { max-width: 620px; }

/* ---------- accessibility primitives ---------- */

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; inset-inline-start: 1rem; top: -100px;
  z-index: 999; padding: .75rem 1.25rem;
  background: var(--bg); color: var(--brand-dark);
  border: 3px solid var(--focus); border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 0; }

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

main:focus { outline: none; }

/* ---------- typography ---------- */

h1, h2, h3 { line-height: 1.25; color: var(--brand-dark); margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(1.6rem, 4.6vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 3.4vw, 1.85rem); margin-top: 0; }
h3 { font-size: clamp(1.1rem, 2.6vw, 1.3rem); }
p { margin: 0 0 1rem; }
a { color: var(--brand-dark); text-underline-offset: .18em; }
a:hover { color: var(--accent-dark); }

.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 62ch; }
.page-meta { color: var(--ink-soft); font-size: .95rem; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: var(--tap); padding: .7rem 1.4rem;
  border: 2px solid transparent; border-radius: var(--radius);
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  text-align: center;
}
.btn .icon { flex: none; }
.btn-call { background: var(--accent); color: #fff; }
.btn-call:hover { background: var(--accent-dark); color: #fff; }
.btn-wa { background: #0d7a4a; color: #fff; }      /* 4.9:1 with white */
.btn-wa:hover { background: #0a6039; color: #fff; }
.btn-ghost { background: transparent; color: var(--brand-dark); border-color: currentColor; }
.btn-ghost:hover { background: var(--bg-alt); }
.btn-submit { background: var(--brand); color: #fff; width: 100%; font-size: 1.1rem; }
.btn-submit:hover { background: var(--brand-dark); color: #fff; }
.btn-sm { padding: .45rem .9rem; font-size: .95rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0; }

/* ---------- header + nav mesh ---------- */

.site-header { background: var(--bg); border-bottom: 1px solid var(--line); position: relative; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: .75rem;
}
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--brand-dark); }
.brand-name { font-size: 1.3rem; font-weight: 800; }
.brand-tagline { font-size: .85rem; color: var(--ink-soft); font-weight: 400; }
.header-actions { display: flex; align-items: center; gap: .5rem; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: var(--tap); height: var(--tap);
  background: transparent; border: 2px solid var(--line-strong);
  border-radius: var(--radius); cursor: pointer; color: var(--brand-dark);
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 20px; height: 2px; background: currentColor; content: "";
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }

.site-nav { display: none; border-top: 1px solid var(--line); background: var(--bg-alt); }
.site-nav.is-open { display: block; }
.nav-list, .nav-sub { list-style: none; margin: 0; padding: 0; }
.nav-list > li { border-bottom: 1px solid var(--line); }
.nav-list a {
  display: block; min-height: var(--tap); padding: .7rem .25rem;
  text-decoration: none; color: var(--brand-dark); font-weight: 600;
}
.nav-list a:hover { text-decoration: underline; }
.nav-list a[aria-current="page"] { color: var(--accent-dark); text-decoration: underline; }

/* ---- dropdown trigger ---- */

.nav-group-btn {
  display: flex; align-items: center; gap: .45rem;
  width: 100%; min-height: var(--tap); padding: .7rem .25rem;
  background: transparent; border: 0; border-radius: 4px;
  font: inherit; font-weight: 600; color: var(--brand-dark);
  cursor: pointer; text-align: start;
}
.nav-group-btn:hover { text-decoration: underline; }
/* the section containing the current page, marked without relying on color alone */
.nav-group-btn[data-section-current="true"] { color: var(--accent-dark); text-decoration: underline; }

.nav-caret {
  flex: none; width: .45rem; height: .45rem; margin-top: -.2rem;
  border-inline-end: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
@media (prefers-reduced-motion: no-preference) {
  .nav-caret { transition: transform .15s ease; }
}
.nav-group-btn[aria-expanded="true"] .nav-caret { transform: rotate(-135deg); margin-top: .2rem; }

/* ---- submenu: accordion on mobile ---- */

.nav-sub { display: none; padding-bottom: .4rem; }
.nav-sub.is-open { display: block; }
.nav-sub a { padding-inline-start: 1.25rem; font-weight: 500; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; }
  .site-nav > .wrap > .nav-list {
    display: flex; flex-wrap: wrap; gap: 1.75rem; align-items: center;
  }
  .nav-list > li { border-bottom: 0; }
  .nav-list a { padding: .5rem 0; min-height: 0; }

  .nav-group { position: relative; }
  .nav-group-btn { width: auto; min-height: 0; padding: .5rem 0; }

  /* ---- submenu: floating panel on desktop ---- */
  .nav-sub.is-open {
    display: block;
    position: absolute; top: calc(100% + .35rem); inset-inline-start: 0;
    z-index: 60; min-width: 250px; padding: .4rem 0;
    background: var(--bg);
    border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 10px 28px rgba(10, 53, 88, .18);
  }
  .nav-sub li { border-bottom: 0; }
  .nav-sub a {
    display: flex; align-items: center;
    min-height: var(--tap); padding: .55rem 1rem;
    font-size: .97rem; font-weight: 500;
  }
  .nav-sub a:hover { background: var(--bg-alt); text-decoration: none; }
  .nav-sub a[aria-current="page"] { background: var(--bg-alt); }
}

/* ---------- hero + page head ---------- */

.hero { background: var(--bg-alt); padding-block: 2.5rem 2rem; }
.hero-inner { display: grid; gap: 1.5rem; }
.hero-points { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .4rem; }
.hero-points li { padding-inline-start: 1.6rem; position: relative; }
.hero-points li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .55em;
  width: .7rem; height: .7rem; border-radius: 50%; background: var(--accent);
}
.hero-media .fig { margin: 0; }
.hero-media img { border-radius: var(--radius); width: 100%; }

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.1fr .9fr; align-items: center; }
}

.page-head { padding-block: 2rem 1rem; }

/* ---------- content sections ---------- */

.content-section { padding-block: 1.25rem; }
.content-section:first-of-type { padding-top: 1.75rem; }

.checklist { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .5rem; }
.checklist li { position: relative; padding-inline-start: 1.8rem; }
/*
 * Check mark drawn as an SVG mask rather than two rotated borders. The border
 * trick mirrors itself in RTL - inline-start resolves to the right edge - so it
 * rendered as a backwards hook. A mask has no direction, and because the colour
 * comes from background-color it still follows the high-contrast theme.
 */
.checklist li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .35em;
  width: 1.05rem; height: 1.05rem;
  background-color: var(--accent);
  -webkit-mask: var(--icon-check) no-repeat center / contain;
  mask: var(--icon-check) no-repeat center / contain;
}

/* Browsers without mask support get a plain dot rather than a solid square. */
@supports not ((-webkit-mask: none) or (mask: none)) {
  .checklist li::before {
    width: .6rem; height: .6rem; top: .55em;
    border-radius: 50%;
  }
}

.fig { margin: 1.5rem 0; }
.fig img { border-radius: var(--radius); width: 100%; }
.fig figcaption { font-size: .9rem; color: var(--ink-soft); margin-top: .5rem; }

.gallery-section { padding-block: 2rem; }
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.gallery .fig { margin: 0; }

/* ---------- cards / link grids ---------- */

.grid-section { padding-block: 2rem; background: var(--bg-alt); }
.grid-section + .grid-section { border-top: 1px solid var(--line); }
.grid-intro { max-width: 62ch; color: var(--ink-soft); }
.card-grid {
  list-style: none; margin: 1.5rem 0 0; padding: 0;
  display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card a {
  display: flex; flex-direction: column; gap: .35rem; height: 100%;
  min-height: var(--tap); padding: 1.1rem;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink);
}
.card a:hover { border-color: var(--brand); box-shadow: 0 2px 10px rgba(15, 76, 129, .12); }
.card-title { font-weight: 700; color: var(--brand-dark); }
.card-text { font-size: .95rem; color: var(--ink-soft); }

/* ---------- trust ---------- */

.trust-section { padding-block: 1.5rem; }
.trust {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.trust-item {
  display: flex; flex-direction: column; gap: .2rem;
  padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-alt);
}
.trust-item strong { color: var(--brand-dark); }
.trust-item span { font-size: .95rem; color: var(--ink-soft); }

/* ---------- call band ---------- */

.band { background: var(--bg-dark); color: #fff; padding-block: 2.25rem; margin-block: 2rem; }
.band .band-title { color: #fff; }
.band .band-sub { color: #dce7f0; max-width: 60ch; }
.band .btn-row { margin-bottom: 0; }
.band .btn-ghost { color: #fff; border-color: #fff; }
.band .btn-ghost:hover { background: rgba(255, 255, 255, .12); }

/* ---------- form ---------- */

.form-section { padding-block: 2rem; background: var(--bg-alt); }
.form-title { margin-bottom: .25rem; }
.form-sub { color: var(--ink-soft); }
.lead-form {
  display: grid; gap: 1rem;
  background: var(--bg); padding: 1.5rem;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.field { display: grid; gap: .3rem; }
.field label { font-weight: 600; }
.field .req, .field-set legend .req { color: var(--accent-dark); font-weight: 700; }

.form-required-note { margin: 0; font-size: .9rem; color: var(--ink-soft); }

/* Name is one question in two parts, grouped so screen readers announce it as such. */
.field-set { margin: 0; padding: 0; border: 0; display: grid; gap: .5rem; }
.field-set legend { padding: 0; font-weight: 600; }
.field-row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}
.field-row .field label { font-weight: 500; font-size: .95rem; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  min-height: var(--tap); padding: .6rem .75rem;
  font: inherit; font-size: 1rem;      /* >= 16px stops iOS zoom-on-focus */
  color: var(--ink); background: var(--bg);
  border: 2px solid var(--line-strong); border-radius: var(--radius);
  width: 100%;
}
.field textarea { min-height: 5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); }
.field .hint { font-size: .875rem; color: var(--ink-soft); }

/* Errors are never signalled by color alone: border + icon-free text label. */
.field.has-error input, .field.has-error select { border-color: #a3130b; border-width: 3px; }
.field-error:empty { display: none; }
.field-error {
  color: #8f1109;               /* 6.4:1 on white */
  font-size: .9rem; font-weight: 600;
}

.form-legal { font-size: .875rem; color: var(--ink-soft); margin: 0; }
.form-status:empty { display: none; }
.form-status {
  margin: 0; padding: .75rem 1rem; border-radius: var(--radius); font-weight: 600;
  border: 2px solid transparent;
}
.form-status.is-ok { background: #e6f4ec; color: #14532d; border-color: #14532d; }
.form-status.is-error { background: #fdeceb; color: #8f1109; border-color: #8f1109; }

/* honeypot: off-screen, never displayed, not reachable by keyboard */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- reviews ---------- */

.reviews-section { padding-block: 2rem; }
.reviews { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.review {
  margin: 0; padding: 1.25rem;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
}
.review-stars { margin: 0 0 .5rem; color: #9a6600; line-height: 1; }
.review-stars .icon { width: 18px; height: 18px; }
.review-text { margin-bottom: .75rem; }
.review-by { font-size: .9rem; color: var(--ink-soft); font-weight: 600; }

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

.faq-section { padding-block: 2rem; }
.faq { display: grid; gap: .5rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.faq-item summary {
  min-height: var(--tap); padding: .9rem 1rem;
  cursor: pointer; font-weight: 700; color: var(--brand-dark);
  display: flex; align-items: center; gap: .5rem;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; margin-inline-start: auto; flex: none;
  width: .6rem; height: .6rem;
  border-inline-end: 3px solid currentColor; border-bottom: 3px solid currentColor;
  transform: rotate(45deg);
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-a { padding: 0 1rem 1rem; }
.faq-a p:last-child { margin-bottom: 0; }

/* ---------- misc ---------- */

.area-line { padding-block: 1rem; color: var(--ink-soft); }
.brand-home-link { font-size: 1.02rem; }

/* ---------- footer ---------- */

.site-footer { background: var(--bg-dark); color: #e8eef4; margin-top: 2.5rem; padding-block: 2.5rem 1rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
/* Visually a heading, semantically not one - see footer() in layout.js */
.footer-heading {
  color: #fff; font-size: 1.05rem; font-weight: 700;
  line-height: 1.25; margin: 0 0 .75rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.site-footer a { color: #cfe0ee; }      /* 9.6:1 on --bg-dark */
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; }
.footer-nap p { margin-bottom: .4rem; }
.footer-hours { font-size: .95rem; }
.footer-bottom {
  margin-top: 2rem; padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .2);
  font-size: .9rem; color: #b9cbdb;
}

/* ---------- sticky mobile call bar ---------- */

.mobile-call-bar { display: none; }
@media (max-width: 899px) {
  .mobile-call-bar {
    position: fixed; inset-inline: 0; bottom: 0; z-index: 50;
    display: grid; grid-template-columns: 1fr 1fr;
    border-top: 1px solid rgba(255, 255, 255, .25);
  }
  .mobile-call-bar a {
    display: flex; align-items: center; justify-content: center; gap: .4rem;
    min-height: 52px; padding: .5rem;
    font-weight: 700; text-decoration: none; color: #fff;
  }
  .mcb-call { background: var(--accent); }
  .mcb-form { background: var(--brand); }
  body { padding-bottom: 52px; }        /* bar never covers page content */
}

/* ---------- print ---------- */

@media print {
  .site-nav, .mobile-call-bar, .nav-toggle, .band { display: none !important; }
  body { color: #000; }
}

/* ==================================================================
   Accessibility toolbar and the visual modes it applies.
   A layer on top of accessible markup, not a replacement for it.
   ================================================================== */

/* ---- font scaling: AA requires text to reach 200% without breaking ---- */

:root { --a11y-font-scale: 1; }
html[data-a11y-font] body { font-size: calc(1.0625rem * var(--a11y-font-scale)); }
html[data-a11y-font] h1 { font-size: calc(clamp(1.6rem, 4.6vw, 2.5rem) * var(--a11y-font-scale)); }
html[data-a11y-font] h2 { font-size: calc(clamp(1.35rem, 3.4vw, 1.85rem) * var(--a11y-font-scale)); }
html[data-a11y-font] h3 { font-size: calc(clamp(1.1rem, 2.6vw, 1.3rem) * var(--a11y-font-scale)); }
html[data-a11y-font] .lede { font-size: calc(1.15rem * var(--a11y-font-scale)); }

/* ---- high contrast: repaint via the tokens, so every component follows ---- */

html[data-a11y-contrast="high"] {
  --ink: #ffffff;
  --ink-soft: #f2e9a0;
  --bg: #000000;
  --bg-alt: #0d0d0d;
  --bg-dark: #000000;
  --brand: #ffe600;
  --brand-dark: #ffe600;
  --accent: #ffe600;
  --accent-dark: #fff480;
  --line: #ffe600;
  --line-strong: #ffe600;
  --focus: #00e5ff;
}
html[data-a11y-contrast="high"] body { background: #000; color: #fff; }
html[data-a11y-contrast="high"] .btn,
html[data-a11y-contrast="high"] .card a,
html[data-a11y-contrast="high"] .field input,
html[data-a11y-contrast="high"] .field select,
html[data-a11y-contrast="high"] .field textarea,
html[data-a11y-contrast="high"] .faq-item,
html[data-a11y-contrast="high"] .review,
html[data-a11y-contrast="high"] .trust-item {
  background: #000 !important;
  color: #ffe600 !important;
  border: 2px solid #ffe600 !important;
}
html[data-a11y-contrast="high"] a { color: #ffe600 !important; }
html[data-a11y-contrast="high"] h1,
html[data-a11y-contrast="high"] h2,
html[data-a11y-contrast="high"] h3 { color: #fff !important; }
html[data-a11y-contrast="high"] img,
html[data-a11y-contrast="high"] .fig img { filter: grayscale(1) contrast(1.2); }

/* ---- inverted and grayscale: applied to the page, undone on the toolbar ---- */

html[data-a11y-contrast="invert"] body { filter: invert(1) hue-rotate(180deg); background: #fff; }
html[data-a11y-contrast="invert"] img,
html[data-a11y-contrast="invert"] video { filter: invert(1) hue-rotate(180deg); }

html[data-a11y-contrast="gray"] body { filter: grayscale(1); }

/* the toolbar must stay readable inside its own modes */
html[data-a11y-contrast="invert"] .a11y { filter: invert(1) hue-rotate(180deg); }
html[data-a11y-contrast="gray"] .a11y { filter: grayscale(0); }

/* ---- readability helpers ---- */

html[data-a11y-links] a {
  text-decoration: underline !important;
  text-underline-offset: .2em;
  outline: 2px solid currentColor;
  outline-offset: 2px;
  font-weight: 700;
}
html[data-a11y-links] .a11y a { outline: 0; }

html[data-a11y-readable] body,
html[data-a11y-readable] .btn,
html[data-a11y-readable] input,
html[data-a11y-readable] select,
html[data-a11y-readable] textarea {
  font-family: Arial, "Segoe UI", Tahoma, sans-serif !important;
  letter-spacing: .01em;
}

html[data-a11y-spacing] body { line-height: 2.1; }
html[data-a11y-spacing] p,
html[data-a11y-spacing] li { margin-bottom: 1.2em; letter-spacing: .06em; word-spacing: .16em; }

html[data-a11y-stopmotion] *,
html[data-a11y-stopmotion] *::before,
html[data-a11y-stopmotion] *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

html[data-a11y-cursor], html[data-a11y-cursor] * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M6 2l30 18-13 3-6 13z' fill='%23fff' stroke='%23000' stroke-width='2.5'/%3E%3C/svg%3E") 4 2, auto;
}

/* ---- the toolbar ---- */

.a11y { position: fixed; inset-inline-end: 1rem; bottom: 1rem; z-index: 80; }
@media (max-width: 899px) {
  .a11y { bottom: 64px; }   /* clears the sticky call bar */
}

.a11y-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  background: var(--brand); color: #fff;
  border: 2px solid #fff; border-radius: 50%;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .35);
  cursor: pointer;
}
.a11y-toggle:hover { background: var(--brand-dark); }

.a11y-panel {
  position: absolute; inset-inline-end: 0; bottom: 62px;
  width: min(19rem, calc(100vw - 2rem));
  max-height: min(75vh, 34rem); overflow-y: auto;
  padding: 1rem;
  background: #fff; color: #10202c;
  border: 2px solid #0a3558; border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .3);
}
.a11y-panel[hidden] { display: none; }
.a11y-title { font-size: 1.05rem; font-weight: 700; line-height: 1.25; margin: 0 0 .75rem; color: #0a3558; }

.a11y-group { margin-bottom: .85rem; }
.a11y-group-label {
  display: block; margin-bottom: .35rem;
  font-size: .82rem; font-weight: 700; color: #40525f;
}
.a11y-row { display: flex; flex-wrap: wrap; gap: .4rem; }

.a11y-btn {
  flex: 1 1 auto; min-height: var(--tap);
  padding: .5rem .7rem;
  background: #f4f7fa; color: #10202c;
  border: 2px solid #9aabb9; border-radius: 8px;
  font: inherit; font-size: .9rem; font-weight: 600;
  cursor: pointer; text-align: center;
}
.a11y-btn:hover { background: #e4ecf3; }

/* Active state: colour AND a check mark, never colour alone. */
.a11y-btn[aria-pressed="true"] {
  background: #0a3558; color: #fff; border-color: #0a3558;
}
.a11y-btn[aria-pressed="true"]::before { content: "\2713 "; font-weight: 800; }

.a11y-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: .5rem; margin-top: .5rem; padding-top: .75rem;
  border-top: 1px solid #d5dee6;
}
.a11y-reset { flex: 0 1 auto; }
.a11y-foot a { color: #0a3558; font-size: .9rem; font-weight: 600; }

@media print { .a11y { display: none !important; } }

/* form-only site: the mobile bar is a single full-width CTA */
@media (max-width: 899px) {
  .mobile-call-bar-single { grid-template-columns: 1fr; }
}

/* ---------- thank-you page ---------- */

.thanks-head { padding-block: 2.5rem 1rem; }

/* Confirmation tick, same mask approach as the checklist so it never mirrors. */
.thanks-mark {
  width: 3.25rem; height: 3.25rem; margin: 0 0 1rem;
  border-radius: 50%;
  background: #0d7a4a;
  position: relative;
}
.thanks-mark::after {
  content: ""; position: absolute; inset: 0;
  background-color: #fff;
  -webkit-mask: var(--icon-check) no-repeat center / 62%;
  mask: var(--icon-check) no-repeat center / 62%;
}

.steps {
  counter-reset: step; list-style: none;
  margin: 0 0 1.25rem; padding: 0; display: grid; gap: .85rem;
}
.steps li {
  position: relative; padding-inline-start: 2.6rem; min-height: 1.9rem;
  display: flex; align-items: center;
}
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; inset-inline-start: 0; top: 0;
  width: 1.9rem; height: 1.9rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand); color: #fff;
  border-radius: 50%; font-weight: 700; font-size: .95rem;
}
