/* ============================================================
   olim.css — השפה העיצובית של אתר גאולים, לעמודי "עולים לכיתה א׳"
   ------------------------------------------------------------
   נוצר אוטומטית על ידי _extract_css.py מתוך ../index.html.
   מכיל את הכרום המשותף בלבד: טוקני המותג, הטיפוגרפיה, הניווט,
   הפסיפס והפוטר.

   אין לערוך כאן ידנית. מקור האמת הוא index.html שבשורש,
   והתיקונים הנקודתיים יושבים בתחתית _extract_css.py
   ============================================================ */

:root {
            /* גובה ההדר הקבוע. ממנו נגזרים הריפוד של הגוף
               והמרווח של עוגני הגלילה, כדי שלא יסטו זה מזה */
            --nav-h: 88px;
            /* ===== ערכי המותג הרשמיים, מתוך ספר המותג של גאולים (31.10.2026) ===== */
            --navy: #123F69;          /* כחול עמוק */
            --blue-jlm: #196F9C;      /* כחול ירושלמי */
            --sky: #70A9CA;           /* תכלת */
            --olive: #7A8952;         /* זית */
            --stone: #D8BB7C;         /* אבן */
            --cream: #F8F6F0;         /* קרם */

            /* נגזרות עבודה */
            --navy-deep: #0C2C4A;
            --blue-mosaic: var(--navy);
            --sand: var(--stone);
            --gold: var(--stone);
            --gold-light: #ECDFC4;
            --white: #FFFFFF;
            --warm-white: var(--cream);
            --icon-bg: #EEEAE1;
            --text: var(--navy);
            --text-light: #5F6B78;
            --text-muted: #8B939E;
            --border: rgba(18, 63, 105, 0.12);
            --brand-shadow: 0 18px 46px rgba(18, 63, 105, 0.12);
        }

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

html, body {
            max-width: 100%;
            overflow-x: hidden;
        }

body {
            font-family: 'Assistant', sans-serif;
            background: var(--cream);
            color: var(--text);
            line-height: 1.85;
            font-size: 17px;
            padding-top: var(--nav-h);
        }

.nav-links a.active, .mobile-menu a.active { color: var(--gold); }

.footer-landscape-strip {
            height: 120px;
            margin: 6px auto 16px;
            opacity: 0.82;
        }

.footer-arch,
        .hero-divider-arch {
            animation: archSway 8s ease-in-out infinite;
        }

@keyframes labelLine {
            from { width: 0; }
            to { width: 32px; }
        }

.section-label::before {
            animation: labelLine 1s ease-out 0.3s both;
        }

@keyframes heroFloat {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-6px); }
        }

.brand-kicker {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            color: var(--olive);
            font-size: 12px;
            font-weight: 800;
            letter-spacing: 2px;
        }

.brand-kicker::before,
        .brand-kicker::after {
            content: '';
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--sand);
        }

.container { max-width: 1100px; margin: 0 auto; padding: 0 48px; position: relative; z-index: 1; }

section {
            padding: 72px 0;
            position: relative;
            overflow: hidden;
            background: var(--cream);
        }

#main section.bg-white { background: #FFFFFF; }

#main section.bg-cream { background: var(--cream); }

#main section + section { border-top: 0; }

section::before {
            content: '';
            position: absolute;
            top: 36px;
            left: max(24px, calc((100vw - 820px) / 2 - 70px));
            width: 118px;
            height: 118px;
            background: radial-gradient(circle, rgba(216,199,160,0.38) 0 3px, transparent 3.5px) 0 0 / 24px 24px;
            opacity: 0.65;
            pointer-events: none;
            display: none;
        }

section:nth-of-type(2n)::before {
            left: auto;
            right: max(24px, calc((100vw - 820px) / 2 - 70px));
            background: radial-gradient(circle, rgba(138,151,70,0.22) 0 3px, transparent 3.5px) 0 0 / 24px 24px;
        }

.arch-motif {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-bottom: 14px;
        }

.arch-motif svg { display: block; }

.mosaic-corner {
            position: absolute;
            opacity: 0.13;
            pointer-events: none;
            z-index: 0;
        }

.mosaic-corner.top-left  { top: -10px; left: -10px; transform: rotate(180deg); }

.mosaic-corner.top-right { top: -10px; right: -10px; transform: scaleX(-1) rotate(180deg); }

.mosaic-corner.bottom-left  { bottom: -10px; left: -10px; }

.mosaic-corner.bottom-right { bottom: -10px; right: -10px; transform: scaleX(-1); }

.arch-divider {
            display: flex;
            justify-content: center;
            align-items: flex-end;
            gap: 6px;
            margin: 20px auto 0;
        }

.arch-divider-piece {
            width: 14px;
            height: 9px;
            border-radius: 50% 50% 0 0 / 100% 100% 0 0;
            background: var(--sand);
            opacity: 0.5;
        }

.arch-divider-piece:nth-child(2) { background: var(--olive); width: 10px; height: 7px; opacity: 0.4; }

.arch-divider-piece:nth-child(3) { background: var(--navy); opacity: 0.25; }

.section-label {
            font-size: 12px; font-weight: 800; letter-spacing: 2px;
            color: var(--olive); margin-bottom: 14px; text-transform: uppercase;
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 8px;
        }

.section-label::before {
            content: '';
            display: block;
            width: 48px;
            height: 8px;
            flex-shrink: 0;
            background:
                radial-gradient(circle at 4px 4px, var(--navy) 3.5px, transparent 4px),
                radial-gradient(circle at 24px 4px, var(--olive) 3.5px, transparent 4px),
                radial-gradient(circle at 44px 4px, var(--sand) 3.5px, transparent 4px);
            background-repeat: no-repeat;
        }

h2 {
            font-family: 'Frank Ruhl Libre', serif;
            font-size: 34px; font-weight: 900;
            color: var(--navy); margin-bottom: 20px; line-height: 1.3;
        }

h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }

p { margin-bottom: 16px; color: var(--text-light); }

.lead-nowrap { max-width: none; }

.lead-nowrap span { display: inline-block; }

.lead { font-size: 19px; line-height: 2; color: var(--text); max-width: 760px; }

.icon-box {
            width: 70px; height: 70px;
            background: rgba(216,199,160,0.18);
            border: 1px solid rgba(216,199,160,0.42);
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            flex-shrink: 0;
            box-shadow: inset 0 0 0 10px rgba(255,255,255,0.34);
        }

.icon-box svg { width: 34px; height: 34px; stroke: var(--navy); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.icon-box-center { margin: 0 auto 20px; }

.icon-box-gold { background: rgba(216,199,160,0.16); }

.icon-box-gold svg { stroke: var(--gold); }

.icon-box-dark { background: rgba(255,255,255,0.08); }

.icon-box-dark svg { stroke: rgba(255,255,255,0.7); }

.leadership-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin-top: 40px;
        }

@media (max-width: 768px) {
    .leadership-grid { grid-template-columns: 1fr; }
}

footer {
            background:
                radial-gradient(circle at 84% 18%, rgba(138,151,70,0.10), transparent 22%),
                linear-gradient(180deg, #FFFFFF 0%, var(--cream) 100%);
            color: var(--text-muted); padding: 38px 24px 28px; text-align: center;
            position: relative;
            overflow: hidden;
            border-top: 1px solid rgba(216,199,160,0.34);
        }

.footer-arch { display:none; }

.footer-brand { font-family:'Frank Ruhl Libre','Noto Serif Hebrew',serif; font-size:26px; font-weight:900; color:var(--navy); margin-bottom:4px; }

.footer-tagline { font-size:12px; color:var(--olive); margin-bottom:10px; letter-spacing:1px; font-weight:700; }

.footer-nav {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 0;
            margin: 0 auto 26px;
            padding: 0;
            background: transparent;
            max-width: 880px;
        }

.footer-nav a {
            position: relative;
            color: var(--navy);
            font-size: 15px;
            font-weight: 600;
            text-decoration: none;
            padding: 7px 18px;
            white-space: nowrap;
            transition: color .2s ease;
        }

.footer-nav a:not(:last-child)::after {
            content: '';
            position: absolute;
            inset-inline-start: 0;
            top: 50%;
            width: 4px; height: 4px;
            margin-top: -2px;
            border-radius: 50%;
            background: var(--stone);
        }

.footer-nav a:hover { color: var(--blue-jlm); }

@media (max-width: 720px) {
    .footer-nav a { font-size: 13.5px; padding: 6px 12px; }
    .footer-nav a:not(:last-child)::after { width: 3px; height: 3px; margin-top: -1.5px; }
}

.footer-gold-line { display:none; }

.footer-info { font-size:11px; color:var(--text-muted); line-height:1.8; }

.footer-trail { height: 52px; margin: 0 auto 10px; }

body > nav {
            position: fixed;
            top: 0;
            left: 0;
            z-index: 100;
            background: var(--navy-deep);
            width: 100%;
            box-sizing: border-box;
        }

.nav-top {
            display: grid;
            grid-template-columns: auto 1fr auto;
            align-items: center;
            padding: 8px 48px 8px;
            gap: 0;
        }

.nav-navon-img {
            height: 86px;
            width: auto;
            flex-shrink: 0;
            opacity: 1;
            align-self: flex-end;
            margin-bottom: -14px;
        }

@media (max-width: 900px) {
    .nav-navon-img { height: 62px; margin-bottom: -10px; }
}

@media (max-width: 520px) {
    .nav-navon-img { height: 50px; margin-bottom: -8px; }
}

@media (max-width: 380px) {
    .nav-navon-img { height: 44px; margin-bottom: -7px; }
}

.nav-brand {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
        }

.nav-logo-wrap {
            flex-shrink: 0;
            background: rgba(255,255,255,0.92);
            border-radius: 50%;
            width: 64px;
            height: 64px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.35);
        }

.nav-logo {
            display: block;
            width: 58px;
            height: 58px;
            object-fit: contain;
        }

.nav-brand-text {
            display: flex;
            flex-direction: column;
            gap: 3px;
        }

.nav-brand-name {
            font-family: 'Frank Ruhl Libre', 'Noto Serif Hebrew', serif;
            font-size: 25px;
            font-weight: 900;
            color: #fff;
            line-height: 1.1;
            letter-spacing: 0.3px;
        }

.nav-brand-tagline {
            font-family: 'Assistant', sans-serif;
            font-size: 12.5px;
            font-weight: 600;
            color: var(--stone);
            letter-spacing: 1.6px;
            opacity: 1;
        }

.nav-links {
            display: flex;
            gap: 6px;
            list-style: none;
            justify-content: center;
        }

.nav-links a {
            font-size: 16px;
            font-weight: 600;
            color: rgba(255,255,255,0.92);
            text-decoration: none;
            padding: 9px 16px;
            border-radius: 22px;
            transition: all 0.2s;
            white-space: nowrap;
            letter-spacing: .01em;
        }

.nav-links a:hover { color: #fff; background: rgba(216,187,124,0.18); }

.nav-links a.active {
            color: var(--navy);
            background: var(--stone);
            font-weight: 700;
        }

.nav-cityline {
            display: none;
        }

.nav-deco { display: none; }

@media (max-width: 960px) {
    .nav-top { grid-template-columns: auto 1fr auto; }
    .nav-cityline { height: 32px; }
}

.hamburger {
            display: none;
            flex-direction: column;
            gap: 5px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 8px;
            -webkit-tap-highlight-color: transparent;
        }

.hamburger span {
            display: block;
            width: 22px;
            height: 2px;
            background: white;
            border-radius: 2px;
            transition: all 0.3s;
        }

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--gold); }

.hamburger.open span:nth-child(2) { opacity: 0; }

.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--gold); }

.mobile-menu {
            display: none;
            position: fixed;
            top: var(--nav-h);
            right: 0; left: 0;
            background: var(--navy-deep);
            border-bottom: 2px solid rgba(216,199,160,0.3);
            padding: 8px 0 12px;
            z-index: 99;
            box-shadow: 0 12px 32px rgba(0,0,0,0.3);
            animation: menuSlide 0.25s ease;
        }

.mobile-menu.open { display: block; }

.mobile-menu a {
            display: block;
            padding: 14px 24px;
            font-size: 16px;
            font-weight: 500;
            color: rgba(255,255,255,0.85);
            text-decoration: none;
            border-bottom: 1px solid rgba(255,255,255,0.06);
            transition: all 0.15s;
        }

.mobile-menu a:last-child { border-bottom: none; }

.mobile-menu a:active, .mobile-menu a.active { color: var(--gold); background: rgba(216,199,160,0.06); }

footer .footer-nav {
            position: static;
            top: auto;
            z-index: auto;
            height: auto;
            border: 0;
            box-shadow: none;
        }

@media (max-width: 900px) {
    .nav-links { display: none; }
    .hamburger { display: flex; order: -1; }
    .nav-top { grid-template-columns: auto 1fr; direction: ltr; }
    .nav-brand { order: 1; justify-self: end; direction: rtl; }
}

@media (max-width: 620px) {
    :root { --nav-h: 73px; }
    .nav-top {
                    grid-template-columns: auto auto 1fr;
                    padding: 6px 14px;
                    gap: 8px;
                    align-items: center;
                }
    .nav-brand { gap: 8px; align-items: center; }
    .nav-brand-name {
                    font-size: 18px;
                    line-height: 1.15;
                    white-space: nowrap;
                }
    .nav-brand-navon { font-size: 10.5px; line-height: 1.3; }
    .nav-brand-tagline {
                    font-size: 10px;
                    letter-spacing: .8px;
                    white-space: nowrap;
                }
    .nav-navon-img {
                    height: 46px;
                    margin-bottom: 0;
                    align-self: center;
                }
    .hamburger { padding: 6px; }
    .nav-cityline { height: 20px; }
}

@media (max-width: 380px) {
    :root { --nav-h: 50px; }
    .nav-top { padding: 5px 10px; gap: 6px; }
    .nav-brand-name { font-size: 16px; }
    .nav-navon-img { height: 40px; }
    .nav-brand-tagline { display: none; }
}

@media (max-width: 768px) {
    .footer-landscape-strip { height: 48px; transform: none; width: 100%; }
    h2 { font-size: 24px; }
    .lead { font-size: 16px; line-height: 1.85; }
    .container { padding: 0 16px; }
    section { padding: 32px 0; }
    .mobile-menu { max-height: calc(100vh - var(--nav-h)); overflow-y: auto; }
    .btn-sign { font-size: 17px; padding: 16px; }
    .section-label { font-size: 11px; letter-spacing: 1px; }
    .section-label::before { margin-left: 28px; }
    .icon-box { width: 48px; height: 48px; border-radius: 12px; }
    .icon-box svg { width: 22px; height: 22px; }
    .footer-nav { gap:5px; }
    .footer-brand { font-size:20px; }
    footer { padding: 32px 16px 20px; }
}

.btn-sign{width:100%;padding:16px;border:none;border-radius:60px;background:var(--navy);color:#fff;font-family:'Assistant',sans-serif;font-size:16px;font-weight:700;cursor:pointer;transition:all .3s;margin-top:8px}

.btn-sign:hover{background:var(--navy-deep);transform:translateY(-2px);box-shadow:0 8px 28px rgba(31,53,94,.18)}

.btn-sign:disabled{opacity:.5;cursor:not-allowed;transform:none}

@media print {
    body { font-size: 13px; }
}

body.splash-active {
            overflow: hidden;
        }

.lang-toggles {
            justify-self: end;
            display: flex;
            gap: 6px;
        }

.lang-toggle {
            display: inline-flex;
            align-items: center;
            padding: 6px 16px;
            border-radius: 60px;
            border: 1.5px solid rgba(216,199,160,0.45);
            color: var(--sand);
            font-family: 'Assistant', sans-serif;
            font-size: 13px;
            font-weight: 700;
            letter-spacing: 1px;
            text-decoration: none;
            transition: all 0.2s;
            white-space: nowrap;
        }

.lang-toggle:hover {
            background: rgba(216,199,160,0.15);
            border-color: var(--gold);
            color: #fff;
        }

@media (max-width: 1080px) {
    .nav-top { grid-template-columns: auto auto 1fr; }
    .lang-toggles { order: 0; justify-self: start; }
    .lang-toggle {
                    padding: 4px 6px;
                    font-size: 11.5px;
                    font-weight: 600;
                    border: 0;
                    letter-spacing: .6px;
                    color: rgba(216,187,124,.75);
                }
    .lang-toggle:hover { background: transparent; color: var(--stone); }
}

.btn-register {
            display: inline-block;
            padding: 13px 30px;
            border-radius: 60px;
            font-size: 15px;
            font-weight: 700;
            text-decoration: none;
            background: var(--blue-jlm);
            color: #fff;
            box-shadow: 0 10px 26px rgba(25,111,156,.28);
            transition: transform .18s ease, box-shadow .18s ease;
        }

.btn-register:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(25,111,156,.36); }

.btn-mag {
            display: inline-block;
            padding: 13px 30px;
            border-radius: 60px;
            font-size: 15px;
            font-weight: 700;
            text-decoration: none;
            background: transparent;
            color: var(--navy);
            border: 2px solid var(--stone);
            transition: transform .18s ease, background .18s ease;
        }

.btn-mag:hover { background: var(--stone); transform: translateY(-2px); }

.btn-navy, .btn-sun, .btn-olive {
            display: inline-block;
            padding: 13px 28px;
            border-radius: 60px;
            font-size: 15px;
            font-weight: 700;
            text-decoration: none;
            transition: transform .18s ease, box-shadow .18s ease;
        }

.btn-navy  { background: var(--navy); color: #fff; }

.btn-sun   { background: var(--stone); color: var(--navy-deep); }

.btn-olive { background: var(--olive); color: #fff; }

.btn-navy:hover, .btn-sun:hover, .btn-olive:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 28px rgba(31,53,94,.22);
        }

.nav-brand-navon {
            display: block;
            font-size: 11.5px;
            font-weight: 600;
            color: var(--gold);
            letter-spacing: .02em;
            line-height: 1.35;
        }

@media (max-width: 900px) {
    .nav-navon { height: 36px; }
}

.mosaic-topborder {
            width: 100%;
            line-height: 0;
            background: var(--cream);
        }

.mosaic-topborder img {
            width: 100%;
            height: auto;
            display: block;
        }

@media (max-width: 720px) {
    .mosaic-topborder { overflow: hidden; }
    .mosaic-topborder img {
                    width: 230%;
                    margin-inline-start: -65%;
                }
}

.skip-link {
            position: absolute;
            inset-inline-start: -9999px;
            top: 0;
            background: var(--navy);
            color: #fff;
            padding: 12px 22px;
            z-index: 2000;
            border-radius: 0 0 10px 10px;
            font-weight: 600;
        }

.skip-link:focus { inset-inline-start: 50%; transform: translateX(-50%); }

.btn-primary, .btn-secondary {
            display: inline-block;
            padding: 13px 30px;
            border-radius: 60px;
            font-size: 15px;
            font-weight: 700;
            text-decoration: none;
            transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
            border: 1.5px solid transparent;
        }

.btn-primary { background: var(--navy); color: #fff; }

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(31,53,94,.25); }

.btn-secondary { background: transparent; color: var(--navy); border-color: rgba(31,53,94,.28); }

.btn-secondary:hover { background: rgba(31,53,94,.06); transform: translateY(-2px); }

.to-top {
            position: fixed;
            bottom: 26px;
            inset-inline-start: 26px;
            z-index: 950;
            width: 52px;
            height: 52px;
            border: 0;
            border-radius: 50%;
            background: var(--navy);
            color: #fff;
            font-size: 24px;
            line-height: 1;
            cursor: pointer;
            box-shadow: 0 10px 28px rgba(18,63,105,.34);
            opacity: 0;
            transform: translateY(12px);
            transition: opacity .25s ease, transform .25s ease, background .2s ease;
        }

.to-top[hidden] { display: none; }

.to-top.show { opacity: 1; transform: none; }

.to-top:hover { background: var(--blue-jlm); }

@media (max-width: 720px) {
    .to-top { width: 46px; height: 46px; bottom: 18px; inset-inline-start: 18px; font-size: 21px; }
}

.story-thread {
            position: fixed;
            top: 0;
            inset-inline-end: 0;
            width: 7px;
            height: 100vh;
            z-index: 900;
            background: rgba(18,63,105,.07);
            pointer-events: none;
        }

.story-thread-fill {
            width: 100%;
            height: 0;
            background: linear-gradient(180deg,
                var(--navy)     0%,
                var(--blue-jlm) 28%,
                var(--sky)      52%,
                var(--olive)    76%,
                var(--stone)    100%);
            transition: height .08s linear;
        }

@media (max-width: 720px) {
    .story-thread { width: 4px; }
}

@media (prefers-reduced-motion: reduce) {
    .story-thread { display: none; }
}

.lead-form-wrap {
            margin: 44px auto 0;
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 22px;
            padding: 34px 32px;
            box-shadow: var(--brand-shadow);
            max-width: 720px;
            text-align: center;
        }

.lead-form-wrap form { text-align: start; }

.lead-form-wrap h3 {
            font-family: 'Frank Ruhl Libre', 'Noto Serif Hebrew', serif;
            font-size: clamp(22px, 2.6vw, 30px);
            color: var(--navy);
            margin: 0 0 8px;
        }

.lead-form-intro { color: var(--text-light); margin: 0 0 24px; font-size: 15.5px; }

section > .container > h2 {
            font-family: 'Frank Ruhl Libre', 'Noto Serif Hebrew', serif;
            font-size: clamp(30px, 4.4vw, 50px);
            line-height: 1.26;
            color: var(--navy);
            margin-bottom: 20px;
        }

body.roster-open .enroll-badge { opacity: .1; pointer-events: none; }

.mosaic-bottom img { transform: scaleY(-1); }

.footer-slogan .ltr-char {
            display: inline-block;
            opacity: 0;
            transform: translateY(10px);
            transition: opacity .42s ease, transform .42s ease;
        }

.footer-slogan.revealed .ltr-char { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .footer-slogan .ltr-char { opacity: 1; transform: none; transition: none; }
}

.footer-slogan {
            display: block;
            font-family: 'Frank Ruhl Libre', 'Noto Serif Hebrew', serif;
            font-size: clamp(26px, 3.4vw, 40px);
            font-weight: 900;
            color: var(--stone);
            letter-spacing: .02em;
            line-height: 1.25;
            margin-bottom: 18px;
        }

.footer-logo { margin-bottom: 20px; }

.footer-logo img { width: 140px; height: auto; }

@media (max-width: 720px) {
    .btn-primary, .btn-secondary { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
