/* ==========================================================================
   ליאור ורשואר סטודיו — מערכת עיצוב (Design System)
   שלב א': בסיס שנדייק עליו לאט־לאט. Mobile-first, RTL, עברית.
   ========================================================================== */

/* --- 1. Design tokens ----------------------------------------------------- */
:root {
  /* צבעי מותג */
  --c-ink: #111111;          /* טקסט ראשי / שחור */
  --c-dark: #141414;         /* אזורים כהים */
  --c-muted: #6a6a6a;        /* טקסט משני */
  --c-bg: #fbfaf8;           /* רקע חלבי בהיר */
  --c-surface: #ffffff;      /* כרטיסים / משטחים */
  --c-line: #e7e2dd;         /* קווי הפרדה */

  --c-magenta: #d4147a;      /* אקסנט מותגי ראשי */
  --c-magenta-ink: #b00d63;  /* מג'נטה כהה לטקסט/קישורים */
  --c-magenta-soft: #fbe0ee; /* רקע מג'נטה עדין */

  /* טיפוגרפיה */
  --font-body: "Heebo", system-ui, "Segoe UI", Arial, sans-serif;
  --font-display: var(--font-body);   /* משפחה אחת — הניגוד נוצר במשקל, לא בהחלפת פונט */

  /* סולם גופן — גדול אך מאופק (~70–80px בשיא) */
  --fs-display: clamp(3rem, 10vw, 5rem);      /* ~80px */
  --fs-h1: clamp(2.8rem, 9vw, 4.8rem);        /* ~77px */
  --fs-h2: clamp(2.1rem, 6.5vw, 3.6rem);      /* ~58px */
  --fs-h3: clamp(1.2rem, 3vw, 1.55rem);
  --fs-lead: clamp(1.1rem, 2.2vw, 1.35rem);
  --fs-body: clamp(1rem, 1.6vw, 1.0625rem);
  --fs-small: 0.9rem;
  --fs-eyebrow: 0.8rem;

  /* מרווחים — ריווח נדיב בין אזורים (כמו HolleStudio) */
  --space-section: clamp(5.5rem, 15vw, 12rem);
  --gap: clamp(1rem, 2.5vw, 1.75rem);

  /* פריסה */
  --container: 1180px;
  --radius: 0;        /* פינות חדות — ריסון, כמו ברפרנס */
  --radius-sm: 0;
  --header-h: 4.5rem;

  /* תנועה */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 220ms;
}

/* --- 2. Reset / base ------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

figure { margin: 0; }   /* reset browser default figure margin */

html {
  scroll-behavior: smooth;
  scroll-padding-block-start: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  direction: rtl;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  font-feature-settings: "kern";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;            /* מניעת גלישה אופקית (שומר על sticky) */
}

img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* טקסט לקוראי-מסך בלבד (נגישות) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

h1, h2, h3, p { margin-block: 0; }

/* טיפוגרפיה: ניגוד משקלים. הכותרת דקה וגדולה, ההדגשה כבדה — זה כל הסיפור. */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.03em;
}
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
/* מילה מודגשת בתוך כותרת — כבד, צמוד, במג'נטה */
.t-heavy { font-weight: 900; letter-spacing: -0.045em; }

:focus-visible {
  outline: 3px solid var(--c-magenta);
  outline-offset: 3px;
  border-radius: 3px;
}

/* --- 3. Layout helpers ---------------------------------------------------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section { padding-block: var(--space-section); }

.section-heading {
  max-width: 46rem;
  margin-block-end: clamp(2rem, 5vw, 3.5rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-block-end: 0.9rem;
  color: var(--c-magenta-ink);
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: none;
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: var(--c-magenta);
}

.section h2 { font-size: var(--fs-h2); }

/* בלי גרדיאנט על טקסט — שחור נושא, ההדגשה מגיעה מ-.t-heavy */
.grad-head { color: var(--c-ink); }

.section-heading p {
  margin-block-start: 1rem;
  max-width: 38rem;
  color: var(--c-muted);
  font-size: var(--fs-lead);
}

.skip-link {
  position: fixed;
  inset-block-start: 0.75rem;
  inset-inline-start: 0.75rem;
  z-index: 60;
  padding: 0.7rem 1rem;
  background: var(--c-dark);
  color: #fff;
  border-radius: var(--radius-sm);
  transform: translateY(-200%);
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* --- 4. Buttons ----------------------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.9rem 1.9rem;
  border: 1px solid var(--c-ink);
  border-radius: 0;              /* חד — בלי גלולות */
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--c-ink); color: #fff; }
.button-primary:hover { background: var(--c-magenta); border-color: var(--c-magenta); }
.button-secondary { background: transparent; color: var(--c-ink); }
.button-secondary:hover { background: var(--c-ink); color: #fff; }

/* קישור־טקסט עם חץ (RTL: חץ פונה שמאלה = "המשך") */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--c-magenta-ink);
  font-family: var(--font-display);
  font-weight: 600;
}
.text-link::after { content: "←"; transition: transform var(--dur) var(--ease); }
.text-link:hover::after { transform: translateX(-4px); }

/* --- 5. Header ------------------------------------------------------------ */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 50;
  background: rgba(251, 250, 248, 0.85);
  border-block-end: 1px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
  /* שים לב: backdrop-filter מוגדר רק בדסקטופ (≥1024) —
     במובייל הוא היה "כולא" את תפריט ה-fixed בגובה ה-Header */
}
.site-header.is-scrolled {
  background: rgba(251, 250, 248, 0.92);
  border-block-end-color: var(--c-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2.5rem, var(--container));
  min-height: var(--header-h);
  margin-inline: auto;
}

/* לוגו אמיתי, קטן, בפינה הימנית של ה-Header */
.brand-mark { display: inline-flex; align-items: center; }
.brand-logo {
  width: auto;
  height: 58px;            /* מובייל/טאבלט (אחרי חיתוך ה-viewBox — נראה גדול ובולט) */
  object-fit: contain;
}

.menu-toggle {
  position: relative;
  z-index: 2;                 /* מעל ה-overlay כדי שניתן יהיה לסגור */
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  width: 2.9rem;
  height: 2.9rem;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
}
.menu-toggle span {
  width: 1.3rem;
  height: 2px;
  background: var(--c-ink);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(0.34rem) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-0.34rem) rotate(-45deg); }

/* תפריט מובייל: מסך מלא, בהיר, קישורים גדולים.
   הסתרה דרך opacity+visibility (בלי הזזה אופקית שגורמת לגלישה ב-RTL) */
.site-nav {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  padding: var(--header-h) 1.75rem 2rem;
  background: var(--c-bg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 260ms var(--ease), transform 260ms var(--ease), visibility 260ms;
}
.site-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.site-nav a {
  padding-block: 0.75rem;
  border-block-end: 1px solid var(--c-line);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 7vw, 2.4rem);
  font-weight: 600;
}
.site-nav .nav-action {
  margin-block-start: 1.4rem;
  border: 0;
  color: var(--c-magenta-ink);
  font-size: 1.15rem;
}

/* --- 6. Hero -------------------------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) var(--space-section);
  overflow: clip;             /* מכיל את ה-ghost הענק */
}

.hero-content { max-width: 100%; }   /* מובייל: רוחב מלא, בלי דחיסה לעמודה צרה */
/* כותרת Hero — לפי hebrew-typography-expert:
   כותרת H1: 48–72px desktop, 34–44px mobile
   line-height כותרות: ~1.05
   letter-spacing: כיווץ עדין בלבד (-0.01em), לא חיובי */
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 9vw, 5rem);
  font-weight: 300;              /* דק וגדול — הניגוד מגיע מהשורה המתחלפת */
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin-block: 0.5rem 1.5rem;
}
.hero h1 .accent { color: var(--c-magenta); }

/* שורות סטטיות (מעל ומתחת למשפט המתחלף) */
.hero h1 .h1-static {
  display: block;
  line-height: 1.1;
}

/* שורת הרוטציה — כבדה מאוד מול השורות הדקות. זה כל הניגוד. */
.hero h1 .rotate {
  display: block;
  position: relative;
  overflow: visible;
  height: 1.15em;
  clip-path: inset(0 -200%);    /* גוזר רק אנכית — לא חוסם רוחב */
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 9vw, 5rem);
  letter-spacing: -0.045em;
  line-height: 1.15;
  color: var(--c-magenta);
}
.hero h1 .rotate .word {
  display: inline-block;         /* לא flex — אותיות זורמות טבעי בלי gap */
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  white-space: nowrap;
  line-height: 1.25;
}
/* ריווח בין האימוג'י לטקסט בלבד */
.hero h1 .rotate .emoji-icon {
  margin-inline-end: 0.3em;
  vertical-align: middle;
}
.hero h1 .rotate .emoji-icon {
  display: inline-block;
  width: 1em; height: 1em;
  vertical-align: middle;
  flex-shrink: 0;
}
.hero h1 .rotate .char {
  display: inline-block;
  transition: transform 0.55s var(--ease), opacity 0.55s var(--ease);
  will-change: transform, opacity;
}
.hero-text {
  max-width: 34ch;
  color: var(--c-muted);
  font-size: var(--fs-lead);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-block-start: 1.75rem;
}

/* ויזואל ההירו — עבודה אמיתית וגדולה. לא צורות מופשטות. */
.hero-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--c-surface);
}
.hero-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 1.2s var(--ease);
}
.hero:hover .hero-visual img { transform: scale(1.05); }

/* תווית קטנה על התמונה — מזהה את העבודה */
.hero-visual figcaption {
  position: absolute;
  inset-block-end: 0; inset-inline-start: 0;
  padding: 0.7rem 1rem;
  background: var(--c-ink);
  color: #fff;
  font-size: var(--fs-small);
  font-weight: 400;
  letter-spacing: 0.01em;
}
.hero-content, .hero-visual { position: relative; z-index: 1; }

/* רמז גלילה — בדסקטופ בלבד (במובייל ה-Hero ארוך מהמסך והרמז מאבד היגיון) */
.hero-scroll {
  display: none;             /* מוסתר במובייל/טאבלט */
  position: absolute;
  inset-block-end: 1.75rem;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  z-index: 1;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  color: var(--c-muted);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
}
.hero-scroll::after {
  content: "";
  width: 1px; height: 2.2rem;
  background: linear-gradient(var(--c-magenta), transparent);
  animation: scroll-cue 1.8s ease-in-out infinite;
}
@keyframes scroll-cue { 0%{transform:scaleY(0.3);transform-origin:top;opacity:0.4} 50%{transform:scaleY(1);opacity:1} 100%{transform:scaleY(0.3);transform-origin:bottom;opacity:0.4} }

/* --- 7. משפט מיצוב -------------------------------------------------------- */
.position-line {
  border-block: 1px solid var(--c-line);
  background: var(--c-surface);
}
.position-line p {
  width: min(100% - 2.5rem, 52rem);
  margin-inline: auto;
  padding-block: clamp(2.5rem, 6vw, 4rem);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4.5vw, 2.6rem);
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
}
.position-line strong { color: var(--c-magenta-ink); font-weight: 700; }

/* --- 8. שירותים ----------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-magenta);
  box-shadow: 0 18px 40px -28px rgba(212, 20, 122, 0.5);
}
.card-marker {
  width: 2.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--c-magenta);
}
.service-card h3 { font-size: var(--fs-h3); }
.service-card p { color: var(--c-muted); flex: 1; }
.service-card .text-link { margin-block-start: 0.4rem; }

/* --- 9. גלריה ------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}
/* פריט עבודה — בלי מסגרת, בלי פינות, בלי צל. התמונה מדברת. */
.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  text-align: start;
  color: inherit;
  background: none;
  border: 0;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.gallery-item .work-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 700ms var(--ease), filter 500ms var(--ease);
}
.gallery-item:hover .work-thumb { transform: scale(1.04); }
.gallery-item .work-meta {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding-block: 0.9rem 0;
}
.gallery-item .work-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.gallery-item .work-tag {
  font-family: var(--font-display);
  font-size: var(--fs-small);
  color: var(--c-muted);          /* אפור — המג'נטה נשמרת לרגעים נדירים */
  white-space: nowrap;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(12, 12, 12, 0.93);
  opacity: 0;
  transition: opacity 220ms var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox-figure { margin: 0; text-align: center; max-width: 1100px; }
.lightbox-figure img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
}
.lightbox-cap {
  margin-block-start: 1rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.lightbox-close {
  position: absolute;
  inset-block-start: 1rem;
  inset-inline-start: 1rem;
  width: 3rem; height: 3rem;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 0;
  border-radius: 50%;
  font-size: 1.3rem;
}
.lightbox-close:hover { background: var(--c-magenta); }
/* סימון עדין לפרויקט נבחר */
/* פרויקט נבחר — גדול ופנורמי (כמו HolleStudio), לא ממוזער עם מסגרת */
.gallery-item.is-featured .work-thumb { aspect-ratio: 16 / 10; }
.gallery-item.is-featured .work-title { font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 300; }
.gallery-item.is-featured .work-tag { color: var(--c-magenta); }

/* פריטים מוסתרים שנחשפים בלחיצה על "עוד עבודות" */
.gallery-item[hidden] { display: none; }

.gallery-more { margin-block-start: clamp(2rem, 4vw, 2.75rem); text-align: center; }

/* גוונים זמניים לתמונות־דמה (יוחלפו בתמונות אמיתיות) */

/* --- 10. תהליך עבודה ------------------------------------------------------ */
.process { background: var(--c-dark); color: #fff; }
.process .eyebrow { color: #f2a9ce; }
.process .eyebrow::before { background: var(--c-magenta); }
.process h2 { color: #fff; }
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  margin-block-start: clamp(2rem, 5vw, 3rem);
  counter-reset: step;
}
.process-step {
  padding-block-start: 1.25rem;
  border-block-start: 2px solid rgba(255, 255, 255, 0.15);
}
.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-block-end: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-magenta);
}
.process-step h3 { font-size: var(--fs-h3); color: #fff; }
.process-step p { margin-block-start: 0.4rem; color: #c9c9c9; }

/* --- 11. המלצות ----------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}
.testimonial {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}
.testimonial blockquote { margin: 0; font-size: 1.1rem; line-height: 1.6; }
.testimonial blockquote::before { content: "”"; color: var(--c-magenta); font-size: 2.2rem; line-height: 0; vertical-align: -0.35em; margin-inline-end: 0.2rem; }
.testimonial figcaption { color: var(--c-muted); font-size: var(--fs-small); }
.testimonial figcaption strong { color: var(--c-ink); font-family: var(--font-display); }
.testimonials-more { margin-block-start: clamp(1.75rem, 4vw, 2.5rem); text-align: center; }

/* --- 12. יצירת קשר (אזור קצר) -------------------------------------------- */
.contact-cta { background: var(--c-dark); color: #fff; text-align: center; }
.contact-cta .eyebrow { color: #f2a9ce; justify-content: center; }
.contact-cta h2 { color: #fff; }
.contact-cta p { margin-inline: auto; margin-block: 1rem 1.75rem; max-width: 40rem; color: #cfcfcf; font-size: var(--fs-lead); }
.contact-cta .button-primary { background: #fff; color: var(--c-dark); border-color: #fff; }
.contact-cta .button-primary:hover { background: var(--c-magenta); color: #fff; border-color: var(--c-magenta); }
.contact-cta .button-secondary { color: #fff; border-color: rgba(255,255,255,0.5); }
.contact-cta .button-secondary:hover { background: #fff; color: var(--c-dark); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }

/* --- 13. אודות קצר -------------------------------------------------------- */
.about-preview .about-inner { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); align-items: center; }
.about-preview .about-text p { margin-block-start: 1rem; color: var(--c-muted); font-size: var(--fs-lead); }
.about-preview .about-visual {
  position: relative; overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--c-surface);
}
.about-preview .about-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* --- עמוד פרויקט פנימי --------------------------------------------------- */
.project-page { padding-block-start: clamp(1.5rem, 4vw, 2.5rem); }
.back-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-block-end: 1.5rem;
  color: var(--c-muted); font-family: var(--font-display); font-weight: 600;
}
.back-link::before { content: "→"; transition: transform var(--dur) var(--ease); }  /* RTL: חזרה = ימינה */
.back-link:hover { color: var(--c-magenta-ink); }
.back-link:hover::before { transform: translateX(4px); }

.project-hero { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); }
.project-meta h1 { font-size: var(--fs-display); font-weight: 800; letter-spacing: -0.035em; margin-block: 0.4rem 1rem; }
.project-intro { color: var(--c-muted); font-size: var(--fs-lead); max-width: 40ch; }
.project-facts { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 0.85rem; }
.project-facts li {
  display: flex; flex-direction: column; gap: 0.2rem;
  padding-block-start: 0.85rem; border-block-start: 1px solid var(--c-line);
  font-family: var(--font-display); font-weight: 600;
}
.project-facts li span { color: var(--c-magenta-ink); font-size: var(--fs-small); font-weight: 500; }
.project-cover img { width: 100%; border-radius: var(--radius); box-shadow: 0 30px 70px -40px rgba(0,0,0,0.4); }

.project-story { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); }
.story-block h2 { font-size: var(--fs-h3); margin-block-end: 0.6rem; }
.story-block p { color: var(--c-muted); font-size: var(--fs-lead); }

.project-gallery-section .section-heading { margin-block-end: clamp(1.5rem, 4vw, 2.5rem); }
.project-gallery { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
.project-gallery figure { margin: 0; }
.project-gallery img { width: 100%; border-radius: var(--radius); border: 1px solid var(--c-line); }

.project-foot { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; border-block-start: 1px solid var(--c-line); }

.project-lead { display: grid; gap: 1.5rem; }
.project-lead .back-link { margin-block-end: 0; }

/* --- Hero גלריית גלילה (ראש עמוד פרויקט) — Vanilla, scroll-driven --- */
.phero-stage { position: relative; height: 340vh; }
.phero-sticky { position: sticky; inset-block-start: 0; height: 100vh; overflow: hidden; }
.phero-bento {
  position: absolute; inset: 0;
  direction: ltr;                        /* גיאומטריה מדויקת כמו המקור (תמונות אגנוסטיות לכיוון) */
  display: grid; gap: clamp(0.6rem, 1.4vw, 1rem);
  padding: clamp(0.8rem, 2.5vw, 1.6rem);
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
}
.phero-cell {
  overflow: hidden; border-radius: 16px;
  box-shadow: 0 30px 60px -35px rgba(0,0,0,.45);
  will-change: translate, scale; background: #fff;
}
.phero-cell img { width: 100%; height: 100%; object-fit: cover; }
/* פריסת bento + נקודות-עוגן לתנועה — זהה למקור (variant fourCells) */
.phero-cell:nth-child(1) { grid-column: span 1; transform-origin: top right; }
.phero-cell:nth-child(2) { grid-column: span 2; transform-origin: center; box-shadow: 0 30px 70px -30px rgba(212,20,122,.4); }
.phero-cell:nth-child(3) { grid-column: span 2; transform-origin: bottom right; }
.phero-cell:nth-child(4) { grid-column: span 1; transform-origin: top right; }
.phero-center {
  position: fixed; inset-inline-start: 50%; inset-block-start: 50%; z-index: 10;
  width: min(90%, 40rem); text-align: center; translate: -50% -50%;
  will-change: transform, opacity;
}
.phero-center .eyebrow { justify-content: center; display: inline-flex; background: rgba(251,250,248,.72); padding: .4rem .95rem; border-radius: 999px; backdrop-filter: blur(6px); }
.phero-center h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(3.2rem, 11vw, 7rem); line-height: .92; letter-spacing: -.04em;
  text-shadow: 0 6px 30px rgba(251,250,248,.6);
}
.phero-center h1 .accent { color: var(--c-magenta); }
.phero-sub { margin-block-start: 1rem; font-size: clamp(1.05rem, 2.4vw, 1.35rem); font-weight: 500; }
.phero-hint {
  position: fixed; inset-block-end: 1.5rem; inset-inline-start: 50%; translate: -50%; z-index: 10;
  color: var(--c-muted); font-family: var(--font-display); font-size: .8rem;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.phero-hint::after { content: ""; width: 1px; height: 2rem; background: linear-gradient(var(--c-magenta), transparent); animation: scroll-cue 1.8s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .phero-stage { height: auto; }
  .phero-sticky { position: relative; height: auto; overflow: visible; }
  .phero-bento { position: relative; inset: auto; grid-template-rows: auto; }
  .phero-cell { translate: none !important; scale: none !important; aspect-ratio: 16 / 10; }
  .phero-cell:nth-child(2) { aspect-ratio: 16 / 9; }
  .phero-center { position: relative; inset: auto; translate: 0; scale: 1 !important; opacity: 1 !important; margin: 2.5rem auto 1rem; }
  .phero-hint { display: none; }
}

/* --- 14. Footer ----------------------------------------------------------- */
.site-footer { background: var(--c-dark); color: #fff; padding-block: clamp(3rem, 6vw, 4.5rem); }
.footer-inner {
  display: grid;
  gap: 2rem;
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.footer-brand strong { font-family: var(--font-display); font-size: 1.2rem; }
.footer-brand p { margin-block-start: 0.6rem; color: #bdbdbd; max-width: 32rem; }
.footer-col h3 { font-size: 0.95rem; color: #fff; margin-block-end: 0.8rem; }
.footer-col a, .footer-col p { display: block; color: #cfcfcf; padding-block: 0.5rem; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 0.75rem; margin-block-start: 0.6rem; }
.footer-social a {
  display: grid; place-items: center;
  width: 2.6rem; height: 2.6rem;
  border: 1px solid rgba(255,255,255,0.25); border-radius: var(--radius-sm);
}
.footer-social a:hover { border-color: var(--c-magenta); color: var(--c-magenta); }
.footer-bottom { margin-block-start: 2rem; padding-block-start: 1.5rem; border-block-start: 1px solid rgba(255,255,255,0.15); color: #9a9a9a; font-size: var(--fs-small); }

/* --- 15. כפתור וואטסאפ צף (מובייל) --------------------------------------- */
.whatsapp-float {
  position: fixed;
  inset-block-end: 1.1rem;
  inset-inline-start: 1.1rem;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.05rem;
  background: #25d366;
  color: #0a3d20;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(140%);
  transition: opacity 300ms var(--ease), transform 300ms var(--ease);
}
.whatsapp-float.is-visible { opacity: 1; transform: translateY(0); }

/* --- 16. אנימציות גילוי בגלילה (reveal) ---------------------------------- */
/* התוכן גלוי כברירת מחדל; ההסתרה+אנימציה חלות רק כש-JS פעיל (progressive enhancement) */
.reveal { transition: opacity 850ms var(--ease), transform 850ms var(--ease); }
.js .reveal:not(.is-in) {
  opacity: 0;
  transform: translateY(44px);   /* עלייה מודגשת — fadeInUp */
}

/* Hero — אנימציה עצמאית (CSS animation) שלא תוקעת תוכן above-fold */
@keyframes hero-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
.js .hero-animate {
  animation: hero-in 700ms var(--ease) 80ms both;
}
.js .hero-animate-delay {
  animation: hero-in 700ms var(--ease) 260ms both;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-animate, .hero-animate-delay { animation: none; }
}

/* --- 18. עמוד אודות ------------------------------------------------------- */
.about-lead { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.about-lead h1 { font-size: var(--fs-display); font-weight: 800; letter-spacing: -0.03em; margin-block: 0.5rem 1.25rem; }
.about-lead-p { color: var(--c-muted); font-size: var(--fs-lead); max-width: 42ch; }
.about-lead-visual {
  position: relative; min-height: 14rem; overflow: hidden;
  border-radius: var(--radius);
  background: radial-gradient(120% 120% at 75% 20%, var(--c-magenta-soft), transparent 60%), var(--c-surface);
  border: 1px solid var(--c-line);
}
.about-glyph {
  position: absolute; inset-block-start: 50%; inset-inline-start: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(9rem, 22vw, 15rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 2px var(--c-magenta); text-stroke: 2px var(--c-magenta);
  opacity: 0.5;
}

.about-story-grid { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
.about-story .story-block {
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
}
.about-story .story-block h3 { font-size: var(--fs-h3); margin-block-end: 0.6rem; }
.about-story .story-block p { color: var(--c-muted); font-size: var(--fs-body); }

.values-section { background: var(--c-dark); color: #fff; }
.values-section .eyebrow { color: #f2a9ce; }
.values-section .eyebrow::before { background: var(--c-magenta); }
.values-section h2 { color: #fff; }
.values-grid { display: grid; grid-template-columns: 1fr; gap: var(--gap); margin-block-start: clamp(2rem, 5vw, 3rem); }
.value-card { padding-block-start: 1.25rem; border-block-start: 2px solid rgba(255,255,255,0.15); }
.value-num { display: block; margin-block-end: 0.5rem; font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--c-magenta); }
.value-card h3 { font-size: var(--fs-h3); color: #fff; }
.value-card p { margin-block-start: 0.4rem; color: #c9c9c9; }

/* --- 19. עמוד שירותים ----------------------------------------------------- */
.services-detail { display: grid; grid-template-columns: 1fr; gap: var(--gap); padding-block-start: 0; }
.service-detail {
  display: flex; flex-direction: column; gap: 0.9rem;
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  scroll-margin-block-start: calc(var(--header-h) + 1rem);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.service-detail:hover { border-color: var(--c-magenta); box-shadow: 0 18px 40px -28px rgba(212, 20, 122, 0.4); }
.service-detail-head { display: flex; align-items: baseline; gap: 0.85rem; }
.service-index { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; color: var(--c-magenta); line-height: 1; }
.service-detail h2 { font-size: var(--fs-h3); }
.service-detail-lead { color: var(--c-muted); font-size: var(--fs-body); }
.service-includes { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.service-includes li { position: relative; padding-inline-start: 1.4rem; color: var(--c-ink); font-size: var(--fs-small); }
.service-includes li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--c-magenta-ink); font-weight: 700; }
.service-detail .text-link { margin-block-start: 0.3rem; }

/* --- 20. עמוד יצירת קשר --------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: 1fr; gap: clamp(1.75rem, 4vw, 3rem); align-items: start; }

.contact-form-wrap {
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
}
.contact-form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }
.field label span { color: var(--c-magenta); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  font: inherit; color: var(--c-ink);
  background: var(--c-bg);
  border: 1px solid var(--c-line); border-radius: var(--radius-sm);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--c-magenta);
  box-shadow: 0 0 0 3px var(--c-magenta-soft);
}
.field textarea { resize: vertical; min-height: 7rem; }

/* מלכודת בוטים — מוסתרת בלי לגרום לגלישה אופקית (בלי left שלילי) */
.hp-field { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); border: 0; white-space: nowrap; }

.contact-form-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-block-start: 0.4rem; }
.form-note { color: var(--c-muted); font-size: var(--fs-small); margin-block-start: 0.2rem; }

.button-whatsapp { background: #25d366; color: #0a3d20; border-color: #25d366; }
.button-whatsapp:hover { background: #1eb757; border-color: #1eb757; color: #06331a; }
.button-block { display: flex; width: 100%; margin-block-start: 1rem; }

.form-banner {
  margin-block-end: 1.25rem; padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm); font-family: var(--font-display); font-weight: 600; font-size: 0.98rem;
}
.form-banner--ok { background: #e7f7ec; color: #10692f; border: 1px solid #a9e0bb; }
.form-banner--err { background: var(--c-magenta-soft); color: var(--c-magenta-ink); border: 1px solid #f3b6d5; }

.contact-info-block {
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
}
.contact-info-block + .contact-info-block { margin-block-start: var(--gap); }
.contact-info-block h2 { font-size: var(--fs-h3); margin-block-end: 1rem; }
.contact-info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.contact-info-list li { display: grid; gap: 0.15rem; }
.ci-label { font-family: var(--font-display); font-size: var(--fs-small); color: var(--c-magenta-ink); font-weight: 600; }
.contact-info-list a { font-weight: 600; }
.contact-info-list a:hover { color: var(--c-magenta-ink); }
.contact-hours p { color: var(--c-muted); }

/* --- 21. שירותים — רשימה אדיטוריאלית (בלי כרטיסים, בלי מסגרות) ---------- */
.svc-list { list-style: none; margin: 0; padding: 0; border-block-start: 1px solid var(--c-line); }

.svc-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .15rem 1.1rem;
  align-items: baseline;
  padding-block: clamp(1.1rem, 2.6vw, 1.7rem);
  border-block-end: 1px solid var(--c-line);
  color: inherit;
  transition: background .35s var(--ease), padding-inline .35s var(--ease);
}
.svc-row:hover { background: var(--c-surface); padding-inline: clamp(.7rem, 1.6vw, 1.1rem); }

.svc-row .n {
  grid-row: 1;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  color: var(--c-magenta);
}
.svc-row .t {
  grid-row: 1;
  font-size: clamp(1.55rem, 4.6vw, 2.4rem);
  font-weight: 300;              /* דק וגדול — הניגוד מול המספר הכבד */
  line-height: 1.08;
  letter-spacing: -.025em;
  transition: color .3s var(--ease);
}
.svc-row .d {
  grid-column: 2 / -1; grid-row: 2;
  margin-block-start: .35rem;
  max-width: 48ch;
  color: var(--c-muted);
  font-size: .98rem;
}
.svc-row .arrow {
  grid-row: 1; align-self: center;
  color: var(--c-magenta);
  opacity: 0; transform: translateX(10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.svc-row:hover .t { color: var(--c-magenta-ink); }
.svc-row:hover .arrow { opacity: 1; transform: translateX(0); }

/* שורת סיום — קריאה לפעולה בסוף הרשימה */
.svc-tail {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem 1.1rem;
  padding-block: clamp(1.4rem, 3vw, 2rem);
}
.svc-tail p { color: var(--c-muted); }

/* ==========================================================================
   17. Breakpoints — Tablet (≥720px) ו-Desktop (≥1024px)
   ========================================================================== */

@media (min-width: 720px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.is-featured { grid-column: span 2; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; }
  .about-preview .about-inner { grid-template-columns: 1.1fr 0.9fr; }
  .about-story-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .services-detail { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  :root { --header-h: 9.75rem; }   /* Header גבוה יותר כדי להכיל לוגו גדול */
  .brand-logo { height: 132px; }   /* פי 3 מגודל המובייל (44px) */
  .site-header {                   /* טשטוש זכוכית — רק בדסקטופ (התפריט כאן לא fixed) */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .menu-toggle { display: none; }
  .site-nav {
    position: static;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 1.75rem;
    padding: 0;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .site-nav a { padding: 0; border: 0; font-size: 0.98rem; font-weight: 500; }
  .site-nav a:hover { color: var(--c-magenta-ink); }
  .site-nav .nav-action { display: none; } /* בדסקטופ אין כפתור פעולה ב-Header (לפי הבריף) */

  .hero {
    align-items: center;
    min-height: calc(100vh - var(--header-h));
  }
  .hero-content { max-width: none; }
  .hero-scroll { display: inline-flex; }   /* רמז גלילה — דסקטופ בלבד */

  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .about-lead { grid-template-columns: 1.2fr 0.8fr; }
  .about-lead-visual { min-height: 20rem; }
  .contact-layout { grid-template-columns: 1.3fr 0.7fr; }
  .about-story-grid { grid-template-columns: repeat(4, 1fr); }
  .values-grid { grid-template-columns: repeat(4, 1fr); }
  .services-detail { grid-template-columns: repeat(3, 1fr); }
  .gallery-item.is-featured { grid-column: span 2; grid-row: span 1; }
  .process-steps { grid-template-columns: repeat(4, 1fr); }

  /* עמוד פרויקט */
  .project-hero { grid-template-columns: 0.85fr 1.15fr; align-items: center; }
  .project-story { grid-template-columns: repeat(2, 1fr); }
  .project-gallery { grid-template-columns: repeat(3, 1fr); }
  .project-lead { grid-template-columns: 1.4fr 1fr; align-items: start; gap: 3rem; }

  /* וואטסאפ צף — בעיקר חוויית מובייל; מוסתר בדסקטופ */
  .whatsapp-float { display: none; }
}
