/* משרד עו"ד כרמית גבאי — carmit-adv.com
   צבעי המותג מהלוגו: כחול #14558b, לבן. כהה: נייבי. הדגשה עדינה: טורקיז מהאתר הקודם. */
:root {
  --navy: #0c2a47;
  --blue: #14558b;
  --blue-2: #0f4472;
  --blue-3: #1d6cae;
  --teal: #14969c;
  --sky: #e8f0f7;
  --sky-2: #f4f8fc;
  --ink: #15202b;
  --ink-2: #384556;
  --muted: #5a6877;
  --line: #d6e1ec;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 24px 50px -28px rgba(12, 42, 71, .45);
  --grad: linear-gradient(120deg, #14558b 0%, #14969c 100%);
  --serif: Tahoma, "Segoe UI", Arial, sans-serif;
  --font: Tahoma, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; margin: 0; font-weight: 700; color: var(--navy); text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
.accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 40px); }
.section { padding: clamp(64px, 9vw, 116px) 0; position: relative; }
#services { padding-top: clamp(36px, 5vw, 64px); }
.section.tight { padding: clamp(40px, 6vw, 72px) 0; }
.page-hero + .section.tight { padding-top: 28px; }
.section.soft { background: var(--sky-2); }
.eyebrow { color: var(--blue); font-weight: 700; letter-spacing: .05em; margin: 0 0 12px; font-size: .92rem; }
.eyebrow::before { content: ""; display: inline-block; width: 26px; height: 2px; background: var(--teal); vertical-align: middle; margin-inline-end: 10px; }
.eyebrow.light { color: #bcd8ee; }
.eyebrow.small { margin-top: 0; }
.sub { color: var(--muted); font-size: clamp(1.02rem, 1.5vw, 1.18rem); max-width: 660px; margin: 16px 0 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { inset-inline-start: 8px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* ---------- כפתורים ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 600; font-family: inherit; font-size: 1.02rem; padding: 14px 28px; border-radius: 999px; border: 0; cursor: pointer; box-shadow: 0 12px 26px -12px rgba(20, 85, 139, .7); transition: transform .25s, box-shadow .25s, background .25s; }
.btn:hover { transform: translateY(-2px); background: var(--blue-2); box-shadow: 0 16px 30px -12px rgba(20, 85, 139, .75); }
.btn-sm { padding: 10px 20px; font-size: .95rem; }
.btn-ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; box-shadow: none; }
.btn-light { background: #fff; color: var(--navy); box-shadow: none; }
.btn-light:hover { background: var(--sky); }
.btn-outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); }
.more { color: var(--blue); font-weight: 600; font-size: .95rem; margin-top: auto; }

/* ---------- מד גלילה + כותרת עליונה ---------- */
.scroll-meter { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 60; }
.scroll-meter span { display: block; height: 100%; width: 0; background: var(--grad); }
.topbar { position: fixed; top: 10px; inset-inline: 0; margin-inline: auto; width: min(1160px, 100% - 24px); z-index: 50; display: flex; align-items: center; gap: 24px; padding: 6px 14px 6px 22px; border-radius: 999px; background: rgba(255, 255, 255, .78); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border: 1px solid rgba(214, 225, 236, .9); transition: box-shadow .3s, background .3s; }
.topbar.scrolled { box-shadow: 0 10px 30px -18px rgba(12, 42, 71, .5); background: rgba(255, 255, 255, .94); }
.brand img { height: 66px; width: auto; }
.nav { display: flex; gap: 24px; margin-inline-start: auto; }
.nav a { text-decoration: none; font-weight: 500; color: var(--ink-2); font-size: .98rem; position: relative; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: -4px; height: 2px; background: var(--teal); transform: scaleX(0); transition: transform .25s; }
.nav a:hover::after { transform: scaleX(1); }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; margin-inline-start: auto; position: relative; }
.menu-btn span { position: absolute; inset-inline: 11px; height: 2px; background: var(--navy); transition: transform .3s; }
.menu-btn span:first-child { top: 17px; } .menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-nav { position: fixed; top: 92px; inset-inline: 12px; z-index: 49; background: #fff; border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(12, 42, 71, .5); padding: 14px; display: none; flex-direction: column; gap: 4px; border: 1px solid var(--line); }
.mobile-nav.open { display: flex; }
.mobile-nav a:not(.btn) { padding: 12px 14px; text-decoration: none; color: var(--navy); font-weight: 600; border-radius: 12px; }
.mobile-nav a:not(.btn):hover { background: var(--sky-2); }
.mobile-nav .btn { margin-top: 6px; }
.to-top { position: fixed; inset-block-end: 22px; inset-inline-start: 22px; z-index: 55; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; text-decoration: none; font-size: 1.2rem; box-shadow: 0 12px 26px -10px rgba(20, 85, 139, .7); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s, visibility .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- HERO ---------- */
.hero { padding: 132px 0 56px; position: relative; overflow: hidden; background: radial-gradient(1100px 560px at 15% 0%, #fff 0%, transparent 60%), linear-gradient(180deg, var(--sky-2) 0%, #fff 100%); }
.hero-glow { position: absolute; width: 56vw; height: 56vw; inset-inline-end: -14vw; top: -6%; border-radius: 50%; background: radial-gradient(circle, rgba(20, 85, 139, .13), transparent 65%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; position: relative; }
.pill { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); padding: 7px 16px; border-radius: 999px; font-weight: 500; font-size: .9rem; color: var(--ink-2); margin: 0 0 22px; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(20, 150, 156, .6); animation: ping 2.4s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(20, 150, 156, 0); } 100% { box-shadow: 0 0 0 0 rgba(20, 150, 156, 0); } }
.hero-title { font-size: clamp(2rem, 4vw, 3.15rem); font-weight: 700; line-height: 1.15; }
.hero-title .line { display: block; }
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 22px 0 0; font-weight: 600; font-size: clamp(.98rem, 1.5vw, 1.15rem); color: var(--blue); }
.kicker i { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 580px; margin: 20px 0 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.quick { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.quick a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .96rem; }
.quick a:hover { color: var(--blue); }
.ic { width: 20px; height: 20px; flex: none; }
.hero-visual { position: relative; margin: 0 auto; width: min(430px, 100%); }
.hero-visual::before { content: ""; position: absolute; inset: 0; transform: translate(-18px, 18px); border: 1.5px solid var(--teal); border-radius: 999px 999px 26px 26px; }
.arch { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 26px 26px; overflow: hidden; box-shadow: var(--shadow); background: var(--sky); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.float { position: absolute; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: 0 18px 40px -20px rgba(12, 42, 71, .55); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; max-width: 205px; font-size: .84rem; color: var(--muted); }
.float b { color: var(--navy); font-size: .95rem; font-weight: 700; }
.float.f1 { inset-inline-start: -36px; bottom: 40px; }
.float.f2 { inset-inline-end: -30px; bottom: 40px; }

/* ---------- תחומים ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 44px; }
.svc-card { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-decoration: none; color: inherit; transition: transform .3s, box-shadow .3s, border-color .3s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #b9cfe3; }
.svc-card h3 { font-size: 1.3rem; }
.svc-card p { margin: 0; color: var(--ink-2); }
.svc-card.big { padding: 32px; }
.svc-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--sky); color: var(--blue); display: grid; place-items: center; }
.svc-ic .ic { width: 26px; height: 26px; }
.svc-ic.big { width: 60px; height: 60px; margin-bottom: 18px; }
.svc-more { margin-top: 40px; }
.svc-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 12px; }
.svc-row .svc-card { flex-direction: column; padding: 22px 24px; }
.svc-row .svc-card h3 { font-size: 1.2rem; }

/* ---------- דרך העבודה ---------- */
.how { background: var(--navy); color: #d7e6f3; }
.how h2 { color: #fff; }
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { border-top: 1px solid rgba(255, 255, 255, .22); padding-top: 22px; }
.steps .n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 700; margin-bottom: 14px; }
.steps h3 { color: #fff; font-size: 1.3rem; margin-bottom: 8px; }
.steps p { margin: 0; color: #c2d7e8; }

/* ---------- אודות ---------- */
.about-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: 56px; align-items: start; }
.about-copy p { color: var(--ink-2); font-size: 1.06rem; margin: 0 0 16px; }
.about-copy .sub { margin-top: 12px; color: var(--blue); font-weight: 600; font-size: 1.15rem; }
.path { background: var(--sky-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.path h3 { margin-bottom: 14px; }
.path ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.path li { position: relative; padding: 0 22px 20px 0; display: flex; flex-direction: column; }
.path li::before { content: ""; position: absolute; inset-inline-start: auto; right: 0; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); }
.path li::after { content: ""; position: absolute; right: 4px; top: 20px; bottom: 0; width: 1px; background: var(--line); }
.path li:last-child::after { display: none; }
.path b { color: var(--navy); font-weight: 700; }
.path span { color: var(--muted); font-size: .96rem; }

/* ---------- הרצאות ---------- */
.lect-grid { display: grid; grid-template-columns: 1.2fr .9fr; gap: 36px; margin-top: 40px; align-items: start; }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mosaic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.lect-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.lect-list li { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.lect-list li:first-child { padding-top: 0; }
.lect-list time { color: var(--teal); font-weight: 700; font-size: .9rem; letter-spacing: .04em; }
.lect-list b { color: var(--navy); font-weight: 700; }
.lect-list span { color: var(--muted); font-size: .96rem; }
.tst-grid { column-count: 2; column-gap: 20px; margin-top: 34px; }
.tst-grid .quote { break-inside: avoid; margin: 0 0 20px; }
.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 34px; position: relative; }
.quote::before { content: "״"; position: absolute; top: -6px; inset-inline-start: 22px; font-family: var(--serif); font-size: 5rem; color: var(--sky); line-height: 1; }
.quote blockquote { margin: 0; }
.quote p { margin: 0; font-size: clamp(1rem, 1.5vw, 1.12rem); color: var(--navy); line-height: 1.75; }
.quote:target { box-shadow: 0 0 0 3px rgba(20, 150, 156, .35); }
.quote figcaption { margin-top: 14px; color: var(--ink-2); font-size: .95rem; }
.quote .more { display: inline-block; margin-top: 14px; text-decoration: none; }
.quote small { color: var(--muted); }

/* ---------- מאמרים ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.art-card { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 14px; padding: 24px; text-decoration: none; color: inherit; transition: transform .3s, box-shadow .3s; }
.art-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.art-card[hidden] { display: none; }
.art-tag { font-size: .78rem; font-weight: 700; letter-spacing: .06em; color: var(--teal); }
.art-card h3 { font-size: 1.15rem; line-height: 1.3; }
.art-card p { margin: 0; color: var(--muted); font-size: .96rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.search { margin-top: 22px; max-width: 460px; }
.search input { width: 100%; font: inherit; padding: 13px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; }
.search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(20, 85, 139, .12); }
.empty { color: var(--muted); text-align: center; margin: 30px 0 0; }

/* ---------- יצירת קשר ---------- */
.contact { background: linear-gradient(160deg, var(--navy) 0%, #0f3a63 100%); color: #d7e6f3; }
.contact h2 { color: #fff; }
.contact .sub { color: #b8d0e4; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.info-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .ic { color: #7fc9cd; margin-top: 3px; }
.info-list b { display: block; color: #fff; font-weight: 600; font-size: .92rem; }
.info-list a, .info-list span { color: #e6f0f8; text-decoration: none; }
.info-list a:hover { text-decoration: underline; }
.fine { margin-top: 26px; font-size: .9rem; color: #9fbdd6; }
.form-card { background: #fff; color: var(--ink); border-radius: 24px; padding: clamp(24px, 3.4vw, 40px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55); }
.form-card h3 { margin-bottom: 18px; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.lead-form .wide { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: .92rem; color: var(--navy); }
.field small { font-weight: 400; color: var(--muted); }
.req { color: #b3261e; }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: var(--sky-2); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, background .2s, box-shadow .2s; resize: vertical; }
.field input[dir="ltr"] { text-align: right; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(20, 85, 139, .12); }
.field.invalid input { border-color: #b3261e; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; gap: 8px; }
.consent-check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; line-height: 1.45; font-size: .92rem; color: var(--ink-2); }
.consent-check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blue); cursor: pointer; }
.consent.invalid .consent-check { color: #b3261e; font-weight: 600; }
.consent .note { margin: 0; font-size: .82rem; color: var(--muted); }
.form-msg { margin: 0; min-height: 1.4em; font-weight: 600; }
.form-msg.ok { color: #0b6b3a; font-size: 1.1rem; } .form-msg.err { color: #b3261e; }
.lead-form.sent .field, .lead-form.sent .btn, .lead-form.sent .consent { display: none; }

/* ---------- חלון קופץ ---------- */
dialog#lead-modal { border: 0; padding: 0; border-radius: 24px; width: min(560px, 100% - 24px); max-height: calc(100dvh - 24px); overflow: auto; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); }
dialog#lead-modal::backdrop { background: rgba(12, 42, 71, .6); backdrop-filter: blur(3px); }
.modal-card { padding: 30px; position: relative; }
.modal-card h2 { font-size: 1.9rem; }
.modal-sub { color: var(--muted); margin: 6px 0 18px; }
.modal-close { position: absolute; top: 14px; inset-inline-end: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--sky); color: var(--navy); cursor: pointer; font-size: 1rem; }
.modal-close:hover { background: #d6e5f2; }

/* ---------- עמודים פנימיים ---------- */
.page-hero { padding: 128px 0 40px; background: linear-gradient(180deg, var(--sky-2) 0%, #fff 100%); }
.page-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); max-width: 22ch; }
.page-hero.art-hero h1 { max-width: none; font-size: clamp(1.55rem, 3.2vw, 2.2rem); line-height: 1.3; }
.page-hero .lead { margin-bottom: 26px; }
.byline { color: var(--muted); margin: 14px 0 0; font-size: .95rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 4px; padding: 0; margin: 0 0 20px; font-size: .88rem; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "‹"; margin-inline-start: 6px; color: #9fb2c5; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.prose { color: var(--ink-2); font-size: 1.08rem; }
.prose h2 { font-size: 1.35rem; margin: 38px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { padding-inline-start: 22px; margin: 0 0 18px; }
.prose li { margin-bottom: 8px; }
.prose a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .98rem; display: block; overflow-x: auto; }
.prose td { border: 1px solid var(--line); padding: 8px 12px; vertical-align: top; }
.prose .lead-img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); margin: 0 0 30px; }
.blk { margin-bottom: 8px; }
.check { list-style: none; padding: 0 !important; }
.check li { position: relative; padding-inline-start: 34px; }
.check li::before { content: ""; position: absolute; inset-inline-start: 0; top: .42em; width: 18px; height: 18px; border-radius: 50%; background: var(--sky); box-shadow: inset 0 0 0 1.5px var(--teal); }
.check li::after { content: ""; position: absolute; inset-inline-start: 6px; top: calc(.42em + 4px); width: 5px; height: 8px; border: solid var(--teal); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.vsteps { list-style: none; padding: 0 !important; counter-reset: v; display: grid; gap: 14px; }
.vsteps li { counter-increment: v; position: relative; display: flex; flex-direction: column; gap: 2px; background: var(--sky-2); border: 1px solid var(--line); border-radius: 14px; padding: 16px 64px 16px 18px; margin: 0; }
.vsteps li::before { content: counter(v); position: absolute; inset-inline-start: auto; right: 16px; top: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; }
.vsteps b { color: var(--navy); }
.vsteps span { color: var(--ink-2); font-size: .98rem; }
.rel { padding-inline-start: 20px; }
.disc { margin-top: 30px; padding: 16px 18px; background: var(--sky-2); border-radius: 12px; font-size: .9rem; color: var(--muted); }
.mini { font-size: 1.45rem; margin-bottom: 8px; }
.cta-band { background: var(--blue); color: #fff; padding: 46px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p { margin: 8px 0 0; color: #d3e5f4; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.legal h2 { font-size: 1.35rem; margin: 30px 0 10px; }

/* ---------- פוטר ---------- */
.footer { background: #0a2038; color: #b5c9dc; padding: 60px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.foot-brand img { width: 190px; margin-bottom: 14px; }
.foot-brand p { margin: 0 0 14px; font-size: .95rem; max-width: 34ch; }
.foot-col { display: flex; flex-direction: column; gap: 8px; }
.foot-col h2 { font-family: var(--font); font-size: .95rem; color: #fff; font-weight: 600; margin-bottom: 4px; letter-spacing: .03em; }
.foot-col a, .foot-col span { color: #b5c9dc; text-decoration: none; font-size: .95rem; }
.foot-col a:hover { color: #fff; text-decoration: underline; }
.social { display: flex; gap: 10px; }
.social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; }
.social a:hover { background: rgba(255, 255, 255, .2); }
.social svg { width: 18px; height: 18px; fill: #fff; }
.legal-line { margin-top: 44px; padding: 22px 0 30px; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 6px; font-size: .84rem; color: #8ea8c0; }
.legal-line p { margin: 0; }

/* ---------- אנימציית כניסה ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--delay, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- נגישות ---------- */
.a11y-btn { position: fixed; top: 50%; inset-inline-end: 0; transform: translateY(-50%); z-index: 70; width: 46px; height: 50px; border: 0; border-start-start-radius: 14px; border-end-start-radius: 14px; background: #1f4fa3; color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5); }
.a11y-btn svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.a11y-btn svg circle { fill: #fff; stroke: none; }
.a11y-btn:hover, .a11y-btn[aria-expanded="true"] { background: #173c7e; }
.a11y-panel { position: fixed; top: 50%; inset-inline-end: 54px; transform: translateY(-50%); z-index: 71; width: min(300px, calc(100vw - 70px)); background: #fff; color: var(--ink); border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); padding: 16px; font-family: var(--font); }
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 1.1rem; }
.a11y-close { background: none; border: 0; font-size: 1.1rem; cursor: pointer; width: 34px; height: 34px; border-radius: 8px; }
.a11y-close:hover { background: var(--sky); }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-grid button { font: inherit; font-size: .9rem; font-weight: 600; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; border: 1.5px solid #dde3ee; border-radius: 12px; background: #f6f8fc; cursor: pointer; color: var(--ink); }
.a11y-grid button .ic { font-size: 1.2rem; font-weight: 800; width: auto; height: auto; }
.a11y-grid button[aria-pressed="true"] { background: #1f4fa3; border-color: #1f4fa3; color: #fff; }
.a11y-reset { width: 100%; margin-top: 10px; font: inherit; font-weight: 700; padding: 10px; border-radius: 12px; border: 0; background: var(--sky); cursor: pointer; }
.a11y-statement { display: block; text-align: center; margin-top: 10px; color: #1f4fa3; font-weight: 700; }
html.a11y-font-1 { font-size: 112.5%; }
html.a11y-font-2 { font-size: 125%; }
html.a11y-contrast body > *:not(.a11y-btn):not(.a11y-panel) { filter: contrast(1.45); }
html.a11y-gray body > *:not(.a11y-btn):not(.a11y-panel) { filter: grayscale(1); }
html.a11y-contrast.a11y-gray body > *:not(.a11y-btn):not(.a11y-panel) { filter: grayscale(1) contrast(1.45); }
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; outline: 2px dashed #1f4fa3; outline-offset: 2px; }
html.a11y-readable, html.a11y-readable body, html.a11y-readable h1, html.a11y-readable h2, html.a11y-readable h3, html.a11y-readable button, html.a11y-readable input, html.a11y-readable textarea, html.a11y-readable select { font-family: Arial, Tahoma, sans-serif !important; letter-spacing: .01em; }
html.a11y-readable .accent { background: none; -webkit-text-fill-color: var(--blue); color: var(--blue); }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-still .reveal { opacity: 1; transform: none; }

/* ---------- רספונסיבי ---------- */
@media (max-width: 1020px) {
  .nav, .nav-cta { display: none; }
  .menu-btn { display: block; }
  .hero-grid, .about-grid, .lect-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 112px; }
  .hero-visual { width: min(360px, 88%); margin-top: 20px; }
  .float.f1 { inset-inline-start: -10px; } .float.f2 { inset-inline-end: -10px; }
  .art-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .tst-grid { column-count: 1; }
  .svc-grid, .steps, .art-grid { grid-template-columns: 1fr; }
  .lead-form { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; }
  .float { position: static; max-width: none; margin-top: 10px; }
  .hero-visual::before { display: none; }
  .to-top { inset-block-end: 16px; inset-inline-start: 16px; width: 42px; height: 42px; }
  .quote { padding: 26px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
