/* Accounter — palette and type taken from Alliott Global Alliance
   Sources: alliottglobal.com bundle.css and logo SVG, 2026-11-10.
   Alliance body/heading faces are GT America Standard Regular/Bold (commercial).
   This site uses IBM Plex Sans Hebrew — a free neo-grotesque with Hebrew glyphs —
   as the closest web-available match. Self-hosted from /fonts (fonts.css, SIL OFL 1.1) since draft 1119 -
   no request to Google or any other third party. */

:root {
  --navy: #122e59;
  --navy-logo: #1a355f;
  --navy-deep: #0b2e59;
  --navy-mid: #3e5376;
  --navy-ink: #0c1439;
  --coral: #f24d54;
  --coral-rgb: 242, 77, 84;
  --coral-text: #c4232a; /* 5.80:1 on white — body/link text */
  --coral-text-rgb: 196, 35, 42;
  --coral-on-dark: #ffd4d6; /* 10.0:1 on #122e59 */
  --navy-rgb: 18, 46, 89;
  --hover: #8a8d8f;
  --sage: #bbc6c3;
  --sage-dark: #ccd3d1;
  --bg: #ffffff;
  --bg-alt: #eff2f1;
  --bg-soft: #edf0ef;
  --bg-blue: #e8eef6;
  --bg-blue-hover: #d0daed;
  --bg-cool: #c4cbd5;
  --gold: #d5b240;
  --footer-mute: #dde1e7;
  --quote: #747272;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(18, 46, 89, .12);
  --radius: 18px;
  --font: "IBM Plex Sans Hebrew", "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--navy);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral-text); text-decoration: none; transition: color .25s ease, background .25s ease, transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; margin: 0 0 1rem; letter-spacing: -.02em; color: var(--navy-logo); }
h1 { font-size: clamp(2rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.15rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
.lede { font-size: 1.15rem; color: var(--navy-mid); max-width: 40rem; }

.wrap { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.section { padding: 5rem 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy .lede, .section-navy p { color: var(--footer-mute); }
.section-blue { background: var(--navy-mid); color: var(--white); }
.section-blue h2, .section-blue h3 { color: var(--white); }
.kicker {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--coral-text);
  margin-bottom: .7rem;
}
.section-navy .kicker, .section-blue .kicker, .hero .kicker { color: var(--coral-on-dark); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease, background .3s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(18,46,89,.08);
  border-bottom-color: var(--sage-dark);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: .85rem; color: var(--navy-logo); flex: 0 0 auto; }
.brand img { height: 48px; width: auto; max-width: min(280px, 46vw); object-fit: contain; object-position: right center; }
[lang="en"] .brand img, [dir="ltr"] .brand img { object-position: left center; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: .92rem; }
.brand-text span { font-size: .72rem; color: var(--navy-mid); font-weight: 500; }

.nav-toggle {
  display: none;
  background: none; border: 0; width: 44px; height: 44px;
  border-radius: 10px; cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; height: 2px; width: 20px; background: var(--navy-logo);
  position: absolute; left: 12px; transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

.nav { display: flex; align-items: center; gap: .15rem 1.15rem; }
.nav a {
  color: var(--navy-logo); font-weight: 600; font-size: .92rem;
  position: relative; padding: .35rem 0;
}
.nav a::after {
  content: ""; position: absolute; right: 0; bottom: 0; height: 2px; width: 0;
  background: var(--coral); transition: width .25s ease;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--coral-text); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; left: 0; right: auto; }
.nav-cta {
  margin-inline-start: .4rem;
  background: var(--coral-text); color: var(--white) !important;
  padding: .55rem 1rem !important; border-radius: 999px; font-size: .85rem !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--navy); color: var(--white) !important; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  background: var(--coral-text); color: var(--white); border: 2px solid var(--coral-text);
  font-family: inherit; font-weight: 700; font-size: .95rem;
  padding: .8rem 1.35rem; border-radius: 999px; cursor: pointer;
  transition: background .25s, border-color .25s, transform .2s, box-shadow .25s, color .25s;
}
.btn:hover { background: var(--navy); border-color: var(--navy); color: var(--white); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--coral-text); border-color: var(--coral-text); }
.btn-outline:hover { background: var(--coral-text); color: var(--white); border-color: var(--coral-text); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-navy { background: var(--navy); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-mid); border-color: var(--navy-mid); }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 500px at 80% -10%, rgba(242,77,84,.35), transparent 55%),
              radial-gradient(900px 600px at -10% 120%, rgba(62,83,118,.7), transparent 50%),
              linear-gradient(160deg, var(--navy-ink) 0%, var(--navy) 48%, var(--navy-logo) 100%);
  color: var(--white); padding: 4.5rem 0 5.5rem;
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(40px); pointer-events: none;
  animation: drift 18s ease-in-out infinite alternate;
}
.hero-orb.a { width: 320px; height: 320px; background: rgba(242,77,84,.22); top: -80px; left: 10%; }
.hero-orb.b { width: 260px; height: 260px; background: rgba(213,178,64,.16); bottom: -60px; right: 8%; animation-duration: 22s; }
@keyframes drift { to { transform: translate3d(40px, 30px, 0) scale(1.08); } }
.hero .wrap { position: relative; z-index: 1; display: grid; gap: 2.5rem; }
.hero h1 { color: var(--white); max-width: 18ch; }
.hero .lede { color: var(--footer-mute); font-size: 1.2rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.chip {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  color: var(--white); padding: .45rem .85rem; border-radius: 999px;
  font-size: .82rem; font-weight: 500; backdrop-filter: blur(8px);
}
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.6rem; max-width: 36rem; }
.stat { border-top: 2px solid var(--coral); padding-top: .8rem; }
.stat b { display: block; font-family: var(--font-mono); font-size: 1.7rem; font-weight: 600; color: var(--white); letter-spacing: -.03em; }
.stat span { display: block; font-size: .82rem; color: var(--sage); margin-top: .15rem; }

/* Cards */
.grid { display: grid; gap: 1.1rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* 5 service cards: two rows, last row centered, no hole */
@media (min-width: 1080px) {
  .grid-3.grid-5 {
    grid-template-columns: repeat(6, 1fr);
  }
  .grid-3.grid-5 > * { grid-column: span 2; }
  .grid-3.grid-5 > :nth-child(4) { grid-column: 2 / 4; }
  .grid-3.grid-5 > :nth-child(5) { grid-column: 4 / 6; }
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--sage-dark);
  border-radius: var(--radius); padding: 1.4rem 1.35rem;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin-bottom: .55rem; }
.card p, .card li { color: var(--navy-mid); }
.card .more { font-weight: 700; font-size: .9rem; display: inline-flex; gap: .3rem; margin-top: .4rem; }
.icon-dot {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; margin-bottom: .9rem; font-size: .95rem;
}
.icon-dot.coral { background: var(--coral); }
.icon-dot.mid { background: var(--navy-mid); }
.icon-dot.gold { background: var(--gold); color: var(--navy-ink); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); animation: none; }
.reveal.in { animation: rise .7s ease forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.d1 { animation-delay: .08s !important; }
.d2 { animation-delay: .16s !important; }
.d3 { animation-delay: .24s !important; }

/* Updates */
.update-list { display: grid; gap: 1rem; }
.update {
  background: var(--white); border-radius: var(--radius);
  padding: 1.25rem 1.3rem; border: 1px solid var(--sage-dark);
  display: grid; gap: .35rem;
  transition: transform .3s, box-shadow .3s;
}
.update:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.section-navy .update { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: var(--white); }
.section-navy .update h3 { color: var(--white); }
.section-navy .update p { color: var(--footer-mute); }
.update-meta { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .8rem; color: var(--quote); }
.badge {
  display: inline-block; background: var(--bg-blue); color: var(--navy-deep);
  border-radius: 999px; padding: .15rem .6rem; font-weight: 700; font-size: .72rem;
}
.badge.placeholder { background: #fff3cd; color: #856404; border: 1px solid #ffe8a1; }
.badge.tag { background: var(--bg-soft); }

/* Contact / forms */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: .85rem 0; border-bottom: 1px solid var(--sage-dark); }
.contact-list a { color: var(--navy); font-weight: 600; }
.contact-list a:hover { color: var(--coral-text); }
.contact-list span { display: block; font-size: .8rem; color: var(--quote); font-weight: 500; }
form { display: grid; gap: .85rem; }
label { font-weight: 600; font-size: .9rem; }
input, textarea, select {
  width: 100%; font: inherit; color: var(--navy);
  border: 1px solid var(--sage-dark); border-radius: 12px;
  padding: .75rem .9rem; background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(var(--coral-rgb), .2);
}
textarea { min-height: 140px; resize: vertical; }
/* Netlify honeypot: kept in the DOM for bots, hidden from people and assistive tech */
.hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.field { display: grid; gap: .35rem; }
.field label { display: block; color: var(--navy); }
.req { color: var(--coral-text); font-weight: 700; }
.form-note { margin: 0; font-size: .85rem; color: var(--navy-mid); }

/* FAQ */
.faq details {
  background: var(--white); border: 1px solid var(--sage-dark);
  border-radius: 14px; padding: 0; margin-bottom: .7rem; overflow: hidden;
}
.faq summary {
  cursor: pointer; font-weight: 700; padding: 1rem 1.15rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--coral-text); font-size: 1.3rem; font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 1.15rem 1.1rem; color: var(--navy-mid); margin: 0; }
.notice {
  background: #fff3cd; border: 1px solid #ffe8a1; color: #856404;
  border-radius: 14px; padding: 1rem 1.15rem; margin-bottom: 1.4rem; font-size: .95rem;
}

/* Footer */
.site-footer { background: var(--navy); color: var(--white); padding: 3.2rem 0 1.4rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; margin-bottom: 2.2rem; }
.site-footer a { color: var(--footer-mute); }
.site-footer a:hover { color: var(--coral-on-dark); }
.site-footer h3 { color: var(--white); font-size: 1rem; margin-bottom: .8rem; }
.site-footer p, .site-footer li { color: var(--footer-mute); font-size: .92rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 .35rem; }
.legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1rem; font-size: .78rem; color: var(--sage); }

/* Page hero (inner) */
.page-hero {
  background: linear-gradient(160deg, var(--navy-ink), var(--navy));
  color: var(--white); padding: 3rem 0 2.6rem;
}
.page-hero h1 { color: var(--white); }
.page-hero .lede { color: var(--footer-mute); }

/* Service blocks */
.service + .service { margin-top: 2.4rem; padding-top: 2.4rem; border-top: 1px solid var(--sage-dark); }

@media (max-width: 1079px) {
  .grid-3, .grid-2, .contact-grid, .footer-grid, .stat-row { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr 1fr; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; right: 0; left: 0;
    background: var(--white); border-bottom: 1px solid var(--sage-dark);
    flex-direction: column; align-items: stretch; padding: .6rem 1rem 1rem;
    box-shadow: var(--shadow);
  }
  .nav-open .nav { display: flex; }
  .nav a { padding: .7rem 0; }
  .nav-cta { margin: .4rem 0 0; text-align: center; }
  .hero { padding: 3.2rem 0 3.6rem; }
  .section { padding: 3.4rem 0; }
}
@media (max-width: 600px) {
  .stat-row { grid-template-columns: 1fr; }
  .brand-text { display: none; }
  .hero h1 { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ===== Mobile / a11y hardening ===== */
html, body { overflow-x: hidden; max-width: 100%; }
body { font-size: 17px; }
.wrap { width: min(1120px, calc(100% - 2.5rem)); }
h1, h2, h3, p, li, a, summary { overflow-wrap: anywhere; }
.nav a, .btn, .contact-list a, .site-footer a, .faq summary, .lang-switch, .a11y-btn { min-height: 44px; }
.nav a, .site-footer a, .contact-list a { display: inline-flex; align-items: center; }
.site-footer li { margin: 0; }
input, textarea, select, button { font-size: 16px; min-height: 48px; }
textarea { min-height: 140px; }
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; padding: 0 .7rem; border: 1px solid var(--sage-dark);
  border-radius: 999px; color: var(--navy-logo); font-weight: 700; font-size: .85rem;
}
.lang-switch:hover { border-color: var(--coral-text); color: var(--coral-text); }
.header-tools { display: flex; align-items: center; gap: .4rem; }
.header-end { display: flex; align-items: center; gap: .8rem; margin-inline-start: auto; min-width: 0; }
.site-footer { padding-bottom: 5.5rem; }
:focus-visible { outline: 3px solid var(--coral-text); outline-offset: 2px; }
.skip-link { position: absolute; inset-inline-start: -999px; top: 0; background: var(--navy); color: #fff; padding: .7rem 1rem; z-index: 300; }
.skip-link:focus { inset-inline-start: 0; }

/* Accessibility toolbar — under the sticky header, inline-end side,
   so the control does not cover hero chips/stats at 360px. */
.a11y {
  position: fixed;
  top: calc(var(--header-h) + 10px);
  bottom: auto;
  inset-inline-end: 12px;
  inset-inline-start: auto;
  z-index: 250;
}
.a11y-toggle {
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--navy); color: #fff; font-size: 1.5rem; box-shadow: var(--shadow);
}
.a11y-panel {
  display: none; position: absolute; top: 62px; bottom: auto;
  inset-inline-end: 0; inset-inline-start: auto;
  width: min(280px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--sage-dark);
  border-radius: 16px; padding: .8rem; box-shadow: var(--shadow); gap: .45rem;
}
.a11y.open .a11y-panel { display: grid; }
.a11y-btn {
  width: 100%; border: 1px solid var(--sage-dark); background: var(--bg-alt); color: var(--navy);
  border-radius: 10px; font: inherit; font-weight: 600; cursor: pointer; padding: .5rem .8rem; text-align: start;
}
.a11y-btn[aria-pressed="true"] { background: var(--navy); color: #fff; }
html.a11y-big { font-size: 118%; }
html.a11y-big body { font-size: 19px; }
html.a11y-contrast body { background: #fff; color: #000; }
html.a11y-contrast .hero, html.a11y-contrast .page-hero, html.a11y-contrast .section-blue, html.a11y-contrast .site-footer { background: #000 !important; }
html.a11y-contrast a { color: #0000c8; }
html.a11y-contrast .hero a.btn, html.a11y-contrast .site-footer a { color: #ffff00; }
html.a11y-links a { text-decoration: underline !important; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; }
html.a11y-still .reveal { opacity: 1; transform: none; }

/* Never leave content invisible if JS/observer fails */
.no-js .reveal, html.no-js .reveal, .reveal.in { opacity: 1; transform: none; }

@media (max-width: 1079px) {
  .nav { gap: .1rem .8rem; }
  .nav a { font-size: .88rem; }
}
@media (max-width: 1079px) {
  .nav { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav a { width: 100%; padding: .6rem .2rem; font-size: 1rem; }
  .nav-cta { justify-content: center; }
  .nav-toggle { width: 48px; height: 48px; }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { left: 14px; }
  .nav-toggle span { top: 23px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 2rem); }
  h1 { font-size: 1.9rem; }
  .hero .lede, .lede { font-size: 1.05rem; }
  .actions .btn { flex: 1 1 100%; }
  .brand img { height: 40px; }
  .stat b { font-size: 1.5rem; }
  .section { padding: 2.8rem 0; }
  .card, .update { padding: 1.15rem 1rem; }
  .hero-orb { display: none; }
}

/* In-text links must be distinguishable without colour alone (WCAG link-in-text-block) */
p a, li a, .prose a, .lede a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nav a, .btn, .lang-switch { text-decoration: none; }

/* Reserve the inline-end edge so the fixed ♿ button never covers hero text/chips. */
@media (max-width: 1079px) {
  .wrap {
    width: min(1120px, calc(100% - 5.5rem));
    margin-inline-start: 1.25rem;
    margin-inline-end: 4.25rem;
  }
}

/* =====================================================================
   v2 — "bring it to life" layer (2026-11-10)
   Same Alliott palette + type. All motion is decorative and is switched
   off by prefers-reduced-motion and by the "stop animations" toolbar item.
   Content is visible without JS: .reveal is hidden only when main.js
   has added html.js-reveal.
   ===================================================================== */

/* --- Reveal: visible by default; hidden only under JS + motion OK --- */
.reveal { opacity: 1; transform: none; animation: none; }
html.js-reveal .reveal:not(.in) { opacity: 0; transform: translate3d(0, 26px, 0); }
html.js-reveal .reveal.from-start:not(.in) { transform: translate3d(28px, 0, 0); }
html.js-reveal[dir="ltr"] .reveal.from-start:not(.in) { transform: translate3d(-28px, 0, 0); }
html.js-reveal .reveal.zoom:not(.in) { transform: scale(.94); }
html.js-reveal .reveal { transition: opacity .75s cubic-bezier(.2,.7,.2,1), transform .75s cubic-bezier(.2,.7,.2,1); }
html.js-reveal .reveal.in { opacity: 1; transform: none; }
html.js-reveal .d1 { transition-delay: .08s; }
html.js-reveal .d2 { transition-delay: .16s; }
html.js-reveal .d3 { transition-delay: .24s; }
html.js-reveal .d4 { transition-delay: .32s; }
/* card hover must not wait for reveal delay */
html.js-reveal .card.reveal.in, html.js-reveal .service.reveal.in { transition-delay: 0s; }

/* --- Hero: animated brand gradient + grid + floating geometry --- */
.hero, .page-hero { isolation: isolate; position: relative; overflow: hidden; }
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(242,77,84,.28), transparent 60%),
    radial-gradient(800px 520px at 0% 110%, rgba(62,83,118,.75), transparent 55%),
    linear-gradient(120deg, #0c1439 0%, #122e59 30%, #1a355f 55%, #0b2e59 75%, #0c1439 100%);
  background-size: 100% 100%, 100% 100%, 300% 300%;
  animation: heroShift 22s ease-in-out infinite alternate;
  padding: 5rem 0 6rem;
}
.page-hero {
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(242,77,84,.22), transparent 60%),
    linear-gradient(120deg, #0c1439 0%, #122e59 40%, #1a355f 70%, #0c1439 100%);
  background-size: 100% 100%, 300% 300%;
  animation: heroShift 26s ease-in-out infinite alternate;
  padding: 3.6rem 0 3.2rem;
}
@keyframes heroShift {
  0%   { background-position: 0 0, 0 0, 0% 50%; }
  100% { background-position: 0 0, 0 0, 100% 50%; }
}
.page-hero { animation-name: heroShift2; }
@keyframes heroShift2 { 0% { background-position: 0 0, 0% 50%; } 100% { background-position: 0 0, 100% 50%; } }

/* fine grid, fades out toward the text side */
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,.25), #000 70%);
          mask-image: linear-gradient(to left, rgba(0,0,0,.25), #000 70%);
  animation: gridPan 40s linear infinite;
}
[dir="ltr"] .hero::before, [dir="ltr"] .page-hero::before {
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,.25), #000 70%);
          mask-image: linear-gradient(to right, rgba(0,0,0,.25), #000 70%);
}
@keyframes gridPan { to { background-position: 44px 44px, 44px 44px; } }
/* thin coral accent line at the bottom of every hero */
.hero::after, .page-hero::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 4px; z-index: 1;
  background: linear-gradient(90deg, transparent, var(--coral) 30%, var(--gold) 70%, transparent);
  opacity: .9;
}
.hero-shapes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-shapes svg { position: absolute; overflow: visible; }
.hero-shapes .s1 { width: 340px; inset-inline-end: -60px; top: -40px; animation: floatA 20s ease-in-out infinite alternate; }
.hero-shapes .s2 { width: 180px; inset-inline-end: 18%; bottom: 8%; animation: floatB 16s ease-in-out infinite alternate; }
.hero-shapes .s3 { width: 120px; inset-inline-start: 46%; top: 10%; animation: spinSlow 60s linear infinite; }
.hero-shapes .s4 { width: 260px; inset-inline-start: -90px; bottom: -110px; animation: floatA 24s ease-in-out infinite alternate-reverse; }
.page-hero .hero-shapes .s1 { width: 240px; top: -70px; }
.page-hero .hero-shapes .s2 { width: 110px; bottom: 10%; }
@keyframes floatA { to { transform: translate3d(-30px, 26px, 0) rotate(8deg); } }
@keyframes floatB { to { transform: translate3d(24px, -20px, 0) rotate(-12deg); } }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.hero.is-paused, .hero.is-paused *, .hero.is-paused::before,
.page-hero.is-paused, .page-hero.is-paused *, .page-hero.is-paused::before { animation-play-state: paused !important; }
.hero .wrap, .page-hero .wrap { position: relative; z-index: 1; }
.page-hero .kicker { color: var(--coral-on-dark); }

/* pause control for the moving background (WCAG 2.2.2) */
.motion-toggle {
  position: absolute; z-index: 2; bottom: 14px; inset-inline-start: 14px;
  display: inline-flex; align-items: center; gap: .45rem;
  min-height: 44px; min-width: 44px; padding: 0 .9rem;
  background: rgba(12,20,57,.72); color: #fff; border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px; font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer;
}
.motion-toggle:hover { background: #0c1439; border-color: #fff; }
.motion-toggle svg { width: 14px; height: 14px; }
.no-js .motion-toggle { display: none; }

/* --- Section bands --- */
.section-pattern {
  background-color: var(--bg-alt);
  background-image:
    radial-gradient(rgba(18,46,89,.10) 1.2px, transparent 1.4px),
    linear-gradient(135deg, rgba(18,46,89,.035) 25%, transparent 25%, transparent 50%, rgba(18,46,89,.035) 50%, rgba(18,46,89,.035) 75%, transparent 75%);
  background-size: 22px 22px, 56px 56px;
}
.section-alt { background-color: var(--bg-alt); }
.section-alt.section-pattern { background-color: var(--bg-alt); }
.section-navy, .section-blue {
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
    radial-gradient(700px 300px at 100% 0%, rgba(242,77,84,.16), transparent 60%);
  background-size: 36px 36px, 36px 36px, 100% 100%;
  color: var(--white);
}
.section-blue p, .section-blue .lede { color: var(--footer-mute); }
.section-navy a:not(.btn), .section-blue a:not(.btn) { color: var(--coral-on-dark); }

/* angled divider top of dark bands */
.band-edge { position: relative; }
.band-edge::before {
  content: ""; position: absolute; top: 0; inset-inline: 0; height: 4px;
  background: linear-gradient(90deg, var(--coral), transparent 60%);
}

/* --- Stats band --- */
.stats-band { padding: 3.6rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.stat-card {
  position: relative; padding: 1.6rem 1.4rem 1.4rem; border-radius: var(--radius);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  transition: transform .35s ease, background .35s ease, border-color .35s ease;
}
.stat-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.3); }
.stat-card .stat-icon { width: 40px; height: 40px; color: var(--coral-on-dark); margin-bottom: .8rem; }
.stat-big {
  display: block; font-size: clamp(2.1rem, 4.6vw, 3.2rem); line-height: 1.05; font-weight: 700;
  color: #fff; letter-spacing: -.03em; margin-bottom: .45rem;
}
.stat-big .num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.stat-big.words { font-size: clamp(1.6rem, 3.2vw, 2.15rem); }
.stat-label { display: block; color: var(--footer-mute); font-size: .98rem; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* --- Cards + icons --- */
.card { position: relative; overflow: hidden; }
.card::before {
  content: ""; position: absolute; top: 0; inset-inline-start: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--coral), var(--gold)); transition: width .45s ease;
}
.card:hover::before, .card:focus-within::before { width: 100%; }
.card:hover, .card:focus-within { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(18,46,89,.16); border-color: transparent; }
.icon-dot { width: 52px; height: 52px; border-radius: 14px; transition: transform .35s ease, background .35s ease; }
.icon-dot svg { width: 26px; height: 26px; }
.card:hover .icon-dot { transform: rotate(-6deg) scale(1.06); }
.icon-dot.coral { background: var(--coral-text); }

.service {
  background: var(--white); border: 1px solid var(--sage-dark); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; position: relative; overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.service + .service { margin-top: 1.1rem; padding-top: 1.6rem; border-top: 1px solid var(--sage-dark); }
.service::before {
  content: ""; position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: 4px;
  background: linear-gradient(180deg, var(--coral), var(--gold)); transform: scaleY(.25); transform-origin: top;
  transition: transform .45s ease;
}
.service:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(18,46,89,.12); }
.service:hover::before { transform: scaleY(1); }
.service-head { display: flex; align-items: center; gap: .9rem; margin-bottom: .8rem; }
.service-head h2 { margin: 0; font-size: clamp(1.3rem, 2.6vw, 1.6rem); }
.svc-icon {
  flex: 0 0 auto; width: 50px; height: 50px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-blue); color: var(--navy);
}
.svc-icon svg { width: 26px; height: 26px; }
.service:nth-of-type(3n+2) .svc-icon { background: #fde4e5; color: var(--coral-text); }
.service:nth-of-type(3n) .svc-icon { background: #f6edcf; color: #6b5310; }

/* boxes on patterned bands stay solid so text contrast is measured on white */
.section-pattern .faq details, .section-pattern .update, .section-pattern form,
.section-pattern .prose-box, .section-pattern .contact-panel {
  background: var(--white);
}
.prose-box, .contact-panel {
  background: var(--white); border: 1px solid var(--sage-dark); border-radius: var(--radius);
  padding: 1.8rem 1.6rem; box-shadow: 0 10px 30px rgba(18,46,89,.06);
}
.section-pattern form { padding: 1.4rem; border-radius: var(--radius); border: 1px solid var(--sage-dark); }
.faq details { transition: box-shadow .3s ease, transform .3s ease; }
.faq details:hover { box-shadow: 0 10px 28px rgba(18,46,89,.10); }

/* CTA band */
.cta-band { padding: 3.4rem 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; }
.cta-inner h2 { margin: 0 0 .35rem; }
.cta-inner p { margin: 0; }
.cta-inner .actions { margin: 0; }

/* High-contrast toolbar mode */
html.a11y-contrast .section-navy, html.a11y-contrast .section-blue, html.a11y-contrast .stats-band { background: #000 !important; }
html.a11y-contrast .section-pattern { background: #fff !important; }
html.a11y-contrast .hero::before, html.a11y-contrast .page-hero::before, html.a11y-contrast .hero-shapes { display: none; }

/* Stop animations (toolbar) + reduced motion */
html.a11y-still .hero, html.a11y-still .page-hero, html.a11y-still .hero::before, html.a11y-still .page-hero::before, html.a11y-still .hero-shapes svg { animation: none !important; }
html.a11y-still .motion-toggle { display: none; }
@media (prefers-reduced-motion: reduce) {
  .hero, .page-hero, .hero::before, .page-hero::before, .hero-shapes svg { animation: none !important; }
  .reveal, html.js-reveal .reveal, html.js-reveal .reveal:not(.in) { opacity: 1 !important; transform: none !important; transition: none !important; }
  .card:hover, .service:hover, .stat-card:hover, .card:hover .icon-dot { transform: none; }
  .motion-toggle { display: none; }
}

@media (max-width: 1079px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero { padding: 3.6rem 0 5rem; }
  .hero-shapes .s3 { display: none; }
  .hero-shapes .s1 { width: 220px; inset-inline-end: -90px; top: -60px; }
  .hero-shapes .s2 { width: 110px; inset-inline-end: 4%; bottom: 4%; opacity: .7; }
}
@media (max-width: 600px) {
  .hero-shapes .s4 { display: none; }
  .service { padding: 1.25rem 1.1rem; }
  .service-head { align-items: flex-start; }
  .svc-icon { width: 44px; height: 44px; }
  .stat-card { padding: 1.3rem 1.1rem; }
  .cta-inner .actions { width: 100%; }
  .prose-box, .contact-panel { padding: 1.3rem 1.1rem; }
}
html.js-reveal .reveal.in { animation: none; }
html.a11y-still .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
@media (max-width: 600px) {
  .motion-toggle { padding: 0; width: 44px; justify-content: center; bottom: 10px; }
  .motion-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* Portrait (approved by Alon, 2026-11-10) */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 340px); gap: 3rem; align-items: center; }
.portrait { position: relative; margin: 0; }
.portrait::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 22px; z-index: 0;
  background:
    radial-gradient(rgba(18,46,89,.22) 1.3px, transparent 1.5px) 0 0 / 14px 14px,
    linear-gradient(135deg, rgba(242,77,84,.18), rgba(213,178,64,.18));
}
[dir="rtl"] .portrait::before { inset: 18px 18px -18px -18px; }
.portrait img {
  position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 22px; box-shadow: 0 22px 50px rgba(18,46,89,.22);
  transition: transform .5s ease, box-shadow .5s ease;
}
.portrait:hover img { transform: translateY(-4px); box-shadow: 0 28px 60px rgba(18,46,89,.28); }
@media (max-width: 1079px) {
  .about-grid { grid-template-columns: minmax(0, 1fr) minmax(200px, 280px); gap: 2rem; }
}
@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 280px; margin: .5rem auto 1.2rem; order: -1; }
}
@media (prefers-reduced-motion: reduce) { .portrait:hover img { transform: none; } }
.h-sm { font-size: 1.35rem; margin-bottom: .6rem; }

/* contrast tuning after pixel-level audit */
.section-pattern {
  background-image:
    radial-gradient(rgba(18,46,89,.07) 1.2px, transparent 1.4px),
    linear-gradient(135deg, rgba(18,46,89,.022) 25%, transparent 25%, transparent 50%, rgba(18,46,89,.022) 50%, rgba(18,46,89,.022) 75%, transparent 75%);
}
.contact-list span { color: #5c5a5a; }
.hero .lede, .page-hero .lede { color: #eef1f5; }
@media (max-width: 760px) {
  .hero-shapes { opacity: .55; }
}
.stat-card .stat-icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,.08); }
.stat-card .stat-icon svg { width: 28px; height: 28px; }
.page-hero { padding-bottom: 4.6rem; }
.section-pattern .kicker { background: var(--white); padding: .2rem .7rem; border-radius: 999px; box-shadow: 0 0 0 1px var(--sage-dark); }

/* Updates: body, sources, disclaimer */
.update ul { margin: .2rem 0 .6rem; padding-inline-start: 1.2rem; }
.update li { color: var(--navy-mid); margin-bottom: .3rem; }
.update > p { margin-bottom: .5rem; }
.update-sources { border-top: 1px solid var(--sage-dark); padding-top: .7rem; margin-top: .3rem; }
.update-sources-title { font-size: .8rem; font-weight: 700; letter-spacing: .06em; color: var(--navy); margin: 0 0 .3rem; }
.update-sources ul { list-style: none; padding: 0; margin: 0; }
.update-sources li { font-size: .88rem; margin: 0 0 .25rem; }
.update-sources a { color: var(--coral-text); display: inline; min-height: 0; }
.update-sources a:hover { color: var(--navy); }
.update-disclaimer { font-size: .82rem; color: #5c5a5a; background: var(--bg-soft); border-radius: 10px; padding: .55rem .8rem; margin: .4rem 0 0; }
.update-more { margin: .3rem 0 0; font-weight: 700; }
.update-more a { color: var(--coral-text); }
.update { scroll-margin-top: calc(var(--header-h) + var(--ticker-h) + 16px); }


/* Forms & useful links page */
.forms-toc {
  display: flex; flex-wrap: wrap; gap: .5rem .65rem;
  list-style: none; padding: 0; margin: 1.1rem 0 0;
}
.forms-toc a {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: .35rem .9rem;
  border: 1px solid var(--sage-dark); border-radius: 999px;
  background: var(--white); color: var(--navy-logo); font-weight: 600; font-size: .9rem;
}
.forms-toc a:hover, .forms-toc a:focus-visible { border-color: var(--coral-text); color: var(--coral-text); }
.forms-block { scroll-margin-top: calc(var(--header-h) + var(--ticker-h) + 16px); margin-bottom: 1.3rem; }
.forms-block h2 { margin-bottom: .85rem; }
.forms-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.forms-item {
  background: var(--white); border: 1px solid var(--sage-dark);
  border-radius: var(--radius); padding: 1.15rem 1.25rem;
}
.forms-item h3 { margin: 0 0 .35rem; font-size: 1.08rem; }
.forms-item h3 a {
  display: inline; color: var(--coral-text); font-weight: 700;
  min-height: 0;
}
.forms-item h3 a:hover { color: var(--navy); }
.forms-item p { margin: 0; color: var(--navy-mid); }
.ext-icon {
  display: inline-block; width: .85em; height: .85em;
  margin-inline-start: .25em; vertical-align: -0.1em;
}
.forms-item .ext-icon { color: var(--coral-text); }
.forms-note { font-size: .9rem; color: var(--navy-mid); margin: 0 0 1rem; }
@media (min-width: 1080px) and (max-width: 1319px) {
  .brand-text { display: none; }
  .nav { gap: .1rem .7rem; }
  .nav a { font-size: .86rem; }
}

/* Legal disclaimer note (11.11.2026) — shown next to tax information */
.legal-note {
  background: var(--white); color: var(--navy-ink);
  border: 1px solid var(--sage-dark); border-inline-start: 4px solid var(--navy);
  border-radius: 12px; padding: .9rem 1.1rem; margin: 1.6rem 0 0;
  font-size: .9rem; line-height: 1.65;
}
.legal-note p { margin: 0; color: var(--navy-ink); }
.legal-note strong { color: var(--navy); font-weight: 700; }
.section-alt .legal-note { margin-top: 0; margin-bottom: 1.1rem; }
.links-ext-note { font-size: .9rem; color: var(--navy-mid); margin: 0 0 .4rem; }
@media print {
  .legal-note { break-inside: avoid; border-color: #999; }
}

/* 11.11.2026: parent-section highlight in nav (guides / service sub-pages) */
.nav a[aria-current="true"] { color: var(--coral-text); }
.nav a[aria-current="true"]::after { width: 100%; left: 0; right: auto; }


/* 1111d: guides hub update date */
.guide-hub-item .guide-hub-date { color: var(--navy-mid); margin-top: .5rem; font-size: .95rem; }


/* 1111g: nav items stay on one line (no mid-word breaks); desktop sizing that fits the 1120px header with the brand text */
.site-header .nav a, .site-header .lang-switch { white-space: nowrap; overflow-wrap: normal; word-break: normal; flex: 0 0 auto; }
@media (min-width: 1320px) {
  .nav { gap: .1rem .7rem; }
  .nav a { font-size: .86rem; }
}

/* 11.11.2026: home-page banner to the Israel–Cyprus guide (Alliott colours, no motion) */
.guide-banner { padding: 2.2rem 0 .4rem; background: var(--bg); }
.guide-banner-card { display: grid; grid-template-columns: 1fr auto; gap: 1.4rem 2.2rem; align-items: center;
  background: var(--bg-blue); border: 1px solid var(--bg-blue-hover); border-inline-start: 6px solid var(--gold);
  border-radius: var(--radius); padding: 1.6rem 1.9rem; box-shadow: var(--shadow); }
.guide-banner .kicker { color: var(--coral-text); margin: 0 0 .35rem; }
.guide-banner-title { font-size: clamp(1.25rem, 1.05rem + .9vw, 1.65rem); line-height: 1.3; color: var(--navy); margin: 0 0 .55rem; }
.guide-banner-text p:last-child { margin: 0; color: var(--navy-ink); }
.guide-banner-actions { display: flex; flex-direction: column; align-items: stretch; gap: .7rem; min-width: 15rem; }
.guide-banner-actions .btn { font-size: 1rem; }
.guide-banner-pdf { color: var(--navy); font-weight: 600; text-align: center; text-decoration: underline; text-underline-offset: 3px;
  min-height: 44px; display: block; padding: .55rem 0; line-height: 1.5; }
.guide-banner-pdf:hover { color: var(--coral-text); }
.guide-banner-pdf .guide-filemeta { margin-inline-start: .3rem; font-weight: 400; }
@media (max-width: 760px) {
  .guide-banner { padding-top: 1.5rem; }
  .guide-banner-card { grid-template-columns: 1fr; padding: 1.3rem 1.2rem; }
  .guide-banner-actions { min-width: 0; }
}
.guide-banner-277 + .guide-banner { padding-top: 1.2rem; }
@media print { .guide-banner { display: none; } }

/* ===== 1114b: news ticker — directly UNDER the logo+menu bar, inside the sticky header ===== */
:root { --ticker-h: 38px; }
@media (max-width: 899px) { :root { --ticker-h: 34px; } }
html.no-ticker { --ticker-h: 0px; }
.news-ticker { background: var(--navy-ink); color: #fff; height: var(--ticker-h); font-size: .84rem; line-height: 1.2; position: relative; }
.news-ticker[hidden] { display: none; }
.ticker-inner { display: flex; align-items: center; gap: .65rem; height: 100%; }
.ticker-label { flex: 0 0 auto; font-weight: 700; color: var(--gold); padding-inline-end: .65rem; border-inline-end: 1px solid rgba(255,255,255,.28); }
.ticker-viewport { flex: 1 1 auto; min-width: 0; height: 100%; display: flex; align-items: center; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.ticker-viewport::-webkit-scrollbar { display: none; }
.ticker-track { display: flex; width: max-content; }
.ticker-list { display: flex; gap: 2.4rem; list-style: none; margin: 0; padding: 0; padding-inline-end: 2.4rem; white-space: nowrap; }
.ticker-list li { margin: 0; padding: 0; }
.ticker-list a { color: #fff; text-decoration: none; display: inline-block; padding: 3px 0; line-height: 18px; }
.ticker-list a:hover, .ticker-list a:focus-visible { text-decoration: underline; }
.news-ticker :focus-visible { outline: 2px solid var(--coral-on-dark); outline-offset: 2px; }
.ticker-src { color: var(--gold); font-weight: 700; margin-inline-end: .35rem; }
.ticker-src::after { content: " ·"; color: rgba(255,255,255,.75); }
.news-ticker.is-anim .ticker-viewport { overflow: hidden; }
.news-ticker.is-anim .ticker-track { animation: ticker-ltr var(--ticker-dur, 80s) linear infinite; }
[dir="rtl"] .news-ticker.is-anim .ticker-track { animation-name: ticker-rtl; }
.news-ticker.is-anim .ticker-viewport:hover .ticker-track, .news-ticker.is-anim .ticker-viewport:focus-within .ticker-track, .news-ticker.is-paused .ticker-track { animation-play-state: paused; }
@keyframes ticker-ltr { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ticker-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
/* 1116: OS reduced motion -> the ticker keeps scrolling slowly (duration doubled in ticker.js); it overrides the global
   reduced-motion reset for the ticker track only. Pause button, hover/focus and the toolbar option still stop it. */
@media (prefers-reduced-motion: reduce) {
  html:not(.a11y-still) .news-ticker.is-anim .ticker-track { animation: ticker-ltr var(--ticker-dur, 160s) linear infinite !important; }
  html:not(.a11y-still)[dir="rtl"] .news-ticker.is-anim .ticker-track { animation-name: ticker-rtl !important; }
  html:not(.a11y-still) .news-ticker.is-anim .ticker-viewport:hover .ticker-track, html:not(.a11y-still) .news-ticker.is-anim .ticker-viewport:focus-within .ticker-track, html:not(.a11y-still) .news-ticker.is-anim.is-paused .ticker-track { animation-play-state: paused !important; }
}
html.a11y-still .news-ticker .ticker-track { animation: none !important; transform: none !important; }
html.a11y-still .news-ticker .ticker-clone, html.a11y-still .news-ticker .ticker-toggle { display: none !important; }
html.a11y-still .news-ticker .ticker-viewport { overflow-x: auto; }
.ticker-label, .ticker-note, .ticker-more, .ticker-toggle { position: relative; z-index: 1; background-color: var(--navy-ink); }
.ticker-toggle { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .35rem; min-height: 28px; min-width: 28px; padding: 0 .55rem; border: 1px solid rgba(255,255,255,.6); border-radius: 6px; color: #fff; font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; }
.ticker-toggle:hover { background-color: #26315c; }
.ticker-toggle[hidden] { display: none; }
.ticker-toggle svg { width: 14px; height: 14px; flex: 0 0 auto; }
.ticker-toggle .ico-play { display: none; }
.news-ticker.is-paused .ticker-toggle .ico-play { display: block; }
.news-ticker.is-paused .ticker-toggle .ico-pause { display: none; }
.ticker-note { flex: 0 1 auto; margin: 0; max-width: 17rem; color: var(--footer-mute); font-size: .72rem; line-height: 1.25; }
@media (min-width: 1200px) { .ticker-note { max-width: none; white-space: nowrap; } }
.ticker-more { display: none; flex: 0 0 auto; }
.ticker-more summary { list-style: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); color: #fff; font-weight: 700; font-family: Georgia, serif; cursor: pointer; }
.ticker-more summary::-webkit-details-marker { display: none; }
.ticker-more p { position: absolute; top: calc(100% + 4px); inset-inline: 12px; margin: 0; padding: .7rem .85rem; background: #fff; color: var(--navy); border: 1px solid var(--sage-dark); border-radius: 10px; box-shadow: var(--shadow); font-size: .82rem; line-height: 1.45; z-index: 5; }
@media (max-width: 899px) {
  .ticker-note, .ticker-label { display: none; }
  .ticker-more { display: block; position: static; }
  .ticker-toggle { padding: 0; width: 28px; justify-content: center; }
  .ticker-toggle .ticker-toggle-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .ticker-inner { gap: .5rem; }
}
html.a11y-contrast .news-ticker { background: #000; }
html.a11y-contrast .ticker-label, html.a11y-contrast .ticker-note, html.a11y-contrast .ticker-more, html.a11y-contrast .ticker-toggle { background-color: #000; }
html.a11y-contrast .news-ticker .ticker-list a, html.a11y-contrast .news-ticker .ticker-toggle { color: #ffff00; }
html.a11y-contrast .news-ticker .ticker-note { color: #fff; }
.ticker-disclaimer { font-size: .85rem; }
/* ===== 1116: ticker on red (Alon 14.11) = the «צור קשר» button red #c4232a (var --coral-text).
   White on #c4232a 5.80:1 (AA normal text); hover #9e1b21 with white 7.98:1; focus ring white 5.80:1 vs the red.
   Separation: white header above (5.80:1 vs the red) + 1px white rule under the bar. ===== */
.news-ticker { background: #c4232a; color: #fff; border-top: 0; border-bottom: 1px solid #fff; }
.ticker-label, .ticker-note, .ticker-more, .ticker-toggle { background-color: #c4232a; }
.ticker-label { color: #fff; border-inline-end-color: #fff; }
.ticker-list a { color: #fff; }
.ticker-list a:hover, .ticker-list a:focus-visible { color: #fff; text-decoration: underline; }
.ticker-src { color: #fff; font-weight: 700; }
.ticker-src::after { color: #fff; }
.ticker-note { color: #fff; }
.news-ticker :focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ticker-toggle { border: 1px solid #fff; color: #fff; }
.ticker-toggle:hover { background-color: #9e1b21; }
.ticker-more summary { border: 1px solid #fff; color: #fff; background: #c4232a; }
.ticker-more summary:hover { background: #9e1b21; }
html.a11y-contrast .news-ticker { background: #000; border-color: #fff; }
html.a11y-contrast .ticker-label, html.a11y-contrast .ticker-note, html.a11y-contrast .ticker-more, html.a11y-contrast .ticker-toggle { background-color: #000; }
html.a11y-contrast .news-ticker .ticker-src, html.a11y-contrast .news-ticker .ticker-label, html.a11y-contrast .news-ticker .ticker-list a { color: #ffff00; }
html.a11y-contrast .news-ticker .ticker-toggle, html.a11y-contrast .ticker-more summary { border-color: #ffff00; background: #000; color: #ffff00; }
/* ===== /1116 ticker colour ===== */

/* ---- sticky header (logo+menu) with the ticker under it: Alon 14.11 "כן תשאיר קבוע" ----
   One-line toggle: the next line is what makes the header actually stick (overflow-x:hidden on
   html/body turned <body> into a scroll container, so the header never stuck on the live site).
   Delete that single line to return to the live, non-sticky behaviour (header + ticker scroll away). */
@supports (overflow: clip) { html, body { overflow-x: clip; } } /* STICKY-HEADER-TOGGLE */
html { scroll-padding-top: calc(var(--header-h) + var(--ticker-h) + 12px); }
.site-header { z-index: 260; } /* above the floating a11y button (250) so the open mobile menu is never covered */
.nav-open .a11y { visibility: hidden; } /* a11y button hidden only while the mobile menu is open */
.a11y { top: calc(var(--header-h) + var(--ticker-h) + 10px); }
@media (max-width: 1079px) { .nav { max-height: calc(100vh - var(--header-h) - var(--ticker-h)); max-height: calc(100dvh - var(--header-h) - var(--ticker-h)); } }
/* compact header on small screens once the page is scrolled */
@media (max-width: 899px) {
  .site-header .header-inner { transition: min-height .2s ease; }
  .site-header.is-scrolled .header-inner { min-height: 60px; }
  .site-header.is-scrolled .brand img { height: 32px; }
  .site-header.is-scrolled .nav-toggle { width: 44px; height: 44px; }
  .site-header.is-scrolled .nav-toggle span { top: 21px; }
}
/* short landscape (e.g. 667x375, or 200% zoom on a laptop): header + ticker are not sticky */
@media (max-height: 500px) {
  .site-header { position: relative; }
  html { scroll-padding-top: 12px; }
}

/* ===== 1114: service-page hero icons ===== */
.hero-icon { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 16px; margin-bottom: 1rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.24); color: var(--coral-on-dark); }
.hero-icon svg { width: 30px; height: 30px; }
@media (prefers-reduced-motion: no-preference) {
  html.js-reveal .hero-icon { animation: hero-icon-in .7s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes hero-icon-in { from { opacity: 0; transform: translate3d(0,10px,0) scale(.86); } to { opacity: 1; transform: none; } }
html.a11y-still .hero-icon { animation: none !important; }

/* ===== 1114: Cyprus service page ===== */
.cy-hero-grid { display: grid; gap: 2rem; align-items: center; }
.cy-hero-art { display: none; }
@media (min-width: 900px) { .cy-hero-grid { grid-template-columns: minmax(0,1fr) 260px; } .cy-hero-art { display: block; } .cy-hero-art svg { width: 100%; height: auto; } }
.cy-map { margin: 1.4rem 0 0; background: #fff; border: 1px solid var(--sage-dark); border-radius: 18px; padding: 1rem 1rem .8rem; }
.cy-map svg { display: block; width: 100%; height: auto; }
.cy-map figcaption { font-size: .88rem; color: var(--navy-mid); margin-top: .6rem; }
.cy-example { border: 2px solid var(--navy); border-radius: 18px; padding: 1.2rem 1.3rem; background: #fff; }
.cy-example-tag { display: inline-block; background: var(--navy); color: #fff; font-weight: 700; font-size: .82rem; border-radius: 999px; padding: .2rem .75rem; margin-bottom: .7rem; }
.cy-result { font-weight: 700; color: var(--navy); }

/* ===== 1116: full letterhead logo (Alon 14.11). Firm name (logo.png, unchanged) + "Proud Member of Alliott Global Alliance".
   Desktop >=1080: letterhead row (name | Alliott lockup), tagline + navy rule, then the menu row; compact when scrolled.
   Below 1080: name + small Alliott mark only, no tagline, so header + ticker stay <= ~115px. ===== */
.brand-member { margin: 0; flex: 0 0 auto; line-height: 0; }
.brand-member img { display: block; width: auto; }
.brand-member .bm-full { display: none; }
.brand-member .bm-mark { height: 34px; }
.letterhead-tagline { display: none; }
@media (max-width: 1079px) {
  .header-inner { gap: .6rem; }
  /* the a11y button sits below the header + ticker, so the header row does not need the 4.25rem side reserve */
  .site-header .wrap { width: calc(100% - 2rem); margin-inline: 1rem; }
  .brand img { max-width: min(250px, 44vw); }
  .site-header.is-scrolled .brand-member .bm-mark { height: 28px; }
}
@media (max-width: 380px) { .brand-member .bm-mark { height: 28px; } }
@media (min-width: 1080px) {
  :root { --header-h: 146px; }
  html:has(.site-header.is-scrolled) { --header-h: 104px; }
  .site-header .header-inner { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "brand member" "tag tag" "end end";
    min-height: 0; gap: 0 1.5rem; align-items: center; padding-top: .55rem; }
  .site-header .brand { grid-area: brand; }
  .site-header .brand img { height: 50px; max-width: 340px; }
  .site-header .brand-text { display: none; }
  .brand-member { grid-area: member; justify-self: end; }
  /* EN keeps the letterhead order too: firm name on the right, Alliott lockup on the left */
  [dir="ltr"] .site-header .header-inner { grid-template-columns: 1fr auto; grid-template-areas: "member brand" "tag tag" "end end"; }
  [dir="ltr"] .brand-member { justify-self: start; }
  [dir="ltr"] .site-header .brand { justify-self: end; }
  .brand-member .bm-mark { display: none; }
  .brand-member .bm-full { display: block; height: 50px; }
  .letterhead-tagline { display: block; grid-area: tag; margin: .35rem 0 0; padding-bottom: .3rem; border-bottom: 2px solid var(--navy);
    color: var(--navy); font-size: .8rem; line-height: 1.3; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .site-header .header-end { grid-area: end; min-height: 50px; margin-inline-start: 0; justify-content: space-between; }
  .site-header.is-scrolled .header-inner { padding-top: .3rem; }
  .site-header.is-scrolled .brand img, .site-header.is-scrolled .brand-member .bm-full { height: 38px; }
  .site-header.is-scrolled .letterhead-tagline { display: none; }
  .site-header.is-scrolled .header-end { border-top: 2px solid var(--navy); margin-top: .3rem; }
}
@media (min-width: 1080px) and (max-width: 1199px) { .letterhead-tagline { display: none !important; } .site-header .header-end { border-top: 2px solid var(--navy); margin-top: .45rem; } :root { --header-h: 120px; } }
@media print { .letterhead-tagline { display: block; } }

/* ===== 1118 (14.11.2026): content & design package ===== */
/* Buttons: two styles only. Primary = .btn (coral). Secondary = .btn.btn-secondary (outline; white outline on dark sections). */
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-secondary.btn-on-dark, .hero .btn-secondary, .page-hero .btn-secondary, .section-navy .btn-secondary, .section-blue .btn-secondary { color: var(--white); border-color: rgba(255,255,255,.75); }
.btn-secondary.btn-on-dark:hover, .hero .btn-secondary:hover, .page-hero .btn-secondary:hover, .section-navy .btn-secondary:hover, .section-blue .btn-secondary:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
/* visible focus on dark backgrounds (coral ring is too dark on navy) */
.hero :focus-visible, .page-hero :focus-visible, .section-navy :focus-visible, .section-blue :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

/* Header CTA on screens < 1080px (logo, menu and «קביעת פגישה» always visible; the in-menu copy is hidden there) */
.header-cta { display: none; }
@media (max-width: 1079px) {
  .header-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 .85rem; border-radius: 999px;
    background: var(--coral-text); color: var(--white); font-weight: 700; font-size: .82rem; white-space: nowrap; }
  .header-cta:hover { background: var(--navy); color: var(--white); }
  .nav .nav-cta { display: none; }
}
@media (max-width: 380px) { .header-cta { font-size: .76rem; padding: 0 .6rem; } }
.nav .nav-lang { display: none; }
/* touch targets >= 44x44 for short nav/footer links and the logo link */
.nav a, .site-footer li a { min-width: 44px; }
@media (min-width: 1080px) { .nav a { justify-content: center; } }
.brand { min-height: 44px; }
@media (max-width: 600px) {
  .header-tools .lang-switch { display: none; }
  .nav .nav-lang { display: flex; border-top: 1px solid var(--sage-dark); margin-top: .3rem; }
  .site-header .brand img { max-width: 40vw; }
}
@media (max-width: 1079px) { .site-header .nav-toggle { flex: 0 0 auto; } .header-cta { flex: 0 1 auto; min-width: 0; } }
@media (max-width: 860px) { .site-header .brand-text { display: none; } }
@media (max-width: 480px) { .header-cta { white-space: normal; max-width: 6.2rem; line-height: 1.1; text-align: center; } }

/* Home hero: value line + trust signals */
.hero .value-line { color: var(--white); font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem); font-weight: 500; max-width: 46rem; margin: 0; }
.trust-signals { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .7rem; }
.trust-item { display: flex; align-items: center; gap: .6rem; min-height: 44px; padding: .45rem .9rem; border-radius: 14px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); color: var(--white); font-size: .9rem; font-weight: 600; line-height: 1.3; }
.trust-item small { display: block; font-size: .78rem; font-weight: 400; color: var(--footer-mute); }
.trust-mark { height: 30px; width: auto; background: #fff; border-radius: 6px; padding: 2px; flex: 0 0 auto; }

/* Home: compact update cards (3 latest) */
@media (min-width: 1080px) { .update-list[data-compact="true"] { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; } }
.update-compact h3 { font-size: 1.12rem; }
.update-impact { background: var(--bg-blue); border-inline-start: 4px solid var(--gold); border-radius: 10px; padding: .55rem .8rem; color: var(--navy-ink); }
.update-impact strong { color: var(--navy); }
.update-more a, .card .more { min-height: 44px; display: inline-flex; align-items: center; }
#contact-form { scroll-margin-top: calc(var(--header-h) + var(--ticker-h) + 16px); }

/* Guides: cards with update date + reading time; ~65ch line length; tabular numbers in tables */
.guide-hub-item { background: var(--white); border: 1px solid var(--sage-dark); border-radius: var(--radius); padding: 1.3rem 1.4rem; box-shadow: 0 6px 20px rgba(18,46,89,.06); }
.guide-hub-item + .guide-hub-item { margin-top: 1rem; }
.guide-hub-item h2 a { display: inline-flex; align-items: center; min-height: 44px; }
.guide-hub-meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.guide-wrap p, .guide-wrap li, .prose p, .prose li { max-width: 65ch; }
table, th, td { font-variant-numeric: tabular-nums; }

/* Floating WhatsApp button (markup + CSS from Alon's whatsapp-button.html, 14.11.2026).
   Changes: background #25D366 -> #075E54 (white icon 7.7:1; #25D366 is 2.0:1, fails AA 1.4.11), safe-area offset, print hidden.
   z-index 60: above page content (max 5), below the sticky header (260), the a11y toolbar (250) and the skip link (300);
   it sits at the bottom, so it never meets the header/ticker; the open mobile menu covers it on purpose. */
.wa-float { position: fixed; inset-inline-end: 18px; inset-block-end: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%;
  background: #075E54; color: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.25); transition: transform .15s ease, box-shadow .15s ease; }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.3); color: #fff; }
.wa-float:focus-visible { outline: 3px solid #0a7cff; outline-offset: 3px; }
.wa-float svg { display: block; }
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } }
/* room at the end of every page so the button never hides the last links / form submit */
.site-footer { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); }
@media print { .wa-float { display: none !important; } }

/* draft 1119: privacy note under the contact forms */
.form-privacy { margin-top: .2rem; line-height: 1.55; }
