/* ==========================================================
   EITAN TAZAZO - SCRATCH V11
   ONE HTML + ONE CSS + ONE JS
   No inherited CSS. No patches. No .

   VISUAL CONTRACT
   - white / cream / soft surfaces => dark text
   - blue / navy surfaces          => white text
   - light card                    => dark text
   - dark card                     => white text
   - all content images            => natural aspect ratio, no forced crop
   ========================================================== */

:root{
  --navy:#073b78;
  --deep:#052f57;
  --blue:#0f64a7;
  --cyan:#83daf5;
  --ink:#1d3348;
  --muted:#607180;
  --white:#ffffff;
  --cream:#f6f3ed;
  --soft:#f3f7fa;
  --line:#d9e3ea;
  --radius:22px;
  --shadow:0 16px 42px rgba(5,47,87,.08);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  direction:rtl;
  background:#fff;
  color:var(--ink);
  font-family:"Rubik","Heebo","Arial",sans-serif;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
body.menu-open{overflow:hidden}
img{max-width:100%}
a{color:inherit}
figure{margin:0}

.shell{width:min(1160px,calc(100% - 64px));margin-inline:auto}
.section{padding:76px 0}
.split{display:grid;grid-template-columns:1fr 1fr;gap:54px;align-items:center}
.section-head{max-width:780px;margin-bottom:38px}
.section-head.center{text-align:center;margin-inline:auto}
.copy.narrow{max-width:650px}
h1,h2,h3,p{margin-top:0}
h2{font-size:clamp(42px,4vw,58px);line-height:1.05;letter-spacing:-1.7px;margin-bottom:20px}
p{max-width:700px;font-size:18px;line-height:1.75;margin-bottom:16px}
.eyebrow{margin:0 0 12px;font-size:13px;font-weight:800;color:var(--blue)}
.eyebrow-light{color:#a8e6fb}
.text-link{font-weight:800;text-decoration:none;color:var(--blue)}
.text-link:hover{text-decoration:underline}
.small-note{font-size:15px;color:var(--muted)}

/* deterministic surface colors */
.surface-light{background:#fff;color:var(--ink)}
.surface-cream{background:var(--cream);color:var(--ink)}
.surface-soft{background:var(--soft);color:var(--ink)}
.surface-light h1,.surface-light h2,.surface-light h3,
.surface-cream h1,.surface-cream h2,.surface-cream h3,
.surface-soft h1,.surface-soft h2,.surface-soft h3{color:var(--deep)}
.surface-light p,.surface-cream p,.surface-soft p{color:var(--ink)}

.surface-dark{background:linear-gradient(135deg,var(--deep),var(--blue));color:#fff}
.surface-dark h1,.surface-dark h2,.surface-dark h3{color:#fff}
.surface-dark p,.surface-dark li,.surface-dark span{color:rgba(255,255,255,.92)}
.surface-dark strong{color:#fff}

/* header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.98);border-bottom:1px solid #edf1f4;backdrop-filter:blur(10px)}
.header-inner{width:min(1220px,calc(100% - 40px));min-height:96px;margin:auto;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:28px}
.brand img{display:block;width:166px;height:auto}
.main-nav{display:flex;justify-content:center;gap:22px;flex-wrap:wrap}
.main-nav a{text-decoration:none;color:#263f56;font-size:15px;font-weight:700;position:relative;padding:8px 0}
.main-nav a::after{content:"";position:absolute;right:0;bottom:2px;width:0;height:2px;background:var(--blue);transition:width .18s ease}
.main-nav a:hover::after{width:100%}
.header-actions{display:flex;align-items:center;gap:10px}
.lang{width:50px;height:42px;border:1px solid #ccd7e1;border-radius:999px;display:flex;align-items:center;justify-content:center;text-decoration:none;font-weight:800;color:var(--navy)}
.header-cta{height:44px;padding:0 20px;border-radius:999px;background:var(--blue);color:#fff;text-decoration:none;display:flex;align-items:center;font-size:14px;font-weight:800}
.menu-toggle{display:none}

/* hero */
.hero{display:grid;grid-template-columns:44% 56%;min-height:590px}
.hero-copy{display:flex;flex-direction:column;justify-content:center;padding:62px 56px}
.hero h1{font-size:clamp(54px,5vw,80px);line-height:.98;letter-spacing:-2.7px;margin-bottom:24px;color:#fff}
.hero h1 span{color:#8eddf8}
.hero-lead{font-size:20px;line-height:1.65;color:rgba(255,255,255,.92)}
.hero-photo{background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden}
.hero-photo img{width:100%;height:auto;display:block;object-fit:contain}
.cta-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.btn{min-height:46px;padding:0 20px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-size:14px;font-weight:800}
.btn-light{background:#fff;color:var(--navy)}
.btn-ghost{border:1px solid rgba(255,255,255,.65);color:#fff}

/* authority */
.authority{border-bottom:1px solid var(--line)}
.authority-inner{width:min(1160px,calc(100% - 64px));min-height:58px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.authority span{color:#2c465d;font-size:14px;font-weight:700}

/* images - never cropped */
.image img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;border-radius:var(--radius);box-shadow:var(--shadow)}
.story-image img{box-shadow:none}
.contact-image img{box-shadow:0 16px 42px rgba(0,0,0,.14)}

/* about */
.pullquote{font-size:25px;line-height:1.45;font-weight:800;color:var(--navy);border-right:4px solid var(--cyan);padding:10px 18px 10px 0;margin:18px 0 24px}

/* story */
.story-layout{display:grid;grid-template-columns:.78fr 1.22fr;gap:50px;align-items:center}
.journey{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-weight:800;color:var(--navy);margin-bottom:20px}
.journey i{width:24px;height:1px;background:var(--cyan)}
.questions{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}
.questions div{padding:11px 0;border-bottom:1px solid var(--line);font-weight:650}
blockquote{margin:24px 0 0;padding:20px 22px;background:var(--soft);border-radius:16px;color:var(--navy);font-size:23px;line-height:1.45;font-weight:750}
blockquote strong{color:var(--blue)}

/* mission */
.mission-heading{display:grid;grid-template-columns:1fr auto;gap:40px;align-items:end;margin-bottom:34px}
.mission-heading>div:first-child p{color:rgba(255,255,255,.88)}
.mission-number{text-align:center;padding:18px 26px;border:1px solid rgba(255,255,255,.2);border-radius:18px;background:rgba(255,255,255,.08)}
.mission-number strong{display:block;font-size:36px;color:#b7ebfc}
.mission-number span{font-size:14px;color:rgba(255,255,255,.82)}
.mission-copy{display:grid;grid-template-columns:1fr 1fr;gap:44px}
.mission-copy p{color:rgba(255,255,255,.92)}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:30px 0}
.stats article{padding:19px;border:1px solid rgba(255,255,255,.2);border-radius:16px;background:rgba(255,255,255,.08)}
.stats strong{display:block;color:#b9ecfd;font-size:22px;margin-bottom:5px}
.stats span{color:rgba(255,255,255,.82);font-size:13px}
.mission-quote{font-size:clamp(27px,3vw,40px);line-height:1.3;font-weight:800;max-width:850px;margin-bottom:0}
.mission-quote strong{display:block;color:#a9e8fb}

/* model */
.model-flow{display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.model-flow article{padding:22px 20px;min-height:170px;border-left:1px solid var(--line)}
.model-flow article:last-child{border-left:0}
.model-flow b{font-size:12px;color:var(--cyan)}
.model-flow h3{font-size:21px;margin:28px 0 7px;color:var(--navy)}
.model-flow p{font-size:14px;line-height:1.55;margin-bottom:0}
.model-line{text-align:center;font-size:29px;font-weight:700;color:var(--navy);margin:28px auto 0}
.model-line strong{color:var(--blue)}

/* proof */
.field-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px}
.field-stack{display:grid;gap:18px}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.chips.no-top{margin-top:0}
.chips span{padding:9px 13px;border-radius:999px;border:1px solid #ccd8e2;background:#fff;color:#34516b;font-size:13.5px;font-weight:700}

/* programs */
.program-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.program{border-radius:22px;padding:30px;box-shadow:var(--shadow)}
.program h3{font-size:32px;line-height:1.13;margin:0 0 10px}
.program ul{padding-right:20px;margin:18px 0}
.program li{margin:7px 0;line-height:1.55}
.program a{font-weight:800;text-decoration:none}
.program-code{display:inline-flex;padding:7px 12px;border-radius:999px;font-size:20px;font-weight:850;margin-bottom:18px}
.program-audience{font-size:15px}

.light-card{background:#fff;color:var(--ink);border:1px solid var(--line)}
.light-card h3,.light-card p,.light-card li,.light-card strong,.light-card span{color:var(--ink)}
.light-card h3{color:var(--navy)}
.light-card .program-code{background:#e9f5fb;color:var(--blue)}
.light-card a{color:var(--blue)}

.dark-card{background:var(--deep);color:#fff}
.dark-card h3,.dark-card p,.dark-card li,.dark-card strong,.dark-card span{color:#fff}
.dark-card .program-code{background:rgba(255,255,255,.12);color:#fff}
.dark-card a{color:#a9dcf1}

.program-note{margin-top:18px;padding:16px 20px;border-radius:14px;background:var(--cream);border:1px solid #ebe6dc;display:flex;justify-content:space-between;gap:20px;color:var(--ink)}
.program-note strong,.program-note span{color:var(--ink)}

/* footer */
.site-footer{background:#041f38;color:#fff;padding:34px 0 20px}
.footer-inner,.footer-bottom{width:min(1160px,calc(100% - 64px));margin-inline:auto}
.footer-inner{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:center}
.footer-brand img{display:block;width:150px;height:auto;margin-bottom:10px}
.footer-brand p{font-size:14px;color:rgba(255,255,255,.75);margin-bottom:0}
.footer-nav{display:flex;flex-wrap:wrap;gap:10px 18px}
.footer-nav a{color:#fff;text-decoration:none;font-size:13.5px;font-weight:650}
.footer-bottom{margin-top:22px;padding-top:14px;border-top:1px solid rgba(255,255,255,.12);display:flex;justify-content:space-between;gap:20px;color:rgba(255,255,255,.6);font-size:12.5px}

/* responsive */
@media(max-width:1050px){
  .header-inner{grid-template-columns:auto 1fr auto;min-height:84px}
  .menu-toggle{display:inline-flex;justify-self:center;border:1px solid #ccd7e1;background:#fff;border-radius:999px;padding:10px 16px;font-weight:800;color:var(--navy)}
  .main-nav{display:none;position:fixed;top:84px;right:16px;left:16px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);padding:18px;flex-direction:column;align-items:stretch}
  .main-nav.open{display:flex}
  .main-nav a{padding:10px}
  .header-cta{display:none}

  .hero{grid-template-columns:1fr;min-height:auto}
  .hero-copy{order:2;padding:42px 28px}
  .hero-photo{order:1}
  .hero-photo img{max-height:620px}
  .split,.story-layout,.mission-copy,.field-grid{grid-template-columns:1fr}
  .mission-heading{grid-template-columns:1fr}
  .model-flow{grid-template-columns:1fr 1fr;border:0;gap:10px}
  .model-flow article{border:1px solid var(--line);border-radius:16px;background:#fff}
  .stats{grid-template-columns:1fr 1fr}
}

@media(max-width:680px){
  .shell,.authority-inner,.footer-inner,.footer-bottom{width:min(100% - 32px,1160px)}
  .section{padding:48px 0}
  .brand img{width:135px}
  .header-inner{width:min(100% - 24px,1220px)}
  .header-actions{gap:7px}
  .lang{width:44px;height:38px}
  .hero h1{font-size:44px}
  .hero-copy{padding:36px 22px}
  h2{font-size:36px}
  p{font-size:16.5px}
  .questions,.model-flow,.stats,.program-grid,.footer-inner{grid-template-columns:1fr}
  .program-note,.footer-bottom{flex-direction:column}
}

/* print-friendly */
@media print{
  .site-header,.menu-toggle,.cta-row,.footer-nav{display:none}
  .section{padding:34px 0}
  .surface-dark{background:#fff;color:#000}
  .surface-dark h1,.surface-dark h2,.surface-dark h3,
  .surface-dark p,.surface-dark span,.surface-dark strong,.surface-dark li{color:#000}
  .image img{box-shadow:none}
}


/* accessibility */
.skip-link{position:fixed;top:8px;right:8px;z-index:1000;transform:translateY(-150%);background:#fff;color:#052f57;border:2px solid #052f57;border-radius:8px;padding:10px 14px;font-weight:800;text-decoration:none}
.skip-link:focus{transform:translateY(0)}
.accessibility-tools{position:fixed;right:18px;bottom:18px;z-index:200}
.accessibility-toggle{display:flex;align-items:center;gap:7px;border:0;border-radius:999px;background:#073b78;color:#fff;padding:11px 15px;font:inherit;font-weight:800;box-shadow:0 8px 24px rgba(5,47,87,.24);cursor:pointer}
.accessibility-toggle span[aria-hidden="true"]{font-size:20px;line-height:1}
.accessibility-panel{position:absolute;right:0;bottom:54px;width:230px;padding:14px;background:#fff;color:#1d3348;border:1px solid #ccd8e2;border-radius:16px;box-shadow:0 16px 42px rgba(5,47,87,.16)}
.accessibility-panel strong{display:block;margin-bottom:9px;color:#052f57}
.accessibility-panel button{width:100%;margin:3px 0;padding:9px 10px;border:1px solid #d9e3ea;border-radius:9px;background:#fff;color:#1d3348;font:inherit;text-align:right;cursor:pointer}
.accessibility-panel button:hover,.accessibility-panel button:focus-visible{background:#f3f7fa;outline:2px solid #0f64a7;outline-offset:1px}
html.a11y-font-up{font-size:112.5%}
html.a11y-font-down{font-size:90%}
body.a11y-high-contrast{filter:contrast(1.25)}
body.a11y-high-contrast .surface-dark,body.a11y-high-contrast .site-footer{background:#000!important}
body.a11y-underline-links a{text-decoration:underline!important;text-underline-offset:3px}
body.a11y-grayscale{filter:grayscale(1)}
body.a11y-grayscale.a11y-high-contrast{filter:grayscale(1) contrast(1.25)}
:focus-visible{outline:3px solid #0f64a7;outline-offset:3px}
@media(max-width:680px){.accessibility-tools{right:10px;bottom:10px}.accessibility-toggle{padding:10px 12px}.accessibility-panel{width:210px}}
@media print{.accessibility-tools,.skip-link{display:none!important}}


/* FAQ / SEO content */
.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.faq-grid details{border:1px solid var(--line);border-radius:16px;background:#fff;padding:18px 20px}
.faq-grid summary{cursor:pointer;font-weight:800;color:var(--navy);font-size:18px}
.faq-grid details p{margin:12px 0 0;font-size:16px;line-height:1.7;color:var(--ink)}
@media(max-width:680px){.faq-grid{grid-template-columns:1fr}}
