/* =====================================================================
   SKY World – מערכת עיצוב לאתר הציבורי (דף הבית והעמודים הסמוכים)
   קובץ נפרד מ-styles.css כדי לא לגעת בעיצוב של המשחק עצמו.
   קונספט: "איי שמיים" – שמיים, עננים, כפתורי 3D עבים וכרטיסי סטיקר.
   ===================================================================== */

:root {
    /* צבעי מותג (נגזרים מהלוגו: תכלת, סגול, אפרסק) */
    --sky-900: #0b3d91;
    --sky-700: #1565d8;
    --sky-500: #2e9bff;
    --sky-300: #7fd0ff;
    --sky-100: #e3f5ff;
    --sky-50:  #f3fbff;
    --violet-700: #5b2bd1;
    --violet-500: #7c4dff;
    --violet-300: #b9a2ff;
    --orange-600: #e8650c;
    --orange-500: #ff9a1f;
    --orange-300: #ffc65c;
    --pink-500: #ff5fa2;
    --green-600: #1fa65a;
    --green-500: #3ddc84;
    --yellow-400: #ffd93b;
    --ink: #17315c;
    --ink-soft: #4a6288;
    --white: #fff;

    --font-display: 'Secular One', 'Rubik', system-ui, sans-serif;
    --font-body: 'Rubik', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;

    --radius-sm: 14px;
    --radius-md: 22px;
    --radius-lg: 32px;
    --ledge: 5px;               /* עובי "המדרגה" התחתונה של כפתורי ה-3D */
    --container: 1180px;
    --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }

body.sk {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--sky-50);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    animation: none;
    min-height: 100vh;
}
body.sk::before, body.sk::after { display: none; }
.sk .dynamic-stars { display: none !important; }
.sk img { max-width: 100%; }
.sk a { color: inherit; }
.sk .hidden { display: none !important; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }

.sk :focus-visible {
    outline: 3px solid var(--violet-500);
    outline-offset: 3px;
    border-radius: 8px;
}

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

/* ===================== כפתורי 3D (בהשראת הרפרנס) ===================== */
.btn, .sk .play-button, .sk .nav-link {
    --b-top: var(--orange-300);
    --b-bot: var(--orange-500);
    --b-edge: var(--orange-600);
    --b-text: #5a2a00;
    position: relative;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 12px 28px;
    font: 700 1.05rem/1.2 var(--font-display);
    letter-spacing: .2px;
    color: var(--b-text);
    text-decoration: none;
    background: linear-gradient(180deg, var(--b-top), var(--b-bot));
    border: 0;
    border-radius: var(--radius-sm);
    box-shadow:
        0 var(--ledge) 0 var(--b-edge),
        0 calc(var(--ledge) + 8px) 18px rgba(20, 40, 90, .25),
        inset 0 2px 0 rgba(255, 255, 255, .55);
    text-shadow: 0 1px 0 rgba(255, 255, 255, .45);
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, filter .2s;
    margin-bottom: var(--ledge);
    -webkit-tap-highlight-color: transparent;
}
.btn:hover, .sk .play-button:hover, .sk button.nav-link:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow:
        0 calc(var(--ledge) + 2px) 0 var(--b-edge),
        0 calc(var(--ledge) + 12px) 22px rgba(20, 40, 90, .28),
        inset 0 2px 0 rgba(255, 255, 255, .55);
}
.btn:active, .sk .play-button:active, .sk button.nav-link:active {
    transform: translateY(var(--ledge));
    box-shadow: 0 0 0 var(--b-edge), 0 2px 6px rgba(20, 40, 90, .25), inset 0 2px 0 rgba(255,255,255,.4);
}
.btn--lg { padding: 16px 40px; font-size: 1.35rem; border-radius: 20px; --ledge: 7px; }
.btn--sm { padding: 9px 20px; font-size: .95rem; }
.btn--blue {
    --b-top: #6cc4ff; --b-bot: var(--sky-500); --b-edge: var(--sky-700); --b-text: #fff;
    text-shadow: 0 2px 0 rgba(10, 50, 130, .45);
}
.btn--violet {
    --b-top: #a98aff; --b-bot: var(--violet-500); --b-edge: var(--violet-700); --b-text: #fff;
    text-shadow: 0 2px 0 rgba(40, 10, 120, .45);
}
.btn--green {
    --b-top: #7cf0ae; --b-bot: var(--green-500); --b-edge: var(--green-600); --b-text: #063d1f;
}
.btn--white {
    --b-top: #fff; --b-bot: #e6f3ff; --b-edge: #a9c8ec; --b-text: var(--sky-900);
}
.btn--ghost-text { text-shadow: none; }

/* נשארים תואמים לכפתורים ש-JS של בלוג/צור קשר מזריק (play-button / nav-link) */
.sk .play-button { padding: 10px 24px; font-size: 1rem; text-decoration: none; }
.sk .nav-link {
    --b-top: #a98aff; --b-bot: var(--violet-500); --b-edge: var(--violet-700); --b-text: #fff;
    padding: 9px 18px; font-size: .95rem; text-shadow: 0 1px 0 rgba(40, 10, 120, .4);
    background: linear-gradient(180deg, var(--b-top), var(--b-bot));
    border: 0 !important;
}
.sk button.nav-link { font-family: var(--font-display); }
.sk #blog-auth-actions, .sk #contact-auth-actions { display: flex; gap: 10px; align-items: center; }
.sk #blog-logout {
    --b-top: #ff9aa2; --b-bot: #ff4d57; --b-edge: #c01f2b;
    background: linear-gradient(180deg, var(--b-top), var(--b-bot)) !important;
}

/* ===================== כותרת עליונה ===================== */
.site-header {
    position: sticky; top: 0; z-index: 500;
    padding: 10px 0 0;
    pointer-events: none;
}
.site-header__inner {
    pointer-events: auto;
    width: min(100% - 28px, var(--container)); margin-inline: auto;
    height: var(--header-h);
    display: flex; align-items: center; gap: 18px;
    padding: 0 22px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 999px;
    border: 3px solid #fff;
    box-shadow: 0 6px 0 rgba(21, 101, 216, .18), 0 14px 30px rgba(21, 60, 130, .18);
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 104px; width: auto; margin-block: -22px; margin-inline: -14px; filter: drop-shadow(0 3px 4px rgba(20, 50, 120, .25)); transition: transform .3s; }
.brand:hover img { transform: rotate(-3deg) scale(1.06); }

.site-nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.site-nav a {
    position: relative;
    padding: 9px 18px;
    border-radius: 999px;
    font: 600 1rem var(--font-body);
    color: var(--ink);
    text-decoration: none;
    transition: background .2s, color .2s, transform .2s;
}
.site-nav a:hover { background: var(--sky-100); color: var(--sky-700); transform: translateY(-1px); }
.site-nav a[aria-current="page"] {
    background: linear-gradient(180deg, #6cc4ff, var(--sky-500));
    color: #fff; box-shadow: 0 3px 0 var(--sky-700);
}

.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { margin-bottom: 0; --ledge: 4px; box-shadow: 0 4px 0 var(--b-edge), inset 0 2px 0 rgba(255,255,255,.55); }
.header-cta .btn:hover { transform: translateY(-2px); }
.header-cta .btn:active { transform: translateY(4px); box-shadow: 0 0 0 var(--b-edge); }

.nav-toggle {
    display: none; margin-inline-start: auto;
    width: 46px; height: 46px; border: 0; border-radius: 14px;
    background: linear-gradient(180deg, #6cc4ff, var(--sky-500));
    box-shadow: 0 4px 0 var(--sky-700);
    cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content: ''; position: absolute; inset-inline: 12px; height: 3px; border-radius: 3px; background: #fff;
    transition: transform .25s, top .25s, opacity .2s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -8px; inset-inline: 0; }
.nav-toggle span::after { top: 8px; inset-inline: 0; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ===================== Hero ===================== */
.hero {
    position: relative;
    margin-top: calc(-1 * (var(--header-h) + 10px));
    padding: calc(var(--header-h) + 60px) 0 130px;
    background:
        radial-gradient(circle at 78% 30%, rgba(255, 255, 255, .55), transparent 40%),
        linear-gradient(180deg, #1d8fff 0%, #4db6ff 38%, #9adfff 72%, #d6f3ff 100%);
    overflow: hidden;
    isolation: isolate;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 30px; position: relative; z-index: 2; }
.hero__eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.22); border: 2px solid rgba(255,255,255,.7);
    color: #fff; padding: 6px 16px; border-radius: 999px; font-weight: 600; font-size: .95rem;
    text-shadow: 0 1px 2px rgba(10, 50, 130, .35);
}
.hero__title {
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(2.6rem, 6vw, 4.7rem); line-height: 1.08;
    margin: 18px 0 14px; color: #fff;
    -webkit-text-stroke: 0;
    text-shadow: 0 4px 0 var(--sky-700), 0 8px 0 rgba(11, 61, 145, .55), 0 14px 26px rgba(11, 61, 145, .35);
}
.hero__title em {
    font-style: normal; color: var(--yellow-400);
    text-shadow: 0 4px 0 #d98a00, 0 8px 0 rgba(150, 80, 0, .5), 0 14px 26px rgba(11, 61, 145, .3);
}
.hero__lead {
    font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 500; max-width: 34ch;
    color: #fff; margin: 0 0 30px;
    text-shadow: 0 2px 6px rgba(10, 50, 130, .45);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, .95); color: var(--ink);
    padding: 7px 14px 7px 12px; border-radius: 999px;
    font-weight: 600; font-size: .92rem;
    box-shadow: 0 3px 0 rgba(21, 101, 216, .25);
}
.chip svg { width: 20px; height: 20px; flex-shrink: 0; }

/* הדמות/הלוגו המרחפים */
.hero__art { position: relative; display: grid; place-items: center; min-height: 380px; }
.hero__art .island {
    position: absolute; bottom: 4%; width: 78%; height: 70px;
    background: radial-gradient(ellipse at center, rgba(11, 61, 145, .35), transparent 70%);
    filter: blur(6px); animation: shadowPulse 5s ease-in-out infinite;
}
.hero__logo {
    position: relative; width: min(130%, 640px); max-width: none; margin-block: -40px;
    filter: drop-shadow(0 22px 28px rgba(11, 61, 145, .35));
    animation: floaty 5s ease-in-out infinite;
}
.sticker {
    position: absolute; z-index: 3;
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; color: var(--ink);
    font: 400 1.05rem var(--font-display);
    padding: 8px 16px; border-radius: 16px;
    border: 3px solid var(--sky-300);
    box-shadow: 0 5px 0 rgba(21, 101, 216, .3), 0 12px 20px rgba(11, 61, 145, .2);
    animation: floaty 4.5s ease-in-out infinite;
}
.sticker--a { top: 8%; inset-inline-start: 2%; animation-delay: -1s; transform: rotate(-6deg); }
.sticker--b { top: 20%; inset-inline-end: 0; animation-delay: -2.2s; transform: rotate(5deg); border-color: #c9b6ff; }
.sticker--c { bottom: 14%; inset-inline-start: 8%; animation-delay: -3.1s; transform: rotate(4deg); border-color: #ffd9a1; }

/* עננים */
.cloud {
    position: absolute; z-index: 1; pointer-events: none;
    width: var(--w, 220px); aspect-ratio: 2 / 1;
    top: var(--y, 20%); inset-inline-start: -30%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100'%3E%3Cpath fill='%23fff' d='M40 92a30 30 0 0 1-4-59 40 40 0 0 1 74-12 36 36 0 0 1 56 26 28 28 0 0 1-6 45z'/%3E%3C/svg%3E") center / contain no-repeat;
    opacity: var(--o, .85);
    animation: drift var(--t, 70s) linear infinite;
    animation-delay: var(--d, 0s);
}
.cloud--1 { --w: 260px; --y: 8%;  --t: 80s; --d: -20s; }
.cloud--2 { --w: 170px; --y: 34%; --t: 65s; --d: -45s; --o: .6; }
.cloud--3 { --w: 320px; --y: 56%; --t: 95s; --d: -60s; --o: .7; }
.cloud--4 { --w: 140px; --y: 18%; --t: 55s; --d: -8s;  --o: .5; }

.spark { position: absolute; z-index: 1; width: 22px; height: 22px; animation: twinkle 3s ease-in-out infinite; pointer-events: none; }
.spark svg { width: 100%; height: 100%; }

/* גל מפריד */
.wave { position: absolute; inset-inline: 0; bottom: -1px; height: 90px; z-index: 2; line-height: 0; }
.wave svg { width: 100%; height: 100%; display: block; }

/* ===================== סטטוס שרת ===================== */
.server-status-btn {
    display: inline-flex; align-items: center; gap: 10px;
    font: 600 .95rem var(--font-body);
    padding: 8px 18px; border-radius: 999px; cursor: pointer;
    background: rgba(255, 255, 255, .95); color: var(--ink);
    border: 3px solid #fff;
    box-shadow: 0 4px 0 rgba(21, 101, 216, .28);
    transition: transform .15s, box-shadow .15s;
}
.server-status-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(21, 101, 216, .28); }
.server-status-btn::before {
    content: ''; width: 11px; height: 11px; border-radius: 50%;
    background: #9aa8bd; box-shadow: 0 0 0 4px rgba(154, 168, 189, .3);
}
.server-status-btn.status-active::before { background: var(--green-500); box-shadow: 0 0 0 4px rgba(61, 220, 132, .3); animation: pulseDot 2s infinite; }
.server-status-btn.status-maintenance::before { background: var(--orange-500); box-shadow: 0 0 0 4px rgba(255, 154, 31, .3); }
.server-status-btn.status-update::before { background: var(--sky-500); box-shadow: 0 0 0 4px rgba(46, 155, 255, .3); }
.server-status-btn.status-inactive::before { background: #ff4d57; box-shadow: 0 0 0 4px rgba(255, 77, 87, .3); }
#server-status-emoji { display: none; }
.hero__status { margin-bottom: 4px; }

.status-popup {
    position: fixed; inset: 0; z-index: 2000;
    display: none; align-items: center; justify-content: center;
    background: rgba(11, 40, 100, .55); backdrop-filter: blur(5px);
    padding: 20px;
}
.status-popup.active { display: flex; animation: fadeIn .2s; }
.popup-content {
    position: relative; width: min(100%, 440px); text-align: center;
    background: #fff; border-radius: var(--radius-lg);
    border: 4px solid var(--sky-300);
    padding: 34px 28px 28px;
    box-shadow: 0 10px 0 rgba(21, 101, 216, .25), 0 30px 60px rgba(0, 0, 0, .3);
    animation: popIn .35s cubic-bezier(.2, 1.4, .4, 1);
}
.popup-title { font: 400 1.8rem var(--font-display); margin: 0 0 12px; color: var(--sky-700); }
.status-message { font-size: 1.05rem; margin: 0 0 8px; }
.status-return { color: var(--ink-soft); margin: 0; font-weight: 500; }
.popup-close {
    position: absolute; top: 12px; inset-inline-start: 12px;
    width: 38px; height: 38px; border-radius: 12px; border: 0; cursor: pointer;
    background: linear-gradient(180deg, #ff9aa2, #ff4d57); color: #fff;
    font-size: 1.5rem; line-height: 1; box-shadow: 0 3px 0 #c01f2b;
}
.popup-close:active { transform: translateY(3px); box-shadow: none; }

/* ===================== סקשנים ===================== */
.section { position: relative; padding: 90px 0; }
.section--cloud { background: var(--sky-50); }
.section--white { background: #fff; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.section-kicker {
    display: inline-block; padding: 5px 16px; border-radius: 999px;
    background: var(--violet-500); color: #fff; font-weight: 600; font-size: .9rem;
    box-shadow: 0 3px 0 var(--violet-700); margin-bottom: 14px;
}
.section-title {
    font: 400 clamp(2rem, 4vw, 3rem)/1.15 var(--font-display);
    color: var(--sky-900); margin: 0 0 12px;
}
.section-sub { font-size: 1.15rem; color: var(--ink-soft); margin: 0; }

/* כרטיסי "מה עושים" */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.card {
    --c: var(--sky-500); --c-dark: var(--sky-700); --c-soft: var(--sky-100);
    position: relative; background: #fff;
    border: 4px solid var(--c); border-radius: var(--radius-lg);
    padding: 70px 22px 28px; text-align: center;
    box-shadow: 0 8px 0 var(--c-dark), 0 22px 34px rgba(21, 60, 130, .15);
    transition: transform .25s cubic-bezier(.2, 1.4, .4, 1), box-shadow .25s;
}
.card:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 14px 0 var(--c-dark), 0 30px 40px rgba(21, 60, 130, .2); }
.card:nth-child(even):hover { transform: translateY(-8px) rotate(1deg); }
.card--violet { --c: var(--violet-500); --c-dark: var(--violet-700); --c-soft: #efe8ff; }
.card--orange { --c: var(--orange-500); --c-dark: var(--orange-600); --c-soft: #fff0d9; }
.card--green  { --c: var(--green-500); --c-dark: var(--green-600); --c-soft: #dcf9e8; }
.card__icon {
    position: absolute; top: -38px; inset-inline: 0; margin-inline: auto;
    width: 84px; height: 84px; border-radius: 26px;
    display: grid; place-items: center;
    background: linear-gradient(180deg, var(--c-soft), #fff);
    border: 4px solid var(--c);
    box-shadow: 0 5px 0 var(--c-dark);
    transform: rotate(-6deg);
    transition: transform .3s cubic-bezier(.2, 1.6, .4, 1);
}
.card:hover .card__icon { transform: rotate(6deg) scale(1.1); }
.card__icon svg { width: 46px; height: 46px; }
.card__title { font: 400 1.5rem var(--font-display); color: var(--c-dark); margin: 0 0 8px; }
.card__text { margin: 0; color: var(--ink-soft); font-size: 1.02rem; }

/* מה מיוחד */
.band {
    position: relative; color: #fff;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, .14), transparent 35%),
        radial-gradient(circle at 90% 80%, rgba(255, 95, 162, .25), transparent 40%),
        linear-gradient(160deg, var(--violet-500), var(--sky-700));
    padding: 120px 0 130px;
}
.band .section-title { color: #fff; text-shadow: 0 4px 0 rgba(30, 10, 100, .45); }
.band .section-sub { color: rgba(255, 255, 255, .9); }
.band .section-kicker { background: var(--yellow-400); color: #6b4a00; box-shadow: 0 3px 0 #d9a800; }
.band .wave { height: 80px; }
.band .wave--top { top: -1px; bottom: auto; transform: rotate(180deg); }

.perks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 920px; margin-inline: auto; }
.perk {
    display: flex; align-items: center; gap: 18px;
    background: rgba(255, 255, 255, .96); color: var(--ink);
    padding: 18px 22px; border-radius: 22px;
    box-shadow: 0 6px 0 rgba(0, 0, 0, .18), 0 18px 30px rgba(10, 30, 100, .2);
    font-weight: 600; font-size: 1.08rem; line-height: 1.45;
    transition: transform .2s;
}
.perk:hover { transform: translateY(-4px) scale(1.01); }
.perk__check {
    flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
    display: grid; place-items: center;
    background: linear-gradient(180deg, #7cf0ae, var(--green-500));
    box-shadow: 0 4px 0 var(--green-600);
}
.perk__check svg { width: 24px; height: 24px; }

/* בטיחות */
.safety-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 50px; align-items: center; }
.shield-art { position: relative; display: grid; place-items: center; }
.shield-art svg { width: min(100%, 340px); filter: drop-shadow(0 18px 24px rgba(21, 101, 216, .3)); animation: floaty 6s ease-in-out infinite; }
.safety-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.safety-row {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 16px 20px; border-radius: 20px;
    background: var(--sky-50); border: 3px solid var(--sky-100);
    transition: transform .2s, border-color .2s, background .2s;
}
.safety-row:hover { transform: translateX(-6px); border-color: var(--sky-300); background: #fff; }
.safety-row__icon {
    flex-shrink: 0; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
    background: linear-gradient(180deg, #6cc4ff, var(--sky-500)); box-shadow: 0 4px 0 var(--sky-700);
}
.safety-row__icon svg { width: 24px; height: 24px; }
.safety-row strong { display: block; font: 400 1.2rem var(--font-display); color: var(--sky-900); }
.safety-row span { color: var(--ink-soft); }
.safety-cta { margin-top: 28px; }

/* שאלות נפוצות */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq details {
    background: #fff; border: 3px solid var(--sky-100); border-radius: 22px;
    box-shadow: 0 5px 0 var(--sky-100);
    transition: border-color .2s, box-shadow .2s;
}
.faq details[open] { border-color: var(--sky-500); box-shadow: 0 5px 0 var(--sky-700); }
.faq summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px;
    padding: 18px 22px; font: 400 1.2rem var(--font-display); color: var(--sky-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '+'; margin-inline-start: auto; flex-shrink: 0;
    width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center;
    background: linear-gradient(180deg, #a98aff, var(--violet-500)); color: #fff;
    font: 700 1.5rem/1 var(--font-body); box-shadow: 0 3px 0 var(--violet-700);
    transition: transform .25s;
}
.faq details[open] summary::after { content: '–'; transform: rotate(180deg); }
.faq__answer { padding: 0 22px 20px; margin: 0; color: var(--ink-soft); font-size: 1.05rem; animation: slideDown .3s ease; }

/* CTA תחתון */
.cta { position: relative; padding: 40px 0 120px; background: #fff; }
.cta__box {
    position: relative; overflow: hidden; text-align: center;
    padding: 64px 24px 70px; border-radius: 44px;
    background:
        radial-gradient(circle at 20% 15%, rgba(255, 255, 255, .25), transparent 35%),
        linear-gradient(160deg, #3aa7ff, var(--violet-500));
    border: 5px solid #fff;
    box-shadow: 0 10px 0 var(--violet-700), 0 30px 50px rgba(60, 40, 160, .35);
    color: #fff; isolation: isolate;
}
.cta__title { font: 400 clamp(2rem, 4.5vw, 3.2rem)/1.15 var(--font-display); margin: 0 0 10px; text-shadow: 0 4px 0 rgba(30, 10, 100, .45); }
.cta__text { font-size: 1.2rem; margin: 0 0 32px; opacity: .95; }
.cta__box .cloud { z-index: -1; opacity: .35; }

/* ===================== כותרת עמוד פנימי ===================== */
.page-hero {
    position: relative; overflow: hidden; isolation: isolate;
    margin-top: calc(-1 * (var(--header-h) + 10px));
    padding: calc(var(--header-h) + 54px) 0 110px; text-align: center; color: #fff;
    background: linear-gradient(180deg, #1d8fff 0%, #5cbcff 60%, #a6e3ff 100%);
}
.page-hero h1 {
    font: 400 clamp(2.2rem, 5vw, 3.6rem)/1.15 var(--font-display); margin: 0 0 8px;
    text-shadow: 0 4px 0 var(--sky-700), 0 10px 24px rgba(11, 61, 145, .35);
}
.page-hero p { margin: 0 auto; max-width: 56ch; font-size: 1.15rem; font-weight: 500; text-shadow: 0 2px 6px rgba(10, 50, 130, .4); position: relative; z-index: 2; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero .hero__eyebrow { margin-bottom: 14px; }

/* תוכן משפטי / טקסטואלי */
.doc { padding: 0 0 90px; margin-top: -50px; position: relative; z-index: 3; }
.doc__wrap { width: min(100% - 32px, 900px); margin-inline: auto; display: grid; gap: 22px; }
.doc-card {
    background: #fff; border-radius: var(--radius-md);
    border: 3px solid var(--sky-100);
    padding: 30px 34px;
    box-shadow: 0 6px 0 var(--sky-100), 0 18px 34px rgba(21, 60, 130, .1);
}
.doc-card--lead { border-color: var(--sky-300); box-shadow: 0 6px 0 var(--sky-300), 0 22px 40px rgba(21, 60, 130, .15); }
.doc-card h1, .doc-card h2, .doc-card .section-title {
    font: 400 1.55rem/1.3 var(--font-display); color: var(--sky-900); margin: 0 0 12px; text-align: start;
}
.doc-card h3 { font: 400 1.2rem var(--font-display); color: var(--violet-700); margin: 18px 0 6px; }
.doc-card p { margin: 0 0 12px; color: #2f4670; font-size: 1.05rem; }
.doc-card p:last-child { margin-bottom: 0; }
.doc-card a { color: var(--sky-700); font-weight: 600; }
.doc-card ul, .doc-card ol { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.doc-card ol { counter-reset: n; }
.doc-card li, .doc-card .safety-item {
    position: relative; padding-inline-start: 38px; color: #2f4670; font-size: 1.04rem;
    background: none; border: 0; box-shadow: none; margin: 0;
}
.doc-card li::before {
    content: ''; position: absolute; inset-inline-start: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
    background: var(--green-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
    box-shadow: 0 2px 0 var(--green-600);
}
.doc-card .safety-item:hover { transform: none; }

/* ===================== תחתית (Footer) – "שדה התעופה בשמיים": לילה, ירח, בלון, מטוס וערפל עננים ===================== */
.site-footer {
    position: relative; overflow: hidden; isolation: isolate; text-align: center; color: #fff;
    margin-top: -1px; padding: 130px 0 0;
    background:
        radial-gradient(ellipse at 50% 115%, rgba(255, 154, 31, .55), transparent 55%),
        linear-gradient(180deg, #0a1240 0%, #1b1b73 38%, #3b2bb0 72%, #7a4fe0 100%);
}
.site-footer .wave { top: -1px; bottom: auto; height: 80px; transform: rotate(180deg); z-index: 3; }
.sf-sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sf-stars, .sf-stars::before { position: absolute; inset: 0; content: ''; }
.sf-stars {
    background:
        radial-gradient(circle, #fff 1.3px, transparent 2px) 0 0 / 89px 71px,
        radial-gradient(circle, rgba(255, 255, 255, .75) 1px, transparent 1.6px) 23px 41px / 53px 67px;
    animation: sfTwinkle 4s ease-in-out infinite;
}
.sf-stars::before { background: radial-gradient(circle, #ffd93b 1.6px, transparent 2.3px) 40px 12px / 167px 121px; animation: sfTwinkle 3s ease-in-out -1.5s infinite; }
.sf-moon {
    position: absolute; top: 90px; inset-inline-end: 9%; width: 110px; height: 110px; border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #fffdf0, #ffeeaa 70%, #f3d779);
    box-shadow: 0 0 40px 12px rgba(255, 240, 170, .45), 0 0 120px 40px rgba(255, 240, 170, .2);
    animation: sfBob 7s ease-in-out infinite;
}
.sf-moon::before, .sf-moon::after { content: ''; position: absolute; border-radius: 50%; background: rgba(214, 180, 90, .35); }
.sf-moon::before { width: 22px; height: 22px; top: 24px; inset-inline-start: 22px; }
.sf-moon::after { width: 14px; height: 14px; bottom: 26px; inset-inline-end: 28px; }
.sf-shoot {
    position: absolute; top: var(--y); inset-inline-start: var(--x); width: 130px; height: 3px; border-radius: 3px; opacity: 0;
    background: linear-gradient(90deg, #fff, transparent); transform: rotate(-30deg) translateX(0);
    animation: sfShoot 7s ease-in infinite; animation-delay: var(--d);
}
.sf-shoot::after { content: ''; position: absolute; inset-inline-start: -3px; top: -3px; width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 4px rgba(255, 255, 255, .8); }
.sf-balloon { position: absolute; top: 20%; width: 92px; inset-inline-start: -120px; animation: sfBalloon 46s linear infinite, sfBob 4s ease-in-out infinite; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .3)); }
.sf-plane { position: absolute; top: 34%; width: 64px; inset-inline-start: -90px; animation: sfPlane 24s linear 4s infinite; opacity: .9; }
.sf-plane::after { content: ''; position: absolute; top: 50%; inset-inline-start: 100%; width: 140px; height: 3px; margin-top: -1px; background: linear-gradient(90deg, rgba(255, 255, 255, .7), transparent); border-radius: 3px; }

.sf-main { position: relative; z-index: 2; padding-bottom: 160px; }
.sf-logo { width: 190px; margin: 0 auto -6px; display: block; animation: sfBob 5s ease-in-out infinite; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .4)); }
.sf-title { font: 400 clamp(2rem, 5vw, 3.2rem)/1.15 var(--font-display); margin: 0 0 8px; text-shadow: 0 4px 0 #3b2bb0, 0 10px 24px rgba(0, 0, 0, .35); }
.sf-tag { margin: 0 auto 26px; max-width: 46ch; color: #d6dcff; font-weight: 500; font-size: 1.1rem; }
.sf-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 880px; margin: 38px auto 0; }
.sf-links a {
    position: relative; text-decoration: none; font: 400 1.02rem var(--font-display); color: #2a2a8a;
    padding: 9px 22px; border-radius: 999px;
    background: #fff; box-shadow: 0 4px 0 #b6c3ff, 0 10px 18px rgba(0, 0, 0, .25);
    transition: transform .2s cubic-bezier(.2, 1.6, .4, 1), box-shadow .2s, background .2s;
    animation: sfBob 5s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -.6s);
}
.sf-links a::before, .sf-links a::after { content: ''; position: absolute; background: inherit; border-radius: 50%; z-index: -1; }
.sf-links a::before { width: 26px; height: 26px; top: -10px; inset-inline-start: 18px; }
.sf-links a::after { width: 20px; height: 20px; top: -7px; inset-inline-end: 24px; }
.sf-links a:hover { transform: translateY(-6px) scale(1.08) rotate(-2deg); background: #fff7c2; box-shadow: 0 8px 0 #e6c84a, 0 16px 24px rgba(0, 0, 0, .3); }
.sf-links--legal { margin-top: 20px; }
.sf-links--legal a { font-size: .92rem; background: rgba(255, 255, 255, .2); color: #fff; box-shadow: 0 3px 0 rgba(255, 255, 255, .15); }
.sf-links--legal a:hover { background: rgba(255, 255, 255, .38); box-shadow: 0 6px 0 rgba(255, 255, 255, .2); }

.sf-clouds { position: absolute; inset-inline: 0; bottom: 0; height: 190px; z-index: 1; pointer-events: none; }
.sf-clouds i { position: absolute; inset-inline: 0; bottom: 0; background-repeat: repeat-x; background-position: 0 100%; animation: sfScroll var(--t) linear infinite; }
.sf-clouds i:nth-child(1) { height: 190px; background-size: 760px 190px; --t: 90s; opacity: .45; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 100' preserveAspectRatio='none'%3E%3Cg fill='%238f7bff'%3E%3Ccircle cx='50' cy='62' r='36'/%3E%3Ccircle cx='130' cy='50' r='44'/%3E%3Ccircle cx='215' cy='64' r='36'/%3E%3Ccircle cx='295' cy='48' r='46'/%3E%3Ccircle cx='375' cy='62' r='38'/%3E%3Ccircle cx='-25' cy='62' r='38'/%3E%3Crect y='60' width='400' height='40'/%3E%3C/g%3E%3C/svg%3E"); }
.sf-clouds i:nth-child(2) { height: 150px; background-size: 620px 150px; --t: 60s; opacity: .8; animation-direction: reverse; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 100' preserveAspectRatio='none'%3E%3Cg fill='%23c9bcff'%3E%3Ccircle cx='70' cy='66' r='34'/%3E%3Ccircle cx='150' cy='54' r='42'/%3E%3Ccircle cx='240' cy='68' r='34'/%3E%3Ccircle cx='320' cy='54' r='44'/%3E%3Ccircle cx='-10' cy='66' r='34'/%3E%3Ccircle cx='390' cy='66' r='34'/%3E%3Crect y='64' width='400' height='40'/%3E%3C/g%3E%3C/svg%3E"); }
.sf-clouds i:nth-child(3) { height: 110px; background-size: 520px 110px; --t: 40s; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 100' preserveAspectRatio='none'%3E%3Cg fill='%23fff'%3E%3Ccircle cx='60' cy='70' r='30'/%3E%3Ccircle cx='135' cy='58' r='38'/%3E%3Ccircle cx='215' cy='72' r='30'/%3E%3Ccircle cx='295' cy='58' r='40'/%3E%3Ccircle cx='370' cy='70' r='30'/%3E%3Ccircle cx='-30' cy='70' r='30'/%3E%3Crect y='68' width='400' height='40'/%3E%3C/g%3E%3C/svg%3E"); }
.sf-copy { position: absolute; z-index: 3; inset-inline: 0; bottom: 14px; margin: 0; color: #2a2a8a; font-weight: 600; font-size: .95rem; }

@keyframes sfTwinkle { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes sfBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes sfScroll { to { background-position: 760px 100%; } }
@keyframes sfBalloon { from { transform: translateX(0); } to { transform: translateX(calc(-100vw - 260px)); } }
@keyframes sfPlane { 0% { transform: translateX(0) rotate(-6deg); } 100% { transform: translateX(calc(-100vw - 300px)) rotate(-6deg); } }
@keyframes sfShoot { 0% { opacity: 0; transform: rotate(-30deg) translateX(0); } 4% { opacity: 1; } 14% { opacity: 0; transform: rotate(-30deg) translateX(-420px); } 100% { opacity: 0; } }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .9, .3, 1.1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .1s; } .reveal[data-d="2"] { transition-delay: .2s; } .reveal[data-d="3"] { transition-delay: .3s; }

/* ===================== בלוג ===================== */
.sk .blog-page { max-width: var(--container); margin: 0 auto; padding: 0 20px 90px; position: relative; z-index: 3; }
.sk .blog-hero { display: none; }
.sk .blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; margin-top: -50px; }
.sk .blog-card {
    background: #fff; border-radius: var(--radius-md); overflow: hidden; cursor: pointer;
    border: 4px solid #fff; box-shadow: 0 8px 0 var(--sky-300), 0 22px 36px rgba(21, 60, 130, .15);
    transition: transform .25s cubic-bezier(.2, 1.4, .4, 1), box-shadow .25s;
    display: flex; flex-direction: column; color: var(--ink);
}
.sk .blog-card:hover { transform: translateY(-8px) rotate(-.6deg); box-shadow: 0 14px 0 var(--sky-300), 0 30px 40px rgba(21, 60, 130, .2); }
.sk .blog-card-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: linear-gradient(135deg, var(--sky-300), var(--violet-300)); }
.sk .blog-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sk .blog-card-title { font: 400 1.4rem/1.3 var(--font-display); color: var(--sky-900); margin: 0; }
.sk .blog-card-meta { font-size: .88rem; color: var(--ink-soft); font-weight: 500; }
.sk .blog-card-excerpt { margin: 0; color: #2f4670; flex: 1; }
.sk .blog-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.sk .blog-card-stats { font-weight: 600; color: var(--ink-soft); }
.sk .blog-readmore {
    font: 400 .95rem var(--font-display); color: #fff; border: 0; cursor: pointer; padding: 8px 18px; border-radius: 12px;
    background: linear-gradient(180deg, #a98aff, var(--violet-500)); box-shadow: 0 4px 0 var(--violet-700);
    transition: transform .12s;
}
.sk .blog-readmore:hover { transform: translateY(-2px); }
.sk .blog-readmore:active { transform: translateY(4px); box-shadow: none; }
.sk .blog-post-loading, .sk .blog-post-error, .sk .blog-empty {
    grid-column: 1 / -1; text-align: center; background: #fff; border-radius: var(--radius-md);
    padding: 40px 24px; border: 3px solid var(--sky-100); box-shadow: 0 6px 0 var(--sky-100); color: var(--ink);
}
.sk .blog-post-loading h2, .sk .blog-post-error h2, .sk .blog-empty h2 { font: 400 1.6rem var(--font-display); color: var(--sky-900); margin: 0 0 8px; }

.sk .blog-post-container { max-width: 860px; margin: -50px auto 0; position: relative; z-index: 3; }
.sk .blog-post-card {
    background: #fff; border-radius: var(--radius-lg); padding: 34px; color: var(--ink);
    border: 3px solid var(--sky-100); box-shadow: 0 8px 0 var(--sky-100), 0 24px 44px rgba(21, 60, 130, .14);
}
.sk .blog-post-cover img { width: 100%; border-radius: var(--radius-md); margin-bottom: 20px; display: block; }
.sk .blog-post-title { font: 400 clamp(1.8rem, 4vw, 2.6rem)/1.2 var(--font-display); color: var(--sky-900); margin: 0 0 8px; }
.sk .blog-meta { color: var(--ink-soft); font-weight: 500; margin-bottom: 20px; }
.sk .blog-content { font-size: 1.1rem; line-height: 1.85; color: #2f4670; }
.sk .blog-back-link {
    display: inline-block; margin-bottom: 18px; font-weight: 700; text-decoration: none; color: var(--sky-700);
    background: var(--sky-100); padding: 7px 16px; border-radius: 999px; transition: background .2s, transform .2s;
}
.sk .blog-back-link:hover { background: var(--sky-300); transform: translateX(4px); }
.sk .blog-actions { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding-top: 20px; border-top: 3px dashed var(--sky-100); }
.sk .blog-like-btn {
    font: 400 1.1rem var(--font-display); padding: 9px 20px; border-radius: 14px; border: 0; cursor: pointer; color: #fff;
    background: linear-gradient(180deg, #ff9ac4, var(--pink-500)); box-shadow: 0 4px 0 #c2347a;
}
.sk .blog-like-btn:disabled { filter: grayscale(.4); cursor: default; opacity: .8; }

/* ===================== צור קשר ===================== */
.sk .contact-page { padding: 0 20px 90px; position: relative; z-index: 3; background: none; min-height: 0; }
.sk .contact-container {
    max-width: 720px; margin: -50px auto 0; background: #fff; border-radius: var(--radius-lg);
    border: 3px solid var(--sky-100); box-shadow: 0 8px 0 var(--sky-100), 0 24px 44px rgba(21, 60, 130, .14); padding: 34px;
}
.sk .contact-header { display: none; }
.sk .form-group { margin-bottom: 20px; }
.sk .form-label { display: block; font: 400 1.1rem var(--font-display); color: var(--sky-900); margin-bottom: 8px; }
.sk .form-label .required { color: var(--pink-500); }
.sk .form-input {
    width: 100%; padding: 13px 16px; font: 500 1rem var(--font-body); color: var(--ink);
    background: var(--sky-50); border: 3px solid var(--sky-100); border-radius: 16px; outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.sk .form-input:focus { border-color: var(--sky-500); background: #fff; box-shadow: 0 0 0 5px rgba(46, 155, 255, .2); }
.sk .form-textarea { resize: vertical; min-height: 140px; }
.sk .contact-submit-btn {
    width: 100%; margin-top: 6px; padding: 15px; font: 400 1.3rem var(--font-display); color: #5a2a00; cursor: pointer;
    border: 0; border-radius: 18px; background: linear-gradient(180deg, var(--orange-300), var(--orange-500));
    box-shadow: 0 6px 0 var(--orange-600), inset 0 2px 0 rgba(255,255,255,.55); transition: transform .12s, box-shadow .12s;
}
.sk .contact-submit-btn:hover { transform: translateY(-2px); }
.sk .contact-submit-btn:active { transform: translateY(6px); box-shadow: 0 0 0 var(--orange-600); }
.sk .contact-submit-btn:disabled { filter: grayscale(.5); cursor: wait; }

/* ===================== אנימציות ===================== */
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -16px; } }
@keyframes shadowPulse { 0%, 100% { transform: scale(1); opacity: .8; } 50% { transform: scale(.82); opacity: .5; } }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-160vw); } }
@keyframes twinkle { 0%, 100% { transform: scale(.6) rotate(0); opacity: .4; } 50% { transform: scale(1.15) rotate(20deg); opacity: 1; } }
@keyframes pulseDot { 0%, 100% { box-shadow: 0 0 0 4px rgba(61, 220, 132, .3); } 50% { box-shadow: 0 0 0 8px rgba(61, 220, 132, .08); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { transform: scale(.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes loadBar { 0% { margin-inline-start: -40%; } 100% { margin-inline-start: 100%; } }
@keyframes stripes { to { background-position: 34px 0; } }

/* ===================== רספונסיביות ===================== */
@media (max-width: 1020px) {
    .cards { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
}
@media (max-width: 900px) {
    :root { --header-h: 68px; }
    .nav-toggle { display: block; }
    .site-header__inner { border-radius: 34px; padding: 0 14px 0 18px; position: relative; flex-wrap: nowrap; }
    .header-cta { margin-inline-start: 0; }
    .site-nav {
        position: absolute; top: calc(100% + 12px); inset-inline: 0;
        flex-direction: column; align-items: stretch; gap: 6px; padding: 14px;
        background: #fff; border-radius: 28px; border: 3px solid #fff;
        box-shadow: 0 8px 0 rgba(21, 101, 216, .18), 0 24px 40px rgba(21, 60, 130, .25);
        opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.98); transform-origin: top;
        transition: opacity .2s, transform .2s, visibility .2s;
    }
    .site-nav.open { opacity: 1; visibility: visible; transform: none; }
    .site-nav a { text-align: center; padding: 13px; font-size: 1.1rem; }
    .brand img { height: 88px; margin-block: -20px; }
    .hero { padding: calc(var(--header-h) + 40px) 0 120px; }
    .hero__grid { grid-template-columns: 1fr; text-align: center; }
    .hero__lead { margin-inline: auto; }
    .hero__actions, .hero__chips { justify-content: center; }
    .hero__art { min-height: 280px; order: -1; }
    .hero__logo { width: min(100%, 440px); max-width: 100%; }
    .safety-grid { grid-template-columns: 1fr; }
    .shield-art svg { width: 200px; }
    .perks { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .header-cta .btn--sm { padding: 8px 14px; font-size: .88rem; }
    .section { padding: 64px 0; }
    .cards { grid-template-columns: 1fr; }
    .sf-moon { width: 70px; height: 70px; top: 80px; }
    .sf-main { padding-bottom: 140px; }
    .sf-links a { padding: 8px 16px; font-size: .95rem; }
    .doc-card { padding: 22px 20px; }
    .sticker { font-size: .9rem; padding: 6px 12px; }
    .cta__box { padding: 46px 18px 52px; border-radius: 32px; }
    .btn--lg { padding: 14px 30px; font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
    .cloud { inset-inline-start: 10%; }
}

/* ===================== פופאפים (צור קשר) ===================== */
.sk .custom-popup {
    position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center;
    background: rgba(11, 40, 100, .55); backdrop-filter: blur(5px); padding: 20px;
}
.sk .custom-popup.hidden { display: none !important; }
.sk .custom-popup-content {
    width: min(100%, 420px); text-align: center; background: #fff; border-radius: var(--radius-lg);
    border: 4px solid var(--green-500); padding: 34px 28px 28px;
    box-shadow: 0 10px 0 var(--green-600), 0 30px 60px rgba(0, 0, 0, .3); animation: popIn .35s cubic-bezier(.2, 1.4, .4, 1);
}
.sk .error-popup .custom-popup-content { border-color: #ff4d57; box-shadow: 0 10px 0 #c01f2b, 0 30px 60px rgba(0, 0, 0, .3); }
.sk .custom-popup-message { font: 400 1.35rem/1.5 var(--font-display); color: var(--sky-900); margin-bottom: 22px; }
.sk .custom-popup-button {
    font: 400 1.15rem var(--font-display); padding: 11px 40px; border: 0; border-radius: 16px; cursor: pointer;
    color: #5a2a00; background: linear-gradient(180deg, var(--orange-300), var(--orange-500));
    box-shadow: 0 5px 0 var(--orange-600); transition: transform .12s;
}
.sk .custom-popup-button:active { transform: translateY(5px); box-shadow: none; }

/* כפתורים שמוזרקים ל-header על ידי JS (בלוג / צור קשר) */
.header-cta .play-button, .header-cta .nav-link {
    margin-bottom: 0; --ledge: 4px; padding: 9px 20px; font-size: .95rem; white-space: nowrap;
    box-shadow: 0 4px 0 var(--b-edge), inset 0 2px 0 rgba(255, 255, 255, .55);
}
.header-cta .play-button:hover, .header-cta .nav-link:hover { transform: translateY(-2px); }
.header-cta .play-button:active, .header-cta .nav-link:active { transform: translateY(4px); box-shadow: 0 0 0 var(--b-edge); }
.sk .blog-page { padding-top: 0; }
.sk .blog-post-container { margin-top: -50px; }
.sk .blog-grid { margin-top: -50px; }
.sk .contact-page { padding-top: 0; }
@media (max-width: 600px) {
    .sk .contact-container, .sk .blog-post-card { padding: 22px 18px; }
    .header-cta .play-button, .header-cta .nav-link { padding: 8px 14px; font-size: .85rem; }
}

/* ===================== בלוג - שדרוג (רשימה + פוסט + תגובות) ===================== */
.sk .blog-toolbar {
    position: relative; z-index: 4; margin-top: -50px; margin-bottom: 14px;
    display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
    background: #fff; border-radius: var(--radius-md); padding: 12px 14px;
    border: 3px solid var(--sky-100); box-shadow: 0 6px 0 var(--sky-100), 0 18px 32px rgba(21, 60, 130, .12);
}
.sk .blog-toolbar[hidden] { display: none; }
.sk .blog-search {
    flex: 1 1 240px; display: flex; align-items: center; gap: 10px;
    background: var(--sky-50); border: 3px solid var(--sky-100); border-radius: 999px; padding: 0 16px;
    color: var(--sky-700); transition: border-color .2s, box-shadow .2s;
}
.sk .blog-search:focus-within { border-color: var(--sky-500); box-shadow: 0 0 0 4px rgba(46, 155, 255, .18); }
.sk .blog-search svg { width: 20px; height: 20px; flex-shrink: 0; }
.sk .blog-search input {
    flex: 1; min-width: 0; border: 0; background: transparent; outline: 0;
    font: 500 1rem var(--font-body); color: var(--ink); padding: 11px 0;
}
.sk .blog-sort { display: flex; flex-wrap: wrap; gap: 8px; }
.sk .blog-chip {
    font: 400 .98rem var(--font-display); color: var(--sky-700); cursor: pointer;
    background: var(--sky-50); border: 3px solid var(--sky-100); border-radius: 999px; padding: 7px 16px;
    transition: transform .15s, background .2s, border-color .2s, color .2s;
}
.sk .blog-chip:hover { transform: translateY(-2px); border-color: var(--sky-300); }
.sk .blog-chip.is-active {
    color: #fff; border-color: var(--sky-700);
    background: linear-gradient(180deg, #6cc4ff, var(--sky-500)); box-shadow: 0 3px 0 var(--sky-700);
}
.sk .blog-count { margin: 0 0 10px; min-height: 1.2em; font-weight: 600; color: var(--ink-soft); }

.sk .blog-grid { margin-top: 18px; }
.sk .blog-card { animation: blogCardIn .55s cubic-bezier(.2, .9, .3, 1.1) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes blogCardIn { from { opacity: 0; transform: translateY(28px) scale(.97); } to { opacity: 1; transform: none; } }
.sk .blog-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.sk .blog-card-media { position: relative; overflow: hidden; }
.sk .blog-card-media .blog-card-img { transition: transform .5s ease; }
.sk .blog-card:hover .blog-card-media .blog-card-img { transform: scale(1.06); }
.sk .blog-card-img.placeholder { display: grid; place-items: center; font-size: 3.4rem; }
.sk .blog-card-title { transition: color .2s; }
.sk .blog-card:hover .blog-card-title { color: var(--sky-700); }
.sk .blog-card-excerpt {
    display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.sk .blog-dot { margin-inline: 6px; opacity: .6; }
.sk .blog-readmore { display: inline-block; }
.sk .blog-card:hover .blog-readmore { transform: translateX(-4px); }
.sk .blog-card-stats { display: inline-flex; gap: 8px; }
.sk .stat-pill {
    background: var(--sky-50); border: 2px solid var(--sky-100); border-radius: 999px;
    padding: 2px 10px; font-size: .88rem; font-weight: 700; color: var(--ink-soft);
}
.sk .blog-badge {
    position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2;
    font: 400 1rem var(--font-display); color: #5a2a00; padding: 6px 14px; border-radius: 999px;
    background: linear-gradient(180deg, var(--orange-300), var(--orange-500));
    box-shadow: 0 3px 0 var(--orange-600), 0 8px 16px rgba(20, 40, 90, .25); transform: rotate(-3deg);
}

/* פוסט מומלץ - כרטיס רחב */
@media (min-width: 900px) {
    .sk .blog-card--featured { grid-column: 1 / -1; }
    .sk .blog-card--featured .blog-card-link { flex-direction: row; }
    .sk .blog-card--featured .blog-card-media { flex: 1.15; min-height: 320px; }
    .sk .blog-card--featured .blog-card-media .blog-card-img { height: 100%; aspect-ratio: auto; position: absolute; inset: 0; }
    .sk .blog-card--featured .blog-card-body { flex: 1; justify-content: center; padding: 34px 38px; gap: 14px; }
    .sk .blog-card--featured .blog-card-title { font-size: 2.1rem; }
    .sk .blog-card--featured .blog-card-excerpt { font-size: 1.1rem; flex: 0 1 auto; -webkit-line-clamp: 4; line-clamp: 4; }
}

.sk .blog-empty-search { grid-column: 1 / -1; text-align: center; padding: 40px 20px; color: var(--ink-soft); }
.sk .blog-empty-search h2 { font: 400 1.5rem var(--font-display); color: var(--sky-900); margin: 0 0 6px; }

/* שלדים בזמן טעינה */
.sk .blog-skeleton { pointer-events: none; animation: none; box-shadow: 0 8px 0 var(--sky-100); }
.sk .blog-skeleton .blog-card-img { background: var(--sky-100); }
.sk .blog-skeleton i {
    display: block; height: 16px; border-radius: 8px; background: var(--sky-100);
    background-image: linear-gradient(90deg, transparent, rgba(255, 255, 255, .8), transparent);
    background-size: 200px 100%; background-repeat: no-repeat; animation: blogShimmer 1.3s linear infinite;
}
.sk .blog-skeleton i.short { width: 55%; }
@keyframes blogShimmer { from { background-position: -200px 0; } to { background-position: calc(100% + 200px) 0; } }

/* ---------- עמוד פוסט ---------- */
.read-progress {
    position: fixed; top: 0; inset-inline: 0; height: 5px; z-index: 10000; pointer-events: none;
    background: linear-gradient(90deg, var(--sky-500), var(--violet-500), var(--pink-500));
    transform-origin: right center; transform: scaleX(0);
}
.sk .blog-post-card { margin-bottom: 28px; }
.sk .blog-post-cover img { max-height: 460px; object-fit: cover; box-shadow: 0 6px 0 var(--sky-100); }
.sk .blog-meta { display: flex; flex-wrap: wrap; gap: 2px 0; align-items: center; }
.sk .blog-content h1, .sk .blog-content h2, .sk .blog-content h3 { font-family: var(--font-display); font-weight: 400; color: var(--sky-900); margin: 1.4em 0 .5em; }
.sk .blog-content img { border-radius: var(--radius-sm); height: auto; }
.sk .blog-content a { color: var(--sky-700); font-weight: 600; }
.sk .blog-content blockquote {
    margin: 1.2em 0; padding: 12px 18px; border-inline-start: 5px solid var(--violet-300);
    background: var(--sky-50); border-radius: var(--radius-sm);
}
.sk .blog-actions { flex-wrap: wrap; }
.sk .blog-like-btn { transition: transform .15s; }
.sk .blog-like-btn:hover:not(:disabled) { transform: translateY(-2px) scale(1.04); }
.sk .blog-share-btn {
    font: 400 1.1rem var(--font-display); padding: 9px 20px; border-radius: 14px; border: 0; cursor: pointer; color: #fff;
    background: linear-gradient(180deg, #6cc4ff, var(--sky-500)); box-shadow: 0 4px 0 var(--sky-700);
    transition: transform .15s;
}
.sk .blog-share-btn:hover { transform: translateY(-2px); }
.sk .blog-share-btn:active { transform: translateY(4px); box-shadow: none; }
.sk .blog-actions-hint { color: var(--ink-soft); font-weight: 500; }

.sk .blog-comments-card, .sk .blog-related { margin-bottom: 28px; }
.sk .blog-comments-card {
    background: #fff; border-radius: var(--radius-lg); padding: 28px 30px; color: var(--ink);
    border: 3px solid var(--sky-100); box-shadow: 0 8px 0 var(--sky-100), 0 24px 44px rgba(21, 60, 130, .14);
}
.sk .blog-comments-card h2, .sk .blog-related h2 { font: 400 1.6rem var(--font-display); color: var(--sky-900); margin: 0 0 16px; }
.sk .blog-comments-count {
    display: inline-block; min-width: 30px; text-align: center; padding: 0 9px; border-radius: 999px;
    background: var(--sky-100); color: var(--sky-700); font-size: 1.05rem; vertical-align: middle;
}
.sk .blog-comment-form { margin-bottom: 20px; }
.sk .blog-comment-form.is-locked { background: var(--sky-50); border: 3px dashed var(--sky-300); border-radius: var(--radius-sm); padding: 14px 18px; }
.sk .blog-comment-form.is-locked p { margin: 0; }
.sk .blog-comment-form.is-locked a { color: var(--sky-700); font-weight: 700; }
.sk .blog-comment-form textarea {
    width: 100%; resize: vertical; min-height: 76px; font: 500 1rem var(--font-body); color: var(--ink);
    padding: 12px 16px; border-radius: var(--radius-sm); background: var(--sky-50); border: 3px solid var(--sky-100); outline: 0;
    transition: border-color .2s, box-shadow .2s;
}
.sk .blog-comment-form textarea:focus { border-color: var(--sky-500); box-shadow: 0 0 0 4px rgba(46, 155, 255, .18); }
.sk .blog-comment-row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.sk .blog-comment-row .btn { margin-bottom: var(--ledge); }
.sk .blog-comment-counter { font-weight: 600; color: var(--ink-soft); font-size: .9rem; }
.sk .blog-comment-note { margin: 6px 0 0; min-height: 1.4em; font-weight: 600; color: var(--sky-700); }
.sk .blog-comments-list { display: flex; flex-direction: column; gap: 12px; }
.sk .blog-comments-empty { text-align: center; color: var(--ink-soft); padding: 14px 0; margin: 0; }
.sk .blog-comment {
    display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px;
    background: var(--sky-50); border: 2px solid var(--sky-100); border-radius: var(--radius-sm);
}
.sk .blog-comment + .blog-comment { margin-top: 0; }
.sk .blog-comment.admin { background: #f6f1ff; border-color: var(--violet-300); }
.sk .blog-comment-avatar {
    flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
    font: 400 1.2rem var(--font-display); color: #fff;
    background: linear-gradient(180deg, #6cc4ff, var(--sky-500)); box-shadow: 0 3px 0 var(--sky-700);
}
.sk .blog-comment.admin .blog-comment-avatar { background: linear-gradient(180deg, #a98aff, var(--violet-500)); box-shadow: 0 3px 0 var(--violet-700); }
.sk .blog-comment-main { flex: 1; min-width: 0; }
.sk .blog-comment-header { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin-bottom: 2px; }
.sk .blog-comment-name { font-weight: 700; color: var(--sky-900); }
.sk .blog-comment-badge {
    font-size: .75rem; padding: 1px 8px; border-radius: 999px; color: #fff; background: var(--violet-500); margin-inline-start: 4px;
}
.sk .blog-comment-date { font-size: .82rem; color: var(--ink-soft); }
.sk .blog-comment-text { overflow-wrap: anywhere; line-height: 1.55; }

.sk .blog-related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.sk .blog-related-item {
    display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink);
    background: #fff; border-radius: var(--radius-md); overflow: hidden; padding-bottom: 14px;
    border: 3px solid #fff; box-shadow: 0 6px 0 var(--sky-300), 0 16px 28px rgba(21, 60, 130, .12);
    transition: transform .2s cubic-bezier(.2, 1.4, .4, 1), box-shadow .2s;
}
.sk .blog-related-item:hover { transform: translateY(-6px); box-shadow: 0 12px 0 var(--sky-300), 0 24px 34px rgba(21, 60, 130, .18); }
.sk .blog-related-item img, .sk .blog-related-ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.sk .blog-related-ph { display: grid; place-items: center; font-size: 2.4rem; background: linear-gradient(135deg, var(--sky-300), var(--violet-300)); }
.sk .blog-related-title { font: 400 1.1rem/1.3 var(--font-display); color: var(--sky-900); padding: 8px 14px 0; }
.sk .blog-related-meta { font-size: .85rem; color: var(--ink-soft); padding: 0 14px; }

@media (max-width: 600px) {
    .sk .blog-comments-card { padding: 20px 16px; }
    .sk .blog-toolbar { padding: 10px; }
    .sk .blog-sort { width: 100%; }
    .sk .blog-chip { flex: 1; padding-inline: 8px; text-align: center; font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
    .sk .blog-card, .sk .blog-skeleton i { animation: none; }
    .sk .blog-card-media .blog-card-img { transition: none; }
}

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

/* ניהול תגובות: עריכה ומחיקה של תגובה */
.sk .blog-comment-editor { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.sk .blog-comment-editor textarea { width: 100%; border-radius: var(--radius-sm); border: 2px solid var(--sky-300); padding: 10px 12px; font: inherit; resize: vertical; }
.sk .blog-comment-editor small { color: var(--ink-soft); align-self: flex-end; }
.sk .blog-comment-editor .blog-comment-row { justify-content: flex-start; gap: 8px; }
.sk .blog-comment-action { padding: 6px 12px; font-size: .9rem; cursor: pointer; border: 0; border-radius: 12px; background: var(--sky-100); color: var(--sky-700); font-weight: 700; }
.sk .blog-comment-action:hover { background: var(--sky-300); color: #fff; }
.sk .blog-comment-action:disabled { opacity: .5; cursor: not-allowed; }
