/* =========================================================
   נאוית קובילינסקי קופרשטיין – משרד עו"ד ונוטריון
   Brand palette taken from the original site
   ========================================================= */
:root {
  --berry: #a63967;      /* primary – logo colour */
  --berry-600: #8e2e57;
  --plum: #6e0048;       /* deep brand */
  --wine: #4c0e28;       /* darkest brand */
  --ink: #313438;        /* body text */
  --navy: #073447;       /* secondary accent */
  --mist: #f6fcff;       /* light background */
  --blush: #fbf1f5;
  --line: #e7e8ea;
  --muted: #5b5f66;
  --white: #ffffff;
  --wa: #1f7a4d;         /* WhatsApp green, darkened for AA contrast */

  --radius: 14px;
  --shadow: 0 1px 2px rgba(76, 14, 40, .04), 0 8px 24px rgba(76, 14, 40, .06);
  --max: 1160px;
  --font: "IBM Plex Sans Hebrew", "Heebo", Arial, sans-serif;
  --font-head: var(--font);
  --fs: 1.125rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs);
  line-height: 1.7;
  color: var(--ink);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--berry-600); text-underline-offset: 3px; }
a:hover { color: var(--plum); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--wine); line-height: 1.2; margin: 0 0 .55em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { padding-inline-start: 1.3em; margin: 0 0 1em; }
li { margin-bottom: .35em; }

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

.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.narrow { width: min(100% - 32px, 820px); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 1000;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(6px);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { width: 210px; height: auto; }
.main-nav { margin-inline-start: auto; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; flex-wrap: wrap; }
.main-nav li { margin: 0; }
.main-nav a {
  display: block; padding: 8px 11px; border-radius: 8px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1rem;
}
.main-nav a:hover { background: var(--blush); color: var(--plum); }
.main-nav a[aria-current="page"] { color: var(--berry); box-shadow: inset 0 -2px 0 var(--berry); border-radius: 0; }
.header-cta { display: flex; gap: 8px; }
.nav-toggle {
  display: none; margin-inline-start: auto; background: none; border: 1px solid var(--line);
  border-radius: 10px; padding: 8px 12px; font: inherit; font-weight: 700; color: var(--wine); cursor: pointer;
}
.nav-toggle svg { vertical-align: middle; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-primary { background: var(--berry); color: #fff; }
.btn-primary:hover { background: var(--plum); color: #fff; }
.btn-outline { border-color: var(--berry); color: var(--berry-600); background: #fff; }
.btn-outline:hover { background: var(--berry); color: #fff; }
.btn-light { background: #fff; color: var(--wine); }
.btn-light:hover { background: var(--blush); color: var(--wine); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #17603c; color: #fff; }
.btn-sm { padding: 8px 14px; font-size: .95rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    linear-gradient(115deg, rgba(76,14,40,.94) 0%, rgba(110,0,72,.88) 45%, rgba(166,57,103,.78) 100%),
    url("../img/hero-office.jpg") center/cover no-repeat;
}
.hero-inner { padding: clamp(56px, 9vw, 110px) 0 clamp(56px, 8vw, 96px); max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: .35em; font-size: clamp(2rem, 4vw, 3rem); }
.hero-name { white-space: nowrap; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-grid .hero-inner { max-width: none; }
.hero-photo { margin: 0; padding: clamp(32px, 5vw, 56px) 0; }
.hero-photo img {
  width: 100%; max-width: 440px; margin-inline-start: auto; aspect-ratio: 1194 / 1317; object-fit: cover;
  border-radius: 20px; border: 4px solid rgba(255,255,255,.9); box-shadow: 0 24px 60px rgba(0,0,0,.35);
}

.hero .eyebrow { display: inline-block; font-weight: 500; letter-spacing: .02em; background: rgba(255,255,255,.14); padding: 4px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero p.lead { font-size: 1.25rem; font-weight: 300; max-width: 640px; opacity: .96; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 34px 0 0; padding: 0; list-style: none; font-weight: 500; }
.hero-facts li { display: flex; align-items: center; gap: 8px; margin: 0; }
.hero-facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; opacity: .8; }

.page-hero { background: linear-gradient(115deg, var(--wine), var(--plum) 55%, var(--berry)); color: #fff; padding: 46px 0 40px; }
.page-hero h1 { color: #fff; margin: 0; }
.page-hero p { margin: 10px 0 0; font-size: 1.15rem; opacity: .95; max-width: 760px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 14px; font-size: .95rem; }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "‹"; margin-inline-end: 6px; opacity: .8; }
.breadcrumbs a { color: #fff; }
.breadcrumbs [aria-current] { opacity: .9; }

/* ---------- Sections ---------- */
section { scroll-margin-top: 90px; }
.section { padding: clamp(52px, 7vw, 88px) 0; }
.section-alt { background: var(--mist); }
.section-blush { background: var(--blush); }
.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head .kicker, .kicker { color: var(--berry-600); font-weight: 600; font-size: .95rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow); display: flex; flex-direction: column;
  border-top: 4px solid var(--berry);
}
.card h3 { margin-bottom: .4em; font-weight: 600; font-size: 1.35rem; }
.card p { color: var(--muted); }
.card .more { margin-top: auto; font-weight: 600; text-decoration: none; color: var(--berry-600); }
.card .more:hover { text-decoration: underline; }
.card-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--blush); display: grid; place-items: center; margin-bottom: 14px; color: var(--berry); }
.card-icon svg { width: 28px; height: 28px; }

.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.reverse { grid-template-columns: 1.25fr 1fr; }
.portrait { border-radius: 20px; box-shadow: var(--shadow); width: 100%; max-width: 420px; aspect-ratio: 534 / 800; object-fit: cover; margin-inline: auto; }
.figure-frame { position: relative; isolation: isolate; }
.figure-frame::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 3px solid var(--berry); border-radius: 22px; z-index: -1; }

/* Prose (article/service body) */
.prose { font-size: 1.125rem; max-width: 72ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; color: var(--plum); font-family: var(--font); font-weight: 600; font-size: 1.25rem; }
.prose ul li::marker { color: var(--berry); }
.prose ol li::marker { color: var(--berry); font-weight: 700; }
.prose blockquote { margin: 1.5em 0; padding: 18px 24px; border-inline-start: 5px solid var(--berry); background: var(--blush); border-radius: 0 12px 12px 0; font-size: 1.15rem; }
.prose .note { background: var(--mist); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; }
.prose figure { margin: 1.8em 0; }
.prose figcaption { font-size: .95rem; color: var(--muted); margin-top: 8px; }
.prose figure img { border-radius: 12px; border: 1px solid var(--line); }

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.sidebar { position: sticky; top: 100px; display: grid; gap: 20px; }
.side-box { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.side-box h2 { font-size: 1.25rem; font-family: var(--font); font-weight: 600; }
.side-box ul { list-style: none; padding: 0; margin: 0; }
.side-box li { border-bottom: 1px solid var(--line); margin: 0; }
.side-box li:last-child { border-bottom: 0; }
.side-box li a { display: block; padding: 8px 0; text-decoration: none; font-weight: 500; }
.side-cta { background: linear-gradient(140deg, var(--plum), var(--berry)); color: #fff; border: 0; }
.side-cta h2, .side-cta p { color: #fff; }
.side-cta .btn { width: 100%; margin-top: 8px; }

.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-inline-start: 34px; margin-bottom: .7em; }
.checklist li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .35em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--berry) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat;
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.tags li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; margin: 0; font-weight: 600; font-size: .98rem; }

.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; counter-reset: step; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 0; counter-increment: step; box-shadow: var(--shadow); font-weight: 600; color: var(--wine); }
.steps li::before { content: "0" counter(step); display: block; font-family: var(--font-head); font-size: 2rem; color: var(--berry); margin-bottom: 6px; }

.areas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.area { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.area h2 { font-size: 1.4rem; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 360px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 18px; margin: 0; list-style: none; }
.testimonials li { scroll-snap-align: start; margin: 0; }
.carousel { position: relative; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--berry); background: #fff; color: var(--berry-600);
  display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s, opacity .2s;
  box-shadow: 0 4px 14px rgba(76, 14, 40, .15);
}
.carousel-prev { right: -20px; }
.carousel-next { left: -20px; }
.carousel-btn:disabled { opacity: 0; pointer-events: none; }
.carousel-btn:hover:not(:disabled) { background: var(--berry); color: #fff; }
.carousel-btn svg { width: 22px; height: 22px; }
.testimonials { scrollbar-width: none; scroll-behavior: smooth; }
.testimonials::-webkit-scrollbar { display: none; }
.testimonial { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); height: 100%; margin: 0; display: flex; flex-direction: column; }
.testimonial blockquote { margin: 0 0 16px; font-size: 1.05rem; }
.testimonial blockquote::before { content: "”"; display: block; font-family: var(--font-head); font-size: 3.2rem; line-height: .7; color: var(--berry); }
.testimonial figcaption { margin-top: auto; font-weight: 600; color: var(--wine); }
.testimonial figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: .92rem; }

/* ---------- Blog ---------- */
.post-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.post-card h2, .post-card h3 { font-size: 1.35rem; font-weight: 600; }
.post-card h2 a, .post-card h3 a { color: var(--wine); text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--berry); text-decoration: underline; }
.post-meta { color: var(--muted); font-size: .95rem; margin-bottom: 10px; }
.post-card .more { margin-top: auto; font-weight: 700; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; opacity: .95; }
.disclaimer { font-size: .95rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 32px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(115deg, var(--wine), var(--plum) 50%, var(--berry)); color: #fff; padding: 48px 0; }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band h2 { color: #fff; margin: 0 0 4px; }
.cta-band p { margin: 0; opacity: .95; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 20px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.contact-list svg { width: 24px; height: 24px; color: var(--berry); flex-shrink: 0; margin-top: 4px; }
.contact-list strong { display: block; color: var(--wine); }
address { font-style: normal; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.form h2, .form h3 { margin-top: 0; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--wine); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid #c9ccd1; border-radius: 10px; background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--berry); outline: 3px solid rgba(166,57,103,.25); outline-offset: 0; }
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: .9rem; color: var(--muted); }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form-status { margin-top: 12px; font-weight: 700; color: var(--wa); min-height: 1.5em; }
.req { color: var(--berry-600); }

/* ---------- Footer ---------- */
.site-footer { background: var(--wine); color: #f3e7ec; padding: 56px 0 24px; font-size: 1rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.site-footer h2 { color: #fff; font-size: 1.1rem; font-family: var(--font); font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-logo { background: #fff; border-radius: 12px; padding: 10px 14px; display: inline-block; margin-bottom: 14px; }
.footer-logo img { width: 190px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); margin-top: 34px; padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .93rem; }

/* ---------- Floating buttons ---------- */
.wa-float {
  position: fixed; bottom: 20px; right: 20px; z-index: 90;
  display: grid; place-items: center; width: 56px; height: 56px; text-decoration: none;
  background: var(--wa); color: #fff; border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0,0,0,.2);
}
.wa-float:hover { background: #17603c; color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Accessibility widget ---------- */
.a11y-toggle {
  position: fixed; bottom: 20px; left: 20px; z-index: 95;
  width: 56px; height: 56px; border-radius: 50%; border: 3px solid #fff;
  background: var(--navy); color: #fff; cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.a11y-toggle svg { width: 30px; height: 30px; }
.a11y-panel {
  position: fixed; bottom: 88px; left: 20px; z-index: 96; width: min(340px, calc(100vw - 40px));
  max-height: calc(100vh - 110px); overflow-y: auto;
  background: #fff; color: var(--ink); border-radius: 16px; box-shadow: 0 18px 50px rgba(0,0,0,.3);
  border: 1px solid var(--line); padding: 18px;
}
.a11y-panel[hidden] { display: none; }
.a11y-panel h2 { font-size: 1.2rem; font-family: var(--font); color: var(--navy); margin: 0 0 12px; display: flex; justify-content: space-between; align-items: center; }
.a11y-close { background: none; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--ink); padding: 4px 8px; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-grid button {
  font: inherit; font-size: .95rem; font-weight: 600; padding: 12px 8px; border-radius: 10px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--mist); color: var(--ink); display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; line-height: 1.3;
}
.a11y-grid button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.a11y-grid button svg { width: 22px; height: 22px; }
.a11y-panel .a11y-reset { width: 100%; margin-top: 10px; }
.a11y-panel .a11y-statement { display: block; text-align: center; margin-top: 10px; font-weight: 700; }

/* Accessibility modes */
html.a11y-contrast body, html.a11y-contrast .site-header, html.a11y-contrast .main-nav, html.a11y-contrast .nav-toggle, html.a11y-contrast .a11y-panel, html.a11y-contrast .a11y-grid button, html.a11y-contrast section, html.a11y-contrast .card,
html.a11y-contrast .area, html.a11y-contrast .post-card, html.a11y-contrast .testimonial, html.a11y-contrast .form,
html.a11y-contrast .side-box, html.a11y-contrast .steps li, html.a11y-contrast .hero, html.a11y-contrast .page-hero,
html.a11y-contrast .cta-band, html.a11y-contrast .site-footer, html.a11y-contrast .tags li, html.a11y-contrast .prose blockquote,
html.a11y-contrast .prose .note, html.a11y-contrast .field input, html.a11y-contrast .field textarea, html.a11y-contrast .field select {
  background: #000 !important; color: #fff !important; border-color: #fff !important; box-shadow: none !important;
}
html.a11y-contrast h1, html.a11y-contrast h2, html.a11y-contrast h3, html.a11y-contrast p, html.a11y-contrast li,
html.a11y-contrast label, html.a11y-contrast .nav-toggle, html.a11y-contrast .a11y-close, html.a11y-contrast figcaption, html.a11y-contrast span, html.a11y-contrast strong { color: #fff !important; }
html.a11y-contrast a { color: #ffea00 !important; }
html.a11y-contrast .btn { background: #000 !important; color: #ffea00 !important; border-color: #ffea00 !important; }
html.a11y-contrast .brand img, html.a11y-contrast .footer-logo { background: #fff; }
html.a11y-contrast .a11y-grid button[aria-pressed="true"] { background: #ffea00 !important; color: #000 !important; }
html.a11y-contrast .a11y-grid button[aria-pressed="true"] * { color: #000 !important; }
html.a11y-gray main, html.a11y-gray .site-header, html.a11y-gray .site-footer, html.a11y-gray .wa-float { filter: grayscale(1); }
html.a11y-links a { text-decoration: underline !important; text-decoration-thickness: 2px !important; outline: 2px dashed currentColor; outline-offset: 2px; }
html.a11y-font body, html.a11y-font h1, html.a11y-font h2, html.a11y-font h3, html.a11y-font h4, html.a11y-font button, html.a11y-font input, html.a11y-font textarea { font-family: Arial, Helvetica, sans-serif !important; letter-spacing: .02em; }
html.a11y-spacing body { line-height: 2.1; word-spacing: .12em; }
html.a11y-spacing p, html.a11y-spacing li { letter-spacing: .03em; }
html.a11y-cursor, html.a11y-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l16 10-7 1.5L9.5 21z' fill='black' stroke='white' stroke-width='1.3'/%3E%3C/svg%3E") 4 2, auto !important;
}
html.a11y-noanim *, html.a11y-noanim *::before, html.a11y-noanim *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .header-cta .btn-outline { display: none; }
}
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 6px; }
  .main-nav { position: absolute; inset-inline: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 10px 16px 16px; }
  .main-nav a { padding: 12px 10px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav a[aria-current="page"] { box-shadow: inset -4px 0 0 var(--berry); }
  .header-cta { display: none; }
  .split, .split.reverse, .contact-grid, .content-layout { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero h1 { font-size: clamp(1.3rem, calc((100vw - 44px) / 12), 3rem); }
  .hero-photo { padding: 0 0 48px; }
  .hero-photo img { max-width: 360px; margin-inline: auto; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .brand img { width: 170px; }
  .footer-grid { grid-template-columns: 1fr; }
  .figure-frame::after { display: none; }
  .carousel-prev { right: -6px; }
  .carousel-next { left: -6px; }
  .carousel-btn { width: 42px; height: 42px; }
  .hero-actions .btn { flex: 1 1 100%; }
}
@media print {
  .site-header, .wa-float, .a11y-toggle, .a11y-panel, .cta-band, .site-footer, .sidebar { display: none !important; }
  body { color: #000; }
}
.prose ol[type="א"] { list-style-type: hebrew; }
