/* ערכת בהיר (ברירת מחדל) */
:root {
  --bg: #faf8f5;
  --surface: #ffffff;
  --tint: #f1ede6;
  --ink: #15181f;
  --muted: #555b69;
  --line: #e3ddd2;
  --accent: #b81c2b;
  --accent-ink: #ffffff;
  --gold: #8a6a36;
  --dark: #12151c;
  --dark-ink: #f3efe8;
  --dark-muted: #bdb8ae;
  --dark-accent: #e2c08a;
  --header: rgba(250, 248, 245, .92);
  --shadow: 0 18px 40px -22px rgba(21, 24, 31, .35);
  --radius: 14px;
  --serif: "Frank Ruhl Libre", "Times New Roman", serif;
  --sans: "Heebo", system-ui, "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}

/* ערכת כהה: רקע אפור-פחם ולא שחור, וטקסט אפור בהיר ולא לבן, כמו בעורכי קוד (VS Code Dark Modern: רקע #1F1F1F, טקסט #CCCCCC).
   ניגודיות רכה יותר מלבן על שחור, ועדיין קריאה (מעל 7:1) */
[data-theme="dark"] {
  --bg: #1f1f1f;
  --surface: #262626;
  --tint: #1a1a1a;
  --ink: #d6d6d6;
  --muted: #a0a0a0;
  --line: #353535;
  --accent: #e3767f;
  --accent-ink: #1f1f1f;
  --gold: #c9a96e;
  --dark: #181818;
  --dark-ink: #d6d6d6;
  --dark-muted: #a0a0a0;
  --dark-accent: #c9a96e;
  --header: rgba(31, 31, 31, .94);
  --shadow: 0 18px 40px -22px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
/* מעבר נעים בין בהיר לכהה, רק בזמן ההחלפה */
.theme-anim, .theme-anim * { transition: background-color .35s ease, color .35s ease, border-color .35s ease !important; }

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .4em; line-height: 1.15; font-weight: 700; }
h1, h2 { font-family: var(--serif); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.eyebrow { margin: 0 0 .6rem; color: var(--accent); font-size: .85rem; font-weight: 700; letter-spacing: .06em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* נגישות: דילוג לתוכן ומיקוד */
.skip {
  position: fixed; top: 10px; right: 10px; z-index: 100;
  padding: 10px 18px; background: var(--ink); color: var(--bg); border-radius: 8px;
  transform: translateY(-150%); transition: transform .2s;
}
.skip:focus { transform: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* כפתורים */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 26px;
  background: var(--ink); color: var(--bg);
  border: 1.5px solid var(--ink); border-radius: 999px;
  font-weight: 500; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn--small { min-height: 40px; padding: 0 18px; font-size: .95rem; direction: ltr; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.link { color: var(--accent); font-weight: 500; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* כותרת עליונה */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--header);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__in { display: flex; align-items: center; gap: 24px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { background: #fff; border-radius: 6px; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.2; }
.brand__txt b { font-family: var(--serif); font-size: 1.15rem; }
.brand__txt small { color: var(--muted); font-size: .78rem; }
.nav { display: flex; gap: 24px; margin-inline-start: auto; }
.nav a { position: relative; text-decoration: none; font-size: .97rem; color: var(--muted); }
.nav a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -4px; height: 1.5px;
  background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .25s;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.topbar__contact { display: flex; align-items: center; gap: 12px; }
.topbar__mail { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; text-decoration: none; direction: ltr; }
.topbar__mail:hover { color: var(--ink); }
.theme-toggle {
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border: 1.5px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer;
}
.theme-toggle:hover { border-color: var(--ink); }
.theme-toggle .i-sun, [data-theme="dark"] .theme-toggle .i-moon { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: block; }

/* פתיחה על כל המסך: התמונה היא הרקע של כל המסך, והטקסט בתוכה */
.hero {
  position: relative; display: flex; align-items: center;
  min-height: calc(100svh - 71px); overflow: hidden;
  background: #fff; color: #15181f;
}
/* כשהבאנר עולה על התמונה, משאירים לו מקום כדי שייראה כבר במסך הראשון */
[data-cta="merged"] .hero, [data-cta="band"] .hero, [data-cta="glass"] .hero { min-height: max(520px, calc(100svh - 71px - 60px));
}
.hero__bg img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 20% 65%;
}
/* הלבנה עדינה מאחורי הטקסט, כדי שתמיד יהיה קריא */
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .8) 36%, transparent 60%); pointer-events: none; }
.hero__in { position: relative; z-index: 1; display: flex; }
.hero__text { max-width: min(540px, 44vw); padding: 40px 0 120px; }
.hero .eyebrow { color: #b81c2b; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); margin-bottom: .3em; }
.hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #3d4250; margin: 0; }
[data-theme="dark"] .hero__bg img { filter: brightness(.95); }
/* קטע הסרטון יושב מעל התמונה. אם אין וידאו (או הפחתת תנועה), רואים את התמונה */
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.hero__replay {
  position: absolute; z-index: 2; left: 24px; top: 20px;
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border: 0; border-radius: 999px; background: rgba(21, 24, 31, .72); color: #fff;
  font: 500 .92rem var(--sans); cursor: pointer; backdrop-filter: blur(4px);
}
.hero__replay:hover { background: #b81c2b; }
.hero__replay[hidden] { display: none; }
/* פתיחה נקייה (הנפשה / תמונה בלבד): רקע לבן כמו בתמונה, כותרת וכפתור אחד בכחול של החליפה */
[data-hero="anim"] .hero, [data-hero="still"] .hero, [data-hero="slider"] .hero { --hero-ink: #082a39; background: #fff; }
[data-hero="anim"] .hero::after, [data-hero="still"] .hero::after, [data-hero="slider"] .hero::after { display: none; }
[data-hero="anim"] .hero__lead, [data-hero="still"] .hero__lead, [data-hero="slider"] .hero__lead { display: none; }

[data-hero="anim"] .hero h1, [data-hero="still"] .hero h1, [data-hero="slider"] .hero h1 { color: var(--hero-ink); font-size: clamp(2.8rem, 5.6vw, 5rem); line-height: 1.12; }
[data-hero="anim"] .hero__actions .btn, [data-hero="still"] .hero__actions .btn, [data-hero="slider"] .hero__actions .btn { background: var(--hero-ink); border-color: var(--hero-ink); }
[data-hero="anim"] .hero__text, [data-hero="still"] .hero__text, [data-hero="slider"] .hero__text { max-width: min(520px, 38vw); padding: 0 0 40px; }
[data-hero="anim"] .hero__video { object-position: 0% 100%; }
[data-hero="anim"] .hero__replay { top: auto; bottom: 30px; left: 100px; background: rgba(8, 42, 57, .8); }

/* "מה מתאים לכם?": פס דק מתחת לפתיחה, ארבעה קישורים מופרדים בקו */
.paths { background: var(--surface); border-bottom: 1px solid var(--line); }
.paths__in { display: flex; align-items: stretch; min-height: 64px; }
.paths__title { display: flex; align-items: center; margin: 0; padding-inline-end: 24px; font-family: var(--serif); font-size: 1.1rem; font-weight: 700; white-space: nowrap; }
.paths a {
  flex: 1; display: flex; align-items: center; justify-content: center; padding: 10px 14px;
  border-inline-start: 1px solid var(--line); color: var(--ink); font-size: .95rem; font-weight: 500;
  text-align: center; text-decoration: none; transition: color .2s, background .2s;
}
.paths a:hover { color: var(--accent); background: var(--tint); }
.dot { display: inline-block; width: 9px; height: 9px; margin-inline-end: 8px; border-radius: 50%; background: #2bb673; box-shadow: 0 0 0 4px rgba(43, 182, 115, .2); vertical-align: middle; }

/* באנר הזמנה, משותף לכל הסגנונות */
.cta-band__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band__title { margin: 0; font-family: var(--serif); font-size: 1.5rem; font-weight: 700; }
.cta-band__sub { margin: 4px 0 0; }
.cta-band__hours { margin: 8px 0 0; font-size: .92rem; font-weight: 500; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__actions { display: none; }

/* סגנון "merged" (ברירת מחדל): כרטיס שעולה על תחתית התמונה */
[data-cta="merged"] .cta-band { position: relative; z-index: 2; margin-top: -92px; }
[data-cta="merged"] .cta-band__in {
  padding: 28px 34px; background: var(--surface); color: var(--ink); border: 1px solid var(--line);
  border-radius: 20px; box-shadow: 0 30px 60px -28px rgba(21, 24, 31, .5);
  border-inline-start: 5px solid var(--accent);
}
[data-cta="merged"] .cta-band__sub { color: var(--muted); }
[data-cta="merged"] .logos { margin-top: 48px; border-top: 0; }

/* סגנון "glass": לוח שקוף-למחצה בתוך התמונה עצמה */
[data-cta="glass"] .cta-band { position: relative; z-index: 2; margin-top: -150px; margin-bottom: 40px; }
[data-cta="glass"] .cta-band__in {
  padding: 24px 30px; color: #15181f; border-radius: 20px;
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 20px 50px -24px rgba(21, 24, 31, .45);
}
[data-cta="glass"] .cta-band__sub { color: #3d4250; }
[data-cta="glass"] .cta-band .btn { background: #15181f; color: #fff; border-color: #15181f; }
[data-cta="glass"] .cta-band .btn--ghost { background: transparent; color: #15181f; }
[data-cta="glass"] .cta-band .btn:hover { background: #b81c2b; border-color: #b81c2b; color: #fff; }

/* סגנון "inline": הכפתורים בתוך טקסט הפתיחה, בלי באנר נפרד */
[data-cta="inline"] .cta-band { display: none; }
[data-cta="inline"] .hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
[data-cta="inline"] .hero__actions .btn { background: #15181f; color: #fff; border-color: #15181f; }
[data-cta="inline"] .hero__actions .btn--ghost { background: rgba(255, 255, 255, .7); color: #15181f; }
[data-cta="inline"] .hero__actions .btn:hover { background: #b81c2b; border-color: #b81c2b; color: #fff; }
.hero__hours { flex-basis: 100%; margin: 6px 0 0; font-size: .95rem; font-weight: 500; color: #3d4250; }

/* סגנון "band": פס כהה מלא מתחת לתמונה */
[data-cta="band"] .cta-band { background: var(--ink); color: var(--bg); }
[data-cta="band"] .cta-band__in { padding: 26px 0; }
[data-cta="band"] .cta-band__sub { opacity: .85; }
[data-cta="band"] .cta-band .btn { background: var(--bg); color: var(--ink); border-color: var(--bg); }
[data-cta="band"] .cta-band .btn:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
[data-cta="band"] .cta-band .btn--ghost { background: transparent; color: var(--bg); border-color: currentColor; }

/* לוגואים */
.logos { padding: 28px 0 34px; background: var(--surface); border-block: 1px solid var(--line); }
.logos__head { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 18px; }
.logos__title { margin: 0; font: 400 .95rem var(--sans); color: var(--muted); }
.marquee__toggle { padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-size: .8rem; cursor: pointer; }
.marquee__toggle:hover { color: var(--ink); border-color: var(--ink); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: scroll 40s linear infinite; }
.marquee:hover .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; align-items: center; gap: 64px; margin: 0; padding: 0 32px; list-style: none; }
.marquee__list li { padding: 6px 10px; background: #fff; border-radius: 8px; }
.marquee__list img { height: 52px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.marquee__list img:hover { filter: none; opacity: 1; }
@keyframes scroll { to { transform: translateX(50%); } }

/* מקטעים */
.section { padding: 96px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--dark); color: var(--dark-ink); }
.section--dark .eyebrow { color: var(--dark-accent); }
.section--dark .section__head p:last-child { color: var(--dark-muted); }
.section__head { max-width: 680px; margin-bottom: 44px; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; max-width: none; }

/* מכירים את זה */
.pain__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0 0 40px; padding: 0; list-style: none; }
.pain__list li { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--muted); }
.pain__list b { display: block; margin-bottom: 6px; color: var(--ink); font-family: var(--serif); font-size: 1.3rem; }
.pain__quote { margin: 0 0 22px; padding-inline-start: 22px; border-inline-start: 3px solid var(--accent); }
.pain__quote p { margin: 0; font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.4; }
.pain__answer { max-width: 46em; font-size: 1.12rem; color: var(--muted); }
.pain__answer strong { color: var(--ink); }

/* כרטיסי פרויקטים */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; overflow: hidden; margin: 0; border-radius: var(--radius); background: #15181f; aspect-ratio: 4 / 3; }
.card--wide { grid-column: span 2; aspect-ratio: auto; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card__info {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px; color: #fff;
  background: linear-gradient(to top, rgba(12, 14, 19, .9) 0%, rgba(12, 14, 19, .3) 45%, transparent 70%);
  transition: background .35s;
}
.card__info h3 { font-size: 1.25rem; margin: 8px 0 0; }
.card__info p {
  margin: 0; max-height: 0; opacity: 0; overflow: hidden; font-size: .95rem; color: #ece8e0;
  transition: max-height .45s ease, opacity .35s ease, margin .35s;
}
.tag { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); font-size: .78rem; font-weight: 500; }
.card:hover img, .card:focus-within img { transform: scale(1.05); }
.card:hover .card__info p, .card:focus .card__info p { max-height: 190px; opacity: 1; margin-top: 8px; }
.card:hover .card__info, .card:focus .card__info { background: linear-gradient(to top, rgba(12, 14, 19, .93) 0%, rgba(12, 14, 19, .6) 60%, rgba(12, 14, 19, .2) 100%); }

/* סינון פרויקטים */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: -16px 0 28px; }
.filter {
  min-height: 42px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--ink); font: inherit; font-size: .95rem; cursor: pointer;
}
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.card[hidden] { display: none; }

/* תפריט מייל */
.mail-menu {
  position: fixed; z-index: 90; min-width: 220px; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
}
.mail-menu a, .mail-menu button {
  display: block; width: 100%; padding: 11px 14px; border: 0; border-radius: 9px;
  background: none; color: var(--ink); font: inherit; text-align: start; text-decoration: none; cursor: pointer;
}
.mail-menu a:hover, .mail-menu button:hover, .mail-menu :focus-visible { background: var(--tint); }

/* שורת הרווח */
.value { display: grid; grid-template-columns: 360px 1fr; gap: 48px; align-items: center; }
.value__img { width: 100%; border-radius: var(--radius); }
.value__list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0; padding: 0; list-style: none; }
.value__list li { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--muted); }
.value__list b { display: block; margin-bottom: 4px; color: var(--ink); font-size: 1.1rem; }
.feature {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px;
  margin-top: 64px; padding: 44px; border-radius: 22px; background: var(--dark); color: var(--dark-ink);
}
.feature h3 { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.4rem); }
.feature p { color: var(--dark-muted); }
.feature .feature__punch { color: var(--dark-accent); font-family: var(--serif); font-size: 1.4rem; font-weight: 700; margin: 0; }
.feature img { width: 100%; border-radius: var(--radius); }

/* לפני ואחרי */
.case { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.compare { position: relative; overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); user-select: none; }
.compare:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare__before img { width: 100%; height: 100%; object-fit: cover; }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; direction: ltr; }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #b81c2b; pointer-events: none; }
.compare__handle::after {
  content: "⇆"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 42px; height: 42px; background: #b81c2b; color: #fff; border-radius: 50%; font-size: 1.1rem;
}
.compare__label { position: absolute; top: 14px; padding: 4px 12px; border-radius: 999px; background: #15181f; color: #fff; font-size: .8rem; pointer-events: none; }
.compare__label--before { right: 14px; }
.compare__label--after { left: 14px; background: #b81c2b; }

/* שירותים */
.services { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 18px; }
.service {
  display: flex; flex-direction: column; padding: 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; transition: border-color .25s, transform .25s, box-shadow .25s;
}
.service:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow); }
.service p { color: var(--muted); font-size: .97rem; }
.service__num { font-family: var(--serif); color: var(--gold); font-size: 1.6rem; margin-bottom: 18px; }
.service--main { padding: 0; overflow: hidden; background: var(--dark); color: var(--dark-ink); border-color: var(--dark); }
.service--main img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.service--main div { padding: 24px 28px 28px; }
.service--main h3 { font-family: var(--serif); font-size: 1.5rem; }
.service--main p { color: var(--dark-muted); }
.service--main .link { color: var(--dark-accent); }

/* תהליך */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 34px 22px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .2); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--dark-accent); line-height: 1; margin-bottom: 12px; }
.steps b { display: block; margin-bottom: 6px; font-size: 1.02rem; }
.steps span { color: var(--dark-muted); font-size: .93rem; line-height: 1.6; }
.steps__note { margin: 36px 0 0; color: var(--dark-muted); }

/* אודות */
.about { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: center; }
.about__img { width: 100%; border-radius: 200px 200px var(--radius) var(--radius); box-shadow: var(--shadow); }
.about p { color: var(--muted); max-width: 40em; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
.pillars li { padding: 16px; border: 1px solid var(--line); border-radius: 12px; font-size: .92rem; color: var(--muted); }
.pillars b { display: block; color: var(--ink); font-family: var(--serif); font-size: 1.1rem; margin-bottom: 4px; }

/* המלצות: גלילה הצידה */
.slider__nav { display: flex; gap: 10px; }
.slider__btn {
  width: 46px; height: 46px; border: 1.5px solid var(--ink); border-radius: 50%;
  background: transparent; color: var(--ink); font-size: 1.2rem; cursor: pointer;
}
.slider__btn:hover { background: var(--ink); color: var(--bg); }
.quotes {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 10px;
  scrollbar-width: thin;
}
.quote { margin: 0; padding: 30px; background: var(--surface); border-radius: var(--radius); display: flex; flex-direction: column; justify-content: space-between; scroll-snap-align: start; }
.quote blockquote { margin: 0 0 22px; font-family: var(--serif); font-size: 1.12rem; line-height: 1.6; }
.quote figcaption { display: flex; flex-direction: column; color: var(--muted); font-size: .9rem; }
.quote figcaption b { color: var(--ink); }

/* צור קשר */
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.contact__card { padding: 34px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.contact__card dl { margin: 0 0 22px; }
.contact__card dl div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact__card dt { color: var(--muted); }
.contact__card dd { margin: 0; font-weight: 500; }
.contact__card dd span { white-space: nowrap; }
.contact__card a { text-decoration: none; }

.footer { padding: 44px 0 120px; border-top: 1px solid var(--line); text-align: center; }
.footer__in { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.footer__in img { background: #fff; border-radius: 6px; }
.footer__motto { font-family: var(--serif); font-size: 1.4rem; margin: 6px 0 0; }

/* כפתורים צפים */
.float { position: fixed; bottom: 22px; z-index: 60; transition: opacity .3s, transform .3s, visibility .3s; }
/* בטלפון, בזמן שמסך הפתיחה גלוי, הכפתורים הצפים מוסתרים כדי לא לכסות את הבאנר */
@media (max-width: 760px) { .floats-hidden .float { opacity: 0; visibility: hidden; transform: translateY(16px); } }
.float--video { right: 22px; display: flex; flex-direction: column; align-items: center; gap: 6px; animation: rise .6s 1.2s both; }
.float--wa { left: 22px; }
.bubble {
  position: relative; width: 132px; height: 132px; padding: 0; overflow: hidden;
  border: 3px solid #fff; border-radius: 50%; background: #15181f; cursor: pointer;
  box-shadow: var(--shadow), 0 0 0 0 rgba(184, 28, 43, .5);
  animation: pulse 2.4s 2s 3; transition: transform .2s;
}
.bubble video { width: 100%; height: 100%; object-fit: cover; }
.bubble__play { position: absolute; inset-inline-end: 6px; bottom: 6px; width: 26px; height: 26px; border-radius: 50%; background: #b81c2b; }
.bubble__play::after { content: ""; position: absolute; top: 8px; left: 10px; border: 5px solid transparent; border-left: 8px solid #fff; }
.bubble:hover { transform: scale(1.05); }
.bubble__label { padding: 2px 10px; background: var(--surface); color: var(--ink); border-radius: 999px; font-size: .78rem; box-shadow: var(--shadow); }
.bubble__close {
  position: absolute; top: -8px; left: -8px; width: 28px; height: 28px; padding: 0;
  border: 0; border-radius: 50%; background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow); cursor: pointer; font-size: 18px; line-height: 28px;
}
.wa {
  display: grid; place-items: center; width: 60px; height: 60px; padding: 0;
  border: 0; border-radius: 50%; background: #1f9d55; color: #fff; cursor: pointer;
  box-shadow: var(--shadow); transition: transform .2s;
}
.wa:hover { transform: scale(1.06); }
.wa-menu { position: absolute; bottom: 72px; left: 0; min-width: 190px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.wa-menu a { display: block; padding: 10px 14px; border-radius: 9px; text-decoration: none; }
.wa-menu a:hover { background: var(--tint); }
@keyframes pulse { 70% { box-shadow: var(--shadow), 0 0 0 16px rgba(184, 28, 43, 0); } 100% { box-shadow: var(--shadow), 0 0 0 0 rgba(184, 28, 43, 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }

.modal { width: min(960px, 92vw); padding: 0; border: 0; border-radius: 16px; background: #000; overflow: visible; }
.modal::backdrop { background: rgba(10, 12, 16, .82); }
.modal video { width: 100%; border-radius: 16px; }
.modal__close { position: absolute; top: -48px; left: 0; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: #15181f; font-size: 24px; cursor: pointer; }

/* מובייל */
@media (max-width: 1100px) {
  .topbar__mail span { display: none; }
  .services { grid-template-columns: 1fr 1fr; }
  .service--main { grid-column: span 2; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .value { grid-template-columns: 1fr; }
  .value__img { max-width: 360px; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .topbar__in { justify-content: space-between; gap: 12px; }
  .case, .about, .contact, .feature { grid-template-columns: 1fr; gap: 36px; }
  .feature { padding: 28px; }
  .about__img { max-width: 320px; }
  .section { padding: 72px 0; }
  .pain__list { grid-template-columns: 1fr; }
  .quotes { grid-auto-columns: 85%; }
}
@media (max-width: 760px) {
  /* בטלפון: התמונה ממלאת את כל המסך, והטקסט יושב על החלק הבהיר שלה למעלה */
  .hero { align-items: flex-start; min-height: calc(100svh - 64px); }
  .hero__bg img { object-position: 30% 100%; transform: none; }
  .hero::after { background: linear-gradient(to bottom, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .88) 34%, rgba(255, 255, 255, 0) 58%); }
  .hero__text { max-width: none; padding: 30px 0 0; }
  [data-cta="merged"] .cta-band { margin-top: -56px; }
  [data-cta="merged"] .cta-band__in, [data-cta="glass"] .cta-band__in { padding: 22px; }
  [data-cta="glass"] .cta-band { margin-top: -210px; }
  [data-cta="inline"] .hero__actions { margin-top: 20px; }
  .hero__video { object-position: 40% 100%; }
  .hero__replay { left: 14px; top: auto; bottom: 88px; }
  /* פתיחה נקייה בטלפון: הטקסט למעלה, וההנפשה או התמונה מתחתיו ברוחב מלא, על אותו רקע לבן */
  [data-hero="anim"] .hero, [data-hero="still"] .hero, [data-hero="slider"] .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  [data-hero="anim"] .hero__in, [data-hero="still"] .hero__in, [data-hero="slider"] .hero__in { order: -1; }
  [data-hero="anim"] .hero__text, [data-hero="still"] .hero__text, [data-hero="slider"] .hero__text { max-width: none; padding: 32px 0 8px; }
  [data-hero="anim"] .hero__video { position: relative; height: auto; aspect-ratio: 16 / 9; }
  [data-hero="anim"] .hero__bg { display: none; }
  [data-hero="still"] .hero__bg img, [data-hero="slider"] .hero__bg img { position: relative; height: auto; aspect-ratio: 4 / 3; object-position: 0% 100%; }
  [data-hero="anim"] .hero__replay { bottom: 12px; left: 12px; }
  .paths__in { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .paths__title { grid-column: 1 / -1; justify-content: center; padding: 14px 0 6px; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .topbar__in { min-height: 64px; }
  .grid, .value__list { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; aspect-ratio: 4 / 3; }
  .services { grid-template-columns: 1fr; }
  .service--main { grid-column: auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .brand__txt small { display: none; }
  .btn--small { padding: 0 12px; }
  .bubble { width: 96px; height: 96px; }
  .float--video { right: 14px; bottom: 14px; }
  .float--wa { left: 14px; bottom: 14px; }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { flex: 1; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
}
/* במסכי מגע אין ריחוף: ההסבר על הפרויקט מוצג תמיד */
@media (hover: none) {
  .card__info p { max-height: 190px; opacity: 1; margin-top: 8px; }
  .card__info { background: linear-gradient(to top, rgba(12, 14, 19, .93) 0%, rgba(12, 14, 19, .45) 60%, transparent 100%); }
}
@media (max-width: 420px) {
  .brand__txt { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ===== גרסה 8: כותרת עם צרו קשר ותפריט, שורה מוקלדת, גלריה, סרטון קבוע ===== */
.topbar__contact { margin-inline-start: auto; }
.topbar__phone { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .95rem; font-weight: 500; text-decoration: none; }
.topbar__phone:hover { color: var(--ink); }
.topbar__cta { direction: rtl; }
.menu-btn {
  display: grid; align-content: center; justify-items: center; gap: 5px; width: 46px; height: 46px; padding: 0;
  border: 1.5px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer;
}
.menu-btn span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s, opacity .2s; }
.menu-btn:hover { border-color: var(--ink); }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-menu { position: absolute; inset-inline: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100svh - 70px); overflow-y: auto; }
.site-menu__in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding-block: 28px 34px; }
.site-menu__links { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 32px; }
.site-menu__links a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.2rem; text-decoration: none; break-inside: avoid; }
.site-menu__links a:hover { color: var(--accent); }
.site-menu__side { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-inline-start: 32px; border-inline-start: 1px solid var(--line); }
.site-menu__side a { color: var(--muted); text-decoration: none; }
.site-menu__side a:hover { color: var(--ink); }
.site-menu__hours { margin: 0; font-weight: 500; }
.site-menu .theme-toggle { width: auto; height: 40px; padding: 0 16px; gap: 8px; display: inline-flex; align-items: center; border-radius: 999px; font: inherit; font-size: .9rem; }

/* שורה מוקלדת מתחת לכותרת, בצבע החליפה */
.hero__typed { min-height: 1.6em; margin: 0 0 4px; color: var(--hero-ink, #082a39); font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 500; }
.hero__typed-txt::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-inline-start: 3px; background: currentColor; vertical-align: -.15em; animation: caret 1s steps(1) infinite; }
.hero__typed.is-done .hero__typed-txt::after { animation: caret 1s steps(1) 3 forwards; }
@keyframes caret { 50% { opacity: 0; } 100% { opacity: 0; } }
:is([data-hero="anim"], [data-hero="still"], [data-hero="slider"]) .hero__hours { color: var(--hero-ink); }
[data-hero="clips"] .hero__typed { display: none; }

/* גלריית פתיחה: שקופיות מעל התמונה, חיצים גדולים בצדדים באמצע הגובה, הרחק מהכותרת ומהכפתורים הצפים */
.slides { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.slide { position: absolute; inset: 0; margin: 0; background: #fff; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s; }
.slide.is-on { opacity: 1; visibility: visible; pointer-events: auto; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide figcaption {
  position: absolute; right: max(16px, calc((100% - 1200px) / 2)); top: 24px;
  display: flex; flex-direction: column; padding: 14px 20px; border-radius: 14px;
  background: rgba(255, 255, 255, .92); color: #082a39; font-size: .95rem; box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .5);
}
.slide figcaption b { font-family: var(--serif); font-size: 1.25rem; }
.slides__arrow {
  position: absolute; z-index: 3; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 56px; height: 56px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: #082a39; cursor: pointer;
  box-shadow: 0 10px 26px -12px rgba(0, 0, 0, .45); transition: background .2s, color .2s;
}
.slides__arrow:hover { background: #082a39; color: #fff; }
.slides__arrow--next { left: 18px; }
.slides__arrow--prev { right: 18px; }
.slides__arrow[hidden], .slides[hidden], .slides__dots[hidden] { display: none; }
.slides__dots { position: absolute; z-index: 3; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.slides__dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(8, 42, 57, .3); cursor: pointer; }
.slides__dot[aria-current="true"] { background: #082a39; width: 26px; border-radius: 6px; }
/* בשקופית הראשונה החץ "הקודם" יושב על אזור הכותרת: מזיזים אותו מעט למטה */
.hero[data-slide="0"] .slides__arrow--prev { top: auto; bottom: 22px; transform: none; }

/* המלצות: שלוש בשורה, בלי גלילה */
.quotes--three { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; }

/* הסרטון במקום קבוע */
.meet { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: center; }
.meet__video { width: 100%; border-radius: var(--radius); background: #000; box-shadow: var(--shadow); }
.float--video-mini {
  right: 22px; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px;
  border: 0; border-radius: 999px; background: var(--ink); color: var(--bg); font: 500 .9rem var(--sans); cursor: pointer; box-shadow: var(--shadow);
}
.float--video-mini[hidden], .float--video[hidden] { display: none; }

@media (max-width: 860px) {
  .site-menu__in { grid-template-columns: 1fr; gap: 20px; padding-block: 16px 24px; }
  .site-menu__links { columns: 1; }
  .site-menu__side { padding: 0; border: 0; }
  .meet, .quotes--three { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 760px) {
  .topbar__phone span, .topbar__mail span { display: none; }
  .topbar__phone, .topbar__mail { width: 40px; height: 40px; justify-content: center; border: 1.5px solid var(--line); border-radius: 50%; color: var(--ink); }
  .menu-btn { width: 42px; height: 42px; }
  /* בטלפון: הכותרת נשארת למעלה, והשקופיות מתחלפות רק באזור התמונה שמתחתיה. החיצים באמצע גובה התמונה */
  .slides { top: auto; height: 75vw; }
  .slide img { object-fit: contain; }
  .slide figcaption { right: 12px; left: auto; top: 10px; padding: 8px 14px; font-size: .85rem; }
  .slide figcaption b { font-size: 1.05rem; }
  .slides__arrow, .hero[data-slide="0"] .slides__arrow--prev { top: auto; bottom: calc(37.5vw - 24px); transform: none; width: 48px; height: 48px; }
  .slides__arrow--next { left: 8px; }
  .slides__arrow--prev { right: 8px; }
  .slides__dots { bottom: 8px; }
  .float--video-mini { right: 14px; bottom: 14px; }
}
/* הכפתור בפתיחה בכחול של החליפה, גם כשהכפתורים בתוך טקסט הפתיחה */
[data-cta="inline"][data-hero] .hero__actions .btn { background: var(--hero-ink, #15181f); border-color: var(--hero-ink, #15181f); }
[data-cta="inline"][data-hero] .hero__actions .btn:hover { background: #b81c2b; border-color: #b81c2b; }

/* גרסה 11: הבית גדול, והכותרת בתוכו (תמונה עומדת, data-layout="house")
   השלב הוא החיתוך של התמונה (3442×1899), והטקסט ממוקם באחוזים ממנו, כך שהוא נשאר על הקיר בכל גודל מסך */
.hero__house { display: none; }
[data-hero="still"][data-layout="house"] .hero { display: grid; place-items: center; min-height: 0; padding: 8px 0 0; }
[data-hero="still"][data-layout="house"] .hero__bg { display: none; }
[data-hero="still"][data-layout="house"] :is(.hero__house, .hero__in) {
  grid-area: 1 / 1; width: min(100vw, (100svh - 90px) * 1.8126); aspect-ratio: 3442 / 1899; height: auto;
}
[data-hero="still"][data-layout="house"] .hero__house { display: block; }
[data-hero="still"][data-layout="house"] .hero__in { display: block; margin: 0; container-type: inline-size; }
[data-hero="still"][data-layout="house"] .hero__text { display: contents; }
/* הקיר האחורי של החדר, מתחת למנורות */
[data-hero="still"][data-layout="house"] .hero h1 {
  position: absolute; right: 37.2%; width: 19.6%; top: 35%; margin: 0;
  font-size: 2.3cqw; line-height: 1.18; text-align: center;
}
[data-hero="still"][data-layout="house"] .hero__typed {
  position: absolute; right: 37.2%; width: 19.6%; top: 48.5%; margin: 0;
  font-size: 1.2cqw; text-align: center; min-height: 0;
}
/* הכפתור ושעות הפעילות בשטח הלבן שמימין לבית */
[data-hero="still"][data-layout="house"] .hero__actions { position: absolute; right: 4%; top: 30%; width: 26%; margin: 0; }
@media (max-width: 760px) {
  /* בטלפון הקיר קטן מדי לטקסט: הכותרת מעל הבית, והבית ברוחב המסך */
  [data-hero="still"][data-layout="house"] .hero { display: flex; padding: 0; }
  [data-hero="still"][data-layout="house"] :is(.hero__house, .hero__in) { width: 100%; aspect-ratio: auto; }
  [data-hero="still"][data-layout="house"] .hero__in { width: min(1200px, 100% - 32px); container-type: normal; }
  [data-hero="still"][data-layout="house"] .hero__text { display: block; padding: 28px 0 4px; }
  [data-hero="still"][data-layout="house"] :is(.hero h1, .hero__typed, .hero__actions) { position: static; width: auto; text-align: start; }
  [data-hero="still"][data-layout="house"] .hero h1 { font-size: clamp(2.2rem, 9vw, 2.8rem); margin-bottom: .2em; }
  [data-hero="still"][data-layout="house"] .hero__typed { font-size: 1.15rem; min-height: 1.6em; }
}

/* גרסה 12: ?hero=banner. הבאנר מהסרטון כולל כבר את הכותרת, ולכן הכותרת בקוד נשמרת לקוראי מסך בלבד, ומתחת לבאנר רק הכפתור ושעות הפעילות */
.hero__banner { display: none; }
[data-hero="banner"] .hero { display: block; min-height: 0; padding: 0; background: #23211d; }
[data-hero="banner"] :is(.hero__bg, .hero__house, .hero__video, .hero__replay), [data-hero="banner"] .hero::after { display: none; }
[data-hero="banner"] .hero__banner { display: block; width: 100%; max-height: calc(100svh - 150px); height: auto; object-fit: cover; object-position: 50% 45%; }
[data-hero="banner"] .hero__in { position: static; display: block; padding-block: 14px; }
[data-hero="banner"] .hero__text { max-width: none; padding: 0; background: none; box-shadow: none; }
[data-hero="banner"] .hero h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[data-hero="banner"] :is(.hero__typed, .hero__lead) { display: none; }
[data-hero="banner"] .hero__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; margin: 0; }
[data-hero="banner"] .hero__hours { flex: 0 0 auto; width: auto; color: #e9e4da; margin: 0; }
@media (max-width: 760px) {
  [data-hero="banner"] .hero__banner { max-height: none; }
}

/* ?bubble=keys: תמונה עומדת של מפתח ובית בבועה, במקום התצוגה המקדימה מהסרטון */
.bubble__img { display: none; }
[data-bubble="keys"] .bubble video { display: none; }
[data-bubble="keys"] .bubble__img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* גרסה 13: ?hero=reel. האיש שהולך בסרטוט, התוכנית שהופכת לתלת-ממד, ובסוף הכותרת עולה על קיר החדר */
.hero__sub, .hero__quote { display: none; }
[data-hero="reel"] .hero { --hero-ink: #15181f; display: block; min-height: 0; height: calc(100svh - 71px); max-height: calc(100vw * 9 / 16); background: #c4c3c8; }
[data-hero="reel"] :is(.hero__bg, .hero__house, .hero__banner, .hero__typed, .hero__lead), [data-hero="reel"] .hero::after { display: none; }
[data-hero="reel"] .hero__video { object-position: 50% 50%; }
[data-hero="reel"] .hero__in { position: absolute; inset: 0; display: block; max-width: none; padding: 0; }
[data-hero="reel"] .hero__text { max-width: none; height: 100%; padding: 0; text-align: center; }
/* הכותרת על הקיר האחורי, עם הלבנה רכה מאחוריה כדי שתהיה קריאה על הסרטוט */
[data-hero="reel"] :is(.hero h1, .hero__sub, .hero__quote) { position: relative; margin: 0 auto; opacity: 0; transform: perspective(900px) rotateX(28deg) translateY(30px); transform-origin: 50% 100%; transition: opacity .9s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1); }
[data-hero="reel"] .hero h1 { margin-top: 5.5%; width: max-content; max-width: 92%; padding: .15em .6em; color: var(--hero-ink); font-size: clamp(2rem, 4.6vw, 4.6rem); line-height: 1.1; text-shadow: 0 0 18px #fff, 0 0 36px #fff, 0 0 6px #fff; background: radial-gradient(closest-side, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0)); }
[data-hero="reel"] .hero__sub { display: block; width: max-content; max-width: 92%; padding: .2em .8em; color: #2b2f38; font: 500 clamp(1rem, 1.9vw, 1.7rem) var(--sans); text-shadow: 0 0 12px #fff, 0 0 4px #fff; background: radial-gradient(closest-side, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0)); transition-delay: .35s; }
[data-hero="reel"] .hero.is-revealed :is(h1, .hero__sub, .hero__quote) { opacity: 1; transform: perspective(900px) rotateX(0) translateY(0); }
/* בתחתית: כפתור ושעות, על פס לבן שקוף-למחצה */
[data-hero="reel"] .hero__actions { position: absolute; opacity: 0; transition: opacity .8s ease .9s; }
[data-hero="reel"] .hero.is-revealed .hero__actions { opacity: 1; }
/* הציטוט של היזם מתחת לשורת המשנה, באותה הלבנה רכה */
[data-hero="reel"] .hero__quote { display: block; width: max-content; max-width: 80%; margin: .6em auto 0; padding: .2em 1em; text-shadow: 0 0 12px #fff, 0 0 4px #fff; background: radial-gradient(closest-side, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0)); transition-delay: .7s; }
[data-hero="reel"] .hero__quote p { display: inline; margin: 0; font: italic 500 clamp(.95rem, 1.3vw, 1.2rem) var(--serif); color: #15181f; }
[data-hero="reel"] .hero__quote footer { display: inline; margin-inline-start: .5em; font-size: .9rem; color: #b81c2b; }
[data-hero="reel"] .hero__actions { left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; align-items: center; gap: 16px; margin: 0; padding: 10px 12px 10px 20px; border-radius: 999px; background: rgba(255, 255, 255, .88); box-shadow: 0 6px 24px rgba(0, 0, 0, .12); }
[data-hero="reel"] .hero__actions .btn { background: var(--hero-ink); border-color: var(--hero-ink); }
[data-hero="reel"] .hero__hours { margin: 0; color: #15181f; white-space: nowrap; }
[data-hero="reel"] .hero__replay { top: 20px; bottom: auto; left: 24px; }
/* בטלפון: הסרטון ברוחב מלא, הכותרת עליו, והכפתור והשעות מתחתיו */
@media (max-width: 760px) {
  [data-hero="reel"] .hero { height: auto; max-height: none; background: #fff; }
  [data-hero="reel"] .hero__video { position: relative; display: block; height: auto; aspect-ratio: 16 / 9; }
  [data-hero="reel"] .hero__in, [data-hero="reel"] .hero__text { position: static; height: auto; }
  [data-hero="reel"] .hero h1, [data-hero="reel"] .hero .hero__sub { position: absolute; left: 0; right: 0; }
  [data-hero="reel"] .hero h1 { top: 2.5vw; margin-top: 0; font-size: 6.6vw; }
  [data-hero="reel"] .hero .hero__sub { top: 19.5vw; font-size: 3.6vw; }
  [data-hero="reel"] .hero__quote { margin-top: 14px; max-width: 92%; }
  [data-hero="reel"] .hero__actions { position: static; transform: none; flex-direction: column; gap: 10px; margin: 0; padding: 18px 16px 8px; border-radius: 0; background: none; box-shadow: none; opacity: 1; }
  [data-hero="reel"] .hero__replay { bottom: auto; top: calc(56.25vw - 50px); left: 10px; min-height: 36px; font-size: .85rem; }
}

/* גרסה 22 (6.11): לפי הערות האדריכלית */
/* "מה מתאים לכם?" בולט בראש העמוד: כפתורים מלאים, לא קישורים דקים */
.paths { background: var(--tint); border-bottom: 1px solid var(--line); }
.paths__in { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 12px; min-height: 0; padding-block: 14px; }
.paths__title { padding: 0; margin-inline-end: 6px; font-size: 1.15rem; }
.paths a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1.5px solid var(--ink);
  border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 600; font-size: 1rem; text-decoration: none;
  transition: background .2s, color .2s;
}
.paths a:hover, .paths a:focus-visible { background: var(--ink); color: var(--bg); }
@media (max-width: 760px) {
  .paths__in { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-block: 12px; }
  .paths__title { grid-column: 1 / -1; justify-content: center; margin: 0 0 2px; }
  .paths a { justify-content: center; min-height: 48px; padding: 6px 10px; text-align: center; font-size: .92rem; line-height: 1.3; }
}

/* כרטיס פרויקט נפתח לדף פרויקט */
.card { cursor: pointer; }
.card::after {
  content: "לכל התמונות ←"; position: absolute; top: 14px; left: 14px; padding: 4px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); color: #15181f; font-size: .78rem; font-weight: 600; opacity: 0; transition: opacity .25s;
}
.card:hover::after, .card:focus-visible::after { opacity: 1; }
@media (hover: none) { .card::after { opacity: 1; } }

/* ראו עוד דוגמאות */
.more { display: flex; justify-content: center; margin-top: 28px; }
.more__count { opacity: .7; font-weight: 400; margin-inline-start: 6px; }

/* דף פרויקט */
.project {
  width: min(1000px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 18px;
  background: var(--surface); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); overflow: auto;
}
.project::backdrop { background: rgba(10, 12, 16, .78); }
.project__head {
  position: sticky; top: 0; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 20px 26px 14px; background: var(--surface); border-bottom: 1px solid var(--line);
}
.project__tag { background: var(--tint); color: var(--ink); }
.project__title { margin: 8px 0 0; font-size: clamp(1.4rem, 3vw, 2rem); }
.project__close {
  flex: 0 0 auto; width: 42px; height: 42px; padding: 0; border: 1.5px solid var(--line); border-radius: 50%;
  background: var(--surface); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer;
}
.project__close:hover { border-color: var(--ink); }
.project__text { margin: 18px 26px 6px; color: var(--muted); font-size: 1.05rem; max-width: 60em; }
.project__gallery { display: grid; gap: 18px; padding: 14px 26px 28px; }
.project__gallery figure { margin: 0; }
.project__gallery img { width: 100%; height: auto; max-height: 78vh; object-fit: contain; border-radius: 12px; background: var(--tint); }
.project__gallery figcaption { margin-top: 6px; color: var(--muted); font-size: .9rem; }
@media (max-width: 700px) {
  .project { width: 100vw; max-width: 100vw; max-height: 100svh; height: 100svh; border-radius: 0; }
  .project__head, .project__gallery { padding-inline: 16px; }
  .project__text { margin-inline: 16px; }
}

/* סימון ברור שיש סרטון */
.meet__player { position: relative; }
.meet__play {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 0; border: 0; border-radius: var(--radius); background: rgba(10, 12, 16, .28); color: #fff; font: 600 1.05rem var(--sans); cursor: pointer;
}
.meet__play svg { width: 84px; height: 84px; padding: 20px 18px 20px 24px; border-radius: 50%; background: #b81c2b; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: transform .2s; }
.meet__play:hover svg { transform: scale(1.08); }
.meet__play[hidden] { display: none; }
/* הכפתורים בראש העמוד תופסים גובה, לכן הבאנר מתקצר כדי שהכפתור "קבעו שיחת היכרות" ייראה כבר במסך הראשון */
[data-hero="banner"] .hero__banner { max-height: calc(100svh - 71px - 74px - 78px); }
@media (max-width: 760px) {
  .paths__in { width: min(1200px, 100% - 24px); }
  [data-hero="banner"] .hero__banner { max-height: none; }
}

/* גרסה 25 (6.11): הבקשות האחרונות */
/* "מה מתאים לכם?": ריבועים מסודרים מעל התמונה, בלי עיגולים */
.paths { background: var(--surface); border-bottom: 1px solid var(--line); }
.paths__in { display: grid; grid-template-columns: auto repeat(4, 1fr); gap: 0; align-items: stretch; padding-block: 0; }
.paths__title { display: flex; align-items: center; margin: 0; padding: 0 0 0 22px; font-size: 1.05rem; }
.paths a, .paths a:nth-of-type(n) {
  justify-content: center; min-height: 60px; padding: 8px 14px; border: 0; border-inline-start: 1px solid var(--line);
  border-radius: 0; background: transparent; color: var(--ink); font-weight: 600; font-size: 1rem; text-align: center; line-height: 1.3;
}
.paths a:last-child { border-inline-end: 1px solid var(--line); }
.paths a:hover, .paths a:focus-visible { background: var(--ink); color: var(--bg); }
@media (max-width: 760px) {
  .paths__in { grid-template-columns: 1fr 1fr; width: 100%; }
  .paths__title { grid-column: 1 / -1; justify-content: center; padding: 12px 0 10px; border-bottom: 1px solid var(--line); }
  .paths a, .paths a:nth-of-type(n) { min-height: 56px; border-inline-start: 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
  .paths a:nth-of-type(odd) { border-inline-start: 1px solid var(--line); }
  .paths a:last-child { border-inline-end: 0; border-bottom: 0; }
  .paths a:nth-last-of-type(2) { border-bottom: 0; }
}

/* בועת הסרטון: תמונת הדס, וסימן play גדול וברור באמצע */
.bubble img { width: 100%; height: 100%; object-fit: cover; }
.bubble::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(10, 12, 16, .18); transition: background .2s; }
.bubble:hover::after { background: rgba(10, 12, 16, .05); }
.bubble__play {
  position: absolute; z-index: 1; inset: 50% auto auto 50%; inset-inline-end: auto; bottom: auto; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: #b81c2b; color: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, .55), 0 8px 20px rgba(0, 0, 0, .35);
  animation: playpulse 2.2s ease-out 1.5s 3;
}
.bubble__play::after { display: none; }
.bubble__play svg { margin-left: 3px; }
.bubble__label { font-weight: 600; font-size: .82rem; }
@keyframes playpulse { 0%, 100% { box-shadow: 0 0 0 5px rgba(255, 255, 255, .55), 0 8px 20px rgba(0, 0, 0, .35); } 50% { box-shadow: 0 0 0 11px rgba(255, 255, 255, .25), 0 8px 20px rgba(0, 0, 0, .35); } }
@media (max-width: 760px) { .bubble__play { width: 40px; height: 40px; } .bubble__play svg { width: 17px; height: 17px; } }
/* סימן ה-play בתחתית העיגול, כדי לא להסתיר את הפנים */
.bubble__play { inset: auto auto 10px 50%; transform: translateX(-50%); width: 44px; height: 44px; }
.bubble__play svg { width: 19px; height: 19px; }
.bubble::after { background: linear-gradient(to top, rgba(10, 12, 16, .45), transparent 45%); }
.bubble:hover::after { background: linear-gradient(to top, rgba(10, 12, 16, .3), transparent 45%); }
@media (max-width: 760px) { .bubble__play { width: 34px; height: 34px; bottom: 6px; } .bubble__play svg { width: 15px; height: 15px; } }

/* גרסה 27 (6.11): הערות האדריכלית */
/* כפתורי "מה מתאים לכם?" נשארים צמודים לכותרת העליונה גם כשגוללים, כדי שתמיד יהיה אפשר לקפוץ לנושא אחר */
.paths { position: sticky; top: 71px; z-index: 45; box-shadow: 0 6px 14px -12px rgba(0, 0, 0, .35); }
html { scroll-padding-top: 150px; }
@media (max-width: 760px) {
  .paths { top: 64px; }
  .paths__title { display: none; }
  .paths__in { grid-template-columns: repeat(4, 1fr); }
  .paths a, .paths a:nth-of-type(n) { min-height: 54px; padding: 4px 3px; border-bottom: 0; border-inline-start: 1px solid var(--line); font-size: .74rem; line-height: 1.25; }
  .paths a:first-of-type { border-inline-start: 0; }
  html { scroll-padding-top: 128px; }
}

/* מעבר בין לילה ליום בכותרת העליונה, ליד הלוגו והטלפון */
.topbar .theme-toggle { width: 40px; height: 40px; flex: 0 0 auto; }
@media (max-width: 420px) {
  .topbar__contact { gap: 6px; }
  .topbar .theme-toggle { width: 36px; height: 36px; }
}

/* טיוב: כותרת גדולה ותת-כותרת לדירה 84 */
.case__sub { margin: 4px 0 14px; font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--muted); font-weight: 700; }

/* סימן ה-play בצד העיגול, צמוד אליו, כדי שלא יסתיר את הפנים */
.bubble { overflow: visible; }
.bubble img { border-radius: 50%; }
.bubble::after { display: none; }
.bubble__play { inset: auto auto 2px -12px; transform: none; width: 46px; height: 46px; border: 3px solid #fff; }
@media (max-width: 760px) { .bubble__play { width: 36px; height: 36px; inset: auto auto 0 -10px; } }

/* דף פרויקט: גלריה במסך מלא על רקע בהיר ונעים (תכלת-שמנת), תמונה אחת בכל פעם עם חיצים */
.project {
  width: 100vw; max-width: 100vw; height: 100svh; max-height: 100svh; margin: 0; padding: 0; border-radius: 0; overflow: hidden;
  display: none; grid-template-rows: auto 1fr; background: linear-gradient(160deg, #eaf3f8 0%, #f7f3ec 100%); color: #15181f;
}
.project[open] { display: grid; }
.project::backdrop { background: #eaf3f8; }
.project__head { position: static; padding: 18px 28px 10px; background: transparent; border-bottom: 1px solid rgba(21, 24, 31, .1); }
.project__intro { max-width: 70em; }
.project__tag { background: #fff; color: #15181f; }
.project__title { color: #15181f; margin: 6px 0 4px; }
.project__text { margin: 0; color: #4a5060; font-size: 1rem; }
.project__close { background: #fff; color: #15181f; border-color: rgba(21, 24, 31, .2); }
.project__stage { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; min-height: 0; padding: 14px 16px 18px; gap: 8px; }
.project__figure { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; min-height: 0; margin: 0; }
.project__img { max-width: 100%; max-height: calc(100% - 44px); width: auto; height: auto; object-fit: contain; border-radius: 10px; background: #fff; box-shadow: 0 20px 50px -25px rgba(21, 24, 31, .45); }
.project__caption { display: flex; gap: 12px; align-items: baseline; justify-content: center; margin-top: 12px; color: #2c313c; font-size: 1rem; text-align: center; }
.project__counter { color: #8a6a36; font-weight: 700; direction: ltr; }
.project__arrow {
  display: grid; place-items: center; width: 56px; height: 56px; padding: 0; border: 1.5px solid rgba(21, 24, 31, .2);
  border-radius: 50%; background: #fff; color: #15181f; cursor: pointer; box-shadow: 0 8px 20px -10px rgba(21, 24, 31, .4); transition: transform .15s;
}
.project__arrow:hover { transform: scale(1.07); }
.project__arrow[hidden] { visibility: hidden; display: grid; }
@media (max-width: 700px) {
  .project__head { padding: 12px 14px 8px; }
  .project__text { font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .project__stage { grid-template-columns: 1fr; grid-template-rows: 1fr auto; padding: 10px 10px 14px; }
  .project__figure { grid-row: 1; }
  .project__arrow { position: absolute; bottom: 18px; width: 48px; height: 48px; }
  .project__arrow--next { left: 14px; }
  .project__arrow--prev { right: 14px; }
  .project__caption { margin-bottom: 64px; font-size: .92rem; padding-inline: 8px; }
}

/* כפתור "קבעו שיחת היכרות" בפס שמתחת לבאנר: אדום הלוגו, כדי שיבלוט על הרקע הכהה */
[data-cta="inline"][data-hero="banner"] .hero__actions .btn { background: #b81c2b; border-color: #b81c2b; color: #fff; }
[data-cta="inline"][data-hero="banner"] .hero__actions .btn:hover { background: #9a1522; border-color: #9a1522; }

/* גרסה 29 (6.11): פס לבן דק בין תמונות הפרויקטים, כדי שהגבול בין פרויקט לפרויקט יהיה ברור */
.grid { gap: 3px; padding: 3px; background: #fff; border-radius: 4px; }
.grid .card { border-radius: 0; }

/* ההסבר לכל תמונה מוצג רק בתצוגה המפוצלת */
.project__explain { display: none; }

/* תצוגה מפוצלת (?gallery=split): חצי מסך תמונה, חצי מסך הסבר */
[data-gallery="split"] .project[open] { grid-template-columns: minmax(320px, 1fr) 1.25fr; grid-template-rows: 1fr; }
[data-gallery="split"] .project__head {
  position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 0; overflow-y: auto;
  padding: 56px clamp(24px, 4vw, 64px); border-bottom: 0; border-inline-end: 1px solid rgba(21, 24, 31, .1); background: rgba(255, 255, 255, .55);
}
[data-gallery="split"] .project__close { position: absolute; top: 18px; inset-inline-start: 18px; }
[data-gallery="split"] .project__title { font-size: clamp(1.8rem, 3vw, 2.6rem); }
[data-gallery="split"] .project__text { font-size: 1.02rem; line-height: 1.7; }
[data-gallery="split"] .project__explain { display: block; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(21, 24, 31, .14); }
[data-gallery="split"] .project__exp-title { margin: 0 0 10px; color: #8a6a36; font-size: 1.15rem; }
[data-gallery="split"] .project__exp-text { margin: 0; color: #2c313c; font-size: 1.12rem; line-height: 1.75; }
[data-gallery="split"] .project__captxt { display: none; }
[data-gallery="split"] .project__stage { padding: 24px 16px; }
@media (max-width: 860px) {
  [data-gallery="split"] .project[open] { grid-template-columns: 1fr; grid-template-rows: 52svh 1fr; }
  [data-gallery="split"] .project__stage { grid-row: 1; padding: 10px 10px 8px; }
  [data-gallery="split"] .project__head { grid-row: 2; justify-content: flex-start; padding: 18px 18px 28px; border-inline-end: 0; border-top: 1px solid rgba(21, 24, 31, .1); }
  [data-gallery="split"] .project__close { position: fixed; top: 10px; inset-inline-start: 10px; z-index: 2; }
  [data-gallery="split"] .project__text { display: block; -webkit-line-clamp: unset; font-size: .95rem; }
  [data-gallery="split"] .project__explain { margin-top: 16px; padding-top: 14px; }
  [data-gallery="split"] .project__exp-text { font-size: 1rem; }
  [data-gallery="split"] .project__stage { position: relative; }
  [data-gallery="split"] .project__arrow { position: absolute; top: 50%; bottom: auto; z-index: 2; width: 42px; height: 42px; transform: translateY(-50%); }
  [data-gallery="split"] .project__arrow:hover { transform: translateY(-50%); }
  [data-gallery="split"] .project__arrow--next { left: 8px; }
  [data-gallery="split"] .project__arrow--prev { right: 8px; }
  [data-gallery="split"] .project__caption { margin-bottom: 0; }
  [data-gallery="split"] .project__img { max-height: calc(100% - 30px); }
}

/* גרסה 32: כותרת נושא לכל פרויקט (שינויי דיירים, תכנון, טיוב...) */
.card__topic {
  position: absolute; top: 0; inset-inline-start: 0; z-index: 1; padding: 6px 14px;
  background: #b81c2b; color: #fff; font-size: .85rem; font-weight: 700; letter-spacing: .01em;
}
.project__topic { margin: 0 0 8px; color: #b81c2b; font-size: 1rem; font-weight: 800; }
[data-gallery="split"] .project__topic { font-size: 1.1rem; }

/* מעבר בין פרויקטים בתוך התצוגה המלאה */
.project__head { display: flex; align-items: flex-start; gap: 16px; }
.project__intro { flex: 1 1 auto; min-width: 0; }
.project__nav { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; margin-inline-start: auto; }
.project__nav[hidden] { display: none; }
.project__step {
  display: inline-flex; align-items: center; gap: 6px; max-width: 220px; min-height: 40px; padding: 6px 14px;
  border: 1.5px solid rgba(21, 24, 31, .22); border-radius: 999px; background: #fff; color: #15181f;
  font: 600 .9rem var(--sans); cursor: pointer; white-space: nowrap;
}
.project__step-txt { overflow: hidden; text-overflow: ellipsis; }
.project__step:hover { background: #15181f; border-color: #15181f; color: #fff; }
.project__pos { color: #4a5060; font-size: .85rem; white-space: nowrap; }
[data-gallery="split"] .project__nav { flex-wrap: wrap; margin: 28px 0 0; }
@media (max-width: 1000px) {
  .project__head { position: relative; flex-wrap: wrap; }
  .project__intro { padding-inline-end: 52px; }
  .project__close { position: absolute; top: 10px; inset-inline-end: 12px; }
  .project__nav { order: 3; flex-wrap: wrap; width: 100%; margin: 0; gap: 6px 8px; justify-content: space-between; }
  .project__pos { order: -1; width: 100%; text-align: center; font-size: .78rem; }
  .project__step { flex: 1 1 0; min-width: 0; max-width: calc(50% - 4px); justify-content: center; font-size: .82rem; padding: 6px 10px; min-height: 36px; }
  [data-gallery="split"] .project__intro { padding-inline-end: 0; }
}
@media (max-width: 860px) {
  [data-gallery="split"] .project__nav { margin-top: 18px; }
}
@media (max-width: 860px) {
  [data-gallery="split"] .project__nav { order: -1; margin: 0 0 16px; padding-bottom: 14px; border-bottom: 1px solid rgba(21, 24, 31, .1); }
}
[data-gallery="split"] .project__head { flex-wrap: nowrap; }
.filters[hidden] { display: none; }

/* גרסה 37 (6.11): פס ניווט בלי "מה מתאים לכם?": דף הבית, שלושת התחומים והסרטון */
.paths__in { grid-template-columns: .7fr 1fr 1fr 1fr .7fr; }
.paths a svg { flex: 0 0 auto; }
.paths__home, .paths__video { gap: 8px; }
.paths__video svg { color: #b81c2b; }
.paths a[aria-current="true"] { box-shadow: inset 0 -3px 0 #b81c2b; color: var(--ink); }
.paths a[aria-current="true"]:hover { color: var(--bg); }
@media (max-width: 760px) {
  .paths__in { grid-template-columns: .62fr 1fr 1fr 1fr .62fr; }
  .paths__home, .paths__video { flex-direction: column; gap: 2px; }
  .paths a, .paths a:nth-of-type(n) { font-size: .72rem; }
}
@media (max-width: 380px) {
  .paths__home span, .paths__video span { font-size: .66rem; }
}

/* מספר התחום (1, 2, 3) לפני הכותרת הקטנה של כל סקשן */
.topic-num {
  display: inline-grid; place-items: center; width: 1.7em; height: 1.7em; margin-inline-end: 8px;
  border-radius: 50%; background: #b81c2b; color: #fff; font-weight: 700; font-size: .85em; vertical-align: middle;
}
.case__open { margin-top: 18px; }

/* 3. ליווי אישי לרוכשי דירות */
.buyers { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.buyers .lead { margin-bottom: 24px; }
.buyers__list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: b; }
.buyers__list li {
  position: relative; padding: 16px 20px; padding-inline-start: 60px; border: 1px solid var(--line); background: var(--surface);
  color: var(--muted); line-height: 1.55; counter-increment: b;
}
.buyers__list li::before {
  content: counter(b); position: absolute; top: 16px; inset-inline-start: 18px; display: grid; place-items: center;
  width: 28px; height: 28px; border: 1.5px solid #b81c2b; border-radius: 50%; color: #b81c2b; font-weight: 700; font-size: .9rem;
}
.buyers__list b { display: block; margin-bottom: 2px; color: var(--ink); font-size: 1.05rem; }
@media (max-width: 860px) { .buyers { grid-template-columns: 1fr; gap: 28px; } }

/* "קבעו שיחת היכרות" מתחת לבאנר: קרם בהיר, כמו השמיים בחלק העליון של התמונה */
[data-cta="inline"][data-hero="banner"] .hero__actions .btn { background: #efe7d6; border-color: #efe7d6; color: #15181f; }
[data-cta="inline"][data-hero="banner"] .hero__actions .btn:hover { background: #fff8ea; border-color: #fff8ea; color: #15181f; }

/* גרסת הלשוניות (?view=tabs): שלושת התחומים בלשוניות, שתי תמונות בכל פעם והסבר לצד כל תמונה */
.topics { display: none; }
[data-view="tabs"] .topics { display: block; }
[data-view="tabs"] #projects, [data-view="tabs"] #case, [data-view="tabs"] #buyers { display: none; }
.topics__tabs { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.topics__tabs [role="tab"] {
  display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 60px; padding: 10px 14px;
  border: 0; border-bottom: 3px solid transparent; background: none; color: var(--muted); font: 600 1.05rem var(--sans); cursor: pointer;
}
.topics__tabs [role="tab"]:hover { color: var(--ink); }
.topics__tabs [role="tab"][aria-selected="true"] { color: var(--ink); border-bottom-color: #b81c2b; }
.topics__tabs [role="tab"]:not([aria-selected="true"]) .topic-num { background: transparent; border: 1.5px solid currentColor; color: inherit; }
.topics__panel .section__head { margin-bottom: 28px; }
.trows { display: grid; gap: 18px; }
.trow {
  display: grid; grid-template-columns: minmax(0, 46%) 1fr; align-items: stretch; width: 100%; padding: 0;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-align: start; font: inherit;
}
button.trow { cursor: pointer; transition: border-color .2s, transform .2s; }
button.trow:hover { border-color: #b81c2b; }
.trow__img { overflow: hidden; background: #fff; }
.trow__img img { display: block; width: 100%; height: 100%; max-height: 300px; min-height: 230px; object-fit: cover; transition: transform .5s; }
button.trow:hover .trow__img img { transform: scale(1.03); }
.trows--plans .trow__img img { object-fit: contain; padding: 8px; }
.trow__body { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 24px 30px; }
.trow__body .tag { align-self: flex-start; }
.trow__body h3 { margin: 0; font-family: var(--serif); font-size: 1.45rem; }
.trow__body p { margin: 0; color: var(--muted); line-height: 1.65; }
.trow__body .link { margin-top: 4px; color: #b81c2b; font-weight: 600; }
.tpager { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px; }
.tpager__btn {
  min-height: 42px; padding: 6px 18px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface);
  color: var(--ink); font: 600 .95rem var(--sans); cursor: pointer;
}
.tpager__btn:hover { border-color: var(--ink); }
.tpager__pos { color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) {
  .topics__tabs { margin-bottom: 22px; }
  .topics__tabs [role="tab"] { flex-direction: column; min-height: 64px; padding: 8px 4px; font-size: .8rem; line-height: 1.25; text-align: center; }
  .topics__tabs .topic-num { margin: 0 0 2px; }
  .trow { grid-template-columns: 40% 1fr; }
  .trow__img img { min-height: 170px; max-height: 210px; }
  .trow__body { gap: 4px; padding: 12px 14px; }
  .trow__body h3 { font-size: 1.05rem; }
  .trow__body p { font-size: .82rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .trow__body .tag { font-size: .7rem; }
  .trow__body .link { font-size: .82rem; }
}
[data-view="tabs"] .topics { padding-top: 40px; }
.topics__tabs { margin-bottom: 22px; }
.topics__intro { margin: 0 0 18px; }
.trows { gap: 14px; }
.trow__img img { min-height: 200px; max-height: 250px; }
.trows--plans .trow__img img { max-height: 290px; }
@media (max-width: 760px) {
  [data-view="tabs"] .topics { padding-top: 24px; }
  .trow__img img { min-height: 170px; max-height: 210px; }
}

/* טופס יצירת קשר: נשלח מהאתר ישר למייל של הדס, בלי תוכנת מייל */
.cform { display: grid; gap: 14px; margin: 26px 0 10px; max-width: 34em; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cform label { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; }
.cform input, .cform textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; box-sizing: border-box; }
.cform textarea { resize: vertical; min-height: 110px; }
.cform input:focus-visible, .cform textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.cform [aria-invalid="true"] { border-color: var(--accent); }
.cform input[dir="ltr"] { text-align: right; }
.cform .btn { justify-self: start; }
.cform .btn[disabled] { opacity: .6; cursor: wait; }
.cform__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__status { margin: 0; min-height: 1.4em; font-weight: 500; }
.cform__status.is-ok { color: #2e9d57; }
.cform__status.is-err { color: var(--accent); }
.cform__or { margin: 18px 0 10px; }
@media (max-width: 560px) { .cform__row { grid-template-columns: 1fr; } .cform .btn { justify-self: stretch; } }
#contact-form { scroll-margin-top: 80px; }
