/* אסי צוקרמן שמאות מקרקעין — design system */
/* Heebo variable font (SIL Open Font License 1.1), self-hosted from Google Fonts */
@font-face{font-family:"Heebo";font-style:normal;font-weight:400 800;font-display:swap;src:url("../fonts/heebo-hebrew.woff2") format("woff2");unicode-range:U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;}
@font-face{font-family:"Heebo";font-style:normal;font-weight:400 800;font-display:swap;src:url("../fonts/heebo-latin-ext.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:"Heebo";font-style:normal;font-weight:400 800;font-display:swap;src:url("../fonts/heebo-latin.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
:root {
  /* Logo palette: navy #1B2E4B, blue #2F5D8A, gold #B8913F, light #F6F7F9 */
  --brand-50: #f6f7f9; --brand-100: #eceff3; --brand-200: #d6dce5; --brand-300: #b2bccb;
  --brand-400: #8b98ac; --brand-500: #637189; --brand-600: #4b5a72; --brand-700: #3a4860;
  --brand-800: #2a3a55; --brand-900: #22344f; --brand-950: #1b2e4b;
  --accent-50: #f1f6fb; --accent-100: #e0ebf6; --accent-200: #c3d7ec; --accent-300: #9dbfe0;
  --accent-400: #7fa9d4; --accent-500: #4c82b8; --accent-600: #3a6e9f; --accent-700: #2f5d8a;
  --accent-800: #284e74; --accent-900: #22415f;
  --gold-300: #d9b66a; --gold-400: #d4af62; --gold-500: #b8913f; --gold-700: #8c6a24;
  --wa: #1f9e55; --wa-dark: #17804a;
  --warn-bg: #fff6e5; --warn-fg: #7a4b00; --warn-line: #f1c97a;
  --danger-bg: #fdecec; --danger-fg: #8f1d1d;
  --ok-bg: #e9f7ef; --ok-fg: #145c33;

  --bg: #ffffff; --bg-soft: var(--brand-50); --surface: #ffffff;
  --text: var(--brand-900); --text-soft: var(--brand-600); --line: var(--brand-200);
  --link: var(--accent-700);

  --radius-sm: 8px; --radius: 14px; --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(27,46,75,.06), 0 1px 1px rgba(27,46,75,.04);
  --shadow: 0 6px 24px -8px rgba(27,46,75,.18), 0 2px 6px rgba(27,46,75,.06);
  --shadow-lg: 0 24px 60px -20px rgba(27,46,75,.35);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --fs-base: 1.0625rem;
  --header-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; font-family: var(--font); font-size: var(--fs-base); line-height: 1.7;
  color: var(--text); background: var(--bg); text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--accent-800); }
h1, h2, h3, h4 { line-height: 1.25; color: var(--brand-950); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.22rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-inline-start: 1.25em; margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent-700); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--brand-900); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }
bdi, .ltr { unicode-bidi: isolate; }
.ltr { direction: ltr; display: inline-block; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--brand-900); color: var(--brand-100); }
.section-dark h2, .section-dark h3 { color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 700; letter-spacing: .04em; color: var(--gold-700); margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold-400); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { color: var(--text-soft); font-size: 1.1rem; }
.section-dark .section-head p { color: var(--brand-300); }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head-row .section-head { margin-bottom: 0; }
.muted { color: var(--text-soft); }
.lead { font-size: 1.2rem; color: var(--text-soft); }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.stack > * + * { margin-top: 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent-700); color: #fff; box-shadow: 0 8px 20px -10px rgba(47,93,138,.8); }
.btn-primary:hover { background: var(--accent-800); color: #fff; }
.btn-dark { background: var(--brand-900); color: #fff; }
.btn-dark:hover { background: var(--brand-950); color: #fff; }
.btn-ghost { background: transparent; color: var(--brand-900); border-color: var(--brand-300); }
.btn-ghost:hover { border-color: var(--brand-700); color: var(--brand-950); }
.on-dark .btn-ghost, .section-dark .btn-ghost, .hero .btn-ghost, .page-hero .btn-ghost, .cta-band .btn-ghost, .cta-box .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.on-dark .btn-ghost:hover, .section-dark .btn-ghost:hover, .hero .btn-ghost:hover, .page-hero .btn-ghost:hover, .cta-band .btn-ghost:hover, .cta-box .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }
.btn-whatsapp { background: var(--wa-dark); color: #fff; }
.btn-whatsapp:hover { background: #116b3d; color: #fff; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .18s; }
.link-arrow:hover svg { transform: translateX(-4px); }

/* Top bar & header */
.topbar { background: var(--brand-950); color: var(--brand-300); font-size: .88rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: var(--brand-100); text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar-items { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-item svg { width: 15px; height: 15px; color: var(--accent-400); }
@media (max-width: 760px) { .topbar .hide-sm { display: none; } }

.site-header { position: sticky; top: 0; z-index: 90; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--brand-950); }
.brand-mark { width: 48px; height: 48px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; }
.brand-sub { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 500; color: var(--gold-700); margin-top: 3px; letter-spacing: .04em; }
.brand-sub::after { content: ""; width: 18px; height: 2px; background: var(--gold-500); border-radius: 2px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--brand-800); font-weight: 500; text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--accent-700); background: var(--accent-50); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand-900); text-decoration: none; padding: 8px 10px; }
.header-phone svg { width: 18px; height: 18px; color: var(--accent-600); }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--brand-900); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; }
@media (max-width: 1080px) { .header-phone { display: none; } }
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .main-nav { position: fixed; inset: calc(var(--header-h) + 38px) 0 0 0; background: #fff; padding: 16px var(--gutter) 120px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .site-header.is-scrolled .main-nav { inset-block-start: var(--header-h); }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { padding: 14px 12px; font-size: 1.1rem; border-bottom: 1px solid var(--brand-100); border-radius: 0; }
  .header-cta .btn { display: none; }
  body.menu-open { overflow: hidden; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 85% -10%, #2c4f7c 0%, transparent 60%), linear-gradient(160deg, var(--brand-900) 0%, var(--brand-950) 100%); color: var(--brand-100); }
.hero-pattern { position: absolute; inset: 0; opacity: .55; pointer-events: none; }
.hero-pattern svg, .hero-pattern img { width: 100%; height: 100%; object-fit: cover; }
.hero .container { position: relative; padding-block: clamp(56px, 9vw, 112px) clamp(48px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 .accent { color: var(--gold-300); display: block; }
.hero .lead { color: var(--brand-200); max-width: 620px; margin-bottom: 28px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--brand-200); font-size: .95rem; list-style: none; padding: 0; }
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges svg { width: 18px; height: 18px; color: var(--gold-400); }
.paths { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 22px; backdrop-filter: blur(6px); }
.paths h2 { font-size: 1.15rem; color: #fff; margin-bottom: 14px; font-weight: 700; }
.path { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--radius); background: rgba(255,255,255,.04); color: #fff; text-decoration: none; border: 1px solid transparent; transition: background .18s, border-color .18s, transform .18s; }
.path + .path { margin-top: 10px; }
.path:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); color: #fff; }
.path-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-600); display: grid; place-items: center; flex: none; }
.path-icon svg { width: 22px; height: 22px; }
.path-text { flex: 1; min-width: 0; }
.path-title { display: block; font-weight: 700; }
.path-sub { display: block; font-size: .9rem; color: var(--brand-300); }
.path > svg { width: 20px; height: 20px; color: var(--brand-300); flex: none; }

/* Page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--brand-900), var(--brand-950)); color: var(--brand-200); }
.page-hero .container { position: relative; padding-block: clamp(36px, 6vw, 72px); }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); max-width: 860px; }
.page-hero .lead { color: var(--brand-200); max-width: 780px; margin-bottom: 0; }
.page-hero .btn-row { margin-top: 24px; }
.breadcrumbs { font-size: .9rem; margin-bottom: 14px; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-inline-end: 6px; color: var(--brand-400); }
.breadcrumbs a { color: var(--brand-300); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--brand-100); }

/* Cards */
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s, border-color .2s; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-soft); margin-bottom: 0; }
a.card, .card-link { text-decoration: none; color: inherit; display: block; }
a.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--accent-200); }
a.card:hover h3 { color: var(--accent-700); }
.card-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-50); color: var(--accent-700); display: grid; place-items: center; margin-bottom: 16px; }
.card-icon svg { width: 24px; height: 24px; }
.card .link-arrow { margin-top: 14px; font-size: .95rem; }
.card-compact, a.card.card-compact { padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; }
.card-compact .card-icon { margin: 0; width: 42px; height: 42px; flex: none; }
.card-compact h3 { font-size: 1.05rem; margin-bottom: 4px; }
.card-compact p { font-size: .95rem; }
.section-dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.section-dark .card p { color: var(--brand-300); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--accent-50); color: var(--accent-800); font-size: .9rem; font-weight: 500; text-decoration: none; border: 1px solid var(--accent-100); }
a.chip:hover { background: var(--accent-100); color: var(--accent-900); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.group-title { font-size: 1rem; font-weight: 700; color: var(--brand-600); margin: 36px 0 14px; display: flex; align-items: center; gap: 10px; }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Facts strip */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); margin-top: -44px; position: relative; z-index: 2; }
.fact { padding: 22px 24px; border-inline-start: 1px solid var(--line); }
.fact:first-child { border-inline-start: 0; }
.fact-value { font-size: 1.5rem; font-weight: 800; color: var(--brand-950); line-height: 1.2; }
.fact-label { color: var(--text-soft); font-size: .95rem; margin-top: 4px; }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fact:nth-child(3) { border-inline-start: 0; } .fact:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 420px) { .fact { padding: 16px; } .fact-value { font-size: 1.2rem; } }

/* About split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; inset-block: 8px; inset-inline-start: 7px; width: 2px; background: var(--accent-200); }
.timeline li { position: relative; padding-inline-start: 34px; padding-bottom: 22px; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--accent-500); }
.timeline .t-year { font-size: .85rem; font-weight: 700; color: var(--accent-700); }
.timeline .t-title { font-weight: 700; color: var(--brand-950); }
.timeline .t-text { color: var(--text-soft); font-size: .97rem; }
.panel { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 36px); }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-inline-start: 32px; margin-bottom: 10px; }
.check-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f5d8a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-900); color: #fff; font-weight: 800; margin-bottom: 14px; }
.step h2, .step h3 { font-size: 1.1rem; }
.step p { color: var(--text-soft); margin: 0; font-size: .97rem; }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 12px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--accent-200); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--brand-950); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; border-right: 2.5px solid var(--accent-600); border-bottom: 2.5px solid var(--accent-600); transform: rotate(45deg); transition: transform .2s; flex: none; margin-top: -6px; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 6px; }
.faq .faq-a { padding: 0 22px 18px; color: var(--brand-700); }
.faq .faq-a p:last-child { margin-bottom: 0; }

/* Article layout */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 980px) { .layout { grid-template-columns: 1fr; } }
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; }
@media (max-width: 980px) { .sidebar { position: static; } }
.cta-box { background: var(--brand-900); color: var(--brand-200); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow); }
.cta-box h2, .cta-box h3 { color: #fff; font-size: 1.25rem; }
.cta-box p { color: var(--brand-300); font-size: .97rem; }
.cta-box .btn { width: 100%; }
.cta-box .btn + .btn { margin-top: 10px; }
.cta-box .cta-phone { display: block; text-align: center; margin-top: 14px; color: #fff; font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.side-card h3 { font-size: 1rem; margin-bottom: 12px; }
.side-card ul { list-style: none; padding: 0; margin: 0; }
.side-card li + li { border-top: 1px solid var(--brand-100); }
.side-card li a { display: block; padding: 9px 0; text-decoration: none; color: var(--brand-800); font-weight: 500; }
.side-card li a:hover { color: var(--accent-700); }
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc li a { display: flex; gap: 10px; padding: 7px 0; text-decoration: none; color: var(--brand-700); font-size: .95rem; }
.toc li a::before { counter-increment: toc; content: counter(toc); color: var(--accent-600); font-weight: 700; min-width: 1.2em; }
.toc li a:hover { color: var(--accent-700); }

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--brand-800); }
.prose ul li { margin-bottom: .4em; }
.prose .block { margin-bottom: 40px; }
.prose .block:last-child { margin-bottom: 0; }

.notice { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); background: var(--accent-50); border: 1px solid var(--accent-200); color: var(--accent-900); }
.notice svg { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--accent-700); }
.notice p:last-child { margin-bottom: 0; }
.notice-warn { background: var(--warn-bg); border-color: var(--warn-line); color: var(--warn-fg); }
.notice-warn svg { color: var(--warn-fg); }
.takeaways { background: var(--brand-50); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 26px; margin-bottom: 40px; }
.takeaways h2 { font-size: 1.2rem; margin-top: 0; }
.doc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px; list-style: none; padding: 0; }
.doc-list li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .97rem; color: var(--brand-800); }
.doc-list svg { width: 18px; height: 18px; color: var(--accent-600); flex: none; margin-top: 4px; }
.info-card { display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.info-card .label { font-size: .85rem; color: var(--text-soft); font-weight: 500; }
.info-card .value { font-weight: 700; color: var(--brand-950); }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--brand-300); font-size: .92rem; margin-top: 16px; }
.meta-row span { display: inline-flex; align-items: center; gap: 6px; }
.meta-row svg { width: 16px; height: 16px; }
.sources { font-size: .9rem; color: var(--text-soft); border-top: 1px solid var(--line); margin-top: 40px; padding-top: 18px; }
.sources ul { padding-inline-start: 1.1em; }
.sources a { word-break: break-word; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3.5vw, 36px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-weight: 600; font-size: .95rem; color: var(--brand-900); }
.field .hint { font-size: .87rem; color: var(--text-soft); }
.req { color: var(--danger-fg); }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--brand-400); border-radius: 12px;
  background: #fff; font: inherit; font-size: 1rem; color: var(--brand-950); transition: border-color .15s, box-shadow .15s;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--brand-300); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent-500); box-shadow: 0 0 0 4px rgba(76,130,184,.2); }
.input[type="tel"], .input[type="email"] { direction: ltr; text-align: right; }
.textarea { min-height: 120px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b5a72' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 14px center; background-size: 18px; padding-right: 14px; padding-left: 42px; }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger-fg); }
.field-error { color: var(--danger-fg); font-size: .88rem; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--brand-800); }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent-600); flex: none; }
.dropzone { position: relative; border: 2px dashed var(--brand-300); border-radius: var(--radius); padding: 22px; text-align: center; background: var(--brand-50); transition: border-color .15s, background .15s; }
.dropzone.is-over { border-color: var(--accent-500); background: var(--accent-50); }
.dropzone:focus-within { outline: 3px solid var(--accent-700); outline-offset: 2px; }
.dropzone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone svg { width: 30px; height: 30px; margin: 0 auto 8px; color: var(--accent-600); }
.dropzone strong { color: var(--brand-900); }
.file-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; font-size: .92rem; }
.file-list li { display: flex; justify-content: space-between; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; }
.form-status { margin-top: 14px; }
.form-status:empty { display: none; }
.result-card { border-radius: var(--radius); padding: 20px; background: var(--accent-50); border: 1px solid var(--accent-200); }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html, body { overflow-x: clip; }

/* Contact strip */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list a, .contact-list .ci { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.contact-list .ci-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: var(--accent-300); flex: none; }
.contact-list .ci-icon svg { width: 22px; height: 22px; }
.contact-list .ci-label { display: block; font-size: .85rem; color: var(--brand-300); }
.contact-list .ci-value { display: block; font-weight: 700; color: #fff; font-size: 1.08rem; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: var(--brand-800); aspect-ratio: 16 / 10; display: grid; place-items: center; text-align: center; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.map-embed button { margin: 0 auto; }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.review .stars { color: #b0883a; letter-spacing: 2px; margin-bottom: 8px; }
.review p { color: var(--brand-800); font-size: .98rem; }
.review p + p { margin-top: 6px; }
.review .who { margin-top: 12px; }
.reviews-summary { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.reviews-summary .rs-score { font-size: 1.6rem; font-weight: 800; color: var(--brand-950); line-height: 1; }
.reviews-summary .stars { color: #b0883a; letter-spacing: 2px; font-size: 1.1rem; }
.reviews-summary a { color: var(--text-soft); text-decoration: underline; text-underline-offset: 3px; }
.review .who { font-weight: 700; color: var(--brand-950); font-size: .95rem; }
.review .src { font-size: .82rem; color: var(--text-soft); }

/* Final CTA band */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--accent-700), var(--brand-900)); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: var(--accent-100); margin: 0; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--brand-950); color: var(--brand-300); padding-top: 64px; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--brand-200); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand-sub { color: var(--gold-400); }
.site-footer .brand-name { color: #fff; }
.footer-bottom { margin-top: 48px; border-top: 1px solid rgba(255,255,255,.08); padding-block: 20px 100px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 18px; }
@media (min-width: 961px) { .footer-bottom { padding-bottom: 24px; } }

/* Mobile action bar */
.action-bar { display: none; }
@media (max-width: 960px) {
  .action-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; inset-inline: 0; bottom: 0; z-index: 95; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(27,46,75,.25); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 54px; border-radius: 12px; font-size: .85rem; font-weight: 700; text-decoration: none; color: var(--brand-900); background: var(--brand-50); }
  .action-bar a svg { width: 22px; height: 22px; }
  .action-bar .ab-wa { background: var(--wa-dark); color: #fff; }
  .action-bar .ab-case { background: var(--accent-700); color: #fff; }
  body { padding-bottom: 76px; }
}

/* Floating widgets: assistant + a11y */
.fab-stack { position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 96; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
@media (max-width: 960px) { .fab-stack { bottom: 90px; inset-inline-end: 12px; } }
.fab { width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-lg); transition: transform .18s; }
.fab:hover { transform: scale(1.05); }
.fab svg { width: 26px; height: 26px; }
.fab-assistant { background: var(--accent-700); color: #fff; }
.fab-a11y { width: 44px; height: 44px; background: var(--brand-900); color: #fff; }
.fab-a11y svg { width: 22px; height: 22px; }
@media (max-width: 960px) { .fab { width: 48px; height: 48px; } .fab-a11y { width: 40px; height: 40px; } }

.popover { position: fixed; inset-inline-end: 18px; bottom: 90px; z-index: 97; width: min(380px, calc(100vw - 24px)); max-height: min(620px, calc(100vh - 120px)); display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.popover[hidden] { display: none; }
@media (max-width: 960px) { .popover { inset-inline-end: 12px; bottom: 150px; max-height: calc(100vh - 180px); } }
.popover-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; background: var(--brand-900); color: #fff; }
.popover-head h2 { color: #fff; font-size: 1rem; margin: 0; display: flex; align-items: center; gap: 8px; }
.popover-head .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ecf8e; }
.icon-btn { width: 36px; height: 36px; border-radius: 10px; border: 0; background: transparent; color: inherit; cursor: pointer; display: grid; place-items: center; }
.icon-btn:hover { background: rgba(255,255,255,.12); }
.icon-btn svg { width: 20px; height: 20px; }
.popover-body { padding: 16px; overflow-y: auto; flex: 1; }
.as-msg { background: var(--brand-50); border-radius: 14px; padding: 12px 14px; margin-bottom: 12px; font-size: .97rem; color: var(--brand-800); }
.as-msg.user { background: var(--accent-700); color: #fff; margin-inline-start: 40px; }
.as-msg p:last-child { margin: 0; }
.as-options { display: grid; gap: 8px; margin-bottom: 12px; }
.as-option { text-align: start; padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--brand-400); background: #fff; color: var(--brand-900); font: inherit; font-weight: 500; cursor: pointer; }
.as-option:hover { border-color: var(--accent-500); background: var(--accent-50); }
.as-actions { display: grid; gap: 8px; }
.as-actions .btn { width: 100%; }
.as-foot { border-top: 1px solid var(--line); padding: 10px 12px; display: flex; gap: 8px; }
.as-foot .input { min-height: 44px; }
.as-note { font-size: .8rem; color: var(--text-soft); padding: 0 16px 10px; }

.a11y-panel .popover-body { display: grid; gap: 8px; }
.a11y-panel button.as-option[aria-pressed="true"] { background: var(--accent-700); color: #fff; border-color: var(--accent-700); }

/* a11y modes */
html.a11y-font-1 { font-size: 112.5%; }
html.a11y-font-2 { font-size: 125%; }
html.a11y-contrast { --text: #000; --text-soft: #1d2025; --line: #4f5968; --link: #0b3d5c; }
html.a11y-contrast .muted, html.a11y-contrast .card p, html.a11y-contrast .lead { color: #000 !important; }
html.a11y-contrast .hero, html.a11y-contrast .page-hero, html.a11y-contrast .section-dark, html.a11y-contrast .site-footer { background: #000 !important; }
html.a11y-contrast :is(.hero, .page-hero, .section-dark, .cta-box, .cta-band, .site-footer) :is(.lead, p, .muted, li, .t-text, .fact-label) { color: #fff !important; }
html.a11y-links a { text-decoration: underline !important; text-decoration-thickness: 2px !important; }
html.a11y-readable body { font-family: Arial, sans-serif; letter-spacing: .01em; word-spacing: .08em; }
html.a11y-nomotion *, html.a11y-nomotion *::before, html.a11y-nomotion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

/* Reveal */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  html.js .reveal.is-visible { opacity: 1; transform: none; }
}
html.a11y-nomotion .reveal { opacity: 1 !important; transform: none !important; }

/* Print */
@media print {
  .topbar, .site-header, .site-footer, .action-bar, .fab-stack, .popover, .sidebar .cta-box, .cta-band, .no-print { display: none !important; }
  body { padding: 0; color: #000; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .page-hero .lead { color: #000; }
  .page-hero { background: none; color: #000; }
  .page-hero h1 { color: #000; }
  a { color: #000; }
}

/* Service pages: FAQ sits in the side column, so the column scrolls with the page */
.sidebar-flow { position: static; }
.sidebar .faq h2 { font-size: 1.15rem; margin-bottom: 12px; }
.sidebar .faq summary { padding: 13px 15px; font-size: .97rem; }
.sidebar .faq .faq-a { padding: 0 15px 14px; font-size: .95rem; }

/* Phones (iPhone / Android): notch-safe gutters, real viewport height, finger-sized tap targets */
@supports (padding: max(0px)) {
  .container { padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }
}
@supports (height: 100dvh) {
  .popover { max-height: min(620px, calc(100dvh - 120px)); }
  @media (max-width: 960px) { .popover { max-height: calc(100dvh - 180px); } }
}
html { -webkit-tap-highlight-color: rgba(76,130,184,.18); }
@media (max-width: 760px) {
  .topbar-item { min-height: 38px; }
  .breadcrumbs a { display: inline-block; padding: 10px 4px; margin: -10px -4px; }
  .link-arrow { min-height: 44px; }
  .reviews-summary a { display: inline-flex; align-items: center; min-height: 44px; }
  .cta-box .cta-phone { padding-block: 8px; }
  .site-footer li { margin-bottom: 0; }
  .site-footer li a { display: inline-block; padding-block: 10px; }
  .steps a, .card a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Netlify free plan injects a "Powered by Netlify" badge (bottom corner, ~64px). Keep our mobile controls clear of it. */
@media (max-width: 960px) {
  html.has-host-badge .action-bar { bottom: 66px; border-bottom: 1px solid var(--line); }
  html.has-host-badge body { padding-bottom: 146px; }
  html.has-host-badge .fab-stack { bottom: 156px; }
  html.has-host-badge .popover { bottom: 216px; max-height: calc(100vh - 250px); }
}

/* ---------- English (left-to-right) pages ---------- */
html[dir="ltr"] svg.dir-icon { transform: scaleX(-1); }
html[dir="ltr"] .link-arrow:hover svg.dir-icon { transform: scaleX(-1) translateX(-4px); }
html[dir="ltr"] .select { background-position: right 14px center; padding-left: 14px; padding-right: 42px; }
html[dir="ltr"] .input[type="tel"], html[dir="ltr"] .input[type="email"] { text-align: left; }
/* Header: never break menu items, phone or button text mid-phrase (longer English/French labels) */
.main-nav a, .header-phone, .header-cta .btn, .brand-name, .brand-sub { white-space: nowrap; }
html[dir="ltr"] .header-phone { display: none; } /* English/French labels are longer; the phone number stays in the top bar */
@media (min-width: 961px) and (max-width: 1280px) {
  html[dir="ltr"] .main-nav a { padding: 10px 8px; }
  html[dir="ltr"] .header-inner { gap: 12px; }
}
