/* צילומי תדמית לחברות וארגונים · בראל צילום
   צבעי המותג מתוך "עזרים/קובץ מיתוג.docx" · פונט Rubik
   אותה שפה של נוכחות Express, בגרסה מאופקת ועסקית יותר */

:root {
  --bg: #faf8f5;
  --text: #655d58;
  --pink: #e6c2bf;
  --tan: #c9ad7f;

  --ink: var(--text);
  --muted: color-mix(in oklab, var(--text) 78%, var(--bg));
  --line: color-mix(in oklab, var(--text) 16%, var(--bg));
  --blush: color-mix(in oklab, var(--pink) 22%, var(--bg));
  --tan-soft: color-mix(in oklab, var(--tan) 16%, var(--bg));
  --stone: color-mix(in oklab, var(--text) 7%, var(--bg));

  --radius: 10px;
  --gutter: clamp(20px, 5vw, 56px);
  --max: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Rubik", system-ui, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.8;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-weight: 300; color: var(--ink); line-height: 1.15; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 6vw, 2.9rem); }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; top: 12px; right: 12px; z-index: 50; background: var(--bg); padding: 8px 14px; border-radius: 8px; transform: translateY(-300%); }
.skip:focus { transform: none; }
:focus-visible { outline: 2px solid var(--tan); outline-offset: 3px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 500; letter-spacing: .14em; color: var(--tan);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.en { direction: ltr; unicode-bidi: isolate; }

/* ---------- כפתורים ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border: 1.5px solid transparent; border-radius: 999px;
  background: var(--text); color: var(--bg);
  font: 500 16px/1 "Rubik", sans-serif; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s;
}
.btn:hover { background: color-mix(in oklab, var(--text) 88%, var(--tan)); transform: translateY(-1px); }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn--ghost { background: transparent; color: var(--ink); border-color: color-mix(in oklab, var(--text) 35%, var(--bg)); }
.btn--ghost:hover { background: var(--stone); border-color: var(--text); }
.btn--block { width: 100%; }

.link {
  font-weight: 500; text-decoration: underline; text-decoration-color: var(--tan);
  text-decoration-thickness: 1.5px; text-underline-offset: 6px;
}
.link:hover { text-decoration-color: var(--text); }
.arrow-link { display: inline-flex; align-items: center; gap: 10px; }
.arrow-link svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.arrow-link:hover svg { transform: translateX(-4px); }

/* ---------- סרגל עליון ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: var(--max); margin-inline: auto; padding: 20px var(--gutter);
}
.topbar__logo img { width: 150px; height: auto; }
.topbar__nav { display: flex; align-items: center; gap: 6px; }
.topbar__nav .navlink { display: none; font-size: 15px; font-weight: 500; text-decoration: none; padding: 8px 14px; border-radius: 999px; }
.topbar__nav .navlink:hover { background: var(--stone); }
@media (min-width: 720px) { .topbar__nav .navlink { display: inline-block; } }
.icon-link {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  color: var(--text); transition: background-color .2s;
}
.icon-link:hover { background: var(--stone); }
.icon-link svg { width: 21px; height: 21px; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(20px, 5vw, 56px) clamp(64px, 10vw, 120px); }
.hero__grid { display: grid; gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 8.4vw, 4.4rem); line-height: 1.05; margin: 18px 0 22px; }
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--tan); }
.hero__lead { font-size: clamp(1.15rem, 3.8vw, 1.4rem); line-height: 1.6; font-weight: 300; color: var(--ink); margin-bottom: 16px; }
.hero__text { color: var(--muted); max-width: 32em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__tags {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 0; padding: 0; list-style: none;
}
.hero__tags li {
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 14px; font-weight: 500; color: var(--ink);
  transition: background-color .25s, border-color .25s;
}
.hero__tags li:hover { background: var(--pink); border-color: var(--pink); }

.hero__media { position: relative; padding-inline-end: 18%; padding-bottom: 12%; }
.hero__media .main { border-radius: var(--radius); overflow: hidden; background: var(--stone); }
.hero__media .main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; }
.hero__media .inset {
  position: absolute; left: 0; bottom: 0; width: 40%;
  border-radius: var(--radius); overflow: hidden; background: var(--stone);
  border: 6px solid var(--bg);
}
.hero__media .inset img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.hero__media::before {
  content: none; position: absolute; top: -16px; right: -16px; width: 42%; height: 46%;
  border-top: 1px solid var(--tan); border-right: 1px solid var(--tan); border-radius: 0 var(--radius) 0 0;
}

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .hero__media::before { content: ""; }
}

/* ---------- אזורי תוכן ---------- */
.section { padding-block: clamp(72px, 11vw, 130px); }
.section--stone { background: var(--stone); }
.section__head { margin-bottom: clamp(30px, 5vw, 52px); }
.section__head .eyebrow { margin-bottom: 14px; }
.section__head--row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; }
.section__head p { color: var(--muted); max-width: 34em; margin: 14px 0 0; }
.lead { font-size: clamp(1.1rem, 3.6vw, 1.3rem); line-height: 1.75; color: var(--ink); font-weight: 300; }
.prose { color: var(--muted); max-width: 36em; }

/* ---------- גלריה ---------- */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.g-item { margin: 0; }
.g-item a { display: block; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--stone); cursor: zoom-in; }
.g-item img {
  width: 100%; aspect-ratio: 2 / 3; object-fit: cover;
  transition: transform .9s var(--ease), filter .5s;
}
.g-item a:hover img { transform: scale(1.03); }
.grid__more { display: flex; justify-content: center; margin-top: clamp(32px, 5vw, 48px); }

/* ---------- סשן אחד, כמה שימושים ---------- */
.uses { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; align-items: start; }
.use { margin: 0; }
.use__img { border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.use__img img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.use figcaption { padding-top: 14px; }
.use figcaption b { display: block; font-weight: 500; color: var(--ink); font-size: 16px; }
.use figcaption span { font-size: 14.5px; color: var(--muted); }
.use--profile { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; order: -1; }
.use--profile figcaption { padding-top: 0; }
.avatar {
  flex: none; width: 118px; height: 118px; border-radius: 50%;
  background-size: 210%; background-position: 52% 9%; background-repeat: no-repeat;
  box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px var(--line);
}
.li-card {
  display: grid; gap: 2px;
}
.li-card small { font-size: 12.5px; letter-spacing: .12em; color: var(--tan); font-weight: 500; }
@media (min-width: 900px) {
  .uses { grid-template-columns: 1.1fr .8fr 1.1fr; gap: 28px; align-items: center; }
  .use--profile { grid-column: auto; order: 0; flex-direction: column; text-align: center; gap: 26px; }
  .avatar { width: 200px; height: 200px; }
}

/* ---------- איך זה עובד ---------- */
.split { display: grid; gap: 40px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 88px; align-items: start; } }
.formats { display: grid; gap: 14px; }
.format {
  padding: 26px 26px 24px; border-radius: var(--radius); background: var(--bg);
  border: 1px solid var(--line);
}
.section:not(.section--stone) .format { background: var(--stone); border-color: transparent; }
.format__num { font-size: 13px; font-weight: 500; color: var(--tan); letter-spacing: .08em; }
.format h3 { font-size: clamp(1.3rem, 4vw, 1.55rem); margin: 8px 0 8px; }
.format p { color: var(--muted); font-size: 16px; line-height: 1.7; }

.checks { list-style: none; margin: 26px 0 0; padding: 0; }
.checks li { position: relative; padding: 12px 30px 12px 0; border-top: 1px solid var(--line); color: var(--ink); }
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks li::before {
  content: ""; position: absolute; right: 2px; top: 21px; width: 12px; height: 7px;
  border-left: 1.5px solid var(--tan); border-bottom: 1.5px solid var(--tan); transform: rotate(-45deg);
}

/* ---------- יצירת קשר ---------- */
.contact { background: var(--text); color: var(--bg); border-radius: clamp(24px, 5vw, 44px) clamp(24px, 5vw, 44px) 0 0; }
.contact h2, .contact .lead { color: var(--bg); }
.contact .eyebrow { color: var(--tan); }
.contact__grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1.2fr 1fr; gap: 88px; } }
.contact .lead { color: color-mix(in oklab, var(--bg) 86%, var(--text)); margin-top: 18px; }
.contact__actions { display: grid; gap: 12px; }
.contact .btn { background: var(--bg); color: var(--text); min-height: 58px; font-size: 17px; }
.contact .btn:hover { background: var(--pink); }
.contact .btn--ghost { background: transparent; color: var(--bg); border-color: color-mix(in oklab, var(--bg) 40%, var(--text)); }
.contact .btn--ghost:hover { background: color-mix(in oklab, var(--bg) 10%, var(--text)); border-color: var(--bg); }
.contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact__row .btn { font-size: 16px; min-height: 52px; padding: 0 18px; }
.contact__row .btn:last-child { grid-column: 1 / -1; }
.contact__mail { margin: 4px 0 0; text-align: center; font-size: 14px; color: color-mix(in oklab, var(--bg) 70%, var(--text)); }
.me { display: flex; align-items: center; gap: 16px; margin-top: 34px; }
.me img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; }
.me b { display: block; font-weight: 500; }
.me span { font-size: 14.5px; color: color-mix(in oklab, var(--bg) 72%, var(--text)); }

/* ---------- פוטר ---------- */
.footer { background: var(--text); color: color-mix(in oklab, var(--bg) 72%, var(--text)); padding: 0 var(--gutter) 40px; }
.footer__inner {
  max-width: calc(var(--max) - 2 * var(--gutter)); margin-inline: auto; padding-top: 28px;
  border-top: 1px solid color-mix(in oklab, var(--bg) 18%, var(--text));
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 13.5px;
}
.footer .icon-link { color: var(--bg); }
.footer .icon-link:hover { background: color-mix(in oklab, var(--bg) 12%, var(--text)); }
.footer__links { display: flex; gap: 4px; }

/* ---------- עמוד גלריה מלאה ---------- */
.page-head { padding-block: clamp(24px, 5vw, 48px) clamp(36px, 6vw, 56px); }
.page-head h1 { font-size: clamp(2.2rem, 7.5vw, 3.6rem); margin: 16px 0 14px; }
.page-head p { color: var(--muted); max-width: 34em; }
.back { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; text-decoration: none; margin-bottom: 18px; }
.back svg { width: 18px; height: 18px; }
.back:hover { color: var(--tan); }
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { color: var(--muted); margin-bottom: 28px; }
.cta-band .row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- לייטבוקס ---------- */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: #2e2926; color: var(--bg);
}
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.lb__count { direction: ltr; unicode-bidi: isolate; }
.lb__bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; font-size: 14px; letter-spacing: .06em; }
.lb__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 12px; }
.lb__stage img { max-width: 100%; max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 4px; user-select: none; }
.lb__btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: color-mix(in oklab, var(--bg) 10%, transparent); color: var(--bg); cursor: pointer;
  transition: background-color .2s;
}
.lb__btn:hover { background: color-mix(in oklab, var(--bg) 22%, transparent); }
.lb__btn svg { width: 22px; height: 22px; }
.lb__nav { display: flex; justify-content: center; gap: 14px; padding: 14px 0 max(18px, env(safe-area-inset-bottom)); }
@media (min-width: 900px) {
  .lb__stage { padding: 0 90px; }
  .lb__stage img { max-height: calc(100dvh - 96px); }
  .lb__nav { position: absolute; inset: 50% 20px auto; justify-content: space-between; padding: 0; pointer-events: none; transform: translateY(-50%); }
  .lb__nav .lb__btn { pointer-events: auto; width: 56px; height: 56px; }
}

/* ---------- CTA צף במובייל ---------- */
.float-cta {
  position: fixed; inset: auto 12px 12px; z-index: 20;
  transform: translateY(140%); transition: transform .4s var(--ease);
}
.float-cta.is-visible { transform: none; }
.float-cta .btn { width: 100%; box-shadow: 0 18px 36px -18px color-mix(in oklab, var(--text) 80%, transparent); }
@media (min-width: 900px) { .float-cta { display: none; } }

/* ---------- אנימציית כניסה עדינה ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .g-item img { transition: none; }
}

/* רשימת "איך זה עובד" כעמודה נפרדת */
@media (min-width: 900px) { .split > .checks { margin-top: 0; align-self: center; } }
