/* אבריש יהדות · ערכת עיצוב ישראל (RTL)
 * צבעים מספר המותג: אש שבת #FF6B2C, דיו #121212, אבן ירושלמית #F5EEE3, תכלת #3FA9F5 (למקורות בלבד).
 * טקסט כתום על רקע בהיר לא עובר ניגודיות AA, לכן כתום משמש כרקע/הדגשה,
 * וטקסט קטן בכתום משתמש בגוון הכהה --accent-strong. */
:root {
  --bg: #F5EEE3;
  --surface: #FFFBF5;
  --ink: #121212;
  --muted: #4a4540;
  --line: #e4d9c8;
  --line-strong: #cbbba3;
  --accent: #FF6B2C;
  --accent-ink: #121212;
  --accent-strong: #B8410E;
  --tchelet: #3FA9F5;
  --tchelet-ink: #0A5C99;
  --focus: #0A5C99;
  --header-bg: #F5EEE3;
  --font-display: "Heebo", "Rubik", "Arial Hebrew", Arial, sans-serif;
  --font-body: "Heebo", "Rubik", "Arial Hebrew", Arial, sans-serif;
  --font-source: "Frank Ruhl Libre", "David", "Times New Roman", serif;
  --fw-display: 900;
  --ls-display: -.02em;
  --ls-eyebrow: .02em;
  --tt-eyebrow: none;
  --fs-body: 1.0625rem;
  --fs-display: clamp(2.6rem, 6.2vw, 5.3rem);
  --radius: 22px;
  --btn-radius: 14px;
  --shadow-lg: 0 28px 60px -32px rgba(18,18,18,.5);
}

/* Hebrew reads a touch larger and looser than Latin at the same size */
body { line-height: 1.7; }
.lead { font-size: clamp(1.15rem, 1.7vw, 1.38rem); }

/* ---------- Highlight marker: the orange "למה" ---------- */
.mark {
  background: linear-gradient(transparent 58%, var(--accent) 58%, var(--accent) 92%, transparent 92%);
  padding-inline: .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.mark--solid { background: var(--accent); color: var(--ink); padding-inline: .18em; border-radius: .12em; }

/* ---------- Header ---------- */
.brand-name b { font-size: 1.32rem; }
.site-nav .btn { margin-inline-start: .5rem; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.hero .split { align-items: center; }
.hero h1 { margin-block: 1.1rem 1.4rem; }
.hero .lead { margin-block-end: 2rem; color: #2c2925; }
.hero-proof { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-block-start: 2.25rem; font-weight: 700; font-size: .95rem; color: var(--muted); list-style: none; padding: 0; }
.hero-proof li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-proof svg { inline-size: 1.15rem; block-size: 1.15rem; color: var(--accent-strong); }

.phone-wrap { position: relative; display: grid; place-items: center; padding: 1.5rem 0; }
.phone-wrap::before { content: ""; position: absolute; inset: 8% 4%; background: var(--accent); border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; transform: rotate(-6deg); }
.phone {
  position: relative; inline-size: min(78vw, 320px); border-radius: 42px; padding: 10px; background: var(--ink);
  box-shadow: 0 40px 70px -30px rgba(0,0,0,.6); transform: rotate(3deg);
}
.phone .video-slot { border-radius: 33px; background: #1e1d1c; }
.poster { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr auto; padding: 1.2rem 1.1rem 1.4rem; color: #fff;
  background:
    radial-gradient(120% 70% at 80% 10%, rgba(255,107,44,.55), transparent 60%),
    radial-gradient(90% 60% at 10% 90%, rgba(63,169,245,.28), transparent 60%),
    linear-gradient(170deg, #2a2523, #121212 70%);
}
.poster-top { display: flex; align-items: center; gap: .55rem; font-weight: 700; font-size: .85rem; }
.poster-top svg { inline-size: 30px; block-size: 30px; border-radius: 9px; }
.poster-q { align-self: center; background: #fff; color: var(--ink); border-radius: 18px 18px 18px 6px; padding: .9rem 1rem; font-weight: 800; font-size: 1.12rem; line-height: 1.3; box-shadow: 0 10px 24px -10px rgba(0,0,0,.6); }
.poster-q small { display: block; font-weight: 600; font-size: .78rem; color: #6b645c; margin-block-end: .25rem; }
.poster-bottom { display: grid; justify-items: center; gap: .9rem; }
.poster-bottom p { font-size: .88rem; font-weight: 700; opacity: .9; text-align: center; }
.sticker {
  position: absolute; z-index: 2; background: var(--surface); color: var(--ink); border: 2px solid var(--ink); border-radius: 14px;
  padding: .55rem .85rem; font-weight: 800; font-size: .92rem; box-shadow: 4px 4px 0 var(--ink); white-space: nowrap;
}
.sticker--source { inset-block-start: 12%; inset-inline-start: 0; transform: rotate(-4deg); font-family: var(--font-source); font-weight: 700; }
.sticker--source b { background: var(--tchelet); padding: .05rem .4rem; border-radius: 6px; margin-inline-start: .3rem; font-family: var(--font-body); }
.sticker--q { inset-block-end: 14%; inset-inline-end: -2%; transform: rotate(5deg); background: var(--ink); color: #fff; box-shadow: 4px 4px 0 var(--accent); border-color: var(--ink); }
@media (max-width: 520px) { .sticker--q { inset-inline-end: 0; } .sticker--source { inset-inline-start: 2%; } }

/* ---------- Ticker strip ---------- */
.q-strip { background: var(--ink); color: #fff; padding-block: 1.05rem; border-block: 3px solid var(--accent); }
.q-strip .ticker-track { --ticker-gap: 2.5rem; --ticker-speed: 70s; }
.q-strip span { font-weight: 800; font-size: 1.12rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 2.5rem; }
.q-strip span::after { content: ""; inline-size: .55rem; block-size: .55rem; background: var(--accent); border-radius: 50%; }

/* ---------- Q&A cards ("שאלתם, עניתי") ---------- */
.qa-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }
.qa { display: grid; grid-template-rows: auto 1fr auto; gap: 1rem; }
.qa-q { display: flex; gap: .8rem; align-items: flex-start; }
.qa-q .qmark { flex: none; inline-size: 2.4rem; block-size: 2.4rem; border-radius: 12px; display: grid; place-items: center; background: var(--accent); font-weight: 900; font-size: 1.3rem; }
.qa-q h3 { font-size: clamp(1.25rem, 2vw, 1.45rem); padding-block-start: .15rem; }
.qa p { color: #34302b; }
.source {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem;
  padding-block-start: 1rem; border-block-start: 1px dashed var(--line-strong);
}
.source-tag { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-source); font-weight: 700; font-size: 1.02rem; }
.source-tag::before { content: "מקור"; font-family: var(--font-body); font-size: .75rem; font-weight: 800; background: var(--tchelet); color: var(--ink); padding: .15rem .5rem; border-radius: 6px; }
.check-link { font-weight: 800; font-size: .9rem; color: var(--tchelet-ink); text-decoration: none; display: inline-flex; gap: .3rem; align-items: center; }
.check-link:hover { text-decoration: underline; }
.check-link svg { inline-size: 1em; block-size: 1em; }

/* ---------- Pillars ---------- */
.pillars { background: var(--ink); color: #fff; border-radius: clamp(0px, 3vw, 36px); margin-inline: clamp(0px, 2vw, 1.5rem); }
.pillars .eyebrow { color: var(--accent); }
.pillars .lead { color: #cfc8bf; }
.pillar { border-block-start: 3px solid var(--accent); padding-block-start: 1.25rem; }
.pillar .num { font-weight: 900; font-size: 3.4rem; line-height: 1; color: var(--accent); display: block; margin-block-end: .6rem; }
.pillar h3 { font-size: 1.5rem; margin-block-end: .6rem; }
.pillar p { color: #d8d1c7; }
.pillar q { display: block; margin-block-start: .9rem; font-weight: 700; color: #fff; quotes: "״" "״"; }

/* ---------- Content hub ---------- */
.hub-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.tile { display: grid; gap: .8rem; text-decoration: none; }
.tile-media {
  position: relative; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; display: grid; align-content: space-between; padding: 1rem;
  color: #fff; background: var(--tile-bg, var(--ink)); transition: transform .25s ease, box-shadow .25s ease;
}
.tile:hover .tile-media { transform: translateY(-4px) rotate(-.6deg); box-shadow: var(--shadow-lg); }
.tile-media .fmt { justify-self: start; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); padding: .3rem .65rem; border-radius: 999px; font-size: .78rem; font-weight: 800; }
.tile-media .big { font-weight: 900; font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.12; }
.tile-media .dur { justify-self: end; font-size: .78rem; font-weight: 700; background: rgba(0,0,0,.5); padding: .2rem .5rem; border-radius: 6px; direction: ltr; }
.tile h3 { font-size: 1.12rem; font-weight: 800; line-height: 1.35; }
.tile .meta { font-size: .85rem; color: var(--muted); font-weight: 600; }
.tile--orange .tile-media { --tile-bg: linear-gradient(160deg, #FF6B2C, #d94a12); color: var(--ink); }
.tile--orange .fmt { background: rgba(18,18,18,.12); }
.tile--orange .dur { color: #fff; }
.tile--ink .tile-media { --tile-bg: linear-gradient(160deg, #2b2724, #121212); }
.tile--sky .tile-media { --tile-bg: linear-gradient(160deg, #3FA9F5, #1d7fca); color: var(--ink); }
.tile--sky .fmt { background: rgba(18,18,18,.12); }
.tile--sky .dur { color: #fff; }
.tile--stone .tile-media { --tile-bg: linear-gradient(160deg, #e9dcc6, #d6c3a3); color: var(--ink); }
.tile--stone .fmt { background: rgba(18,18,18,.1); }
.tile--stone .dur { color: #fff; }
.empty { padding: 2rem; text-align: center; color: var(--muted); grid-column: 1 / -1; }

/* ---------- Formats list ---------- */
.formats { display: grid; gap: 0; border-block-start: 2px solid var(--ink); }
.format { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.25rem; padding-block: 1.3rem; border-block-end: 1px solid var(--line-strong); align-items: baseline; }
.format .tag { grid-row: span 2; font-weight: 900; font-size: .85rem; background: var(--ink); color: #fff; padding: .3rem .65rem; border-radius: 8px; white-space: nowrap; }
.format h3 { font-size: 1.3rem; }
.format p { color: var(--muted); grid-column: 2; }
@media (min-width: 760px) { .format { grid-template-columns: 9rem 16rem 1fr; } .format .tag { grid-row: auto; justify-self: start; } .format p { grid-column: auto; } }

/* ---------- WhatsApp + lead magnet ---------- */
.shabbat { background: var(--accent); }
.shabbat .eyebrow { color: var(--ink); }
.shabbat-card { background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: 8px 8px 0 var(--ink); }
.wa-preview { background: #ECE5DD; border-radius: 18px; padding: 1rem; display: grid; gap: .6rem; margin-block: 1.5rem; }
.wa-head { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: .92rem; }
.wa-head svg { inline-size: 34px; block-size: 34px; border-radius: 50%; }
.wa-head small { display: block; font-weight: 600; color: #667781; font-size: .78rem; }
.wa-bubble { background: #fff; border-radius: 4px 14px 14px 14px; padding: .75rem .9rem; font-size: .98rem; line-height: 1.55; box-shadow: 0 1px 1px rgba(0,0,0,.12); max-inline-size: 34rem; }
.wa-bubble b { display: block; margin-block-end: .2rem; }
.wa-bubble .src { display: block; margin-block-start: .4rem; font-family: var(--font-source); color: var(--tchelet-ink); font-weight: 700; }
.wa-bubble time { display: block; text-align: end; font-size: .72rem; color: #667781; margin-block-start: .2rem; direction: ltr; }
.btn--wa { --btn-bg: #128C4A; --btn-fg: #fff; --btn-border: #128C4A; }
.magnet { display: grid; gap: 1rem; align-content: start; }
.magnet-cover {
  aspect-ratio: 16 / 9; border-radius: 16px; background: var(--ink); color: #fff; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; padding: 1rem;
}
.magnet-cover .candles { display: flex; gap: 6px; align-items: flex-end; position: absolute; inset-block-end: 14%; }
.magnet-cover .candles i { inline-size: 9px; block-size: 34px; background: #F5EEE3; border-radius: 2px; position: relative; }
.magnet-cover .candles i::before { content: ""; position: absolute; inset-block-start: -13px; inset-inline-start: 50%; translate: -50% 0; inline-size: 8px; block-size: 12px; background: var(--accent); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; animation: flicker 2.6s ease-in-out infinite alternate; }
.magnet-cover .candles i:nth-child(5) { block-size: 46px; margin-inline: 4px; }
.magnet-cover .candles i:nth-child(odd)::before { animation-delay: -.9s; }
.magnet-cover strong { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 900; line-height: 1.05; position: relative; inset-block-start: -18%; }
.magnet-cover strong em { font-style: normal; color: var(--accent); }
@keyframes flicker { 0% { transform: scale(1) rotate(-2deg); opacity: .92; } 50% { transform: scale(1.08, .94) rotate(2deg); opacity: 1; } 100% { transform: scale(.95, 1.06) rotate(-1deg); opacity: .88; } }

/* ---------- Ask form ---------- */
.ask { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 3rem); }
.ask .grid { --grid-gap: 1rem; }
.ask-promise { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .7rem; font-weight: 700; }
.ask-promise li { display: flex; gap: .6rem; align-items: center; }
.ask-promise svg { inline-size: 1.4rem; block-size: 1.4rem; flex: none; background: var(--accent); border-radius: 50%; padding: .25rem; }
.char-count { font-size: .8rem; color: var(--muted); text-align: end; }

/* ---------- About ---------- */
.about-photo {
  aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--ink); position: relative; overflow: hidden; display: grid; place-items: center;
}
.about-photo > svg { inline-size: 46%; block-size: auto; border-radius: 22%; }
.about-photo .todo-badge { position: absolute; inset-block-start: 1rem; inset-inline-start: 1rem; }
.about-photo figcaption { position: absolute; inset-inline: 1rem; inset-block-end: 1rem; color: #fff; font-size: .85rem; opacity: .8; }
.about-quote { font-size: clamp(1.6rem, 3.6vw, 2.6rem); font-weight: 900; line-height: 1.2; letter-spacing: -.015em; }
.sig { font-family: var(--font-source); font-size: 1.4rem; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #f1ebe2; --line: #2e2b28; --footer-line: #3a3632; --social-hover-bg: var(--accent); --social-hover-fg: var(--ink); --muted: #bdb5aa; }
.site-footer .brand-name small { color: #bdb5aa; }
.care-note b { color: var(--accent); }
.care-note a { color: #fff; font-weight: 700; }
.footer-other { display: grid; gap: .3rem; }
.footer-other span { font-size: .82rem; opacity: .7; }

/* ---------- Final CTA ---------- */
.final { text-align: center; }
.final .h-display { font-size: clamp(2.4rem, 6.4vw, 5rem); }
.final .btn-row { justify-content: center; margin-block-start: 2rem; }
