/* ===================== TOKENS ===================== */
:root {
  --cream: #f4f0e7;
  --cream-2: #efe8db;
  --ink: #221f1a;
  --ink-soft: #4a4740;
  --muted: #6d685e;
  --line: #ddd3c0;
  --gold: #a9834a;
  --gold-soft: #c2a271;
  --max: 1200px;
  /* The Hebrew (Frank Ruhl Libre, Assistant) and Arabic (Noto Naskh Arabic,
     IBM Plex Sans Arabic) faces only supply glyphs the Latin faces lack. */
  --serif: "Cormorant Garamond", "Frank Ruhl Libre", "Noto Naskh Arabic", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Assistant", "IBM Plex Sans Arabic", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 40px; }
a { color: inherit; text-decoration: none; }

/* ===================== BRAND ===================== */
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo { height: 52px; width: 52px; border-radius: 50%; object-fit: cover; }
.brand-word {
  font-family: var(--serif); font-size: 1.4rem; font-weight: 600;
  letter-spacing: 0.16em; display: flex; align-items: baseline; gap: 0.5em;
  color: var(--ink);
}
.brand-sub { font-size: 0.6em; letter-spacing: 0.3em; color: var(--gold); font-weight: 500; }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  /* Transparent over the hero; .is-solid is added by script.js once the
     page is scrolled, or while the mobile menu is open. */
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .32s ease, border-color .32s ease, box-shadow .32s ease;
}
.site-header.is-solid {
  background: rgba(244, 240, 231, 0.92);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 14px rgba(34, 31, 26, 0.07);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.nav { display: flex; gap: 30px; }
.nav a {
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft); transition: color .2s; position: relative;
  white-space: nowrap; /* "עברית / Hebrew" must never break across two lines */
}
.nav a:hover { color: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span { width: 26px; height: 1.5px; background: var(--ink); display: block; }

/* ===================== HERO ===================== */
.hero { position: relative; overflow: hidden; }
.hero-inner { padding: 104px 40px 116px; position: relative; z-index: 1; }

/* ---- Decorative olive-branch motif (from the logo) ---- */
.hero::before, .hero::after,
.section-cta::before, #services::after {
  content: ""; position: absolute; pointer-events: none; z-index: 0;
  background: url("assets/olive-branch.svg") no-repeat center / contain;
}
/* Hero: large branch upper-right, small mirrored branch lower-left */
.hero::before { width: 560px; height: 240px; right: -30px; top: 96px; transform: rotate(-6deg); opacity: 0.10; }
.hero::after  { width: 380px; height: 163px; left: -70px; bottom: 40px; transform: rotate(168deg); opacity: 0.06; }
/* Services: faint branch in the lower-right corner */
#services::after { width: 460px; height: 197px; right: -90px; bottom: -20px; transform: rotate(8deg); opacity: 0.05; }
/* Dark CTA band: gold branch reads nicely at slightly higher opacity */
.section-cta { position: relative; overflow: hidden; }
.section-cta::before { width: 420px; height: 180px; left: -60px; bottom: -20px; transform: rotate(174deg); opacity: 0.12; }
#services { position: relative; overflow: hidden; }
#services .container, .section-cta .container { position: relative; z-index: 1; }

.hero-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.8rem, 7vw, 5.4rem); line-height: 1.02;
  letter-spacing: -0.01em; max-width: 12ch;
}
.hero-title em { font-style: italic; font-weight: 500; color: var(--gold); }
.rule { display: block; width: 56px; height: 2px; background: var(--gold); margin: 40px 0 32px; }
.hero-lede { font-size: 1.08rem; color: var(--ink-soft); max-width: 46ch; }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin: 40px 0 44px; max-width: 660px; }
.pills li {
  font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.08rem;
  background: var(--cream-2); border: 1px solid var(--line);
  padding: 8px 18px; border-radius: 2px; color: var(--ink-soft);
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.76rem; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 19px 32px; border-radius: 2px; transition: all .22s; cursor: pointer;
  font-weight: 400; border: 1px solid transparent; font-family: var(--sans);
}
.btn-dark { background: var(--gold); color: var(--ink); }
.btn-dark:hover { background: var(--ink); color: var(--cream); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }

/* ===================== STRIP =====================
   A quiet credentials band. Same vocabulary as the rest of the page:
   cream ground, hairline rules, gold diamond, uppercase micro-label. */
.strip {
  background: var(--cream-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.strip-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-soft);
}
.strip-inner span {
  display: flex; align-items: center; gap: 11px;
  padding: 26px 26px; line-height: 1.5;
  border-left: 1px solid var(--line);
}
.strip-inner span:first-child { border-left: 0; padding-left: 0; }
.strip-inner span:last-child { padding-right: 0; }
.strip-inner span::before {
  content: "◆"; color: var(--gold); font-size: 0.66em; flex: none;
}

/* ===================== SECTIONS ===================== */
.section { padding: 110px 0; }
.section-alt { background: var(--cream-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { font-size: 0.74rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.section-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.1rem, 4.5vw, 3.4rem); line-height: 1.05; letter-spacing: -0.01em; margin-bottom: 22px;
}
.section-lede { font-size: 1.05rem; color: var(--ink-soft); max-width: 60ch; }

/* ===================== SERVICES ===================== */
.grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); margin-top: 56px;
}
.card { background: var(--cream); padding: 44px 36px; transition: background .2s; }
.card:hover { background: var(--cream-2); }
.card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.55rem; margin-bottom: 14px; transition: color .2s; }
.card:hover h3 { color: var(--gold); }
.card p { color: var(--muted); font-size: 0.98rem; }

.service-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 64px; }
.service-cats h4 {
  font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.service-cats p { color: var(--ink-soft); font-size: 0.98rem; }

/* ===================== ABOUT ===================== */
.about-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: start; }
.about-copy p { color: var(--ink-soft); margin-bottom: 20px; max-width: 56ch; }
.about-copy strong { font-weight: 500; color: var(--ink); }
.about-facts { display: flex; flex-direction: column; gap: 22px; }
/* Capped at the source image's native width so it never upscales soft. */
.about-photo { max-width: 280px; margin: 0 0 10px; }
.about-photo img { display: block; width: 100%; height: auto; padding: 10px; background: #fff; border: 1px solid var(--gold-soft); }
/* Homepage: photo sits beside the copy, flush with the container's right edge,
   and the facts run as a full-width row beneath both so the columns balance. */
.about-inner > .about-photo { justify-self: end; margin: 0; }
.about-facts-row { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 32px; }
.fact { border-top: 1px solid var(--line); padding-top: 18px; }
.fact-num { display: block; font-family: var(--serif); font-size: 1.85rem; font-weight: 500; color: var(--gold); }
.fact-label { color: var(--muted); font-size: 0.92rem; }

/* ===================== CTA ===================== */
.section-cta { background: var(--ink); color: var(--cream); text-align: center; }
.section-cta .section-title { color: var(--cream); }
.section-cta .section-lede { color: rgba(244,240,231,0.72); margin: 0 auto 40px; }
.cta-inner { max-width: 660px; margin: 0 auto; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.section-cta .btn-dark { background: var(--gold); color: #fff; }
.section-cta .btn-dark:hover { background: var(--gold-soft); }
.section-cta .btn-ghost { color: var(--cream); border-color: rgba(244,240,231,0.4); }
.section-cta .btn-ghost:hover { background: var(--cream); color: var(--ink); }

/* ===================== CONTACT ===================== */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-list { list-style: none; margin-top: 32px; }
.contact-list li { display: grid; grid-template-columns: 150px 1fr; padding: 18px 0; border-top: 1px solid var(--line); align-items: baseline; }
.contact-list li span:first-child { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.contact-list address { font-style: normal; }
.contact-list a:hover { color: var(--gold); }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.contact-form input, .contact-form textarea {
  font-family: var(--sans); font-size: 1rem; padding: 14px 16px;
  border: 1px solid var(--line); background: var(--cream); color: var(--ink); border-radius: 2px;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(169, 131, 74, 0.12);
}
.contact-form .btn { align-self: flex-start; }
.contact-form .optional { text-transform: none; letter-spacing: normal; color: var(--muted); font-size: 0.92em; }
.form-note { font-size: 0.8rem; color: var(--muted); letter-spacing: normal; text-transform: none; }
.form-note a { color: var(--gold); }

.form-status { font-size: 0.9rem; letter-spacing: normal; text-transform: none; margin-top: -4px; display: none; }
.form-status.is-success, .form-status.is-error, .form-status.is-info {
  display: block; padding: 12px 16px; border-radius: 2px; border: 1px solid var(--line);
}
.form-status.is-success { color: #2f5d3a; background: #eef4ec; border-color: #cfe1cf; }
.form-status.is-error { color: #7a2e2e; background: #f6ecea; border-color: #e6cfcb; }
.form-status.is-info { color: var(--ink-soft); background: var(--cream-2); }

/* ===================== FOOTER ===================== */
.site-footer { border-top: 1px solid var(--line); padding: 60px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.brand-footer .brand-logo { height: 44px; width: 44px; }
.brand-footer .brand-word { font-size: 1.2rem; }
.footer-nav { display: flex; gap: 36px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.footer-nav a:hover { color: var(--gold); }
.footer-legal { font-size: 0.82rem; color: var(--muted); line-height: 1.7; }
.copyright { font-size: 0.82rem; color: var(--muted); }

/* ===================== LEGAL PAGES ===================== */
.legal-hero { padding: 72px 0 40px; border-bottom: 1px solid var(--line); }
.legal-body { padding: 64px 0 100px; }
.legal-body .container { max-width: 820px; }
.legal-body h2 { font-family: var(--serif); font-weight: 600; font-size: 1.75rem; margin: 44px 0 14px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--ink-soft); margin-bottom: 14px; font-size: 1rem; }
.legal-body ul { padding-left: 22px; margin-bottom: 20px; }
.legal-body .meta { color: var(--muted); font-size: 0.9rem; }
.back-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }

/* ===================== POLISH =====================
   Small refinements only — safe to delete this whole block to revert. */

/* Warm selection instead of the browser's default blue */
::selection { background: var(--gold-soft); color: var(--ink); }

/* Visible keyboard focus, in the brand gold */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* Anchor links (#services, #book) were landing under the sticky header */
section[id] { scroll-margin-top: 96px; }

/* Nav: a gold hairline that draws itself in from the left */
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .28s ease;
}
.nav a:hover::after { transform: scaleX(1); }

/* Buttons: the arrow eases forward on hover */
.btn span { transition: transform .22s ease; }
.btn:hover span { transform: translateX(5px); }

/* Pills: border warms to gold on hover */
.pills li { transition: border-color .22s, color .22s; }
.pills li:hover { border-color: var(--gold-soft); color: var(--ink); }

/* Keep headings from leaving one orphaned word on the last line */
.hero-title, .section-title, .card h3, .legal-body h2 { text-wrap: balance; }

/* Body links on the legal pages read as links */
.legal-body a {
  color: var(--gold); text-decoration: underline;
  text-underline-offset: 3px; text-decoration-thickness: 1px;
}

/* ===================== COOKIE BANNER ===================== */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  max-width: 760px; margin: 0 auto; padding: 20px 24px;
  display: flex; align-items: center; gap: 24px;
  background: var(--cream); color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 2px;
  box-shadow: 0 10px 30px rgba(34,31,26,0.14);
  font-size: 0.92rem; line-height: 1.55;
}
.cookie-banner a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions .btn { padding: 12px 20px; }
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px; }
  .cookie-actions .btn { flex: 1; justify-content: center; }
}

/* "Cookie settings" is a button that looks like its neighbouring links */
.cookie-settings-link {
  background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
  transition: color .2s;
}
.cookie-settings-link:hover { color: var(--gold); }
.cookie-settings-inline {
  font-size: inherit; letter-spacing: normal; text-transform: none; color: var(--gold);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}

/* Footer and contact links pick up the same easing as the nav */
.footer-nav a, .contact-list a { transition: color .2s; }

/* Respect a reader's reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ===================== REVEAL ON SCROLL =====================
   The hidden state is scoped to .js-reveal, which script.js only adds when
   it actually runs. With JavaScript unavailable — or with reduced motion
   requested — nothing is ever hidden and the page renders normally. */
.js-reveal .reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* ===================== BACK TO TOP ===================== */
.to-top {
  position: fixed; right: 28px; bottom: 28px; z-index: 60;
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--cream); color: var(--gold);
  border: 1px solid var(--line); border-radius: 2px;
  box-shadow: 0 2px 14px rgba(34, 31, 26, 0.08);
  font-size: 1rem; line-height: 1; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s,
              background-color .22s ease, color .22s ease, border-color .22s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover {
  background: var(--gold); color: var(--cream);
  border-color: var(--gold); transform: translateY(-2px);
}

/* ===================== ARABIC & HEBREW PAGES =====================
   arabic-speaking-notary-london.html, hebrew-speaking-notary-london.html
   and the homepage #hebrew and #arabic sections (kept separate on purpose). Arabic and Hebrew runs carry lang
   and dir="rtl"; bullets and rules use logical properties so they sit on
   the correct side in either direction. */
.nav a.is-current { color: var(--gold); }
.nav a.is-current::after { transform: scaleX(1); }
.nav [lang] { font-size: 1.15em; } /* Arabic and Hebrew read small at the nav's Latin size */

.page-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 1.04;
  letter-spacing: -0.01em; max-width: 15ch; text-wrap: balance;
}
.native-line, .about-copy .native-line {
  font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.35;
  color: var(--gold); margin-bottom: 22px;
}
.hero-lede + .native-line { margin: 14px 0 0; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.about-copy .lead {
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  line-height: 1.4; color: var(--ink);
}
.about-aside p { color: var(--ink-soft); margin-bottom: 16px; }

/* ---- Document categories: sticky index beside the blocks ---- */
.docs-layout { display: grid; grid-template-columns: 220px 1fr; gap: 72px; align-items: start; margin-top: 56px; }
.doc-index {
  position: sticky; top: 112px; max-height: calc(100vh - 136px); overflow-y: auto;
  border-top: 1px solid var(--line); padding-top: 18px;
}
.doc-index p { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.doc-index ol { list-style: none; }
.doc-index a {
  display: block; padding: 6px 0 6px 16px; border-left: 1px solid var(--line);
  font-size: 0.9rem; line-height: 1.4; color: var(--muted); transition: color .2s, border-color .2s;
}
.doc-index a:hover { color: var(--ink); }
.doc-index a:focus-visible { outline-offset: -2px; } /* the scroll box would clip an outset ring */
.doc-index a[aria-current="true"] { color: var(--ink); border-left-color: var(--gold); }

.doc-block { padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); scroll-margin-top: 112px; }
.doc-block:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.doc-block h3 {
  font-family: var(--serif); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.15; text-wrap: balance; margin-bottom: 16px;
}
.doc-block > p { color: var(--ink-soft); max-width: 64ch; margin-bottom: 16px; }
.doc-block > .doc-sub { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--gold); margin-top: -8px; }
.doc-block > .doc-note, .doc-note {
  max-width: 64ch; color: var(--muted); font-size: 0.95rem;
  padding-inline-start: 18px; border-inline-start: 2px solid var(--gold-soft);
}

.doc-list { list-style: none; columns: 2; column-gap: 48px; margin: 4px 0 24px; }
.doc-list:last-child { margin-bottom: 0; }
.doc-list li {
  position: relative; break-inside: avoid; padding-inline-start: 20px; margin-bottom: 10px;
  color: var(--ink-soft); font-size: 0.97rem; line-height: 1.5;
}
.doc-list li::before {
  content: ""; position: absolute; inset-inline-start: 1px; top: 0.6em;
  width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg);
}
.doc-list-single { columns: 1; }

/* ---- Bilingual rows: English at the start, Arabic pushed to the far end ---- */
.bi-list { list-style: none; border-top: 1px solid var(--line); margin: 4px 0 24px; }
.bi-list:last-child { margin-bottom: 0; }
.bi-list li {
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 24px; row-gap: 2px;
  break-inside: avoid; padding: 11px 0; border-bottom: 1px solid var(--line);
  color: var(--ink-soft); font-size: 0.97rem; line-height: 1.5;
}
/* Physical margin-left: an rtl span's inline-start is its right side. */
.bi-list [lang="ar"], .bi-list [lang="he"] { margin-left: auto; font-family: var(--serif); font-size: 1.1rem; color: var(--ink); transition: color .2s; }
.bi-cols { columns: 2; column-gap: 48px; }

/* ---- Apostille route: four joined steps with arrows on the seams ---- */
.steps {
  list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 8px 0 24px;
}
.steps li {
  position: relative; counter-increment: step; background: var(--cream); padding: 22px 20px;
  font-family: var(--serif); font-size: 1.2rem; font-weight: 500; line-height: 1.2;
}
.steps li::before {
  content: counter(step, decimal-leading-zero); display: block; margin-bottom: 10px;
  font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.2em; color: var(--gold);
}
.steps li:not(:last-child)::after {
  content: "→"; content: "→" / "";
  position: absolute; z-index: 1; right: -12px; top: 50%; margin-top: -11px;
  width: 22px; height: 22px; display: grid; place-items: center;
  background: var(--cream-2); border: 1px solid var(--line); border-radius: 50%;
  font-family: var(--sans); font-size: 0.72rem; color: var(--gold);
}

.steps-3 { grid-template-columns: repeat(3, 1fr); }
.steps-3 li { font-size: 1.1rem; }
.steps [lang="ar"] { display: block; text-align: left; margin-bottom: 6px; font-family: var(--sans); font-size: 1rem; color: var(--gold); }

/* ---- Why choose ---- */
.tagline { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--gold); margin-bottom: 20px; }
.grid-label { margin-top: 56px; font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.grid-label + .grid { margin-top: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ---- Hebrew section ---- */
.hebrew-block p, .hebrew-block li { font-weight: 400; }
.hebrew-copy { max-width: 72ch; }
.hebrew-copy p { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 16px; }
.he-list { columns: 3; margin-top: 8px; }
.he-callout {
  max-width: 72ch; margin-top: 48px; padding: 32px 36px;
  background: var(--cream-2); border: 1px solid var(--line); border-inline-start: 2px solid var(--gold);
}
.he-callout h3 { font-family: var(--serif); font-weight: 600; font-size: 1.7rem; margin-bottom: 12px; }
.he-callout p { color: var(--ink-soft); margin-bottom: 12px; }
.he-callout p:last-child { margin-bottom: 0; }

/* ---- Booking band ---- */
.cta-wide { max-width: 920px; }
.send-list {
  list-style: none; counter-reset: send; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin: 0 0 40px; text-align: left;
}
.send-list li {
  counter-increment: send; padding: 24px 22px; border: 1px solid rgba(244,240,231,0.16);
  color: rgba(244,240,231,0.86); font-size: 0.98rem; line-height: 1.5;
}
.send-list li::before {
  content: counter(send); display: block; margin-bottom: 12px;
  font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--gold-soft);
}
.cta-sign {
  margin-top: 56px; padding-top: 32px; border-top: 1px solid rgba(244,240,231,0.14);
  color: rgba(244,240,231,0.6); font-size: 0.9rem; line-height: 1.8;
}
.cta-langs { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-soft); }
.cta-langs [lang] { font-size: 1.3em; }
.cta-name { font-family: var(--serif); font-size: 1.5rem; color: var(--cream); margin-top: 18px; }
.cta-name:first-child { margin-top: 0; }
.section-cta .native-line { color: var(--gold-soft); }
.send-list [lang="ar"] { display: block; text-align: left; margin-bottom: 6px; font-size: 1.1rem; color: var(--cream); }

/* ---- Quote form inside the dark booking band ---- */
.quote-form { text-align: left; margin: 0 auto; }
.quote-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.quote-form label { color: rgba(244,240,231,0.72); min-width: 0; }
.quote-form .optional { color: rgba(244,240,231,0.5); }
.quote-form input, .quote-form textarea { border-color: transparent; }
.quote-form .form-note { color: rgba(244,240,231,0.6); font-size: 0.88rem; }
.quote-form .form-note a { color: var(--gold-soft); }

/* ---- Homepage: one section per language, each linking into its own page ---- */
.about-copy .actions { margin-top: 32px; }
.eyebrow [lang] { font-size: 1.25em; }
.bi-list a {
  flex: 1; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 24px; row-gap: 2px;
  transition: color .2s;
}
.bi-list a:hover, .bi-list a:hover [lang] { color: var(--gold); }

.page-disclaimer { padding: 40px 0; }
.page-disclaimer p { max-width: 80ch; font-size: 0.85rem; color: var(--muted); }

/* ===================== TRANSLATIONS PAGE =====================
   translation-services-london.html. Built from the language pages' parts;
   only the pieces below are its own. */
.prose { max-width: 64ch; margin-top: 28px; }
.prose p { color: var(--ink-soft); margin-bottom: 16px; }
.prose strong, .section-lede strong, .about-aside strong, .card strong { font-weight: 500; color: var(--ink); }
.prose + .doc-list, .prose + .actions { margin-top: 0; }
.native-close { margin: 12px 0 0; font-size: clamp(1.15rem, 2vw, 1.4rem); }

/* Language pairs: four joined tiles in the same hairline grid as .steps */
.pairs {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 18px 0 0;
}
.pairs li {
  background: var(--cream); padding: 24px 22px;
  font-family: var(--serif); font-size: 1.35rem; font-weight: 500; line-height: 1.2;
}
.pairs span { color: var(--gold); font-family: var(--sans); font-size: 0.8em; margin: 0 4px; }

.doc-blocks-top { margin-top: 56px; }
.lang-list { columns: 4; margin-top: 8px; }
.card-full { grid-column: 1 / -1; }

/* Apostille route with a line of explanation under each stage */
.steps-described { margin: 32px 0 36px; }
.steps-described li p {
  margin-top: 10px; font-family: var(--sans); font-size: 0.95rem; font-weight: 300;
  line-height: 1.55; color: var(--ink-soft);
}
.steps-described strong { font-weight: 500; }

/* How it works: numbered rows, number · title · description */
.process { list-style: none; counter-reset: proc; margin-top: 48px; border-bottom: 1px solid var(--line); }
.process li {
  counter-increment: proc; display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 8px 32px; align-items: baseline; padding: 26px 0; border-top: 1px solid var(--line);
}
.process li::before {
  content: counter(proc, decimal-leading-zero);
  font-family: var(--serif); font-size: 1.9rem; line-height: 1; color: var(--gold);
}
.process h3 { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; line-height: 1.2; }
.process p { color: var(--ink-soft); }

@media (max-width: 1080px) {
  .lang-list { columns: 3; }
  .pairs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .lang-list { columns: 2; }
  .process li { grid-template-columns: 52px minmax(0, 1fr); }
  .process p { grid-column: 2; }
}
@media (max-width: 420px) {
  .pairs { grid-template-columns: 1fr; }
}

@media (max-width: 1080px) {
  .about-facts-row { grid-template-columns: repeat(2, 1fr); }
  .doc-list { columns: 1; }
  .he-list { columns: 2; }
}
@media (max-width: 600px) {
  .about-facts-row { grid-template-columns: 1fr; }
}

/* Letter-spacing and synthetic italics suit Latin only; Hebrew and Arabic are set plain. */
:lang(he), :lang(ar) { letter-spacing: normal; font-style: normal; }
/* Arabic marks sit above and below the letters and clip at tight Latin display leading. */
:lang(ar) { line-height: 1.5; }
.eyebrow:lang(he), .eyebrow:lang(ar) { font-size: 0.95rem; }

/* ===================== RESPONSIVE ===================== */
/* Seven nav items (two of them bilingual) need more room than the rest of
   the layout, so the menu tightens and then collapses earlier than 900px. */
@media (max-width: 1240px) {
  .nav { gap: 22px; }
}
@media (max-width: 1160px) {
  /* ---- Full-screen overlay menu ---- */
  .nav {
    position: fixed; inset: 0; z-index: 55;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 4px;
    background: var(--cream);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .28s ease, transform .28s ease, visibility .28s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a {
    font-family: var(--serif); font-size: 1.75rem; font-weight: 500;
    letter-spacing: 0.1em; color: var(--ink); text-transform: none;
    display: flex; align-items: center; justify-content: center;
    width: 100%; max-width: 320px; min-height: 64px; padding: 8px 24px;
  }
  .nav a:active { color: var(--gold); }
  .nav a::after { display: none; } /* the desktop hover underline doesn't belong here */

  /* Brand and toggle sit above the overlay so the menu can be closed */
  .brand, .nav-toggle { position: relative; z-index: 60; }
  .nav-toggle { display: flex; padding: 6px; }

  /* Hamburger morphs into a close cross */
  .nav-toggle span { transition: transform .3s ease, opacity .2s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .grid { grid-template-columns: 1fr; }
  .service-cats { grid-template-columns: 1fr; gap: 32px; }
  .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-inner > .about-photo { order: -1; justify-self: start; } /* portrait leads on a phone */
  .hero::before { width: 320px; height: 137px; right: -70px; top: 60px; }
  .hero::after { width: 240px; height: 103px; }
  .section-cta::before { width: 300px; height: 128px; }
  .section { padding: 72px 0; }
  .hero-inner { padding: 60px 24px 76px; }
  .brand-word { font-size: 1.15rem; }
  .brand-logo { height: 44px; width: 44px; }
  .strip-inner { grid-template-columns: 1fr; letter-spacing: 0.14em; }
  .strip-inner span {
    border-left: 0; border-top: 1px solid var(--line);
    padding: 15px 0;
  }
  .strip-inner span:first-child { border-top: 0; }
  .to-top { right: 18px; bottom: 18px; width: 42px; height: 42px; }

  /* Israel page: the index becomes a wrap of jump chips above the blocks */
  .docs-layout { grid-template-columns: 1fr; gap: 36px; margin-top: 36px; }
  .doc-index { position: static; max-height: none; overflow: visible; }
  .doc-index ol { display: flex; flex-wrap: wrap; gap: 8px; }
  .doc-index a, .doc-index a[aria-current="true"] {
    padding: 6px 12px; border: 1px solid var(--line); background: var(--cream);
    font-size: 0.85rem; color: var(--ink-soft);
  }
  .doc-block { padding-bottom: 40px; margin-bottom: 40px; }
  .he-list { columns: 1; }
  .steps { grid-template-columns: 1fr; }
  .steps li:not(:last-child)::after { right: auto; top: auto; left: 20px; bottom: -12px; margin-top: 0; transform: rotate(90deg); }
  .send-list { grid-template-columns: 1fr; }
  .quote-form .form-row { grid-template-columns: 1fr; }
  .he-callout { padding: 24px 22px; }
  .bi-cols { columns: 1; }
}
