/* ============================================================
   מכללת חינוך 360 — עיצוב משותף לכל עמודי האתר
   ============================================================ */

:root{
  --ink:#2a2450;          /* כותרות */
  --body:#474b60;         /* טקסט */
  --muted:#7a7f92;        /* טקסט משני */
  --purple:#7b5fc4;
  --purple-lt:#9a82d8;
  --lilac:#bba9e6;
  --blue:#7ab8d2;
  --mint:#7cf3d8;
  --dark:#33305a;
  --cream:#f1ecfa;
  --line:#ddd4ee;
  --radius:24px;
  --shadow:0 10px 30px rgba(51,48,90,.06);
  --shadow-lg:0 22px 50px rgba(51,48,90,.10);
  --wrap:1180px;
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  background:var(--cream);color:var(--body);
  font-family:'Rubik','Heebo',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size:17.5px;line-height:1.75;-webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--purple);text-decoration:none}
a:hover{text-decoration:underline}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 clamp(20px,5vw,48px)}
.narrow{max-width:820px}

h1,h2,h3,h4{color:var(--ink);line-height:1.2;letter-spacing:-.02em}
h1{font-size:clamp(30px,4.6vw,52px);font-weight:900}
h2{font-size:clamp(26px,3.4vw,42px);font-weight:900}
h3{font-size:clamp(20px,2.2vw,26px);font-weight:800;letter-spacing:-.01em}
h4{font-size:18px;font-weight:700;letter-spacing:0}
p{margin-bottom:16px}
p:last-child{margin-bottom:0}
strong{color:var(--ink);font-weight:700}

/* ---------- accessibility ---------- */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,
textarea:focus-visible,summary:focus-visible,video:focus-visible{
  outline:3px solid var(--purple);outline-offset:3px;border-radius:6px
}
.skip-link{position:absolute;right:-9999px;top:12px;z-index:9999;background:var(--dark);
  color:#fff;padding:12px 20px;border-radius:10px;font-weight:700}
.skip-link:focus{right:16px}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;
  transition-duration:.001ms!important;scroll-behavior:auto!important}
}

/* ---------- header ---------- */
.site-header{position:sticky;top:0;z-index:60;background:rgba(241,236,250,.92);
  backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.site-header .bar{display:flex;align-items:center;justify-content:space-between;
  gap:20px;padding-top:14px;padding-bottom:14px}
.site-header img{height:44px;width:auto}
.nav{display:flex;align-items:center;gap:clamp(14px,2vw,28px);list-style:none}
.nav a{font-size:15.5px;font-weight:500;color:#3b3560}
.nav a:hover,.nav a[aria-current="page"]{color:var(--purple);text-decoration:none}
.nav a[aria-current="page"]{font-weight:700}
.nav-toggle{display:none;background:none;border:0;font-size:26px;color:var(--ink);cursor:pointer;line-height:1}
@media (max-width:900px){
  .nav{position:fixed;inset:64px 0 auto 0;flex-direction:column;align-items:stretch;gap:0;
    background:var(--cream);border-bottom:1px solid var(--line);padding:8px 0 16px;
    box-shadow:var(--shadow);display:none}
  .nav.open{display:flex}
  .nav li{padding:0 clamp(20px,5vw,48px)}
  .nav a{display:block;padding:13px 0;border-bottom:1px solid var(--line);font-size:17px}
  .nav-toggle{display:block}
  .site-header .cta-sm{display:none}
}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;
  padding:15px 26px;border-radius:999px;font-weight:700;font-size:16px;
  border:0;cursor:pointer;transition:transform .2s,box-shadow .2s;text-align:center}
.btn:hover{text-decoration:none;transform:translateY(-2px)}
.btn-primary{background:linear-gradient(135deg,var(--purple-lt),var(--purple));color:#fff;
  box-shadow:0 14px 30px rgba(111,34,214,.30)}
.btn-primary:hover{color:#fff}
.btn-ghost{background:#fff;color:var(--ink);border:1.5px solid #cfc3e8}
.btn-ghost:hover{border-color:var(--ink);color:var(--ink)}
.btn-wa{background:#25a35a;color:#fff}
.btn-wa:hover{color:#fff}
.cta-sm{padding:11px 20px;font-size:15px}

/* ---------- sections ---------- */
section{padding:clamp(52px,6.5vw,92px) 0}
.sec-white{background:#e9e2f6;border-top:1px solid #ded5f0;border-bottom:1px solid #ded5f0}
.sec-dark{background:linear-gradient(135deg,var(--dark),#3b2a72 55%,#245b82);color:#fff}
.sec-dark h2,.sec-dark h3{color:#fff}
.sec-head{max-width:720px;margin:0 auto clamp(32px,4vw,48px);text-align:center}
.sec-head p{color:var(--muted);font-size:17.5px;margin-top:14px}
.sec-dark .sec-head p{color:rgba(255,255,255,.78)}
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;
  letter-spacing:.04em;color:var(--purple);background:rgba(166,97,248,.10);
  padding:6px 14px;border-radius:999px;margin-bottom:16px}
.sec-dark .eyebrow{color:var(--mint);background:rgba(124,243,216,.12)}
.dot{width:7px;height:7px;border-radius:50%;background:currentColor}

/* ---------- grid + cards ---------- */
.grid{display:grid;gap:20px}
.g2{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr))}
.g3{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))}
.g4{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:clamp(22px,3vw,32px);box-shadow:var(--shadow)}
.card-accent{background:linear-gradient(160deg,#f7f1ff,#fff 60%);border-color:#e6d8fb;
  box-shadow:0 20px 46px rgba(111,34,214,.10)}
.num{font-size:13px;font-weight:800;letter-spacing:.06em;color:var(--purple);
  background:rgba(166,97,248,.12);width:38px;height:38px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;margin-bottom:16px}

/* ---------- lists ---------- */
.ticks{list-style:none;display:flex;flex-direction:column;gap:12px}
.ticks li{display:flex;gap:11px;align-items:flex-start;font-size:16.5px;line-height:1.6}
.ticks li::before{content:"✓";flex-shrink:0;width:23px;height:23px;border-radius:50%;
  background:linear-gradient(135deg,var(--lilac),var(--blue));color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:800;margin-top:3px}
.crosses{list-style:none;display:flex;flex-direction:column;gap:12px}
.crosses li{display:flex;gap:11px;align-items:flex-start;font-size:16.5px;line-height:1.6;color:var(--muted)}
.crosses li::before{content:"×";flex-shrink:0;width:23px;height:23px;border-radius:50%;
  background:#f1ebe2;color:#6d6579;display:flex;align-items:center;justify-content:center;
  font-size:14px;font-weight:700;margin-top:3px}

/* ---------- stats ---------- */
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));
  gap:clamp(20px,3vw,36px)}
.stats b{display:block;font-size:clamp(22px,2.6vw,30px);font-weight:900;color:var(--ink);letter-spacing:-.01em}
.stats span{font-size:14.5px;color:var(--muted);line-height:1.5}
.sec-dark .stats b{background:linear-gradient(120deg,#c9a3fb,#7cd7f3);-webkit-background-clip:text;
  background-clip:text;color:transparent}
.sec-dark .stats span{color:rgba(255,255,255,.74)}

/* ---------- quote ---------- */
.quote{background:#fff;border-right:3px solid var(--lilac);border-radius:8px 18px 18px 8px;
  padding:22px 24px;box-shadow:var(--shadow);font-size:16.5px;line-height:1.75;
  color:#3b3560;font-weight:500}

/* ---------- people ---------- */
.person{text-align:center}
.person img{width:112px;height:112px;border-radius:50%;object-fit:cover;
  margin:0 auto 16px;border:4px solid #fff;box-shadow:var(--shadow)}
.person h4{margin-bottom:5px}
.person p{font-size:14.5px;color:var(--muted);line-height:1.55}

/* ---------- table ---------- */
.cmp{width:100%;border-collapse:collapse;font-size:16px;background:#fff;
  border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.cmp th,.cmp td{text-align:right;padding:15px 18px;border-bottom:1px solid var(--line);vertical-align:top}
.cmp thead th{background:#f5f1ea;color:var(--ink);font-weight:800;font-size:15px}
.cmp tbody tr:last-child td{border-bottom:0}
.cmp .yes{color:var(--ink);font-weight:600}
.cmp .no{color:var(--muted)}
.scroll-x{overflow-x:auto;-webkit-overflow-scrolling:touch}

/* ---------- faq ---------- */
.faq details{background:#fff;border:1px solid var(--line);border-radius:16px;
  padding:4px 22px;margin-bottom:12px;box-shadow:var(--shadow)}
.faq summary{list-style:none;cursor:pointer;padding:18px 0;font-weight:700;
  color:var(--ink);font-size:17.5px;display:flex;justify-content:space-between;
  align-items:center;gap:16px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:24px;font-weight:400;color:var(--purple);
  transition:transform .2s;flex-shrink:0}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq .ans{padding:0 0 20px;color:var(--body);font-size:16.5px;line-height:1.75}

/* ---------- form ---------- */
.field{display:flex;flex-direction:column;gap:7px;margin-bottom:16px}
.field label{font-size:13.5px;font-weight:600;color:#3f4457}
.field input,.field select,.field textarea{padding:13px 15px;border:1.5px solid #e7e0d5;
  border-radius:12px;font-size:16px;color:var(--ink);background:#fdfcfa;
  font-family:inherit;outline:none;width:100%}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--purple-lt)}
.field textarea{min-height:96px;resize:vertical}
.hp{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
.form-note{font-size:13px;color:var(--muted);text-align:center;margin-top:14px;line-height:1.5}
.sent{padding:26px 22px;text-align:center;background:rgba(111,34,214,.07);
  border:1px solid #e6d8fb;border-radius:16px;color:var(--ink);font-size:18px;font-weight:600}

/* ---------- contact tiles ---------- */
.tiles{display:flex;flex-direction:column;gap:12px}
.tile{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);
  border-radius:16px;padding:15px 18px;transition:border-color .2s}
.tile:hover{border-color:var(--purple);text-decoration:none}
.tile .ic{flex-shrink:0;width:40px;height:40px;border-radius:12px;background:rgba(166,97,248,.12);
  display:flex;align-items:center;justify-content:center;font-size:17px}
.tile b{display:block;font-size:14px;color:var(--ink)}
.tile span{font-size:15px;color:#5b6276}

/* ---------- articles ---------- */
.posts{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:22px}
.post-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:26px 24px;box-shadow:var(--shadow);display:flex;flex-direction:column;
  transition:transform .2s,box-shadow .2s}
.post-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg);text-decoration:none}
.post-card .tag{font-size:12.5px;font-weight:700;letter-spacing:.03em;color:var(--purple);
  background:rgba(166,97,248,.10);padding:5px 12px;border-radius:999px;align-self:flex-start;margin-bottom:14px}
.post-card h3{font-size:20px;margin-bottom:10px}
.post-card p{font-size:15.5px;color:var(--muted);line-height:1.6;flex:1}
.post-card time{font-size:13.5px;color:var(--muted);margin-top:16px}
.post-body{max-width:760px;margin:0 auto}
.post-body h2{font-size:clamp(22px,2.6vw,30px);margin:40px 0 14px}
.post-body h3{font-size:20px;margin:28px 0 10px}
.post-body ul,.post-body ol{margin:0 0 18px;padding-right:22px}
.post-body li{margin-bottom:9px}
.empty{text-align:center;padding:60px 20px;color:var(--muted)}

/* ---------- footer ---------- */
.site-footer{background:var(--dark);color:rgba(255,255,255,.72);
  padding:clamp(44px,5vw,64px) 0 26px;font-size:15px}
.site-footer img{height:52px;width:auto;margin-bottom:16px;filter:brightness(1.08)}
.site-footer h4{color:#fff;font-size:14px;letter-spacing:.04em;margin-bottom:14px}
.site-footer a{color:rgba(255,255,255,.62)}
.site-footer a:hover{color:#c9a3fb}
.foot-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));
  gap:clamp(24px,3vw,40px)}
.foot-grid ul{list-style:none;display:flex;flex-direction:column;gap:10px;font-size:14.5px}
.foot-bottom{margin-top:clamp(28px,3.5vw,44px);padding-top:22px;
  border-top:1px solid rgba(255,255,255,.12);display:flex;justify-content:space-between;
  gap:14px;flex-wrap:wrap;font-size:13px;color:rgba(255,255,255,.45)}
.foot-bottom span{display:flex;gap:16px;flex-wrap:wrap}

/* ---------- floating whatsapp ---------- */
.wa-float{position:fixed;bottom:22px;left:22px;z-index:70;width:56px;height:56px;
  border-radius:50%;background:#25a35a;color:#fff;display:flex;align-items:center;
  justify-content:center;font-size:26px;box-shadow:0 12px 28px rgba(37,163,90,.4)}
.wa-float:hover{color:#fff;text-decoration:none}

/* ============ הנפשות עדינות ============ */
@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}
@keyframes breathe{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@keyframes riseIn{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
.logo-c{animation:floaty 6s ease-in-out infinite}
.hero-c,.hero-web,.hero-p,.sec-dark{background-size:200% 200%;animation:breathe 14s ease-in-out infinite}
.reveal{opacity:0;transform:translateY(18px);transition:opacity .7s ease,transform .7s ease}
.reveal.in{opacity:1;transform:none}
.reveal:nth-child(2){transition-delay:.08s}.reveal:nth-child(3){transition-delay:.16s}.reveal:nth-child(4){transition-delay:.24s}.reveal:nth-child(5){transition-delay:.32s}.reveal:nth-child(6){transition-delay:.4s}
.card,.post-card,.tile{transition:transform .25s ease,box-shadow .25s ease}
.card:hover,.post-card:hover,.tile:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.btn{transition:transform .15s ease,box-shadow .15s ease,filter .15s ease}
.btn-primary:hover{filter:brightness(1.06);box-shadow:0 12px 28px rgba(123,95,196,.28)}
@media (prefers-reduced-motion:reduce){.logo-c,.hero-c,.hero-web,.hero-p,.sec-dark{animation:none}.reveal{opacity:1;transform:none;transition:none}}