/* ============================================================
   /switch - דף נחיתה "עוברים לטסקי" (25/09/2026). נטען רק מ-views/switch.php.
   משתמש בטוקנים של main.css (--accent, --navy, --line, --shadow-*, --r-*) ובמחלקות
   הקיימות: hm-old/hm-new (כרטיס התמחור מדף הבית), lp-steps, faq-cards, hv-quote, contact-form.
   ============================================================ */

.sw-h2, .sw-hero h1, .sw-offer h2, .sw-lead h2 {
    margin: 0; color: var(--navy); font-weight: 900; line-height: 1.12; letter-spacing: -0.005em; text-wrap: balance;
}
.sw-h2, .sw-offer h2, .sw-lead h2 { font-size: clamp(30px, 3.6vw, 46px); }
.sw-h2 em, .sw-hero h1 em, .sw-lead h2 em { font-style: normal; color: var(--accent); }
.sw-nb { white-space: nowrap; }

/* ---------- 1. HERO ---------- */
.sw-hero { position: relative; overflow: clip; padding: clamp(36px, 5vw, 72px) 0 clamp(56px, 7vw, 96px); background: var(--page-bg); }
.sw-hero::before {
    content: ""; position: absolute; inset: -20% -10% auto; height: 120%; pointer-events: none;
    background: radial-gradient(50% 45% at 18% 30%, rgba(47, 109, 246, 0.13), transparent 70%),
                radial-gradient(38% 40% at 88% 12%, rgba(88, 86, 224, 0.10), transparent 70%);
}
.sw-hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.sw-kicker {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 14px 6px 12px;
    border-radius: 999px; background: #fff; color: var(--accent-ink); font-size: 14px; font-weight: 800;
    box-shadow: 0 0 0 1px var(--line) inset, var(--shadow-soft);
}
.sw-kicker i { font-size: 17px; }
.sw-hero h1 { margin-bottom: 20px; font-size: clamp(34px, 4vw, 56px); }
.sw-hero h1 em { display: block; }
.sw-hero-sub { margin: 0; max-width: 34em; font-size: clamp(17px, 1.4vw, 19.5px); color: var(--text-muted); line-height: 1.6; }
.sw-hero-points { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.sw-hero-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--text-muted); line-height: 1.45; }
.sw-hero-points strong { display: block; color: var(--navy); font-size: 16.5px; margin-bottom: 1px; }
.sw-hero-points i { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); font-size: 21px; }
.sw-hero-points li:first-child i { background: #dcf7e3; color: #14833f; }
.sw-hero-fine { margin: 14px 0 0; color: var(--text-muted); font-size: 14.5px; }
.sw-hero-visual { max-width: 430px; width: 100%; margin-inline-start: auto; display: flex; flex-direction: column; }

/* ---------- 2. מחשבון ---------- */
.sw-calc-sec { padding: clamp(64px, 8vw, 104px) 0; background: var(--surface-2); scroll-margin-top: 80px; }
.sw-calc {
    display: grid; grid-template-columns: 1fr 1fr; max-width: 960px; margin: 0 auto; overflow: hidden;
    border-radius: var(--r-xl); background: #fff; box-shadow: 0 0 0 1px var(--line) inset, var(--shadow-float);
}
.sw-calc-in { display: flex; flex-direction: column; gap: 26px; padding: clamp(24px, 4vw, 40px); }
.sw-field { display: flex; flex-direction: column; gap: 10px; }
.sw-label { color: var(--navy); font-size: 17px; font-weight: 800; }
.sw-stepper { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 6px; border-radius: 999px; background: var(--surface-2); }
.sw-stepper button {
    display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; cursor: pointer;
    background: #fff; color: var(--navy); font-size: 20px; box-shadow: 0 0 0 1px var(--line) inset, var(--shadow-soft);
    transition: transform .16s var(--ease-out), opacity .16s;
}
.sw-stepper button:active { transform: scale(.94); }
.sw-stepper button:disabled { opacity: .35; cursor: default; }
.sw-stepper output { min-width: 64px; text-align: center; color: var(--navy); font-size: 30px; font-weight: 900; font-variant-numeric: tabular-nums; }
.sw-money { position: relative; display: block; max-width: 260px; }
.sw-money input {
    width: 100%; padding: 14px 18px 14px 48px; border: 1px solid var(--line-strong); border-radius: var(--r-md);
    background: #fff; color: var(--navy); font: inherit; font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums;
}
.sw-money input::placeholder { color: #a6b0c2; font-weight: 600; }
.sw-money input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(47, 109, 246, .15); }
.sw-money b { position: absolute; inset-inline-end: 18px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 20px; }
.sw-calc-note { margin: auto 0 0; color: var(--text-muted); font-size: 13.5px; line-height: 1.5; }

.sw-calc-out {
    display: flex; flex-direction: column; gap: 4px; padding: clamp(24px, 4vw, 40px); color: #fff;
    background: radial-gradient(80% 60% at 90% 0%, rgba(91, 200, 242, .22), transparent 70%), linear-gradient(160deg, #13265c, var(--navy-deep));
}
.sw-out-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 15.5px; color: rgba(255, 255, 255, .78); }
.sw-out-row strong { color: #fff; font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sw-out-big { display: flex; flex-direction: column; gap: 2px; margin-top: 18px; }
.sw-out-big span { color: rgba(255, 255, 255, .78); font-size: 15.5px; font-weight: 700; }
.sw-out-big strong { color: #fff; font-size: clamp(40px, 5vw, 56px); font-weight: 900; line-height: 1.05; font-variant-numeric: tabular-nums; transition: color .2s; }
.sw-out-big.is-positive strong { color: #5ee08e; }
.sw-out-msg { margin: 10px 0 22px; color: rgba(255, 255, 255, .72); font-size: 14.5px; line-height: 1.5; min-height: 2.9em; }
.sw-calc-out .btn { margin-top: auto; }

/* ---------- 3. מה עובר איתכם ---------- */
.sw-moves { padding: clamp(64px, 8vw, 104px) 0; background: #fff; }
.sw-moves-grid { list-style: none; margin: 0 auto; padding: 0; max-width: 1040px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sw-moves-grid li {
    display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--r-lg);
    background: var(--surface-2); color: var(--text-muted); font-size: 15px; line-height: 1.5;
}
.sw-moves-grid strong { display: block; margin-bottom: 2px; color: var(--navy); font-size: 17px; }
.sw-moves-grid i { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--accent-ink); font-size: 22px; box-shadow: 0 0 0 1px var(--line) inset; }
.sw-steps-note { margin: 28px auto 0; text-align: center; color: var(--text-muted); font-size: 16px; font-weight: 600; }

/* ---------- 5. ההצעה ---------- */
.sw-offer {
    padding: clamp(64px, 8vw, 104px) 0; color: #fff;
    background: radial-gradient(60% 70% at 85% 10%, rgba(58, 124, 255, .28), transparent 70%), linear-gradient(160deg, var(--navy), var(--navy-deep));
}
.sw-offer-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.sw-offer h2 { color: #fff; }
.sw-offer h2 em { font-style: normal; color: #8fb1ff; }
.sw-offer-sub { margin: 16px 0 0; max-width: 32em; color: rgba(255, 255, 255, .78); font-size: 18px; line-height: 1.6; }
.sw-offer-proof { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.sw-offer-proof li { display: flex; gap: 14px; align-items: flex-start; color: rgba(255, 255, 255, .8); font-size: 15.5px; line-height: 1.55; }
.sw-offer-proof strong { color: #fff; }
.sw-offer-proof i { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #8fb1ff; font-size: 20px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset; }
.sw-offer-card { padding: 26px 28px 22px; border-radius: var(--r-xl); background: #fff; color: var(--text); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .55); }
.sw-offer-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--text-muted); }
.sw-offer-row strong { color: #14683a; font-size: 18px; font-weight: 900; white-space: nowrap; }
.sw-offer-card .btn { margin-top: 22px; }
.sw-offer-fine { margin: 12px 0 0; text-align: center; color: var(--text-muted); font-size: 13.5px; }

/* ---------- 8. טופס ---------- */
.sw-lead { padding: clamp(64px, 8vw, 104px) 0; background: var(--page-bg); scroll-margin-top: 80px; }
.sw-lead-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.sw-lead-sub { margin: 16px 0 0; max-width: 30em; color: var(--text-muted); font-size: 18px; line-height: 1.6; }
.sw-wa {
    display: flex; align-items: center; gap: 14px; max-width: 380px; margin-top: 28px; padding: 16px 18px; border-radius: var(--r-lg);
    background: #fff; color: var(--navy); text-decoration: none; box-shadow: 0 0 0 1px var(--line) inset, var(--shadow-soft);
    transition: transform .2s var(--ease-out), box-shadow .2s;
}
.sw-wa:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(37, 211, 102, .45) inset, var(--shadow-float); }
.sw-wa > i:first-child { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #dcf7e3; color: #14833f; font-size: 24px; }
.sw-wa span { flex: 1; }
.sw-wa strong { display: block; font-size: 16.5px; }
.sw-wa small { color: var(--text-muted); font-size: 13.5px; }
.sw-wa > i:last-child { color: var(--text-muted); }
.sw-form { box-shadow: 0 0 0 1px var(--line) inset, var(--shadow-float); border: 0; border-radius: var(--r-xl); }
.sw-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sw-form label small { color: var(--text-muted); font-weight: 500; }
.sw-form input[type="number"] { font-variant-numeric: tabular-nums; }
.sw-form-fine { margin: -4px 0 0; text-align: center; color: var(--text-muted); font-size: 13px; }

/* ---------- מובייל ---------- */
@media (max-width: 900px) {
    .sw-hero-grid, .sw-offer-grid, .sw-lead-grid, .sw-calc { grid-template-columns: 1fr; }
    .sw-hero-visual { margin-inline: auto; }
    .sw-moves-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .sw-moves-grid, .sw-form-row { grid-template-columns: 1fr; }
    .sw-hero h1 em { display: inline; }
    .sw-money { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
    .sw-stepper button, .sw-wa, .sw-out-big strong { transition: none; }
}

/* המחשבון: ארבע שורות עלות במקום סכום אחד (26/09, בן: "לקחת גם עלויות עבור Make/Zapier ומערכות וואטסאפ") */
.sw-costs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; align-items: end; } /* תווית בשתי שורות לא מזיזה את השדה */
.sw-cost { display: flex; flex-direction: column; gap: 6px; margin: 0; color: var(--text-muted); font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.sw-cost .sw-money { max-width: none; }
.sw-cost .sw-money input { padding: 11px 14px 11px 40px; font-size: 20px; }
.sw-cost .sw-money b { inset-inline-end: 14px; font-size: 17px; }
.sw-calc-out strong.is-empty { color: rgba(255, 255, 255, .35); }
/* הכותרת ארוכה יותר - קצת קטנה יותר כדי לא לתפוס ארבע שורות ענק */
.sw-hero h1 { font-size: clamp(32px, 3.6vw, 50px); }
@media (max-width: 480px) { .sw-costs { grid-template-columns: 1fr; } }

/* הסקשן העליון במצב לילה (26/09, בן: "אשמח ל-DARK מוד בסקשיין העליון") - אותו כחול-לילה רגוע של דף הבית.
   הכפתורים כמו בהירו של הבית (לבן + מתאר), והכרטיסים נשארים בהירים ובולטים על הכהה */
.sw-hero { color: rgba(255, 255, 255, .8); background: radial-gradient(55% 75% at 80% 12%, rgba(64, 124, 255, .55), transparent 70%), radial-gradient(40% 60% at 8% 85%, rgba(20, 131, 63, .16), transparent 70%), linear-gradient(180deg, #0f2257 0%, #12306f 100%); }
.sw-hero::before { display: none; }
.sw-hero h1 { color: #fff; }
.sw-hero h1 em { color: #8fb1ff; }
.sw-kicker { background: rgba(255, 255, 255, .08); color: #cfe0ff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16) inset; }
.sw-hero-sub { color: rgba(255, 255, 255, .75); }
.sw-hero-points li { color: rgba(255, 255, 255, .68); }
.sw-hero-points strong { color: #fff; }
.sw-hero-points i { background: rgba(143, 177, 255, .16); color: #b9ceff; }
.sw-hero-points li:first-child i { background: rgba(74, 222, 128, .16); color: #4ade80; }
.sw-hero-fine { color: rgba(255, 255, 255, .6); }
.sw-hero .hm-arrow { color: #8fb1ff; }
.sw-hero .hm-old { box-shadow: 0 0 0 1px rgba(255, 255, 255, .1) inset, 0 30px 60px -30px rgba(0, 0, 0, .5); }
.sw-hero .hm-new { box-shadow: 0 0 0 2px #8fb1ff inset, 0 30px 70px -28px rgba(0, 0, 0, .6); }
