/* ==========================================================================
   דים הנדסה | בדק בית הנדסי — עיצוב משותף לכל עמודי האתר
   --------------------------------------------------------------------------
   1. משתנים (צבעים, גופנים, מרווחים)
   2. בסיס וטיפוגרפיה
   3. פריסה ורכיבים כלליים (כפתורים, תוויות, אזורים)
   4. כותרת עליונה וניווט
   5. טפסים
   6. כותרת תחתונה ופס פעולה במובייל
   7. אזורי תוכן (hero, שירותים, תהליך, דוח, שאלות ועוד)
   8. דף נחיתה
   9. אנימציות ונגישות תנועה
   ========================================================================== */

/* 1. משתנים --------------------------------------------------------------- */
:root {
  --paper: #f5f2eb;
  --paper-2: #ece7dc;
  --card: #fffdf8;
  --ink: #14222f;
  --ink-2: #3c4a57;
  --muted: #56616c;
  --line: #d8d1c2;
  --line-soft: #e6e0d3;
  --blue: #1e4d7b;
  --red: #c0392b;
  --red-soft: #f6e3e0;
  --amber: #f2a516;
  --amber-soft: #fbe6b8;
  --green: #1f7a55;
  --green-soft: #dcefe6;
  --wa: #25d366;

  --font-sans: "IBM Plex Sans Hebrew", "Segoe UI", Arial, sans-serif;
  /* הגופן המונו-ספייס מכסה ספרות ואותיות לועזיות; אותיות עבריות נופלות ל-Plex Sans Hebrew */
  --font-mono: "IBM Plex Mono", "IBM Plex Sans Hebrew", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgb(20 34 47 / 0.06), 0 1px 1px rgb(20 34 47 / 0.04);
  --shadow: 0 10px 30px -12px rgb(20 34 47 / 0.25), 0 2px 6px rgb(20 34 47 / 0.06);
  --shadow-lg: 0 30px 60px -20px rgb(20 34 47 / 0.35), 0 8px 18px rgb(20 34 47 / 0.08);

  --container: 1180px;
  --gutter: clamp(18px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 112px);
  --header-h: 72px;
}

/* 2. בסיס וטיפוגרפיה ------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  line-height: 1.12;
}
h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
}
h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.3rem);
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

a {
  color: var(--blue);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

strong {
  font-weight: 700;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}
/* על רקע כהה — מסגרת מיקוד צהובה, כדי שתבלוט */
.section--dark :focus-visible,
.panel--dark :focus-visible,
.site-footer :focus-visible,
.lp-footer :focus-visible,
.price-card--featured :focus-visible,
.card--cta :focus-visible {
  outline-color: var(--amber);
}

::selection {
  background: var(--amber-soft);
  color: var(--ink);
}

/* טקסט משמאל לימין בתוך עמוד עברי (טלפונים, מיילים, מידות) */
.ltr {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -100px;
  z-index: 1000;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}

/* 3. פריסה ורכיבים כלליים -------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
  position: relative;
}
.section--alt {
  background: var(--paper-2);
}
.section--dark {
  background: var(--ink);
  color: #e9eef2;
}
.section--dark h2,
.section--dark h3 {
  color: #fff;
}
.section--tight {
  padding-block: clamp(40px, 6vw, 64px);
}

/* רשת שרטוט עדינה ברקע */
.grid-bg {
  background-image:
    linear-gradient(rgb(20 34 47 / 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgb(20 34 47 / 0.055) 1px, transparent 1px),
    linear-gradient(rgb(20 34 47 / 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgb(20 34 47 / 0.03) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: center top;
}
.section--dark.grid-bg {
  background-image:
    linear-gradient(rgb(255 255 255 / 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.06) 1px, transparent 1px),
    linear-gradient(rgb(255 255 255 / 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.025) 1px, transparent 1px);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head--center .eyebrow {
  justify-content: center;
}
.lead {
  font-size: clamp(1.08rem, 1.6vw, 1.22rem);
  color: var(--ink-2);
  line-height: 1.65;
}
.section--dark .lead {
  color: #c3ccd4;
}

/* תווית עליונה בסגנון הערת שרטוט */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--blue);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  flex: none;
}
.section--dark .eyebrow {
  color: var(--amber);
}

/* סימון "מרקר" על מילה בכותרת */
.mark {
  background: linear-gradient(transparent 58%, var(--amber-soft) 58%, var(--amber-soft) 92%, transparent 92%);
  padding-inline: 0.08em;
}

/* כפתורים */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-border: var(--btn-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 24px;
  border: 1.5px solid var(--btn-border);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn:active {
  transform: translateY(0);
}
.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.btn--accent {
  --btn-bg: var(--amber);
  --btn-fg: var(--ink);
}
.btn--wa {
  --btn-bg: var(--wa);
  --btn-fg: #0b2a17;
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-border: var(--ink);
}
.btn--ghost:hover {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
}
.section--dark .btn--ghost {
  --btn-fg: #fff;
  --btn-border: rgb(255 255 255 / 0.5);
}
.section--dark .btn--ghost:hover {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
}
.btn--sm {
  min-height: 42px;
  padding: 8px 18px;
  font-size: 0.95rem;
}
.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* קישור עם חץ */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}
.link-arrow::after {
  content: "←";
  transition: transform 0.2s ease;
}
.link-arrow:hover::after {
  transform: translateX(-4px);
}

/* רשימת וי */
.checklist {
  list-style: none;
  display: grid;
  gap: 10px;
}
.checklist li {
  position: relative;
  padding-inline-start: 32px;
}
.checklist li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.32em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%231f7a55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 20px no-repeat;
}
.section--dark .checklist li::before {
  background-color: rgb(255 255 255 / 0.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23f2a516' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* תגיות */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}
.tag--red {
  background: var(--red-soft);
  color: #9e2b20;
}
.tag--amber {
  background: var(--amber-soft);
  color: #7a4b00;
}
.tag--green {
  background: var(--green-soft);
  color: #17603f;
}
.tag--blue {
  background: #dde8f2;
  color: var(--blue);
}

/* 4. כותרת עליונה וניווט ---------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(245 242 235 / 0.9);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 20px -16px rgb(20 34 47 / 0.4);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}
.brand__mark {
  width: 40px;
  height: 40px;
  flex: none;
}
.brand__text {
  display: grid;
  line-height: 1.1;
}
.brand__name {
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand__tagline {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

.nav {
  margin-inline-start: auto;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav__link {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 0.98rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--ink);
  background: rgb(20 34 47 / 0.06);
}

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

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-inline-start: auto;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle svg {
  width: 22px;
  height: 22px;
}
.nav-toggle .icon-close {
  display: none;
}
.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}
.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

@media (max-width: 1199px) {
  .nav-toggle {
    display: inline-flex;
  }
  .header-actions .btn--phone-label {
    display: none;
  }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    margin: 0;
    padding: 12px var(--gutter) 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgb(20 34 47 / 0.35);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .nav__link {
    padding: 14px 12px;
    font-size: 1.08rem;
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
  }
  .header-actions {
    order: 3;
  }
}
@media (max-width: 520px) {
  .brand__mark {
    width: 34px;
    height: 34px;
  }
  .brand__name {
    font-size: 1.12rem;
  }
  .brand__tagline {
    font-size: 0.72rem;
  }
  .header-actions .btn {
    display: none;
  }
}

/* 5. טפסים ------------------------------------------------------------------ */
.form {
  display: grid;
  gap: 16px;
}
.form__row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.field {
  display: grid;
  gap: 6px;
}
.field label,
.field .field__label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}
.field .optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea {
  min-height: 110px;
  resize: vertical;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%2314222f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  background-size: 18px;
  padding-inline-end: 44px;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #6b7680;
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #b9b09c;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgb(30 77 123 / 0.15);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: var(--red);
}
.field__error {
  min-height: 0;
  font-size: 0.85rem;
  color: var(--red);
}
.field__error:empty {
  display: none;
}
.form__note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}
.form__status {
  margin: 0;
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 500;
}
.form__status:empty {
  display: none;
}
.form__status.is-success {
  background: var(--green-soft);
  color: #17603f;
}
.form__status.is-error {
  background: var(--red-soft);
  color: #9e2b20;
}
.btn[aria-busy="true"] {
  opacity: 0.7;
  pointer-events: none;
}

/* 6. כותרת תחתונה ופס פעולה במובייל ---------------------------------------- */
.site-footer {
  background: var(--ink);
  color: #b7c1ca;
  padding-block: 64px 28px;
  font-size: 0.97rem;
}
.site-footer a {
  color: #dfe6ec;
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.site-footer__grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1.4fr repeat(3, 1fr);
}
.site-footer .brand {
  color: #fff;
}
.site-footer .brand__tagline {
  color: #9aa6b0;
}
.site-footer__about {
  margin-top: 18px;
  max-width: 340px;
}
.site-footer h2 {
  margin-bottom: 14px;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--amber);
}
.site-footer ul {
  list-style: none;
  display: grid;
  gap: 8px;
}
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  font-size: 0.87rem;
  color: #8d99a3;
}
.site-footer__bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
/* קישורים ליד טקסט רגיל — מסומנים בקו תחתון ולא רק בצבע */
.site-footer__bottom a {
  text-decoration: underline;
}
@media (max-width: 900px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer__brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 520px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* פס חיוג/וואטסאפ קבוע בתחתית המסך במובייל */
.mobile-bar {
  display: none;
}
@media (max-width: 760px) {
  .mobile-bar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgb(245 242 235 / 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
  }
  .mobile-bar .btn {
    min-height: 48px;
    padding-inline: 12px;
  }
  body.has-mobile-bar {
    padding-bottom: 76px;
  }
}

/* 7. אזורי תוכן ----------------------------------------------------------- */

/* --- Hero --- */
.hero {
  position: relative;
  padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 104px);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  gap: clamp(40px, 5vw, 72px);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
}
.hero h1 {
  margin-bottom: 20px;
}
.hero .lead {
  max-width: 560px;
  margin-bottom: 28px;
}
.hero__points {
  margin-top: 30px;
  max-width: 540px;
}
.hero__visual {
  position: relative;
}
.hero__badge {
  position: absolute;
  inset-inline-end: -14px;
  bottom: -20px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 230px;
  padding: 12px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  line-height: 1.35;
}
.hero__badge svg {
  width: 34px;
  height: 34px;
  flex: none;
  color: var(--amber);
}
@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__visual {
    max-width: 620px;
  }
  .hero__badge {
    inset-inline-end: 12px;
  }
}
@media (max-width: 560px) {
  .hero__badge {
    position: static;
    max-width: none;
    margin-top: 14px;
  }
  .hero .sheet__foot {
    display: none;
  }
}

/* --- גיליון שרטוט (האיור ב-hero) --- */
.sheet {
  position: relative;
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.sheet__bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--muted);
}
.sheet__bar b {
  color: var(--red);
  font-weight: 500;
}
.sheet__plan {
  position: relative;
  padding: 10px 12px 4px;
  background-image:
    linear-gradient(rgb(30 77 123 / 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgb(30 77 123 / 0.06) 1px, transparent 1px);
  background-size: 20px 20px;
}
.sheet__plan svg {
  width: 100%;
  height: auto;
}
.sheet__legend {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.sheet__legend li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 0.86rem;
  line-height: 1.35;
  border-bottom: 1px solid var(--line-soft);
}
.sheet__legend li:nth-child(odd) {
  border-inline-end: 1px solid var(--line-soft);
}
.sheet__legend li:nth-last-child(-n + 2) {
  border-bottom: 0;
}
.sheet__legend .num {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
}
.sheet__legend .val {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--red);
  margin-inline-start: auto;
  white-space: nowrap;
}
@media (max-width: 460px) {
  .sheet__legend {
    grid-template-columns: 1fr;
  }
  .sheet__legend li:nth-child(odd) {
    border-inline-end: 0;
  }
  .sheet__legend li:nth-last-child(2) {
    border-bottom: 1px solid var(--line-soft);
  }
}

.sheet__foot {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 8px 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--muted);
}

/* חלקי השרטוט */
.plan-marker {
  transform-box: fill-box;
  transform-origin: center;
}
.plan-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse 2.4s ease-out 2;
  animation-delay: var(--d, 0s);
}
.js .plan-marker {
  opacity: 0;
  animation: pop 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) forwards;
  animation-delay: var(--d, 0s);
}
.js .plan-scan {
  animation: scan 2.6s cubic-bezier(0.5, 0, 0.3, 1) 0.3s forwards;
}
.plan-scan {
  opacity: 0;
}
@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.3);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes pulse {
  0% {
    opacity: 0.55;
    transform: scale(1);
  }
  80%,
  100% {
    opacity: 0;
    transform: scale(2.4);
  }
}
@keyframes scan {
  0% {
    opacity: 0;
    transform: translateX(0);
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(-470px);
  }
}

/* --- פס אמון --- */
.trust {
  border-block: 1px solid var(--line);
  background: var(--card);
}
.trust__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 20px;
  font-weight: 600;
  line-height: 1.35;
}
.trust__item + .trust__item {
  border-inline-start: 1px solid var(--line);
}
.trust__item svg {
  width: 30px;
  height: 30px;
  flex: none;
  color: var(--blue);
}
.trust__item small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85rem;
}
@media (max-width: 980px) {
  .trust__list {
    grid-template-columns: 1fr 1fr;
  }
  .trust__item:nth-child(3) {
    border-inline-start: 0;
  }
  .trust__item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 560px) {
  .trust__list {
    grid-template-columns: 1fr;
  }
  .trust__item + .trust__item {
    border-inline-start: 0;
    border-top: 1px solid var(--line);
  }
  .trust__item {
    padding: 16px 4px;
  }
}

/* --- פתיח "למה עכשיו" --- */
.split {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
}
.callout {
  padding: 24px 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--amber);
  border-radius: var(--radius);
}
.callout p:last-child {
  margin-bottom: 0;
}
.callout__title {
  font-weight: 700;
  margin-bottom: 6px;
}
.fine {
  font-size: 0.85rem;
  color: var(--muted);
}

/* --- כרטיסי שירותים --- */
.cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #c9c0ad;
}
.card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--paper-2);
  color: var(--blue);
}
.card__icon svg {
  width: 30px;
  height: 30px;
}
.card h3 {
  margin-bottom: 8px;
}
.card p {
  color: var(--ink-2);
  font-size: 0.99rem;
}
.card .link-arrow {
  margin-top: auto;
}
.card .link-arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.card__meta {
  margin: -2px 0 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* כרטיס קריאה לפעולה שמשלים את רשת השירותים */
.card--cta {
  background: var(--ink);
  border-color: var(--ink);
}
.card--cta:hover {
  border-color: var(--ink);
}
.card--cta h3 {
  color: #fff;
}
.card--cta p,
.card--cta .card__meta {
  color: #b7c1ca;
}
.card--cta .card__icon {
  background: rgb(255 255 255 / 0.08);
  color: var(--amber);
}
.card--cta .link-arrow {
  color: var(--amber);
}

/* --- למה מהנדס (אזור כהה) --- */
.why__grid {
  display: grid;
  gap: clamp(36px, 5vw, 80px);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}
.why__statement {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}
.why__list {
  list-style: none;
  display: grid;
  gap: 0;
  counter-reset: why;
}
.why__item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px 18px;
  padding: 26px 0;
  border-top: 1px solid rgb(255 255 255 / 0.14);
  counter-increment: why;
}
.why__item:last-child {
  border-bottom: 1px solid rgb(255 255 255 / 0.14);
}
.why__item::before {
  content: "0" counter(why);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--amber);
  padding-top: 3px;
}
.why__item h3 {
  margin-bottom: 6px;
}
.why__item p {
  grid-column: 2;
  margin: 0;
  color: #c3ccd4;
}
.why__item h3 {
  grid-column: 2;
  grid-row: 1;
}
@media (max-width: 900px) {
  .why__grid {
    grid-template-columns: 1fr;
  }
  .why__statement {
    position: static;
  }
  .why__item {
    grid-template-columns: 44px 1fr;
  }
}

/* --- מה בודקים --- */
.checks {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  list-style: none;
}
.check {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 14px;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.check svg {
  width: 44px;
  height: 44px;
  padding: 9px;
  border-radius: 12px;
  background: var(--paper-2);
  color: var(--blue);
  grid-row: span 2;
}
.check h3 {
  margin: 0;
  font-size: 1.05rem;
}
.check p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}
.tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
}
.tools__label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
  margin-inline-end: 6px;
}
.tools .tag {
  font-size: 0.86rem;
  padding: 6px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-weight: 500;
}

/* --- תהליך --- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
  counter-reset: step;
}
.steps::before {
  /* קו מידה שמחבר בין השלבים */
  content: "";
  position: absolute;
  top: 27px;
  inset-inline: 28px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 12px);
  opacity: 0.35;
}
.step {
  position: relative;
  counter-increment: step;
}
.step__num {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1rem;
}
.section--alt .step__num {
  background: var(--paper-2);
}
.step__num::after {
  content: "0" counter(step);
}
.step:last-child .step__num {
  background: var(--ink);
  color: var(--amber);
}
.step h3 {
  margin-bottom: 8px;
}
.step p {
  color: var(--ink-2);
  font-size: 0.98rem;
  margin: 0;
}
@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .steps::before {
    top: 28px;
    bottom: 28px;
    inset-inline: 27px auto;
    width: 1px;
    height: auto;
    background: repeating-linear-gradient(180deg, var(--ink) 0 6px, transparent 6px 12px);
  }
  .step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 0 20px;
    padding-bottom: 28px;
  }
  .step__num {
    grid-row: span 2;
    margin: 0;
  }
}

.steps--3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .steps--3 {
    grid-template-columns: 1fr;
  }
}

/* --- דוח לדוגמה --- */
.report__grid {
  display: grid;
  gap: clamp(36px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
}
@media (max-width: 980px) {
  .report__grid {
    grid-template-columns: 1fr;
  }
}
.doc {
  position: relative;
  padding: clamp(20px, 3vw, 32px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
}
.doc::before,
.doc::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #fbf9f4;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.doc::before {
  transform: translate(-10px, 10px) rotate(-1.2deg);
}
.doc::after {
  transform: translate(-20px, 20px) rotate(-2.4deg);
  z-index: -2;
}
.doc__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ink);
}
.doc__title {
  margin: 0;
  font-size: 1.15rem;
}
.doc__sub {
  margin: 2px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.doc__stamp {
  flex: none;
  padding: 4px 10px;
  border: 1.5px solid var(--red);
  border-radius: 4px;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  transform: rotate(-4deg);
}
.doc__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
}
.doc__meta dt {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
}
.doc__meta dd {
  margin: 0;
  font-weight: 600;
}
.doc__item {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}
.doc__item:last-of-type {
  border-bottom: 0;
}
.doc__photo {
  width: 112px;
  height: 92px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper-2);
}
.doc__photo svg {
  width: 100%;
  height: 100%;
}
.doc__item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 4px;
}
.doc__id {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
}
.doc__item h4 {
  margin: 0;
  font-size: 0.98rem;
}
.doc__item p {
  margin: 0 0 6px;
  font-size: 0.88rem;
  color: var(--ink-2);
  line-height: 1.55;
}
.doc__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-size: 0.78rem;
  color: var(--muted);
}
.doc__facts b {
  color: var(--ink);
  font-weight: 600;
}
.doc__foot {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
}
@media (max-width: 520px) {
  .doc__meta {
    grid-template-columns: 1fr 1fr;
  }
  .doc__item {
    grid-template-columns: 1fr;
  }
  .doc__photo {
    width: 100%;
    height: 120px;
  }
  .doc::before,
  .doc::after {
    display: none;
  }
}

/* --- אודות --- */
.about__grid {
  display: grid;
  gap: clamp(36px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
}
@media (max-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr;
  }
}
.photo-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-frame__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-align: center;
}
.photo-frame__placeholder svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.photo-frame__placeholder span {
  position: relative;
  padding: 6px 12px;
  background: var(--paper-2);
}
/* סמל העסק במקום תמונה (עד שתתווסף תמונה אמיתית) */
.photo-frame__monogram {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background-color: var(--paper-2);
  background-image:
    linear-gradient(rgb(20 34 47 / 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgb(20 34 47 / 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: center;
}
.photo-frame__monogram svg {
  width: 36%;
  height: auto;
  margin-bottom: 18%;
  filter: drop-shadow(0 18px 30px rgb(20 34 47 / 0.25));
}
.photo-frame__caption {
  position: absolute;
  inset-inline: 16px;
  bottom: 16px;
  padding: 12px 16px;
  background: rgb(20 34 47 / 0.92);
  color: #fff;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.4;
}
.photo-frame__caption strong {
  display: block;
  font-size: 1.02rem;
}
.creds {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0;
}
.creds li {
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.95rem;
  line-height: 1.45;
}
.creds li b {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
@media (max-width: 520px) {
  .creds {
    grid-template-columns: 1fr;
  }
}
.signature {
  margin-top: 8px;
  font-weight: 700;
}
.signature small {
  display: block;
  font-weight: 400;
  color: var(--muted);
}

/* --- שאלות נפוצות --- */
.faq {
  max-width: 860px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq details[open] {
  border-color: #c9c0ad;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  position: relative;
  display: block;
  padding: 20px 24px;
  padding-inline-end: 60px;
  font-weight: 600;
  font-size: 1.06rem;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  inset-inline-end: 24px;
  top: 50%;
  width: 14px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease;
}
.faq summary::after {
  transform: rotate(90deg);
}
.faq details[open] summary::after {
  transform: rotate(0deg);
}
.faq summary:hover {
  color: var(--blue);
}
.faq__answer {
  padding: 0 24px 22px;
  color: var(--ink-2);
}
.faq__answer p:last-child {
  margin-bottom: 0;
}

/* --- יצירת קשר --- */
.contact__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: stretch;
}
@media (max-width: 900px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }
}
.panel {
  padding: clamp(24px, 4vw, 40px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.panel--dark {
  background: var(--ink);
  color: #dfe6ec;
  border-color: var(--ink);
}
.panel--dark h3 {
  color: #fff;
}
.panel h3 {
  margin-bottom: 6px;
}
.contact-list {
  list-style: none;
  display: grid;
  gap: 4px;
  margin: 22px 0 26px;
}
.contact-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
}
.contact-list li:last-child {
  border-bottom: 0;
}
.contact-list svg {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 10px;
  background: rgb(255 255 255 / 0.08);
  color: var(--amber);
}
.contact-list small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #9aa6b0;
  letter-spacing: 0.04em;
}
.contact-list a,
.contact-list span {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.contact-list a:hover {
  text-decoration: underline;
}
.panel--dark .btn-row .btn {
  flex: 1 1 160px;
}

/* --- פס קריאה לפעולה --- */
.cta-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 48px;
  align-items: center;
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background-color: var(--ink);
  color: #dfe6ec;
  overflow: hidden;
}
.cta-band h2 {
  color: #fff;
  margin-bottom: 8px;
}
.cta-band p {
  margin: 0;
  color: #c3ccd4;
}
@media (max-width: 860px) {
  .cta-band {
    grid-template-columns: 1fr;
  }
}

/* --- כותרת לעמודים פנימיים --- */
.page-hero {
  padding-block: clamp(40px, 6vw, 80px) clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  max-width: 820px;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
}
.page-hero .lead {
  max-width: 720px;
  margin-bottom: 0;
}
.breadcrumbs {
  margin-bottom: 18px;
  font-size: 0.9rem;
  color: var(--muted);
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.breadcrumbs li + li::before {
  content: "/";
  margin-inline-end: 8px;
  color: var(--line);
}
.breadcrumbs a {
  color: var(--muted);
}

/* --- עמוד שירותים --- */
.services-layout {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
}
.toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.toc__title {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.toc ol {
  list-style: none;
  display: grid;
  gap: 2px;
}
.toc a {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 0.95rem;
  text-decoration: none;
}
.toc a:hover,
.toc a.is-active {
  background: var(--paper-2);
  color: var(--ink);
}
@media (max-width: 900px) {
  .services-layout {
    grid-template-columns: 1fr;
  }
  .toc {
    position: static;
  }
  .toc ol {
    grid-template-columns: 1fr 1fr;
  }
}
.service {
  padding-bottom: clamp(40px, 6vw, 64px);
  margin-bottom: clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--line);
}
.service:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.service__head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}
.service__head .card__icon {
  margin: 0;
  flex: none;
}
.service__head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}
.service__cols {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  margin: 26px 0;
}
@media (max-width: 1100px) {
  .service__cols {
    grid-template-columns: 1fr;
  }
}
.service__col {
  padding: 20px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.service__col h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}
.service__col .checklist {
  gap: 8px;
  font-size: 0.95rem;
}
.service__when {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

/* --- עמוד אודות: עקרונות עבודה --- */
.principles {
  list-style: none;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.principles li {
  padding: 26px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.principles h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.principles h3 svg {
  width: 26px;
  height: 26px;
  color: var(--blue);
  flex: none;
}
.principles p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.98rem;
}

/* --- עמודי טקסט (נגישות, פרטיות) --- */
.prose {
  max-width: 780px;
}
/* בתוך container: הרוחב המלא נשמר (יישור לכותרת העמוד), והטקסט עצמו מוגבל לשורה נוחה לקריאה */
.container.prose {
  max-width: calc(var(--container) + var(--gutter) * 2);
}
.container.prose > * {
  max-width: 780px;
}
.section:has(> .container.prose) {
  padding-top: clamp(40px, 5vw, 64px);
}
.prose h2 {
  font-size: 1.45rem;
  margin-top: 2em;
}
.prose ul {
  padding-inline-start: 1.3em;
  margin-bottom: 1em;
}
.prose li {
  margin-bottom: 0.4em;
}

/* --- עמוד תודה ו-404 --- */
.center-page {
  min-height: calc(100dvh - var(--header-h) - 120px);
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 64px;
}
.center-page__inner {
  max-width: 620px;
}
.center-page__icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 24px;
}
.center-page .btn-row {
  justify-content: center;
  margin-top: 28px;
}

/* --- מחירון --- */
.price-grid {
  list-style: none;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1060px) {
  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 28px;
  }
}
@media (max-width: 540px) {
  .price-grid {
    grid-template-columns: 1fr;
  }
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.price-card h3 {
  margin: 0;
  font-size: 1.2rem;
}
.price-card__size {
  margin: 4px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}
.price-card__amount {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 8px;
  margin: 20px 0 2px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}
.price-card__kind {
  flex-basis: 100%;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
}
.price-card__num {
  font-size: clamp(2.2rem, 3.2vw, 2.7rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.price-card__cur {
  font-size: 1.3rem;
  font-weight: 600;
}
.price-card__vat {
  margin: 0 0 20px;
  font-size: 0.86rem;
  color: var(--muted);
}
.price-card .btn {
  margin-top: auto;
}
.price-card--featured {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.price-card--featured .price-card__size,
.price-card--featured .price-card__vat {
  color: #aab5bf;
}
.price-card--featured .price-card__kind {
  color: var(--amber);
}
.price-card--featured .price-card__amount {
  border-top-color: rgb(255 255 255 / 0.2);
}
.price-card__badge {
  position: absolute;
  top: -13px;
  inset-inline-start: 22px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.5;
}
.price-note {
  margin: 18px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* שורת מחירים נוספים (בדף הבית) */
.price-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  margin-top: 24px;
  padding: 18px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.price-more ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 26px;
  color: var(--ink-2);
}
.price-more b {
  color: var(--ink);
  white-space: nowrap;
}

/* מה כלול */
.includes {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 20px 48px;
  align-items: center;
  margin-top: 28px;
}
.includes .checklist {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
}
@media (max-width: 900px) {
  .includes {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .includes .checklist {
    grid-template-columns: 1fr;
  }
}

/* טבלת מחירים */
.price-table {
  width: 100%;
  border-collapse: collapse;
}
.price-table th,
.price-table td {
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  text-align: start;
  vertical-align: middle;
}
.price-table thead th {
  padding-top: 0;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}
.price-table tbody tr:last-child > * {
  border-bottom: 0;
  padding-bottom: 0;
}
.price-table tbody th {
  padding-inline-end: 24px;
  font-size: 1.05rem;
  font-weight: 700;
}
.price-table tbody th small {
  display: block;
  margin-top: 3px;
  font-size: 0.93rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted);
}
.price-table .price {
  text-align: end;
  white-space: nowrap;
}
.price-table td.price {
  font-size: 1.15rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.price-table td.price small {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}
.price-table td.price--quote {
  min-width: 90px;
  font-size: 0.98rem;
  white-space: normal;
}

/* מה משפיע על המחיר */
.factors {
  list-style: none;
  display: grid;
  gap: 18px;
  margin-top: 28px;
}
.factors li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
}
.factors svg {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  background: var(--paper-2);
  color: var(--blue);
}
.factors strong {
  display: block;
  font-size: 1.05rem;
}
.factors span {
  display: block;
  font-size: 0.96rem;
  color: var(--ink-2);
}

/* מחיר ליד כל שירות (עמוד השירותים) */
.service__price {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 50px;
  padding: 10px 18px;
  border: 1.5px dashed var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.service__price small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}
.service__price:hover {
  border-style: solid;
  background: var(--card);
}

/* --- תפריט משנה: ניהול ופיקוח --- */
.nav__item--sub {
  position: relative;
}
.nav__sub-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}
.nav__sub-toggle svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}
.nav__sub-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.nav__sub-toggle.is-current {
  color: var(--ink);
  background: rgb(20 34 47 / 0.06);
}
.nav__sub {
  list-style: none;
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-start: 0;
  z-index: 20;
  min-width: 300px;
  padding: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav__item--sub.is-open .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}
@media (hover: hover) and (min-width: 1200px) {
  .nav__item--sub:hover .nav__sub {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  /* גשר בלתי נראה כדי שהתפריט לא ייסגר במעבר העכבר */
  .nav__item--sub::after {
    content: "";
    position: absolute;
    inset: 100% 0 auto;
    height: 10px;
  }
}
.nav__sub a {
  display: grid;
  gap: 1px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
}
.nav__sub a:hover,
.nav__sub a[aria-current="page"] {
  background: var(--paper-2);
}
.nav__sub strong {
  font-size: 0.97rem;
  font-weight: 600;
}
.nav__sub span {
  font-size: 0.84rem;
  color: var(--muted);
}
@media (max-width: 1199px) {
  .nav__sub-toggle {
    width: 100%;
    text-align: start;
  }
  .nav__sub-toggle svg {
    display: none;
  }
  .nav__sub {
    position: static;
    min-width: 0;
    padding: 4px 0 8px;
    padding-inline-start: 12px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

/* --- כותרת תחתונה עם עמודת שירותי ניהול ופיקוח --- */
.site-footer__grid {
  grid-template-columns: 1.3fr repeat(4, 1fr);
}
@media (max-width: 1060px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer__brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 520px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* --- לוח בקרה (איור בעמוד ניהול ופיקוח) --- */
.gantt {
  display: grid;
  gap: 12px;
  padding: 18px 16px;
  background-image:
    linear-gradient(rgb(30 77 123 / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgb(30 77 123 / 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
}
.gantt__row {
  display: grid;
  grid-template-columns: 96px 1fr 58px;
  gap: 12px;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
}
.gantt__track {
  position: relative;
  height: 14px;
  border-radius: 4px;
  background: var(--line-soft);
}
.gantt__track::after {
  content: "";
  position: absolute;
  top: -6px;
  bottom: -6px;
  inset-inline-start: var(--today, 50%);
  width: 2px;
  background: var(--red);
}
.gantt__bar {
  position: absolute;
  top: 0;
  bottom: 0;
  inset-inline-start: calc(var(--s) * 1%);
  width: calc((var(--e) - var(--s)) * 1%);
  border-radius: 4px;
  background: var(--green);
}
.gantt__bar.is-now {
  background: var(--amber);
}
.gantt__bar.is-next {
  background: transparent;
  border: 1.5px dashed #8a949c;
}
.gantt__val {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  text-align: end;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-top: 1px solid var(--line);
}
.kpis div {
  padding: 12px 16px;
}
.kpis div + div {
  border-inline-start: 1px solid var(--line-soft);
}
.kpis dt {
  font-size: 0.75rem;
  color: var(--muted);
}
.kpis dd {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}
.kpis span {
  font-size: 0.75rem;
  color: var(--muted);
}
@media (max-width: 460px) {
  .gantt__row {
    grid-template-columns: 78px 1fr;
  }
  .gantt__val {
    display: none;
  }
}

/* מספור בצבע תוספת (באיור תמ״א 38) */
.sheet__legend .num--amber {
  background: var(--amber);
  color: var(--ink);
}
.sheet__legend .num--blue {
  background: var(--blue);
}

/* --- דוח פיקוח: פריט בלי תמונה --- */
.doc__item--plain {
  grid-template-columns: 1fr;
}
.doc__status {
  margin-inline-start: auto;
}

/* --- דף הבית: המהנדס ושלושת תחומי השירות --- */
.portrait {
  position: relative;
  max-width: 430px;
  margin-inline: auto;
}
.portrait .photo-frame {
  max-width: none;
  box-shadow: var(--shadow-lg);
}
.hero__badge--top {
  top: 34px;
  bottom: auto;
}
.doors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
@media (max-width: 760px) {
  .doors {
    grid-template-columns: 1fr;
  }
}
.door {
  --door: var(--amber);
  --door-icon: #b7790a;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.door::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--door);
}
.door:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.door--blue {
  --door: var(--blue);
  --door-icon: var(--blue);
}
.door--green {
  --door: var(--green);
  --door-icon: var(--green);
}
.door--ink {
  --door: var(--ink);
  --door-icon: var(--ink);
}
.door__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.door__num {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--muted);
}
.door__icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--paper-2);
  color: var(--door-icon);
}
.door__icon svg {
  width: 32px;
  height: 32px;
}
.door h3 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2.4vw, 1.75rem);
}
.door__lead {
  color: var(--ink-2);
  margin-bottom: 18px;
}
.door .checklist {
  margin-bottom: 26px;
  font-size: 0.97rem;
}
.door__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  margin-top: auto;
}

/* 8. דף נחיתה --------------------------------------------------------------- */
.lp-header .site-header__inner {
  justify-content: space-between;
}
.lp-hero {
  padding-block: clamp(32px, 5vw, 64px) clamp(48px, 7vw, 88px);
}
.lp-hero__grid {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: start;
}
.lp-hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  margin-bottom: 18px;
}
.lp-hero .checklist {
  margin: 26px 0 0;
  font-size: 1.05rem;
}
.lp-form {
  position: relative;
  padding: clamp(24px, 3.5vw, 34px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.lp-form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: repeating-linear-gradient(-45deg, var(--amber) 0 12px, var(--ink) 12px 24px);
}
.lp-form h2 {
  font-size: 1.45rem;
  margin-bottom: 4px;
}
.lp-form > p {
  color: var(--muted);
  margin-bottom: 20px;
}
@media (max-width: 940px) {
  .lp-hero__grid {
    grid-template-columns: 1fr;
  }
}
.lp-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
}

/* כפתור קפיצה לטופס — רק כשהטופס יורד מתחת לטקסט */
.lp-jump {
  display: none;
}
@media (max-width: 940px) {
  .lp-jump {
    display: inline-flex;
  }
}

/* ליקויים נפוצים */
.defects {
  list-style: none;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 980px) {
  .defects {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .defects {
    grid-template-columns: 1fr;
  }
}
.defect {
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.defect__art {
  position: relative;
  height: 140px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.defect__art svg {
  width: 100%;
  height: 100%;
}
.defect__art .tag {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
}
.defect__body {
  padding: 18px 20px 22px;
}
.defect h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.defect p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-2);
}

/* ציר זמן: מתי להזמין בדיקה */
.timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 9px;
  inset-inline: 0;
  height: 2px;
  background: linear-gradient(to left, var(--amber), rgb(255 255 255 / 0.25));
}
.timeline li {
  position: relative;
  padding-top: 36px;
}
.timeline li::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--amber);
}
.timeline__when {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--amber);
  letter-spacing: 0.04em;
}
.timeline h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.timeline p {
  margin: 0;
  font-size: 0.95rem;
  color: #c3ccd4;
}
@media (max-width: 900px) {
  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .timeline::before {
    top: 0;
    bottom: 0;
    inset-inline: 9px auto;
    width: 2px;
    height: auto;
    background: linear-gradient(to bottom, var(--amber), rgb(255 255 255 / 0.25));
  }
  .timeline li {
    padding: 0 0 28px;
    padding-inline-start: 40px;
  }
}

.lp-footer {
  padding-block: 28px;
  background: var(--ink);
  color: #9aa6b0;
  font-size: 0.87rem;
}
.lp-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
.lp-footer a {
  color: #dfe6ec;
}
.lp-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
}

/* --- תפריט נגישות --- */
.a11y {
  position: fixed;
  z-index: 120;
  inset-inline-end: 16px;
  bottom: 16px;
}
@media (max-width: 760px) {
  body.has-mobile-bar .a11y {
    bottom: 88px;
  }
}
.a11y__toggle {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.a11y__toggle svg {
  width: 30px;
  height: 30px;
}
.a11y__toggle:hover {
  background: var(--ink);
}
.a11y__toggle:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--ink);
}
.a11y__panel {
  position: absolute;
  bottom: calc(100% + 12px);
  inset-inline-end: 0;
  display: grid;
  gap: 8px;
  width: min(300px, calc(100vw - 32px));
  padding: 16px;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}
.a11y__panel[hidden] {
  display: none;
}
.a11y__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.a11y__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}
.a11y__close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.a11y__label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}
.a11y__sizes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.a11y__panel button[aria-pressed] {
  min-height: 44px;
  padding: 8px 12px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: start;
  cursor: pointer;
}
.a11y__sizes button[aria-pressed] {
  padding-inline: 6px;
  font-size: 0.88rem;
  text-align: center;
}
.a11y__panel button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.a11y__opt[aria-pressed="true"]::after {
  content: " ✓";
}
.a11y__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.9rem;
}
.a11y__reset {
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--blue);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

/* מצבים שהתפריט מפעיל (מחלקות על <html>, נשמרות בדפדפן) */
html.a11y-text-1 {
  font-size: 112.5%;
}
html.a11y-text-2 {
  font-size: 125%;
}
html.a11y-text-1 .header-actions .btn--phone-label,
html.a11y-text-2 .header-actions .btn--phone-label,
html.a11y-text-2 .brand__tagline {
  display: none;
}
html.a11y-text-1 .nav__link,
html.a11y-text-2 .nav__link {
  padding-inline: 8px;
}
html.a11y-font {
  --font-sans: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --font-mono: Arial, "Helvetica Neue", Helvetica, sans-serif;
}
html.a11y-links a:not(.btn):not(.brand):not(.skip-link) {
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 3px;
}
html.a11y-links .btn {
  outline: 2px dashed currentColor;
  outline-offset: 3px;
}
html.a11y-no-motion *,
html.a11y-no-motion *::before,
html.a11y-no-motion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
html.a11y-no-motion .reveal,
html.a11y-no-motion .plan-marker {
  opacity: 1 !important;
  transform: none !important;
}
html.a11y-no-motion .plan-scan,
html.a11y-no-motion .plan-pulse {
  display: none;
}
html.a11y-contrast {
  --paper: #ffffff;
  --paper-2: #ffffff;
  --card: #ffffff;
  --ink: #000000;
  --ink-2: #000000;
  --muted: #1f1f1f;
  --line: #000000;
  --line-soft: #6b6b6b;
  --blue: #0033aa;
  --amber: #ffd000;
  --amber-soft: #ffe566;
}
html.a11y-contrast .site-header,
html.a11y-contrast .mobile-bar {
  background: #fff;
}
html.a11y-contrast .grid-bg,
html.a11y-contrast .sheet__plan,
html.a11y-contrast .gantt,
html.a11y-contrast .photo-frame__monogram {
  background-image: none;
}
html.a11y-contrast :is(.section--dark, .panel--dark, .site-footer, .lp-footer, .price-card--featured, .card--cta, .cta-band) {
  background-color: #000;
}
html.a11y-contrast :is(.section--dark, .panel--dark, .site-footer, .lp-footer, .price-card--featured, .card--cta, .cta-band) :not(.btn):not(.btn *):not(.tag):not(svg):not(svg *) {
  color: #fff !important;
}

/* 9. אנימציות ונגישות תנועה ---------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--delay, 0s);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
  .js .plan-marker {
    opacity: 1;
  }
  .plan-pulse {
    display: none;
  }
}

@media print {
  .site-header,
  .mobile-bar,
  .site-footer,
  .nav-toggle {
    display: none !important;
  }
  body {
    background: #fff;
  }
  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* תוויות עם טקסט עברי — בגופן הרגיל; המונו-ספייס נשאר לספרות ולמידות */
.eyebrow,
.sheet__bar,
.sheet__foot,
.card__meta,
.tools__label,
.site-footer h2,
.creds li b,
.toc__title,
.doc__meta dt,
.doc__id,
.doc__foot,
.doc__stamp,
.timeline__when,
.contact-list small,
.lp-proof,
.photo-frame__placeholder {
  font-family: var(--font-sans);
  letter-spacing: 0;
}

/* ---- ניהול ביצוע לקבלנים: חשבון חלקי בכרטיס הפתיחה ---- */
.bill {
  display: grid;
  gap: 2px;
  padding: 14px 16px 10px;
  background-image:
    linear-gradient(rgb(30 77 123 / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgb(30 77 123 / 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
}
.bill__row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 42px 72px;
  gap: 12px;
  align-items: center;
  min-height: 36px;
  font-size: 0.85rem;
  font-weight: 600;
}
.bill__row--head {
  min-height: 0;
  padding-bottom: 6px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--muted);
}
.bill__track {
  position: relative;
  height: 10px;
  border-radius: 5px;
  background: var(--line-soft);
  overflow: hidden;
}
.bill__fill {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: calc(var(--p) * 1%);
  border-radius: 5px;
  background: var(--green);
}
.bill__fill--sent {
  background: var(--blue);
}
.bill__fill--open {
  background: var(--amber);
}
.bill__pct {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  text-align: end;
}
.bill__row .tag {
  justify-self: start;
}
@media (max-width: 460px) {
  .bill__row {
    grid-template-columns: 80px minmax(0, 1fr) 72px;
  }
  .bill__pct {
    display: none;
  }
}

/* ---- מדריכים ---- */
.article-meta {
  margin: 14px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.prose h3 {
  font-size: 1.15rem;
  margin-top: 1.6em;
}
.prose ol {
  padding-inline-start: 1.3em;
  margin-bottom: 1em;
}
.prose .callout {
  margin-block: 1.8em;
}
.prose .fine {
  margin-top: 2.4em;
}
.table-wrap {
  margin-block: 1.4em;
  overflow-x: auto;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  font-size: 0.95rem;
}
.prose caption {
  padding-bottom: 8px;
  font-weight: 600;
  text-align: start;
}
.prose th,
.prose td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: start;
  vertical-align: top;
}
.prose thead th {
  background: var(--paper-2);
}
.guide-list {
  list-style: none;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  margin: 0;
  padding: 0;
}
.guide-list a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 24px 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.guide-list a:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}
.guide-list strong {
  font-size: 1.12rem;
  line-height: 1.35;
}
.guide-list span {
  color: var(--ink-2);
  font-size: 0.95rem;
}
