/* ══════════════════════════════════════════════════════════════════════
   desktop.css — חוויית המחשב של מרקוס (מ-900px ומעלה)
   ──────────────────────────────────────────────────────────────────────
   · הקובץ הזה אחרון בשרשרת ה-<link> ב-index.html — זו הסיבה שהוא גובר.
   · כל כלל יושב בתוך @media (min-width:900px). מתחת ל-900px אין כאן
     אף בית אחד, ולכן המובייל המאושר לא זז.
   · אותו תוכן, אותו מנוע גלילה ואותו סרט — אבל פריימים לרוחב
     (desktop-v2, 1280×720) ופריסה שמנצלת את רוחב המסך.
   · צבע: אין אדום. הדגשה = אספרסו #3D2B1F, ורק לכפתור הפעולה.
   ══════════════════════════════════════════════════════════════════════ */

@media (min-width: 900px) {

  :root {
    /* שוליים רוחביים למקטעים — גדלים עם המסך כדי שהפריסה תנצל רוחב */
    --pad-d: clamp(40px, 6.4vw, 156px);
    /* שוליים לטקסט הצף על הסרט — קרוב יותר לקצה */
    --edge-d: clamp(24px, 3.4vw, 76px);
  }

  /* ══ 1. הבמה ═════════════════════════════════════════════════════
     מסלול הסקראב קצר יותר מזה של המובייל: 204 פריימים במקום 412,
     ולכן 430vh מספיקים לאותו קצב תנועה. */
  .film-long .film { height: calc(100svh + 430vh); }
  .film-long .film { height: calc(100dvh + 430vh); }

  /* הכתובית הראשונה: "איטליה" מימין, "אצלך בבית" משמאל,
     אותו קו ואותו גובה — והשף עולה ביניהם. בפריים הרוחבי
     השף קטן וממורכז, ולכן המילים יושבות בקצוות המסך. */
  .film__caption[data-cap="0"] {
    inset-inline: var(--edge-d) !important;
    inset-block-start: 16vh !important;
    gap: min(48vw, 760px) !important;
    align-items: baseline !important;
  }
  .film__caption[data-cap="0"] .film__half {
    font-size: clamp(23px, 2.05vw, 38px) !important;
    letter-spacing: -0.028em !important;
  }
  .film__caption[data-cap="0"] .film__kicker.film__half {
    grid-column: 1 !important;
    text-align: right !important;
  }
  .film__caption[data-cap="0"] .film__line.film__half {
    grid-column: 2 !important;
    grid-row: 1 !important;
    text-align: left !important;
  }

  /* הכתובית השנייה: בטור השמאלי הריק — ליד השוליים, בגובה המותן.
     הפריים הרוחבי משאיר את שני הצדדים פנויים לאורך כל הפרק. */
  .film__caption[data-cap="1"] {
    inset-inline: auto !important;
    right: auto !important;
    left: var(--edge-d) !important;
    inset-block-start: 40vh !important;
    max-width: min(24ch, 21.5vw);
    text-align: left !important;
  }
  .film__caption[data-cap="1"] .film__line {
    color: #2A2320 !important;
    text-shadow: 0 1px 2px rgb(245 239 229 / 62%) !important;
    max-width: none !important;
    margin: 0 !important;
    text-align: left !important;
    font-size: clamp(19px, 1.5vw, 27px) !important;
    line-height: 1.44 !important;
  }

  /* הכתובית השלישית: פס הריק שמעל הפיצה במבט-העל ובחיתוך. */
  .film__caption[data-cap="2"] {
    inset-block-start: 3.6vh !important;
    inset-inline: var(--edge-d) !important;
    text-align: center !important;
  }
  .film__caption[data-cap="2"] .film__line {
    color: #2A2320 !important;
    text-shadow: none !important;
    max-width: min(56ch, 58vw) !important;
    margin: 0 auto !important;
    font-size: clamp(20px, 1.55vw, 28px) !important;
  }

  /* הכתובית הרביעית: על הקרם הריק שבסוף — דיו כהה, לא קרם. */
  .film__caption[data-cap="3"] {
    inset-block-start: auto !important;
    inset-block-end: 22vh !important;
    inset-inline: var(--edge-d) !important;
    text-align: center !important;
  }
  .film__caption[data-cap="3"] .film__line {
    color: #2A2320 !important;
    text-shadow: 0 1px 2px rgb(245 239 229 / 58%) !important;
    max-width: min(56ch, 62vw) !important;
    margin: 0 auto !important;
    font-size: clamp(19px, 1.45vw, 26px) !important;
  }
  .film__caption[data-cap="3"] .film__kicker { color: #6A5C50 !important; }

  /* ══ 2. הדר: זכוכית קפואה לרוחב ══════════════════════════════════
     הזכוכית, הטשטוש וה-logo השקוף כבר מוגדרים. כאן רק פורשים
     את ההדר על כל רוחב המסך במקום על 1240px ממורכזים. */
  .site-header__inner {
    max-width: none;
    padding-inline: var(--edge-d);
  }
  .site-nav { gap: clamp(22px, 2.6vw, 46px); }
  .site-nav__link { font-size: 15px; }

  /* ══ 3. כותרת המקטעים ═══════════════════════════════════════════ */
  .sec__title { font-size: clamp(34px, 3.3vw, 58px); }
  .sec__kicker { font-size: 12.5px; }

  /* ══ 4. הפתיחה שאחרי הסרט — שתי עמודות, א-סימטרי ════════════════ */
  .hero-copy {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
    column-gap: clamp(40px, 5.4vw, 116px);
    row-gap: clamp(18px, 2.4vh, 30px);
    align-items: end;
    text-align: start;
    padding: clamp(72px, 11vh, 150px) var(--pad-d) clamp(40px, 6vh, 80px);
  }
  .hero-copy__title {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin: 0;
    text-align: start;
    font-size: clamp(38px, 4.3vw, 74px);
    line-height: 1.08;
  }
  .hero-copy__sub {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    max-width: 36ch;
    text-align: start;
    font-size: 18.5px;
    line-height: 1.78;
  }
  .hero-copy .btn {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
  }

  /* ══ 5. הסיפור — טקסט מימין, המנות משמאל, בגבהים שונים ═════════ */
  .story {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    column-gap: clamp(30px, 4.4vw, 96px);
    align-items: start;
    padding: clamp(64px, 9vh, 140px) var(--pad-d) 0;
  }
  .story__text {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
    max-width: 34rem;
    margin: 0;
    padding: 0;
    text-align: start;
  }
  .story__text p { font-size: clamp(20px, 1.5vw, 27px); line-height: 1.9; }
  .story__text .eyebrow { margin-bottom: 2em !important; }
  .dish--pizza {
    grid-column: 2;
    grid-row: 1;
    width: 76%;
    margin: 0 0 clamp(26px, 4.5vh, 60px) auto;
  }
  .dish--salad {
    grid-column: 2;
    grid-row: 2;
    width: 54%;
    margin: clamp(26px, 4.5vh, 60px) auto 0 0;
  }
  .story__foot {
    grid-column: 1;
    grid-row: 3;
    align-items: flex-start;
    padding: clamp(36px, 6vh, 84px) 0 clamp(48px, 8vh, 110px);
  }
  .story__foot .sign { font-size: 36px; }

  /* ══ 6. השולחן האיטלקי השלם — ארבעה כרטיסים, שורה אחת ══════════
     במקום קרוסלה אופקית שנמשכת 260vh: כל ארבעת הכרטיסים זה לצד זה.
     הקווים העליונים בגבהים שונים — לא תרשים, פריסה. */
  .menu { height: auto !important; overflow: visible !important; }
  .menu__pin {
    position: static !important;
    height: auto !important;
    min-height: 0 !important;
    display: block !important;
    overflow: visible !important;
    padding: clamp(72px, 10vh, 150px) var(--pad-d) 0 !important;
  }
  .menu__title {
    padding-inline: 0;
    text-align: start;
    font-size: clamp(34px, 3.3vw, 58px);
    margin-bottom: clamp(30px, 4.5vh, 60px);
  }
  .menu .sec__kicker { text-align: start; }
  .menu__track {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: clamp(20px, 2.6vw, 56px);
    padding-inline: 0 !important;
    transform: none !important;
    will-change: auto;
  }
  .mcard { max-width: none !important; padding-top: clamp(16px, 2.6vh, 30px); }
  .mcard__n { margin-bottom: clamp(10px, 1.6vh, 20px); }
  .mcard__t { font-size: clamp(21px, 1.7vw, 30px); }
  .mcard__p { font-size: 17px; max-width: 38ch; }
  .menu__hint { display: none !important; }
  .menu__track > .mcard:nth-child(2) { margin-top: clamp(16px, 4vh, 60px); }
  .menu__track > .mcard:nth-child(3) { margin-top: clamp(28px, 7vh, 108px); }
  .menu__track > .mcard:nth-child(4) { margin-top: clamp(10px, 2.5vh, 40px); }

  /* ══ 7. סוגי האירועים — שלושה טורים ═════════════════════════════ */
  .events {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(24px, 3vw, 60px);
    align-items: start;
    padding: clamp(80px, 11vh, 150px) var(--pad-d) 0;
  }
  .events > .sec__kicker,
  .events > .sec__title { grid-column: 1 / -1; }
  .events > .ed {
    display: block;
    max-width: none;
    margin: 0;
    padding: clamp(16px, 2.4vh, 30px) 0 0;
    border-top: 1px solid rgba(28, 25, 23, .14) !important;
  }
  .ed__ph img { aspect-ratio: 4 / 5; }
  .ed__title {
    margin: clamp(18px, 2.4vh, 30px) 0 10px;
    font-size: clamp(22px, 1.85vw, 32px);
  }
  .ed__text { font-size: 17px; max-width: 38ch; line-height: 1.78; }
  .events > .ed:nth-of-type(2) { margin-top: clamp(20px, 5vh, 76px); }
  .events > .ed:nth-of-type(3) { margin-top: clamp(8px, 2vh, 30px); }

  /* ══ 8. אתם האורחים באירוע שלכם — שלושה צעדים בטור ═════════════ */
  .how { padding: clamp(80px, 11vh, 150px) var(--pad-d) 0; }
  .how__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(28px, 3.6vw, 76px);
    max-width: none;
  }
  .how__list li {
    padding: clamp(18px, 2.6vh, 34px) 0;
    border-top: 1px solid rgba(28, 25, 23, .14) !important;
  }
  .how__list p { font-size: 17px; line-height: 1.75; }

  /* ══ 9. מה יוצא מהאש — קולאז' על כל הרוחב ═══════════════════════ */
  .gallery { padding: clamp(80px, 11vh, 150px) var(--pad-d) 0; }
  .gallery__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: clamp(10px, 1.3vw, 24px) !important;
    max-width: none !important;
    align-items: start;
  }
  .gallery__grid img { aspect-ratio: 1 / 1 !important; }
  .gallery__grid img:nth-child(1) { grid-column: span 2; }
  .gallery__grid img:nth-child(2) { grid-column: span 2; margin-top: clamp(16px, 4.5vh, 66px); }
  .gallery__grid img:nth-child(3) { grid-column: span 2; margin-top: clamp(6px, 1.6vh, 24px); }
  .gallery__grid img:nth-child(4) { grid-column: span 2; margin-top: clamp(6px, 1.6vh, 24px); }
  .gallery__grid img:nth-child(5) { grid-column: span 2; }
  .gallery__grid img:nth-child(6) { grid-column: span 2; margin-top: clamp(16px, 4.5vh, 66px); }

  /* ══ 10. שאלות נפוצות — שני טורים ═══════════════════════════════ */
  .faq { padding: clamp(80px, 11vh, 150px) var(--pad-d) 0; }
  .faq__list {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(40px, 5.5vw, 120px);
    max-width: none;
  }
  .faq__list > div {
    padding: clamp(20px, 2.8vh, 36px) 0;
    border-top: 1px solid rgba(28, 25, 23, .14) !important;
  }
  .faq dt { font-size: clamp(19px, 1.5vw, 25px); }
  .faq dd { font-size: 17px; }

  /* ══ 11. תיאום אירוע — כותרת מימין, טופס משמאל ══════════════════ */
  .inquiry {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(48px, 6vw, 140px);
    align-items: start;
    padding: clamp(80px, 11vh, 150px) var(--pad-d) clamp(40px, 6vh, 80px);
  }
  .inquiry > .sec__kicker { grid-column: 1; text-align: start; }
  .inquiry > .sec__title {
    grid-column: 1;
    text-align: start;
    font-size: clamp(30px, 2.6vw, 46px);
    margin-bottom: clamp(18px, 2.4vh, 30px);
  }
  .inquiry > .inquiry__sub {
    grid-column: 1;
    text-align: start;
    margin: 0;
    max-width: 34ch;
    font-size: 17px;
  }
  .inquiry > .lead {
    grid-column: 2;
    grid-row: 1 / span 3;
    margin: 0;
    max-width: none;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(14px, 1.4vw, 24px);
    row-gap: clamp(12px, 1.6vh, 20px);
  }
  .inquiry > .lead .btn { grid-column: 1 / -1; }
  .inquiry > .lead .lead__alt { grid-column: 1 / -1; }
  .inquiry > .lead .lead__f input { min-height: 54px; }

  /* ══ 12. הפוטר — שורה אחת לרוחב ═════════════════════════════════ */
  .foot {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: clamp(24px, 3vw, 64px);
    align-items: baseline;
    text-align: start;
    padding: clamp(44px, 7vh, 88px) var(--pad-d) calc(clamp(44px, 7vh, 88px) + env(safe-area-inset-bottom));
  }
  .foot__name { margin: 0; font-size: 21px; }
  .foot__line { margin: 0; max-width: none; }
  .foot__meta { margin: 0; justify-self: end; text-align: end; }

  /* הפוטר המשני (המקטע שמתחת) — אותו רוחב שוליים */
  .site-footer__inner { max-width: calc(1240px + 2 * var(--pad-d)); }
}
