/* ============================================================================
   Shapira & Co. CPA — shared visual system
   Hebrew, RTL. Hand-written CSS. No framework.

   Colour tokens are MEASURED, not assumed. Brand red #BE202D was sampled from
   the supplied logo (Tamir1.png, RGB 190,32,45). Every text pair below was
   checked against WCAG 2.1: body text 15.98:1 (AAA), brand red on white
   6.12:1, all secondary text >= 5.5:1.
   ========================================================================= */

/* ---------------------------------------------------------------- fonts */
/* Self-hosted Assistant (SIL OFL). Variable font, one file per subset.
   Chosen over Heebo: warmer humanist letterforms, narrower so Hebrew headings
   wrap more gracefully, and 28 KB vs 41 KB. */
@font-face {
  font-family: 'Assistant';
  src: url('/fonts/assistant-hebrew.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Assistant';
  src: url('/fonts/assistant-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2190-2193, U+2212, U+2215;
}

/* ---------------------------------------------------------------- tokens */
:root {
  /* colour — all values measured, see header comment */
  --c-brand: #BE202D;
  --c-brand-dark: #961925;
  --c-ink: #1F2225;
  --c-ink-soft: #4A5157;
  --c-muted: #5F666C;
  --c-page: #FFFFFF;
  --c-warm: #FAF8F7;
  --c-tint: #FBF1F1;
  --c-line: #E4E1DF;         /* decorative dividers only (1.30:1) */
  --c-line-strong: #767B80;  /* interactive boundaries (4.27:1) */
  --c-focus: #0B57C9;        /* deliberately NOT red, so focus never reads as error */

  /* type */
  --font: 'Assistant', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.1875rem;
  --fs-lg: 1.375rem;
  --fs-xl: 1.75rem;
  --fs-2xl: 2.125rem;
  /* Cap tuned to 3.05rem so the hero heading settles on two balanced lines from
     1024px upward instead of three ragged ones. The cap only binds at >=925px,
     so mobile sizing is mathematically unchanged. */
  --fs-3xl: clamp(2rem, 1.2rem + 3.2vw, 3.05rem);

  /* Hebrew benefits from a more generous line-height than Latin */
  --lh-tight: 1.22;
  --lh-snug: 1.4;
  --lh-body: 1.72;

  /* space */
  --s-1: 0.25rem;  --s-2: 0.5rem;   --s-3: 0.75rem;  --s-4: 1rem;
  --s-5: 1.5rem;   --s-6: 2rem;     --s-7: 2.75rem;  --s-8: 3.5rem;
  --s-9: 4.5rem;   --s-10: 6rem;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(31, 34, 37, .06), 0 2px 8px rgba(31, 34, 37, .05);
  --shadow-md: 0 2px 6px rgba(31, 34, 37, .07), 0 12px 28px rgba(31, 34, 37, .07);

  --wrap: 1140px;
  --header-h: 68px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--c-ink);
  background: var(--c-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden; /* belt-and-braces against RTL overflow */
}

h1, h2, h3, h4 { margin: 0; line-height: var(--lh-tight); font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
img, svg, picture { max-width: 100%; display: block; }
a { color: var(--c-brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-brand-dark); }

/* Focus: visible everywhere, never removed. Blue so it is never confused with
   the brand red or with an error state. */
:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------------------------------------------------------------- a11y utils */
.visually-hidden {
  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: var(--s-4); top: -100px;
  z-index: 200;
  background: var(--c-page); color: var(--c-brand);
  border: 2px solid var(--c-brand);
  padding: var(--s-3) var(--s-5);
  border-radius: var(--radius);
  font-weight: 700;
  transition: top .15s ease;
}
.skip-link:focus { top: var(--s-3); }

/* ---------------------------------------------------------------- layout */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--s-5);
}

.section { padding-block: var(--s-9); }
.section--warm { background: var(--c-warm); }
.section--tight { padding-block: var(--s-7); }

.section__head { max-width: 62ch; margin-bottom: var(--s-6); }
.section__title { font-size: var(--fs-2xl); letter-spacing: -0.015em; }
.section__intro { margin-top: var(--s-3); color: var(--c-ink-soft); font-size: var(--fs-md); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s-2);
  min-height: 48px;                 /* >= 44px tap target */
  padding: var(--s-3) var(--s-6);
  border-radius: var(--radius);
  font: inherit; font-weight: 700; font-size: var(--fs-base);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--primary { background: var(--c-brand); color: #fff; }
.btn--primary:hover { background: var(--c-brand-dark); color: #fff; }
.btn--secondary {
  background: var(--c-page); color: var(--c-brand); border-color: var(--c-brand);
}
.btn--secondary:hover { background: var(--c-tint); color: var(--c-brand-dark); border-color: var(--c-brand-dark); }
.btn--ghost { background: transparent; color: var(--c-ink); border-color: var(--c-line-strong); }
.btn--ghost:hover { background: var(--c-warm); color: var(--c-ink); }
.btn__icon { flex: none; width: 20px; height: 20px; fill: currentColor; }

/* ---------------------------------------------------------------- header */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--c-line);
}
.header__inner {
  display: flex; align-items: center; gap: var(--s-5);
  min-height: var(--header-h);
  min-width: 0;
}

.brand { display: flex; align-items: center; gap: var(--s-3); text-decoration: none; flex: 0 1 auto; min-width: 0; }
.brand__mark { width: 38px; height: 38px; border-radius: 4px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-size: var(--fs-base); font-weight: 700; color: var(--c-ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brand__tag { font-size: var(--fs-xs); color: var(--c-muted); font-weight: 600; }

/* Desktop only: ~10% more presence for the brand block. The mark grows 38 -> 42px
   and the wordmark 1.0625 -> 1.1875rem, which still sits inside the 68px header,
   so header height is unchanged. Mobile is deliberately untouched. */
@media (min-width: 861px) {
  .brand { gap: var(--s-4); }
  .brand__mark { width: 42px; height: 42px; }
  .brand__name { font-size: var(--fs-md); letter-spacing: -0.005em; }
  .brand__tag { font-size: var(--fs-sm); }
}

.nav { margin-inline-start: auto; }
.nav__list { display: flex; gap: var(--s-2); list-style: none; align-items: center; }
.nav__link {
  display: block; padding: var(--s-2) var(--s-3);
  color: var(--c-ink); text-decoration: none; font-weight: 600;
  border-radius: 8px; font-size: var(--fs-sm);
}
.nav__link:hover { background: var(--c-warm); color: var(--c-brand-dark); }

.header__actions { display: flex; align-items: center; gap: var(--s-2); flex: none; }
.header__phone {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: var(--s-2) var(--s-3);
  color: var(--c-ink); text-decoration: none; font-weight: 700; font-size: var(--fs-sm);
  border-radius: 8px;
}
.header__phone:hover { background: var(--c-warm); color: var(--c-brand-dark); }
.header__phone svg { width: 17px; height: 17px; fill: var(--c-brand); flex: none; }

.nav-toggle { display: none; }

/* ---------------------------------------------------------------- hero */
.hero { padding-block: var(--s-8) var(--s-9); overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--s-8);
  align-items: center;
}
.hero__eyebrow {
  color: var(--c-brand); font-weight: 700; font-size: var(--fs-sm);
  letter-spacing: .01em; margin-bottom: var(--s-3);
}
.hero__title {
  font-size: var(--fs-3xl);
  letter-spacing: -0.02em;
  /* Line balance on large screens without any hard <br>.
     max-width caps the measure so the heading breaks into even lines;
     text-wrap: balance refines it where supported and is simply ignored
     elsewhere, so the fallback is the max-width behaviour alone. */
  max-width: 21ch;
  text-wrap: balance;
}
.hero__body {
  margin-top: var(--s-4);
  font-size: var(--fs-md);
  color: var(--c-ink-soft);
  max-width: 46ch;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero__figure { margin: 0; }
.hero__img {
  width: 100%;
  height: auto;
  max-height: 520px;          /* keeps the hero from becoming overly tall */
  object-fit: cover;
  object-position: 50% 22%;   /* hold the face when the crop tightens */
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ---------------------------------------------------------------- trust strip */
/* Four items of EQUAL visual weight. Previously items 1-3 were number+label
   baseline pairs while item 4 was label-only, which made it read as detached.
   All four now share one column structure: a value row on a common baseline,
   then a label row. Item 4's value slot holds a brand-red icon so it carries the
   same optical weight without inventing a figure. */
.trust { border-block: 1px solid var(--c-line); background: var(--c-warm); }
.trust__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  padding-block: var(--s-5);
  gap: var(--s-4) var(--s-5);
}
.trust__item {
  display: grid;
  grid-template-rows: auto auto;
  align-content: start;
  justify-items: center;
  text-align: center;
  gap: var(--s-1);
  min-width: 0;
}
/* Fixed value-row height keeps numerals and the icon on one shared baseline. */
.trust__value {
  display: flex; align-items: center; justify-content: center;
  min-height: 2.25rem;
  font-size: var(--fs-xl); font-weight: 700; color: var(--c-brand);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.trust__value--icon svg {
  width: 1.7rem; height: 1.7rem;
  fill: none; stroke: var(--c-brand); stroke-width: 1.8;
}
.trust__label {
  color: var(--c-ink-soft); font-size: var(--fs-sm); font-weight: 600;
  line-height: 1.35; text-wrap: balance;
}

/* ---------------------------------------------------------------- process */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); counter-reset: step; }
.step { position: relative; padding-top: var(--s-6); }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; top: 0; inset-inline-start: 0;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--c-brand); color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: var(--fs-sm);
}
.step__title { font-size: var(--fs-md); margin-bottom: var(--s-2); }
.step__body { color: var(--c-ink-soft); font-size: var(--fs-sm); }

/* ---------------------------------------------------------------- intro */
.intro__grid { display: grid; grid-template-columns: 300px 1fr; gap: var(--s-8); align-items: start; }
.intro__figure { margin: 0; }
.intro__img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
/* Slightly more air between paragraphs so the shortened copy reads lighter
   than the previous denser block. Paragraphs are direct children of
   .intro__body - an inline-styled wrapper div used to sit here, which both broke
   this selector and was blocked by the CSP (style-src 'self'). */
.intro__body > h2 { margin-bottom: var(--s-4); }
.intro__body > p { margin-bottom: var(--s-5); color: var(--c-ink-soft); line-height: 1.78; }
.intro__body > p:last-of-type { margin-bottom: var(--s-4); }
.intro__body > p:first-of-type { color: var(--c-ink); font-size: var(--fs-md); }
.intro__link { font-weight: 700; display: inline-flex; align-items: center; gap: var(--s-2); }

/* ---------------------------------------------------------------- cards */
.cards { list-style: none; display: grid; gap: var(--s-4); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: var(--c-page);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: var(--s-5);
  height: 100%;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.card:hover { border-color: var(--c-brand); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card:has(a:focus-visible) { border-color: var(--c-focus); }
.card__icon { width: 30px; height: 30px; fill: none; stroke: var(--c-brand); stroke-width: 1.7; margin-bottom: var(--s-3); }
.card__title { font-size: var(--fs-md); margin-bottom: var(--s-2); }
/* The ::after overlay below makes the whole card the hit area; the explicit
   min-height keeps the anchor itself >= 24px so target-size checks are unambiguous. */
.card__title a {
  color: var(--c-ink); text-decoration: none;
  display: inline-block; min-height: 24px;
}
/* Whole card is the click target, driven by the link inside the heading. */
.card__title a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.card:hover .card__title a { color: var(--c-brand-dark); }
.card__body { color: var(--c-ink-soft); font-size: var(--fs-sm); }
.card--static:hover { transform: none; border-color: var(--c-line); box-shadow: none; }

/* reason cards sit on the warm surface, so they use the page colour */
.reason { background: var(--c-page); }

/* ---------------------------------------------------------------- testimonials */
.quotes { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.quote {
  background: var(--c-tint);
  border-radius: var(--radius-lg);
  padding: var(--s-5);
  display: flex; flex-direction: column; gap: var(--s-4);
  height: 100%;
}
.quote__text { margin: 0; color: var(--c-ink); font-size: var(--fs-sm); line-height: 1.68; }
.quote__attrib { display: flex; align-items: center; gap: var(--s-3); margin-top: auto; }
.quote__initials {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: var(--c-brand); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: var(--fs-sm);
}
.quote__who { line-height: 1.3; }
.quote__name { font-weight: 700; font-size: var(--fs-sm); }
.quote__role { color: var(--c-muted); font-size: var(--fs-xs); }

/* ---------------------------------------------------------------- specialists */
.specialists {
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: var(--s-5) var(--s-6);
  background: var(--c-page);
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5);
}
.specialists__label { font-weight: 700; font-size: var(--fs-sm); color: var(--c-ink); }
.specialists__intro { color: var(--c-muted); font-size: var(--fs-sm); }
.specialists__list { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
.specialists__list a {
  font-weight: 600; font-size: var(--fs-sm);
  display: inline-block; padding-block: var(--s-1); min-height: 24px;
}

/* ---------------------------------------------------------------- FAQ */
.faq { display: grid; gap: var(--s-2); max-width: 74ch; }
.faq__item { border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-page); overflow: hidden; }
.faq__q { margin: 0; }
.faq__btn {
  width: 100%; text-align: start;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  background: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 700; font-size: var(--fs-base); color: var(--c-ink);
  padding: var(--s-4) var(--s-5);
  min-height: 56px;
}
.faq__btn:hover { background: var(--c-warm); color: var(--c-brand-dark); }
.faq__chevron { flex: none; width: 18px; height: 18px; stroke: var(--c-brand); stroke-width: 2.2; fill: none; transition: transform .2s ease; }
.faq__btn[aria-expanded="true"] .faq__chevron { transform: rotate(180deg); }
.faq__panel { padding: 0 var(--s-5) var(--s-5); color: var(--c-ink-soft); }
/* No-JS fallback: panels are visible by default; JS collapses them on load. */
.faq__panel[hidden] { display: none; }

/* ---------------------------------------------------------------- closing */
.closing { background: var(--c-tint); border-radius: var(--radius-lg); padding: var(--s-8) var(--s-6); text-align: center; }
.closing__title { font-size: var(--fs-2xl); }
.closing__body { margin: var(--s-3) auto 0; color: var(--c-ink-soft); max-width: 52ch; font-size: var(--fs-md); }
.closing__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: center; margin-top: var(--s-6); }

/* ---------------------------------------------------------------- footer */
.footer { background: var(--c-warm); border-top: 1px solid var(--c-line); padding-block: var(--s-8) var(--s-6); margin-top: var(--s-9); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s-7); }
.footer__title { font-size: var(--fs-base); margin-bottom: var(--s-3); }
.footer__list { list-style: none; display: grid; gap: var(--s-2); }
/* >= 24px high so these clear WCAG 2.2 target-size without relying on the inline exception */
.footer__list a, .footer__contact a {
  color: var(--c-ink-soft); text-decoration: none; font-size: var(--fs-sm);
  display: inline-block; padding-block: var(--s-1); min-height: 24px;
}
.footer__list a:hover, .footer__contact a:hover { color: var(--c-brand-dark); text-decoration: underline; }
.footer__contact { display: grid; gap: var(--s-2); font-size: var(--fs-sm); color: var(--c-ink-soft); }
.footer__address { font-style: normal; color: var(--c-ink-soft); font-size: var(--fs-sm); line-height: 1.6; }
.footer__trust { color: var(--c-muted); font-size: var(--fs-sm); margin-top: var(--s-4); }
.footer__bottom {
  margin-top: var(--s-7); padding-top: var(--s-5);
  border-top: 1px solid var(--c-line);
  display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5);
  align-items: center; justify-content: space-between;
  font-size: var(--fs-xs); color: var(--c-muted);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--s-4); list-style: none; }
.footer__legal a {
  color: var(--c-muted); font-size: var(--fs-xs);
  display: inline-block; padding-block: var(--s-1); min-height: 24px;
}
.footer__disclaimer { max-width: 70ch; margin-top: var(--s-3); color: var(--c-muted); font-size: var(--fs-xs); line-height: 1.6; }

/* A real <button>, so it reads as an action rather than a destination. Sized to
   match the legal links beside it but kept at a comfortable target height. */
.footer__pref {
  background: none; border: 0; padding: var(--s-1) 0; margin: 0;
  color: var(--c-muted); font: inherit; font-size: var(--fs-xs);
  text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer; min-height: 24px;
}
.footer__pref:hover { color: var(--c-ink); }
.footer__pref:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; }

/* ---------------------------------------------------------------- key/value facts */
/* Used for the professional details on /contact and the accessibility coordinator on
   /accessibility. A real <dl>, so the relationship between label and value survives
   in a screen reader; a grid at wide widths and stacked rows when narrow. */
.details {
  margin: var(--s-5) 0 0;
  border-top: 1px solid var(--c-line);
}
.details__row {
  display: grid; grid-template-columns: 14rem 1fr; gap: var(--s-2) var(--s-4);
  padding-block: var(--s-3);
  border-bottom: 1px solid var(--c-line);
}
.details__key { color: var(--c-muted); font-size: var(--fs-sm); margin: 0; }
.details__val { margin: 0; font-size: var(--fs-base); }
.details__val a { display: inline-block; padding-block: 3px; text-underline-offset: 3px; }
.details__address { font-style: normal; }

@media (max-width: 560px) {
  .details__row { grid-template-columns: 1fr; gap: var(--s-1); }
}

/* The CPA licence line. Shown on exactly two pages, in the approved wording. */
.licence {
  margin: var(--s-5) 0 0;
  padding: var(--s-4) var(--s-5);
  background: var(--c-warm);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}
.licence__value { font-weight: 600; }

/* ============================================================================
   ANALYTICS CONSENT

   A bottom banner rather than a modal: it does not trap focus, does not cover
   the page, and does not block reading. Both answers are the same size, the
   same height and equally legible; neither is preselected and neither is
   dimmed. Declining is exactly as easy as accepting.
   ========================================================================= */
.consent {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 95;
  background: #fff;
  border-top: 1px solid var(--c-line-strong);
  box-shadow: var(--shadow-md);
  padding: var(--s-4) 0;
  padding-bottom: calc(var(--s-4) + env(safe-area-inset-bottom, 0px));
}
.consent[hidden] { display: none; }

.consent__inner {
  max-width: var(--wrap); margin-inline: auto;
  padding-inline: var(--s-5);
  display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-6);
  align-items: center; justify-content: space-between;
}
.consent__text { flex: 1 1 32ch; min-width: 0; }
/* Looks like a heading, is not one - see _Analytics.cshtml. */
.consent__title { font-size: var(--fs-md); font-weight: 700; line-height: 1.3; margin: 0 0 var(--s-1); }
.consent__body { margin: 0; font-size: var(--fs-sm); color: var(--c-muted); line-height: 1.6; max-width: 68ch; }
/* An inline link still has to be a real target: at its natural line height this
   measured 19px. Inline-block plus vertical padding brings it to 25px. */
.consent__body a {
  color: var(--c-brand); text-underline-offset: 3px;
  display: inline-block; padding-block: 3px;
}

.consent__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); flex: none; }
/* Equal widths: the choice must not be weighted by size. */
.consent__btn { min-width: 8.5rem; min-height: 44px; justify-content: center; }

@media (max-width: 720px) {
  /* The sticky contact bar owns the bottom of the screen, so the banner sits
     on top of it and the page keeps room for both. */
  .consent { bottom: calc(72px + env(safe-area-inset-bottom, 0px)); padding-bottom: var(--s-4); }
  .consent__inner { padding-inline: var(--s-4); }
  .consent__actions { width: 100%; }
  .consent__btn { flex: 1 1 0; min-width: 0; }
}

/* ---------------------------------------------------------------- mobile bar */
.mobilebar { display: none; }

/* bidi: keep phone numbers and Latin fragments rendering correctly inside Hebrew */
.ltr-num { unicode-bidi: isolate; direction: ltr; }

/* ============================================================================
   RESPONSIVE
   ========================================================================= */


/* ---------------------------------------------------------------- breadcrumb */
/* Sits directly under the fixed header on interior pages. The current page is
   plain text, so the trail never offers a link to where the visitor already is. */
.crumbs { background: var(--c-warm); border-bottom: 1px solid var(--c-line); }
.crumbs__list {
  list-style: none; display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--s-2);
  padding-block: var(--s-3);
  font-size: var(--fs-sm);
}
.crumbs__item { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--c-muted); }
.crumbs__item a { color: var(--c-ink-soft); text-decoration: none; }
.crumbs__item a:hover { color: var(--c-brand-dark); text-decoration: underline; }
.crumbs__item [aria-current="page"] { color: var(--c-ink); font-weight: 700; }
/* RTL: the chevron points the way the eye travels, which is right-to-left here. */
.crumbs__sep { width: 16px; height: 16px; fill: none; stroke: var(--c-line-strong); stroke-width: 2; flex: none; }

/* ---------------------------------------------------------------- page head */
/* The interior-page equivalent of the hero. No photograph: these pages are read
   for their content, and a decorative image would push it below the fold. */
.phead { background: var(--c-page); padding-block: var(--s-8) var(--s-7); }
.phead__eyebrow {
  color: var(--c-brand); font-weight: 700; font-size: var(--fs-sm);
  letter-spacing: .01em; margin-bottom: var(--s-3);
}
.phead__title {
  font-size: var(--fs-3xl); line-height: var(--lh-tight);
  max-width: 22ch; text-wrap: balance;
}
.phead__lead {
  margin-top: var(--s-5); max-width: 62ch;
  color: var(--c-ink-soft); font-size: var(--fs-md); line-height: var(--lh-body);
}
.phead__lead:first-of-type { color: var(--c-ink); }
.phead__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.phead__note, .closing__note { margin-top: var(--s-3); color: var(--c-muted); font-size: var(--fs-sm); }
.closing__note { text-align: center; }

/* ---------------------------------------------------------------- service page blocks */
.cards--2 { grid-template-columns: repeat(2, 1fr); }
/* The self-selection line on a hub card: quieter than the body, and set off from it. */
.card__for {
  margin-top: var(--s-3); padding-top: var(--s-3);
  border-top: 1px solid var(--c-line);
  color: var(--c-muted); font-size: var(--fs-xs);
}

/* "What the service includes" — a tick list, two columns on desktop. */
.checklist { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5) var(--s-6); }
.checklist__item { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); align-items: start; }
.checklist__tick {
  width: 22px; height: 22px; margin-top: 2px; flex: none;
  fill: none; stroke: var(--c-brand); stroke-width: 2.2;
}
.checklist__title { font-size: var(--fs-base); margin-bottom: var(--s-1); }
.checklist__body { color: var(--c-ink-soft); font-size: var(--fs-sm); line-height: var(--lh-body); }

/* Page-specific process. Same numbered pattern as the homepage, but these
   sequences run to five steps, so they wrap instead of forcing four columns. */
.steps--numbered { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

/* Scope caveats: visible, not fine print, but clearly secondary. */
.section__note {
  margin-top: var(--s-6);
  padding: var(--s-4) var(--s-5);
  border-inline-start: 3px solid var(--c-line-strong);
  background: var(--c-page);
  border-radius: var(--radius);
  color: var(--c-ink-soft); font-size: var(--fs-sm); line-height: var(--lh-body);
  max-width: 78ch;
}

/* ---------------------------------------------------------------- reassurance */
.reassure {
  background: var(--c-tint);
  border-radius: var(--radius-lg);
  padding: var(--s-7) var(--s-8);
  max-width: 70ch; margin-inline: auto;
}
.reassure__title { font-size: var(--fs-xl); margin-bottom: var(--s-4); }
.reassure__body { color: var(--c-ink-soft); line-height: var(--lh-body); }
.reassure__body + .reassure__body { margin-top: var(--s-4); }

/* ---------------------------------------------------------------- related services */
.related { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-3); }
.related__link {
  display: inline-flex; align-items: center; gap: var(--s-2);
  min-height: 44px;
  padding: var(--s-2) var(--s-4);
  border: 1px solid var(--c-line-strong);
  border-radius: 999px;
  color: var(--c-ink); text-decoration: none; font-size: var(--fs-sm); font-weight: 700;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.related__link:hover { border-color: var(--c-brand); background: var(--c-tint); color: var(--c-brand-dark); }
.related__icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; flex: none; }
.related__link--all { border-style: dashed; color: var(--c-ink-soft); }


/* ---------------------------------------------------------------- anchor targets */
/* The header is position:sticky, so a plain anchor jump would park the section
   heading underneath it. scroll-margin-top pushes the resting position down by the
   header height plus a little air, which is what makes native anchor navigation
   usable here — no JavaScript scrolling. --header-h already drops to 60px at 860px,
   so this follows the header automatically. */
.svc,
[id]:target {
  scroll-margin-top: calc(var(--header-h) + var(--s-5));
}

/* ---------------------------------------------------------------- card destination hint */
/* Tells the reader whether a card leaves the page or moves down it. Decorative and
   aria-hidden: the accessible name of the link stays the service title. */
.card__dest {
  margin-top: var(--s-3);
  color: var(--c-brand);
  font-size: var(--fs-xs);
  font-weight: 700;
}

/* ---------------------------------------------------------------- feature pair */
/* The two services that kept a dedicated page. A short pointer each — deliberately
   not a copy of the page it links to. */
.feature { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
.feature__item {
  position: relative;
  background: var(--c-page);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.feature__item:hover { border-color: var(--c-brand); box-shadow: var(--shadow-md); }
.feature__item:has(a:focus-visible) { border-color: var(--c-focus); }
.feature__icon { width: 34px; height: 34px; fill: none; stroke: var(--c-brand); stroke-width: 1.6; margin-bottom: var(--s-3); }
.feature__title { font-size: var(--fs-lg); margin-bottom: var(--s-3); }
.feature__body { color: var(--c-ink-soft); margin-bottom: var(--s-4); line-height: var(--lh-body); }
.feature__link {
  display: inline-flex; align-items: center; gap: var(--s-2);
  min-height: 24px;
  color: var(--c-brand-dark); font-weight: 700; text-decoration: none;
}
.feature__link::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.feature__link:hover { text-decoration: underline; }
.feature__link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------------------------------------------------------------- consolidated service section */
/* A full service answered in place. Two columns on desktop: a sticky-free heading
   rail on the right (RTL start), the substance on the left. */
.svc__grid { display: grid; grid-template-columns: 280px 1fr; gap: var(--s-6) var(--s-8); align-items: start; }
.svc__head { display: grid; gap: var(--s-3); }
.svc__icon { width: 40px; height: 40px; fill: none; stroke: var(--c-brand); stroke-width: 1.5; }
.svc__body { max-width: 68ch; }
.svc__intro { color: var(--c-ink); font-size: var(--fs-md); line-height: var(--lh-body); }
.svc__sub {
  margin-top: var(--s-5); margin-bottom: var(--s-2);
  font-size: var(--fs-base); color: var(--c-ink);
}
.svc__audience { color: var(--c-ink-soft); line-height: var(--lh-body); }
/* The honest limitation on each service. Visible, not fine print, but secondary. */
.svc__note {
  margin-top: var(--s-5);
  padding: var(--s-4) var(--s-5);
  border-inline-start: 3px solid var(--c-line-strong);
  background: var(--c-page);
  border-radius: var(--radius);
  color: var(--c-ink-soft); font-size: var(--fs-sm); line-height: var(--lh-body);
}
.section--warm .svc__note { background: var(--c-warm); }
/* One compact contextual link per service — not a repeated CTA panel. */
.svc__cta {
  display: inline-flex; align-items: center; gap: var(--s-2);
  margin-top: var(--s-5);
  min-height: 44px;
  padding: var(--s-2) var(--s-5);
  border: 2px solid var(--c-brand);
  border-radius: var(--radius);
  color: var(--c-brand-dark); font-weight: 700; font-size: var(--fs-sm); text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.svc__cta:hover { background: var(--c-brand); color: #fff; }
.svc__cta svg { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* single-column tick list, used inside a service section */
.checklist--single { grid-template-columns: 1fr; gap: var(--s-3); }
.checklist--single .checklist__item { align-items: start; }


/* ---------------------------------------------------------------- back to top */
/* Services hub only. `hidden` is what hides it, so a hidden control is also out
   of the tab order — no separately-managed tabindex to fall out of step. */
.backtotop {
  position: fixed;
  /* Lower LEFT: in this RTL page that is the side away from the reading edge,
     so the control never sits over the start of a line. */
  left: var(--s-5);
  bottom: var(--s-5);
  z-index: 80;                      /* under the header (100) and the sticky bar (90) */

  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;                      /* comfortably over the 44px minimum */
  height: 48px;
  border-radius: 14px;

  background: var(--c-page);
  border: 2px solid var(--c-brand);
  color: var(--c-brand);
  box-shadow: var(--shadow-md);
  text-decoration: none;

  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
  animation: backtotop-in .18s ease-out both;
}
.backtotop[hidden] { display: none; }
.backtotop svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.backtotop:hover { background: var(--c-brand); color: #fff; }
.backtotop:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; }

/* A short entrance only — nothing that bounces or pulses. */
@keyframes backtotop-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* The sentinel is a measurement point, not a visual element. */
.backtotop__sentinel { height: 1px; }

/* The top target sits just inside <main>, i.e. one header height down the
   document. A plain jump would therefore land at ~68px, not at the top. The
   scroll-margin pulls the resting position back up past the header; the browser
   clamps at 0, so activation lands on the true top of the page.

   No focus ring: it is an empty div that exists only to receive the jump. */
#services-top { scroll-margin-top: calc(var(--header-h) + var(--s-4)); }
#services-top:focus { outline: none; }


/* ---------------------------------------------------------------- active nav */
/* aria-current carries the meaning; this is decoration on top of it, so the state
   is never conveyed by appearance alone. */
.nav__link--current { color: var(--c-brand-dark); font-weight: 700; }
.nav__link--current::after {
  content: '';
  display: block;
  height: 2px;
  margin-top: 4px;
  background: var(--c-brand);
  border-radius: 2px;
}

/* ---------------------------------------------------------------- prose pages */
/* Long-form text: privacy, accessibility, About sections and guide bodies.
   The measure is capped for comfortable Hebrew reading. */
.prose { max-width: 68ch; }
.prose--wide { max-width: 74ch; }
.prose__title { font-size: var(--fs-xl); margin-top: var(--s-7); margin-bottom: var(--s-4); }
.prose__title:first-child { margin-top: 0; }
.prose__body { color: var(--c-ink-soft); line-height: var(--lh-body); margin-bottom: var(--s-4); }
.prose__list { margin: 0 0 var(--s-4); padding-inline-start: var(--s-5); color: var(--c-ink-soft); }
.prose__list li { margin-bottom: var(--s-2); line-height: var(--lh-body); }
.prose__note {
  margin: var(--s-4) 0 var(--s-5);
  padding: var(--s-4) var(--s-5);
  border-inline-start: 3px solid var(--c-line-strong);
  background: var(--c-warm);
  border-radius: var(--radius);
  color: var(--c-ink-soft); font-size: var(--fs-sm); line-height: var(--lh-body);
}
.section--warm .prose__note { background: var(--c-page); }
.prose__updated { margin-top: var(--s-7); color: var(--c-muted); font-size: var(--fs-sm); }
/* An inline link inside a sentence is exempt from the minimum target size, but the
   padding costs nothing here (the line-height already leaves room) and keeps every
   target on the site at 24px or more. */
.prose__body a, .prose__note a, .prose__list a {
  display: inline-block;
  padding-block: 3px;
  font-weight: 700;
}

/* ---------------------------------------------------------------- status box */
/* The draft / pending-review banner, and the standing guide disclaimer. Tinted
   rather than alarming: it is a statement of fact, not an error. */
.statusbox {
  background: var(--c-tint);
  border: 1px solid var(--c-line);
  border-inline-start: 4px solid var(--c-brand);
  border-radius: var(--radius-lg);
  padding: var(--s-5) var(--s-6);
  max-width: 74ch;
}
.statusbox__title { font-size: var(--fs-md); margin-bottom: var(--s-2); }
.statusbox__body { color: var(--c-ink-soft); line-height: var(--lh-body); }
.statusbox__body + .statusbox__body { margin-top: var(--s-3); }

/* ---------------------------------------------------------------- about hero */
.about__hero { display: grid; grid-template-columns: 1fr 380px; gap: var(--s-8); align-items: center; }
.about__figure { margin: 0; }
.about__img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }

/* ---------------------------------------------------------------- contact ways */
.ways { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
.way {
  background: var(--c-page);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-3);
}
.way--primary { border-color: var(--c-brand); background: var(--c-tint); }
.way__icon { width: 32px; height: 32px; fill: none; stroke: var(--c-brand); stroke-width: 1.7; }
.way--primary .way__icon { fill: var(--c-brand); stroke: none; }
.way__title { font-size: var(--fs-md); }
.way__body { color: var(--c-ink-soft); font-size: var(--fs-sm); line-height: var(--lh-body); margin: 0; font-style: normal; }
.way .btn { margin-top: auto; }
.way__link { font-weight: 700; color: var(--c-brand-dark); min-height: 24px; display: inline-flex; align-items: center; }

/* ---------------------------------------------------------------- guides */
.card__meta, .guide__meta { color: var(--c-muted); font-size: var(--fs-xs); }
.card__meta { margin-top: var(--s-2); }
.guide__meta { margin-top: var(--s-4); }

/* The short answer, up front: the one block a hurried reader will actually read. */
.summary {
  background: var(--c-warm);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: var(--s-6) var(--s-7);
  max-width: 74ch;
}
.summary__title { font-size: var(--fs-md); color: var(--c-brand-dark); margin-bottom: var(--s-3); }
.summary__body { color: var(--c-ink); font-size: var(--fs-md); line-height: var(--lh-body); }


/* ------------------------------------------------- specialist services (quiet) */
/* Secondary by design. These must read as "also available" next to the six primary
   small-business services, never as a competing headline. */
.section__title--sm { font-size: var(--fs-lg); }
.cards--quiet .card { background: var(--c-warm); border-color: var(--c-line); }
.cards--quiet .card__icon { width: 26px; height: 26px; stroke: var(--c-ink-soft); }
.cards--quiet .card__title { font-size: var(--fs-base); }
.cards--quiet .card:hover { border-color: var(--c-line-strong); box-shadow: var(--shadow-sm); transform: none; }
.cards--quiet .card:hover .card__title a { color: var(--c-ink); }

/* ---------------------------------------------------------------- video facade */
/* The poster is drawn here, in the site's own palette. It is NOT a YouTube
   thumbnail: fetching one would contact i.ytimg.com on page load and defeat the
   click-to-load behaviour the privacy policy describes. */
.video { margin: 0; }
.video__frame {
  position: relative;
  aspect-ratio: 16 / 9;          /* responsive, no fixed height, no overflow */
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-ink) 0%, var(--c-brand-dark) 100%);
}
.video__poster {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--s-3);
  width: 100%; height: 100%;
  background: none; border: 0; cursor: pointer;
  color: #fff;
  font: inherit; font-weight: 700;
  padding: var(--s-5);
  text-align: center;
}
.video__poster:focus-visible { outline: 3px solid #fff; outline-offset: -5px; }
.video__play {
  display: grid; place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--c-brand);
  border: 3px solid #fff;
  transition: transform .15s ease, background-color .15s ease;
}
.video__play svg { width: 30px; height: 30px; fill: #fff; margin-inline-start: 3px; }
.video__poster:hover .video__play { background: #fff; transform: scale(1.06); }
.video__poster:hover .video__play svg { fill: var(--c-brand); }
.video__cta { font-size: var(--fs-sm); max-width: 32ch; line-height: var(--lh-snug); }

/* the player, once the visitor has asked for it */
.video__iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.video__caption { margin-top: var(--s-4); }
.video__title { font-size: var(--fs-md); font-weight: 700; color: var(--c-ink); }
.video__summary { margin-top: var(--s-2); color: var(--c-ink-soft); line-height: var(--lh-body); }
.video__archive {
  margin-top: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border-inline-start: 3px solid var(--c-line-strong);
  background: var(--c-warm);
  border-radius: var(--radius);
  color: var(--c-ink-soft); font-size: var(--fs-sm); line-height: var(--lh-body);
}
.section--warm .video__archive { background: var(--c-page); }
.video__links { margin-top: var(--s-3); }
.video__links a {
  display: inline-block; padding-block: 3px;
  font-weight: 700; color: var(--c-brand-dark);
}

/* ---------------------------------------------------------------- video list */
.videolist { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-7) var(--s-6); }
.videolist__more { margin-top: var(--s-8); }
.videolist__more-title { font-size: var(--fs-md); margin-bottom: var(--s-4); }
.feature--single { grid-template-columns: 1fr; }

/* ---------------------------------------------------------------- lessons */
.lessons { list-style: none; display: grid; gap: var(--s-9); counter-reset: lesson; }
.lesson { scroll-margin-top: calc(var(--header-h) + var(--s-5)); }
.lesson__head { display: flex; align-items: center; gap: var(--s-4); margin-bottom: var(--s-3); }
.lesson__number {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--c-brand); color: #fff;
  font-weight: 700; font-size: var(--fs-md);
}
.lesson__title { font-size: var(--fs-xl); }
.lesson__summary { color: var(--c-ink-soft); line-height: var(--lh-body); margin-bottom: var(--s-5); max-width: 74ch; }

@media (max-width: 1024px) {
  /* service pages */
  .phead { padding-block: var(--s-7) var(--s-6); }
  .reassure { padding: var(--s-6) var(--s-6); }

  .trust__list { gap: var(--s-4); }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { gap: var(--s-6); }
  .intro__grid { grid-template-columns: 230px 1fr; gap: var(--s-6); }
}

@media (max-width: 860px) {
  :root { --header-h: 60px; }

  /* nav collapses into an accessible disclosure panel */
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px;
    background: none; border: 1px solid var(--c-line-strong);
    border-radius: 9px; cursor: pointer; color: var(--c-ink);
    margin-inline-start: auto;
  }
  .nav-toggle svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; fill: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
  .nav-toggle:not([aria-expanded="true"]) .nav-toggle__close { display: none; }

  .nav {
    position: absolute; inset-inline: 0; top: 100%;
    background: var(--c-page);
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow-md);
    margin-inline-start: 0;
    padding: var(--s-3) var(--s-5) var(--s-5);
  }
  .nav[hidden] { display: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: var(--s-4) var(--s-2); border-bottom: 1px solid var(--c-line); font-size: var(--fs-base); border-radius: 0; }
  .nav__list li:last-child .nav__link { border-bottom: 0; }

  /* the sticky bottom bar already carries WhatsApp - avoid duplicating it here */
  .header__actions .btn { display: none; }
  .header__actions .header__phone span { display: none; }  /* icon only; label stays in aria-label */
  .header__actions .header__phone {
    width: 46px; height: 46px; justify-content: center;
    border: 1px solid var(--c-line-strong); border-radius: 9px;
  }
  .header__actions .header__phone svg { width: 20px; height: 20px; }
  .header__inner { gap: var(--s-3); }
  .nav-toggle { margin-inline-start: auto; }

  .hero { padding-block: var(--s-6) var(--s-7); }
  .hero__grid { grid-template-columns: 1fr; gap: var(--s-6); }
  /* TEXT BEFORE IMAGE on mobile — explicit requirement */
  .hero__copy { order: 1; }
  .hero__figure { order: 2; max-width: 420px; margin-inline: auto; }
  .hero__title { max-width: none; }

  /* 2x2 keeps all four items equal-weight on tablet and mobile */
  .trust__list { grid-template-columns: repeat(2, 1fr); gap: var(--s-5) var(--s-4); }
  .cards--3, .quotes { grid-template-columns: 1fr; }
  /* service pages collapse to one column, same as the homepage grids */
  .cards--2, .checklist, .ways, .videolist { grid-template-columns: 1fr; }
  /* About hero stacks: text first, photograph after, as on the homepage */
  .about__hero { grid-template-columns: 1fr; gap: var(--s-6); }
  .about__figure { max-width: 320px; margin-inline: auto; order: 2; }
  .prose, .prose--wide { max-width: none; }
  /* consolidated service sections stack: heading rail above the substance */
  .svc__grid { grid-template-columns: 1fr; gap: var(--s-4); }
  .svc__head { grid-template-columns: auto 1fr; align-items: center; }
  .svc__icon { width: 32px; height: 32px; }
  .feature { grid-template-columns: 1fr; }
  .steps--numbered { grid-template-columns: 1fr; }
  .phead__title { max-width: none; }
  .intro__grid { grid-template-columns: 1fr; }
  .intro__figure { max-width: 200px; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--s-6); }

  /* sticky contact bar */
  .mobilebar {
    display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2);
    position: fixed; inset-inline: 0; bottom: 0; z-index: 90;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--c-line);
    padding: var(--s-2) var(--s-3);
    padding-bottom: calc(var(--s-2) + env(safe-area-inset-bottom, 0px));
  }
  .mobilebar .btn { min-height: 46px; font-size: var(--fs-sm); padding-inline: var(--s-3); }
  /* keep the sticky bar from covering the end of the page */
  body { padding-bottom: 72px; }

  /* The sticky contact bar owns the bottom of the screen on mobile, so the
     control sits above it: bar height + its safe-area padding + a gap. */
  .backtotop {
    bottom: calc(72px + var(--s-3) + env(safe-area-inset-bottom, 0px));
    left: var(--s-4);
    width: 44px; height: 44px;
  }
  .backtotop svg { width: 20px; height: 20px; }
}

@media (max-width: 560px) {
  :root { --fs-2xl: 1.6rem; }
  .wrap { padding-inline: var(--s-4); }
  .section { padding-block: var(--s-7); }
  .steps { grid-template-columns: 1fr; gap: var(--s-4); }
  .cards--4 { grid-template-columns: 1fr; }
  .trust__value { min-height: 2rem; font-size: var(--fs-lg); }
  .hero__ctas .btn, .closing__ctas .btn, .phead__ctas .btn { width: 100%; }
  .phead { padding-block: var(--s-6) var(--s-5); }
  .reassure { padding: var(--s-6) var(--s-4); }
  .section__note, .svc__note, .prose__note { padding: var(--s-4); }
  .statusbox { padding: var(--s-5) var(--s-4); }
  .summary { padding: var(--s-5) var(--s-4); }
  .way { padding: var(--s-5); }
  .video__play { width: 54px; height: 54px; }
  .video__play svg { width: 24px; height: 24px; }
  .lesson__title { font-size: var(--fs-lg); }
  .lesson__number { width: 40px; height: 40px; }
  .lessons { gap: var(--s-8); }
  .way .btn { width: 100%; }
  .svc__cta { width: 100%; justify-content: center; }
  .feature__item { padding: var(--s-5); }
  /* wrap the trail rather than let it scroll the page sideways */
  .crumbs__list { gap: var(--s-1) var(--s-2); }
  .brand__tag { display: none; }
  .closing { padding: var(--s-7) var(--s-4); }
  .specialists { flex-direction: column; align-items: flex-start; gap: var(--s-3); }
}

/* very narrow — 320px must not overflow */
@media (max-width: 360px) {
  :root { --fs-base: 1rem; --fs-md: 1.0625rem; }
  .wrap { padding-inline: var(--s-3); }
  .brand__name { font-size: var(--fs-sm); }
  .brand__mark { width: 32px; height: 32px; }
}

/* ---------------------------------------------------------------- motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* no entrance movement, and the jump to the top is instant */
  .backtotop { animation: none; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .card:hover { transform: none; }
  .video__poster:hover .video__play { transform: none; }
}

/* ---------------------------------------------------------------- print */
@media print {
  .header, .mobilebar, .skip-link, .hero__ctas, .closing__ctas { display: none !important; }
  body { color: #000; }
}
