@import url('https://fonts.googleapis.com/css2?family=Karantina:wght@300;400;700&family=Cormorant+Garamond:wght@500;600&family=Heebo:wght@300;400;500;800&display=swap');

:root {
  --ink: #16191D;
  --paper: #F6F7F8;
  --white: #FFFFFF;
  --mist: #E7EAED;
  --slate: #3E5C7A;
  --slate-dark: #33506D;
  --titanium: #7D8794;
  --silver: #AEB6BF;
  --text-2: #565F6A;
  --success: #2E7D5B;
  --error: #B23A3A;
  --whatsapp: #167A47;

  --font-logo: 'Cormorant Garamond', 'Heebo', serif; /* ללוגו הלטיני בלבד */
  --font-heading: 'Karantina', 'Heebo', sans-serif; /* צר וגבוה, עובד רק בגדלים גדולים */
  --font-num: 'Karantina', 'Heebo', sans-serif;
  --font-body: 'Heebo', Arial, sans-serif;

  /* העמוד נפרס לכל רוחב המסך, עם שוליים שגדלים יחד איתו */
  --gutter: clamp(16px, 5vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
}

img { max-width: 100%; display: block; }

a { color: var(--slate); text-underline-offset: 3px; }
a:hover { color: var(--slate-dark); }

:focus-visible { outline: 2px solid var(--slate); outline-offset: 3px; }

.skip-link {
  position: absolute; right: 16px; top: -60px;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; z-index: 10; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--paper); }

.wrap { width: 100%; padding: 0 var(--gutter); }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 0.95;
  margin: 0 0 18px;
}
h1 { font-size: clamp(60px, 8.5vw, 104px); }
h2 { font-size: clamp(46px, 5.4vw, 68px); }
h3 { font-size: 32px; line-height: 1; margin-bottom: 8px; }
.light { font-weight: 300; color: var(--slate); }

p { margin: 0 0 16px; }

.eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--text-2);
  margin: 0 0 14px;
}

.lead { font-size: 19px; font-weight: 300; color: var(--text-2); max-width: 34em; }

.rule { width: 36px; height: 1px; background: var(--titanium); border: 0; margin: 0 0 22px; }

/* כותרת האתר */
.site-header { background: rgba(255, 255, 255, 0.92); border-bottom: 1px solid var(--mist); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }

.logo { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ink); line-height: 1; }
.logo-word { font-family: var(--font-logo); font-weight: 500; font-size: 21px; letter-spacing: 0.34em; margin-left: -0.34em; direction: ltr; }
.logo-line { width: 22px; height: 1px; background: var(--titanium); margin: 7px 0 6px; }
.logo-sub { font-size: 11px; letter-spacing: 0.32em; color: var(--text-2); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover { border-bottom-color: var(--titanium); color: var(--ink); }
.nav a[aria-current="page"] { border-bottom-color: var(--slate); }

.menu-toggle { display: none; background: none; border: 1px solid var(--mist); color: var(--ink); font: inherit; font-size: 15px; padding: 6px 14px; cursor: pointer; }

/* כפתורים */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-size: 15px; font-weight: 800; letter-spacing: 0.04em;
  padding: 13px 24px; border: 1px solid var(--ink); text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--slate-dark); border-color: var(--slate-dark); color: var(--white); }
.btn-secondary { background: transparent; color: var(--slate); border-color: var(--slate); }
.btn-secondary:hover { background: var(--slate); color: var(--white); }
.btn-whatsapp { background: var(--whatsapp); border-color: var(--whatsapp); color: var(--white); }
.btn-whatsapp:hover { background: #12663B; border-color: #12663B; color: var(--white); }
.btn-small { padding: 9px 16px; font-size: 14px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* אזורים */
.section { padding: 88px 0; }
.section-mist { background: var(--mist); }
.section-head { max-width: 640px; margin-bottom: 44px; }

/* פתיח דף הבית */
.hero { padding: 76px 0 92px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 30px; }
.hero-note { font-size: 14px; color: var(--text-2); margin-top: 18px; }

/* החתימה: הדוח החודשי */
.statement {
  background: var(--white);
  border: 1px solid var(--mist);
  border-top: 2px solid var(--slate);
  padding: 28px 30px 24px;
  position: relative;
  margin: 0; /* ברירת המחדל של figure מוסיפה 40 פיקסלים בצדדים */
}
.statement-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.statement-title { font-family: var(--font-heading); font-weight: 700; font-size: 34px; line-height: 1; }
.statement-tag { font-size: 12px; letter-spacing: 0.14em; color: var(--text-2); border: 1px solid var(--mist); padding: 2px 10px; }
.statement-addr { font-size: 14px; color: var(--text-2); margin: 0 0 18px; }
.statement-rows { list-style: none; margin: 0; padding: 0; }
.statement-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 13px 0; border-top: 1px solid var(--mist); }
.statement-row .what { font-size: 15px; }
.statement-row .when { grid-column: 1; font-size: 13px; color: var(--text-2); }
.statement-row .sum { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-family: var(--font-num); font-weight: 700; font-size: 34px; line-height: 1; direction: ltr; white-space: nowrap; }
.statement-row .sum.minus { color: var(--text-2); }
.statement-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--ink); padding-top: 14px; margin-top: 2px; }
.statement-total span:first-child { font-size: 15px; font-weight: 800; }
.statement-total .sum { font-family: var(--font-num); font-weight: 700; font-size: 52px; line-height: 1; direction: ltr; }
.statement-foot { font-size: 12px; color: var(--text-2); margin: 14px 0 0; }

@media (prefers-reduced-motion: no-preference) {
  .js .statement-row, .js .statement-total { opacity: 0; transform: translateY(6px); transition: opacity .5s ease, transform .5s ease; }
  .js .statement.is-shown .statement-row, .js .statement.is-shown .statement-total { opacity: 1; transform: none; }
}

/* מה כלול */
.included { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 56px; }
.included-item { padding: 22px 0; border-top: 1px solid var(--silver); }
.included-item h3 { font-size: 34px; margin-bottom: 6px; }
.included-item p { color: var(--text-2); margin: 0; font-size: 16px; }

/* מחיר */
.price-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.price-figure { font-family: var(--font-heading); font-weight: 700; font-size: clamp(60px, 7vw, 92px); line-height: 0.92; margin: 0 0 14px; }
.price-figure small { font-family: var(--font-body); font-weight: 300; font-size: 19px; line-height: 1.5; color: var(--text-2); display: block; margin-top: 14px; }
.calc { background: var(--mist); padding: 26px 28px; }
.calc input { background: var(--white); }
.calc label { display: block; font-size: 15px; font-weight: 800; margin-bottom: 8px; }
.calc-input { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.calc-input input { flex: 1 1 auto; min-width: 0; max-width: 180px; }
.calc-input span { white-space: nowrap; color: var(--text-2); }
.calc-lines { margin: 0; }
.calc-lines div { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--mist); font-size: 15px; }
.calc-lines dt { color: var(--text-2); }
.calc-lines dd { margin: 0; font-family: var(--font-num); font-weight: 700; font-size: 30px; line-height: 1; direction: ltr; }
.calc-lines div:last-child { border-top-color: var(--ink); }
.calc-lines div:last-child dt { color: var(--ink); font-weight: 800; }

.check-list { list-style: none; padding: 0; margin: 0 0 24px; }
.check-list li { padding: 8px 26px 8px 0; position: relative; border-bottom: 1px solid var(--mist); }
.check-list li::before { content: ""; position: absolute; right: 2px; top: 19px; width: 10px; height: 1px; background: var(--slate); }
.not-list li::before { background: var(--titanium); }

/* שלבים: התהליך הוא רצף אמיתי, לכן ממוספר */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; padding: 26px 0; border-top: 1px solid var(--silver); }
.steps li::before { content: counter(step); font-family: var(--font-num); font-weight: 300; font-size: 72px; line-height: 0.8; color: var(--slate); }
.steps h3 { font-size: 36px; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--text-2); }
.steps .time { display: inline-block; font-size: 13px; letter-spacing: 0.08em; color: var(--slate); margin-top: 8px; }

/* אנשים */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.person { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 22px; align-items: start; }
.portrait { width: 120px; height: 150px; background: var(--mist); border: 1px solid var(--silver); display: flex; align-items: center; justify-content: center; text-align: center; font-size: 12px; color: var(--text-2); padding: 8px; }
.person h3 { margin-bottom: 2px; }
.person h3 { font-size: 42px; }
.portrait-icon { background: var(--ink); border-color: var(--ink); color: var(--silver); font-family: var(--font-logo); font-size: 44px; direction: ltr; }
.person .role { font-size: 14px; font-weight: 500; color: var(--slate); letter-spacing: 0.06em; margin-bottom: 10px; }
.person p { color: var(--text-2); font-size: 16px; }

/* טפסים */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 500; }
.field .hint { font-size: 13px; color: var(--text-2); }
input[type="text"], input[type="tel"], input[type="number"], input[type="email"], select, textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--white);
  border: 1px solid var(--titanium); border-radius: 0; padding: 11px 12px; min-height: 48px; width: 100%;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--slate); outline-offset: 0; border-color: var(--slate); }
.field.has-error input, .field.has-error select { border-color: var(--error); }
.error-msg { font-size: 13px; color: var(--error); min-height: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); }
.consent input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--slate); }
.form-status { margin-top: 16px; padding: 14px 16px; border: 1px solid var(--mist); background: var(--white); }
.form-status.ok { border-color: var(--success); }
.form-status.ok strong { color: var(--success); }
.form-status.fail { border-color: var(--error); }
.privacy-note { font-size: 13px; color: var(--text-2); margin-top: 14px; }

.form-panel { background: var(--white); border-top: 2px solid var(--slate); padding: 32px; }
.form-panel h2 { font-size: 46px; }

.cta-band { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }

/* תוכן ועמודי מידע */
.prose { max-width: 720px; }
.prose h2 { margin-top: 44px; }
.prose h3 { margin-top: 30px; }
.prose ul { padding-right: 22px; }
.prose li { margin-bottom: 6px; }
.source { font-size: 13px; color: var(--text-2); }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; margin: 8px 0 32px; }
.fact { border-top: 1px solid var(--silver); padding: 18px 0; }
.fact .num { font-family: var(--font-num); font-weight: 700; font-size: 64px; line-height: 1; direction: ltr; text-align: right; }
.fact .label { font-size: 15px; color: var(--text-2); }

.page-head { padding: 64px 0 40px; border-bottom: 1px solid var(--mist); }
.page-head .lead { margin: 0; }

/* תחתית */
.site-footer { background: var(--ink); color: var(--silver); padding: 56px 0 28px; font-size: 15px; }
.site-footer a { color: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid #2A2F35; }
.site-footer .logo { color: var(--paper); align-items: flex-start; }
.site-footer .logo-sub { color: var(--silver); }
.site-footer h2 { font-family: var(--font-body); font-size: 13px; line-height: 1.4; letter-spacing: 0.18em; color: var(--silver); font-weight: 500; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.license { padding-top: 22px; font-size: 13px; line-height: 1.7; }

.consent-banner {
  position: fixed; right: 18px; bottom: 18px; z-index: 6; max-width: 380px;
  background: var(--white); border: 1px solid var(--mist); border-top: 2px solid var(--slate);
  padding: 16px 18px; font-size: 14px; box-shadow: 0 6px 24px rgba(22, 25, 29, 0.12);
}
.consent-banner[hidden] { display: none; }
.consent-banner p { margin: 0 0 12px; color: var(--text-2); }
@media (max-width: 760px) { .consent-banner { right: 12px; left: 12px; bottom: 80px; max-width: none; } }

.floating-wa {
  position: fixed; left: 18px; bottom: 18px; z-index: 5;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--whatsapp); color: var(--white); text-decoration: none;
  font-weight: 600; font-size: 15px; padding: 12px 18px;
}
.floating-wa:hover { background: #12663B; color: var(--white); }

/* ראש העמוד עם הסרטון: על כל רוחב המסך, הטקסט בצד ימין */
.hero-video { position: relative; min-height: calc(100vh - 76px); min-height: calc(100svh - 76px); padding: 0; background: var(--ink); color: var(--white); overflow: hidden; display: flex; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to left, rgba(22, 25, 29, 0.96) 0%, rgba(22, 25, 29, 0.85) 38%, rgba(22, 25, 29, 0.2) 70%, rgba(22, 25, 29, 0) 100%); }
.hero-video .hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 48px; padding-top: 72px; padding-bottom: 96px; }
.hero-copy { max-width: 1120px; }
.hero-copy .lead { max-width: 640px; }
.hero-video h1 { color: var(--white); font-size: clamp(40px, 6.6vw, 132px); margin-bottom: 24px; }
.hero-video h1 .light { color: var(--silver); }
.hero-video .eyebrow { color: var(--silver); }
.hero-video .lead { color: #D3D8DE; max-width: 32em; margin-bottom: 32px; }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-light:hover { background: var(--mist); border-color: var(--mist); color: var(--ink); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 0; margin: 0; max-width: 720px; border-top: 1px solid rgba(174, 182, 191, 0.35); }
.hero-stats div { flex: 1 1 160px; padding: 18px 0 0 24px; }
.hero-stats dt { font-size: 13px; letter-spacing: 0.12em; color: var(--silver); }
.hero-stats dd { margin: 4px 0 0; font-family: var(--font-num); font-weight: 700; font-size: 40px; line-height: 1; color: var(--white); }
.hero-scroll { position: absolute; z-index: 1; bottom: 28px; right: 50%; width: 26px; height: 42px; border: 1.5px solid var(--silver); border-radius: 14px; }
.hero-scroll span { position: absolute; right: 50%; top: 8px; width: 4px; height: 8px; margin-right: -2px; background: var(--white); border-radius: 2px; }

/* כניסה מדורגת של הטקסט בראש העמוד */
@media (prefers-reduced-motion: no-preference) {
  .hero-in { display: inline-block; opacity: 0; transform: translateY(28px); filter: blur(6px); animation: hero-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards; animation-delay: calc(0.25s + var(--d, 0) * 0.14s); }
  p.hero-in, div.hero-in, dl.hero-in { display: block; }
  .hero-actions-flex.hero-in { display: flex; }
  .hero-video .actions.hero-in { display: flex; }
  .hero-video .hero-stats.hero-in { display: flex; }
  .hero-scroll span { animation: scroll-dot 1.8s ease-in-out infinite; }
}
@keyframes hero-in { to { opacity: 1; transform: none; filter: none; } }
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* פס ערים נע */
.marquee { overflow: hidden; background: var(--slate); color: var(--white); border-top: 1px solid var(--slate-dark); }
.marquee-track { display: flex; width: max-content; gap: 0; }
.marquee-track span { font-family: var(--font-heading); font-weight: 300; font-size: clamp(34px, 4vw, 56px); line-height: 1; padding: 18px 36px; white-space: nowrap; }
.marquee-track span::after { content: "·"; margin-right: 72px; color: var(--silver); }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 38s linear infinite; }
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* אזור הדוח החודשי */
.report-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 120px); align-items: center; }
.report .statement { max-width: 620px; justify-self: end; width: 100%; }
@media (min-width: 901px) {
  /* השלבים נפרסים לרוחב בשלוש עמודות, במקום טור צר בצד אחד */
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; }
}
.report .section-head { margin-bottom: 0; }

/* חשיפה בגלילה */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); transition-delay: var(--rd, 0s); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .included-item, .person, .fact { transition: transform 0.35s ease, background-color 0.35s ease; }
  .included-item:hover { transform: translateY(-4px); }
  .btn { transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
  .btn:hover { transform: translateY(-2px); }
}

/* מובייל */
@media (max-width: 1100px) {
  .included { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .report-grid { grid-template-columns: minmax(0, 1fr); }
  .report .statement { justify-self: stretch; max-width: none; }
  .hero-media { object-position: 20% center; opacity: 0.45; }
  .hero-shade { background: linear-gradient(to top, rgba(22, 25, 29, 0.95) 0%, rgba(22, 25, 29, 0.7) 60%, rgba(22, 25, 29, 0.5) 100%); }
  .hero .wrap, .price-block, .cta-band { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .people { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .hero { padding: 44px 0 60px; }
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; right: 0; left: 0; top: 76px; background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 18px; border-bottom: 1px solid var(--mist); z-index: 8; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--mist); }
  .site-header { position: relative; }
  .header-cta { display: none; }
  .included, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .person { grid-template-columns: 96px minmax(0, 1fr); }
  .portrait { width: 96px; height: 120px; }
  .statement { padding: 22px 18px 18px; }
  .form-panel { padding: 22px 18px; }
  .floating-wa span { display: none; }
  .floating-wa { padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* רשימת השקט הנפשי: אותו כרטיס, עם סימן וי במקום סכום */
.statement-row .sum.check { width: 18px; height: 10px; margin-inline-end: 6px; border-left: 2px solid var(--slate); border-bottom: 2px solid var(--slate); transform: rotate(-45deg); }
.statement-total .sum.calm { direction: rtl; color: var(--slate); }

/* ניהול שיפוצים, שירות נוסף מתחת למה שכלול */
.reno { margin-top: 64px; padding-top: 36px; border-top: 1px solid var(--ink); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 20px 56px; align-items: start; }
.reno h3 { font-family: var(--font-heading); font-weight: 700; font-size: clamp(40px, 4vw, 60px); line-height: 1; margin: 0 0 14px; }
.reno-tag { display: inline-block; font-size: 13px; letter-spacing: 0.06em; color: var(--slate); border: 1px solid var(--slate); padding: 3px 12px; }
.reno p { margin-top: 0; font-size: 17px; }
.reno .reno-note { font-size: 14px; color: var(--text-2); }
@media (max-width: 900px) { .reno { grid-template-columns: 1fr; margin-top: 44px; } }

/* תמונה אמיתית במקום מסגרת ריקה */
img.portrait { padding: 0; object-fit: cover; object-position: center top; background: var(--mist); width: 150px; height: 188px; }
@media (max-width: 600px) { img.portrait { width: 110px; height: 138px; } }

/* ===== תנועה בהשראת אמרלד: דלתות פתיחה, תפריט שקוף, פסקה שנדלקת בגלילה ===== */

/* מסך פתיחה: הלוגו נכתב, ואז שתי דלתות נפתחות לצדדים. רק בביקור הראשון בדף הבית */
.preloader { display: none; }
.pre .preloader { display: block; position: fixed; inset: 0; z-index: 100; pointer-events: none; animation: pre-gone 0s linear 2.6s forwards; }
.pre-door { position: absolute; top: 0; bottom: 0; width: 50.5%; background-color: var(--ink); background-image: repeating-linear-gradient(90deg, rgba(174, 182, 191, 0.07) 0 1px, transparent 1px 160px); animation: door-r 0.95s cubic-bezier(0.76, 0, 0.24, 1) 1.45s forwards; }
.pre-door-r { right: 0; }
.pre-door-l { left: 0; animation-name: door-l; }
.pre-logo { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--paper); line-height: 1; animation: pre-logo-out 0.45s ease 1.15s forwards; }
.pre-word { display: flex; direction: ltr; font-family: var(--font-logo); font-weight: 500; font-size: clamp(34px, 5vw, 64px); letter-spacing: 0.34em; margin-left: -0.34em; }
.pre-word span { opacity: 0; transform: translateY(14px); filter: blur(6px); animation: pre-letter 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.pre-word span:nth-child(1) { animation-delay: 0.10s; }
.pre-word span:nth-child(2) { animation-delay: 0.16s; }
.pre-word span:nth-child(3) { animation-delay: 0.22s; }
.pre-word span:nth-child(4) { animation-delay: 0.28s; }
.pre-word span:nth-child(5) { animation-delay: 0.34s; }
.pre-word span:nth-child(6) { animation-delay: 0.40s; }
.pre-word span:nth-child(7) { animation-delay: 0.46s; }
.pre-word span:nth-child(8) { animation-delay: 0.52s; }
.pre-line { width: 0; height: 1px; background: var(--titanium); margin: 18px 0 12px; animation: pre-line 0.6s ease 0.55s forwards; }
.pre-sub { font-size: 13px; letter-spacing: 0.32em; color: var(--silver); opacity: 0; animation: pre-fade 0.5s ease 0.7s forwards; }
.pre .hero-in { animation-delay: calc(1.8s + var(--d, 0) * 0.14s); }
@keyframes pre-letter { to { opacity: 1; transform: none; filter: none; } }
@keyframes pre-line { to { width: 64px; } }
@keyframes pre-fade { to { opacity: 1; } }
@keyframes pre-logo-out { to { opacity: 0; transform: scale(0.96); } }
@keyframes door-r { to { transform: translateX(100%); } }
@keyframes door-l { to { transform: translateX(-100%); } }
@keyframes pre-gone { to { visibility: hidden; } }

/* בדף הבית התפריט שקוף מעל הסרטון, ומקבל רקע לבן ומתכווץ ברגע שגוללים */
.home .site-header { position: fixed; top: 0; left: 0; right: 0; background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background-color 0.45s ease, border-color 0.45s ease; }
.home .site-header.is-scrolled { background: rgba(255, 255, 255, 0.92); border-bottom-color: var(--mist); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.home .site-header:not(.is-scrolled) .logo { color: var(--white); }
.home .site-header:not(.is-scrolled) .logo-sub { color: var(--silver); }
.home .site-header:not(.is-scrolled) .logo-line { background: var(--silver); }
.home .site-header:not(.is-scrolled) .menu-toggle { color: var(--white); border-color: rgba(255, 255, 255, 0.35); }
.home .hero-video { min-height: 100vh; min-height: 100svh; }
.home .hero-video .hero-inner { padding-top: 150px; }
.site-header .wrap { transition: min-height 0.45s ease; }
@media (min-width: 761px) {
  .site-header.is-scrolled .wrap { min-height: 62px; }
  .home .site-header:not(.is-scrolled) .nav a { color: var(--paper); }
  .home .site-header:not(.is-scrolled) .nav a:hover { border-bottom-color: var(--silver); }
  .home .site-header:not(.is-scrolled) .header-cta { background: var(--white); color: var(--ink); border-color: var(--white); }
}
@media (max-width: 760px) {
  .home .site-header { position: fixed; }
  .home .hero-video .hero-inner { padding-top: 116px; }
}

/* הגישה שלנו: פסקה גדולה על רקע כהה עם קווים אנכיים, שהמילים שלה נדלקות בגלילה */
.manifesto { position: relative; background-color: var(--ink); background-image: repeating-linear-gradient(90deg, rgba(174, 182, 191, 0.07) 0 1px, transparent 1px calc(100% / 12)); color: var(--paper); padding: clamp(96px, 13vw, 190px) 0; text-align: center; }
.manifesto-eyebrow { color: var(--silver); display: flex; align-items: center; justify-content: center; gap: 18px; }
.manifesto-eyebrow::before, .manifesto-eyebrow::after { content: ""; width: 56px; height: 1px; background: rgba(174, 182, 191, 0.45); }
.manifesto-text { font-family: var(--font-heading); font-weight: 300; font-size: clamp(38px, 5vw, 86px); line-height: 1.08; max-width: 1180px; margin: 0 auto; color: var(--paper); }
.manifesto-end { font-weight: 700; color: var(--white); }

/* לפני ואחרי בשיפוצים: גוררים את הקו כדי להשוות. "לפני" מימין לקו */
.ba { grid-column: 1 / -1; position: relative; margin: 36px 0 0; aspect-ratio: 2 / 1; overflow: hidden; background: var(--ink); user-select: none; -webkit-user-select: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { clip-path: inset(0 0 0 var(--pos)); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--white); pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; display: flex; align-items: center; justify-content: center; background: var(--ink); color: var(--white); font-size: 20px; letter-spacing: 0.1em; direction: ltr; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba:has(.ba-range:focus-visible) { outline: 2px solid var(--slate); outline-offset: 4px; }
.ba-tag { position: absolute; top: 16px; padding: 4px 14px; background: rgba(22, 25, 29, 0.78); color: var(--white); font-size: 13px; letter-spacing: 0.12em; pointer-events: none; }
.ba-tag-before { right: 16px; }
.ba-tag-after { left: 16px; }
@media (max-width: 760px) { .ba { aspect-ratio: 4 / 3; } }
.ba figcaption { position: absolute; bottom: 12px; right: 16px; padding: 2px 10px; background: rgba(22, 25, 29, 0.6); color: #E4E8EC; font-size: 12px; pointer-events: none; }
