:root {
  --bg: #081120;
  --panel: #0f172a;
  --panel-soft: #111c33;
  --text: #e5eefc;
  --muted: #9fb0d1;
  --line: rgba(255,255,255,0.12);
  --brand: #38bdf8;
  --brand-strong: #0ea5e9;
  --accent: #f59e0b;
  --ok: #34d399;
  --danger: #f87171;
  --shadow: 0 20px 50px rgba(0,0,0,0.25);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Heebo', system-ui, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(56,189,248,0.18), transparent 28%),
    linear-gradient(180deg, #081120 0%, #0b1220 100%);
  color: var(--text);
  line-height: 1.6;
}

body.a11y-links a:not(.btn) {
  text-decoration: underline !important;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.16em;
}

body.a11y-readable {
  font-family: Arial, "Noto Sans Hebrew", sans-serif;
}

body.a11y-contrast {
  background: #020617;
  color: #ffffff;
}

body.a11y-contrast .hero-card,
body.a11y-contrast .service-card,
body.a11y-contrast .benefit,
body.a11y-contrast .contact-panel,
body.a11y-contrast .steps li,
body.a11y-contrast .stats li,
body.a11y-contrast .a11y-panel {
  background: #000000;
  border-color: rgba(255,255,255,0.38);
}

body.a11y-text {
  font-size: 1.12rem;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.skip-link {
  position: absolute;
  right: 16px;
  top: -48px;
  background: #fff;
  color: #111;
  padding: 10px 14px;
  border-radius: 12px;
  z-index: 1000;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(8,17,32,0.75);
  border-bottom: 1px solid var(--line);
}
.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #081120;
  font-weight: 900;
}
.brand small,
.eyebrow,
.section-head p,
.lead,
.service-card p,
.benefit p,
.contact-copy p,
.contact-list,
.field-hint,
.form-status,
.site-footer p {
  color: var(--muted);
}
.brand strong { display: block; }
.brand small { display: block; font-size: 0.9rem; }

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav a {
  text-decoration: none;
  color: var(--muted);
}
.nav a:hover,
.nav a:focus-visible,
.inline-link:hover,
.inline-link:focus-visible {
  color: #fff;
}

.hero,
.section {
  padding: 72px 0;
}
.hero-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: start;
}
.hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.05;
}
.hero-copy em { color: var(--brand); font-style: normal; }
.lead { font-size: 1.15rem; max-width: 62ch; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0;
}
.stats {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.stats li,
.hero-card,
.service-card,
.benefit,
.contact-panel,
.steps li {
  background: rgba(15,23,42,0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stats li {
  padding: 18px;
}
.stats strong {
  display: block;
  font-size: 1.7rem;
  color: #fff;
}

.hero-card {
  padding: 24px;
}
.card-label,
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .82rem;
  font-weight: 800;
  color: var(--brand);
}
.check-list,
.service-card ul,
.contact-list {
  margin: 18px 0 0;
  padding: 0 20px 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
.nav a:focus-visible,
.inline-link:focus-visible {
  outline: 3px solid rgba(56,189,248,0.55);
  outline-offset: 2px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #081120;
}
.btn-secondary,
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.22);
  color: #fff;
}
.btn-outline:hover,
.btn-secondary:hover,
.btn-primary:hover { filter: brightness(1.06); }
.inline-link {
  color: var(--brand);
  text-decoration: none;
  font-weight: 700;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}
.section-head h2,
.contact-copy h2,
.sent-panel h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
}
.section-head.compact { margin-bottom: 18px; }

.cards {
  display: grid;
  gap: 18px;
}
.cards-3,
.benefits-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card,
.benefit,
.contact-panel {
  padding: 24px;
}
.service-num {
  margin: 0 0 8px;
  color: var(--brand);
  font-weight: 800;
}
.service-card h3,
.benefit h3 { margin: 0 0 10px; }
.band {
  background: rgba(255,255,255,0.03);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 28px 0 0;
}
.steps li { padding: 22px; }
.steps strong { display: block; margin-bottom: 8px; color: #fff; }

.contact-section { padding-bottom: 88px; }
.contact-list { list-style: none; padding: 0; }
.contact-list li + li { margin-top: 8px; }
.field { margin-bottom: 16px; }
label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}
input,
textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: #fff;
  padding: 14px 16px;
}
textarea { resize: vertical; }
.field-error {
  min-height: 1.25rem;
  margin: 6px 0 0;
  color: var(--danger);
  font-size: .95rem;
}
.error-summary {
  border: 1px solid rgba(248,113,113,0.45);
  background: rgba(127,29,29,0.28);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.error-summary ul { margin: 10px 0 0; padding-right: 20px; }
.error-summary a { color: #fff; }
.field.has-error input,
.field.has-error textarea {
  border-color: var(--danger);
}
.form-submit { width: 100%; }
.sent-panel {
  display: grid;
  gap: 14px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(8,17,32,0.88);
}

.a11y-trigger {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 35;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(8,17,32,0.94);
  color: #fff;
  box-shadow: var(--shadow);
}

.a11y-panel {
  position: fixed;
  left: 16px;
  bottom: 76px;
  z-index: 36;
  width: min(320px, calc(100vw - 32px));
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(15,23,42,0.97);
  box-shadow: var(--shadow);
}

.a11y-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.a11y-close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
}

.a11y-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.a11y-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.a11y-btn {
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-weight: 700;
}

.a11y-btn.is-active {
  border-color: var(--brand);
  background: rgba(56,189,248,0.14);
}

.a11y-reset {
  width: 100%;
  margin-top: 14px;
}

.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;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
  }

  .header-inner,
  .footer-inner,
  .section-head {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-grid,
  .contact-grid,
  .cards-3,
  .benefits-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .header-inner {
    padding: 12px 0;
  }

  .header-inner > .btn {
    width: 100%;
  }

  .nav {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .nav a {
    white-space: nowrap;
  }

  .a11y-trigger {
    left: 12px;
    right: 12px;
    bottom: 12px;
    justify-content: center;
  }

  .a11y-panel {
    left: 12px;
    right: 12px;
    bottom: 70px;
    width: auto;
  }

  .a11y-actions {
    grid-template-columns: 1fr;
  }

  .stats { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}