@font-face {
  font-family: "Heebo";
  src: url("fonts/heebo-hebrew.woff2") format("woff2");
  font-weight: 300 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("fonts/heebo-latin.woff2") format("woff2");
  font-weight: 300 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}

:root {
  --bg: #f7f7fa; --ink: #0f172a; --muted: #4b5563; --brand: #0b3e7a; --brand-2: #215ea7;
  --card: #fff; --line: #e5e7eb; --focus: #f59e0b; --dark: #0b1730;
  --header-h: 64px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.7; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.skip { position: absolute; inset-inline-start: 12px; top: -80px; z-index: 100; background: #fff; color: var(--brand); padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 10px 20px; border-radius: 12px; background: var(--brand); color: #fff; font: inherit; font-weight: 600; text-decoration: none; border: 1.5px solid var(--brand); cursor: pointer; transition: background .2s; }
.btn:hover { background: var(--brand-2); border-color: var(--brand-2); }
.btn-outline { background: #fff; color: var(--brand); }
.btn-outline:hover { background: #eef3fa; color: var(--brand); }
.btn-light { background: #fff; color: var(--brand); border-color: #fff; }
.btn-light:hover { background: #e8eef8; border-color: #e8eef8; }
.btn-ghost-light { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn-row.center { justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); position: relative; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.25; }
.brand-name { font-weight: 800; font-size: 1.08rem; color: var(--ink); }
.brand-tag { font-size: .85rem; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; color: var(--muted); font-weight: 500; }
.site-nav a:hover { color: var(--brand); }
.lang-link { border: 1px solid var(--line); border-radius: 10px; padding: 5px 12px; font-weight: 600 !important; color: var(--brand) !important; }
.menu-btn { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-weight: 600; color: var(--brand); cursor: pointer; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; content: ""; }
.menu-icon::before { position: absolute; top: -6px; }
.menu-icon::after { position: absolute; top: 6px; }

@media (max-width: 860px) {
  :root { --header-h: 58px; }
  .brand-name { font-size: 1rem; }
  .brand-tag { display: none; }
  .js .menu-btn { display: inline-flex; }
  .js .site-nav { display: none; position: absolute; inset-inline: -16px; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0,0,0,.08); padding: 8px 16px 16px; flex-direction: column; align-items: stretch; gap: 4px; }
  .js .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 12px 4px; border-bottom: 1px solid #f1f2f5; color: var(--ink); }
  .lang-link { align-self: flex-start; margin-top: 10px; }
  html:not(.js) .site-nav { flex-wrap: wrap; gap: 10px; }
  html:not(.js) .bar { flex-wrap: wrap; padding-block: 8px; }
}

/* Hero */
.hero { position: relative; min-height: 62vh; display: grid; place-items: center; overflow: hidden; background: #1d2633; }
.hero picture, .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img { object-fit: cover; filter: grayscale(.15) contrast(1.05); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.4)); }
.hero-inner { position: relative; z-index: 1; color: #fff; text-align: center; padding: 56px 0; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.2; margin: 0 0 10px; font-weight: 800; }
.hero p { font-size: clamp(1.05rem, 2.1vw, 1.25rem); margin: 0 auto; max-width: 46ch; }

/* Sections */
section { padding: 72px 0; }
.sec-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 22px; line-height: 1.3; }
.lead { font-size: 1.125rem; color: var(--muted); line-height: 1.9; margin: 0 0 16px; }
.areas { background: linear-gradient(180deg, #f3f6fb, #fff); }
.grid { display: grid; gap: 20px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card a { display: flex; flex-direction: column; height: 100%; background: var(--card); border: 1px solid #eef0f4; border-radius: 18px; padding: 22px; box-shadow: 0 6px 20px rgba(15,23,42,.06); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.card a:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(15,23,42,.10); }
.card h3 { margin: 0 0 6px; font-size: 1.18rem; color: var(--brand); }
.card p { margin: 0 0 12px; color: var(--muted); }
.card .more { margin-top: auto; font-weight: 600; color: var(--brand); }
.card .more::after { content: " ←"; }
[dir="ltr"] .card .more::after { content: " →"; }

/* Contact */
.contact { background: var(--brand); color: #fff; }
.contact-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.contact-list { margin: 0; }
.contact-list div { display: flex; gap: 10px; padding: 6px 0; font-size: 1.1rem; }
.contact-list dt { font-weight: 700; min-width: 70px; }
.contact-list dd { margin: 0; }
.contact-list a { color: #fff; }
.contact-form { background: #fff; color: var(--ink); border-radius: 18px; padding: 24px; }
.contact-form h3 { margin: 0 0 14px; font-size: 1.25rem; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; margin-bottom: 4px; }
.field input, .field textarea { width: 100%; font: inherit; padding: 11px 13px; border: 1.5px solid #8a94a6; border-radius: 10px; background: #fff; color: var(--ink); }
.field input[aria-invalid="true"], .check input[aria-invalid="true"] { border-color: #b42318; outline: 2px solid #b42318; }
.field textarea { resize: vertical; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.notice { font-size: .9rem; color: var(--muted); margin: 4px 0 10px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; margin-bottom: 12px; }
.check input { width: 20px; height: 20px; margin-top: 4px; flex: 0 0 auto; accent-color: var(--brand); }
.check a { color: var(--brand); }
.form-status { min-height: 1.4em; font-weight: 600; margin: 0 0 10px; }
.form-status.err { color: #b42318; }
.form-status.ok { color: #067647; }

/* Inner pages */
.crumbs { padding-top: 22px; font-size: .92rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; color: #9aa3b2; }
.crumbs a { color: var(--brand); }
.area, .prose { padding: 24px 0 64px; }
.area h1, .prose h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: 1.25; margin: 8px 0 18px; }
.area h2, .prose h2 { font-size: 1.35rem; margin: 34px 0 12px; }
.area p, .prose p { font-size: 1.08rem; }
.prose a { color: var(--brand); }
.muted { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
@media (min-width: 700px) { .ticks { grid-template-columns: 1fr 1fr; } }
.ticks li { background: #fff; border: 1px solid #eef0f4; border-radius: 12px; padding: 12px 14px; padding-inline-start: 40px; position: relative; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 15px; top: 19px; width: 12px; height: 7px; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg); }
.faq details { background: #fff; border: 1px solid #eef0f4; border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 600; min-height: 44px; }
.faq details p { margin: 0; padding: 0 16px 16px; color: var(--muted); }
.cta-box { margin-top: 40px; background: var(--brand); color: #fff; border-radius: 18px; padding: 26px; }
.cta-box h2 { margin-top: 0; }
.cta-box .btn { background: #fff; color: var(--brand); border-color: #fff; }
.cta-box .btn-outline { background: transparent; color: #fff; }
.others ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.others a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; color: var(--brand); font-weight: 500; }

/* Footer */
.site-footer { background: var(--dark); color: #c7d2fe; padding: 32px 0 20px; font-size: .95rem; }
.site-footer a { color: #fff; }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.foot-grid p { margin: 0 0 4px; }
.foot-name { font-weight: 700; color: #fff; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 18px; padding-top: 14px; font-size: .85rem; }
.foot-bottom p { margin: 0 0 4px; }

/* Mobile quick-contact bar */
.mobile-bar { display: none; }
@media (max-width: 860px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset-inline: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(0,0,0,.08); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 12px; font-weight: 700; text-decoration: none; background: var(--brand); color: #fff; }
  .mobile-bar a + a { background: #fff; color: var(--brand); border: 1.5px solid var(--brand); }
  body { padding-bottom: 72px; }
}

/* Articles */
.article h2 { margin-top: 30px; }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0 20px; }
.article ul, .article ol { padding-inline-start: 22px; }
.article li { margin-bottom: 6px; }
.table-wrap { overflow-x: auto; margin: 14px 0; }
.table-wrap table { border-collapse: collapse; width: 100%; background: #fff; font-size: 1rem; }
.table-wrap th, .table-wrap td { border: 1px solid var(--line); padding: 10px 12px; text-align: start; vertical-align: top; }
.table-wrap th { background: #eef3fa; }
.back-area a { font-weight: 600; }
.article-links { padding-inline-start: 22px; }
.article-links a { color: var(--brand); font-weight: 500; }
.card-title { margin: 0 0 6px; font-size: 1.18rem; color: var(--brand); line-height: 1.35; }
.articles-index { padding-top: 40px; }
