/* ==========================================================================
   חן פרי הלוי — תכנון פיננסי, פנסיה וביטוח
   גופן יחיד (Heebo, מתארח מקומית), מערכת צבעים אחת, RTL-first
   ========================================================================== */

@font-face {
  font-family: "Heebo";
  src: url("assets/fonts/heebo-hebrew.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Heebo";
  src: url("assets/fonts/heebo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  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 {
  --green-900: #143d1f;
  --green-800: #1d5a2a;
  --green-700: #2b7a33;
  --green-600: #3a9140;
  --green-500: #56a53a;
  --lime: #8dc63f;
  --teal: #0e8a5f;
  --ink: #17261d;
  --muted: #465850;
  --line: #dce8d5;
  --bg: #ffffff;
  --bg-soft: #f5faf0;
  --bg-tint: #eaf4e0;
  --danger: #b42318;
  --focus: #0b57d0;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(23, 60, 30, .28);
  --shadow-sm: 0 4px 14px -6px rgba(23, 60, 30, .25);
  --header-h: 76px;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; font-size: 100%; }
body {
  margin: 0;
  font-family: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--green-700); text-underline-offset: 3px; }
a:hover { color: var(--green-900); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-fill { fill: currentColor; stroke: none; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link {
  position: fixed; top: -80px; inset-inline-start: 1rem; z-index: 3000;
  background: var(--green-900); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 12px 12px; font-weight: 700; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .75rem 1.6rem; border-radius: 999px;
  font-weight: 700; font-size: 1.0625rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green-700); color: #fff; box-shadow: 0 10px 22px -10px rgba(43, 122, 51, .8); }
.btn-primary:hover { background: var(--green-800); color: #fff; }
.btn-outline { background: transparent; color: var(--green-800); border-color: var(--green-700); }
.btn-outline:hover { background: var(--green-700); color: #fff; }
.btn-whatsapp { background: #128c4a; color: #fff; }
.btn-whatsapp:hover { background: #0d6e3a; color: #fff; }
.btn-light { background: #fff; color: var(--green-800); }
.btn-light:hover { background: var(--bg-tint); color: var(--green-900); }
.btn-sm { min-height: 44px; padding: .5rem 1.2rem; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000; height: var(--header-h);
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -14px rgba(23, 60, 30, .35); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: block; flex: none; }
.brand img { height: 50px; width: auto; }
.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; align-items: center; gap: .25rem; }
.main-nav a {
  display: block; padding: .55rem .75rem; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem;
  transition: background-color .2s, color .2s;
}
.main-nav a:hover, .main-nav a[aria-current="true"] { background: var(--bg-tint); color: var(--green-800); }
.header-cta { display: flex; align-items: center; gap: .6rem; }
.header-cta .btn { white-space: nowrap; }
.header-phone { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--green-800); text-decoration: none; padding: .5rem .25rem; direction: ltr; unicode-bidi: plaintext; }
.header-phone .icon { color: var(--green-600); }
.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; margin-inline-start: auto; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), background-color .2s; position: relative; content: ""; }
.nav-toggle .bars::before { position: absolute; top: -7px; }
.nav-toggle .bars::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .25); padding: .75rem 1rem 1.5rem; max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .25s var(--ease), opacity .25s, visibility .25s;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { padding: 1rem .75rem; font-size: 1.125rem; border-radius: 12px; border-bottom: 1px solid var(--bg-tint); }
  .main-nav .nav-mobile-cta { display: flex; flex-direction: column; gap: .75rem; padding-top: 1rem; }
  .main-nav a.btn { display: flex; padding: .75rem 1.6rem; font-size: 1.0625rem; border-radius: 999px; border-bottom: 2px solid transparent; }
  .main-nav a.btn-primary, .main-nav a.btn-whatsapp { color: #fff; }
  .main-nav a.btn-primary:hover, .main-nav a.btn-whatsapp:hover { color: #fff; }
  .main-nav a.btn-outline { color: var(--green-800); border-color: var(--green-700); }
  .main-nav a.btn-outline:hover { color: #fff; background: var(--green-700); }
}
@media (min-width: 1181px) { .nav-mobile-cta { display: none; } }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 46rem; margin: 0 auto clamp(2rem, 4vw, 3.5rem); text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .9375rem; color: var(--green-700); letter-spacing: .02em; margin-bottom: .75rem; }
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--lime), var(--green-600)); }
.section-head .eyebrow { justify-content: center; }
.section h2, .page-hero h1 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); color: var(--green-900); }
.lead { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--muted); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(141, 198, 63, .22), transparent 60%),
    radial-gradient(40rem 26rem at 0% 100%, rgba(14, 138, 95, .10), transparent 60%),
    linear-gradient(180deg, #f6fbf1 0%, #ecf6e2 100%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 2rem; min-height: min(740px, calc(100dvh - var(--header-h))); }
.hero-copy { align-self: center; padding-block: clamp(2.5rem, 6vw, 5rem); }
.hero-badge { display: inline-flex; gap: .6rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: .45rem 1rem; line-height: 1.5; font-weight: 600; font-size: .9375rem; color: var(--green-800); box-shadow: var(--shadow-sm); margin-bottom: 1.25rem; }
.hero-badge .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); font-weight: 900; color: var(--green-900); margin-bottom: .45em; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--green-700), var(--lime)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 34rem; margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; color: var(--muted); font-weight: 500; font-size: .9375rem; }
.hero-points li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-points .icon { color: var(--green-600); width: 1.15em; height: 1.15em; stroke-width: 2.5; }
.hero-photo { position: relative; align-self: end; display: flex; justify-content: center; }
.hero-photo::before {
  content: ""; position: absolute; inset: 8% 4% 0; border-radius: 50% 50% 0 0 / 38% 38% 0 0;
  background: linear-gradient(160deg, rgba(141, 198, 63, .35), rgba(58, 145, 64, .18)); z-index: 0;
}
.hero-photo img { position: relative; z-index: 1; width: min(100%, 470px); max-height: 640px; object-fit: contain; object-position: bottom; mix-blend-mode: multiply; -webkit-mask-image: linear-gradient(#000 90%, transparent); mask-image: linear-gradient(#000 90%, transparent); }
.hero-chip { position: absolute; z-index: 2; background: #fff; border-radius: 16px; padding: .7rem 1rem; display: flex; align-items: center; gap: .7rem; box-shadow: var(--shadow); font-weight: 700; font-size: .9375rem; line-height: 1.25; color: var(--green-900); }
.hero-chip small { display: block; font-weight: 500; color: var(--muted); font-size: .8125rem; }
.hero-chip .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--bg-tint); color: var(--green-700); display: grid; place-items: center; }
.chip-1 { top: 16%; inset-inline-start: -2%; }
.chip-2 { bottom: 22%; inset-inline-end: -2%; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero-copy { padding-bottom: 1.5rem; }
  .hero-photo img { width: min(78%, 360px); }
  .chip-1 { inset-inline-start: 4%; top: 10%; }
  .chip-2 { inset-inline-end: 4%; bottom: 18%; }
}
@media (max-width: 520px) {
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-chip { padding: .5rem .75rem; font-size: .8125rem; }
  .hero-chip .ic { width: 32px; height: 32px; }
}

/* ---------- Trust strip ---------- */
.trust { background: var(--green-800); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .15); }
.trust-item { background: var(--green-800); padding: 1.6rem 1.25rem; display: flex; align-items: center; gap: 1rem; }
.trust-item .icon { width: 2.1rem; height: 2.1rem; color: var(--lime); stroke-width: 1.5; }
.trust-item strong { display: block; font-size: 1.15rem; line-height: 1.25; }
.trust-item span { font-size: .9375rem; opacity: .9; line-height: 1.4; display: block; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trust-grid { grid-template-columns: 1fr; } .trust-item { padding: 1.1rem 1rem; } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-photo { position: relative; max-width: 460px; margin-inline: auto; width: 100%; }
.about-photo .frame { border-radius: 220px 220px var(--radius) var(--radius); overflow: hidden; background: var(--bg-tint); aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.about-photo .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; mix-blend-mode: multiply; }
.about-photo::after { content: ""; position: absolute; inset-inline-end: -18px; bottom: -18px; width: 55%; height: 55%; border-radius: var(--radius); border: 3px solid var(--lime); z-index: -1; }
.about-tag { position: absolute; inset-inline-start: -14px; bottom: 28px; background: #fff; border-radius: 16px; padding: .8rem 1.1rem; box-shadow: var(--shadow); font-weight: 700; color: var(--green-900); line-height: 1.3; }
.about-tag small { display: block; font-weight: 500; color: var(--muted); font-size: .875rem; }
.about-copy .lead { color: var(--ink); font-weight: 500; }
.about-areas { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin: 1.5rem 0 2rem; }
.about-areas li { display: flex; gap: .7rem; align-items: flex-start; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .85rem 1rem; font-weight: 600; line-height: 1.4; }
.about-areas .icon { color: var(--green-600); margin-top: .1rem; stroke-width: 2.4; }
.quote { border-inline-start: 4px solid var(--lime); padding: .25rem 1.25rem; margin: 0 0 1.75rem; font-size: 1.1875rem; font-weight: 600; color: var(--green-900); }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 380px; }
  .about-tag { inset-inline-start: 0; }
}
@media (max-width: 520px) { .about-areas { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--lime); }
.card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-tint); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.3rem; color: var(--green-900); margin-bottom: .4rem; }
.card p { color: var(--muted); font-size: 1rem; flex: 1; }
.card-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none; padding-block: .35rem; }
.card-link .icon { transition: transform .25s var(--ease); }
.card-link:hover .icon { transform: translateX(-4px); }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 2.5rem; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1.1rem; font-weight: 600; color: var(--green-800); font-size: .9375rem; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; position: relative; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.75rem; position: relative; }
.step::before {
  counter-increment: step; content: counter(step); display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; margin-bottom: 1.1rem;
  background: linear-gradient(140deg, var(--green-600), var(--lime)); color: #fff; font-weight: 900; font-size: 1.5rem; box-shadow: 0 10px 20px -10px rgba(58, 145, 64, .9);
}
.step h3 { font-size: 1.25rem; color: var(--green-900); }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Partners ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.logo-grid li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); height: 112px; padding: .85rem 1rem; display: block; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.logo-grid li:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--lime); }
.logo-grid img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 1000px) { .logo-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 680px) { .logo-grid { grid-template-columns: repeat(3, 1fr); gap: .7rem; } .logo-grid li { height: 92px; padding: .7rem; } }
@media (max-width: 440px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Why ---------- */
.why { background: linear-gradient(135deg, var(--green-900), var(--green-700)); color: #fff; overflow: hidden; }
.why::before { content: ""; position: absolute; width: 520px; height: 520px; inset-inline-start: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(141, 198, 63, .35), transparent 65%); pointer-events: none; }
.why h2 { color: #fff; }
.why .eyebrow { color: var(--lime); }
.why .eyebrow::before { background: var(--lime); }
.why .lead { color: rgba(255, 255, 255, .88); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; position: relative; }
.why-item { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius); padding: 1.75rem 1.5rem; }
.why-item .icon { width: 2.4rem; height: 2.4rem; color: var(--lime); margin-bottom: 1rem; stroke-width: 1.5; }
.why-item h3 { font-size: 1.2rem; color: #fff; }
.why-item p { margin: 0; color: rgba(255, 255, 255, .88); font-size: 1rem; }
@media (max-width: 1000px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 52rem; margin-inline: auto; display: grid; gap: .8rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--green-500); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.4rem; min-height: 56px; font-weight: 700; font-size: 1.125rem; color: var(--green-900); border-radius: var(--radius-sm); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-inline-end: 2.5px solid var(--green-700); border-bottom: 2.5px solid var(--green-700); transform: rotate(45deg); transition: transform .25s var(--ease); margin-top: -4px; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq .answer { padding: 0 1.4rem 1.25rem; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(180deg, var(--bg-soft), var(--bg-tint)); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.contact-info { background: linear-gradient(160deg, var(--green-800), var(--green-600)); color: #fff; border-radius: var(--radius); padding: clamp(1.75rem, 3vw, 2.5rem); box-shadow: var(--shadow); }
.contact-info h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.contact-info p { color: rgba(255, 255, 255, .92); }
.contact-list { display: grid; gap: .9rem; margin: 1.75rem 0; }
.contact-list a, .contact-list .row { display: flex; align-items: center; gap: .9rem; color: #fff; text-decoration: none; font-weight: 600; padding: .35rem 0; line-height: 1.35; }
.contact-list a:hover { color: var(--lime); }
.contact-list .ic { flex: none; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .16); display: grid; place-items: center; }
.contact-list small { display: block; font-weight: 400; opacity: .85; font-size: .875rem; }
.contact-list .ltr { direction: ltr; unicode-bidi: plaintext; display: inline-block; }
.nav-links { display: flex; flex-wrap: wrap; gap: .6rem; }
.nav-links .btn { flex: 1 1 auto; }

  width: 100%; min-height: 52px; padding: .7rem 1rem; border: 1.5px solid #b9c9b1; border-radius: var(--radius-sm); background: #fff; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.form-note { font-size: .875rem; color: var(--muted); margin: 1rem 0 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.wa-card { background: #fff; border-radius: var(--radius); padding: clamp(1.75rem, 3vw, 2.75rem); box-shadow: var(--shadow); border: 1px solid var(--line); text-align: center; }
.wa-ic { width: 72px; height: 72px; margin: 0 auto 1rem; border-radius: 50%; background: #128c4a; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 26px -10px rgba(18, 140, 74, .8); }
.wa-ic .icon { width: 38px; height: 38px; }
.wa-card h3 { font-size: 1.6rem; color: var(--green-900); }
.topic-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: 1.25rem 0 1.75rem; }
.topic-links a { display: inline-flex; align-items: center; min-height: 44px; padding: .45rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg-soft); color: var(--green-900); font-weight: 600; font-size: .9375rem; text-decoration: none; transition: background-color .2s, border-color .2s, color .2s; }
.topic-links a:hover { background: #128c4a; border-color: #128c4a; color: #fff; }
.btn-lg { min-height: 60px; padding: .9rem 2.2rem; font-size: 1.15rem; }
.form-note { font-size: .875rem; color: var(--muted); margin: 1.25rem 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: #f0f6ea; border-top: 1px solid var(--line); padding-top: 4rem; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 1rem; }
.footer-brand p { color: var(--muted); max-width: 22rem; }
.site-footer h4 { font-size: 1.0625rem; color: var(--green-900); margin-bottom: .9rem; }
.site-footer ul { display: grid; gap: .15rem; }
.site-footer li a, .site-footer li button.linklike { color: var(--ink); text-decoration: none; display: inline-block; padding: .35rem 0; min-height: 36px; }
.site-footer li a:hover, .site-footer li button.linklike:hover { color: var(--green-700); text-decoration: underline; }
.linklike { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: start; }
.social { display: flex; gap: .6rem; margin-top: 1rem; }
.social a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--green-800); transition: background-color .2s, color .2s, transform .2s; }
.social a:hover { background: var(--green-700); color: #fff; transform: translateY(-3px); }
.ltr-inline { direction: ltr; unicode-bidi: plaintext; display: inline-block; }
.disclaimer { border-top: 1px solid var(--line); padding: 1.5rem 0; color: var(--muted); font-size: .9375rem; line-height: 1.7; }
.disclaimer strong { color: var(--ink); }
.copyright { background: #e4eedb; padding: 1rem 0; font-size: .9375rem; color: var(--muted); }
.copyright .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { gap: 1.75rem 1rem; } .footer-grid > div:last-child { grid-column: 1 / -1; } }

/* ---------- Legal / inner pages ---------- */
.page-hero { background: linear-gradient(180deg, #f6fbf1, #ecf6e2); padding-block: clamp(2.5rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line); }
.page-hero p { color: var(--muted); max-width: 44rem; margin: 0; }
.breadcrumb { font-size: .9375rem; margin-bottom: 1rem; color: var(--muted); }
.breadcrumb a { color: var(--green-700); }
.legal { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.legal-grid { display: grid; grid-template-columns: 260px 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 1.5rem); max-height: calc(100dvh - var(--header-h) - 3rem); overflow-y: auto; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.25rem 1rem; }
.toc h2 { font-size: 1.05rem; margin-bottom: .5rem; color: var(--green-900); }
.toc a { display: block; padding: .4rem 0; color: var(--ink); text-decoration: none; font-size: .9375rem; line-height: 1.4; }
.toc a:hover { color: var(--green-700); text-decoration: underline; }
.prose { max-width: 50rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2.25rem; color: var(--green-900); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin-top: 1.5rem; color: var(--green-800); }
.prose ul { list-style: disc; padding-inline-start: 1.4rem; margin-bottom: 1em; display: grid; gap: .35rem; }
.prose ol { list-style: decimal; padding-inline-start: 1.4rem; margin-bottom: 1em; display: grid; gap: .35rem; }
.prose .updated { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .75rem 1rem; font-size: .9375rem; color: var(--muted); }
.callout { background: var(--bg-tint); border-inline-start: 4px solid var(--green-600); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 1rem 1.25rem; margin: 1.25rem 0; }
.callout p:last-child { margin: 0; }
.data-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .9375rem; }
.data-table th, .data-table td { border: 1px solid var(--line); padding: .7rem .9rem; text-align: start; vertical-align: top; }
.data-table th { background: var(--bg-soft); color: var(--green-900); }
.table-scroll { overflow-x: auto; }
@media (max-width: 900px) { .legal-grid { grid-template-columns: 1fr; } .toc { position: static; } }

/* ---------- Floating buttons ---------- */
.fab-wa {
  position: fixed; z-index: 900; inset-inline-end: 1rem; bottom: 1rem; width: 58px; height: 58px; border-radius: 50%; background: #128c4a; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(18, 140, 74, .9); transition: transform .2s var(--ease);
}
.fab-wa:hover { transform: scale(1.08); color: #fff; }
.fab-wa .icon { width: 30px; height: 30px; }
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #128c4a; animation: pulse 2.6s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Accessibility widget ---------- */
.a11y-fab {
  position: fixed; z-index: 1100; inset-inline-start: 1rem; bottom: 1rem; width: 58px; height: 58px; border-radius: 50%; border: 3px solid #fff;
  background: #0b3f8a; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(11, 63, 138, .9); transition: transform .2s var(--ease);
}
.a11y-fab:hover { transform: scale(1.08); }
.a11y-fab .icon { width: 32px; height: 32px; fill: currentColor; stroke: none; }
.a11y-panel {
  position: fixed; z-index: 1200; inset-inline-start: 1rem; bottom: 5.5rem; width: min(360px, calc(100vw - 2rem)); max-height: calc(100dvh - 7.5rem); overflow-y: auto;
  background: #fff; color: var(--ink); border-radius: 20px; border: 1px solid var(--line); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .45);
}
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; background: #0b3f8a; color: #fff; border-radius: 20px 20px 0 0; position: sticky; top: 0; }
.a11y-head h2 { margin: 0; font-size: 1.15rem; color: #fff; }
.a11y-close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .18); color: #fff; font-size: 1.5rem; line-height: 1; display: grid; place-items: center; }
.a11y-body { padding: 1rem 1.25rem 1.25rem; display: grid; gap: .6rem; }
.a11y-row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.a11y-btn {
  display: flex; align-items: center; gap: .6rem; min-height: 52px; padding: .5rem .8rem; border-radius: 12px; border: 1.5px solid #c7d3e6; background: #f4f7fc; color: #12305f;
  font-weight: 700; font-size: .9375rem; text-align: start; line-height: 1.25; transition: background-color .2s, border-color .2s;
}
.a11y-btn:hover { border-color: #0b3f8a; }
.a11y-btn[aria-pressed="true"] { background: #0b3f8a; color: #fff; border-color: #0b3f8a; }
.a11y-btn .icon { width: 1.4em; height: 1.4em; }
.a11y-btn.reset { background: #fff3f1; border-color: #f1c0b9; color: #8a1c10; }
.a11y-btn.reset:hover { border-color: #8a1c10; }
.a11y-foot { font-size: .875rem; color: var(--muted); padding-top: .25rem; display: flex; flex-wrap: wrap; gap: .5rem 1rem; }

/* ---------- Privacy / cookie notice ---------- */
.consent-bar {
  position: fixed; z-index: 1150; inset-inline: 0; bottom: 5.5rem; margin-inline: auto; width: min(560px, calc(100vw - 2rem));
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem 1.25rem; box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .4); font-size: .9375rem; line-height: 1.6;
}
.consent-bar[hidden] { display: none; }
.consent-bar h2 { font-size: 1.05rem; margin: 0 0 .3rem; color: var(--green-900); }
.consent-bar p { margin: 0 0 .8rem; color: var(--muted); }
.consent-bar .actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
@media (min-width: 900px) { .consent-bar { inset-inline: auto; inset-inline-end: 6rem; bottom: 1rem; margin: 0; width: min(440px, calc(100vw - 9rem)); } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Accessibility modes (set on <html> by the accessibility widget)
   ========================================================================== */
html.a11y-fs--1 { font-size: 90%; }
html.a11y-fs-1 { font-size: 112.5%; }
html.a11y-fs-2 { font-size: 125%; }
html.a11y-fs-3 { font-size: 150%; }
html.a11y-fs-4 { font-size: 175%; }
html.a11y-gray { filter: grayscale(1); }
html.a11y-invert { filter: invert(1) hue-rotate(180deg); }
html.a11y-gray.a11y-invert { filter: grayscale(1) invert(1) hue-rotate(180deg); }
html.a11y-invert img, html.a11y-invert video { filter: invert(1) hue-rotate(180deg); }
html.a11y-contrast *:not(svg):not(path):not(img), html.a11y-light *:not(svg):not(path):not(img) { background-image: none !important; box-shadow: none !important; text-shadow: none !important; }
html.a11y-contrast *:not(svg):not(path):not(img) { background-color: #000 !important; color: #fff !important; border-color: #fff !important; -webkit-text-fill-color: #fff !important; }
html.a11y-contrast a, html.a11y-contrast a *, html.a11y-contrast .eyebrow, html.a11y-contrast summary { color: #ffe600 !important; -webkit-text-fill-color: #ffe600 !important; }
html.a11y-contrast img { mix-blend-mode: normal !important; -webkit-mask-image: none !important; mask-image: none !important; background: #fff; }
html.a11y-contrast .btn, html.a11y-contrast button, html.a11y-contrast input, html.a11y-contrast select, html.a11y-contrast textarea { border: 2px solid #fff !important; }
html.a11y-light *:not(svg):not(path):not(img) { background-color: #fff !important; color: #000 !important; border-color: #000 !important; -webkit-text-fill-color: #000 !important; }
html.a11y-light img { mix-blend-mode: normal !important; }
html.a11y-light .btn, html.a11y-light button { border: 2px solid #000 !important; }
html.a11y-links a { text-decoration: underline !important; text-decoration-thickness: 2px !important; font-weight: 800 !important; outline: 2px dashed currentColor; outline-offset: 2px; }
html.a11y-font, html.a11y-font * { font-family: Arial, "Segoe UI", Tahoma, sans-serif !important; letter-spacing: .02em !important; }
html.a11y-font body { line-height: 1.9; }
html.a11y-nomotion *, html.a11y-nomotion *::before, html.a11y-nomotion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-nomotion .js .reveal, html.a11y-nomotion .reveal { opacity: 1 !important; transform: none !important; }
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'><path d='M4 2l16 9-7 2 4 8-3 1-4-8-5 5z' fill='black' stroke='white' stroke-width='1.5'/></svg>") 4 2, auto !important; }
html.a11y-focus *:focus-visible { outline: 4px solid #ff6a00 !important; outline-offset: 3px !important; }

@media print {
  .site-header, .fab-wa, .a11y-fab, .a11y-panel, .consent-bar, .nav-toggle { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Articles ---------- */
.article-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); max-width: 52rem; margin-bottom: .6rem; }
.tag, .rel-cat { display: inline-block; background: var(--bg-tint); color: var(--green-800); font-weight: 700; font-size: .8125rem; padding: .2rem .8rem; border-radius: 999px; margin: 0 0 .75rem; width: fit-content; }
.meta { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; font-size: .9375rem; color: var(--muted); margin: 0; max-width: none; }
.meta a { color: var(--green-800); font-weight: 600; }
.article { max-width: 52rem; font-size: 1.125rem; line-height: 1.85; }
.article h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 2.6rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
.article h3 { font-size: 1.2rem; margin-top: 1.75rem; }
.answer-box { background: linear-gradient(135deg, #f1f9e8, #e4f3d6); border: 1px solid var(--lime); border-inline-start: 6px solid var(--green-600); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 1.5rem; }
.answer-box p:last-child { margin: 0; font-weight: 500; }
.answer-label, .kp-title { font-weight: 800; color: var(--green-800); font-size: .9375rem; letter-spacing: .02em; margin: 0 0 .35rem; }
.key-points { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 2rem; }
.key-points ul { margin: 0; }
.toc-cta { margin-top: .75rem; width: 100%; }
.cta-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; background: linear-gradient(135deg, var(--green-800), var(--green-600)); color: #fff; border-radius: var(--radius); padding: 1.75rem 2rem; margin: 3rem 0 2rem; }
.cta-banner p { margin: 0; color: rgba(255, 255, 255, .92); }
.cta-banner .cta-title { color: #fff; font-weight: 800; font-size: 1.3rem; margin-bottom: .3rem; }
.cta-banner > div:first-child { flex: 1 1 320px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.author-box { display: flex; gap: 1.25rem; align-items: flex-start; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 2rem 0; font-size: 1rem; line-height: 1.7; }
.author-box img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; flex: none; background: var(--bg-tint); }
.author-box p { margin: 0 0 .4rem; }
.author-name { font-weight: 800; font-size: 1.1rem; color: var(--green-900); }
.related-list, .art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; list-style: none; padding: 0; }
.related-list a, .art-card { display: flex; flex-direction: column; gap: .35rem; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem 1.25rem; text-decoration: none; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.related-list a:hover, .art-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--lime); color: var(--ink); }
.related-list strong { line-height: 1.4; }
.sources { font-size: .9375rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 2rem; padding-top: .5rem; }
.sources h2 { font-size: 1.15rem; margin-top: 1.25rem; }
.faq-section .faq { max-width: none; }
.art-section { margin-bottom: 3rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
.art-section h2 { font-size: 1.7rem; color: var(--green-900); margin-bottom: .25rem; }
.art-card h3 { font-size: 1.1rem; margin: 0; color: var(--green-900); line-height: 1.4; }
.art-card p { margin: 0; font-size: .9375rem; color: var(--muted); line-height: 1.6; flex: 1; }
.art-card .card-link { font-size: .9375rem; color: var(--green-700); margin-top: .4rem; }
.art-card .card-link small { color: var(--muted); font-weight: 500; margin-inline-start: .4rem; }
.cat-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 2.5rem; }
.cat-chips a { padding: .5rem 1.2rem; border-radius: 999px; background: var(--bg-tint); color: var(--green-900); font-weight: 700; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; gap: .3rem; }
.cat-chips a:hover { background: var(--green-700); color: #fff; }
.teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; list-style: none; padding: 0; margin: 0 0 2rem; }
@media (max-width: 900px) { .teaser-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .teaser-grid { grid-template-columns: 1fr; } .author-box { flex-direction: column; } .article { font-size: 1.0625rem; } }
.center { text-align: center; }
