/* רמי לוי – מורה לנהיגה | עיצוב משותף */
:root {
  --bg-deep: #0b1120;
  --bg-mid: #141d33;
  --bg-card: #18223c;
  --bg-soft: #202c4a;
  --accent: #fcc419;
  --accent-soft: #ffd64a;
  --accent-dark: #a8781a;
  --text: #f7f8fa;
  --text-muted: #9fb0cc;
  --text-dim: #7589a8;
  --divider: #2b3959;
  --wa: #25d366;
  --wa-dark: #1ea952;
  --sign-yellow: #ffd700;
  --sign-blue: #143ca0;
  --radius: 16px;
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-deep);
  color: var(--text);
  font-family: 'Heebo', system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 76px; /* מקום לסרגל הצף במובייל */
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ====== כותרת עליונה ====== */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 17, 32, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--divider);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.brand .lp {
  width: 30px; height: 30px; background: var(--sign-yellow);
  display: grid; place-items: center; flex: none; border-radius: 3px;
}
.brand .lp span {
  width: 23px; height: 23px; background: var(--sign-blue);
  display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 14px;
  border-radius: 2px;
}
.topnav { display: flex; gap: 22px; font-size: 15px; color: var(--text-muted); }
.topnav a:hover { color: var(--accent); }
.topbar-cta {
  background: var(--accent); color: #11182b; font-weight: 800;
  padding: 9px 18px; border-radius: 999px; font-size: 15px; white-space: nowrap;
}
@media (max-width: 860px) { .topnav { display: none; } }
@media (max-width: 420px) { .topbar-cta { display: none; } }

/* ====== Hero ====== */
.hero {
  position: relative; padding: 56px 0 48px;
  background:
    radial-gradient(ellipse 70% 60% at 80% 0%, rgba(252,196,25,0.16), transparent 60%),
    radial-gradient(ellipse 70% 60% at 10% 90%, rgba(70,130,240,0.14), transparent 60%);
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 46px 46px;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: center; }
@media (max-width: 880px) { .hero-inner { grid-template-columns: 1fr; gap: 32px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid rgba(252,196,25,0.55); color: var(--accent);
  padding: 6px 16px; border-radius: 999px; font-size: 14px; font-weight: 500;
  margin-bottom: 20px;
}
h1 {
  font-size: clamp(32px, 5.4vw, 52px); font-weight: 800; line-height: 1.12;
  letter-spacing: -0.5px; margin-bottom: 16px;
}
h1 .hl { color: var(--accent); }
.lede { font-size: clamp(17px, 2.2vw, 19px); color: var(--text-muted); max-width: 46ch; margin-bottom: 26px; }

.hero-points { list-style: none; display: grid; gap: 11px; margin-bottom: 30px; }
.hero-points li { display: flex; align-items: flex-start; gap: 11px; font-size: 16.5px; }
.tick {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(252,196,25,0.15); color: var(--accent);
  display: grid; place-items: center; margin-top: 3px;
}
.tick svg { width: 13px; height: 13px; }

/* ====== כפתורים ====== */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 13px; font-weight: 800; font-size: 17px;
  border: none; cursor: pointer; font-family: inherit; transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 21px; height: 21px; flex: none; }
.btn-wa { background: var(--wa); color: #06331a; box-shadow: 0 6px 22px rgba(37,211,102,0.28); }
.btn-wa:hover { box-shadow: 0 10px 28px rgba(37,211,102,0.4); }
.btn-tel { background: var(--accent); color: #11182b; box-shadow: 0 6px 22px rgba(252,196,25,0.25); }
.btn-tel:hover { box-shadow: 0 10px 28px rgba(252,196,25,0.38); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--divider); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; }
@media (max-width: 560px) {
  .btns { flex-direction: column; }
  .btns > .btn { width: 100%; }
  .dock .btn { width: auto; }
  section { padding: 46px 0; }
}

/* ====== כרטיס האיסוף בצד ה-Hero ====== */
.hero-card {
  background: linear-gradient(160deg, var(--bg-card), var(--bg-mid));
  border: 1px solid var(--divider); border-radius: 20px; padding: 26px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.hero-card h2 { font-size: 20px; margin-bottom: 6px; }
.hero-card .sub { color: var(--text-muted); font-size: 15px; margin-bottom: 18px; }

/* ====== רכב הלימוד ====== */
.car-wrap { position: relative; margin: -6px 0 18px; }
.car-img {
  width: 100%; height: auto; position: relative; z-index: 2;
  filter: drop-shadow(0 18px 24px rgba(0,0,0,0.45));
  animation: carIn .8s cubic-bezier(.2,.8,.3,1) both;
}
.car-shadow {
  position: absolute; z-index: 1; left: 8%; right: 8%; bottom: 4%; height: 26px;
  background: radial-gradient(ellipse at center, rgba(252,196,25,0.26), transparent 72%);
  filter: blur(9px);
}
.lp-badge {
  position: absolute; z-index: 3; top: -4px; inset-inline-start: 0;
  width: 42px; height: 42px; background: var(--sign-yellow); border-radius: 5px;
  display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(255,215,0,0.28);
}
.lp-badge > span {
  width: 33px; height: 33px; background: var(--sign-blue); border-radius: 3px;
  display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 19px; line-height: 1;
}
@keyframes carIn {
  from { opacity: 0; transform: translateX(22px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .car-img { animation: none; } }

.lplate-big {
  width: 72px; height: 72px; background: var(--sign-yellow); border-radius: 6px;
  display: grid; place-items: center; margin: 0 auto 18px;
}
.lplate-big > div {
  width: 58px; height: 58px; background: var(--sign-blue); border-radius: 4px;
  position: relative; display: grid; place-items: center;
}
.lplate-big .tri {
  width: 0; height: 0; border-left: 22px solid transparent; border-right: 22px solid transparent;
  border-bottom: 40px solid #fff; position: absolute; top: 8px;
}
.lplate-big .ltr {
  position: absolute; bottom: 4px; font-size: 25px; font-weight: 900; color: #000; line-height: 1;
}

/* ====== סרגל אזורי שירות ====== */
.areabar { background: var(--bg-mid); border-block: 1px solid var(--divider); padding: 18px 0; }
.areabar-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; justify-content: center; font-size: 15px; }
.areabar .label { color: var(--text-dim); font-weight: 500; }
.chip {
  background: var(--bg-soft); border: 1px solid var(--divider);
  padding: 5px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500;
}
.chip-on { background: rgba(252,196,25,0.14); border-color: rgba(252,196,25,0.45); color: var(--accent); }

/* ====== מקטעים ====== */
section { padding: 62px 0; }
.sec-head { text-align: center; max-width: 62ch; margin: 0 auto 42px; }
h2.sec-title { font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -0.3px; margin-bottom: 12px; }
.sec-head p { color: var(--text-muted); font-size: 17px; }

.alt { background: var(--bg-mid); }

.grid { display: grid; gap: 18px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .g3, .g4, .g2 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-card); border: 1px solid var(--divider);
  border-radius: var(--radius); padding: 24px;
}
.card .ico {
  width: 44px; height: 44px; border-radius: 12px; background: rgba(252,196,25,0.13);
  color: var(--accent); display: grid; place-items: center; margin-bottom: 14px;
}
.card .ico svg { width: 22px; height: 22px; }
.card h3 { font-size: 18px; margin-bottom: 7px; }
.card p { color: var(--text-muted); font-size: 15.5px; }

/* ====== שלבים ====== */
.steps { counter-reset: s; display: grid; gap: 16px; }
.step {
  display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start;
  background: var(--bg-card); border: 1px solid var(--divider);
  border-radius: var(--radius); padding: 22px 24px;
}
.step .num {
  counter-increment: s; width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #11182b; display: grid; place-items: center;
  font-weight: 900; font-size: 19px;
}
.step .num::before { content: counter(s); }
.step h3 { font-size: 18px; margin-bottom: 5px; }
.step p { color: var(--text-muted); font-size: 15.5px; }

/* ====== שאלות נפוצות ====== */
.faq { display: grid; gap: 11px; max-width: 820px; margin: 0 auto; }
details {
  background: var(--bg-card); border: 1px solid var(--divider);
  border-radius: 13px; overflow: hidden;
}
details summary {
  cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 17px;
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: '+'; color: var(--accent); font-size: 24px; font-weight: 400; line-height: 1; flex: none;
}
details[open] summary::after { content: '−'; }
details .ans { padding: 0 22px 20px; color: var(--text-muted); font-size: 16px; }

/* ====== יצירת קשר ====== */
.form-sec { background: var(--bg-mid); }
.contact-box {
  max-width: 720px; margin: 0 auto; text-align: center;
  background: linear-gradient(160deg, var(--bg-card), var(--bg-mid));
  border: 1px solid var(--divider); border-radius: 22px;
  padding: 44px 32px; box-shadow: 0 20px 50px rgba(0,0,0,0.28);
}
.contact-lede { color: var(--text-muted); font-size: 17.5px; max-width: 48ch; margin: 10px auto 26px; }
.contact-btns { justify-content: center; margin-bottom: 28px; }
.contact-btns .btn { font-size: 18px; padding: 16px 30px; }
.contact-meta {
  border-top: 1px solid var(--divider); padding-top: 22px;
  display: grid; gap: 12px; color: var(--text-dim); font-size: 14.5px;
}
.contact-meta strong { color: var(--accent); font-weight: 700; }
@media (max-width: 560px) { .contact-box { padding: 32px 20px; } }

/* ====== טופס (לא בשימוש כרגע) ====== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 880px) { .form-grid { grid-template-columns: 1fr; gap: 28px; } }

form.lead { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14.5px; color: var(--text-muted); font-weight: 500; }
.field input, .field select, .field textarea {
  background: var(--bg-deep); border: 1.5px solid var(--divider); border-radius: 11px;
  padding: 13px 15px; color: var(--text); font-family: inherit; font-size: 16px; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
}
.field .err { color: #ff8585; font-size: 13.5px; display: none; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid select { border-color: #ff8585; }
.form-note { font-size: 13.5px; color: var(--text-dim); }

.form-ok {
  display: none; background: rgba(37,211,102,0.1); border: 1px solid rgba(37,211,102,0.45);
  border-radius: var(--radius); padding: 26px; text-align: center;
}
.form-ok h3 { font-size: 21px; margin-bottom: 8px; }
.form-ok p { color: var(--text-muted); margin-bottom: 18px; }

/* ====== המלצות ====== */
.quote {
  background: var(--bg-card); border: 1px solid var(--divider);
  border-radius: var(--radius); padding: 24px;
}
.stars { color: var(--accent); font-size: 16px; letter-spacing: 2px; margin-bottom: 10px; }
.quote p { font-size: 16px; margin-bottom: 14px; }
.quote .who { color: var(--text-dim); font-size: 14.5px; font-weight: 500; }

/* ====== ערים נוספות ====== */
.citylinks { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.citylink {
  background: var(--bg-card); border: 1px solid var(--divider); border-radius: 12px;
  padding: 14px 22px; font-weight: 700; font-size: 16.5px;
}
.citylink:hover { border-color: var(--accent); color: var(--accent); }

/* ====== סיום ====== */
.cta-final { text-align: center; }
.cta-final .btns { justify-content: center; }

footer {
  background: var(--bg-deep); border-top: 1px solid var(--divider);
  padding: 38px 0 30px; color: var(--text-dim); font-size: 14.5px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; margin-bottom: 26px; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr; gap: 20px; } }
footer h4 { color: var(--text); font-size: 16px; margin-bottom: 10px; }
footer ul { list-style: none; display: grid; gap: 6px; }
footer a:hover { color: var(--accent); }
.foot-bottom { border-top: 1px solid var(--divider); padding-top: 18px; text-align: center; }

/* ====== סרגל פעולה צף (מובייל) ====== */
.dock {
  position: fixed; bottom: 0; inset-inline: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(11,17,32,0.95); backdrop-filter: blur(14px);
  border-top: 1px solid var(--divider);
}
.dock .btn { padding: 13px 10px; font-size: 16px; border-radius: 12px; }
@media (min-width: 881px) { .dock { display: none; } body { padding-bottom: 0; } }
