/* ARC Imports — נגזר מ-tokens.json. קונספט: מדבקת המפעל. */
:root {
  --bg: #f2f1ee; --surface: #fbfbf9; --text: #14171b; --muted: #5a616a;
  --accent: #2a56a6; --accent-contrast: #fbfbf9; --dark: #101318; --on-dark: #f2f1ee; --on-dark-muted: #a9b0ba; --accent-on-dark: #8fb0ec;
  --line: #dcdad4; --line-dark: #2a2f37;
  --display: "Frank Ruhl Libre", "Times New Roman", serif;
  --body: "IBM Plex Sans Hebrew", "Heebo", system-ui, sans-serif;
  --r: 4px; --r-media: 10px; --max: 1280px; --sec: 56px;
  color-scheme: light;
}
@media (min-width: 900px) { :root { --sec: 104px; } }
* { box-sizing: border-box; }
html, body, button, input, select, textarea { font-family: var(--body); }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 18px; line-height: 1.6; direction: rtl; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent-on-dark); outline-offset: 2px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 900px) { .wrap { padding-left: 40px; padding-right: 40px; } }
.sec { padding-block: var(--sec); }
.dark { background: var(--dark); color: var(--on-dark); }
.surface { background: var(--surface); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
.d { font-family: var(--display); font-weight: 700; line-height: 1.15; }
h2.d { font-size: 34px; }
@media (min-width: 900px) { h2.d { font-size: 56px; } }
.num { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.muted { color: var(--muted); }
.dark .muted { color: var(--on-dark-muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: var(--r); font: 600 17px/1 var(--body); text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: background .15s, transform .15s; }
.btn:active { transform: scale(.98); }
.btn-p { background: var(--accent); color: var(--accent-contrast); }
.btn-p:hover { background: #2349914d; background: #234a91; }
.btn-h { color: inherit; border-color: currentColor; background: transparent; }
.btn-h:hover { background: rgb(127 127 127 / .12); }
.btn svg { width: 20px; height: 20px; flex: none; }
.micro { display: block; font-size: 14px; color: var(--muted); margin-top: 10px; }
.dark .micro { color: var(--on-dark-muted); }

/* header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--dark); }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgb(16 19 24 / .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--on-dark); border-bottom: 1px solid var(--line-dark); }
.top .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.logo { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; color: var(--on-dark); white-space: nowrap; }
.logo b { font: 900 30px/1 var(--display); letter-spacing: .06em; direction: ltr; }
.logo span { font-size: 13px; letter-spacing: .14em; color: var(--on-dark-muted); direction: ltr; }
.nav { display: flex; gap: 24px; margin-inline-start: auto; font-size: 16px; }
.nav a { text-decoration: none; color: var(--on-dark-muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--on-dark); }
.top .btn { min-height: 42px; padding: 0 16px; font-size: 15px; }
.s { display: none; }
@media (max-width: 880px) { .nav { display: none; } .top .btn { margin-inline-start: auto; } .top .l { display: none; } .top .s { display: inline; } }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--dark); color: var(--on-dark); }
.hero-img { position: absolute; inset: 0; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; }
.hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgb(16 19 24 / .96) 0%, rgb(16 19 24 / .85) 38%, rgb(16 19 24 / .25) 75%, rgb(16 19 24 / .4) 100%); }
@media (max-width: 880px) { .hero-img::after { background: linear-gradient(0deg, rgb(16 19 24 / .97) 42%, rgb(16 19 24 / .55) 100%); } }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding-block: 88px 96px; }
@media (min-width: 900px) { .hero .wrap { padding-block: 136px 144px; } }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; padding-top: 220px; } }
.hero h1 { font-size: 44px; font-weight: 900; }
@media (min-width: 900px) { .hero h1 { font-size: 84px; } }
.hero-sub { font-size: 20px; color: #d6dae0; margin: 20px 0 32px; max-width: 30em; }
.hero-sub b { color: var(--accent-on-dark); font-weight: 600; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-start; }
.cta-row > div { display: grid; }

/* the sticker */
.sticker { background: var(--surface); color: var(--text); border-radius: var(--r); box-shadow: 0 30px 70px -24px rgb(0 0 0 / .6); width: 100%; max-width: 380px; justify-self: start; font-size: 15px; overflow: hidden; }
.sticker-top { background: var(--accent); color: var(--accent-contrast); padding: 10px 18px; display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .12em; font-weight: 600; }
.sticker-body { padding: 16px 18px 18px; }
.sticker .sn { font: 700 24px/1.2 var(--display); }
.sticker .ver { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.sl { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dotted #c9c6be; }
.sl span:last-child { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
.tot { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; margin-top: 4px; border-top: 2px solid var(--text); }
.tot b { font-size: 26px; font-weight: 700; color: var(--accent); }
.off { display: flex; justify-content: space-between; color: var(--muted); font-size: 14px; padding-top: 4px; }
.off s { text-decoration-thickness: 1px; }
.save { margin-top: 12px; background: #e8eef9; color: #1d3f80; font-weight: 700; padding: 9px 12px; border-radius: var(--r); display: flex; justify-content: space-between; }
@media (prefers-reduced-motion: no-preference) {
  .js .print .sl, .js .print .tot, .js .print .off, .js .print .save { opacity: 0; transform: translateY(6px); animation: pr .32s cubic-bezier(0,0,.2,1) forwards; }
  @keyframes pr { to { opacity: 1; transform: none; } }
}
@media (max-width: 880px) { .hero .sticker { justify-self: stretch; max-width: none; } }

/* head */
.head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.lead { color: var(--muted); font-size: 19px; max-width: 38em; margin: 10px 0 0; }

/* model cards */
.models { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 760px) { .models { grid-template-columns: 1fr; } }
.mc { display: grid; text-decoration: none; color: var(--text); background: var(--surface); border-radius: var(--r-media); overflow: hidden; border: 1px solid var(--line); transition: transform .25s cubic-bezier(.2,0,0,1), box-shadow .25s; }
.mc:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgb(20 23 27 / .35); }
.mc-img { aspect-ratio: 16 / 10; overflow: hidden; background: #d9d8d3; }
.mc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,0,0,1); }
.mc:hover .mc-img img { transform: scale(1.04); }
.mc-b { padding: 20px 22px 22px; display: grid; gap: 4px; }
.mc-b h3 { font: 700 30px/1.15 var(--display); }
.mc-b .v { color: var(--muted); font-size: 15px; }
.mc-p { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-top: 14px; padding-top: 14px; border-top: 1px dotted #c9c6be; }
.mc-p b { font-size: 28px; font-weight: 700; }
.mc-p s { color: var(--muted); font-size: 15px; }
.mc-p em { font-style: normal; font-weight: 700; color: var(--accent); font-size: 15px; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.split p { font-size: 19px; margin: 18px 0 0; max-width: 32em; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; font-weight: 500; }
.ticks li { display: flex; gap: 10px; align-items: center; }
.ticks svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.sticker.big { max-width: 440px; justify-self: center; transform: rotate(-1.2deg); }

/* timeline */
.tl { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: t; }
@media (max-width: 880px) { .tl { grid-template-columns: 1fr; } }
.tl li { counter-increment: t; border-top: 1px solid var(--text); padding-top: 18px; position: relative; }
.tl li::before { content: "0" counter(t); font: 600 14px/1 var(--body); letter-spacing: .1em; color: var(--accent); display: block; margin-bottom: 14px; }
.tl h3 { font: 700 26px/1.2 var(--display); }
.tl p { color: var(--muted); margin: 8px 0 0; font-size: 17px; }

/* contract */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 44px; border-top: 1px solid var(--line-dark); }
@media (max-width: 880px) { .facts { grid-template-columns: 1fr 1fr; } }
.facts div { padding: 26px 0 0; border-inline-start: 1px solid var(--line-dark); padding-inline-start: 22px; }
.facts div:first-child { border-inline-start: 0; padding-inline-start: 0; }
@media (max-width: 880px) { .facts div { border: 0; padding-inline-start: 0; } }
.facts b { display: block; font: 700 46px/1.15 var(--display); }
@media (min-width: 900px) { .facts b { font-size: 60px; } }
.facts span { color: var(--on-dark-muted); font-size: 16px; }

.photo { border-radius: var(--r-media); overflow: hidden; aspect-ratio: 3 / 2; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* faq */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; font: 700 22px/1.3 var(--display); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 30px/1 var(--body); color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 24px; color: var(--muted); max-width: 42em; }

.band { display: flex; justify-content: space-between; align-items: center; gap: 36px; flex-wrap: wrap; }
.band p { color: var(--on-dark-muted); font-size: 19px; max-width: 32em; margin: 12px 0 0; }

.legal { font-size: 14px; color: var(--muted); padding-block: 28px; }
.legal p { margin: 3px 0; }
footer { background: var(--dark); color: var(--on-dark-muted); font-size: 15px; padding-block: 52px calc(52px + env(safe-area-inset-bottom, 0px)); }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 880px) { footer .wrap { grid-template-columns: 1fr; } footer { padding-bottom: 110px; } }
footer b { color: var(--on-dark); display: block; margin-bottom: 8px; }
footer p { margin: 2px 0; }

.sticky { position: fixed; inset: auto 0 0 0; z-index: 40; background: var(--dark); border-top: 1px solid var(--line-dark); padding: 10px max(12px, env(safe-area-inset-left, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-right, 0px)); display: none; gap: 10px; transform: translateY(110%); transition: transform .25s; }
.sticky.on { transform: none; }
.sticky .btn { flex: 1; min-height: 48px; }
.sticky .btn-h { flex: 0 0 auto; color: var(--on-dark); }
@media (max-width: 880px) { .sticky { display: flex; } }

@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(16px); transition: opacity .25s cubic-bezier(0,0,.2,1), transform .25s cubic-bezier(0,0,.2,1); }
  .js .rv.in { opacity: 1; transform: none; }
}

/* model page */
.tabsm { display: flex; gap: 6px; overflow-x: auto; padding: 18px 0 0; }
.tabsm a { white-space: nowrap; text-decoration: none; padding: 10px 16px; border-radius: var(--r); color: var(--muted); font-weight: 600; font-size: 15px; border: 1px solid var(--line); background: var(--surface); }
.tabsm a[aria-current="page"] { background: var(--accent); color: var(--accent-contrast); border-color: var(--accent); }
.m-head { padding: 28px 0 22px; }
.m-head h1 { font-size: 44px; font-weight: 900; }
@media (min-width: 900px) { .m-head h1 { font-size: 72px; } }
.m-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 40px; align-items: start; padding-bottom: var(--sec); }
@media (max-width: 980px) { .m-layout { grid-template-columns: 1fr; } }
.gal-main { aspect-ratio: 16 / 10; border-radius: var(--r-media); overflow: hidden; background: #d9d8d3; }
.gal-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.thumbs { display: flex; gap: 10px; margin-top: 10px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; width: 96px; aspect-ratio: 4/3; cursor: pointer; background: none; }
.thumbs button[aria-pressed="true"] { border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-media); padding: 26px; margin-top: 26px; }
.panel h2 { font: 700 30px/1.2 var(--display); margin-bottom: 4px; }
.swatches { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.sw { display: grid; justify-items: center; gap: 8px; width: 96px; cursor: pointer; text-align: center; font-size: 13px; }
.sw input { position: absolute; opacity: 0; pointer-events: none; }
.sw i { width: 52px; height: 52px; border-radius: 50%; border: 1px solid #0000002e; box-shadow: inset 0 -8px 14px rgb(0 0 0 / .25); outline: 2px solid transparent; outline-offset: 3px; }
.sw input:checked + i { outline-color: var(--accent); }
.sw input:focus-visible + i { outline-color: var(--text); }
.sw small { color: var(--muted); }
.opts { display: grid; gap: 10px; margin-top: 16px; }
.opt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; background: #fff; }
.opt:has(input:checked) { border-color: var(--accent); background: #f1f5fc; }
.opt input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; }
.opt span { flex: 1; }
.opt b { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; font-weight: 600; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin-top: 10px; }
@media (max-width: 620px) { .specs { grid-template-columns: 1fr; } }
.specs div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs span { color: var(--muted); }
.aside { position: sticky; top: 90px; display: grid; gap: 14px; }
.aside .sticker { max-width: none; box-shadow: 0 20px 50px -24px rgb(20 23 27 / .4); border: 1px solid var(--line); }
.book { background: var(--dark); color: var(--on-dark); border-radius: var(--r-media); padding: 22px; display: grid; gap: 12px; }
.book h3 { font: 700 24px/1.2 var(--display); }
.book label { font-size: 14px; font-weight: 600; display: block; margin-bottom: 6px; }
.book input, .book select { width: 100%; min-height: 50px; border-radius: var(--r); border: 1px solid var(--line-dark); background: #1b2028; color: var(--on-dark); padding: 0 14px; font-size: 17px; }
.book .why { font-size: 13px; color: var(--on-dark-muted); margin-top: 4px; display: block; }
.err { display: none; color: #ffb4a8; font-size: 14px; margin-top: 4px; }
.err.on { display: block; }
.done { display: none; background: #1b2b45; border-radius: var(--r); padding: 16px; }
.done.on { display: block; }
.src { font-size: 13px; color: var(--muted); }

/* hero v2: המדבקה "מודבקת" בתחתית, לא מסתירה את הרכב */
@media (min-width: 881px) {
  .hero { overflow: visible; }
  .hero-img { overflow: hidden; }
  .hero-img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgb(16 19 24 / .9) 0%, rgb(16 19 24 / .55) 14%, rgb(16 19 24 / 0) 30%); }
  .hero .wrap { grid-template-columns: 1fr; min-height: min(86vh, 820px); align-content: center; }
  .hero .wrap > div:first-child { max-width: 640px; }
  #hero-sticker { position: absolute; left: 40px; bottom: -96px; width: 360px; z-index: 2; }
  #hero-sticker .sticker { transform: rotate(-1.5deg); box-shadow: 0 34px 70px -20px rgb(0 0 0 / .55); }
  #models { padding-top: calc(var(--sec) + 40px); }
  #models .head { max-width: calc(100% - 420px); }
}
@media (max-width: 880px) {
  .hero-img { position: relative; height: 64vw; max-height: 420px; }
  .hero-img img { object-position: 35% 55%; }
  .hero-img::after { background: linear-gradient(0deg, var(--dark) 0%, rgb(16 19 24 / 0) 45%); }
  .hero .wrap { padding-top: 4px; padding-bottom: 64px; gap: 36px; }
  .hero h1 { font-size: 42px; }
}
@media (max-width: 560px) { .cta-row { display: grid; width: 100%; } .cta-row .btn { width: 100%; } }
.sw small, .sw span { direction: ltr; unicode-bidi: isolate; }
.sticky .sum { flex: 1; display: grid; text-decoration: none; color: var(--on-dark); line-height: 1.25; align-content: center; }
.sticky .sum b { font-size: 20px; }
.sticky .sum span { font-size: 13px; color: var(--accent-on-dark); font-weight: 600; }
.sticky .sum + .btn-p { flex: 0 0 auto; }
.hero .micro, .book .muted { color: var(--on-dark-muted) !important; }
.tabsm { min-height: 62px; }
.swatches { min-height: 104px; } .opts { min-height: 260px; } .specs { min-height: 150px; }
