/* =========================================================
   אלדר משרד עורכי דין — גיליון עיצוב ראשי
   ========================================================= */

/* גופן האתר (Heebo) נטען ישירות ב-<head> של כל עמוד עם preconnect לביצועים טובים יותר */

:root {
  /* צבעי מותג */
  --color-navy: #0A192F;
  --color-navy-light: #1E2A38;
  --color-gold: #C5A059;
  --color-gold-bright: #D4AF37;
  --color-bg: #F8F9FA;
  --color-sage: #E8EFE9;
  --color-white: #FFFFFF;

  /* טקסט */
  --color-text: #16212E;
  --color-text-light: #4A5568;
  --color-text-on-navy: #F2F4F7;
  --color-text-on-navy-muted: #B9C2CE;

  /* פוקוס — ברירת מחדל לרקעים בהירים, נדרס לתוכן על רקע כהה */
  --focus-ring: var(--color-navy);

  /* טיפוגרפיה */
  --font-heading: 'Heebo', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Heebo', 'Segoe UI', Arial, sans-serif;

  /* מידות */
  --container-width: 1180px;
  --radius: 10px;
  --header-height: 96px;
  --shadow-soft: 0 6px 24px rgba(10, 25, 47, 0.08);
  --shadow-strong: 0 12px 40px rgba(10, 25, 47, 0.18);
}

/* ---------- איפוס בסיסי ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 12px);
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 900; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 700; }

p { margin: 0 0 1em; color: var(--color-text-light); }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

ul { margin: 0; padding: 0; list-style: none; }

button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- פוקוס נגיש — חובה בכל האתר ---------- */
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 3px;
}

/* קישור דילוג לתוכן */
.skip-link {
  position: absolute;
  right: 12px;
  top: -60px;
  background: var(--color-gold-bright);
  color: var(--color-navy);
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 0 0 8px 8px;
  z-index: 2000;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
}

/* ---------- כפתורים ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--color-gold-bright);
  color: var(--color-navy);
}
.btn-primary:hover { background: var(--color-gold); box-shadow: var(--shadow-strong); }

.btn-outline {
  background: transparent;
  border-color: var(--color-gold-bright);
  color: var(--color-navy);
}
.btn-outline:hover { background: var(--color-sage); }

.btn-phone {
  background: var(--color-gold-bright);
  color: var(--color-navy);
  padding: 10px 20px;
  font-size: 0.95rem;
}
.btn-phone:hover { background: var(--color-gold); }
.btn-phone svg { width: 18px; height: 18px; }

@media (max-width: 400px) {
  .btn { white-space: normal; text-align: center; }
}

/* =========================================================
   כותרת עליונה — Sticky Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--color-navy);
  --focus-ring: var(--color-gold-bright);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.15);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.55rem;
}
.logo .logo-mark {
  height: 76px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  flex-shrink: 0;
}
.logo span { white-space: nowrap; }
.logo small {
  display: block;
  white-space: normal;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--color-gold-bright);
  letter-spacing: 0.5px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  color: var(--color-text-on-navy);
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}
.main-nav a:hover {
  background: rgba(212, 175, 55, 0.14);
  color: var(--color-gold-bright);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--color-gold-bright);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    inset-inline-end: 0;
    top: var(--header-height);
    height: calc(100dvh - var(--header-height));
    width: min(320px, 85vw);
    background: var(--color-navy-light);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 6px;
    transform: translateX(-110%);
    transition: transform 0.25s ease;
    box-shadow: var(--shadow-strong);
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { padding: 14px 16px; font-size: 1.05rem; }
  .nav-toggle { display: inline-flex; }

  .site-header .container {
    display: grid;
    grid-template-columns: minmax(0, auto) 1fr auto;
    align-items: center;
    gap: 10px;
  }
  .site-header .logo { grid-column: 1; grid-row: 1; min-width: 0; overflow: hidden; }
  .site-header .logo .logo-mark { height: 52px; max-width: 68px; }
  .site-header .logo span { font-size: 1.1rem; line-height: 1.2; }
  .site-header .logo small { font-size: 0.62rem; }
  .site-header .header-actions { grid-column: 2; grid-row: 1; justify-self: center; }
  .site-header .nav-toggle { grid-column: 3; grid-row: 1; justify-self: end; flex-shrink: 0; }

  .header-actions .btn-phone {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    flex-shrink: 0;
  }
  .header-actions .btn-phone span { display: none; }
  .header-actions .btn-phone svg { width: 20px; height: 20px; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  /* רקע בהיר עם תמונת המתחם גלויה בבירור מתחת לשטיפה לבנה שקופה חלקית.
     וינייטה לבנה נוספת ממורכזת מעל אזור הטקסט מחליקה את הפרטים העמוסים של
     התמונה (אנשים, עצים, ריצוף) בדיוק שם, כדי שהטקסט יישאר קריא וברור,
     בזמן שהתמונה נשארת חשופה וברורה בשוליים (שמיים, קווי הבניינים) */
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.5) 0%, rgba(248, 249, 250, 0.5) 100%),
    url('../images/building-plaza.jpg');
  background-size: auto, auto, cover;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  padding: 96px 0 80px;
  text-align: center;
}
.hero-eyebrow,
.hero h1,
.hero h2 {
  -webkit-text-stroke: 1px var(--color-gold-bright);
  paint-order: stroke fill;
  text-shadow:
    -1px -1px 0 var(--color-gold-bright),
    1px -1px 0 var(--color-gold-bright),
    -1px 1px 0 var(--color-gold-bright),
    1px 1px 0 var(--color-gold-bright);
}
.hero-eyebrow {
  display: inline-block;
  color: var(--color-navy);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.hero h1 { margin-bottom: 0.3em; }
.hero h2 {
  color: var(--color-navy);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  margin-bottom: 28px;
}
.hero p.lead {
  max-width: 700px;
  margin: 0 auto 36px;
  color: var(--color-text);
  font-size: 1.1rem;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-frame {
  display: block;
  margin: 0 auto;
  max-width: 760px;
  border: 3px solid var(--color-navy);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 48px) clamp(24px, 6vw, 56px);
  background: rgba(255, 255, 255, 0.4);
}
.hero-frame p.lead { margin-bottom: 28px; }

@media (max-width: 700px) {
  .hero-eyebrow,
  .hero h1,
  .hero h2 {
    -webkit-text-stroke: 0;
    text-shadow: none;
  }
  .hero-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.3px;
    white-space: normal;
    max-width: 100%;
  }
  .hero p.lead { line-height: 1.45; }
}

/* =========================================================
   מקטעים כלליים
   ========================================================= */
.section { padding: 64px 0; }
.section-sage { background: var(--color-sage); }
.section-navy {
  background: var(--color-navy);
  color: var(--color-text-on-navy);
  --focus-ring: var(--color-gold-bright);
}
.section-navy h2, .section-navy h3 { color: var(--color-white); }
.section-navy p { color: var(--color-text-on-navy-muted); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}
.section-head h2::after,
.about-text h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 2px;
  background: var(--color-gold-bright);
  margin-top: 16px;
}
.section-head h2::after {
  margin-inline: auto;
}

@media (max-width: 700px) {
  .section { padding: 40px 0; }
  .section-head { margin-bottom: 28px; }
}

/* =========================================================
   אודות
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.about-text h2 { text-align: start; }
.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 5;
  background: linear-gradient(145deg, var(--color-navy-light), var(--color-navy));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-image .image-placeholder {
  color: var(--color-text-on-navy-muted);
  text-align: center;
  padding: 24px;
}
.about-image .image-placeholder svg {
  width: 64px;
  height: 64px;
  color: var(--color-gold-bright);
  margin-bottom: 14px;
}
.about-image figcaption {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  background: rgba(10, 25, 47, 0.75);
  color: var(--color-white);
  padding: 14px 18px;
  font-size: 0.95rem;
}

@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-image { order: -1; max-width: 360px; margin: 0 auto; }
  .about-text .btn {
    display: flex;
    width: fit-content;
    margin-inline: auto;
  }
}

/* =========================================================
   תחומי עיסוק — טאבים
   ========================================================= */
.tabs {
  max-width: 980px;
  margin: 0 auto;
}
.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}
.tab-btn {
  background: var(--color-white);
  border: 2px solid var(--color-navy);
  color: var(--color-navy);
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.2s ease;
}
.tab-btn:hover {
  border-color: var(--color-gold-bright);
  box-shadow: var(--shadow-strong);
  transform: translateY(-2px);
}
.tab-btn[aria-selected="true"] {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
}
.tab-btn[aria-selected="true"] .tab-btn-tag {
  color: var(--color-gold-bright);
}

.tab-panel {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 40px;
}
.tab-panel[hidden] { display: none; }
.tab-panel h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.tab-panel h3 svg {
  width: 30px;
  height: 30px;
  color: var(--color-gold-bright);
  flex-shrink: 0;
}
.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 28px;
}
.service-list li {
  position: relative;
  padding-inline-start: 22px;
  color: var(--color-text);
  font-size: 0.98rem;
}
.service-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--color-gold-bright);
  transform: rotate(45deg);
}

@media (max-width: 700px) {
  .tab-panel { padding: 26px 20px; }
  .service-list { grid-template-columns: 1fr; }
  .tab-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .tab-btn { width: 100%; text-align: center; }
}

/* =========================================================
   בדיקת היתכנות — CTA מרכזי
   ========================================================= */
.feasibility-section {
  --focus-ring: var(--color-gold-bright);
  /* תמונת המתחם גלויה בעדינות מתחת לשכבת נייבי — כל הטקסט יושב בתוך הכרטיס
     הלבן האטום (.feasibility-card) כך שאין כאן שאלת ניגודיות טקסט-על-תמונה */
  background:
    radial-gradient(circle at 12% 15%, rgba(212, 175, 55, 0.16), transparent 45%),
    linear-gradient(160deg, rgba(10, 25, 47, 0.8) 0%, rgba(30, 42, 56, 0.8) 100%),
    url('../images/building-plaza.jpg');
  background-size: auto, auto, cover;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  color: var(--color-text-on-navy);
}

.feasibility-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  padding: 40px 36px;
  text-align: center;
  --focus-ring: var(--color-navy);
}

.feasibility-eyebrow {
  display: inline-flex;
  align-items: center;
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--color-navy);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.feasibility-card h2 {
  color: var(--color-navy);
  text-align: center;
  margin-bottom: 0.5em;
}

.feasibility-lead {
  color: var(--color-text-light);
  font-size: 1.05rem;
  margin: 0 auto 28px;
  max-width: 100%;
}

.feasibility-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feasibility-form .form-check {
  text-align: start;
  font-size: 0.88rem;
}

.feasibility-submit {
  width: 100%;
}

@media (max-width: 640px) {
  .feasibility-card { padding: 32px 24px; }
  .feasibility-form .form-group label { text-align: start; }
}
@media (max-width: 480px) {
  .feasibility-form-row { grid-template-columns: 1fr; }
}

/* =========================================================
   מרכז מידע — כרטיסים
   ========================================================= */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.resource-card {
  background: var(--color-navy-light);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.resource-card:hover {
  transform: translateY(-4px);
  background: #24344a;
}
.resource-card .icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.resource-card .icon-wrap svg {
  width: 30px;
  height: 30px;
  color: var(--color-gold-bright);
}
.resource-card h3 {
  color: var(--color-white);
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.resource-card p {
  color: var(--color-text-on-navy-muted);
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.resource-card .resource-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--color-navy);
  background: var(--color-gold-bright);
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.15s ease;
}
.resource-card .resource-link:hover {
  background: var(--color-gold);
  transform: translateY(-2px);
}

@media (max-width: 980px) {
  .resource-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .resource-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   צור קשר
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.contact-form,
.contact-info {
  /* מונע מרכיב ה-reCAPTCHA (רוחב קבוע) לאלץ את עמודת ה-grid להיות רחבה מהמיכל ולגרום לגלילה אופקית במובייל */
  min-width: 0;
}

.contact-form {
  background: var(--color-white);
  border: 2px solid var(--color-navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 40px;
}
.form-actions {
  text-align: center;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-weight: 600;
  color: var(--color-navy);
  font-size: 0.95rem;
}
.form-group .required-mark { color: #B3261E; }
.field-error {
  display: none;
  color: #B3261E;
  font-size: 0.85rem;
  font-weight: 600;
}
.field-error.is-visible { display: block; }
.form-group input.is-invalid {
  border-color: #B3261E;
}
.form-group input,
.form-group select,
.form-group textarea {
  border: 2px solid #D7DCE1;
  border-radius: 8px;
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--color-bg);
  color: var(--color-text);
}
.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
  border: 2px solid var(--color-navy);
}
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
  outline: 3px solid var(--color-navy);
  outline-offset: 2px;
  border-color: var(--color-navy);
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* ---------- reCAPTCHA (מנוהל על ידי Netlify) ---------- */
.recaptcha-wrap {
  margin-bottom: 22px;
  max-width: 100%;
  overflow-x: auto;
}

/* ---------- תיבת סימון הסכמה ---------- */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 22px;
}
.form-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--color-navy);
  flex-shrink: 0;
  cursor: pointer;
}
.form-check label {
  font-size: 0.92rem;
  color: var(--color-text-light);
  cursor: pointer;
}
.form-check label a {
  color: var(--color-navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 8px;
  font-weight: 600;
  display: none;
}
.form-status.is-success {
  display: block;
  background: var(--color-sage);
  color: #1B4332;
  border: 1px solid #2E7D32;
}
.form-status.is-error {
  display: block;
  background: #FBEAEA;
  color: #8A1C1C;
  border: 1px solid #B3261E;
}

.contact-info {
  background: var(--color-white);
  border: 2px solid var(--color-navy);
  color: var(--color-text);
  border-radius: var(--radius);
  padding: 40px 32px;
  --focus-ring: var(--color-navy);
}
.contact-info h3 { color: var(--color-navy); }
.contact-info .info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}
.contact-info .info-item svg {
  width: 24px;
  height: 24px;
  color: var(--color-navy);
  flex-shrink: 0;
  margin-top: 3px;
}
.contact-info .info-item a,
.contact-info .info-item span {
  color: var(--color-navy);
  font-weight: 600;
}
.contact-info .info-item small {
  display: block;
  color: var(--color-text-light);
  font-weight: 400;
  margin-bottom: 3px;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-info { text-align: center; }
  .contact-info .info-item { justify-content: center; text-align: start; }
}
@media (max-width: 420px) {
  .contact-form { padding: 24px 16px; }
}

/* =========================================================
   פוטר
   ========================================================= */
.site-footer {
  background: var(--color-navy);
  color: var(--color-text-on-navy-muted);
  --focus-ring: var(--color-gold-bright);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { max-width: 320px; color: var(--color-text-on-navy-muted); }
.site-footer h4 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 16px;
}
.site-footer ul li { margin-bottom: 10px; }
.site-footer a:hover { color: var(--color-gold-bright); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  font-size: 0.9rem;
}

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* =========================================================
   עמודים משפטיים (עמודים עצמאיים)
   ========================================================= */
.legal-page-header {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 64px 0 48px;
  --focus-ring: var(--color-gold-bright);
}
.legal-page-header .breadcrumb {
  color: var(--color-gold-bright);
  font-weight: 600;
  margin-bottom: 14px;
  display: inline-block;
}
.legal-page-header h1 {
  color: var(--color-white);
}
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 24px;
}
.legal-content h2 {
  margin-top: 2em;
  border-inline-start: 4px solid var(--color-gold-bright);
  padding-inline-start: 14px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content ul {
  list-style: disc;
  padding-inline-start: 22px;
  margin-bottom: 1em;
}
.legal-content li { margin-bottom: 8px; color: var(--color-text-light); }
.legal-content .updated-note {
  color: var(--color-text-light);
  font-style: italic;
  margin-bottom: 2.5em;
}

/* ---------- עמוד "בקרוב" (למשל מאמרים) ---------- */
.coming-soon {
  max-width: 640px;
  margin: 0 auto;
  padding: 120px 24px 110px;
  text-align: center;
}
.coming-soon-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--color-sage);
  margin-bottom: 28px;
}
.coming-soon-icon svg {
  width: 38px;
  height: 38px;
  color: var(--color-navy);
}
.coming-soon h1 { margin-bottom: 0.6em; }
.coming-soon p {
  font-size: 1.05rem;
  margin-bottom: 32px;
}
.coming-soon p a {
  color: var(--color-navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* =========================================================
   סרגל נגישות
   ========================================================= */
.a11y-toggle {
  position: fixed;
  bottom: 24px;
  inset-inline-start: 24px;
  z-index: 1500;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-navy);
  border: 2px solid var(--color-gold-bright);
  color: var(--color-gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-strong);
  --focus-ring: var(--color-navy);
}
.a11y-toggle svg { width: 28px; height: 28px; }

.a11y-panel {
  position: fixed;
  bottom: 90px;
  inset-inline-start: 24px;
  z-index: 1500;
  width: min(300px, 90vw);
  background: var(--color-white);
  border: 2px solid var(--color-navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  padding: 20px;
}
.a11y-panel[hidden] { display: none; }
.a11y-panel h2 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.a11y-panel .a11y-close {
  background: transparent;
  border: none;
  color: var(--color-navy);
  font-size: 1.3rem;
  line-height: 1;
  padding: 4px;
}
.a11y-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #EEE;
}
.a11y-row:last-child { border-bottom: none; }
.a11y-row span { font-weight: 600; font-size: 0.92rem; }
.a11y-btn-group { display: flex; gap: 6px; }
.a11y-btn-group button,
.a11y-switch {
  border: 2px solid var(--color-navy);
  background: var(--color-white);
  color: var(--color-navy);
  border-radius: 6px;
  padding: 6px 12px;
  font-weight: 700;
  font-size: 0.9rem;
}
.a11y-switch[aria-pressed="true"] {
  background: var(--color-navy);
  color: var(--color-white);
}
.a11y-reset-all {
  margin-top: 12px;
  width: 100%;
  background: var(--color-gold-bright);
  border: 2px solid var(--color-gold-bright);
  color: var(--color-navy);
  border-radius: 6px;
  padding: 10px;
  font-weight: 700;
}

/* מצבי תצוגה שהסרגל מפעיל על html */
/* הערה: אין להשתמש כאן ב-filter על html/body — filter יוצר containing block חדש
   ושובר position:sticky/fixed (הכותרת הדביקה וכפתור הנגישות הצף) */
html.a11y-contrast-high body {
  background: #000;
  color: #fff;
}
html.a11y-contrast-high .site-header,
html.a11y-contrast-high .site-footer,
html.a11y-contrast-high .section-navy,
html.a11y-contrast-high .hero,
html.a11y-contrast-high .section,
html.a11y-contrast-high .section-sage,
html.a11y-contrast-high .about-image,
html.a11y-contrast-high .tab-panel,
html.a11y-contrast-high .contact-form,
html.a11y-contrast-high .contact-info,
html.a11y-contrast-high .feasibility-section,
html.a11y-contrast-high .feasibility-card,
html.a11y-contrast-high .feasibility-form,
html.a11y-contrast-high .legal-content,
html.a11y-contrast-high .legal-page-header {
  background: #000 !important;
}
html.a11y-contrast-high a { color: #FFD966 !important; }
html.a11y-contrast-high h1,
html.a11y-contrast-high h2,
html.a11y-contrast-high h3,
html.a11y-contrast-high h4,
html.a11y-contrast-high p,
html.a11y-contrast-high li,
html.a11y-contrast-high label,
html.a11y-contrast-high span,
html.a11y-contrast-high small,
html.a11y-contrast-high .form-status {
  color: #fff !important;
}
html.a11y-contrast-high .tab-btn {
  background: #000;
  border-color: #FFD966;
  color: #fff !important;
}
html.a11y-contrast-high .tab-btn[aria-selected="true"] {
  background: #FFD966;
  color: #000 !important;
}
html.a11y-contrast-high .btn-outline {
  color: #fff !important;
  border-color: #FFD966;
}
html.a11y-contrast-high .btn-primary,
html.a11y-contrast-high .btn-phone {
  color: #000 !important;
}
html.a11y-contrast-high .service-list li::before {
  background: #FFD966;
}
html.a11y-contrast-high .legal-content h2 {
  border-inline-start-color: #FFD966;
}
html.a11y-contrast-high .form-group input,
html.a11y-contrast-high .form-group select,
html.a11y-contrast-high .form-group textarea {
  background: #fff;
  color: #000 !important;
  border-color: #FFD966;
}
html.a11y-underline a { text-decoration: underline !important; }
html.a11y-readable body,
html.a11y-readable * {
  font-family: 'Heebo', Arial, sans-serif !important;
  letter-spacing: 0.2px;
}

/* =========================================================
   כפתור צף — וואטסאפ
   ========================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  z-index: 1500;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-strong);
  animation: whatsapp-pulse 2.4s ease-in-out infinite;
}
.whatsapp-float:hover {
  background: #1EBE5A;
  transform: scale(1.06);
}
.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}
.whatsapp-float:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(10, 25, 47, 0.65), var(--shadow-strong);
}

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), var(--shadow-strong); }
  50% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0), var(--shadow-strong); }
}

@media (max-width: 600px) {
  .whatsapp-float {
    width: 54px;
    height: 54px;
    bottom: 18px;
    inset-inline-end: 18px;
  }
  .whatsapp-float svg { width: 28px; height: 28px; }
}

/* גודל טקסט נשלט ע"י font-size על ה-html */
