/* =========================================================
   מרדכי אדרי ובניו טורס — עיצוב האתר
   צבעי מותג: אדום (לוגו) + כחול כהה, עם נגיעות עדינות של
   ארבעת צבעי המכחול שעל האוטובוסים (אדום/צהוב/כחול/ירוק)
   ========================================================= */

:root {
  --red: #d7261e;
  --red-dark: #b11c15;
  --red-soft: #fdeeed;
  --navy: #16264a;
  --navy-2: #22355f;
  --ink: #1c2333;
  --muted: #5e6779;
  --line: #e3e6ee;
  --soft: #f5f6f9;
  --white: #ffffff;
  --yellow: #f2bd1a;
  --blue: #2b3f9c;
  --green: #1d8a4b;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(22, 38, 74, .06), 0 2px 8px rgba(22, 38, 74, .05);
  --shadow: 0 10px 30px rgba(22, 38, 74, .10);
  --shadow-lg: 0 24px 60px rgba(22, 38, 74, .22);
  --header-h: 76px;
  --container: 1200px;

  --font-head: "Rubik", "Heebo", Arial, sans-serif;
  --font-body: "Heebo", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  direction: rtl;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; margin: 0 0 .5em; color: var(--navy); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
section { scroll-margin-top: var(--header-h); }

/* ---------- פס מותג (ארבעת צבעי המכחול) ---------- */
.brand-stripe {
  height: 4px;
  background: linear-gradient(90deg,
    var(--red) 0 40%, var(--yellow) 40% 60%, var(--blue) 60% 80%, var(--green) 80% 100%);
}
.brush {
  display: inline-flex; gap: 5px; margin-bottom: 14px;
}
.brush i {
  display: block; width: 18px; height: 5px; border-radius: 3px; transform: skewX(-25deg);
}
.brush i:nth-child(1) { background: var(--red); width: 30px; }
.brush i:nth-child(2) { background: var(--yellow); }
.brush i:nth-child(3) { background: var(--blue); }
.brush i:nth-child(4) { background: var(--green); }

/* ---------- כפתורים ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: 16px; line-height: 1.2; transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(215, 38, 30, .28); }
.btn--primary:hover { background: var(--red-dark); }
.btn--outline { border-color: currentColor; color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--ghost-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--navy); }
.btn--lg { padding: 15px 30px; font-size: 17px; }
.btn--block { width: 100%; }

/* ---------- כותרת עליונה סטיקית ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(8px);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(22, 38, 74, .09); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 52px; width: auto; }
.main-nav { flex: 1; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav a {
  position: relative; display: block; padding: 8px 12px; font-weight: 500; font-size: 16px; color: var(--ink);
  border-radius: 8px; transition: color .2s;
}
.main-nav a::after {
  content: ""; position: absolute; inset-inline: 12px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--red); transform: scaleX(0); transition: transform .25s;
}
.main-nav a:hover { color: var(--red); }
.main-nav a.is-active { color: var(--red); }
.main-nav a.is-active::after { transform: scaleX(1); }
.header-cta { flex: none; }
.nav-toggle {
  display: none; margin-inline-start: auto; width: 44px; height: 44px; border: 0; background: var(--soft);
  border-radius: 10px; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; transition: transform .25s, background .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; inset-inline-start: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- ראשי / באנר ---------- */
.hero {
  position: relative; min-height: min(88vh, 760px); display: flex; align-items: center;
  color: #fff; overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(270deg, rgba(14, 25, 52, .92) 0%, rgba(14, 25, 52, .78) 38%, rgba(14, 25, 52, .25) 72%, rgba(14, 25, 52, .1) 100%);
}
.hero__content { max-width: 620px; padding-block: 80px; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; letter-spacing: .02em;
  padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  margin-bottom: 22px;
}
.hero__kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.hero h1 { color: #fff; font-size: clamp(36px, 5.4vw, 62px); font-weight: 700; margin-bottom: 18px; }
.hero h1 span { color: #ff6b62; }
.hero__lead { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,.88); max-width: 540px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.18); }
.hero__badges li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(255,255,255,.9); }
.hero__badges svg { width: 22px; height: 22px; color: var(--yellow); flex: none; }
.hero__badges { list-style: none; margin-inline: 0; padding-inline: 0; margin-bottom: 0; }

/* ---------- מקטעים כללי ---------- */
.section { padding-block: 100px; }
.section--soft { background: var(--soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }
.eyebrow { display: block; color: var(--red); font-weight: 600; font-size: 15px; letter-spacing: .04em; margin-bottom: 6px; }

/* ---------- אודות ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.about-text h2 { font-size: clamp(30px, 3.6vw, 42px); }
.about-text p { color: var(--muted); font-size: 18px; }
.about-stats { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.about-stats li { background: var(--soft); border-radius: var(--radius-sm); padding: 14px 12px; border-top: 3px solid var(--red); }
.about-stats li:nth-child(2) { border-top-color: var(--yellow); }
.about-stats li:nth-child(3) { border-top-color: var(--blue); }
.about-stats li:nth-child(4) { border-top-color: var(--green); }
.about-stats strong { display: block; font-family: var(--font-head); font-size: 26px; color: var(--navy); line-height: 1.1; }
.about-stats span { font-size: 13px; color: var(--muted); line-height: 1.35; display: block; margin-top: 4px; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3.4; object-fit: cover; width: 100%; }
.about-media::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: var(--radius);
  background: repeating-linear-gradient(-55deg, transparent 0 14px, rgba(215, 38, 30, .07) 14px 20px);
  z-index: -1;
}
.about-media .about-badge {
  position: absolute; bottom: 24px; right: -20px; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow);
  padding: 14px 18px; display: flex; gap: 12px; align-items: center; max-width: 260px;
}
.about-badge svg { width: 38px; height: 38px; color: var(--red); flex: none; }
.about-badge strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 16px; line-height: 1.3; }
.about-badge span { font-size: 14px; color: var(--muted); line-height: 1.3; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 72px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature__icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--red-soft); color: var(--red);
}
.feature:nth-child(4n+2) .feature__icon { background: #fff6dc; color: #b98a00; }
.feature:nth-child(4n+3) .feature__icon { background: #eaedfa; color: var(--blue); }
.feature:nth-child(4n+4) .feature__icon { background: #e6f4ec; color: var(--green); }
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 20px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 16px; margin: 0; }

/* ---------- רכבים ---------- */
.fleet-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.vehicle {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.vehicle:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.vehicle__media { position: relative; aspect-ratio: 4/3; background: linear-gradient(160deg, #eef0f5, #dfe3ec); overflow: hidden; }
.vehicle__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.vehicle:hover .vehicle__media img { transform: scale(1.05); }
.vehicle__media .placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  color: #8a93a8; font-size: 13px;
}
.vehicle__media .placeholder svg { width: 70%; height: auto; color: #aab2c4; }
.vehicle__capacity {
  position: absolute; top: 14px; right: 14px; background: rgba(22, 38, 74, .9); color: #fff; font-size: 14px; font-weight: 500;
  padding: 5px 12px; border-radius: 999px; display: flex; align-items: center; gap: 6px; backdrop-filter: blur(4px);
}
.vehicle__capacity svg { width: 16px; height: 16px; }
.vehicle__body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.vehicle__body h3 { font-size: 22px; margin-bottom: 4px; }
.vehicle__seats { color: var(--red); font-weight: 600; font-size: 15px; margin-bottom: 14px; }
.vehicle__uses { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.vehicle__uses li { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; color: var(--muted); line-height: 1.5; }
.vehicle__uses li::before {
  content: ""; flex: none; width: 7px; height: 7px; border-radius: 2px; margin-top: 8px; transform: rotate(45deg);
  background: var(--red);
}
.vehicle:nth-child(2) .vehicle__uses li::before { background: var(--yellow); }
.vehicle:nth-child(3) .vehicle__uses li::before { background: var(--blue); }
.vehicle:nth-child(4) .vehicle__uses li::before { background: var(--green); }
.fleet-cta { text-align: center; margin-top: 52px; }
.fleet-cta p { color: var(--muted); margin-bottom: 18px; }

/* ---------- לקוחות – סליידר ---------- */
.clients { padding-block: 80px; }
.clients .section-head { margin-bottom: 40px; }
.marquee {
  position: relative; overflow: hidden; direction: ltr;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; gap: 24px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.client-logo {
  flex: none; width: 190px; height: 100px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; padding: 16px;
  filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s, box-shadow .3s;
}
.client-logo:hover { filter: none; opacity: 1; box-shadow: var(--shadow-sm); }
.client-logo img { max-height: 64px; width: auto; object-fit: contain; }
.client-logo .ph { display: flex; align-items: center; gap: 10px; direction: rtl; color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.client-logo .ph svg { width: 30px; height: 30px; flex: none; color: var(--red); }
.client-logo .ph { text-align: center; line-height: 1.3; }
.slider-controls { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.slider-controls button {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy);
  display: grid; place-items: center; transition: background .2s, color .2s;
}
.slider-controls button:hover { background: var(--navy); color: #fff; }
.slider-controls svg { width: 18px; height: 18px; }

/* ---------- טפסים ואישורים ---------- */
.docs-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.doc-card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; text-align: start;
  border: 1px solid var(--line); padding: 0; transition: transform .25s, box-shadow .25s, border-color .25s; color: inherit;
}
.doc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.doc-card__thumb {
  position: relative; aspect-ratio: 3/3.6; background: var(--soft); overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.doc-card__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.doc-card__thumb::after {
  content: ""; position: absolute; inset: 0; background: rgba(22, 38, 74, 0); transition: background .25s;
}
.doc-card:hover .doc-card__thumb::after { background: rgba(22, 38, 74, .45); }
.doc-card__zoom {
  position: absolute; z-index: 1; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--red);
  display: grid; place-items: center; opacity: 0; transform: scale(.7); transition: opacity .25s, transform .25s; box-shadow: var(--shadow);
}
.doc-card__zoom svg { width: 24px; height: 24px; }
.doc-card:hover .doc-card__zoom, .doc-card:focus-visible .doc-card__zoom { opacity: 1; transform: none; }
.doc-card__body { padding: 16px 18px 20px; }
.doc-card__body h3 { font-size: 17px; margin-bottom: 4px; }
.doc-card__body p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.5; }
.doc-card__tag {
  display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; margin-bottom: 8px;
  background: var(--red-soft); color: var(--red);
}
.doc-card__tag--doc { background: #eaedfa; color: var(--blue); }

/* תמונת "טופס" מעוצבת לכרטיסי הטפסים המקוונים */
.form-thumb {
  width: 74%; height: 80%; background: #fff; border-radius: 8px; box-shadow: 0 8px 22px rgba(22,38,74,.13);
  padding: 16px 14px; display: flex; flex-direction: column; gap: 9px; position: relative;
}
.form-thumb::before { content: ""; height: 4px; border-radius: 2px; margin: -16px -14px 6px; background: linear-gradient(90deg, var(--red) 0 40%, var(--yellow) 40% 60%, var(--blue) 60% 80%, var(--green) 80%); border-radius: 8px 8px 0 0; }
.form-thumb b { display: block; height: 8px; width: 60%; border-radius: 4px; background: var(--navy); opacity: .85; }
.form-thumb i { display: block; height: 14px; border-radius: 4px; border: 1.5px solid #dfe3ec; }
.form-thumb i.half { width: 48%; display: inline-block; }
.form-thumb .row { display: flex; gap: 6px; }
.form-thumb .row i { flex: 1; }
.form-thumb .sig { margin-top: auto; height: 22px; border-bottom: 1.5px dashed #b9c0cf; position: relative; }
.form-thumb .sig::after { content: ""; position: absolute; right: 8px; bottom: 4px; width: 46px; height: 14px; border: 2px solid var(--blue); border-color: transparent transparent var(--blue) var(--blue); border-radius: 0 0 0 30px; transform: skewX(-20deg); }
.form-thumb .btnline { height: 16px; width: 45%; border-radius: 999px; background: var(--red); margin-top: auto; }

/* ---------- צור קשר ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: stretch; }
.contact-info {
  background: var(--navy); color: #fff; border-radius: var(--radius); padding: 40px 36px; position: relative; overflow: hidden;
}
.contact-info::after {
  content: ""; position: absolute; left: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(215,38,30,.35), transparent 70%);
}
.contact-info h3 { color: #fff; font-size: 26px; }
.contact-info > p { color: rgba(255,255,255,.75); }
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 20px; position: relative; z-index: 1; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.09); display: grid; place-items: center; flex: none; }
.contact-list .ic svg { width: 21px; height: 21px; color: #ff8a83; }
.contact-list small { display: block; color: rgba(255,255,255,.6); font-size: 13px; line-height: 1.3; }
.contact-list a, .contact-list span { color: #fff; font-weight: 500; font-size: 17px; line-height: 1.5; }
.contact-list a:hover { color: #ffb4ae; }
.contact-map { margin-top: 28px; border-radius: var(--radius-sm); overflow: hidden; height: 180px; position: relative; z-index: 1; background: var(--navy-2); }
.contact-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3); }

.card-form { background: #fff; border-radius: var(--radius); padding: 40px 36px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.card-form h3 { font-size: 26px; }
.card-form > p { color: var(--muted); }

/* ---------- שדות טופס ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 500; font-size: 15px; color: var(--navy); }
.field label .req { color: var(--red); }
.field label .opt { color: var(--muted); font-weight: 400; font-size: 13px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 11px 14px; transition: border-color .2s, box-shadow .2s;
  min-height: 48px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:hover, .field textarea:hover { border-color: #cdd2de; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(22, 38, 74, .1); }
.field input[type="date"], .field input[type="time"] { direction: rtl; }
.field.has-error input, .field.has-error textarea { border-color: var(--red); background: #fffafa; }
.field .error { color: var(--red); font-size: 13px; min-height: 0; display: none; }
.field.has-error .error { display: block; }
.field .hint { color: var(--muted); font-size: 13px; }
.input-icon { position: relative; }
.input-icon input { padding-inline-end: 42px; }
.input-icon svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: #9aa2b4; pointer-events: none; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); line-height: 1.5; }
.checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); flex: none; }
.checkbox a { color: var(--red); text-decoration: underline; }
.field .checkbox { font-weight: 400; font-size: 14px; color: var(--muted); }
.field .checkbox input { width: 18px; height: 18px; min-height: 0; padding: 0; margin: 3px 0 0; border: 0; flex: none; }
.form-actions { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.form-note { font-size: 13px; color: var(--muted); }

.form-success { text-align: center; padding: 30px 10px; }
.form-success .check {
  width: 76px; height: 76px; border-radius: 50%; background: #e6f4ec; color: var(--green); display: grid; place-items: center; margin: 0 auto 18px;
  animation: pop .4s ease;
}
.form-success .check svg { width: 38px; height: 38px; }
.form-success h3 { font-size: 24px; }
.form-success p { color: var(--muted); }
@keyframes pop { from { transform: scale(.5); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- חלון מודאלי: בקשה להצעת מחיר ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(12, 20, 40, .62); backdrop-filter: blur(3px); animation: fade .25s; }
.modal__panel {
  position: relative; width: 100%; max-width: 640px; max-height: calc(100vh - 40px); overflow: auto; background: #fff;
  border-radius: 18px; box-shadow: var(--shadow-lg); animation: rise .3s ease;
}
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.modal__head { position: sticky; top: 0; z-index: 2; background: #fff; padding: 24px 30px 18px; border-bottom: 1px solid var(--line); }
.modal__head h2 { font-size: 24px; margin: 0 0 2px; }
.modal__head p { margin: 0; color: var(--muted); font-size: 15px; }
.modal__close {
  position: absolute; top: 18px; left: 18px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--soft); color: var(--navy);
  display: grid; place-items: center; transition: background .2s;
}
.modal__close:hover { background: var(--line); }
.modal__close svg { width: 18px; height: 18px; }
.modal__body { padding: 24px 30px 30px; }

.stepper { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.stepper__item { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--muted); }
.stepper__num {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 600;
  background: var(--soft); color: var(--muted); border: 1.5px solid var(--line); transition: all .25s;
}
.stepper__item.is-active { color: var(--navy); }
.stepper__item.is-active .stepper__num { background: var(--red); color: #fff; border-color: var(--red); }
.stepper__item.is-done .stepper__num { background: var(--navy); color: #fff; border-color: var(--navy); }
.stepper__line { flex: 1; height: 2px; background: var(--line); border-radius: 2px; position: relative; overflow: hidden; }
.stepper__line::after { content: ""; position: absolute; inset: 0; background: var(--navy); transform: scaleX(0); transform-origin: right; transition: transform .35s; }
.stepper.step-2 .stepper__line::after, .stepper.step-done .stepper__line::after { transform: scaleX(1); }
.step { animation: stepIn .3s ease; }
.step[hidden] { display: none; }
@keyframes stepIn { from { opacity: 0; transform: translateX(-16px); } }
.step-legend { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 17px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.step-legend svg { width: 20px; height: 20px; color: var(--red); }
.sub-legend { grid-column: 1 / -1; font-size: 14px; font-weight: 600; color: var(--muted); margin: 4px 0 -6px; display: flex; align-items: center; gap: 10px; }
.sub-legend::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.modal .form-actions { justify-content: space-between; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 320; display: flex; align-items: center; justify-content: center; padding: 60px 20px 20px; }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(8, 13, 28, .88); animation: fade .25s; }
.lightbox__figure { position: relative; margin: 0; max-width: min(1000px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; animation: rise .3s ease; }
.lightbox__figure img { max-height: calc(100vh - 140px); width: auto; max-width: 100%; border-radius: 8px; background: #fff; box-shadow: var(--shadow-lg); }
.lightbox__figure figcaption { color: #fff; margin-top: 14px; font-family: var(--font-head); font-size: 17px; text-align: center; }
.lightbox__close {
  position: fixed; top: 16px; left: 16px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; transition: background .2s;
}
.lightbox__close:hover { background: var(--red); }
.lightbox__close svg { width: 20px; height: 20px; }
.lightbox__actions { position: fixed; top: 16px; right: 16px; z-index: 2; display: flex; gap: 8px; }
.lightbox__actions a {
  display: inline-flex; align-items: center; gap: 6px; color: #fff; font-size: 14px; padding: 10px 16px; border-radius: 999px;
  background: rgba(255,255,255,.12); transition: background .2s;
}
.lightbox__actions a:hover { background: rgba(255,255,255,.22); }
.lightbox__actions svg { width: 16px; height: 16px; }

/* ---------- פוטר ---------- */
.site-footer { background: #0f1b36; color: rgba(255,255,255,.72); font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 64px 44px; }
.footer-logo { display: inline-block; background: #fff; padding: 8px 12px; border-radius: 10px; margin-bottom: 16px; }
.footer-logo img { height: 44px; width: auto; }
.site-footer h4 { color: #fff; font-size: 17px; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.footer-bottom nav { display: flex; gap: 18px; }

/* ---------- כפתורי יצירת קשר מהירים ---------- */
.quick-contact {
  position: fixed; left: 20px; bottom: 20px; z-index: 150; display: flex; flex-direction: column; gap: 10px;
  transition: bottom .35s ease;
}
.quick-contact a {
  position: relative; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,.2); transition: transform .2s;
}
.quick-contact a:hover { transform: scale(1.08); }
.quick-contact svg { width: 26px; height: 26px; }
.qc-whatsapp { background: #25d366; }
.qc-phone { background: var(--red); }
.qc-mail { background: var(--navy); }
.quick-contact a .tip {
  position: absolute; left: calc(100% + 10px); top: 50%; transform: translateY(-50%) translateX(-6px); white-space: nowrap;
  background: var(--navy); color: #fff; font-size: 13px; padding: 5px 10px; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.quick-contact a:hover .tip { opacity: 1; transform: translateY(-50%); }
body.cookie-visible .quick-contact { bottom: var(--cookie-h, 110px); }

/* ---------- הודעת עוגיות ---------- */
.cookie-banner {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 200; background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(22, 38, 74, .1); transform: translateY(110%); transition: transform .4s ease;
}
.cookie-banner.is-visible { transform: none; }
.cookie-inner { display: flex; align-items: center; gap: 20px; padding-block: 18px; }
.cookie-inner svg { width: 36px; height: 36px; color: #b98a00; flex: none; }
.cookie-inner p { margin: 0; flex: 1; font-size: 15px; color: var(--muted); line-height: 1.55; }
.cookie-inner p a { color: var(--red); text-decoration: underline; }
.cookie-inner .btn { padding: 10px 26px; }

/* ---------- דף פנימי ---------- */
.page-hero {
  position: relative; background: var(--navy); color: #fff; padding-block: 64px 70px; overflow: hidden; isolation: isolate;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .16;
  background: url("../img/bus.jpg") center 60% / cover no-repeat;
}
.page-hero::after {
  content: ""; position: absolute; left: -40px; bottom: -30px; width: 340px; height: 120px; z-index: -1; opacity: .9;
  background:
    linear-gradient(var(--red), var(--red)) 0 0 / 60% 14px no-repeat,
    linear-gradient(var(--yellow), var(--yellow)) 20% 30px / 40% 10px no-repeat,
    linear-gradient(var(--blue), var(--blue)) 10% 54px / 50% 10px no-repeat,
    linear-gradient(var(--green), var(--green)) 30% 78px / 30% 10px no-repeat;
  transform: skewY(-12deg); filter: blur(.3px); border-radius: 6px;
}
.page-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 46px); margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,.78); font-size: 18px; margin: 0; max-width: 640px; }
.breadcrumb { display: flex; gap: 8px; font-size: 14px; color: rgba(255,255,255,.65); margin-bottom: 18px; list-style: none; padding: 0; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "‹"; margin-inline-end: 8px; opacity: .6; }
.page-body { padding-block: 60px 100px; background: var(--soft); }
.page-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); padding: 48px; margin-top: -100px; position: relative; }
.page-layout { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; }
.page-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; margin-top: -100px; }
.aside-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 24px; box-shadow: var(--shadow-sm); }
.aside-card h4 { font-size: 17px; }
.aside-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.aside-card ul a { display: block; padding: 6px 10px; border-radius: 8px; font-size: 15px; color: var(--muted); border-inline-start: 2px solid transparent; }
.aside-card ul a:hover, .aside-card ul a.is-active { background: var(--soft); color: var(--red); border-inline-start-color: var(--red); }
.aside-card--dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.aside-card--dark h4 { color: #fff; }
.aside-card--dark p { color: rgba(255,255,255,.75); font-size: 15px; }

.prose h2 { font-size: 24px; margin-top: 40px; padding-top: 6px; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h2:first-of-type { margin-top: 0; }
.prose p, .prose li { color: #3f4759; }
.prose ul { padding-inline-start: 22px; }
.prose li { margin-bottom: 6px; }
.prose .updated { display: inline-block; font-size: 14px; color: var(--muted); background: var(--soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 26px; }

/* טופס הזמנת עבודה */
.wo-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding-bottom: 24px; margin-bottom: 30px; border-bottom: 2px solid var(--line); flex-wrap: wrap; }
.wo-header img { height: 60px; width: auto; }
.wo-company { font-size: 14px; color: var(--muted); line-height: 1.6; }
.wo-meta { text-align: left; font-size: 14px; color: var(--muted); }
.wo-meta strong { display: block; font-family: var(--font-head); font-size: 22px; color: var(--navy); }
.wo-section { margin-bottom: 34px; }
.wo-section > h2 { font-size: 19px; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.wo-section > h2 .n { width: 30px; height: 30px; border-radius: 8px; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 15px; }
.price-box { background: var(--soft); border-radius: var(--radius-sm); padding: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price-box .field input[readonly] { background: #eef0f5; font-weight: 600; color: var(--navy); }
.price-box .total input { background: var(--navy) !important; color: #fff !important; border-color: var(--navy); font-size: 18px; }
.signature-wrap { border: 1.5px dashed #c3c9d6; border-radius: var(--radius-sm); background: #fcfcfd; position: relative; }
.signature-wrap canvas { display: block; width: 100%; height: 190px; touch-action: none; cursor: crosshair; }
.signature-wrap .sig-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #aab1c0; pointer-events: none; font-size: 15px; gap: 8px; }
.signature-wrap .sig-placeholder svg { width: 20px; height: 20px; }
.signature-wrap.has-sig .sig-placeholder { display: none; }
.signature-wrap::after { content: ""; position: absolute; inset-inline: 30px; bottom: 40px; border-bottom: 1px solid #dde1ea; pointer-events: none; }
.signature-wrap.has-error { border-color: var(--red); }
.sig-tools { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 14px; color: var(--muted); }
.link-btn { background: none; border: 0; color: var(--red); font-size: 14px; padding: 4px 0; display: inline-flex; gap: 6px; align-items: center; }
.link-btn svg { width: 15px; height: 15px; }
.terms-box { background: var(--soft); border-radius: var(--radius-sm); padding: 16px 20px; font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.terms-box ol { margin: 0; padding-inline-start: 20px; }

/* ---------- רספונסיביות ---------- */
@media (max-width: 1100px) {
  .main-nav a { padding: 8px 9px; font-size: 15px; }
  .header-inner { gap: 16px; }
  .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .docs-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .logo img { height: 44px; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; box-shadow: 0 20px 30px rgba(22,38,74,.12);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav-open .main-nav { max-height: calc(100vh - var(--header-h)); overflow: auto; }
  .main-nav ul { flex-direction: column; padding: 10px 16px 16px; gap: 0; }
  .main-nav a { padding: 14px 8px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav a::after { display: none; }
  .main-nav .mobile-cta { display: block; padding-top: 14px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid { align-items: start; }
  .about-media { max-width: 560px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .page-layout { grid-template-columns: 1fr; }
  .page-aside { position: static; margin-top: 0; order: 2; }
  .section { padding-block: 76px; }
}
@media (min-width: 961px) { .main-nav .mobile-cta { display: none; } }
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding-inline: 16px; }
  .hero { min-height: 0; }
  .hero::before { background: linear-gradient(180deg, rgba(14,25,52,.65), rgba(14,25,52,.92)); }
  .hero__content { padding-block: 64px 56px; }
  .hero__actions .btn { flex: 1; }
  .hero__badges { gap: 12px; flex-direction: column; }
  .section { padding-block: 60px; }
  .section-head { margin-bottom: 36px; }
  .features, .fleet-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .docs-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .doc-card__body { padding: 12px 12px 14px; }
  .doc-card__body p { display: none; }
  .form-grid, .price-box { grid-template-columns: 1fr; }
  .card-form, .contact-info { padding: 28px 20px; }
  .modal { padding: 0; align-items: flex-end; }
  .modal__panel { max-height: 94vh; border-radius: 18px 18px 0 0; }
  .modal__head, .modal__body { padding-inline: 20px; }
  .stepper__item .lbl { display: none; }
  .about-media .about-badge { right: 12px; }
  .about-media::before { inset: 14px -10px -14px 14px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; padding-block: 48px 30px; }
  .cookie-inner { flex-wrap: wrap; gap: 12px; }
  .cookie-inner svg { display: none; }
  .cookie-inner .btn { width: 100%; }
  .quick-contact { left: 12px; bottom: 12px; }
  .quick-contact a { width: 48px; height: 48px; }
  .quick-contact a .tip { display: none; }
  .page-card { padding: 26px 18px; margin-top: -80px; }
  .page-hero { padding-block: 44px 100px; }
  .wo-meta { text-align: right; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; }
}

/* ---------- הדפסה (טופס הזמנת עבודה) ---------- */
@media print {
  .site-header, .site-footer, .quick-contact, .cookie-banner, .page-hero, .page-aside, .no-print, .brand-stripe { display: none !important; }
  body { background: #fff; font-size: 13px; }
  .page-body { padding: 0; background: #fff; }
  .page-layout { display: block; }
  .page-card { box-shadow: none; border: 0; margin: 0; padding: 0; }
  .field input, .field textarea { border: 1px solid #999; min-height: 0; padding: 6px 8px; }
  .wo-section { break-inside: avoid; margin-bottom: 18px; }
}
