/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@300;400;600;700;800;900&display=swap');

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Assistant', 'Segoe UI', Arial, sans-serif;
  direction: rtl;
  background: #f0f4fa;
  color: #1a2a4a;
  font-size: 15px;
  line-height: 1.75;
}
a { text-decoration: none; color: inherit; }

/* ===== NAVBAR ===== */
.navbar {
  background: #fff;
  border-bottom: 1px solid #e0eaf6;
  position: sticky;
  top: 0;
  z-index: 200;
  transition: box-shadow 0.3s ease;
  box-shadow: 0 2px 16px rgba(7, 26, 82, 0.10);
}

.nav-inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

/* brand */
.nav-brand {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  gap: 0;
  transition: opacity 0.2s;
}
.nav-brand:hover { opacity: 0.85; }

.brand-text {
  font-size: 25px;
  font-weight: 900;
  color: #0d2a6b;
  letter-spacing: -0.5px;
  line-height: 1;
}
.brand-text2 {
  font-size: 25px;
  font-weight: 900;
  color: #00bcd4;
  letter-spacing: -0.5px;
  line-height: 1;
}
.brand-lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 2px;
  position: relative;
  top: 2px;
  line-height: 0;
}

/* nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: #0d2a6b;
}
.nav-links a {
  color: #0d2a6b;
  transition: color 0.2s;
  padding: 2px 0;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: 0;
  width: 0;
  height: 2px;
  background: #00bcd4;
  border-radius: 2px;
  transition: width 0.25s ease;
}
.nav-links a:hover { color: #00bcd4; }
.nav-links a:hover::after { width: 100%; }
.nav-links span { color: #c8d8ee; font-weight: 300; }

.nav-cta {
  font-size: 14px;
  font-weight: 700;
  color: #0d2a6b;
  transition: color 0.2s;
  padding: 6px 14px;
  border: 1.5px solid #0d2a6b;
  border-radius: 20px;
  transition: all 0.2s ease;
}
.nav-cta:hover {
  color: #fff;
  background: #0d2a6b;
  border-color: #0d2a6b;
}

/* ===== HERO ===== */
.hero {
  background:
    radial-gradient(ellipse 90% 55% at 50% 100%, rgba(0, 220, 240, 0.22) 0%, transparent 68%),
    linear-gradient(170deg, #071a52 0%, #0c2878 38%, #1450b0 72%, #1565c0 100%);
  padding: 58px 20px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* subtle car silhouette pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='54'%3E%3Cpath d='M10 40 L16 28 Q34 14 60 14 Q86 14 104 28 L110 40 L10 40Z' fill='none' stroke='%23ffffff' stroke-width='1'/%3E%3Ccircle cx='28' cy='40' r='7' fill='none' stroke='%23ffffff' stroke-width='1'/%3E%3Ccircle cx='92' cy='40' r='7' fill='none' stroke='%23ffffff' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 120px 54px;
  opacity: 0.08;
  pointer-events: none;
}

/* top cyan accent line */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00e5ff 40%, #00e5ff 60%, transparent);
  opacity: 0.6;
}

.hero-inner { position: relative; z-index: 1; }

.hero-logo-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

/* hero brand name row */
.hero-logo-box > *:not(.hero-sub) {
  display: inline;
}

.hero-brand-text {
  font-size: 64px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -2px;
  line-height: 1;
  display: inline;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}
.hero-brand-text2 {
  font-size: 64px;
  font-weight: 900;
  color: #00e5ff;
  letter-spacing: -2px;
  line-height: 1;
  display: inline;
  text-shadow: 0 2px 24px rgba(0, 229, 255, 0.3);
}
.hero-lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  top: 6px;
  margin: 0 4px;
  line-height: 0;
  filter: drop-shadow(0 2px 8px rgba(0,229,255,0.4));
}

.hero-sub {
  display: block;
  color: #90caf9;
  font-size: 15px;
  margin-top: 12px;
  letter-spacing: 3px;
  font-weight: 400;
  text-transform: uppercase;
  opacity: 0.9;
}
.hero-sub--sm {
  font-size: 13px;
  letter-spacing: 2px;
}

/* ===== WHITE SECTIONS ===== */
.white-section {
  background: #fff;
  padding: 48px 24px;
  text-align: center;
  max-width: 100%;
}
.border-top { border-top: 1px solid #e8eef8; }

/* centered content constraint */
.white-section > *:not(.product-wrap):not(.checkmarks):not(.video-wrap) {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.sec-title {
  font-size: 22px;
  font-weight: 800;
  color: #0d2a6b;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.sec-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #00bcd4, #1565c0);
  margin: 8px auto 24px;
  border-radius: 2px;
}

/* ===== ABOUT TEXT ===== */
.about-text {
  max-width: 680px;
  margin: 0 auto 28px;
  font-size: 16px;
  line-height: 1.85;
  color: #2a2a2a;
  text-align: center;
  direction: rtl;
}

/* ===== ABOUT IMAGE ===== */
.about-img {
  width: 100%;
  max-width: 680px;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(7, 26, 82, 0.22);
  display: block;
  margin: 0 auto;
  object-fit: cover;
}

/* ===== PRODUCT CARD ===== */
.product-wrap {
  display: flex;
  justify-content: center;
  padding: 0 4px;
}

.video-wrap {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(7, 26, 82, 0.12);
}

.product-card {
  display: flex;
  width: 100%;
  max-width: 440px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 4px 6px rgba(7, 26, 82, 0.08),
    0 12px 36px rgba(7, 26, 82, 0.18);
  border: 1px solid rgba(21, 101, 192, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 8px 12px rgba(7, 26, 82, 0.10),
    0 20px 50px rgba(7, 26, 82, 0.24);
}

.product-left {
  background: linear-gradient(160deg, #071a52 0%, #0d2a7a 55%, #1450b0 100%);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 116px;
}

.igla-logo-text {
  font-size: 32px;
  font-weight: 900;
  font-style: italic;
  color: #fff;
  letter-spacing: 4px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.anti-theft-badge {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #90caf9;
  text-align: center;
  line-height: 1.6;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 5px 9px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  text-transform: uppercase;
}

.product-badges {
  display: flex;
  gap: 8px;
}
.badge {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00e5ff;
  transition: background 0.2s, border-color 0.2s;
}
.badge:hover {
  background: rgba(0, 229, 255, 0.15);
  border-color: rgba(0, 229, 255, 0.4);
}

.product-right {
  flex: 1;
  background: linear-gradient(135deg, #ddeeff 0%, #eaf4ff 60%, #f0f7ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
}
.car-svg { width: 100%; max-width: 240px; }

/* ===== ANTI THEFT SECTION ===== */
.antitheft-h {
  font-size: 22px;
}

.antitheft-desc {
  font-size: 15px;
  color: #4a5c7a;
  margin-bottom: 24px;
  line-height: 2;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.checkmarks {
  list-style: none;
  max-width: 420px;
  margin: 0 auto;
  text-align: right;
}
.checkmarks li {
  padding: 12px 34px 12px 0;
  font-size: 15px;
  color: #1a2a4a;
  border-bottom: 1px solid #edf2fb;
  position: relative;
  line-height: 1.6;
}
.checkmarks li:last-child { border-bottom: none; }
.checkmarks li::before {
  content: '✓';
  position: absolute;
  right: 0;
  top: 12px;
  color: #00bcd4;
  font-weight: 900;
  font-size: 16px;
  line-height: 1.6;
}

/* ===== DARK SECTION (OPERATION) ===== */
.dark-section {
  background: linear-gradient(165deg, #071a52 0%, #0b2470 40%, #123a9e 80%, #1450b0 100%);
  padding: 52px 24px;
  position: relative;
  overflow: hidden;
}

/* subtle radial glow */
.dark-section::before {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 220px;
  background: radial-gradient(ellipse, rgba(0, 229, 255, 0.10) 0%, transparent 70%);
  pointer-events: none;
}

.dark-title {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
  position: relative;
  z-index: 1;
}
.dark-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #00e5ff, #00bcd4);
  margin: 8px auto 32px;
  border-radius: 2px;
}

.op-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.op-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  padding: 20px 22px;
  font-size: 15px;
  color: #c0d8ff;
  line-height: 1.85;
  text-align: right;
  backdrop-filter: blur(4px);
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.op-item:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(0, 229, 255, 0.25);
  transform: translateX(-3px);
}

/* step counter */
.op-list .op-item:nth-child(1)::before { content: '١'; }
.op-list .op-item:nth-child(2)::before { content: '٢'; }
.op-list .op-item:nth-child(3)::before { content: '٣'; }
.op-list .op-item::before {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #00e5ff;
  margin-bottom: 6px;
  opacity: 0.7;
}

/* ===== DARK BRAND BAND ===== */
.dark-brand-band {
  background: linear-gradient(165deg, #071a52 0%, #0b2470 40%, #1450b0 100%);
  border-top: 1px solid rgba(0, 229, 255, 0.12);
  border-bottom: 1px solid rgba(0, 229, 255, 0.08);
  padding: 32px 20px 28px;
  text-align: center;
}

.hero-logo-box--sm .hero-brand-text,
.hero-logo-box--sm .hero-brand-text2 {
  font-size: 42px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.2);
}
.hero-logo-box--sm .hero-lock {
  top: 4px;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding-bottom: 56px;
  background: #fafcff;
}

.contact-block {
  margin-bottom: 24px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid #e0eaf6;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(7, 26, 82, 0.07);
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}
.c-name {
  font-size: 17px;
  font-weight: 800;
  color: #0d2a6b;
  margin-bottom: 3px;
}
.c-role {
  font-size: 13px;
  color: #6a7fa8;
  margin: 0 0 12px;
  font-weight: 400;
}
.c-details {
  font-size: 13.5px;
  color: #3a4d6b;
  line-height: 2;
}
.c-details--large {
  font-size: 18px;
  font-weight: 700;
  color: #1a2a4a;
  letter-spacing: 0.3px;
}
.c-details a {
  color: #1565c0;
  font-weight: 600;
  transition: color 0.2s;
}
.c-details a:hover {
  color: #00bcd4;
  text-decoration: underline;
}

.happy {
  font-size: 20px;
  font-weight: 800;
  color: #0d2a6b;
  font-style: italic;
  font-family: 'Assistant', 'Segoe Script', cursive;
  margin: 24px auto 30px;
  max-width: 440px;
  opacity: 0.85;
}

.cform {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 440px;
  margin: 0 auto;
}

.cinput {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #d0dcf0;
  border-radius: 8px;
  font-size: 15px;
  direction: rtl;
  background: #f7faff;
  color: #1a2a4a;
  font-family: 'Assistant', inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.cinput::placeholder { color: #9baac8; }
.cinput:focus {
  border-color: #1565c0;
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.12);
  background: #fff;
}
.cinput:hover:not(:focus) {
  border-color: #a0b8e0;
}

.cbtn {
  align-self: center;
  padding: 13px 56px;
  background: linear-gradient(90deg, #00bcd4 0%, #0097a7 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  border: none;
  border-radius: 32px;
  cursor: pointer;
  letter-spacing: 0.5px;
  font-family: 'Assistant', inherit;
  box-shadow:
    0 4px 14px rgba(0, 188, 212, 0.40),
    0 1px 3px rgba(0, 0, 0, 0.12);
  transition: background 0.25s, transform 0.15s, box-shadow 0.2s;
}
.cbtn:hover {
  background: linear-gradient(90deg, #00acc1 0%, #00838f 100%);
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px rgba(0, 188, 212, 0.50),
    0 2px 6px rgba(0, 0, 0, 0.14);
}
.cbtn:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(0, 188, 212, 0.35);
}
.cbtn:focus-visible {
  outline: 3px solid rgba(0, 188, 212, 0.5);
  outline-offset: 3px;
}

/* ===== NAVBAR SCROLLED STATE ===== */
.navbar--scrolled {
  box-shadow: 0 4px 24px rgba(7, 26, 82, 0.18);
}

/* ===== ACTIVE NAV LINK ===== */
.nav-links a.active {
  color: #00bcd4;
}
.nav-links a.active::after {
  width: 100%;
}

/* ===== SCROLL REVEAL ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: #fff;
  border-top: 1px solid #e0eaf6;
  border-bottom: 1px solid #e0eaf6;
  display: flex;
  justify-content: center;
  gap: 0;
}

.stat {
  flex: 1;
  max-width: 180px;
  padding: 22px 16px;
  text-align: center;
  position: relative;
}

.stat + .stat::before {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: #e0eaf6;
}

.stat-num {
  display: block;
  font-size: 32px;
  font-weight: 900;
  color: #0d2a6b;
  line-height: 1;
  margin-bottom: 4px;
  font-family: 'Assistant', sans-serif;
}

.stat-label {
  font-size: 13px;
  color: #6080a8;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* ===== FOOTER ===== */
.footer {
  background: #060f30;
  color: #6888b8;
  text-align: center;
  padding: 18px 16px;
  font-size: 13px;
  letter-spacing: 0.3px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer strong { color: #90b4e0; font-weight: 700; }

/* ===== RESPONSIVE ===== */
@media (max-width: 500px) {
  .hero { padding: 44px 16px 52px; }
  .hero-brand-text,
  .hero-brand-text2 { font-size: 48px; letter-spacing: -1.5px; }
  .hero-lock svg { width: 28px; height: 36px; }
  .hero-lock { top: 4px; }
  .hero-sub { font-size: 13px; letter-spacing: 2px; }

  .white-section { padding: 36px 18px; }
  .dark-section { padding: 40px 18px; }

  .product-card { flex-direction: column; }
  .product-left {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    min-width: unset;
    padding: 16px;
    justify-content: center;
  }

  .nav-inner { padding: 10px 14px; }
  .nav-links { gap: 6px; font-size: 13px; }
  .nav-cta { font-size: 13px; padding: 5px 12px; }
  .brand-text, .brand-text2 { font-size: 22px; }

  .contact-block { padding: 18px 16px; }
  .cbtn { padding: 13px 44px; }
}

@media (min-width: 680px) {
  .white-section, .dark-section {
    padding-left: calc((100vw - 680px) / 2 + 24px);
    padding-right: calc((100vw - 680px) / 2 + 24px);
  }
  .white-section > *,
  .op-list,
  .cform,
  .contact-block,
  .checkmarks,
  .antitheft-desc,
  .happy {
    max-width: 640px;
  }
}

/* ==========================================================================
   ACCESSIBILITY (נגישות) – Israeli Standard IS 5568 / WCAG 2.1 AA
   ========================================================================== */

/* ── Screen-reader only utility ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Skip link (דלג לתוכן) ── */
.skip-link {
  position: absolute;
  top: -100%;
  right: 16px;
  z-index: 9999;
  padding: 10px 20px;
  background: #0d2a6b;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.15s;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid #00e5ff;
  outline-offset: 2px;
}

/* ── Enhanced focus ring (global) ── */
:focus-visible {
  outline: 3px solid #0d2a6b;
  outline-offset: 3px;
  border-radius: 3px;
}
.dark-section :focus-visible,
.dark-brand-band :focus-visible {
  outline-color: #00e5ff;
}

/* ── Form field wrapper ── */
.form-field { width: 100%; }

/* ── Operation list – override to <ol> ── */
.op-list {
  list-style: none;
  counter-reset: op-step;
}
.op-item {
  counter-increment: op-step;
}
.op-item::before {
  content: counter(op-step, decimal) '.';
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #00e5ff;
  margin-bottom: 6px;
  opacity: 0.7;
}

/* ── Footer accessibility link ── */
.footer-a11y-link {
  background: none;
  border: none;
  color: #6888b8;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  text-decoration: underline;
  transition: color 0.2s;
}
.footer-a11y-link:hover { color: #90b4e0; }
.footer-a11y-link:focus-visible {
  outline: 2px solid #90b4e0;
  outline-offset: 2px;
  border-radius: 2px;
}

/* ==========================================================================
   ACCESSIBILITY TOGGLE BUTTON (כפתור נגישות)
   ========================================================================== */
.a11y-toggle {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 8px;
  background: #0d2a6b;
  color: #fff;
  border: none;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Assistant', inherit;
  writing-mode: horizontal-tb;
  box-shadow: 2px 2px 12px rgba(7, 26, 82, 0.3);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  line-height: 1.2;
}
.a11y-toggle:hover {
  background: #1450b0;
  box-shadow: 2px 2px 18px rgba(7, 26, 82, 0.45);
}
.a11y-toggle:focus-visible {
  outline: 3px solid #00e5ff;
  outline-offset: 2px;
}
.a11y-toggle[aria-expanded="true"] {
  background: #00bcd4;
}

/* ==========================================================================
   ACCESSIBILITY PANEL (לוח נגישות)
   ========================================================================== */
.a11y-panel {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 901;
  width: 220px;
  background: #fff;
  border-radius: 0 12px 12px 0;
  box-shadow: 4px 0 32px rgba(7, 26, 82, 0.22);
  border: 1px solid #e0eaf6;
  border-right: none;
  overflow: hidden;
  direction: rtl;
}
.a11y-panel[hidden] { display: none; }

.a11y-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 10px;
  background: #0d2a6b;
  color: #fff;
}
.a11y-panel-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  color: #fff;
}
.a11y-panel-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1;
  transition: background 0.15s;
}
.a11y-panel-close:hover { background: rgba(255,255,255,0.15); }
.a11y-panel-close:focus-visible {
  outline: 2px solid #00e5ff;
  outline-offset: 1px;
}

.a11y-panel-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 10px 8px;
}

.a11y-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 12px;
  background: #f4f7fb;
  border: 1.5px solid #e0eaf6;
  border-radius: 7px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Assistant', inherit;
  color: #1a2a4a;
  text-align: right;
  direction: rtl;
  transition: background 0.15s, border-color 0.15s;
}
.a11y-btn:hover { background: #e8f0fb; border-color: #b0c8e8; }
.a11y-btn[aria-pressed="true"] {
  background: #ddeeff;
  border-color: #1565c0;
  color: #0d2a6b;
  font-weight: 700;
}
.a11y-btn:focus-visible {
  outline: 2px solid #0d2a6b;
  outline-offset: 1px;
}
.a11y-btn--reset {
  background: #fff3f3;
  border-color: #f0c0c0;
  color: #8b1a1a;
  margin-top: 4px;
}
.a11y-btn--reset:hover { background: #ffe0e0; border-color: #e08080; }

.a11y-panel-footer {
  padding: 8px 10px 12px;
  border-top: 1px solid #e0eaf6;
}
.a11y-declaration-btn {
  width: 100%;
  padding: 8px 12px;
  background: none;
  border: 1.5px solid #0d2a6b;
  border-radius: 7px;
  color: #0d2a6b;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Assistant', inherit;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.a11y-declaration-btn:hover { background: #0d2a6b; color: #fff; }
.a11y-declaration-btn:focus-visible {
  outline: 2px solid #0d2a6b;
  outline-offset: 2px;
}

/* ==========================================================================
   ACCESSIBILITY DECLARATION MODAL (הצהרת נגישות)
   ========================================================================== */
.a11y-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(5, 15, 50, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.a11y-modal-overlay[hidden] { display: none; }

.a11y-modal-box {
  background: #fff;
  border-radius: 14px;
  max-width: 540px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 32px 28px 28px;
  direction: rtl;
  text-align: right;
  position: relative;
  box-shadow: 0 16px 64px rgba(5, 15, 50, 0.4);
}
.a11y-modal-box h2 {
  font-size: 20px;
  font-weight: 800;
  color: #0d2a6b;
  margin-bottom: 14px;
}
.a11y-modal-box h3 {
  font-size: 15px;
  font-weight: 700;
  color: #0d2a6b;
  margin: 18px 0 6px;
}
.a11y-modal-box p, .a11y-modal-box li {
  font-size: 14px;
  color: #2a3a5a;
  line-height: 1.85;
}
.a11y-modal-box ul {
  padding-right: 18px;
  margin-bottom: 8px;
}
.a11y-modal-box li { margin-bottom: 4px; }
.a11y-modal-box a { color: #1565c0; font-weight: 600; text-decoration: underline; }
.a11y-modal-close {
  position: absolute;
  top: 14px;
  left: 14px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #6a7fa8;
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1;
  transition: color 0.15s, background 0.15s;
}
.a11y-modal-close:hover { color: #0d2a6b; background: #f0f4fb; }
.a11y-modal-close:focus-visible {
  outline: 2px solid #0d2a6b;
  outline-offset: 1px;
}
.a11y-decl-date {
  font-size: 12px !important;
  color: #9baac8 !important;
  margin-top: 18px;
}

/* ==========================================================================
   ACCESSIBILITY BODY MODIFIERS
   ========================================================================== */

/* ── Large text ── */
body.a11y-large-text {
  font-size: 18px !important;
}
body.a11y-large-text .nav-links,
body.a11y-large-text .nav-cta { font-size: 16px; }
body.a11y-large-text .sec-title,
body.a11y-large-text .dark-title { font-size: 26px; }
body.a11y-large-text .cinput,
body.a11y-large-text .cbtn { font-size: 18px; }

/* ── High contrast ── */
body.a11y-high-contrast {
  background: #000 !important;
  color: #fff !important;
}
body.a11y-high-contrast .navbar,
body.a11y-high-contrast .white-section,
body.a11y-high-contrast .contact-section,
body.a11y-high-contrast .stats-bar,
body.a11y-high-contrast .contact-block { background: #000 !important; border-color: #fff !important; }
body.a11y-high-contrast .sec-title,
body.a11y-high-contrast .dark-title,
body.a11y-high-contrast .stat-num,
body.a11y-high-contrast .antitheft-desc,
body.a11y-high-contrast .checkmarks li,
body.a11y-high-contrast .c-details--large,
body.a11y-high-contrast .op-item,
body.a11y-high-contrast .happy { color: #fff !important; }
body.a11y-high-contrast .nav-links a,
body.a11y-high-contrast .nav-cta,
body.a11y-high-contrast .brand-text,
body.a11y-high-contrast .brand-text2 { color: #fff !important; }
body.a11y-high-contrast a { color: #ffff00 !important; text-decoration: underline !important; }
body.a11y-high-contrast .cbtn { background: #ffff00 !important; color: #000 !important; }
body.a11y-high-contrast .cinput { background: #111 !important; color: #fff !important; border-color: #fff !important; }
body.a11y-high-contrast .dark-section { background: #111 !important; }
body.a11y-high-contrast .footer { background: #000 !important; color: #fff !important; border-color: #fff !important; }
body.a11y-high-contrast .stat-label { color: #ddd !important; }

/* ── Grayscale ── */
body.a11y-grayscale { filter: grayscale(1); }

/* ── Highlight links ── */
body.a11y-highlight-links a {
  text-decoration: underline !important;
  outline: 2px solid #0055cc !important;
  outline-offset: 1px !important;
  border-radius: 2px;
}

/* ── Readable font ── */
body.a11y-readable-font,
body.a11y-readable-font * {
  font-family: Arial, Helvetica, sans-serif !important;
  letter-spacing: 0.02em !important;
  word-spacing: 0.05em !important;
}

/* ==========================================================================
   REDUCED MOTION (prefers-reduced-motion)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto !important; }
}

/* ── Reduced motion class (from widget) ── */
body.a11y-reduced-motion *,
body.a11y-reduced-motion *::before,
body.a11y-reduced-motion *::after {
  animation-duration: 0.01ms !important;
  transition-duration: 0.01ms !important;
}

/* ==========================================================================
   HIGH CONTRAST OS MODE (prefers-contrast)
   ========================================================================== */
@media (prefers-contrast: more) {
  .cinput { border-width: 2px; border-color: #000; }
  .nav-links a, .nav-cta { color: #000; }
  .sec-title, .dark-title { color: #000; }
  .cbtn { background: #005f6b; }
  :focus-visible { outline-width: 4px; }
}
