/* =========================================================
   Orv Law — Stylesheet
   Palette: deep blue, white, gold accent, neutral grays
   ========================================================= */

:root {
  --navy:        #0f2747;   /* deep blue (primary) */
  --navy-dark:   #0a1b33;
  --navy-light:  #1c3a63;
  --gold:        #c8a45c;   /* gold accent */
  --gold-dark:   #b18f43;
  --white:       #ffffff;
  --off-white:   #f0f4f8;
  --gray:        #6b7280;
  --gray-light:  #e5e8ee;
  --text:        #1f2937;
  --text-soft:   #4b5563;

  --radius:      10px;
  --shadow:      0 10px 30px rgba(15, 39, 71, 0.08);
  --shadow-lg:   0 20px 50px rgba(15, 39, 71, 0.15);
  --container:   1140px;
  --transition:  0.25s ease;
}

/* ---------- Reset / Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Heebo', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .logo {
  font-family: 'Inter', 'Segoe UI', 'Heebo', system-ui, sans-serif;
  color: var(--navy);
  line-height: 1.3;
  margin: 0 0 0.5em;
}
strong, b { font-family: 'Inter', 'Segoe UI', 'Heebo', system-ui, sans-serif; }

h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1rem; color: var(--text-soft); text-align: justify; }

/* Section titles/headers stay right-aligned (centered where applied inline) */
h1, h2, h3, h4, h5, h6 { text-align: right; }
.section-head, .section-head * { text-align: center; }
.section-head-wide p { text-align: justify; }

a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-dark); }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  padding: 1rem 0;
  gap: 3rem;
}

/* Right navigation */
.nav-right {
  display: flex;
  align-items: center;
  order: 1;
}

/* Left navigation */
.nav-left {
  display: flex;
  align-items: center;
  order: 3;
}

.nav-list {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-list a {
  font-weight: 500;
  color: var(--text);
  position: relative;
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-list a::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-list a:hover::after { width: 100%; }

/* Logo in the center */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Inter', 'Segoe UI', 'Heebo', system-ui, sans-serif;
  font-size: 1.4rem;
  color: var(--navy);
  order: 2;
}

.logo-img {
  height: clamp(120px, 18vw, 180px);
  width: auto;
  display: block;
  object-fit: contain;
}

/* Hamburger / Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex: 0 0 auto;
  order: 0;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: clamp(4rem, 12vw, 8rem) 0;
  text-align: center;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(10, 27, 51, 0.6), rgba(15, 39, 71, 0.75));
  z-index: 2;
}
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: blur(0px);
  opacity: 0.9;
}
.hero-inner { 
  position: relative;
  z-index: 3;
  max-width: 760px;
  margin: 0 auto;
}
.hero h1 { 
  color: var(--white);
  text-align: center;
  margin-bottom: 1rem;
}
.hero-subtitle {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  color: var(--gold);
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}
.hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 3rem;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.btn-icon {
  font-size: 1.3rem;
  margin-inline-end: 0.5rem;
  display: inline-block;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.eyebrow-dark { color: var(--gold-dark); }

/* ---------- Sections ---------- */
.section { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section-alt { 
  background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 8%, var(--off-white) 92%, var(--white) 100%);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}
.section-head-wide { max-width: 860px; }
.section-head-wide p {
  text-align: start;
  font-size: 1.05rem;
}

/* ---------- About ---------- */
.about-content {
  max-width: 820px;
}
.about-head {
  text-align: center;
  margin-bottom: 2.5rem;
}
.about-head h2 {
  text-align: center;
}
.about-content p:not(.eyebrow) {
  text-align: right;
  direction: rtl;
  font-size: 1.05rem;
}
.about-bio {
  margin-top: 3rem;
}
.about-bio h3 {
  font-size: 1.5rem;
  color: var(--navy-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0 1.75rem;
  border-bottom: 1px solid var(--gray-light);
}
.tab-btn {
  font-family: 'Inter', 'Segoe UI', 'Heebo', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--gray);
  background: none;
  border: none;
  padding: 0.6rem 0.25rem;
  margin-bottom: -1px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.tab-btn:hover { color: var(--navy); }
.tab-btn.active {
  color: var(--navy);
  border-bottom-color: var(--gold);
}
.tab-panel { animation: tab-fade var(--transition); }
.tab-panel[hidden] { display: none; }
.tab-panel p { font-size: 1.05rem; }
@keyframes tab-fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Cards (Practice Areas) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--gold);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.card h3 {
  position: relative;
  margin-bottom: 1.25rem;
  padding-bottom: 0.9rem;
  min-height: calc(2 * 1.4rem * 1.25 + 0.9rem); /* reserve 2 title lines so descriptions align */
  font-family: 'Inter', 'Segoe UI', 'Heebo', system-ui, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.25;
  color: var(--navy-dark);
}
.card h3::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 44px;
  height: 2px;
  background: linear-gradient(to left, var(--gold), var(--gold-dark));
  transition: width var(--transition);
}
.card:hover h3::after { width: 72px; }
.card p { margin: 0; text-align: justify; }
.card p.clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.read-more {
  margin-top: 0.5rem;
  padding: 0;
  background: none;
  border: none;
  font: inherit;
  font-weight: 700;
  color: var(--gold-dark);
  cursor: pointer;
}
.read-more:hover { color: var(--navy); }

/* ---------- Interactive Practice Card ---------- */
.card-interactive { display: flex; flex-direction: column; }
.card-trigger {
  align-self: flex-start;
  margin-top: 1.1rem;
  font-family: 'Inter', 'Segoe UI', 'Heebo', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gold-dark);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color var(--transition);
}
.card-trigger .chev { display: inline-block; transition: transform var(--transition); }
.card-trigger:hover { color: var(--navy); }
.card-trigger.open .chev { transform: rotate(90deg); }

.card-expand {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}
.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.sub-btn {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Inter', 'Segoe UI', 'Heebo', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--off-white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: all var(--transition);
}
.sub-btn .sub-ico { color: var(--gold-dark); font-size: 1.15rem; }
.sub-btn:hover { border-color: var(--gold); transform: translateY(-2px); }
.sub-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.sub-btn.active .sub-ico { color: var(--gold); }

.sub-lead {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.sub-list {
  margin: 0 0 1rem;
  padding-inline-start: 1.25rem;
  text-align: justify;
}
.sub-list li { margin-bottom: 0.5rem; color: var(--text-soft); }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(10, 27, 51, 0.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity var(--transition);
}
.modal-overlay[hidden] { display: none; }
.modal-overlay.open { opacity: 1; }

.modal {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--off-white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 2.5rem 2.25rem 2rem;
  transform: translateY(16px) scale(0.98);
  transition: transform var(--transition);
  direction: rtl;
  text-align: right;
}
.modal-body { direction: rtl; text-align: right; }
.modal-overlay.open .modal { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 15px;
  left: 15px;
  right: auto;
  inset-inline-start: auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.modal-close:hover { background: var(--navy); color: var(--gold); }

.modal-title {
  font-size: 1.6rem;
  color: var(--navy);
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--gold);
  padding-inline-end: 2.5rem;
}
.modal-body p {
  text-align: justify;
  line-height: 1.8;
  color: var(--text-soft);
  margin-bottom: 1.25rem;
}
.modal-body .sub-lead { color: var(--navy); }
.modal-body h1 {
  font-size: 1.5rem;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--gold);
}
.modal-body h1:first-child { margin-top: 0; }
.modal-body h2 {
  font-size: 1.3rem;
  color: var(--navy);
  margin: 1.75rem 0 0.6rem;
}
.modal-body h3 {
  font-size: 1.15rem;
  color: var(--navy-light);
  margin: 1.25rem 0 0.6rem;
}
.modal-body strong { color: var(--navy); }
.modal-body > strong {
  display: block;
  margin: 1.25rem 0 0.4rem;
  font-size: 1.05rem;
  color: var(--navy);
}
.modal-body ul,
.modal-body ol {
  margin: 0 0 1rem;
  padding-inline-start: 1.25rem;
  text-align: justify;
}
.modal-body li { margin-bottom: 0.6rem; color: var(--text-soft); line-height: 1.8; }
.modal-body ul ul { margin-top: 0.5rem; }

/* ---------- Articles (Under Construction) ---------- */
.articles-sub {
  font-family: 'Inter', 'Segoe UI', 'Heebo', system-ui, sans-serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.article-skeleton {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  filter: saturate(0.6);
  opacity: 0.85;
}
.badge-soon {
  position: absolute;
  top: 1rem;
  inset-inline-start: 1rem;
  z-index: 2;
  font-family: 'Inter', 'Segoe UI', 'Heebo', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--navy-dark);
  background: var(--gold);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}
.sk {
  --sk-base: #e9edf3;
  --sk-shine: #f5f8fc;
  background: linear-gradient(100deg, var(--sk-base) 30%, var(--sk-shine) 50%, var(--sk-base) 70%);
  background-size: 200% 100%;
  border-radius: 6px;
  animation: sk-shimmer 1.6s ease-in-out infinite;
}
.sk-thumb { height: 140px; border-radius: 8px; margin-bottom: 1.1rem; }
.sk-line { height: 12px; margin-bottom: 0.75rem; }
.sk-line-sm { width: 35%; height: 10px; }
.sk-line-lg { width: 90%; height: 18px; }
.sk-line-short { width: 55%; }
@keyframes sk-shimmer {
  0%   { background-position: -100% 0; }
  100% { background-position: 100% 0; }
}

/* ---------- Articles "בקרוב" cards ---------- */
.articles-soon { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin: 0 auto; }
.article-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 200px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.article-soon:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.article-soon-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-size: 1.7rem;
}
.article-soon-text {
  font-family: 'Inter', 'Segoe UI', 'Heebo', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--gold-dark);
}

/* ---------- FAQ (Tabs + Accordion) ---------- */
.faq-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 880px;
  margin: 0 auto 2rem;
}
.faq-tab {
  font-family: 'Inter', 'Segoe UI', 'Heebo', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 999px;
  padding: 0.75rem 1.4rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.faq-tab:hover { border-color: var(--gold); }
.faq-tab.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.faq-panel { max-width: 880px; margin: 0 auto; }
.faq-panel[hidden] { display: none; }
.faq-list { display: flex; flex-direction: column; gap: 0.85rem; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
}
.faq-q {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', 'Heebo', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy-dark);
}
.faq-toggle {
  flex: 0 0 auto;
  font-family: 'Inter', 'Segoe UI', 'Heebo', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy-dark);
  background: var(--gold);
  border: none;
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.faq-toggle:hover { background: var(--gold-dark); color: var(--white); }
.faq-item.open .faq-toggle { background: var(--navy); color: var(--gold); }
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}
.faq-body p {
  margin: 0;
  padding: 0 1.4rem 1.25rem;
  text-align: justify;
  color: var(--text-soft);
}

/* ---------- Features (Why Us) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.feature {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--off-white);
  border-top: 3px solid var(--gold);
}
.feature h3 { margin-bottom: 0.3rem; }
.feature p { margin: 0; }

/* ---------- Contact ---------- */
.section-contact {
  background:
    linear-gradient(rgba(10, 27, 51, 0.95), rgba(15, 39, 71, 0.97)),
    radial-gradient(circle at 80% 0%, var(--navy-light), var(--navy-dark));
  color: var(--white);
}
.section-contact h2 { color: var(--white); }
.contact-heading {
  font-family: 'Inter', 'Segoe UI', 'Heebo', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.section-contact p { color: rgba(255, 255, 255, 0.82); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.contact-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
}
.contact-list strong { color: var(--gold); margin-inline-end: 0.4rem; }
.contact-list a { color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(200, 164, 92, 0.5); transition: color var(--transition), border-color var(--transition); }
.contact-list a:hover { color: var(--gold); border-color: var(--gold); }
.hidden-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.field input,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  font: inherit;
  color: var(--text);
  background: var(--off-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 164, 92, 0.2);
  background: var(--white);
}
.field input.invalid,
.field textarea.invalid {
  border-color: #d9534f;
  box-shadow: 0 0 0 3px rgba(217, 83, 79, 0.15);
}
.form-status {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 1.2em;
}
.form-status.success { color: #1f7a3d; }
.form-status.error   { color: #d9534f; }

.form-disclaimer-sub {
  font-weight: 600;
  color: var(--navy);
  margin: 0.5rem 0 0.3rem 0;
  font-size: 0.9rem;
}

.form-disclaimer {
  font-size: 0.675rem;
  color: var(--gray);
  margin: 0.4rem 0 1rem 0;
  line-height: 1.4;
}
.field-checkbox label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
}
.field-checkbox input {
  width: auto;
  margin: 0;
}
.field-checkbox a {
  text-decoration: underline;
  color: var(--gold-dark);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.75);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 2.75rem 1.25rem;
}
.footer-name {
  font-family: 'Inter', 'Segoe UI', 'Heebo', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--white);
}
.footer-copy {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links button {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Heebo', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: color var(--transition), text-decoration-color var(--transition);
}
.footer-links button:hover {
  color: var(--gold);
  text-decoration-color: var(--gold);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .cards,
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Primary mobile breakpoint (IL 5568 / WCAG touch targets) ---- */
@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 0.75rem 0;
    gap: 0.75rem;
  }

  .header-brand { flex: 1 1 100%; order: 4; }
  .brand-name { font-size: 1rem; }
  
  .logo { flex: 1 1 auto; order: 2; }
  .logo-img { height: clamp(80px, 12vw, 120px); }
  
  .nav { flex: 1 1 100%; order: 3; }

  .hero { padding: 3rem 0; }
  .hero h1 { font-size: 1.85rem; line-height: 1.3; }
  .hero-sub { font-size: 1rem; }

  /* Stack all multi-column grids vertically */
  .cards,
  .articles-grid,
  .articles-soon,
  .features,
  .contact-grid,
  .faq-tabs,
  .subnav { grid-template-columns: 1fr; }
  .subnav { flex-direction: column; }

  /* Comfortable touch padding + readable text */
  .container { padding: 0 1rem; }
  .card { padding: 1.5rem 1.25rem; }
  .faq-head { padding: 1rem; gap: 0.6rem; }
  .faq-toggle,
  .tab-btn,
  .btn { min-height: 44px; }

  /* Modal responsive */
  .modal { padding: 2.25rem 1.25rem 1.5rem; max-height: 92vh; }
  .modal-title { font-size: 1.35rem; }
  .modal-body p,
  .modal-body li { font-size: 1rem; }
}

@media (max-width: 760px) {
  .nav-toggle { 
    display: flex;
    z-index: 100010 !important;
    position: relative;
  }
  
  .site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    height: 110px;
    z-index: 99999 !important;
    overflow: visible !important;
  }
  
  .header-inner {
    justify-content: space-between;
    gap: 1rem;
    position: relative;
    padding: 1rem 0;
    min-height: 110px;
    height: 110px;
    overflow: visible !important;
  }
  
  /* Mobile: Logo centered and properly sized to fit in white header */
  .logo { 
    order: 2; 
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 100001 !important;
  }
  .logo-img { 
    height: 85px !important;
    width: auto;
    object-fit: contain !important;
  }
  
  /* Add spacing to hero section to match header height */
  .hero {
    position: relative;
    z-index: 1 !important;
    margin-top: 110px !important;
    padding-top: 3rem;
  }
  
  /* Mobile menu: hide nav-right (merged into nav-left by JS) */
  .nav-right {
    display: none !important;
  }
  
  /* Mobile menu: elegant right-side drawer - unified menu */
  .nav-left {
    position: fixed !important;
    top: 0;
    right: 0;
    left: auto;
    width: 70vw;
    max-width: 300px;
    height: auto;
    background: var(--white);
    z-index: 100005 !important;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    border: none;
    border-bottom-left-radius: 16px;
    padding: 90px 1.5rem 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  
  /* Show menu when open class is added */
  .nav-left.open { 
    transform: translateX(0) !important;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }
  .nav-list li { 
    border: none !important;
  }
  .nav-list a { 
    display: block; 
    padding: 1.2rem 0;
    font-size: 1.05rem;
    font-weight: 600;
  }
  .nav-list a::after { display: none; }
}

@media (max-width: 560px) {
  .header-brand { min-width: 130px; }
  .brand-name { font-size: 0.75rem; }
  
  /* Keep logo large and centered on small mobile */
  .logo-img { height: clamp(90px, 16vw, 140px); }

  .cards,
  .articles-grid,
  .articles-soon,
  .features { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none !important; }
}

/* =========================================================
   Accessibility Widget (תפריט נגישות)
   ========================================================= */
.a11y-widget {
  position: fixed;
  inset-block-end: 20px;
  inset-inline-start: 20px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}
.a11y-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: var(--navy);
  color: var(--gold);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition), background var(--transition);
}
.a11y-toggle:hover { transform: scale(1.06); background: var(--navy-light); }
.a11y-toggle:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.a11y-panel {
  width: 240px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1rem;
}
.a11y-panel[hidden] { display: none; }
.a11y-title {
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0 0 0.75rem;
}
.a11y-opt {
  display: block;
  width: 100%;
  text-align: start;
  font-family: 'Inter', 'Segoe UI', 'Heebo', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--off-white);
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  min-height: 44px;
  transition: background var(--transition), color var(--transition);
}
.a11y-opt:hover,
.a11y-opt.active { background: var(--navy); color: var(--white); }
.a11y-opt:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.a11y-reset { background: var(--gold); color: var(--navy-dark); border-color: var(--gold); margin-bottom: 0; }

/* Global keyboard focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* A11y state: larger text (scales rem-based typography) */
html.a11y-large-font { font-size: 118.75%; }

/* A11y state: high contrast */
body.a11y-contrast { background: #fff; color: #000; }
body.a11y-contrast p,
body.a11y-contrast li,
body.a11y-contrast .faq-q,
body.a11y-contrast .stat-label { color: #000 !important; }
body.a11y-contrast .hero,
body.a11y-contrast .section-contact {
  background: #000 !important;
  color: #fff !important;
}
body.a11y-contrast .hero h1,
body.a11y-contrast .hero-sub,
body.a11y-contrast .section-contact h2,
body.a11y-contrast .section-contact p,
body.a11y-contrast .contact-list li { color: #fff !important; }
body.a11y-contrast .card,
body.a11y-contrast .faq-item,
body.a11y-contrast .feature { border: 2px solid #000 !important; }

/* A11y state: highlight links */
body.a11y-links a {
  text-decoration: underline !important;
  font-weight: 700 !important;
  background: #ffec3d !important;
  color: #000 !important;
  outline: 1px solid #000;
}

/* =========================================================
   WhatsApp Float Button
   ========================================================= */
.whatsapp-float {
  position: fixed;
  inset-inline-end: 20px;
  inset-block-end: 20px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  color: var(--white);
}

/* =========================================================
   Scroll Reveal Animations
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1.2s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
