/* Iskra / Iskra Technology — light industrial B2B, Hebrew-first
   Stage 1 brand book: TEXT wordmark (Iskra / Iskra Technology). No pictorial mark.
   Colors: mist --bg #eef0f3 · white --surface #ffffff · spark --accent #ff5a1f
   Unused: --accent-alt #00d4ff (neon cyan / printer-laser, later swap).
   Type: Rubik (Google Fonts) — Hebrew + Latin. html lang=he dir=rtl. */

:root {
  --bg: #eef0f3;
  --bg-2: #e4e7ec;
  --surface: #ffffff;
  --ink: #121417;
  --ink-2: #2c3138;
  --muted: #5c6570;
  --faint: #8a929c;
  --line: #d5d8de;
  --line-2: #c5ccd4;
  --accent: #ff5a1f;
  --accent-hover: #ff713d;
  --accent-ink: #ffffff;
  --accent-soft: rgba(255, 90, 31, 0.12);
  --accent-alt: #00d4ff;
  --amber: var(--accent);
  --amber-hover: var(--accent-hover);
  --amber-ink: var(--accent-ink);
  --amber-soft: var(--accent-soft);
  --steel: #5c6570;
  --footer: #121417;
  --footer-ink: #f2f4f6;
  --footer-muted: #9aa1ab;
  --danger: #d64538;
  --ok: #1f9d63;
  --wa: #25d366;
  --radius: 2px;
  --header-h: 72px;
  --max: 1100px;
  --shadow: 0 1px 2px rgba(18, 20, 23, 0.08);
  --focus: 0 0 0 3px rgba(255, 90, 31, 0.35);
  --font: Rubik, "Segoe UI", Tahoma, Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.skip {
  position: absolute;
  inset-inline-start: 0.75rem;
  top: -4rem;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.5rem 0.9rem;
}
.skip:focus { top: 0.5rem; }

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}
.wrap-narrow { width: min(760px, calc(100% - 2rem)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.site-header::before {
  content: "";
  display: block;
  height: 3px;
  background: var(--amber);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.wordmark:hover { color: var(--ink); }
.wordmark-stack { display: flex; flex-direction: column; gap: 0.08rem; line-height: 1.15; }
.wordmark-name {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  line-height: 1;
}
.wordmark-desc {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
  max-width: 18rem;
}
.wordmark-latin {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  opacity: 0.85;
}
@media (max-width: 520px) {
  .wordmark-desc { display: none; }
  .wordmark-latin { display: none; }
}
/* Header lockup: name + services only (Iskra Technology lives in footer) */
.site-header .wordmark-latin { display: none; }


.nav-toggle {
  margin-inline-start: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}
.nav-toggle:focus-visible { outline: none; box-shadow: var(--focus); }

.site-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  position: absolute;
  inset-inline: 0;
  top: 100%;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 1rem 1rem;
  z-index: 60;
}
.site-nav.is-open { display: flex; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.site-nav a {
  text-decoration: none;
  padding: 0.65rem 0.4rem;
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.98rem;
  border-bottom: 1px solid var(--line);
}
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.site-nav a:hover { color: var(--ink); }

.header-tools {
  display: none;
  align-items: center;
  gap: 0.75rem;
  margin-inline-start: auto;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  border: 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  opacity: 0.72;
}
.lang-switch button,
.lang-switch a {
  text-decoration: none;
  padding: 0.2rem 0.4rem;
  color: var(--faint);
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}
.lang-switch button[aria-current="true"],
.lang-switch button.is-active,
.lang-switch a[aria-current="true"],
.lang-switch a.is-active {
  color: var(--ink);
  font-weight: 800;
}
.header-cta { display: none; }

@media (min-width: 1040px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 0.1rem;
    border: 0;
    padding: 0;
    margin-inline-start: 1rem;
    flex-wrap: wrap;
    box-shadow: none;
  }
  .site-nav a {
    border: 0;
    padding: 0.4rem 0.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
  }
  .site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--amber); }
  .header-tools { display: flex; }
  .header-cta { display: inline-flex; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  line-height: 1.2;
}
.btn:focus-visible { outline: none; box-shadow: var(--focus); }
.btn-primary {
  background: var(--amber);
  color: var(--amber-ink);
  border-color: var(--amber);
}
.btn-primary:hover { background: var(--amber-hover); border-color: var(--amber-hover); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-wa {
  background: var(--wa);
  color: #083216;
  border-color: var(--wa);
}
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.25rem; }

.hero {
  background:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
    var(--bg);
  background-size: 24px 24px, 24px 24px, auto;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  gap: 1.6rem;
  padding: 2.2rem 0 2.4rem;
}
.hero-copy h1 {
  margin: 0 0 0.7rem;
  color: var(--ink);
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  max-width: 28ch;
}
.kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 0.22rem 0.55rem;
  margin-bottom: 0.85rem;
}
.lede {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 1rem;
  max-width: 40rem;
}
.hero-aside {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.2rem 1.15rem 1.3rem;
}
.hero-aside h2 {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
}
.hero-aside ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}
.hero-aside li {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 0.55rem;
  align-items: start;
  color: var(--muted);
  font-size: 0.92rem;
}
.hero-aside .n {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-ink);
  background: var(--accent);
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.diag-note {
  margin: 0.9rem 0 0;
  font-size: 0.75rem;
  color: var(--faint);
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.35fr 0.85fr;
    align-items: center;
    padding: 2.8rem 0 3rem;
    gap: 2.5rem;
  }
}

.section { padding: 2.6rem 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-muted { background: var(--surface); }
.section h2 {
  margin: 0 0 0.5rem;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 800;
  line-height: 1.25;
}
.section .intro {
  color: var(--muted);
  max-width: 44rem;
  margin: 0 0 1.6rem;
}

.trio {
  display: grid;
  gap: 1rem;
}
@media (min-width: 760px) {
  .trio { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--amber);
  padding: 1.35rem 1.2rem 1.45rem;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
a.card:hover { border-color: var(--ink); border-top-color: var(--amber); }
.card h3 {
  margin: 0.25rem 0 0.45rem;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 800;
}
.card p { margin: 0 0 0.9rem; color: var(--muted); flex: 1; }
.card-num {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--steel);
}
.card .more {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--amber);
  text-underline-offset: 3px;
}

.split {
  display: grid;
  gap: 1.2rem;
}
@media (min-width: 800px) {
  .split { grid-template-columns: 1fr 1fr; align-items: start; }
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.3rem 1.2rem 1.4rem;
}
.panel h3 {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}
.tech-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.tech-list li { border-bottom: 1px solid var(--line); padding-bottom: 0.85rem; }
.tech-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.tech-code {
  font-family: var(--mono);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.tech-list p { margin: 0.25rem 0 0; color: var(--muted); font-size: 0.95rem; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--surface); }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
table.data th, table.data td {
  text-align: start;
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.data th {
  background: var(--bg-2);
  color: var(--ink);
  font-weight: 700;
}
table.data tr:last-child td { border-bottom: 0; }
table.data .mat { font-weight: 700; color: var(--ink); white-space: nowrap; }

.honesty {
  display: grid;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--amber);
  padding: 1.4rem 1.3rem;
}
@media (min-width: 720px) {
  .honesty { grid-template-columns: 1fr 1fr; }
}
.honesty h3 { margin: 0 0 0.4rem; color: var(--ink); font-size: 1.05rem; }
.honesty p { margin: 0; color: var(--muted); }

.steps {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 800px) {
  .steps.steps-5 { grid-template-columns: repeat(5, 1fr); }
  .steps.steps-4 { grid-template-columns: repeat(4, 1fr); }
  .steps.steps-3 { grid-template-columns: repeat(3, 1fr); }
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.1rem 1rem 1.15rem;
}
.step h3 {
  margin: 0 0 0.35rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
}
.step p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  font-size: 0.85rem;
  font-family: var(--mono);
  margin-bottom: 0.55rem;
}

.cta-band {
  background: var(--footer);
  color: var(--ink);
  padding: 2.4rem 0;
  text-align: center;
  border-top: 1px solid var(--line);
}
.cta-band h2 { color: var(--ink); margin: 0 0 0.4rem; }
.cta-band p { color: var(--muted); margin: 0 auto 1.2rem; max-width: 36rem; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn-ghost { border-color: var(--ink); color: var(--ink); }
.cta-band .btn-ghost:hover { background: var(--ink); color: var(--bg); }

.page-head { padding: 2.2rem 0 0.4rem; }
.page-head h1 {
  margin: 0 0 0.45rem;
  color: var(--ink);
  font-size: clamp(1.65rem, 3.4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
}
.page-head .lede { margin-bottom: 0; }

.quote-neq {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--amber);
  padding: 0.85rem 1rem;
  margin: 0 0 1.2rem;
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 700;
}
.quote-neq span { font-weight: 500; color: var(--muted); }

.quote-layout {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .quote-layout { grid-template-columns: 1.2fr 0.8fr; align-items: stretch; }
}
.dropzone {
  background: var(--surface);
  border: 2px dashed var(--line-2);
  min-height: min(56vh, 560px);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}
.dropzone.is-drag {
  border-color: var(--amber);
  background: var(--accent-soft);
}
.dropzone-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  gap: 0.5rem;
}
.dropzone-inner strong { color: var(--ink); font-size: 1.35rem; }
.file-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.4rem 0;
}
.file-chip {
  display: inline-flex;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--line-2);
  background: var(--bg);
  color: var(--ink);
  padding: 0.22rem 0.5rem;
}
.file-chip.is-pref { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.file-chip.is-pref { font-size: 0.85rem; padding: 0.35rem 0.7rem; }
.dropzone .hint { font-size: 0.9rem; }
.dropzone-heavy { font-weight: 700; color: var(--ink); }
.file-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.file-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: center;
  background: var(--bg);
  padding: 0.45rem 0.6rem;
  font-size: 0.88rem;
}
.file-list button {
  background: none;
  border: 0;
  color: var(--danger);
  cursor: pointer;
  font-weight: 700;
}

.form {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.3rem 1.2rem 1.5rem;
}
.form-grid { display: grid; gap: 0.9rem; }
@media (min-width: 640px) {
  .form-grid.two { grid-template-columns: 1fr 1fr; }
}
.field { display: flex; flex-direction: column; gap: 0.3rem; }
.field.span-2 { grid-column: 1 / -1; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.req { color: var(--danger); }
.field input,
.field select,
.field textarea {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 0.65rem 0.7rem;
  background: #ffffff;
  color: var(--ink);
  min-height: 44px;
  color-scheme: light;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: var(--focus);
}
.hint { font-size: 0.82rem; color: var(--faint); }
.form-error {
  color: var(--danger);
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}
.form-error.is-on { display: block; }
.notice {
  background: var(--amber-soft);
  border: 1px solid var(--amber);
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  color: var(--ink-2);
}
.success {
  display: none;
  background: var(--surface);
  border: 1px solid var(--ok);
  padding: 1.2rem 1.15rem;
}
.success.is-on { display: block; }
.success h2 { margin-top: 0; }
.success pre {
  background: var(--bg);
  padding: 0.8rem;
  overflow: auto;
  font-size: 0.8rem;
  direction: ltr;
  text-align: left;
  font-family: var(--mono);
}
.check-field {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0.9rem 0;
  font-size: 0.92rem;
  color: var(--ink-2);
}
.check-field input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--amber);
}
.check-field a { color: var(--ink); font-weight: 700; text-decoration-color: var(--amber); }

.gallery {
  display: grid;
  gap: 1.2rem;
}
@media (min-width: 800px) {
  .gallery { grid-template-columns: 1fr 1fr; }
}
.ph-pair {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0.85rem;
}
.ph-pair h3 {
  margin: 0 0 0.7rem;
  font-size: 1rem;
  font-weight: 800;
}
.ph-frames {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.ph-frame {
  min-height: 180px;
  border: 1px dashed var(--line-2);
  background:
    repeating-linear-gradient(-45deg, #1a1d22, #1a1d22 8px, #22262c 8px, #22262c 16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.8rem;
  gap: 0.35rem;
  position: relative;
}
.ph-frame strong {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.ph-frame span { font-size: 0.82rem; color: var(--muted); }
.ph-cap {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: var(--faint);
}
.ph-badge {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.15rem 0.4rem;
}

.prose h2 { margin-top: 2rem; scroll-margin-top: 5rem; }
.prose h3 { margin: 1.3rem 0 0.4rem; color: var(--ink); }
.prose ul { padding-inline-start: 1.2rem; }
.prose li { margin: 0.3rem 0; }
.prose a { color: var(--ink); text-decoration-color: var(--amber); text-underline-offset: 3px; }
.legal-draft-note {
  background: var(--amber-soft);
  border: 1px solid var(--amber);
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  color: var(--ink);
  margin: 0 0 1.4rem;
  font-weight: 600;
}
.prose .toc {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  display: grid;
  gap: 0.25rem;
}
.prose .toc a { font-weight: 600; }

.contact-dl {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1.5rem;
}
.contact-dl div {
  display: flex;
  gap: 0.75rem;
  border-bottom: 1px solid var(--line);
  padding: 0.55rem 0;
}
.contact-dl dt { font-weight: 700; color: var(--ink); min-width: 7rem; }
.contact-dl dd { margin: 0; color: var(--muted); }

.site-footer {
  background: var(--footer);
  color: var(--footer-ink);
  padding: 0 0 1.2rem;
  margin-top: 0;
}
.draft-banner {
  background: #0a0c0e;
  color: var(--muted);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.45rem 1rem;
  border-bottom: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  gap: 1.6rem;
  padding-top: 2.2rem;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}
.footer-brand .wordmark-name { color: var(--ink); }
.footer-brand .wordmark-desc { color: #c8c8c8; }
.footer-brand .wordmark-latin { color: #9a9a9a; }
.footer-brand p { color: var(--footer-muted); margin: 0.6rem 0 0; max-width: 24rem; }
.site-footer h2 {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 0.6rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.28rem 0; }
.site-footer a { color: var(--footer-muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 1.8rem;
  padding-top: 1rem;
  color: #8d8d8d;
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  justify-content: space-between;
  align-items: baseline;
}
.legal-trio { color: var(--footer-muted); }
.legal-trio a { color: #d0d0d0; }
.footer-id { font-size: 0.82rem; color: var(--footer-muted); }

.wa-float {
  position: fixed;
  inset-inline-end: 1rem;
  bottom: 1rem;
  z-index: 40;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  text-decoration: none;
}
.wa-float.is-on { display: flex; }
.wa-float:focus-visible { outline: none; box-shadow: var(--focus); }
.wa-float svg { width: 28px; height: 28px; }

.is-hidden { display: none !important; }

.header-end {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-inline-start: auto;
}
@media (min-width: 1040px) {
  .header-end { display: none; }
  .lang-switch.mobile { display: none; }
}
@media (max-width: 1039px) {
  .lang-switch.mobile { display: inline-flex; }
}

.proto-index {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  margin-inline-end: 0.4rem;
}
.proto-index:hover { color: var(--ink); }
@media (max-width: 720px) {
  .proto-index { display: none; }
}

.inline-links a { color: var(--ink); font-weight: 700; text-decoration-color: var(--amber); }
.list-plain { padding-inline-start: 1.1rem; color: var(--muted); }
.list-plain li { margin: 0.35rem 0; }

.ask-us {
  background: var(--surface);
  border: 1px dashed var(--line-2);
  padding: 1.2rem 1.25rem;
  margin-top: 1.2rem;
}
.ask-us h3 { margin: 0 0 0.4rem; color: var(--ink); }

.opt-note {
  background: var(--bg);
  border: 1px dashed var(--line-2);
  padding: 0.9rem 1rem;
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: 1rem;
}

@media print {
  .site-header, .wa-float, .nav-toggle, .cta-band { display: none !important; }
  body { background: #fff; color: #111; }
}

/* Materials: blocks + table. Price is always לפי הצעה — no invented numbers. */
.mat-grid {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 720px) {
  .mat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1020px) {
  .mat-grid { grid-template-columns: repeat(3, 1fr); }
}
.mat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.15rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 100%;
}
.mat-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}
.mat-card h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
.mat-card p { margin: 0; color: var(--muted); font-size: 0.92rem; flex: 1; }
.tech-pill {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line-2);
  color: var(--steel);
  padding: 0.18rem 0.45rem;
}
.price-tag {
  display: inline-flex;
  align-items: center;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 0.22rem 0.55rem;
  letter-spacing: 0.02em;
}
table.data .price {
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
}
.price-note {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

form details { border: 1px solid var(--line); padding: 0.7rem 0.85rem; background: var(--bg); }
form details summary { list-style: none; }
form details summary::-webkit-details-marker { display: none; }


/* —— Prototype 3: farm placeholder, why-us, fleet, cases, BA slider —— */

.hero-farm { min-width: 0; }
.farm-gallery {
  display: grid;
  gap: 0.55rem;
}
.farm-shot {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}
.farm-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  vertical-align: middle;
}
.farm-cap {
  margin: 0.55rem 0 0;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
}
.ph-frame-hero,
.ph-frame-wide {
  min-height: 280px;
  width: 100%;
  border: 1px dashed var(--line-2);
  border-inline-start: 3px solid var(--accent);
  background:
    linear-gradient(180deg, rgba(255,90,31,0.10), transparent 42%),
    repeating-linear-gradient(-45deg, #e8eaee, #e8eaee 10px, #dde1e7 10px, #dde1e7 20px);
  padding: 1.4rem 1.1rem;
  gap: 0.45rem;
}
.ph-frame-hero { min-height: min(52vw, 340px); }
.ph-frame-wide { min-height: 240px; margin: 0 0 1.1rem; }
.ph-frame figcaption,
.ph-frame .ph-meta {
  font-size: 0.78rem;
  color: var(--faint);
  max-width: 22rem;
  margin: 0.35rem 0 0;
  line-height: 1.45;
}
.ph-frame .ph-meta {
  font-family: var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  font-size: 0.68rem;
}
.ph-frames.ph-frames-3 {
  grid-template-columns: 1fr;
  margin-top: 0.9rem;
}
@media (min-width: 720px) {
  .ph-frames.ph-frames-3 { grid-template-columns: 1fr 1fr 1fr; }
}

.why-us {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.why-us h2 { max-width: 22ch; }
.why-body {
  max-width: 46rem;
  color: var(--ink-2);
  font-size: 1.05rem;
  line-height: 1.7;
}
.why-body p { margin: 0 0 0.85rem; }
.why-body p:last-child { margin-bottom: 0; }

.fleet-lead {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.fleet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.fleet-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 0.7rem 0.85rem;
}
.fleet-make {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
}
.fleet-model {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  min-width: 0;
}
.fleet-list strong {
  font-family: var(--mono);
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.fleet-acc {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.cases {
  display: grid;
  gap: 2.2rem;
}
.case {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  padding: 1.25rem 1.15rem 1.4rem;
  box-shadow: var(--shadow);
}
.case-cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 0.18rem 0.5rem;
  margin-bottom: 0.7rem;
}
.case h2 {
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.3;
}
.case-facts {
  margin: 1.15rem 0 0;
  display: grid;
  gap: 0.85rem;
}
.case-facts > div {
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
}
.case-facts dt {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 0.3rem;
}
.case-facts dd {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.6;
}

.ba-slider {
  --ba-pos: 50%;
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--bg);
  cursor: ew-resize;
  user-select: none;
  touch-action: none;
  direction: ltr;
}
.ba-slider:focus-visible { outline: none; box-shadow: var(--focus); }
.ba-slider.is-dragging { cursor: grabbing; }
.ba-layer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.4rem;
  padding: 1.2rem;
}
.ba-layer strong {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.ba-layer span { font-size: 0.82rem; color: var(--muted); }
.ba-layer .ph-badge {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.15rem 0.4rem;
}
.ba-after {
  background:
    linear-gradient(90deg, rgba(255,90,31,0.08) 1px, transparent 1px),
    linear-gradient(rgba(255,90,31,0.08) 1px, transparent 1px),
    #f7f8fa;
  background-size: 22px 22px, 22px 22px, auto;
}
.ba-before {
  z-index: 1;
  clip-path: inset(0 calc(100% - var(--ba-pos)) 0 0);
  background:
    repeating-linear-gradient(-45deg, #eceff3, #eceff3 9px, #e2e6ec 9px, #e2e6ec 18px);
}
.ba-label {
  position: absolute;
  top: 0.7rem;
  z-index: 3;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.18rem 0.45rem;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  border: 1px solid var(--line);
}
.ba-label-before { left: 0.7rem; }
.ba-label-after { right: 0.7rem; }
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-pos);
  width: 2px;
  background: var(--accent);
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
}
.ba-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85), 0 4px 14px rgba(18,20,23,0.2);
  pointer-events: none;
}
.ba-range {
  position: absolute;
  inset-inline: 0;
  bottom: 0.45rem;
  z-index: 5;
  width: calc(100% - 1.6rem);
  margin-inline: 0.8rem;
  height: 28px;
  opacity: 0.01;
  cursor: ew-resize;
  accent-color: var(--accent);
}
@media (max-width: 640px) {
  .ba-slider { min-height: 220px; }
  .ph-frame-hero { min-height: 220px; }
}

.ba-slider.has-photos {
  width: 100%;
  max-width: 48rem;
  min-height: 0;
  aspect-ratio: 16 / 9;
  margin-inline-end: 0;
  margin-inline-start: auto;
}
.ba-slider.has-photos .ba-layer {
  padding: 0;
  display: block;
}
.ba-slider.has-photos .ba-layer img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 7%;
  box-sizing: border-box;
  display: block;
}
.ba-slider.has-photos .ba-after,
.ba-slider.has-photos .ba-before {
  background: #e8eaee;
}

@media print {
  .ba-handle, .ba-range { display: none; }
  .ba-before { clip-path: none; width: 50%; position: relative; }
}

/* —— Filament comparison table (print page) —— */
.filaments-block {
  margin-top: 1.8rem;
}
.filaments-block h2 {
  margin: 0 0 0.45rem;
  color: var(--ink);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.3;
}
.filaments-scroll-hint {
  display: none;
  margin: 0 0 0.55rem;
  color: var(--faint);
  font-size: 0.82rem;
}
@media (max-width: 860px) {
  .filaments-scroll-hint { display: block; }
}
.filaments-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  border: 1px solid var(--line);
  background: var(--surface);
  max-width: 100%;
  scrollbar-color: var(--line-2) var(--bg);
}
.filaments-scroll:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}
table.filaments {
  width: max-content;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95rem;
}
table.filaments th,
table.filaments td {
  text-align: start;
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid var(--line);
  border-inline-end: 1px solid var(--line);
  vertical-align: middle;
  line-height: 1.3;
  font-size: 0.95rem;
  white-space: nowrap;
}
table.filaments th:last-child,
table.filaments td:last-child {
  border-inline-end: 0;
}
table.filaments thead th {
  background: var(--bg-2);
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
  font-size: 1rem;
}
table.filaments tbody th {
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  font-family: var(--mono);
  letter-spacing: 0.03em;
  background: var(--surface);
}
table.filaments thead th:first-child,
table.filaments tbody th:first-child {
  position: sticky;
  inset-inline-start: 0;
  z-index: 2;
  min-width: 8.5rem;
}
html[dir="rtl"] table.filaments thead th:first-child,
html[dir="rtl"] table.filaments tbody th:first-child {
  box-shadow: -8px 0 10px -8px rgba(0, 0, 0, 0.55);
}
html[dir="ltr"] table.filaments thead th:first-child,
html[dir="ltr"] table.filaments tbody th:first-child {
  box-shadow: 8px 0 10px -8px rgba(0, 0, 0, 0.55);
}
table.filaments thead th:first-child {
  z-index: 3;
  background: var(--bg-2);
}
table.filaments tbody tr:last-child th,
table.filaments tbody tr:last-child td {
  border-bottom: 0;
}
table.filaments tbody tr:hover td,
table.filaments tbody tr:hover th {
  background: var(--bg-2);
}
.filaments .mat-sub {
  display: inline;
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0;
  color: var(--muted);
  white-space: nowrap;
  margin-inline-start: 0.35rem;
}
.filaments .spec {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-size: 1rem;
  color: var(--ink);
  font-weight: 600;
}
.filaments .spec.na {
  color: var(--faint);
  font-weight: 500;
}
.filaments-note {
  margin: 0.7rem 0 0;
  color: var(--faint);
  font-size: 0.82rem;
  line-height: 1.5;
  max-width: 46rem;
}
@media (max-width: 860px) {
  table.filaments th,
  table.filaments td {
    padding: 0.5rem 0.7rem;
  }
}

table.filaments th.uv,
table.filaments td.uv {
  min-width: 7.2rem;
  font-weight: 700;
  white-space: nowrap;
}
table.filaments th.chem,
table.filaments td.chem {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--ink-2);
  text-align: start;
  white-space: nowrap;
}
table.filaments thead th.uv,
table.filaments thead th.chem {
  background: var(--accent-soft);
  color: var(--ink);
}
table.filaments td.uv-weak { color: var(--danger); }
table.filaments td.uv-mid { color: var(--ink); }
table.filaments td.uv-good { color: var(--ok); }
table.filaments td.uv-na { color: var(--faint); font-weight: 500; }
.filaments-scroll-hint { display: block; }

.parts-gallery {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 0.7rem;
}
@media (min-width: 720px) {
  .parts-gallery { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .parts-gallery { grid-template-columns: 1fr 1fr 1fr 1fr; }
}
.parts-shot {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}
.parts-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ba-compare {
  display: grid;
  gap: 0.9rem;
  margin: 0 0 0.7rem;
}
@media (min-width: 720px) {
  .ba-compare { grid-template-columns: 1fr 1fr; }
}
.ba-col-title {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.ba-col .ba-shot {
  margin: 0 0 0.55rem;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}
.ba-col .ba-shot:last-child { margin-bottom: 0; }
.ba-col .ba-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ba-slider.has-photos + .ph-cap + .ba-slider.has-photos {
  margin-top: 1.1rem;
}
.case .ba-slider.has-photos {
  max-width: 48rem;
  margin-inline: 0;
}


/* Fullscreen image lightbox (portfolio) */
.parts-shot img {
  cursor: zoom-in;
}
.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(10, 12, 16, 0.92);
  cursor: zoom-out;
}
.lb-overlay[hidden], .lb-close[hidden] { display: none; }
.lb-overlay img {
  max-width: min(96vw, 1400px);
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
  cursor: default;
}
.lb-close {
  position: fixed;
  top: 0.85rem;
  inset-inline-end: 0.85rem;
  z-index: 10001;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.lb-close:hover,
.lb-close:focus-visible {
  background: rgba(255,255,255,.22);
  outline: none;
}
body.lb-open { overflow: hidden; }


/* Keep +country codes LTR inside RTL Hebrew pages */
.phone-ltr,
a[href^="tel:"] {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}
