/* =========================================================
   תקומה לישראל – דף הבית (גרסה 2)
   ========================================================= */

@font-face { font-family: "Leon"; src: url("../assets/fonts/Leon-ProductThin.otf") format("opentype"); font-weight: 200; font-display: swap; }
@font-face { font-family: "Leon"; src: url("../assets/fonts/Leon-ProductRegular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Leon"; src: url("../assets/fonts/Leon-ProductBold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Leon"; src: url("../assets/fonts/Leon-ProductHeavy.otf") format("opentype"); font-weight: 900; font-display: swap; }

@property --sweep { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  /* צבעי מותג – מתוך הלוגו */
  --navy: #09314c;
  --blue: #438dc9;
  --sky: #54b5f7;

  /* נגזרות */
  --night: #02152a;          /* רקע כהה */
  --paper: #ffffff;          /* רקע בהיר */
  --line: #d9e1e8;           /* קווים עדינים על לבן */
  --ink: #0b2a45;

  --font: "Leon", "Heebo", "Assistant", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --radius: clamp(14px, 1.4vw, 22px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.no-scroll { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* מעבר רקע רציף בין אזורים – הצבע מחושב ב-JS לפי מיקום הגלילה */
  background-color: var(--night);
}
img, video { display: block; max-width: 100%; }
main { overflow-x: clip; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: -60px; right: 16px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }

/* =========================================================
   הדר – שקוף ומעודן, מתחלף בין לבן לכחול לפי הרקע
   ========================================================= */
.site-header {
  --fg: #fff;
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: transform .55s var(--ease), color .4s;
  color: var(--fg);
}
.site-header[data-on="light"] { --fg: var(--navy); }
.site-header.is-hidden { transform: translateY(-110%); }
.site-header::before {               /* רקע עדין רק כשגוללים באמצע העמוד */
  content: ""; position: absolute; inset: 0; z-index: -1;
  opacity: 0; transition: opacity .4s, background-color .4s;
  background: rgba(2, 21, 42, .55);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
}
.site-header[data-on="light"]::before { background: rgba(255, 255, 255, .72); }
.site-header.is-scrolled::before { opacity: 1; }

.header-bar {
  max-width: 1400px; margin: 0 auto;
  height: clamp(70px, 6.4vw, 92px);
  padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.header-logo { justify-self: start; position: relative; display: block; }
.header-logo img { width: clamp(138px, 11.5vw, 178px); height: auto; transition: opacity .4s; }
.header-logo .logo-dark { position: absolute; inset: 0; opacity: 0; }
.site-header[data-on="light"] .logo-light { opacity: 0; }
.site-header[data-on="light"] .logo-dark { opacity: 1; }

.main-nav { display: flex; gap: clamp(20px, 2.4vw, 36px); }
.main-nav a {
  position: relative; text-decoration: none; color: var(--fg);
  font-size: 14.5px; letter-spacing: .01em; padding: 4px 0;
  opacity: .9; transition: opacity .3s, color .4s;
}
.main-nav a:hover { opacity: 1; }
.main-nav a::after {
  content: ""; position: absolute; right: 0; bottom: -1px; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.main-nav a:hover::after, .main-nav a.is-current::after { transform: scaleX(1); }
.nav-mobile-only { display: none; }

.header-cta {
  justify-self: end;
  font-size: 14px; text-decoration: none; color: var(--fg);
  padding: 7px 16px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--fg) 55%, transparent);
  transition: background-color .3s, color .4s, border-color .4s;
}
.header-cta:hover { background: var(--fg); color: var(--night); border-color: var(--fg); }
.site-header[data-on="light"] .header-cta:hover { color: #fff; }

.nav-toggle {
  display: none; justify-self: end;
  width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; padding: 0;
}
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--fg);
  transition: transform .35s var(--ease), top .35s var(--ease), background-color .4s;
}
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .header-logo img { width: 164px; }
  .header-bar { grid-template-columns: 1fr auto; }
  .header-cta { display: none; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 100%; inset-inline: 0;
    flex-direction: column; gap: 0;
    padding: 0 var(--gutter);
    background: rgba(2, 21, 42, .94);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    max-height: 0; overflow: hidden;
    transition: max-height .5s var(--ease), padding .5s var(--ease);
  }
  .site-header[data-on="light"] .main-nav { background: rgba(255, 255, 255, .96); }
  .main-nav.is-open { max-height: 360px; padding-bottom: 16px; }
  .main-nav a { font-size: 19px; padding: 14px 0; border-top: 1px solid color-mix(in srgb, var(--fg) 14%, transparent); }
  .main-nav a::after { display: none; }
  .nav-mobile-only { display: block; }
}

/* =========================================================
   הירו – אוברליי גרדיאנט שנמס לכחול הכהה
   ========================================================= */
.hero {
  position: relative;
  height: 100svh; min-height: 560px; max-height: 1100px;
  overflow: hidden;
  display: grid; place-items: center;
  background: var(--night);
  isolation: isolate;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transform: scale(1.08);
  animation: heroZoom 2.8s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(2, 21, 42, .55) 0%, rgba(2, 21, 42, 0) 22%),
    radial-gradient(ellipse 70% 40% at 50% 50%, rgba(2, 21, 42, .28), transparent 70%),
    /* גרדיאנט "מוחלק" – הרבה עצירות כדי שלא ייראה קו */
    linear-gradient(180deg,
      rgba(2, 21, 42, 0) 30%, rgba(2, 21, 42, .02) 38%, rgba(2, 21, 42, .06) 45%,
      rgba(2, 21, 42, .13) 52%, rgba(2, 21, 42, .22) 59%, rgba(2, 21, 42, .33) 66%,
      rgba(2, 21, 42, .46) 72%, rgba(2, 21, 42, .6) 78%, rgba(2, 21, 42, .73) 84%,
      rgba(2, 21, 42, .85) 90%, rgba(2, 21, 42, .94) 95%, var(--night) 100%);
}
.hero-slogan {
  color: #fff;
  font-size: clamp(42px, 6vw, 108px);
  line-height: 1.05;
  letter-spacing: -.01em;
  text-align: center;
  padding: 0 var(--gutter);
  text-shadow: 0 4px 40px rgba(0, 20, 50, .3);
  display: flex; flex-wrap: wrap; justify-content: center; column-gap: .28em;
}
.hs-line { white-space: nowrap; }
.hs-light { font-weight: 200; }
.hs-heavy { font-weight: 900; }
.hs-word { display: inline-block; white-space: nowrap; }
.hs-line { position: relative; }
/* שורה 1: כל אות עולה מתוך קו נסתר */
.hs-light .hs-word { overflow: hidden; padding: .08em 0 .14em; margin: -.08em 0 -.14em; vertical-align: top; }
.hs-light .ch {
  display: inline-block; transform: translateY(105%);
}
.is-loaded .hs-light .ch { animation: chRise .9s var(--ease) forwards; animation-delay: calc(var(--c) * 38ms + 250ms); }
@keyframes chRise { to { transform: none; } }
/* שורה 2: "בונים אותו." – כל אות נוחתת כמו לבנה */
.hs-heavy .ch { display: inline-block; opacity: 0; transform: translateY(-.9em) rotate(-7deg); transform-origin: 50% 100%; }
.is-loaded .hs-heavy .ch { animation: chDrop .7s cubic-bezier(.3, 1.4, .5, 1) forwards; animation-delay: calc(var(--c) * 85ms + 1050ms); }
@keyframes chDrop {
  0%   { opacity: 0; transform: translateY(-.9em) rotate(-7deg); }
  45%  { opacity: 1; }
  70%  { transform: translateY(.06em) rotate(1deg) scaleY(.94); }
  100% { opacity: 1; transform: none; }
}

@media (max-width: 600px) {
  .hero { min-height: 520px; }
  .hero-slogan { flex-direction: column; align-items: center; font-size: 12.5vw; }
}

/* =========================================================
   מה זה תקומה לישראל – על רקע כהה
   ========================================================= */
.intro {
  position: relative; z-index: 2;
  padding: clamp(40px, 5vw, 80px) var(--gutter) clamp(36px, 4vw, 64px);
  display: flex; flex-direction: column; align-items: center; gap: clamp(48px, 6vw, 90px);
  color: #fff;
}
.intro-text {
  max-width: 940px; text-align: center;
  font-size: clamp(17px, 1.3vw, 22px);
  line-height: 1.95;
}
.intro-text .w { opacity: .16; transition: opacity .35s linear; }
.intro-text .w.on { opacity: 1; }

.circle-btn {
  width: clamp(100px, 8vw, 124px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .55);
  display: grid; place-items: center; text-align: center;
  color: var(--sky); font-weight: 700; text-decoration: none;
  font-size: clamp(15px, 1.1vw, 18px); line-height: 1.15;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.circle-btn::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; z-index: -1;
  background: var(--sky); transform: scale(0); transition: transform .5s var(--ease);
}
.circle-btn:hover { color: var(--night); border-color: var(--sky); }
.circle-btn:hover::before { transform: scale(1); }

/* =========================================================
   אודות יאיר – בלי כרטיס, ישירות על הרקע הכהה
   ========================================================= */
.about {
  position: relative; z-index: 1;
  color: #fff;
  padding: 0 var(--gutter);
}
.about-watermark {
  position: absolute; z-index: -1;
  top: clamp(-260px, -16vw, -120px); inset-inline: 0;
  display: flex; flex-direction: column; align-items: center;
  font-weight: 900; line-height: .86; letter-spacing: -.02em;
  font-size: clamp(110px, 24vw, 420px);
  color: rgba(84, 181, 247, .065);
  white-space: nowrap; pointer-events: none;
  transform: translateY(var(--wy, 0px));
  will-change: transform;
}
.about-inner {
  position: relative;
  max-width: 1320px; margin: 0 auto;
  min-height: clamp(560px, 62vw, 940px);
  display: grid; grid-template-columns: 1fr 1fr; /* RTL: טקסט מימין, תמונה משמאל */
  align-items: end;
}
.about-text {
  grid-column: 1; grid-row: 1;
  position: relative; z-index: 2;
  padding-bottom: clamp(70px, 9vw, 150px);
  font-size: clamp(15px, 1.05vw, 18px); line-height: 1.95;
  color: rgba(255, 255, 255, .88);
  width: 134%;            /* עולה על התמונה, כמו בסקיצה */
  max-width: 880px;
}
.about-text p + p { margin-top: .2em; }
.about-title {
  font-weight: 200; font-size: clamp(48px, 6.4vw, 112px); line-height: 1;
  color: #fff; margin-bottom: clamp(20px, 2.2vw, 34px);
  letter-spacing: -.01em;
}
.line-link {
  display: inline-flex; align-items: center; gap: 18px;
  margin-top: clamp(20px, 2.2vw, 32px);
  font-weight: 200; font-size: clamp(22px, 1.9vw, 30px);
  color: #fff; text-decoration: none;
}
.line-link::after {
  content: ""; height: 1px; width: clamp(70px, 9vw, 130px); background: rgba(255,255,255,.6);
  transition: width .5s var(--ease);
}
.line-link:hover::after { width: clamp(110px, 13vw, 190px); }

.about-photo {
  grid-column: 2; grid-row: 1;
  align-self: end; justify-self: start;
  position: relative; z-index: 1;
  width: min(112%, 680px);
}
.about-photo img {
  width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  transform: translateY(var(--py, 0px));
}

@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; min-height: 0; }
  .about-photo { grid-column: 1; grid-row: 1; justify-self: center; width: min(92vw, 480px); }
  .about-text { grid-column: 1; grid-row: 2; width: 100%; margin-top: clamp(-120px, -18vw, -60px); padding-bottom: 80px; }
  .about-watermark { top: -40px; font-size: 29vw; }
}

/* =========================================================
   תחומי עשייה – על רקע לבן, תמונות מעוגלות
   ========================================================= */
.activities {
  position: relative; z-index: 1;
  height: calc(var(--count) * 100svh + 60svh);
  color: var(--navy);
}
.act-stage {
  position: sticky; top: 0;
  height: 100svh;
}
/* הקו האנכי העדין שעובר במרכז */
.act-line {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 1px; background: var(--line);
  transform-origin: top; transform: scaleY(var(--lp, 0));
}
.act-list { position: absolute; inset: 0; }

.act {
  --w: min(56vw, 980px);
  position: absolute; top: 50%; left: 50%;
  width: var(--w);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.act-media {
  display: block; width: 100%; aspect-ratio: 16 / 10; padding: 0; border: 0;
  background: #e8eef4; cursor: pointer; overflow: hidden; position: relative;
  border-radius: var(--radius);
  transform-origin: center;
  will-change: transform;
  pointer-events: auto;
  box-shadow: 0 30px 60px -40px rgba(9, 49, 76, .45);
}
.act-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.act-media::after {                 /* אוברליי כהה מימין ולמטה – מאחורי הכותרת */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 95% at 100% 100%, rgba(2, 21, 42, .78) 0%, rgba(2, 21, 42, .45) 38%, rgba(2, 21, 42, 0) 70%),
    linear-gradient(0deg, rgba(2, 21, 42, .35), rgba(2, 21, 42, 0) 45%);
  opacity: var(--fade, 0);
}
.act.is-active .act-media:hover img { transform: scale(1.04); }

.act-caption {
  position: absolute; z-index: 2;
  right: clamp(22px, 3vw, 48px); bottom: clamp(22px, 3vw, 46px);
  width: 70%;
  transform: translateY(var(--ty, 0px));
  opacity: var(--op, 0);
  color: #fff;
  pointer-events: none;
  text-shadow: 0 2px 24px rgba(2, 21, 42, .35);
}
.act-title {
  font-weight: 200; line-height: .92;
  font-size: clamp(56px, 6.3vw, 118px);
  letter-spacing: -.02em;
}
.act-sub {
  margin-top: clamp(10px, 1.1vw, 18px);
  font-weight: 700; font-size: clamp(14px, 1vw, 17px); line-height: 1.5;
  max-width: 26em; color: rgba(255, 255, 255, .9);
}
.act-caption::before {             /* קו קצר מעל הכותרת */
  content: ""; display: block; width: 44px; height: 2px; background: var(--sky); margin-bottom: clamp(14px, 1.4vw, 22px);
  transform: scaleX(var(--op, 0)); transform-origin: right;
}

@media (max-width: 900px) {
  .act { --w: min(90vw, 640px); top: 42%; }
  .act-media { aspect-ratio: 4 / 3; }
  .act-media::after {
    background: linear-gradient(0deg, rgba(2, 21, 42, .82) 0%, rgba(2, 21, 42, .4) 45%, rgba(2, 21, 42, 0) 75%);
  }
  .act-caption { right: 18px; bottom: 18px; width: calc(100% - 36px); }
  .act-caption::before { width: 32px; margin-bottom: 10px; }
  .act-title { font-size: clamp(42px, 12vw, 66px); }
  .act-title br { display: none; }
  .act-sub { font-size: 14px; margin-top: 6px; }
}

/* =========================================================
   פס מחבר – הקו האנכי פוגש קו רוחבי שמצייר את עצמו
   ========================================================= */
.draw-divider {
  position: relative; height: clamp(90px, 9vw, 140px);
}
.dv-v {
  position: absolute; left: 50%; top: 0; height: 100%; width: 1px;
  background: var(--line);
  transform-origin: top; transform: scaleY(0);
  transition: transform .7s var(--ease-io);
}
.dv-h {
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--line);
  transform: scaleX(0); transform-origin: center;
  transition: transform 1.3s var(--ease-io) .55s;
}
.draw-divider.drawn .dv-v { transform: scaleY(1); }
.draw-divider.drawn .dv-h { transform: scaleX(1); }

/* =========================================================
   חלון פעילות
   ========================================================= */
.am-fly {
  position: fixed; z-index: 80; pointer-events: none;
  background-size: cover; background-position: center;
  border-radius: var(--radius);
  opacity: 0;
}
.act-modal {
  position: fixed; inset: 0; z-index: 90;
  background: #fff;
  opacity: 0; transition: opacity .45s var(--ease);
}
.act-modal.is-open { opacity: 1; }
.am-scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; }
.am-close {
  position: fixed; top: clamp(16px, 3vw, 36px); left: clamp(16px, 3vw, 36px); z-index: 2;
  width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7);
  background: rgba(9, 49, 76, .25);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  cursor: pointer; transition: background .3s, transform .4s var(--ease);
}
.am-close:hover { background: var(--navy); transform: rotate(90deg); }
.am-close span { position: absolute; top: 27px; left: 16px; right: 16px; height: 1.5px; background: #fff; }
.am-close span:first-child { transform: rotate(45deg); }
.am-close span:last-child { transform: rotate(-45deg); }

.am-hero {
  position: relative; height: 100svh; min-height: 480px;
  display: grid; place-items: center; overflow: hidden; isolation: isolate;
}
.am-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.am-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 55% 30% at 50% 36%, rgba(0, 12, 40, .2), transparent 75%),
    linear-gradient(180deg, rgba(0, 7, 31, .34) 0%, rgba(0, 7, 31, .08) 38%, rgba(255,255,255,0) 60%, rgba(255,255,255,.85) 88%, #fff 100%);
}
.am-title {
  color: #fff; font-weight: 200; text-align: center;
  font-size: clamp(48px, 8vw, 150px); line-height: .86; letter-spacing: -.035em; padding: 0 var(--gutter);
  margin-top: -18vh;
  text-shadow: 0 6px 40px rgba(0, 10, 30, .3);
  opacity: 0; transform: translateY(30px);
  transition: opacity .9s var(--ease) .25s, transform .9s var(--ease) .25s;
}
.act-modal.is-open .am-title { opacity: 1; transform: none; }

.am-body {
  max-width: 1180px; margin: clamp(-70px, -4vw, -30px) auto 0; position: relative;
  padding: 0 var(--gutter);
  color: var(--navy);
}
.ad-logo { height: clamp(116px, 11vw, 176px); width: auto; margin: 0 auto clamp(30px, 4vw, 56px); }
.ad-cols { display: grid; gap: clamp(32px, 6vw, 96px); max-width: 760px; margin: 0 auto; }
.ad-cols-2 { grid-template-columns: 1fr 1fr; max-width: none; }
.ad-cols h4 { font-weight: 900; font-size: clamp(16px, 1.15vw, 19px); line-height: 1.4; margin-bottom: 1.1em; }
.ad-cols p { font-size: clamp(15px, 1.02vw, 17px); line-height: 1.85; text-align: justify; }
.ad-cols p + p { margin-top: 1.1em; }
@media (max-width: 760px) { .ad-cols-2 { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .am-title { font-size: 19vw; line-height: .88; }
  .ad-logo { height: 150px; }
}

.am-gallery { max-width: 1300px; margin: clamp(60px, 8vw, 120px) auto; padding: 0 var(--gutter) clamp(40px, 6vw, 80px); }
.am-gallery h3 { font-weight: 200; font-size: clamp(32px, 3vw, 52px); color: var(--navy); margin-bottom: 24px; }
.am-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.4vw, 20px); }
.am-ph { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #eef4fa, #dbe8f4); border-radius: var(--radius); }
.am-ph:nth-child(3n+2) { transform: translateY(clamp(16px, 3vw, 48px)); }
.am-gallery-note { margin-top: clamp(40px, 5vw, 70px); text-align: center; color: rgba(9, 49, 76, .55); font-size: 15px; }
@media (max-width: 600px) { .am-gallery-grid { grid-template-columns: 1fr 1fr; } .am-ph:nth-child(3n+2) { transform: none; } }

/* =========================================================
   יצירת קשר – על לבן
   ========================================================= */
.contact {
  position: relative; z-index: 2;
  color: var(--navy);
  padding: clamp(60px, 7vw, 110px) var(--gutter) clamp(36px, 4vw, 56px);
}
.contact-inner { max-width: 1200px; margin: 0 auto; }
.contact-title {
  font-weight: 900; line-height: 1; text-align: center;
  font-size: clamp(64px, 9vw, 168px);
  letter-spacing: -.015em;
  margin-bottom: clamp(48px, 6vw, 90px);
}
.contact-title { margin-bottom: clamp(10px, 1vw, 16px); }
.contact-lead { text-align: center; font-size: clamp(17px, 1.3vw, 22px); color: rgba(9, 49, 76, .7); margin-bottom: clamp(36px, 4vw, 60px); }

/* ---------- בורר: למי לפנות ---------- */
.ct-tabs {
  position: relative;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(8px, 1.2vw, 18px);
  max-width: 1000px; margin: 0 auto;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.ct-tab {
  border: 0; background: none; cursor: pointer; padding: 6px 4px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  color: rgba(9, 49, 76, .6);
  transition: color .35s;
}
.ct-logo {
  width: clamp(70px, 6.6vw, 96px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
  transition: transform .5s var(--ease), box-shadow .4s, filter .4s;
  filter: grayscale(.85) opacity(.75);
}
.ct-logo img { width: 78%; height: 78%; object-fit: contain; }
.ct-logo-photo img { width: 100%; height: 100%; object-fit: cover; }
.ct-name { font-size: clamp(14px, 1.02vw, 17px); font-weight: 700; text-align: center; line-height: 1.3; }
.ct-tab:hover .ct-logo { transform: translateY(-4px); filter: none; }
.ct-tab:hover { color: var(--navy); }
.ct-tab[aria-selected="true"] { color: var(--navy); }
.ct-tab[aria-selected="true"] .ct-logo { filter: none; box-shadow: 0 0 0 2px var(--navy), 0 18px 30px -18px rgba(9, 49, 76, .55); transform: translateY(-4px); }
.ct-ink {                            /* קו שגולש אל הכרטיס הנבחר */
  position: absolute; bottom: 0; height: 2px; background: var(--navy);
  right: var(--ink-r, 0px); width: var(--ink-w, 0px);
  transition: right .6s var(--ease), width .6s var(--ease);
}

/* ---------- הפאנל: פרטים + טופס ---------- */
.ct-panel {
  max-width: 1100px; margin: clamp(36px, 4vw, 60px) auto 0;
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 4vw, 72px);
  background: #f4f7fa;
  border-radius: clamp(20px, 2.4vw, 34px);
  padding: clamp(28px, 4vw, 64px);
}
.ct-details { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.ct-details > * { transition: opacity .35s var(--ease), transform .45s var(--ease); }
.ct-details.swap > * { opacity: 0; transform: translateY(14px); }
.ct-details > :nth-child(2) { transition-delay: .04s; }
.ct-details > :nth-child(3) { transition-delay: .08s; }
.ct-details > :nth-child(4) { transition-delay: .12s; }
.ct-details > :nth-child(5) { transition-delay: .16s; }
.ct-desc { font-size: 14px; font-weight: 700; color: var(--blue); letter-spacing: .02em; }
.ct-who { font-weight: 200; font-size: clamp(36px, 3.4vw, 58px); line-height: 1; letter-spacing: -.02em; margin-bottom: clamp(14px, 2vw, 30px); }
.ct-line {
  position: relative; text-decoration: none;
  font-size: clamp(18px, 1.5vw, 24px); letter-spacing: .02em; color: var(--navy);
  padding-bottom: 2px;
}
.ct-line::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.ct-line:hover::after { transform: scaleX(1); }
.ct-social { display: flex; gap: 10px; margin-top: clamp(14px, 2vw, 26px); }
.ct-social a {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(9, 49, 76, .25); color: var(--navy);
  transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease);
}
.ct-social a:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-3px); }
.ct-social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.ct-social .ct-fb svg { fill: currentColor; stroke: none; }
.ct-social .dot { fill: currentColor; stroke: none; }

.cf-to { font-size: 15px; color: rgba(9, 49, 76, .7); margin-bottom: 4px; }
.cf-to strong { color: var(--navy); display: inline-block; transition: opacity .3s, transform .4s var(--ease); }
.cf-to strong.swap { opacity: 0; transform: translateY(8px); }

/* ---------- טופס ---------- */
.contact-form { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.form-fields { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; transition: opacity .6s, filter .6s; }
.field-wide { grid-column: 1 / -1; }
.cf-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }

.field {
  --c: #c9d4de;
  position: relative; display: block;
  border-radius: 14px;
  /* מסגרת שמציירת את עצמה סביב השדה */
  border: 1px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    conic-gradient(from 180deg, var(--c) var(--sweep), transparent 0) border-box;
  transition: --sweep 1.2s var(--ease-io) calc(var(--d, 0) * 130ms), box-shadow .3s;
}
.contact-form.in .field { --sweep: 360deg; }
.field:hover { --c: #9fb3c6; }
.field:focus-within { --c: var(--blue); box-shadow: 0 0 0 4px rgba(67, 141, 201, .12); }
.field.invalid { --c: #e07a7a; animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.field input, .field textarea {
  display: block; width: 100%;
  border: 0; background: transparent; color: var(--navy);
  font: inherit; font-size: 16px;
  padding: 22px 16px 8px;
  outline: none; border-radius: inherit;
}
.field input { height: 56px; }
.field textarea { min-height: 140px; resize: vertical; padding-top: 28px; }
.fl {
  position: absolute; top: 17px; right: 16px;
  font-size: 16px; color: rgba(9, 49, 76, .5);
  pointer-events: none;
  transform-origin: right top;
  transition: transform .35s var(--ease), color .3s;
}
.field input:focus + .fl, .field input:not(:placeholder-shown) + .fl,
.field textarea:focus + .fl, .field textarea:not(:placeholder-shown) + .fl {
  transform: translateY(-10px) scale(.72);
  color: var(--blue);
}

.send-btn {
  position: relative;
  width: clamp(96px, 7.6vw, 116px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid var(--navy); background: transparent; color: var(--navy);
  font-weight: 900; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.1;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transform: translate(var(--mx, 0px), var(--my, 0px));
  transition: transform .35s var(--ease), color .4s, border-color .4s;
}
.send-btn::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; z-index: -1;
  background: var(--navy); transform: scale(0); transition: transform .5s var(--ease), background-color .4s;
}
.send-btn:hover { color: #fff; }
.send-btn:hover::before { transform: scale(1); }
.sb-label { transition: opacity .3s, transform .4s var(--ease); display: inline-block; }
.sb-check { position: absolute; inset: 22%; width: 56%; height: 56%; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sb-check circle, .sb-check path { stroke-dasharray: 1; stroke-dashoffset: 1; }

/* שליחה: הכפתור מתמלא, מצייר עיגול ואז וי */
.contact-form.sending .send-btn::before { transform: scale(1); }
.contact-form.sending .sb-label { opacity: 0; transform: scale(.6); }
.contact-form.sending .sb-check circle { animation: draw .9s var(--ease-io) forwards; }
.contact-form.sent .send-btn { border-color: var(--blue); }
.contact-form.sent .send-btn::before { transform: scale(1); background: var(--blue); }
.contact-form.sent .sb-label { opacity: 0; }
.contact-form.sent .sb-check circle { stroke-dashoffset: 0; }
.contact-form.sent .sb-check path { animation: draw .55s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.contact-form.sent .form-fields { opacity: .35; pointer-events: none; filter: blur(1px); }
.form-status { min-height: 1.6em; color: var(--blue); font-size: 17px; }
.form-status.ok { animation: rise .7s var(--ease) both; }
.form-status.err { color: #c95b5b; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

.site-footer { display: flex; justify-content: center; margin-top: clamp(64px, 7vw, 110px); }
.site-footer img { width: clamp(180px, 16vw, 230px); height: auto; }

@media (max-width: 900px) {
  .ct-panel { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ct-tabs {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 6px;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .ct-tabs::-webkit-scrollbar { display: none; }
  .ct-tab { flex: 0 0 30%; scroll-snap-align: center; }
  .ct-logo { width: 86px; }
  .ct-panel { margin-inline: calc(var(--gutter) * -.5); }
  .form-fields { grid-template-columns: 1fr; }
}

/* =========================================================
   חשיפה בגלילה
   ========================================================= */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .ch { opacity: 1 !important; transform: none !important; }
  .intro-text .w { opacity: 1; }
  .field { --sweep: 360deg; }
  .draw-divider .dv-v, .draw-divider .dv-h { transform: none; }
}

/* =========================================================
   קישורים משפטיים בפוטר + הסכמה בטופס
   ========================================================= */
.site-footer { flex-direction: column; align-items: center; gap: 22px; }
.footer-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px;
  font-size: 14px; color: rgba(9, 49, 76, .6);
}
.footer-links a { color: inherit; text-decoration: none; transition: color .3s; }
.footer-links a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.cf-consent { font-size: 13.5px; color: rgba(9, 49, 76, .6); }
.cf-consent a { color: var(--navy); text-underline-offset: 3px; }

/* =========================================================
   עמודים משפטיים (פרטיות / נגישות)
   ========================================================= */
.legal-page { background: #fff; }
.legal-page .site-header .header-bar { grid-template-columns: 1fr auto; }
.legal-page .header-cta { display: inline-block; }
.legal {
  max-width: 820px; margin: 0 auto;
  padding: clamp(130px, 14vw, 190px) var(--gutter) clamp(60px, 8vw, 110px);
  color: var(--navy);
}
.legal-kicker { font-weight: 700; font-size: 14px; color: var(--blue); letter-spacing: .02em; }
.legal h1 { font-weight: 200; font-size: clamp(46px, 6vw, 92px); line-height: .95; letter-spacing: -.02em; margin: 10px 0 18px; }
.legal-updated { font-size: 14px; color: rgba(9, 49, 76, .6); margin-bottom: clamp(36px, 5vw, 64px); padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.legal h2 { font-weight: 900; font-size: clamp(18px, 1.4vw, 22px); margin: clamp(30px, 3.5vw, 44px) 0 10px; }
.legal p, .legal li { font-size: clamp(15px, 1.05vw, 17px); line-height: 1.85; }
.legal p + p { margin-top: .7em; }
.legal ul { margin: 8px 0 0; padding-inline-start: 1.2em; }
.legal li + li { margin-top: 4px; }
.legal a { color: var(--blue); text-underline-offset: 3px; }
.legal .todo { background: #fff4c2; border-radius: 4px; padding: 0 4px; }
.legal-page .site-footer { padding: 0 var(--gutter) 48px; }

/* =========================================================
   סרגל נגישות
   ========================================================= */
.a11y { position: fixed; left: clamp(14px, 2vw, 26px); bottom: clamp(14px, 2vw, 26px); z-index: 95; font-family: var(--font); }
.a11y-fab {
  width: 52px; height: 52px; border-radius: 50%; border: 2px solid #fff; cursor: pointer;
  background: var(--blue); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 28px -8px rgba(2, 21, 42, .55);
  transition: transform .35s var(--ease), background .3s;
}
.a11y-fab:hover { transform: scale(1.07); background: var(--navy); }
.a11y-fab svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.a11y-fab svg .f { fill: currentColor; stroke: none; }
.a11y-panel {
  position: absolute; left: 0; bottom: 64px;
  width: min(330px, calc(100vw - 28px));
  background: #fff; color: var(--navy);
  border-radius: 20px; padding: 18px;
  box-shadow: 0 30px 70px -20px rgba(2, 21, 42, .45), 0 0 0 1px rgba(9, 49, 76, .08);
  animation: a11yIn .35s var(--ease);
}
@keyframes a11yIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.a11y-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.a11y-head h2 { font-size: 18px; font-weight: 900; }
.a11y-close { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.a11y-size { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 12px; background: #f4f7fa; margin-bottom: 10px; font-weight: 700; font-size: 15px; }
.a11y-size > div { display: flex; align-items: center; gap: 8px; }
.a11y-step { width: 40px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 700; font-size: 15px; }
.a11y-step:hover { border-color: var(--navy); }
.a11y-size-val { min-width: 44px; text-align: center; font-size: 14px; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-opt {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 6px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer;
  font-size: 13.5px; font-weight: 700; color: var(--navy);
  transition: border-color .2s, background .2s, color .2s;
}
.a11y-opt svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.a11y-opt svg .f { fill: currentColor; stroke: none; }
.a11y-opt:hover { border-color: var(--navy); }
.a11y-opt[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.a11y-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 14px; }
.a11y-reset { border: 0; background: none; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; color: var(--navy); padding: 4px 0; }
.a11y-foot a { color: var(--blue); }
.a11y :focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

/* ---------- מצבי נגישות ---------- */
html.a11y-contrast { filter: contrast(1.45) saturate(1.15); }
html.a11y-gray { filter: grayscale(1); }
html.a11y-contrast.a11y-gray { filter: grayscale(1) contrast(1.45); }
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; outline: 2px dashed currentColor; outline-offset: 2px; }
html.a11y-font body, html.a11y-font body * { font-family: Arial, Helvetica, sans-serif !important; letter-spacing: normal !important; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
html.a11y-still .ch { opacity: 1 !important; transform: none !important; }
html.a11y-still .intro-text .w { opacity: 1 !important; }
html.a11y-cursor, html.a11y-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24'%3E%3Cpath d='M5 2.5l13 10-6 1.3 3.4 7.2-2.8 1.2-3.3-7.3L5 19z' fill='%23000' stroke='%23fff' stroke-width='1.3'/%3E%3C/svg%3E") 6 3, auto !important;
}
@media print { .a11y { display: none; } }
