/* =========================================================
   עד מתי? — עיצוב האתר
   הצבעים נלקחו ישירות מהכריכה: נייר קרם, פחם/עיפרון,
   כתום של שקיעה, צהוב של שמש וטורקיז של ים.
   ========================================================= */
:root {
  --paper: #f3e2c3;      /* רקע הכריכה */
  --paper-2: #ecd4ab;    /* חול */
  --paper-3: #fbf3e4;    /* נייר בהיר */
  --ink: #26221e;        /* קווי עיפרון / טקסט */
  --ink-2: #4b4339;      /* מדים / טקסט משני */
  --smoke: #7a7263;      /* עשן */
  --sun: #fdc770;        /* שמש */
  --sunset: #f29a3f;     /* שקיעה */
  --sunset-deep: #d9702a;
  --sea: #2f7180;        /* ים */
  --sea-light: #7fb3bb;
  --sky: #a9c9cf;

  --font-body: "Rubik", "Assistant", system-ui, sans-serif;
  --font-ui: "Assistant", system-ui, sans-serif;   /* כפתורים */
  /* גופן הספר: בספר המודפס הטקסט סדור ב-FbFrankRuelBook (פונטביט, בתשלום).
     Frank Ruhl Libre היא הגרסה החינמית של אותה אות "פרנק ריעל".
     אם תרכוש רישיון רשת מפונטביט — שים את הקבצים בתיקיית fonts והוסף @font-face, והוא ייבחר אוטומטית. */
  --font-book: "FbFrankRuelBook", "Frank Ruhl Libre", Georgia, serif;
  --font-hand: "Amatic SC", "Assistant", cursive;

  --radius: 14px;
  --shadow: 0 18px 40px -18px rgba(38, 34, 30, .45);
  --maxw: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.75;
  font-weight: 400;
  color: var(--ink);
  background-color: var(--paper);
  /* מרקם נייר עדין */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .28 0 0 0 0 .2 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
html, body { overflow-x: clip; }
a { color: inherit; }
mark { background: linear-gradient(transparent 55%, rgba(253, 199, 112, .75) 55%); color: inherit; padding: 0 2px; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 760px; }
.center { text-align: center; margin-top: 2rem; }

/* ---------- כפתורים ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 800 1.05rem/1 var(--font-ui);
  padding: 1em 1.8em;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, background .2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sun { background: var(--sunset); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn--sun:hover { background: var(--sun); box-shadow: 6px 6px 0 var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: rgba(38,34,30,.07); }
.btn--ink { background: var(--ink); color: var(--paper-3); }
.btn--ink:hover { background: var(--sea); border-color: var(--sea); }
.btn--sm { padding: .7em 1.3em; font-size: .95rem; box-shadow: 3px 3px 0 var(--ink); }
.btn--block { width: 100%; }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--sea); outline-offset: 3px; }

/* ---------- תפריט ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 226, 195, .88);
  backdrop-filter: blur(8px);
  border-bottom: 1.5px solid rgba(38,34,30,.15);
}
.nav__inner { max-width: var(--maxw); margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 24px; }
.nav__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav__logo img { height: 40px; width: auto; }
.nav__logo .byline__name { font-size: 1.15rem; }
.nav__logo .byline__bar { height: 28px; }

/* "עד מתי? | שקד בניטה" — כמו בשדרת הספר */
.byline__bar { display: inline-block; width: 2.5px; height: 1em; background: var(--ink); border-radius: 2px; rotate: 4deg; flex: none; }
.byline__name { font-family: var(--font-ui); font-weight: 800; letter-spacing: .01em; white-space: nowrap; color: var(--ink); }
.nav__links { display: flex; gap: 22px; margin-inline-start: auto; }
.nav__links a { text-decoration: none; font-weight: 600; font-size: 1rem; position: relative; }
.nav__links a::after { content: ""; position: absolute; inset-inline: 0; bottom: -2px; height: 2px; background: var(--sunset); transform: scaleX(0); transition: transform .2s; }
.nav__links a:hover::after { transform: scaleX(1); }

/* ---------- HERO ---------- */
.hero { position: relative; overflow: hidden; padding: 44px 0 24px; }
.hero::before { /* זוהר שקיעה */
  content: ""; position: absolute; width: 900px; height: 900px; border-radius: 50%;
  left: -260px; top: -180px;
  background: radial-gradient(circle, rgba(253,199,112,.65) 0%, rgba(242,154,63,.25) 38%, transparent 68%);
  pointer-events: none;
}
.hero__inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: center; }
.hero__text { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero__lead { font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.5; font-weight: 300; margin: 0 0 1rem; }
.hero__lead strong { font-weight: 500; }
.hero__sub { color: var(--ink-2); max-width: 30em; margin: 0 auto 1.8rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero__cta .btn { font-size: 1.15rem; padding: 1.05em 2.6em; }
.hero__badges { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; font-size: .95rem; color: var(--ink-2); font-weight: 600; }

.hero__visual { position: relative; display: flex; flex-direction: column; align-items: center; isolation: isolate; }

/* ---- ספר תלת-ממדי שמתהפך בלחיצה ----
   שלושה חלקים: כריכה קדמית, כריכה אחורית ושדרה, ועוד צד הדפים */
.book3d {
  --bw: 420px;                         /* רוחב הספר */
  --bd: calc(var(--bw) * .122);        /* עובי הספר (לפי השדרה האמיתית) */
  position: relative; width: var(--bw); aspect-ratio: 1098 / 1723;
  perspective: 1600px; cursor: pointer; outline: none;
  animation: float 6s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
}
.book3d__inner {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: rotateY(-22deg) rotateX(3deg);
  transition: transform 1.1s cubic-bezier(.3, .8, .25, 1);
}
.book3d:hover .book3d__inner { transform: rotateY(-12deg) rotateX(2deg); }
.book3d.is-flipped .book3d__inner { transform: rotateY(202deg) rotateX(3deg); }
.book3d.is-flipped:hover .book3d__inner { transform: rotateY(192deg) rotateX(2deg); }
.book3d__face {
  position: absolute; inset: 0; width: 100%; height: 100%;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: 2px 6px 6px 2px;
}
.book3d__front { transform: translateZ(calc(var(--bd) / 2)); }
.book3d__back  { transform: rotateY(180deg) translateZ(calc(var(--bd) / 2)); border-radius: 6px 2px 2px 6px; }
.book3d__spine {
  position: absolute; top: 0; height: 100%; width: var(--bd);
  left: calc(100% - var(--bd) / 2);
  transform: rotateY(90deg);
  filter: brightness(.9);
}
.book3d__pages {
  position: absolute; top: .6%; height: 98.8%; width: var(--bd);
  left: calc(var(--bd) / -2);
  transform: rotateY(-90deg);
  background: repeating-linear-gradient(90deg, #f8f0de 0 2px, #e2d3b4 2px 3px);
}
.book3d:focus-visible .book3d__inner { outline: 3px solid var(--sea); outline-offset: 8px; }
.hero__visual::after { /* צל על "הרצפה" */
  content: ""; position: absolute; bottom: -22px; left: 50%; translate: -50% 0;
  width: 70%; height: 30px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(38,34,30,.35), transparent);
  animation: shadow 6s ease-in-out infinite; z-index: -1;
}
@keyframes shadow { 50% { scale: .88; opacity: .7; } }
@keyframes float { 50% { translate: 0 -10px; } }

.scribble { display: block; width: 100%; height: 30px; margin-top: 30px; }
.scribble path { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; opacity: .7; }

/* ---------- MARQUEE ---------- */
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; padding: 14px 0; transform: rotate(-1deg); margin: 10px -10px 0; }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 30s linear infinite; }
.marquee span { font-family: var(--font-hand); font-size: 2.2rem; line-height: 1; white-space: nowrap; }
.marquee span::after { content: "✦"; margin-inline-start: 48px; color: var(--sunset); font-size: 1.2rem; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(33.333%); } }

/* ---------- סקשנים ---------- */
.section { padding: 96px 0; position: relative; }
.section__intro { text-align: center; color: var(--ink-2); margin: -1rem auto 2.6rem; max-width: 36em; }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink .section__intro { color: var(--sky); }
.section--sand { background: var(--paper-2); }
.section--sunset { background: linear-gradient(180deg, var(--paper) 0%, #f7d7a0 55%, #f3b56f 100%); }

.h2 { text-align: center; font-family: var(--font-hand); font-size: clamp(2.8rem, 6vw, 4rem); line-height: 1; margin: 0 0 2.2rem; font-weight: 700; }
.h2 span { position: relative; display: inline-block; padding: 0 .2em; }
.h2 span::after { /* קו מצויר בעיפרון מתחת לכותרת, כמו בכריכה */
  content: ""; position: absolute; inset-inline: -6%; bottom: -.12em; height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 12' preserveAspectRatio='none'%3E%3Cpath d='M3 8 C 80 3, 180 5, 297 6' stroke='%2326221e' stroke-width='2.4' fill='none' stroke-linecap='round'/%3E%3Cpath d='M10 10 C 90 6, 200 8, 290 8' stroke='%2326221e' stroke-width='1.2' fill='none' stroke-linecap='round' opacity='.6'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.h2--light span::after { filter: invert(1) sepia(.4); }
.h2--start { text-align: start; }

.prose p { margin: 0 0 1.2em; }
.prose { font-size: 1.1rem; line-height: 1.9; font-weight: 300; }
.prose strong { font-weight: 600; }
.lead-quote { font-size: 1.5rem; white-space: nowrap; /* תמיד שורה אחת; script.js מקטין רק אם צריך */ font-weight: 600 !important; line-height: 1.4; }

/* ---------- קטעים מהספר (דף יומן בגופן של הספר) ---------- */
.diary__tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 0 0 34px; }
.diary__tabs button {
  font-family: var(--font-book); font-weight: 700; font-size: 1.05rem;
  background: transparent; color: var(--paper); border: 1.5px solid rgba(243,226,195,.4);
  border-radius: 999px; padding: 8px 20px; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.diary__tabs button:hover { border-color: var(--paper); }
.diary__tabs button[aria-selected="true"] { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.excerpts { max-width: 680px; margin: 0 auto; }
.excerpt {
  position: relative; background: var(--paper-3); color: #1d1a17;
  padding: 26px clamp(22px, 5vw, 56px) 26px; border-radius: 4px; rotate: -.6deg;
  box-shadow: 0 24px 50px -22px rgba(0,0,0,.7);
  /* שורות של מחברת */
  background-image: repeating-linear-gradient(transparent 0 35px, rgba(47,113,128,.16) 35px 36px);
  background-position: 0 14px;
  animation: pageIn .45s ease;
}
.excerpt[hidden] { display: none; }
@keyframes pageIn { from { opacity: 0; translate: 0 10px; } }
.excerpt::before { /* סלוטייפ */
  content: ""; position: absolute; top: -12px; left: 50%; width: 110px; height: 26px; translate: -50% 0; rotate: -3deg;
  background: rgba(253, 199, 112, .75); box-shadow: 0 1px 2px rgba(0,0,0,.1);
}
.excerpt__running { /* כותרת רצה כמו בראש העמוד בספר */
  margin: 0 0 36px; font-family: var(--font-book); font-weight: 700; font-size: .9rem; color: #1d1a17; line-height: 36px;
}
.excerpt__running--even { text-align: left; }
.excerpt__date { /* בדיוק כמו בספר: אותו גופן, מודגש */
  font-family: var(--font-book); font-weight: 700; font-size: 1.22rem; line-height: 36px; margin: 0; color: #1d1a17; }
.excerpt blockquote { margin: 0; font-family: var(--font-book); font-weight: 500; font-size: 1.18rem; line-height: 36px; color: #1d1a17; }
.excerpt blockquote p { margin: 0; text-align: justify; text-justify: inter-word; }
.excerpt blockquote p + p { margin-top: 36px; }
.excerpt__source { margin: 36px 0 0; font-size: .88rem; color: var(--smoke); line-height: 36px; }

/* ---------- גלריה ---------- */
.gallery { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 28px; align-items: center; max-width: 1200px; margin: 0 auto; padding: 90px 20px 30px; }
.gallery__item { margin: 0; }
.gallery__item img { border-radius: 8px; box-shadow: var(--shadow); border: 8px solid var(--paper-3); }
.gallery__item--tilt-r { rotate: 2.5deg; }
.gallery__item--tilt-l { rotate: -2.5deg; }
.gallery__item--art img { border: 0; border-radius: var(--radius); }
.gallery__item figcaption { text-align: center; font-family: var(--font-hand); font-size: 2rem; margin-top: 14px; line-height: 1.1; }

/* ---------- ביקורות ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { margin: 0; background: var(--paper-3); border: 2px solid var(--ink); border-radius: var(--radius); padding: 26px; box-shadow: 5px 5px 0 var(--ink); display: flex; flex-direction: column; }
.review__stars { color: var(--sunset); letter-spacing: 3px; font-size: 1.2rem; }
.review blockquote { margin: .6rem 0 1rem; font-weight: 300; flex: 1; }
.review figcaption { font-weight: 800; color: var(--sea); }
.review--image { padding: 10px; }
.review--image img { border-radius: 8px; }

/* ---------- עליי ---------- */
.author { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.author__photo { position: relative; }
.author__photo img, .author__placeholder { aspect-ratio: 4 / 5; width: 100%; border-radius: 6px; border: 10px solid var(--paper-3); box-shadow: var(--shadow); rotate: -2deg; object-fit: cover; }
.author__placeholder { display: grid; place-content: center; text-align: center; background: repeating-linear-gradient(45deg, var(--paper) 0 12px, var(--paper-2) 12px 24px); color: var(--ink-2); }
.author__placeholder span { font-size: 3rem; }
.author__text .author__name { font-family: var(--font-hand); font-size: 2.4rem; line-height: 1; margin: -1rem 0 1rem; color: var(--sea); }
.author__text p { font-size: 1.08rem; font-weight: 300; }
.placeholder-text { color: var(--smoke); font-style: italic; }

/* ---------- רכישה ---------- */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; gap: 30px; }
.product { position: relative; background: var(--paper-3); border: 2px solid var(--ink); border-radius: 20px; padding: 30px 28px; text-align: center; box-shadow: 6px 6px 0 var(--ink); display: flex; flex-direction: column; align-items: stretch; }
.product .btn { margin-top: auto; } /* הכפתור תמיד בתחתית הכרטיס */
.product--featured { background: #fffaf0; }
.product__tag { position: absolute; top: -15px; right: 24px; background: var(--sea); color: #fff; font-weight: 700; font-size: .85rem; padding: 4px 14px; border-radius: 999px; }
.product__img { width: 156px; /* באותו גובה כמו הטלפון בכרטיס הדיגיטלי */ margin: 0 auto 18px; border-radius: 3px 6px 6px 3px; box-shadow: -10px 14px 24px -8px rgba(0,0,0,.45); }
.product__img--digital { width: 150px; padding: 12px 8px 22px; background: var(--ink); border-radius: 18px; box-shadow: -10px 14px 24px -8px rgba(0,0,0,.45); position: relative; }
.product__img--digital::after { content: ""; position: absolute; bottom: 8px; left: 50%; translate: -50% 0; width: 22px; height: 4px; border-radius: 4px; background: #555; }
.product__img--digital img { border-radius: 4px; }
.product__name { font-size: 1.5rem; margin: 0; }
.product__price { font-size: 2.6rem; font-weight: 800; margin: .2rem 0; line-height: 1.2; }
.product__price del { font-size: 1.3rem; color: var(--smoke); margin-inline-end: 10px; font-weight: 600; }
.product__price del:empty { display: none; }
.product__note { color: var(--ink-2); margin: 0 0 1.4rem; font-size: 1rem; }

.pay { text-align: center; margin-top: 46px; }
.pay__title { font-weight: 700; margin: 0 0 12px; }
.pay__methods { list-style: none; padding: 0; margin: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.pay__methods li { background: var(--paper-3); border: 1.5px solid var(--ink); border-radius: 8px; padding: 6px 16px; font-weight: 800; font-size: .95rem; }

/* ---------- הרצאות וסדנאות ---------- */
.talks__audience { list-style: none; padding: 0; margin: -1rem auto 2.6rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.talks__audience li { border: 1.5px solid rgba(243,226,195,.45); color: var(--paper); border-radius: 999px; padding: 6px 16px; font-weight: 500; font-size: .95rem; }
.talks__photos { display: flex; align-items: center; gap: 22px; margin-bottom: 44px; }
/* כל תמונה מקבלת רוחב לפי היחס שלה, כך שכולן באותו גובה */
.talks__photo { margin: 0; flex: var(--ar) 1 0; min-width: 0; }
.talks__photo--grass { --ar: 1.5; }
.talks__photo--poster { --ar: 1.778; }
.talks__photo--class { --ar: 1.237; }
.nav__cta-end { margin-inline-start: auto; }
.talks__photo img { width: 100%; height: auto; border-radius: 6px; border: 7px solid var(--paper-3); box-shadow: 0 20px 40px -20px rgba(0,0,0,.7); }
.talks__photos > :nth-child(1) { rotate: -1.5deg; }
.talks__photos > :nth-child(2) { rotate: .8deg; }
.talks__photos > :nth-child(3) { rotate: -1deg; }
.nowrap { white-space: nowrap; }
.talks__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.talk { background: var(--paper-3); color: var(--ink); border-radius: var(--radius); padding: 30px 30px 24px; border: 2px solid var(--paper-3); box-shadow: 6px 6px 0 var(--sunset); }
.talk__icon { font-size: 1.3rem; vertical-align: .05em; margin-inline-start: 2px; }
.talk__title { font-size: 1.45rem; margin: 0 0 .15rem; }
.talk__tagline { color: var(--sea); font-weight: 600; margin: 0 0 .8rem; }
.talk p { font-weight: 300; }
.talk__meta { list-style: none; padding: 12px 0 0; margin: 0; border-top: 1px dashed rgba(38,34,30,.25); display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .95rem; color: var(--ink-2); }
.talks__draft { text-align: center; color: var(--sky); font-style: italic; font-size: .92rem; margin: 22px 0 0; }
.talks__cta { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 34px; }
.talks__mail { color: var(--paper-2); font-size: .95rem; }

/* ---------- שאלות ---------- */
.faq details { border-bottom: 1.5px dashed rgba(38,34,30,.35); padding: 6px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.15rem; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--sunset-deep); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 0 0 16px; color: var(--ink-2); }
.faq__list { margin: -8px 0 16px; padding-inline-start: 1.2em; color: var(--ink-2); }
.faq__list li { margin-bottom: 4px; }
.faq__list strong { color: var(--ink); font-weight: 600; }

/* ---------- סיום ---------- */
.closing {
  position: relative; color: var(--paper-3); text-align: center; padding: 120px 0;
  background: linear-gradient(rgba(38,34,30,.55), rgba(38,34,30,.75)), url("/images/art-scene.jpg") center 40% / cover;
}
.closing .closing__q { font-family: var(--font-hand); font-size: clamp(3.4rem, 9vw, 6rem); line-height: 1; margin: 0 0 .6rem; }
.closing p:not(.closing__q) { font-size: 1.2rem; margin: 0 auto 2rem; font-weight: 300; max-width: 34em; }

/* ---------- פוטר ---------- */
.footer { background: var(--ink); color: var(--paper-2); padding: 0 0 26px; font-size: .95rem; }
.footer__contact { text-align: center; padding: 64px 20px 44px; margin-bottom: 26px; border-bottom: 1px solid rgba(243,226,195,.18); }
.footer__title { font-family: var(--font-hand); font-size: clamp(2.6rem, 6vw, 3.4rem); line-height: 1; color: var(--paper); margin: 0 0 .5rem !important; }
.footer__sub { color: var(--sky); margin: 0 0 1.6rem !important; font-weight: 300; }
.footer__channels { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.footer__pair { display: flex; justify-content: center; gap: 14px; flex-wrap: nowrap; } /* מייל + אינסטגרם תמיד באותה שורה */
.footer__channel { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--paper-3); border: 1.5px solid rgba(243,226,195,.4); border-radius: 999px; padding: 12px 22px; font-weight: 500; transition: background .2s, border-color .2s; direction: ltr; }
.footer__channel:hover { background: var(--sunset); border-color: var(--sunset); color: var(--ink); }
.footer__channel[hidden] { display: none; }
.footer__inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer p { margin: 0; }
.footer__links { display: flex; gap: 20px; }

/* ---------- וואטסאפ צף + הודעה ---------- */
.wa-float { position: fixed; bottom: 20px; left: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.wa-float[hidden] { display: none; }
.toast { position: fixed; bottom: 24px; left: 50%; translate: -50% 120px; background: var(--ink); color: var(--paper); padding: 14px 22px; border-radius: 12px; font-weight: 600; transition: translate .3s; z-index: 70; max-width: calc(100vw - 32px); text-align: center; }
.toast.is-on { translate: -50% 0; }
.toast:not(.is-on) { visibility: hidden; }

/* ---------- אנימציית הופעה ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- מובייל ---------- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__inner { justify-content: space-between; }
  .hero { padding-top: 30px; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .hero__visual { order: -1; }
  .book3d { --bw: min(270px, 66vw); }
  .talks__photos { flex-wrap: wrap; gap: 16px 12px; }
  .talks__photo--center { order: -1; flex-basis: 100%; }
  /* בטלפון: שורת טקסט אחת עם מפרידים במקום "כפתורים" — נכנס ב-2 שורות */
  .talks__audience { display: block; text-align: center; margin: -1rem auto 2rem; line-height: 1.8; }
  .talks__audience li { display: inline; white-space: nowrap; border: 0; padding: 0; font-size: .86rem; color: var(--sun); }
  .talks__audience li + li::before { content: " · "; color: rgba(243,226,195,.5); }
  .talks__cards { grid-template-columns: 1fr; }
  .nav__logo img { height: 32px; }
  .nav__logo .byline__name { font-size: 1rem; }
  .nav__logo .byline__bar { height: 22px; }
  .hero__sub { margin-inline: auto; }
  .hero__cta, .hero__badges { justify-content: center; }
  .section { padding: 72px 0; }
  .excerpts, .reviews { grid-template-columns: 1fr; }
  .excerpt blockquote { font-size: 1.08rem; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery__item--art { grid-column: 1 / -1; order: -1; }
  .author { grid-template-columns: 1fr; gap: 36px; }
  .author__photo { max-width: 300px; margin: 0 auto; }
  .h2--start { text-align: center; }
  .author__text .author__name { text-align: center; }
  .products { grid-template-columns: minmax(0, 400px); }
}
@media (max-width: 480px) {
  body { font-size: 17px; }
  .btn { padding: .95em 1.4em; }
  .hero__cta .btn { flex: 1 1 100%; }
}
@media (max-width: 380px) {
  .talks__audience li { font-size: .78rem; }
}
@media (max-width: 480px) {
  .footer__channels, .footer__pair { gap: 10px; }
  .footer__channel { padding: 10px 14px; gap: 8px; font-size: .9rem; }
}
@media (max-width: 370px) {
  .footer__channel { padding: 9px 11px; font-size: .82rem; }
}
@media (max-width: 340px) {
  .footer__channel { padding: 8px 9px; gap: 6px; font-size: .75rem; }
  .footer__channel svg { width: 16px; height: 16px; }
}
