/* צבעים מהלוגו: ירוק יער עמוק + ברונזה וחול. לילה ירוק, יוקרה שקטה */
:root {
  --bg: #071612; --bg-2: #0b1f19; --panel: #0f2820; --line: #1f3a30;
  --fg: #f1ebe0; --muted: #a9b5ad; --bronze: #a7834f; --sand: #d7bb96; --petrol: #3f8f93;
  --latin: "Cormorant Garamond", serif;
  color-scheme: dark;
}
/* שלוש אפשרויות פונט לבחירה */
[data-font="a"] { --display: "Bellefair", "Assistant", serif; --body: "Assistant", system-ui, sans-serif; --dw: 400; --h1: 1; }
[data-font="b"] { --display: "Noto Serif Hebrew", serif; --body: "Heebo", system-ui, sans-serif; --dw: 200; --h1: 1; }
[data-font="c"] { --display: "Karantina", "Heebo", sans-serif; --body: "Heebo", system-ui, sans-serif; --dw: 300; --h1: 1.35; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-weight: 300; line-height: 1.7; font-size: 1.05rem; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
h1, h2, h3 { font-family: var(--display); font-weight: var(--dw); margin: 0; text-wrap: balance; letter-spacing: .01em; }
.eyebrow { font-family: var(--latin); letter-spacing: .38em; text-transform: uppercase; color: var(--bronze); font-size: .85rem; }
.sec { padding-block: clamp(80px, 12vw, 160px); }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 60px); max-width: 760px; }
.sec-head h2 { font-size: calc(clamp(2.2rem, 5vw, 3.8rem) * var(--h1)); line-height: 1.1; }
.sec-head p { color: var(--muted); margin: 0; font-size: 1.12rem; }
.slot { position: relative; background: linear-gradient(135deg, #133126, #0b1d17); border: 1px dashed #2c4b3f; display: grid; place-items: center; color: #6f8a7e; font-size: .85rem; text-align: center; padding: 10px; }
.slot::before { content: attr(data-slot); }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: 999px; font: 500 1rem var(--body); text-decoration: none; border: 1px solid var(--line); cursor: pointer; transition: transform .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.gold { background: linear-gradient(135deg, var(--sand), var(--bronze)); color: #14100a; border-color: transparent; }
.btn.ghost { background: transparent; color: var(--fg); border-color: #3d5a4f; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }
.skip { position: absolute; top: -60px; right: 16px; background: var(--sand); color: #000; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 12px; }

/* ---------- סרגל עליון ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 20; padding-top: env(safe-area-inset-top); background: linear-gradient(#071612e6, #07161200); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 16px; }
.top img { height: 46px; width: auto; }
.nav { display: flex; gap: 26px; font-size: .95rem; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--fg); }
@media (max-width: 900px) {
  .top .btn { padding: 10px 18px; font-size: .9rem; }
  /* בטלפון: שורת קישורים שנגללת הצידה מתחת לסרגל */
  .nav { position: absolute; top: calc(78px + env(safe-area-inset-top)); inset-inline: 0; overflow-x: auto; gap: 20px; padding: 8px max(16px, env(safe-area-inset-right)) 10px; background: #071612e6; white-space: nowrap; font-size: .9rem; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .hero, .page-hero { padding-top: 130px; }
}

/* ---------- פתיחה: שלושה סרטונים לאורך ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; padding-top: 90px; }
.reels3 { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 90px 10px 0; }
.reels3 figure { margin: 0; position: relative; overflow: hidden; border-radius: 24px 24px 0 0; }
.reels3 video { width: 100%; height: 100%; object-fit: cover; }
.reels3 figcaption { position: absolute; top: 18px; right: 18px; font-family: var(--latin); letter-spacing: .3em; font-size: .75rem; text-transform: uppercase; color: var(--sand); background: #071612aa; padding: 4px 12px; border-radius: 999px; }
.reels3 figure:nth-child(2) { transform: translateY(40px); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 8%, #071612cc 42%, #07161222 75%); pointer-events: none; }
.hero-text { position: relative; z-index: 2; padding-bottom: clamp(56px, 9vh, 110px); display: grid; gap: 18px; }
.hero h1 { font-size: calc(clamp(3rem, 8.4vw, 7.4rem) * var(--h1)); line-height: .98; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--sand), var(--bronze)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { font-size: clamp(1.1rem, 2vw, 1.35rem); color: #d6dcd4; max-width: 640px; margin: 0; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.since { display: flex; align-items: baseline; gap: 14px; color: var(--muted); }
.since b { font-family: var(--display); font-weight: var(--dw); font-size: calc(3.2rem * var(--h1)); line-height: 1; color: var(--sand); }
@media (max-width: 760px) {
  .reels3 { grid-template-columns: 1fr; padding: 0; }
  .reels3 figure { border-radius: 0; }
  .reels3 figure:not(:first-child) { display: none; }
  .reels3 figure:nth-child(2) { transform: none; }
}

/* ---------- פתרונות ---------- */
.problems { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.problem { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: grid; gap: 8px; text-decoration: none; transition: border-color .25s, transform .25s; min-width: 0; align-content: start; }
.problem:hover { border-color: var(--bronze); transform: translateY(-4px); }
.problem h3 { font-size: calc(1.5rem * var(--h1)); }
.problem p { margin: 0; color: var(--muted); font-size: .97rem; }
.problem .more { color: var(--sand); font-size: .9rem; }

/* ---------- תחומים ---------- */
.fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.field { position: relative; border-radius: 24px; overflow: hidden; min-height: 480px; display: grid; align-items: end; text-decoration: none; border: 1px solid var(--line); }
.field .slot { position: absolute; inset: 0; border: 0; }
.field::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #071612f0 15%, transparent 65%); }
.field div.t { position: relative; z-index: 2; padding: 28px; display: grid; gap: 8px; }
.field h3 { font-size: calc(2rem * var(--h1)); line-height: 1.1; }
.field p { margin: 0; color: #c9d1cb; }
@media (max-width: 900px) { .fields { grid-template-columns: 1fr; } .field { min-height: 360px; } }

/* ---------- המיזוג שלא רואים ---------- */
.invisible { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.invisible .slot { border-radius: 22px; min-height: 240px; }
.invisible .big { grid-row: span 2; min-height: 540px; }
.quote { font-family: var(--display); font-weight: var(--dw); font-size: calc(clamp(1.6rem, 3vw, 2.4rem) * var(--h1)); line-height: 1.3; color: var(--sand); margin: 40px 0 0; max-width: 820px; }
.quote span { display: block; font-family: var(--body); font-size: .95rem; color: var(--muted); margin-top: 10px; }
@media (max-width: 760px) { .invisible { grid-template-columns: 1fr; } .invisible .big { min-height: 380px; } }

/* ---------- סרטונים ---------- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.chip { border: 1px solid var(--line); background: transparent; color: var(--muted); padding: 8px 18px; border-radius: 999px; font: inherit; cursor: pointer; }
.chip[aria-pressed="true"] { color: #14100a; background: var(--sand); border-color: var(--sand); }
.reels { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); gap: 16px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.reel { aspect-ratio: 9 / 16; border-radius: 20px; scroll-snap-align: start; }

/* ---------- הדרך ---------- */
.journey { position: relative; height: 560vh; background: radial-gradient(1200px 640px at 50% 45%, #1a3b2f66, transparent 70%); }
.journey-stick { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.journey svg.flow { position: absolute; inset: 0; width: 100%; height: 100%; }
.journey .stage-wrap { position: relative; z-index: 2; text-align: center; display: grid; gap: 14px; max-width: 660px; padding: 0 20px; }
.journey .num { font-family: var(--latin); font-weight: 300; font-size: clamp(5rem, 16vw, 11rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--bronze); }
.journey .stage-title { font-size: calc(clamp(2.4rem, 6vw, 4.4rem) * var(--h1)); }
.journey .stage-text { color: #cfd7d1; font-size: 1.15rem; margin: 0; min-height: 3.4em; }
.journey .dots { position: absolute; bottom: 40px; inset-inline: 0; display: flex; justify-content: center; gap: 10px; z-index: 2; }
.journey .dots i { width: 34px; height: 3px; border-radius: 3px; background: #24423a; transition: background .4s; }
.journey .dots i.on { background: var(--sand); }
.journey .label { position: absolute; top: 100px; inset-inline: 0; text-align: center; z-index: 2; }

/* ---------- לפני ואחרי (סרטונים) ---------- */
.projects { display: grid; gap: 56px; }
.ba { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; cursor: ew-resize; user-select: none; touch-action: pan-y; }
.ba .slot { position: absolute; inset: 0; border: 0; font-size: 1rem; }
.ba .before { background: linear-gradient(135deg, #2b261d, #17130d); color: #8f8068; }
.ba .after { background: linear-gradient(135deg, #1b4a3a, #0c241c); color: #9cc7b4; clip-path: inset(0 50% 0 0); }
.ba .bar { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--fg); transform: translateX(-1px); pointer-events: none; }
.ba .bar::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 50px; height: 50px; border-radius: 50%; background: var(--sand); color: #14100a; display: grid; place-items: center; font-size: 1.2rem; }
.ba .tag { position: absolute; top: 16px; padding: 4px 14px; border-radius: 999px; background: #071612b3; font-size: .85rem; pointer-events: none; }
.ba .tag.b { right: 16px; } .ba .tag.a { left: 16px; }
.project-meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 14px; color: var(--muted); }
.project-meta b { color: var(--fg); font-family: var(--display); font-weight: var(--dw); font-size: calc(1.6rem * var(--h1)); }

/* ---------- המלצות ---------- */
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.reviews .reel { min-width: 0; }
.reviews .shot { border-radius: 20px; aspect-ratio: 9 / 16; }
@media (max-width: 900px) { .reviews { grid-template-columns: repeat(2, 1fr); } }

/* ---------- אדריכלים וקבלנים ---------- */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.door { border-radius: 24px; background: var(--panel); border: 1px solid var(--line); padding: clamp(26px, 4vw, 44px); display: grid; gap: 14px; align-content: start; }
.door h3 { font-size: calc(2.2rem * var(--h1)); }
.door ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; color: #cfd7d1; }
.door li::before { content: "—"; color: var(--bronze); margin-left: 10px; }
@media (max-width: 860px) { .doors { grid-template-columns: 1fr; } }

/* ---------- טופס ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
form { display: grid; gap: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 4vw, 38px); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
label { display: grid; gap: 6px; font-size: .92rem; color: var(--muted); }
input, select, textarea { font: inherit; color: var(--fg); background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--bronze); outline: none; }
.sent { display: none; color: var(--sand); margin: 0; }
form.done .sent { display: block; }

footer { border-top: 1px solid var(--line); padding-block: 44px; color: var(--muted); font-size: .92rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer img { height: 40px; width: auto; }
.wa { position: fixed; z-index: 30; bottom: max(20px, env(safe-area-inset-bottom)); left: max(20px, env(safe-area-inset-left)); width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 30px #0008; }

/* בורר פונטים: רק לבחירה, יורד מהאתר אחרי שבוחרים */
.fontpick { position: fixed; z-index: 40; bottom: max(20px, env(safe-area-inset-bottom)); right: max(20px, env(safe-area-inset-right)); background: #0f2820f2; border: 1px solid var(--bronze); border-radius: 16px; padding: 10px 12px; display: flex; gap: 8px; align-items: center; font-size: .85rem; }
.fontpick button { background: transparent; color: var(--fg); border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px; cursor: pointer; font: inherit; }
.fontpick button[aria-pressed="true"] { background: var(--sand); color: #14100a; }

.reveal { transition: opacity .9s, transform .9s; }
.js .reveal.pre { opacity: 0; transform: translateY(26px); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } .js .reveal.pre { opacity: 1; transform: none; } }

/* ---------- תוספות: דפים פנימיים, סרטונים, לפני ואחרי בסרטון ---------- */
.page-hero { padding-top: 150px; padding-bottom: clamp(40px, 6vw, 70px); background: radial-gradient(900px 420px at 70% 0%, #1a3b2f88, transparent 70%); }
.page-hero h1 { font-size: calc(clamp(2.6rem, 6.5vw, 5.2rem) * var(--h1)); line-height: 1.05; }
.page-hero p { color: #d6dcd4; font-size: 1.2rem; max-width: 720px; margin: 16px 0 0; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--sand); text-decoration: none; }
.prose { max-width: 760px; display: grid; gap: 18px; font-size: 1.1rem; color: #dfe5df; }
.prose h2 { font-size: calc(2.2rem * var(--h1)); margin-top: 24px; color: var(--fg); }
.prose h3 { font-size: calc(1.6rem * var(--h1)); color: var(--sand); }
.prose p, .prose ul { margin: 0; }
.prose ul { padding-inline-start: 1.2em; display: grid; gap: 8px; }
.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.split .media { position: sticky; top: 100px; display: grid; gap: 14px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split .media { position: static; } }
.loop { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; background: #0b1d17; }
.field video, .invisible video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.invisible > div { position: relative; overflow: hidden; border-radius: 22px; min-height: 240px; background: #0b1d17; }
.invisible > .big { grid-row: span 2; min-height: 540px; }
@media (max-width: 760px) { .invisible > .big { min-height: 380px; } }
/* סרטונים לאורך: לחיצה = עם קול */
.reel { position: relative; overflow: hidden; background: #0b1d17; }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel .play { position: absolute; inset: 0; display: grid; place-items: end start; padding: 16px; background: linear-gradient(0deg, #071612dd, transparent 50%); border: 0; color: var(--fg); font: 500 1rem var(--body); text-align: start; cursor: pointer; }
.reel .play span { display: block; }
.reel .play i { font-style: normal; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sand); color: #14100a; margin-bottom: 10px; }
.reel.on .play { display: none; }
.reel[hidden] { display: none !important; }
.ba video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .after-v { clip-path: inset(0 50% 0 0); }
.ba { aspect-ratio: 4 / 5; max-height: 80vh; margin-inline: auto; width: min(100%, 640px); }
.projects { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.shot img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cta-band { text-align: center; display: grid; gap: 18px; justify-items: center; }
.cta-band h2 { font-size: calc(clamp(2rem, 4vw, 3.2rem) * var(--h1)); }
.err { color: #f0a58f; margin: 0; }
.list-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.list-cards article { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 8px; align-content: start; }
.list-cards h3 { font-size: calc(1.45rem * var(--h1)); }
.list-cards p { margin: 0; color: var(--muted); }

/* ---------- פתיחה: סרטון אחד לאורך ---------- */
.hero-one { display: grid; grid-template-columns: 1fr auto; gap: clamp(24px, 5vw, 80px); align-items: center; min-height: 100svh; padding: 100px max(20px, 4vw) 40px; }
.hero-one::after { display: none; }
.hero-one .hero-video { order: 2; justify-self: center; height: min(80svh, 820px); aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 80px #000a, 0 0 0 1px #2c4b3f; }
.hero-one .hero-video video { width: 100%; height: 100%; object-fit: cover; }
.hero-one .hero-text { order: 1; padding-bottom: 0; }
@media (max-width: 900px) {
  .hero-one { display: grid; grid-template-columns: 1fr; align-items: end; padding: 0; }
  .hero-one .hero-video { position: absolute; inset: 0; height: auto; width: 100%; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
  .hero-one::after { display: block; }
  .hero-one .hero-text { padding-bottom: clamp(56px, 9vh, 110px); }
}
/* ---------- שישה שלבים ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; counter-reset: st; }
.steps li { counter-increment: st; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 22px 18px; display: grid; gap: 6px; align-content: start; position: relative; }
.steps li::before { content: counter(st, decimal-leading-zero); font-family: var(--latin); color: var(--bronze); font-size: 1.6rem; line-height: 1; }
.steps b { font-family: var(--display); font-weight: var(--dw); font-size: calc(1.6rem * var(--h1)); }
.steps span { color: var(--muted); font-size: .95rem; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: repeat(2, 1fr); } }
/* לפני ואחרי בתמונות */
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba { aspect-ratio: 720 / 767; }
.hero-one h1 { font-size: calc(clamp(2.6rem, 5vw, 5.4rem) * var(--h1)); }

/* ================= סבב 3: פתיחה רחבה, כיתובים, לפני ואחרי בסרטון ================= */
.sec { padding-block: clamp(64px, 9vw, 120px); }
.hero-wide { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; padding: 0; }
.hero-wide .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-wide::after { content: ""; display: block; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, var(--bg) 2%, #071612d9 30%, #07161266 60%, #07161233 100%), linear-gradient(270deg, #071612cc 0%, transparent 60%); }
.hero-wide .hero-text { position: relative; z-index: 2; padding-bottom: clamp(56px, 10vh, 120px); max-width: 1240px; }
.hero-wide h1 { font-size: calc(clamp(3rem, 7.5vw, 7rem) * var(--h1)); }
.hero-wide .sub { text-shadow: 0 2px 20px #000a; }
/* כיתוב על סרטון: מה רואים, בלי צורך בקול */
.vlabel { position: absolute; z-index: 3; bottom: 14px; right: 14px; max-width: calc(100% - 28px); background: #071612cc; backdrop-filter: blur(6px); color: var(--fg); font-size: .9rem; padding: 6px 14px; border-radius: 999px; border: 1px solid #ffffff1a; }
.field .vlabel { bottom: auto; top: 16px; }
.loopbox { position: relative; overflow: hidden; border-radius: 22px; aspect-ratio: 4 / 5; background: #0b1d17; }
.loopbox video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.field .more { color: var(--sand); font-size: .95rem; }
/* כרטיסי פתרונות עם תמונה */
.problem { padding: 0 0 22px; overflow: hidden; }
.problem img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 8px; transition: transform .6s; }
.problem:hover img { transform: scale(1.05); }
.problem h3, .problem p, .problem .more { padding-inline: 22px; }
/* לפני ואחרי רחב */
.ba { aspect-ratio: 16 / 9; width: 100%; max-height: none; }
.projects { grid-template-columns: 1fr; gap: 48px; max-width: 1000px; margin-inline: auto; }
.quote { text-align: center; margin: 56px auto 0; font-size: calc(clamp(1.8rem, 3.6vw, 3rem) * var(--h1)); }
/* בורר הפונטים: קטן, באמצע למטה, לא מסתיר את הוואטסאפ */
.fontpick { right: 50%; transform: translateX(50%); padding: 6px 8px; font-size: .78rem; gap: 6px; }
.fontpick button { padding: 4px 9px; }
@media (max-width: 560px) { .fontpick span { display: none; } }

/* כותרת עמוד פנימי עם תמונה מהפרויקט */
.page-hero.has-bg { position: relative; overflow: hidden; min-height: 62svh; display: grid; align-items: end; }
.page-hero.has-bg::before { content: ""; position: absolute; inset: -4%; background: var(--hero-img) center / cover no-repeat; opacity: .42; animation: heroZoom 18s ease-in-out infinite alternate; }
.page-hero.has-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 4%, #071612d0 45%, #07161280 100%), linear-gradient(270deg, #071612e6 0%, transparent 70%); }
.page-hero.has-bg .wrap { position: relative; z-index: 2; width: 100%; }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.page-hero.has-bg::before { opacity: .6; }
.fontpick button { white-space: nowrap; }
@media (max-width: 560px) { .fontpick button { font-size: .72rem; padding: 4px 6px; } }
.hero-wide .hero-bg { object-position: center 25%; }
/* מסך גדול: גובה הפתיחה לפי יחס הסרטון (16:9), כך שלא נחתך כלום מלמעלה */
@media (min-width: 901px) { .hero-wide { min-height: min(100svh, 56.25vw); } .hero-wide .hero-bg { object-position: center top; } }

/* ================= סבב 4: אתוס, גלריית בתי פאר, מומחה, שאלות ותשובות ================= */
.lux { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lux figure { margin: 0; position: relative; overflow: hidden; border-radius: 22px; aspect-ratio: 4 / 3; min-width: 0; }
.lux .lux-1 { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.lux .lux-wide { grid-column: span 3; aspect-ratio: 21 / 9; }
.lux .slot { position: absolute; inset: 0; border-radius: 0; }
.lux figcaption { position: absolute; inset: auto 0 0 0; padding: 18px 20px; background: linear-gradient(0deg, #071612e6, transparent); display: grid; gap: 2px; }
.lux figcaption b { font-family: var(--display); font-weight: var(--dw); font-size: calc(1.5rem * var(--h1)); }
.lux figcaption span { color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) { .lux { grid-template-columns: 1fr; } .lux .lux-1, .lux .lux-wide { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; } }
.expert-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.expert-grid h2 { font-size: calc(clamp(2.2rem, 4.6vw, 3.8rem) * var(--h1)); line-height: 1.1; }
.expert-media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.expert-media .expert-photo { grid-column: span 2; aspect-ratio: 16 / 9; border-radius: 22px; }
@media (max-width: 900px) { .expert-grid { grid-template-columns: 1fr; } }
.qa-index-sec { padding-block: 24px 0; }
.qa-index { display: flex; flex-wrap: wrap; gap: 8px; }
.qa-index a { text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; color: var(--muted); font-size: .92rem; }
.qa-index a:hover { color: var(--fg); border-color: var(--bronze); }
.qa { padding-block: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.qa .media .reel { max-width: 340px; }
.qa .more { color: var(--sand); text-decoration: none; }
.chapter .eyebrow { display: block; }
