/* פאנל היט — עיצוב האתר. כיוון: מאפיינים לוגיים (inline-start/end), כך שאותו קובץ עובד בעברית ובאנגלית. */

@font-face { font-family: "Assistant"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/assistant-hebrew.woff2) format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Assistant"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/assistant-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Frank Ruhl Libre"; font-style: normal; font-weight: 700 900; font-display: swap; src: url(../fonts/frank-hebrew.woff2) format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Frank Ruhl Libre"; font-style: normal; font-weight: 700 900; font-display: swap; src: url(../fonts/frank-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
	--ivory: #FAF6EF; --ivory-deep: #F1EADC;
	--navy: #153352; --navy-deep: #0E243B; --navy-soft: #E9F1F7;
	--copper: #D2683B; --copper-deep: #A84B25; --copper-soft: #F5DCCB;
	--charcoal: #2A241D; --charcoal-soft: #5E564B; /* כהה מעט מהמקור, לניגודיות AA על שנהב */
	--line: rgba(21,51,82,.14);
	--radius: 18px;
	--shadow: 0 18px 40px -22px rgba(14,36,59,.35);
	--maxw: 1180px;
	--serif: "Frank Ruhl Libre", "Times New Roman", serif;
	--sans: "Assistant", "Segoe UI", Arial, sans-serif;
	--header-h: 120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--charcoal); font: 400 17px/1.75 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--copper-deep); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.22; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 900; }
h2 { font-size: clamp(27px, 3.4vw, 40px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-inline-start: 1.3em; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 2000; background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 10px; }
.skip:focus { top: 12px; color: #fff; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: 820px; }
.ic { flex: none; vertical-align: middle; }

/* ---------- כפתורים ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 28px; border-radius: 999px; background: var(--copper-deep); color: #fff; font: 700 16px/1.2 var(--sans); text-decoration: none; border: 0; cursor: pointer; box-shadow: 0 12px 24px -10px rgba(210,104,59,.55); transition: transform .25s, box-shadow .25s, background .25s; }
.btn:hover { color: #fff; background: #9E4622; transform: translateY(-2px); box-shadow: 0 16px 28px -8px rgba(182,83,42,.6); }
.btn-sm { padding: 9px 18px; font-size: 14.5px; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); box-shadow: none; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost.on-dark:hover { background: #fff; color: var(--navy); }
.btn[disabled] { opacity: .6; pointer-events: none; }
.link-arrow, .more-link a { font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--copper); padding-bottom: 2px; }
.link-arrow:hover, .more-link a:hover { color: var(--copper-deep); }
.more-link { margin-top: 28px; }

/* ---------- רצועה + כותרת ---------- */
.ribbon { background: var(--navy); color: #fff; font-size: 13.5px; letter-spacing: .02em; }
.ribbon-in { display: flex; gap: 10px; justify-content: center; padding-block: 7px; text-align: center; }
.site-header { position: sticky; top: 0; z-index: 900; background: rgba(250,246,239,.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); box-shadow: 0 4px 20px rgba(0,0,0,.04); }
.header-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 4px 10px rgba(21,51,82,.25); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font: 900 23px/1.1 var(--serif); color: var(--navy); }
.brand-tag { font-size: 13px; color: var(--copper-deep); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; gap: 4px; font-size: 13.5px; font-weight: 700; }
.lang a { padding: 5px 10px; border-radius: 8px; text-decoration: none; color: var(--navy); border: 1px solid transparent; }
.lang a[aria-current] { border-color: var(--line); background: var(--navy-soft); }
.header-phone { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--navy); font-weight: 700; direction: ltr; }
.burger { display: none; background: none; border: 0; color: var(--navy); cursor: pointer; padding: 4px; }
.burger .ic + .ic, .burger[aria-expanded="true"] .ic:first-child { display: none; }
.burger[aria-expanded="true"] .ic + .ic { display: block; }
.nav { border-top: 1px solid var(--line); }
.nav-list { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 24px; padding-block: 0; margin: 0 auto; }
.nav-list a { display: inline-block; padding: 12px 2px; font-size: 15.5px; font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 2px solid transparent; }
.nav-list a:hover, .nav-list a[aria-current] { color: var(--copper-deep); border-color: var(--copper); }
.nav-lang { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy-deep); color: #fff; isolation: isolate; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,36,59,.15), rgba(14,36,59,.35) 55%, rgba(14,36,59,.7)), linear-gradient(to left, rgba(14,36,59,.7), rgba(14,36,59,.3) 45%, rgba(14,36,59,0) 75%); }
.lang-en .hero-shade { background: linear-gradient(180deg, rgba(14,36,59,.15), rgba(14,36,59,.35) 55%, rgba(14,36,59,.7)), linear-gradient(to right, rgba(14,36,59,.7), rgba(14,36,59,.3) 45%, rgba(14,36,59,0) 75%); }
.hero-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 55% 45% at 78% 30%, rgba(210,104,59,.4), transparent 65%); mix-blend-mode: screen; animation: glow 7s ease-in-out infinite; pointer-events: none; }
@keyframes glow { 0%,100% { opacity: .55; } 50% { opacity: .95; } }
.hero-in { padding-block: 96px 56px; }
.hero-badge { display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); padding: 6px 18px; border-radius: 999px; font-size: 14px; font-weight: 700; margin-bottom: 24px; }
.hero h1 { color: #fff; font-size: clamp(40px, 6.5vw, 76px); line-height: 1.08; max-width: 16ch; text-shadow: 0 4px 24px rgba(0,0,0,.4); margin-bottom: 20px; }
.hero-sub { display: inline-block; margin-top: 10px; font-size: .5em; font-weight: 700; line-height: 1.3; opacity: .95; max-width: 28ch; }
.strike { position: relative; display: inline-block; }
.strike::after { content: ""; position: absolute; inset: -8% -12%; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M15,15 L85,85 M85,15 L15,85" stroke="%23ff3b3b" stroke-width="5" stroke-linecap="round"/></svg>') center / 100% 100% no-repeat; transform: scale(0); animation: popx .5s cubic-bezier(.175,.885,.32,1.275) .5s forwards; }
@keyframes popx { to { transform: scale(1); } }
.hero .lede { font-size: 19.5px; line-height: 1.6; max-width: 50ch; color: rgba(255,255,255,.92); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.trust { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-weight: 700; font-size: 15px; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust .ic { color: var(--copper-soft); }

.page-hero { position: relative; overflow: hidden; background: var(--navy-deep); color: #fff; padding-block: 34px 52px; isolation: isolate; }
.page-hero .hero-glow { background: radial-gradient(ellipse 50% 70% at 85% 20%, rgba(210,104,59,.35), transparent 65%); }
.page-hero h1 { color: #fff; max-width: 22ch; margin-top: 12px; }
.page-hero .lede { color: rgba(255,255,255,.88); font-size: 19px; max-width: 60ch; margin: 0; }
.post-hero h1 { max-width: none; font-size: clamp(30px, 4.2vw, 46px); }
.post-meta { color: rgba(255,255,255,.7); font-size: 14.5px; margin: 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0; font-size: 14px; }
.crumbs li:not(:last-child)::after { content: "/"; margin-inline-start: 6px; opacity: .5; }
.crumbs a { color: rgba(255,255,255,.8); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span { color: rgba(255,255,255,.6); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 800; letter-spacing: .1em; color: var(--copper-deep); margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--copper); }
.eyebrow.on-dark, .dark .eyebrow { color: var(--copper-soft); }

/* ---------- סקשנים ---------- */
.section { padding-block: 88px; }
.section.alt { background: var(--navy-soft); }
.section.dark { background: var(--navy-deep); color: #fff; }
.section.dark h2 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.lede-sub { font-size: 17.5px; color: var(--charcoal-soft); }
.dark .lede-sub { color: rgba(255,255,255,.78); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--ivory-deep); }
.figure img { width: 100%; height: 100%; object-fit: cover; max-height: 540px; }
.perks { list-style: none; padding: 0; margin: 0 0 28px; }
.perks li { position: relative; padding-inline-start: 30px; margin-bottom: 12px; }
.perks li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 9px; width: 12px; height: 12px; background: var(--copper); border-radius: 3px; transform: rotate(45deg); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { counter-increment: s; background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.steps li::before { content: counter(s); display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 14px; }
.steps h3 { font-size: 20px; margin-bottom: 6px; }
.steps p { margin: 0; font-size: 16px; color: var(--charcoal-soft); }
.specs { margin: 0 0 26px; display: grid; gap: 0; }
.specs div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-weight: 800; color: var(--navy); }
.specs dd { margin: 0; }
.big-phone { display: flex; align-items: center; gap: 12px; font-size: 26px; font-weight: 800; color: var(--copper); }
.big-phone a { color: var(--navy); text-decoration: none; }
.installers-note { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.installers-note h3 { font-size: 19px; }

/* ---------- כרטיסים ---------- */
.cards { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; margin: 0; }
.card-link { text-decoration: none; color: inherit; transition: transform .3s, box-shadow .3s; }
.card-link:hover { transform: translateY(-5px); box-shadow: 0 24px 48px -18px rgba(14,36,59,.4); color: inherit; }
.card-img { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--navy-soft); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card-link:hover .card-img img { transform: scale(1.06); }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 22px; flex: 1; }
.card-title { font: 700 20px/1.3 var(--serif); color: var(--navy); }
.card-text { font-size: 15.5px; color: var(--charcoal-soft); line-height: 1.6; }
.card-cat { font-size: 13px; font-weight: 800; color: var(--copper-deep); }
.card-more { margin-top: auto; padding-top: 6px; font-size: 14.5px; font-weight: 800; color: var(--copper-deep); }
.review { padding: 26px; }
.review-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; flex: none; }
.review figcaption strong { display: block; color: var(--navy); }
.review figcaption span { font-size: 13.5px; color: var(--charcoal-soft); }
.review blockquote { margin: 10px 0 0; font-size: 15.5px; }
.stars { color: var(--copper); display: inline-flex; gap: 2px; }
.rating-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--charcoal-soft); }
.rating-line .score { font: 700 36px/1 var(--serif); color: var(--navy); }

/* ---------- סרטונים ---------- */
.videos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.video { position: relative; aspect-ratio: 9/16; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 20px 40px -15px rgba(0,0,0,.8); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-btn { position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; background: #000 center / cover no-repeat; display: flex; align-items: center; justify-content: center; }
.video-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,.05) 55%); }
.play { position: relative; z-index: 1; width: 62px; height: 62px; border-radius: 50%; background: var(--copper); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 20px rgba(210,104,59,.6); transition: transform .25s; }
.video-btn:hover .play { transform: scale(1.12); }

/* ---------- מסמכים ---------- */
.docs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.doc { display: flex; align-items: center; gap: 12px; padding: 18px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); color: var(--navy); font-weight: 700; text-decoration: none; border: 1px solid var(--line); }
.doc .ic { color: var(--copper); }
.doc:hover { border-color: var(--copper); color: var(--copper-deep); }

/* ---------- שאלות ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-weight: 800; color: var(--navy); font-size: 18px; }
.faq-item summary::-webkit-details-marker { display: none; }
.plus { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--copper); position: relative; }
.plus::before, .plus::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--copper); transform: translate(-50%,-50%); }
.plus::before { width: 12px; height: 2px; }
.plus::after { width: 2px; height: 12px; transition: transform .3s; }
.faq-item[open] .plus::after { transform: translate(-50%,-50%) rotate(90deg) scaleX(0); }
.faq-a { padding-bottom: 22px; color: var(--charcoal-soft); max-width: 75ch; }
.faq-a p:last-child { margin: 0; }

/* ---------- רצועת פעולה ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy-deep), var(--navy) 60%, #24486e); color: #fff; padding-block: 56px; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.85); max-width: 60ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- טפסים ---------- */
.lead-form { padding: 32px; }
.form-title { font-size: 24px; margin-bottom: 6px; }
.form-intro { color: var(--charcoal-soft); font-size: 16px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 700; color: var(--charcoal); }
.req { color: var(--copper-deep); }
input:not([type]), input[type=text], input[type=tel], input[type=email], input[type=number], input[type=search], select, textarea { width: 100%; border: 1.5px solid #CBC3B5; border-radius: 10px; padding: 12px 14px; font: 16px/1.4 var(--sans); background: var(--ivory); color: var(--charcoal); transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(210,104,59,.2); }
input[aria-invalid=true] { border-color: #B3261E; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; font-size: 14.5px; color: var(--charcoal-soft); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--copper-deep); flex: none; }
.form-note { font-size: 13.5px; color: var(--charcoal-soft); margin: 12px 0 0; text-align: center; }
.form-status { margin-top: 12px; font-weight: 800; text-align: center; }
.form-status.ok { color: #1B6B33; }
.form-status.err { color: #B3261E; }
.lead-form.done .fields, .lead-form.done .consent, .lead-form.done button, .lead-form.done .form-note { display: none; }

/* ---------- תוכן (מאמרים, עמודים) ---------- */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.side { position: sticky; top: calc(var(--header-h) + 16px); }
.side .lead-form { padding: 26px; }
.side .fields { grid-template-columns: 1fr; }
.prose { font-size: 18px; line-height: 1.85; }
.prose > * { max-width: 72ch; }
.prose h2 { font-size: clamp(25px, 3vw, 32px); margin-top: 1.6em; }
.prose h3 { font-size: 22px; margin-top: 1.4em; }
.prose img { border-radius: 14px; height: auto; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 16px; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.prose th { background: var(--navy); color: #fff; }
.prose blockquote { margin: 1.4em 0; padding: 16px 22px; border-inline-start: 4px solid var(--copper); background: #fff; border-radius: 0 12px 12px 0; }
.prose .box, .hub-box { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border-top: 4px solid var(--copper); margin: 2em 0; }
.hub-box h2 { margin-top: 0; font-size: 26px; }
.narrow-block { max-width: 820px; margin-bottom: 40px; }
.post-thumb { margin: 0 0 28px; }
.post-thumb img { border-radius: var(--radius); }
.contact-list { list-style: none; padding: 0; }
.contact-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-list .ic { color: var(--copper); }
.link-list { columns: 2; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chips a { padding: 7px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); text-decoration: none; font-weight: 700; font-size: 15px; }
.chips a[aria-current], .chips a:hover { background: var(--navy); color: #fff; }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.page-numbers { padding: 8px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--navy); font-weight: 700; }
.page-numbers.current { background: var(--navy); color: #fff; }
.search-form { display: flex; gap: 8px; margin: 24px 0; }

/* ---------- גלריה ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-item { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; background: var(--navy-soft); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.05); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; }
.lightbox::backdrop { background: rgba(10,20,32,.92); }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 12px; margin: auto; }
.lightbox button { position: fixed; background: rgba(255,255,255,.15); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; cursor: pointer; font-size: 30px; display: flex; align-items: center; justify-content: center; }
.lb-close { top: 16px; inset-inline-end: 16px; }
.lb-prev { top: 50%; inset-inline-start: 12px; }
.lb-next { top: 50%; inset-inline-end: 12px; }

/* ---------- מחשבון ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.calc-main { display: grid; gap: 22px; }
.calc-step { border: 0; padding: 30px; margin: 0; }
.calc-step legend { float: inline-start; width: 100%; font: 700 23px/1.3 var(--serif); color: var(--navy); display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 0; }
.step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--copper-soft); color: var(--copper-deep); display: inline-flex; align-items: center; justify-content: center; font: 800 16px var(--sans); }
.calc-step .fields { grid-template-columns: repeat(3, 1fr); clear: both; }
.calc-step .field-wide { grid-column: 1 / -1; }
.combo { position: relative; }
.combo-list { position: absolute; z-index: 20; top: 100%; inset-inline: 0; list-style: none; margin: 4px 0 0; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); max-height: 260px; overflow: auto; }
.combo-list li { padding: 9px 12px; border-radius: 8px; cursor: pointer; }
.combo-list li[aria-selected=true], .combo-list li:hover { background: var(--navy-soft); }
.hint { font-size: 14.5px; color: var(--charcoal-soft); margin: 10px 0 0; }
.calc-zone { margin: 18px 0 0; padding: 14px 18px; background: var(--navy-soft); border-radius: 12px; color: var(--navy); }
.rooms { display: grid; gap: 12px; margin-bottom: 14px; }
.room { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 12px; align-items: end; padding: 16px; background: var(--ivory); border-radius: 14px; border: 1px solid var(--line); }
.room-remove { background: none; border: 1px solid var(--line); border-radius: 10px; width: 46px; height: 46px; color: var(--charcoal-soft); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.room-remove:hover { color: #B3261E; border-color: #B3261E; }
.room-out { grid-column: 1 / -1; margin: 0; font-size: 15px; font-weight: 700; color: var(--copper-deep); min-height: 1em; }
.room-out:empty { display: none; }
.calc-side { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 18px; }
.calc-sum { padding: 26px; background: var(--navy); color: #fff; }
.calc-sum h2 { color: #fff; font-size: 22px; }
.sum-line { color: rgba(255,255,255,.8); font-size: 15px; }
.sum { margin: 0; }
.sum div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.sum dd { margin: 0; font-weight: 800; direction: ltr; }
.sum-total { font-size: 19px; border-bottom: 0 !important; padding-top: 14px !important; }
.sum-total dd { color: var(--copper-soft); font-size: 24px; }
.sum-gross { color: rgba(255,255,255,.8); }
.fine { font-size: 13.5px; color: var(--charcoal-soft); margin: 12px 0 0; line-height: 1.55; }
.calc-sum .fine { color: rgba(255,255,255,.7); }
.calc-form { padding: 26px; }
.calc-form .fields { grid-template-columns: 1fr 1fr; }
.thermo { padding: 22px 24px; }
.thermo h2 { font-size: 19px; }
.thermo table { width: 100%; border-collapse: collapse; font-size: 15px; }
.thermo th { text-align: start; font-weight: 600; padding: 7px 0; border-bottom: 1px solid var(--line); }
.thermo td { text-align: end; font-weight: 800; white-space: nowrap; border-bottom: 1px solid var(--line); }
.calc-section .section-head { margin-inline: auto; text-align: center; }

/* ---------- פוטר ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.82); padding-top: 64px; font-size: 15.5px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand-name { color: #fff; margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,.88); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-h { color: #fff; font: 800 15px var(--sans); letter-spacing: .06em; margin: 0 0 12px; }
.footer-h:not(:first-child) { margin-top: 24px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 7px; }
.site-footer address { font-style: normal; display: grid; gap: 8px; }
.site-footer address a, .site-footer address span { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-block: 20px 26px; font-size: 14px; color: rgba(255,255,255,.6); }

/* סרגל פעולה במובייל */
.dock { display: none; }

/* ---------- רספונסיביות ---------- */
@media (max-width: 1080px) {
	.steps { grid-template-columns: repeat(2, 1fr); }
	.cards-4 { grid-template-columns: repeat(2, 1fr); }
	.calc { grid-template-columns: 1fr; }
	.calc-side { position: static; }
	.header-phone span { display: none; }
}
@media (max-width: 900px) {
	:root { --header-h: 76px; }
	.split, .content-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.prose table { display: block; overflow-x: auto; white-space: nowrap; }
	.prose td, .prose th { white-space: normal; min-width: 120px; }
	.split.reverse > :first-child { order: 0; }
	.side { position: static; }
	.cards-3 { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.burger { display: block; }
	.header-actions .lang { display: none; }
	.nav { display: none; position: absolute; inset-inline: 0; top: 100%; background: #fff; box-shadow: 0 20px 40px rgba(14,36,59,.12); max-height: calc(100vh - 80px); overflow: auto; }
	.nav.open { display: block; }
	.nav-list { flex-direction: column; gap: 0; padding-block: 8px 16px; }
	.nav-list a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
	.nav-lang { display: block; }
	.calc-step .fields { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	body { font-size: 16.5px; padding-bottom: 64px; }
	.wrap { padding-inline: 18px; }
	.section { padding-block: 60px; }
	.hide-sm { display: none; }
	.brand-tag { display: none; }
	.brand-name { font-size: 21px; }
	.header-top .btn-sm { display: none; }
	.hero-in { padding-block: 64px 40px; }
	.hero h1 { font-size: 42px; }
	.hero .lede { font-size: 17.5px; }
	.hero-cta { flex-direction: column; }
	.hero-cta .btn { width: 100%; }
	.lang-he .hero-shade, .lang-en .hero-shade { background: linear-gradient(180deg, rgba(14,36,59,.15), rgba(14,36,59,.45) 50%, rgba(14,36,59,.78)); }
	.fields, .calc-form .fields, .calc-step .fields { grid-template-columns: 1fr; }
	.lead-form, .calc-step { padding: 22px 18px; }
	.room { grid-template-columns: 1fr 1fr auto; padding: 12px; }
	.docs { grid-template-columns: 1fr; }
	.gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
	.specs div { grid-template-columns: 1fr; gap: 0; }
	.footer-grid { grid-template-columns: 1fr; }
	.link-list { columns: 1; }
	/* גלילה אופקית במקום רשימות ארוכות */
	.scroll-sm { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: -18px; padding: 4px 18px 20px; scrollbar-width: none; }
	.scroll-sm::-webkit-scrollbar { display: none; }
	.scroll-sm > * { flex: 0 0 84%; scroll-snap-align: center; }
	.videos.scroll-sm > * { flex-basis: 62%; }
	.dock { display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; inset-inline: 0; bottom: 0; z-index: 950; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(14,36,59,.12); padding-bottom: env(safe-area-inset-bottom); }
	.dock a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; font-size: 12.5px; font-weight: 800; color: var(--navy); text-decoration: none; }
	.dock .dock-main { background: var(--copper-deep); color: #fff; }
}
/* ---------- תפריט נגישות (parts/a11y.php) ---------- */
.a11y { position: fixed; inset-inline-end: 16px; bottom: 16px; z-index: 960; font: 400 15px/1.4 var(--sans); }
.a11y-btn { width: 50px; height: 50px; border-radius: 50%; border: 2px solid #fff; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 10px 24px -8px rgba(14,36,59,.55); }
.a11y-btn:hover, .a11y-btn[aria-expanded="true"] { background: var(--navy-deep); }
.a11y-panel { position: absolute; bottom: 62px; inset-inline-end: 0; width: 264px; max-height: calc(100vh - 100px); overflow: auto; display: grid; gap: 8px; padding: 16px; background: #fff; color: var(--charcoal); border-radius: 14px; box-shadow: 0 22px 48px -14px rgba(14,36,59,.5); border: 1px solid var(--line); }
.a11y-title { margin: 0 0 2px; font: 700 18px/1.3 var(--serif); color: var(--navy); }
.a11y-size { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; }
.a11y-steps { display: inline-flex; align-items: center; gap: 6px; }
.a11y-steps button { width: 38px; height: 38px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--ivory); color: var(--navy); font: 800 15px var(--sans); cursor: pointer; direction: ltr; }
.a11y-steps output { min-width: 46px; text-align: center; font-weight: 700; }
.a11y-opt { text-align: start; padding: 10px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--ivory); color: var(--navy); font: 700 15px var(--sans); cursor: pointer; }
.a11y-opt[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.a11y-opt[aria-pressed="true"]::after { content: " ✓"; }
.a11y-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 6px; border-top: 1px solid var(--line); margin-top: 2px; }
.a11y-reset { background: none; border: 0; padding: 6px 0; font: 700 15px var(--sans); color: var(--copper-deep); text-decoration: underline; cursor: pointer; }
@media (max-width: 640px) { .a11y { bottom: calc(74px + env(safe-area-inset-bottom)); inset-inline-end: 12px; } .a11y-btn { width: 44px; height: 44px; } }
@media print { .a11y { display: none !important; } }

/* ההתאמות עצמן — מחלקות על <html> */
html[data-a11y-size="1"] :is(.ribbon, .site-header, main, .site-footer) { zoom: 1.12; }
html[data-a11y-size="2"] :is(.ribbon, .site-header, main, .site-footer) { zoom: 1.25; }
html[data-a11y-size="3"] :is(.ribbon, .site-header, main, .site-footer) { zoom: 1.4; }
html.a11y-contrast { --ivory: #fff; --ivory-deep: #fff; --navy-soft: #fff; --charcoal: #000; --charcoal-soft: #111; --navy: #0B1C2E; --copper-deep: #7A3112; --line: rgba(0,0,0,.55); }
html.a11y-contrast * { text-shadow: none !important; }
html.a11y-contrast :is(.card, .lead-form, input, select, textarea) { border-color: #000 !important; }
html.a11y-links a:not(.btn) { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 4px; }
html.a11y-links a:not(.btn):is(:hover, :focus) { background: #FFE66B; color: #000 !important; }
html.a11y-font { --serif: Arial, "Segoe UI", sans-serif; --sans: Arial, "Segoe UI", sans-serif; }
html.a11y-font body { letter-spacing: .02em; word-spacing: .08em; line-height: 1.85; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.strike::after { transform: scale(1); }
}
@media print {
	.ribbon, .site-header, .site-footer, .dock, .cta-band, .lead-form, .side { display: none !important; }
}
