/* Pastot — גרסה ראשונה (שלד). העיצוב הסופי של כל סקשן ייקבע בשיטת 10 האפשרויות. */

:root {
  --cream: #f6eee1;
  --cream-deep: #ede2d0;
  --paper: #fbf7f0;
  --olive: #4a5538;
  --olive-dark: #353d28;
  --wine: #6b2a1c;
  --tomato: #b83a24;
  --ink: #2b2620;
  --ink-soft: #5a5247;
  --line: #d9ccb6;
  --radius: 18px;
  --max: 1160px;
  --font-head: "Frank Ruhl Libre", "David Libre", Georgia, serif;
  --font-body: "Heebo", "Assistant", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); color: var(--wine); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.9rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.it { font-style: italic; font-family: Georgia, "Times New Roman", serif; color: var(--ink-soft); }

.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
section { padding: clamp(56px, 9vw, 110px) 0; }
.eyebrow { display: inline-block; font-size: .85rem; font-weight: 600; letter-spacing: .08em; color: var(--olive); margin-bottom: .8em; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 46ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--olive-dark); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--tomato); outline-offset: 3px; border-radius: 6px; }

/* כפתורים */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  font: 600 1rem var(--font-body); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--tomato); color: #fff; }
.btn-primary:hover { background: #9f2f1c; }
.btn-ghost { background: transparent; color: var(--olive-dark); border-color: var(--olive); }
.btn-ghost:hover { background: var(--olive); color: #fff; }
.btn-olive { background: var(--olive); color: #fff; }
.btn-olive:hover { background: var(--olive-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* תפריט עליון */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 238, 225, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.logo img { height: 58px; width: auto; mix-blend-mode: multiply; }
.nav { display: flex; gap: 26px; margin-inline-start: auto; }
.nav a { text-decoration: none; font-weight: 500; padding: 12px 2px; }
.nav a:hover { color: var(--tomato); }
.lang { font-weight: 600; text-decoration: none; padding: 10px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; }
.header-cta { min-height: 44px; padding: 0 20px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; padding: 0; background: var(--olive); min-height: min(calc(100svh - 77px), 800px); }
.hero-text { color: var(--cream); display: grid; align-content: end; gap: 22px; padding: clamp(40px, 6vw, 80px) clamp(18px, 4vw, 56px); }
.hero h1 { font: 800 clamp(2.5rem, 5.2vw, 4.8rem)/1.02 "Rubik", "Heebo", sans-serif; letter-spacing: -.02em; color: var(--cream); margin: 0; }
.hero h1 span { display: block; }
.hero .lead { font-size: 1.18rem; color: #e3dcc9; max-width: 44ch; margin: 0; }
.btn-cream { background: var(--cream); color: var(--olive-dark); }
.btn-cream:hover { background: #fff; }
.hero-stage { position: relative; }
.hero-plate { position: absolute; inset: 0; overflow: hidden; background: var(--cream); }
.spin { position: absolute; aspect-ratio: 1; width: 118%; top: 50%; inset-inline-start: 50%; translate: 50% -50%; }
.spin .ring { position: absolute; inset: 0; animation: spin 70s linear infinite reverse; }
.spin .ring text { font: 600 15.5px "Heebo", sans-serif; letter-spacing: .06em; fill: var(--olive); }
.spin .dish { position: absolute; inset: 11%; border-radius: 50%; overflow: hidden; animation: spin 90s linear infinite; box-shadow: 0 40px 80px -30px rgba(40, 22, 6, .6); }
.spin .dish img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; scale: 1.04; }
[dir="ltr"] .spin { translate: -50% -50%; }
[dir="ltr"] .spin .ring text { font-family: "Rubik", "Heebo", sans-serif; letter-spacing: .1em; }
@keyframes spin { to { rotate: 360deg; } }
.motion-off .spin .ring, .motion-off .spin .dish { animation-play-state: paused; }
.motion-toggle { position: absolute; z-index: 3; inset-inline-end: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--olive); background: rgba(246, 238, 225, .9); color: var(--olive-dark); font-size: .8rem; cursor: pointer; }
.motion-toggle:hover { background: var(--olive); color: #fff; }
.hero-badge { position: absolute; inset-inline-start: -58px; bottom: 12%; z-index: 3; width: 116px; height: 116px; margin: 0; border-radius: 50%; background: var(--tomato); color: #fff; display: grid; place-content: center; text-align: center; font-weight: 700; line-height: 1.15; rotate: -10deg; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5); }
.hero-badge b { font-size: 1.9rem; display: block; }
.hero-badge small { font-size: .74rem; font-weight: 500; }

/* פס הוכחה */
.proof { padding: 0; }
.proof ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; border-block: 1px solid var(--line); }
.proof li { text-align: center; color: var(--ink-soft); font-size: .95rem; }
.proof .star { color: #e3a72f; }
.proof strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--olive-dark); }

/* איך זה עובד */
.how { text-align: center; }
.how-lead { color: var(--ink-soft); margin: 0; }
.how-path { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 44px; position: relative; }
.how-path::before { content: ""; position: absolute; top: 27px; inset-inline: 12.5%; border-top: 2px dashed var(--olive); }
.how-path .st { display: grid; justify-items: center; align-content: start; gap: 8px; padding: 0 10px; position: relative; }
.how-path .dot { width: 56px; height: 56px; border-radius: 50%; background: var(--cream); border: 2px solid var(--olive); display: grid; place-items: center; font: 900 1.4rem var(--font-head); color: var(--olive-dark); }
.how-path .st:nth-child(4) .dot { background: var(--tomato); border-color: var(--tomato); color: #fff; font-size: 1.2rem; }
.how-path h3 { font: 700 1.15rem var(--font-body); color: var(--wine); margin: 0; }
.how-path .st p { color: var(--ink-soft); font-size: .92rem; max-width: 22ch; margin: 0; }
.how-path .eg { margin-top: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 5px 16px; font-weight: 700; color: var(--olive-dark); }
.how-path .st:nth-child(4) .eg { background: none; border: 0; font: 800 2rem "Rubik", var(--font-body); color: var(--tomato); padding: 0; }
.how-path .eg.sw { animation: eg-in .4s ease; }
@keyframes eg-in { from { opacity: 0; translate: 0 6px; } }
.how-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: 36px; }
.how-pause { min-width: 44px; min-height: 44px; border-radius: 50%; border: 1.5px solid var(--olive); background: transparent; color: var(--olive-dark); font-size: .8rem; cursor: pointer; }
.how-pause:hover { background: var(--olive); color: #fff; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.chips li { border: 1.5px solid var(--line); border-radius: 999px; padding: 5px 14px; font-size: .95rem; color: var(--ink-soft); transition: background .35s, color .35s, border-color .35s; }
.chips li.on { background: var(--olive); border-color: var(--olive); color: #fff; font-weight: 600; }
.chips li.more { border-style: dashed; }
.note { color: var(--olive-dark); font-weight: 500; }

/* המיוחדים */
.specials { background: var(--cream-deep); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 40px 0 32px; }
.card { background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.card-media { aspect-ratio: 4 / 3; background: var(--cream); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.price { margin-top: auto; padding-top: 10px; font: 700 1.2rem var(--font-head); color: var(--olive-dark); }

/* מקום שמור לתמונה */
.ph { width: 100%; height: 100%; min-height: 160px; display: grid; place-items: center; text-align: center; padding: 16px; background: repeating-linear-gradient(45deg, #efe4d2, #efe4d2 12px, #e8dbc6 12px, #e8dbc6 24px); color: var(--ink-soft); font-size: .88rem; }
.ph b { display: block; color: var(--wine); }
.todo { background: #fff3c4; border: 1px dashed #c9a400; border-radius: 8px; padding: 2px 8px; font-size: .88rem; color: #6b5600; }

/* הסיפור */
.story .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.story-media { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; }
.story-lead { color: var(--ink-soft); margin: 0; max-width: 54ch; }
.facts { margin: 22px 0 0; border-top: 1.5px solid var(--olive); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--ink-soft); }
.facts dd { margin: 0; font-weight: 600; color: var(--olive-dark); text-align: end; }
.story-media img { width: 100%; height: 100%; object-fit: cover; }

/* לא רק פסטה */
.also .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.also-media { border-radius: 28px; overflow: hidden; aspect-ratio: 4/3; }
.also-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.also ul { list-style: none; padding: 0; margin: 18px 0 0; }
.also li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.also li span:first-child { font-weight: 600; color: var(--olive-dark); }
.also .pr { color: var(--tomato); font-weight: 700; white-space: nowrap; }
.also-link { display: inline-block; margin-top: 22px; padding: 6px 0; font-weight: 600; color: var(--olive-dark); border-bottom: 2px solid var(--olive); text-decoration: none; }
.also-link:hover { color: var(--tomato); border-color: var(--tomato); }

/* ביקורות */
.reviews { background: var(--olive); color: #f6eee1; }
.reviews h2 { color: #fff; }
.reviews .eyebrow { color: #d6dfbf; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 36px 0 28px; }
.quotes blockquote { margin: 0; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius); padding: 24px; }
.quotes .q { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius); padding: 24px; }
.quotes .q h3 { color: #fff; font-size: 1.2rem; margin: 0 0 8px; }
.quotes .q p { margin: 0; color: #e6ecd6; }
.quotes cite { display: block; margin-top: 12px; font-style: normal; font-weight: 600; }
.reviews a { color: #fff; }
.reviews-sub { color: #d6dfbf; margin: 0; }
.quotes .star { color: #e3a72f; letter-spacing: 2px; display: block; }
.quotes p { margin: 10px 0 0; }
.reviews-link { font-weight: 600; text-decoration: none; border-bottom: 2px solid #e3a72f; }

/* סניפים */
.branches-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin: 40px 0 24px; }
.branch { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.branch dl { margin: 0 0 22px; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: center; }
.branch dt { color: var(--ink-soft); }
.branch dd { margin: 0; font-weight: 500; }
.branch .star { color: #e3a72f; }
.branch .rating { color: var(--olive-dark); font-weight: 600; margin-bottom: 14px; }

/* פוטר */
.site-footer { background: var(--cream); color: var(--ink); border-top: 3px solid var(--olive); padding: 48px 0 40px; font-size: .95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; }
.site-footer h3 { color: var(--olive-dark); font-size: 1.05rem; margin: 0 0 8px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a, .branch dd a, .reviews .wrap > a { display: inline-block; padding: 10px 0; min-height: 44px; }
.site-footer li { margin-bottom: 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-logo { display: inline-block; margin-bottom: 12px; }
.footer-logo img { height: 64px; width: auto; mix-blend-mode: multiply; }
.copy { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; color: var(--ink-soft); }

/* פס תחתון בטלפון */
.mobile-bar { display: none; }

/* בחירת סניף */
dialog.pick { border: 0; border-radius: 22px; padding: 26px 22px; width: min(92vw, 380px); background: var(--paper); color: var(--ink); }
dialog.pick::backdrop { background: rgba(43, 38, 32, .55); }
dialog.pick h2 { font-size: 1.4rem; }
dialog.pick .btn { width: 100%; margin-bottom: 10px; }
dialog.pick .close { background: none; border: 0; font: inherit; color: var(--ink-soft); cursor: pointer; min-height: 44px; width: 100%; }

/* עמוד התפריט */
.menu-hero { padding-bottom: 24px; }
.menu-nav { position: sticky; top: 77px; z-index: 40; background: var(--cream); border-bottom: 1px solid var(--line); }
.menu-nav ul { list-style: none; margin: 0; padding: 10px 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.menu-nav a { white-space: nowrap; text-decoration: none; display: block; padding: 10px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 500; font-size: .95rem; }
.menu-nav a:hover { background: var(--olive); color: #fff; }
.menu-section { padding: 44px 0 8px; scroll-margin-top: 150px; }
.menu-section > .wrap > h2 { border-bottom: 2px solid var(--olive); padding-bottom: 10px; }
.menu-sub { color: var(--olive-dark); font-family: var(--font-head); font-size: 1.35rem; margin: 28px 0 6px; }
.menu-hint { color: var(--ink-soft); font-size: .95rem; margin: 0 0 8px; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.menu-list .name { font-weight: 600; font-size: 1.08rem; }
.menu-list .p { font: 700 1.1rem var(--font-head); color: var(--olive-dark); white-space: nowrap; }
.menu-list .d { grid-column: 1 / -1; color: var(--ink-soft); font-size: .95rem; }
.menu-list.compact li { padding: 9px 0; }
.menu-list.compact .name { font-weight: 500; font-size: 1rem; }
.menu-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.pasta-types { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pasta-types li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; }
.pasta-types small { color: var(--olive-dark); font-weight: 600; }

/* כניסה רכה בגלילה */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
  .chips li { transition: none; }
  .how-path .eg.sw { animation: none; }
  .spin .ring, .spin .dish { animation: none; }
}

/* עמודים משפטיים */
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 5.5vw, 3.2rem); }
.legal h2 { font-size: 1.35rem; margin: 2em 0 .5em; }
.legal p, .legal li { line-height: 1.75; }
.legal ul { padding-inline-start: 1.2em; margin: .6em 0; }
.legal li { margin-bottom: .35em; }
.legal a { color: var(--olive-dark); font-weight: 600; }
.legal-date { margin-top: 2.5em; padding-top: 1em; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .92rem; }

/* טאבלט */
@media (max-width: 900px) {
  .nav { display: none; }
  .lang { margin-inline-start: auto; }
  .story .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-stage { order: -1; height: 42svh; }
  .spin { width: 80vw; top: auto; bottom: -24vw; translate: 50% 0; }
  [dir="ltr"] .spin { translate: -50% 0; }
  .hero-text { padding-top: 56px; }
  .hero-badge { inset-inline-start: 18px; bottom: -40px; width: 96px; height: 96px; }
  .hero-badge b { font-size: 1.5rem; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

/* טלפון */
@media (max-width: 640px) {
  .how { text-align: start; }
  .how-path { grid-template-columns: 1fr; gap: 22px; margin-top: 30px; }
  .how-path::before { top: 28px; bottom: 28px; inset-inline: 27px auto; border-top: 0; border-inline-start: 2px dashed var(--olive); }
  .how-path .st { grid-template-columns: 56px 1fr; justify-items: start; gap: 2px 16px; padding: 0; }
  .how-path .dot { grid-row: span 3; }
  .how-path .st p { max-width: none; }
  .how-path .eg { justify-self: start; }
  .how-actions { justify-content: flex-start; }
  body { font-size: 16px; padding-bottom: 72px; }
  .wrap { width: min(100% - 32px, var(--max)); }
  .site-header .wrap { min-height: 64px; gap: 10px; }
  .logo img { height: 46px; }
  .header-cta { display: none; }
  .cards { gap: 12px; margin-top: 28px; }
  .card { flex-direction: row; align-items: stretch; }
  .card-media { flex: none; width: 36%; aspect-ratio: auto; min-height: 124px; }
  .card-media .ph { min-height: 0; font-size: .8rem; padding: 6px; }
  .card-body { padding: 12px 14px; gap: 3px; }
  .card-body h3 { font-size: 1.08rem; }
  .card-body .it { display: none; }
  .card-body p { font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hero .btn-row { flex-wrap: nowrap; }
  .hero .btn-row .btn { flex: 1; padding: 0 12px; }
  .hero-stage { height: 34svh; }
  .spin { width: 128vw; bottom: -52vw; }
  .hero-text { padding-top: 48px; padding-bottom: 28px; }
  .proof ul { grid-template-columns: 1fr; gap: 12px; }
  .cards, .quotes, .branches-grid, .menu-cols { grid-template-columns: 1fr; }
  .also .wrap { grid-template-columns: minmax(0, 1fr); }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .branch { padding: 24px 20px; }
  .branch .btn-row .btn { flex: 1; padding: 0 14px; }
  .menu-nav { top: 65px; }
  .site-footer { padding-bottom: 110px; }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
    position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(251, 247, 240, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  }
  .mobile-bar .btn { min-height: 50px; padding: 0 8px; font-size: .98rem; width: 100%; }
}

.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; }
