/*
Theme Name: Bracha
Description: תבנית האתר של ברכה בנייה והנדסה בע"מ.
Author: E3E Technologies
Version: 1.1.0
Text Domain: bracha
*/

/* ---------- בסיס ---------- */

:root {
	--navy: #0a2342;
	--navy-deep: #061729;
	--red: #a51c24;
	--ink: #212529;
	--muted: #5d6875;
	--line: #dfe3e8;
	--paper: #ffffff;
	--paper-soft: #f6f5f2;

	--font: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

	--gutter: clamp(20px, 5vw, 64px);
	--section: clamp(72px, 10vw, 140px);
	--tile-gap: clamp(8px, 1vw, 14px);
	--header-h: 92px;
}

*,
*::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(--paper);
	color: var(--ink);
	font-family: var(--font);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.7;
	overflow-x: hidden;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

h1,
h2,
h3,
p,
ul,
ol,
figure,
blockquote {
	margin: 0;
	padding: 0;
}

ul,
ol {
	list-style: none;
}

p + p {
	margin-top: 1em;
}

button {
	font-family: inherit;
}

:focus-visible {
	outline: 2px solid var(--red);
	outline-offset: 3px;
}

.container {
	width: 100%;
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.container--narrow {
	max-width: 820px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	top: -100px;
	right: 16px;
	z-index: 200;
	padding: 10px 18px;
	background: var(--navy);
	color: #fff;
}

.skip-link:focus {
	top: 16px;
}

/* ---------- כותרת סקשן: אותיות מרווחות, בלי קישוט ---------- */

.heading-line {
	padding-inline: var(--gutter);
	color: var(--navy);
	font-size: clamp(26px, 2.6vw, 34px);
	font-weight: 400;
	letter-spacing: 0.3em;
	line-height: 1.3;
	text-align: center;
}

.section-title {
	color: var(--navy);
	font-size: clamp(28px, 3.4vw, 44px);
	font-weight: 400;
	line-height: 1.25;
}

.section-foot {
	margin-top: clamp(40px, 6vw, 80px);
	text-align: center;
}

.eyebrow {
	margin-bottom: 18px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.3em;
}

.eyebrow--light {
	color: rgba(255, 255, 255, 0.75);
}

.link-arrow {
	display: inline-block;
	margin-top: 28px;
	padding-bottom: 6px;
	border-bottom: 1px solid var(--navy);
	color: var(--navy);
	letter-spacing: 0.16em;
}

.btn {
	display: inline-block;
	padding: 15px 40px;
	border: 2px solid transparent;
	background: none;
	font-family: var(--font);
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.3em;
	cursor: pointer;
	transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}

.btn--outline {
	border-color: var(--navy);
	color: var(--navy);
}

.btn--outline:hover {
	background: var(--navy);
	color: #fff;
}

.btn--light {
	border-color: #fff;
	background: #fff;
	color: var(--navy);
}

.btn--light:hover {
	background: transparent;
	color: #fff;
}

.btn--solid {
	border-color: var(--navy);
	background: var(--navy);
	color: #fff;
}

.btn--solid:hover {
	border-color: var(--red);
	background: var(--red);
}

.btn--ghost-light {
	border-color: rgba(255, 255, 255, 0.6);
	color: #fff;
}

.btn--ghost-light:hover {
	border-color: #fff;
	background: #fff;
	color: var(--navy);
}

.btn[disabled] {
	opacity: 0.6;
	cursor: progress;
}

/* ---------- כותרת עליונה: התפריט בימין והלוגו בשמאל ---------- */

.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	height: var(--header-h);
	background: #fff;
	border-bottom: 1px solid var(--line);
	transition: background-color 0.35s, border-color 0.35s;
}

.site-header__inner {
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	padding-inline: var(--gutter);
}

.site-logo {
	position: relative;
	display: block;
	height: 62px;
	aspect-ratio: 802 / 742;
}

.site-logo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: opacity 0.35s;
}

.site-logo__light {
	opacity: 0;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: clamp(24px, 4vw, 56px);
}

.site-nav ul {
	display: flex;
	gap: clamp(24px, 4vw, 56px);
}

.site-nav a {
	position: relative;
	padding-block: 8px;
	color: var(--navy);
	font-size: 16px;
	letter-spacing: 0.22em;
	transition: color 0.35s;
}

/* בלי קו מתחת לקישור במעבר עכבר (בקשת אלעד, 21/10/2026) */

.site-nav__phone {
	letter-spacing: 0.08em !important;
}

.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.nav-toggle__bar {
	display: block;
	width: 28px;
	height: 1px;
	margin: 8px auto;
	background: var(--navy);
	transition: transform 0.3s, background-color 0.35s;
}

/* מעל תמונת שער הכותרת שקופה, ונהיית לבנה אחרי גלילה */
.has-hero .site-header:not(.is-solid) {
	background: transparent;
	border-color: transparent;
}

.has-hero .site-header:not(.is-solid) .site-logo__light {
	opacity: 1;
}

.has-hero .site-header:not(.is-solid) .site-logo__dark {
	opacity: 0;
}

.has-hero .site-header:not(.is-solid) .site-nav a {
	color: #fff;
}

.has-hero .site-header:not(.is-solid) .nav-toggle__bar {
	background: #fff;
}

body:not(.has-hero) main {
	padding-top: var(--header-h);
}

/* ---------- הירו של עמוד הבית: וידאו בלבד, בלי טקסט ---------- */

.hero {
	position: relative;
	height: 100vh;
	height: 100svh;
	overflow: hidden;
	background: var(--navy-deep) var(--hero-image) center / cover no-repeat;
	color: #fff;
}

.hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* הכהיה רק למעלה, כדי שהתפריט ייקרא והווידאו יישאר נקי */
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(rgba(6, 23, 41, 0.55), transparent 26%);
	pointer-events: none;
}

/* ---------- המלצות בעמוד הבית: המלצה גדולה על רקע תמונה של פרויקט ---------- */

.quotes {
	position: relative;
	display: grid;
	place-items: center;
	min-height: clamp(560px, 70vh, 720px);
	padding: clamp(80px, 9vw, 120px) var(--gutter);
	background: var(--navy-deep) var(--quotes-image) center / cover no-repeat;
	color: #fff;
	text-align: center;
}

.quotes::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(6, 23, 41, 0.72);
}

.quotes__inner {
	position: relative;
	width: min(100%, 860px);
}

.quotes__title {
	color: #fff;
}

.quotes__stage {
	display: grid;
	margin-top: clamp(30px, 4vw, 44px);
}

/* כל ההמלצות באותו תא, כך שגובה הסקשן לא קופץ כשהן מתחלפות */
.quotes__item {
	grid-area: 1 / 1;
	margin: 0;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.8s, transform 0.8s;
	pointer-events: none;
}

.quotes__item.is-active {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}

.quotes__text {
	margin: 0 0 28px;
	font-size: clamp(20px, 2.3vw, 30px);
	font-weight: 300;
	line-height: 1.65;
}

.quotes__name {
	display: block;
	font-weight: 500;
	letter-spacing: 0.1em;
}

.quotes__project {
	display: block;
	margin-top: 4px;
	font-size: 14px;
	font-weight: 300;
	opacity: 0.75;
}

.quotes__dots {
	display: flex;
	gap: 12px;
	justify-content: center;
	margin-top: 34px;
}

.quotes__dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.35);
	cursor: pointer;
	transition: background-color 0.3s;
}

.quotes__dot.is-active {
	background: #fff;
}

/* בלי מסגרת אחרי לחיצה בעכבר; במקלדת המסגרת נשארת לנגישות */
.quotes__dot:focus:not(:focus-visible) {
	outline: none;
}

/* ---------- מאמרים בעמוד הבית: ארבעה כרטיסים לגובה ---------- */

.home-articles {
	padding-block: var(--section);
}

.home-articles__lead {
	margin: 10px 0 0;
	padding-inline: var(--gutter);
	color: var(--muted, #5d6875);
	font-weight: 300;
	text-align: center;
}

.home-articles__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(16px, 2vw, 26px);
	max-width: calc(1280px + 2 * var(--gutter));
	margin: clamp(36px, 4vw, 52px) auto 0;
	padding-inline: var(--gutter);
}

.home-article {
	display: block;
	color: var(--navy);
}

.home-article__img {
	display: block;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: var(--paper-soft);
}

.home-article__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.home-article:hover .home-article__img img {
	transform: scale(1.05);
}

.home-article__meta {
	display: block;
	margin-top: 14px;
	color: #5d6875;
	font-size: 13px;
	letter-spacing: 0.1em;
}

.home-article__title {
	display: block;
	margin-top: 6px;
	font-size: 17px;
	line-height: 1.5;
}

@media (max-width: 820px) {
	.home-articles__grid {
		grid-template-columns: 1fr 1fr;
	}

	.home-article__title {
		font-size: 15px;
	}
}

/* ---------- תמונת שער של עמוד פנימי ---------- */

.page-hero {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 62vh;
	min-height: 62svh;
	padding: calc(var(--header-h) + 24px) var(--gutter) 64px;
	background-image: linear-gradient(rgba(6, 23, 41, 0.5), rgba(6, 23, 41, 0.35) 45%, rgba(6, 23, 41, 0.6)), var(--hero-image);
	background-position: center;
	background-size: cover;
	color: #fff;
	text-align: center;
}

.page-hero--short {
	min-height: 46vh;
	min-height: 46svh;
}

.page-hero--full {
	min-height: 100vh;
	min-height: 100svh;
}

.page-hero__title {
	font-size: clamp(30px, 4.4vw, 60px);
	font-weight: 400;
	letter-spacing: 0.22em;
	line-height: 1.3;
	text-wrap: balance;
}

.page-hero__location {
	margin-top: 18px;
	font-size: clamp(15px, 1.4vw, 18px);
	letter-spacing: 0.3em;
}

.page-intro {
	padding-block: clamp(48px, 7vw, 96px) clamp(36px, 5vw, 64px);
}

/* ---------- אודות, במבנה של Our Philosophy ברפרנס ---------- */

.philosophy {
	padding-block: var(--section);
}

.philosophy__text {
	max-width: 910px;
	margin: clamp(32px, 4vw, 52px) auto 0;
	padding-inline: var(--gutter);
	/* בקשת הלקוח: טקסט מיושר לשני הצדדים, והשורה האחרונה ממורכזת */
	text-align: justify;
	text-align-last: center;
	hyphens: auto;
}

/* ---------- קוביות הפרויקטים ---------- */

.home-projects {
	padding-bottom: var(--section);
}

.tiles {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--tile-gap);
	padding-inline: var(--tile-gap);
}

.tile {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 1.92 / 1;
	background: var(--paper-soft);
	color: #fff;
}

.tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* סרטון קצר בקובייה: מתנגן במעבר עכבר ומופיע מעל התמונה */
.tile__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.6s;
}

.tile__video.is-playing {
	opacity: 1;
}

/* אפקט 1 שאלעד בחר (20/10/2026): זום איטי, הכהיה מלמטה, והשם עולה מלמטה עם סוג הפרויקט */
.tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(transparent 40%, rgba(6, 23, 41, 0.8));
	opacity: 0;
	transition: opacity 0.5s;
}

.tile__overlay {
	position: absolute;
	inset: auto 0 0 0;
	z-index: 1;
	display: grid;
	gap: 4px;
	padding: clamp(22px, 2.6vw, 38px) clamp(24px, 2.8vw, 42px);
	opacity: 0;
	transform: translateY(24px);
	transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.5s;
}

.tile__title {
	font-size: clamp(20px, 2.2vw, 30px);
	font-weight: 300;
	letter-spacing: 0.26em;
	line-height: 1.35;
}

.tile__location {
	font-size: clamp(13px, 1.1vw, 15px);
	letter-spacing: 0.2em;
	opacity: 0.85;
}

.tile:hover img,
.tile:focus-visible img {
	transform: scale(1.07);
}

.tile:hover::after,
.tile:focus-visible::after,
.tile:hover .tile__overlay,
.tile:focus-visible .tile__overlay {
	opacity: 1;
}

.tile:hover .tile__overlay,
.tile:focus-visible .tile__overlay {
	transform: none;
}

/* במסך מגע אין מעבר עכבר, ולכן השם וההכהיה מוצגים תמיד */
@media (hover: none) {
	.tile::after,
	.tile__overlay {
		opacity: 1;
	}

	.tile__overlay {
		transform: none;
		padding: 18px;
	}

	.tile__title {
		font-size: 18px;
		letter-spacing: 0.14em;
	}

	.tile__location {
		font-size: 13px;
		letter-spacing: 0.1em;
	}
}

/* ---------- צור קשר בתחתית העמודים: פס כחול כהה (אפשרות 3) ---------- */

.band-contact {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: clamp(40px, 7vw, 90px);
	padding: clamp(72px, 9vw, 110px) 8%;
	background: var(--navy);
	color: #fff;
}

.band-contact .heading-line {
	/* אותו תיקון כמו בכותרות המרווחות האחרות: מחזירים את הכותרת לקו של הטקסט שמתחתיה */
	margin-inline-start: -0.3em;
	color: #fff;
}

.band-contact__lead {
	margin-top: 18px;
	color: rgba(255, 255, 255, 0.72);
}

.band-contact__phone {
	display: inline-block;
	margin-top: 28px;
	font-size: clamp(34px, 3.6vw, 48px);
	font-weight: 300;
	letter-spacing: 0.06em;
	line-height: 1.2;
	transition: opacity 0.25s;
}

.band-contact__phone:hover {
	opacity: 0.8;
}

.band-contact__form {
	display: grid;
	gap: 30px;
	align-content: center;
}

.band-contact__form .field input {
	border-bottom-color: rgba(255, 255, 255, 0.5);
	color: #fff;
	caret-color: #fff;
	text-align: right;
}

.band-contact__form input::placeholder {
	color: rgba(255, 255, 255, 0.6);
	font-size: 15px;
	letter-spacing: 0.12em;
}

.band-contact__form .field input:focus {
	border-color: #fff;
	box-shadow: 0 1px 0 #fff;
}

.band-contact__form .field__error,
.band-contact__form .lead-form__status.is-error {
	color: #ffb4b8;
}

.band-contact__form .field.has-error input {
	border-color: #ffb4b8;
	box-shadow: 0 1px 0 #ffb4b8;
}

.band-contact__form .lead-form__status.is-sent {
	color: #a8e6c1;
}

.band-contact__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 24px;
}

/* ---------- צור קשר: תמונה של בית שבנינו בחצי אחד, טופס על לבן בחצי השני ---------- */

.contact {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border-top: 1px solid var(--line);
}

.contact__media {
	position: relative;
	min-height: 560px;
	margin: 0;
	overflow: hidden;
	background: var(--navy-deep);
}

.contact__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 40%;
}

.contact__media figcaption {
	position: absolute;
	inset: auto 0 0 0;
	padding: 60px var(--gutter) 22px;
	background: linear-gradient(transparent, rgba(6, 23, 41, 0.7));
	color: #fff;
	font-size: 14px;
	letter-spacing: 0.24em;
}

.contact__panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(56px, 7vw, 110px) clamp(24px, 6vw, 96px);
}

.contact__panel .eyebrow,
.process .eyebrow,
.visit .eyebrow {
	color: var(--red);
}

/* אותה כותרת מרווחת, מיושרת להתחלה במקום למרכז */
.heading-line--start {
	padding-inline: 0;
	text-align: start;
}

.contact__lead {
	margin-top: 18px;
	color: var(--muted);
}

.lead-form {
	display: grid;
	gap: 26px;
	margin-top: clamp(32px, 4vw, 48px);
}

.lead-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 26px 32px;
}

.lead-form__trap {
	position: absolute;
	inset-inline-start: -9999px;
}

.field {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.field label,
.field legend {
	display: block;
	padding: 0;
	color: var(--navy);
	font-size: 14px;
	letter-spacing: 0.2em;
}

.field__optional {
	color: var(--muted);
	letter-spacing: 0.05em;
}

.field input,
.field textarea {
	width: 100%;
	padding: 10px 0 12px;
	border: 0;
	border-bottom: 1px solid #9aa4b0;
	border-radius: 0;
	background: transparent;
	color: var(--ink);
	font-family: var(--font);
	font-size: 19px;
	transition: border-color 0.25s, box-shadow 0.25s;
}

.field input[dir="ltr"] {
	text-align: right;
}

.field textarea {
	resize: vertical;
}

.field input:focus,
.field textarea:focus {
	outline: 0;
	border-color: var(--navy);
	box-shadow: 0 1px 0 var(--navy);
}

.field.has-error input {
	border-color: var(--red);
	box-shadow: 0 1px 0 var(--red);
}

.field__error {
	margin-top: 6px;
	color: var(--red);
	font-size: 15px;
}

/* בחירת סוג הפרויקט: כפתורי רדיו בצורת תגיות */
.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}

.chip {
	position: relative;
	cursor: pointer;
}

.chip input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.chip span {
	display: inline-block;
	padding: 9px 20px;
	border: 1px solid #c4cbd3;
	border-radius: 999px;
	color: var(--navy);
	font-size: 16px;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.chip:hover span {
	border-color: var(--navy);
}

.chip input:checked + span {
	border-color: var(--navy);
	background: var(--navy);
	color: #fff;
}

.chip input:focus-visible + span {
	outline: 2px solid var(--red);
	outline-offset: 3px;
}

.lead-form__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 24px;
	margin-top: 6px;
}

.lead-form__status.is-sent {
	color: #1b7a45;
}

.lead-form__status.is-error {
	color: var(--red);
}

.lead-form__note {
	color: var(--muted);
	font-size: 13px;
}

.lead-form__note a {
	text-decoration: underline;
}

.contact__details {
	display: flex;
	flex-wrap: wrap;
	gap: 22px clamp(28px, 4vw, 56px);
	margin: clamp(40px, 5vw, 64px) 0 0;
	padding-top: 28px;
	border-top: 1px solid var(--line);
}

.contact__details dt {
	color: var(--muted);
	font-size: 13px;
	letter-spacing: 0.24em;
}

.contact__details dd {
	margin: 4px 0 0;
	color: var(--navy);
	font-size: 19px;
}

.contact__details a:hover {
	color: var(--red);
}

/* ---------- עמוד צור קשר: נקי, בלי תמונה ---------- */

.cpage {
	padding-block: clamp(56px, 7vw, 100px) var(--section);
}

.cpage__grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
	max-width: 1120px;
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.cpage__info li {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px 0;
	border-bottom: 1px solid var(--line);
}

.cpage__info li:first-child {
	border-top: 1px solid var(--line);
}

.cpage__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--paper-soft);
	color: var(--navy);
}

.cpage__info small {
	display: block;
	color: var(--muted);
	font-size: 13px;
}

.cpage__info a {
	color: var(--navy);
	font-size: 19px;
	font-weight: 600;
	transition: color 0.25s;
}

.cpage__info a:hover {
	color: var(--red);
}

.cpage__info a[dir="ltr"] {
	display: inline-block;
}

.cpage__info .cpage__wa {
	border-bottom: 0;
	padding-top: 28px;
}

.cpage__info .cpage__wa .btn {
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.1em;
}

.cpage__form {
	padding: clamp(28px, 3.5vw, 44px);
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 10px 40px rgba(10, 35, 66, 0.07);
}

.cpage__form h2 {
	color: var(--navy);
	font-size: 24px;
	font-weight: 600;
}

.cpage__form > p {
	margin-top: 4px;
	color: var(--muted);
}

/* בעמוד הזה השדות במסגרת, כמו ב-Homez */
.cpage__form .lead-form {
	gap: 20px;
	margin-top: 24px;
}

.cpage__form .field label,
.cpage__form .field legend {
	margin-bottom: 8px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0;
}

.cpage__form .field input,
.cpage__form .field textarea {
	padding: 13px 15px;
	border: 1px solid #d5dae0;
	border-radius: 8px;
	font-size: 17px;
}

.cpage__form .field input:focus,
.cpage__form .field textarea:focus {
	border-color: var(--navy);
	box-shadow: 0 0 0 3px rgba(10, 35, 66, 0.08);
}

.cpage__form .chips {
	margin-top: 0;
}

.cpage__form .lead-form .btn {
	width: 100%;
	border-radius: 8px;
	letter-spacing: 0.1em;
}

.cpage__form .lead-form__foot {
	display: grid;
}

/* ---------- עמוד הפרויקטים: הפסיפס של MegaOne (elements-portfolio-10, "mosaic flat") ----------
   כותרת ממורכזת עם כותרת משנה צבעונית, סינון בטקסט עם קווים נטויים, ורשת של 4 עמודות לכל רוחב המסך.
   כל משבצת: תמונה, ובמעבר עכבר שכבה כהה עם פלוס, שם הפרויקט ושורת משנה. */

.mosaic-page {
	padding-block: clamp(56px, 7vw, 100px) var(--section);
}

.mosaic-head {
	max-width: 620px;
	margin: 0 auto clamp(36px, 4vw, 56px);
	padding-inline: var(--gutter);
	text-align: center;
}

.mosaic-head__sub {
	color: var(--red);
	font-size: 15px;
	font-weight: 600;
}

.mosaic-head__title {
	margin-top: 6px;
	color: var(--navy);
	font-size: clamp(32px, 3.6vw, 46px);
	font-weight: 700;
	line-height: 1.2;
}

.mosaic-head__text {
	margin-top: 14px;
	color: var(--muted);
	font-size: 16px;
}

.mosaic-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px 10px;
	margin-top: 26px;
	color: var(--muted);
	font-size: 15px;
}

.mosaic-filters button {
	padding: 2px 0;
	border: 0;
	background: none;
	color: var(--navy);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	transition: color 0.3s;
}

.mosaic-filters button:hover,
.mosaic-filters button.is-active {
	color: var(--red);
}

.mosaic {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: clamp(220px, 24vw, 360px);
	grid-auto-flow: dense;
	gap: 6px;
	padding-inline: 6px;
}

.mosaic__item {
	position: relative;
	display: block;
	grid-column: span var(--cols, 1);
	grid-row: span var(--rows, 1);
	overflow: hidden;
	background: var(--paper-soft);
}

.mosaic__item[hidden] {
	display: none;
}

/* אחרי סינון כל המשבצות באותו גודל, כדי שלא ייווצרו חורים */
.mosaic.is-filtered .mosaic__item {
	grid-column: span 2;
	grid-row: span 1;
}

.mosaic__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.mosaic__caption {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	gap: 2px;
	padding: 28px;
	background: rgba(6, 23, 41, 0.78);
	color: #fff;
	opacity: 0;
	transition: opacity 0.4s ease;
}

.mosaic__plus {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 50%;
	transform: translate(-50%, -50%) scale(0.7);
	transition: transform 0.4s ease;
}

.mosaic__plus::before,
.mosaic__plus::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 16px;
	height: 1px;
	background: #fff;
	transform: translate(-50%, -50%);
}

.mosaic__plus::after {
	transform: translate(-50%, -50%) rotate(-90deg);
}

.mosaic__title {
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
	transform: translateY(10px);
	transition: transform 0.4s ease;
}

.mosaic__meta {
	color: rgba(255, 255, 255, 0.8);
	font-size: 14px;
	transform: translateY(10px);
	transition: transform 0.4s ease 0.05s;
}

.mosaic__item:hover img,
.mosaic__item:focus-visible img {
	transform: scale(1.06);
}

.mosaic__item:hover .mosaic__caption,
.mosaic__item:focus-visible .mosaic__caption {
	opacity: 1;
}

.mosaic__item:hover .mosaic__plus,
.mosaic__item:focus-visible .mosaic__plus {
	transform: translate(-50%, -50%) scale(1);
}

.mosaic__item:hover .mosaic__title,
.mosaic__item:hover .mosaic__meta,
.mosaic__item:focus-visible .mosaic__title,
.mosaic__item:focus-visible .mosaic__meta {
	transform: none;
}

/* במסך מגע אין מעבר עכבר: שם הפרויקט מוצג תמיד בתחתית המשבצת */
@media (hover: none) {
	.mosaic__caption {
		background: linear-gradient(transparent 45%, rgba(6, 23, 41, 0.8));
		opacity: 1;
	}

	.mosaic__plus {
		display: none;
	}

	.mosaic__title,
	.mosaic__meta {
		transform: none;
	}
}

/* ---------- עמוד צור קשר: חצי-חצי (אפשרות 5) ---------- */

.contact-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: calc(100vh - var(--header-h));
	min-height: calc(100svh - var(--header-h));
}

.contact-split__side,
.contact-split__main {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(60px, 8vw, 100px) 9%;
}

.contact-split__side {
	background: var(--navy);
	color: #fff;
}

/* הרווח בין האותיות נוסף גם אחרי האות הראשונה, ולכן מושכים את הכותרת חזרה לקו של שאר הטקסט */
.contact-split__title {
	margin-inline-start: -0.32em;
	font-size: clamp(32px, 3.4vw, 44px);
	font-weight: 300;
	letter-spacing: 0.32em;
	line-height: 1.2;
}

.contact-split__lead {
	margin-top: 14px;
	color: rgba(255, 255, 255, 0.72);
}

/* קצב אחיד: רווח קטן בין התווית לערך, רווח גדול וקבוע בין קבוצה לקבוצה */
.contact-split__list {
	display: grid;
	gap: 34px;
	margin: 52px 0 0;
}

.contact-split__list dt {
	color: rgba(255, 255, 255, 0.6);
	font-size: 13px;
	letter-spacing: 0.24em;
	line-height: 1.4;
}

.contact-split__list dd {
	margin: 6px 0 0;
	font-size: clamp(28px, 2.6vw, 36px);
	font-weight: 300;
	letter-spacing: 0.04em;
	line-height: 1.15;
}

.contact-split__list a[dir="ltr"] {
	display: inline-block;
	transition: opacity 0.25s;
}

.contact-split__list a:hover {
	opacity: 0.8;
}

.contact-split__list .contact-split__address {
	font-size: 20px;
	line-height: 1.5;
	letter-spacing: 0.02em;
}

.contact-split__form-title {
	margin-inline-start: -0.2em;
	color: var(--navy);
	font-size: 22px;
	font-weight: 400;
	letter-spacing: 0.2em;
}

.contact-split__form-lead {
	margin-top: 6px;
	color: var(--muted);
}

.contact-split__form {
	display: grid;
	gap: 28px;
	max-width: 520px;
	margin-top: 36px;
}

.contact-split__form input {
	text-align: right;
}

.contact-split__form input::placeholder {
	color: #8a94a0;
	font-size: 15px;
	letter-spacing: 0.12em;
}

/* ---------- עמוד הפרויקטים: שלוש עמודות בעומק (עמוד 5) ---------- */

.depth-intro {
	padding: clamp(70px, 9vw, 110px) var(--gutter) clamp(44px, 5vw, 60px);
	text-align: center;
}

.depth-intro__title {
	color: var(--navy);
	font-size: clamp(30px, 3.2vw, 40px);
	font-weight: 300;
	letter-spacing: 0.32em;
}

.depth-intro p {
	max-width: 600px;
	margin: 16px auto 0;
	color: var(--muted);
}

.depth {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	padding: 0 6% clamp(120px, 14vw, 180px);
}

.depth__col {
	display: grid;
	gap: 28px;
	align-content: start;
	will-change: transform;
}

.depth__col:nth-child(2) {
	margin-top: 140px;
}

.depth-card {
	display: block;
	color: var(--navy);
}

.depth-card__img {
	display: block;
	overflow: hidden;
	background: var(--paper-soft);
}

.depth-card img {
	width: 100%;
	object-fit: cover;
	transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.depth-card:hover img,
.depth-card:focus-visible img {
	transform: scale(1.05);
}

.depth-card__title {
	display: block;
	margin-top: 16px;
	padding-inline-start: 0.12em; /* מאזן את ריווח האותיות כדי שהמרכוז יהיה מדויק */
	text-align: center;
	font-size: 21px;
	font-weight: 300;
	letter-spacing: 0.12em;
}

.depth-card__type {
	display: block;
	color: var(--muted);
	font-size: 13px;
	letter-spacing: 0.2em;
}

/* ---------- פסיפס תמונות בגלריית פרויקט ---------- */

.bento {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: clamp(150px, 15vw, 240px);
	grid-auto-flow: dense;
	gap: var(--tile-gap);
	max-width: calc(1280px + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.bento__item {
	position: relative;
	display: block;
	overflow: hidden;
	background: #e9e6e0;
	cursor: zoom-in;
}

/* כמה עמודות ושורות כל משבצת תופסת, לפי רוחב המסך (4 עמודות במחשב, 3 בטאבלט, 2 בנייד). מחושב ב-bracha_gallery_layout(). */
.bento__item {
	grid-column: span var(--c4, 1);
	grid-row: span var(--r4, 1);
}

/* סרטון בתוך הגלריה: גדול, לאורך, מתנגן בלי קול כשהוא במסך. הכפתור בפינה מדליק קול. */
.bento__item--video {
	background: var(--navy);
	cursor: pointer;
}

.bento__item video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bento__sound {
	position: absolute;
	inset: auto auto 18px 18px;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 50%;
	background: rgba(6, 23, 41, 0.45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H3v6h3l5 4z'/%3E%3Cpath d='m22 9-6 6M16 9l6 6'/%3E%3C/svg%3E") center / 22px no-repeat;
	cursor: pointer;
	backdrop-filter: blur(4px);
}

.bento__sound.is-on {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H3v6h3l5 4z'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7M18.5 5.5a9 9 0 0 1 0 13'/%3E%3C/svg%3E");
}

.bento__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.bento__item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(6, 23, 41, 0) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='40' height='40' fill='none' stroke='white' stroke-width='1.4'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4 4M11 8.5v5M8.5 11h5'/%3E%3C/svg%3E") center / 40px no-repeat;
	opacity: 0;
	transition: opacity 0.4s, background-color 0.4s;
}

/* בסרטון: סימן הפעלה במקום זכוכית מגדלת. לחיצה פותחת את הסרטון בגדול, עם קול. */
.bento__item.bento__item--video::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.3'%3E%3Ccircle cx='12' cy='12' r='10.5'/%3E%3Cpath d='M10 8.5v7l5.5-3.5z' fill='white'/%3E%3C/svg%3E");
	background-size: 64px;
	opacity: 0.9;
	pointer-events: none;
}

.bento__item.bento__item--video:hover::after {
	background-color: rgba(6, 23, 41, 0.3);
	opacity: 1;
}

/* חלון הסרטון בגדול */
.vbox {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: grid;
	place-items: center;
	padding: 60px 16px 24px;
	background: rgba(6, 23, 41, 0.96);
}

.vbox video {
	max-width: 100%;
	max-height: calc(100svh - 100px);
	background: #000;
}

.vbox__close {
	position: absolute;
	top: 14px;
	left: 14px;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	background: none;
	color: #fff;
	cursor: pointer;
}

.bento__item:hover img,
.bento__item:focus-visible img {
	transform: scale(1.05);
}

.bento__item:hover::after,
.bento__item:focus-visible::after {
	background-color: rgba(6, 23, 41, 0.35);
	opacity: 1;
}

/* כניסה הדרגתית בגלילה (רק כש-JS פעיל ובלי העדפת "פחות תנועה") */
.reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-in {
	opacity: 1;
	transform: none;
}

/* ---------- עמוד פרויקט ---------- */

.pj-cover {
	position: relative;
}

.pj-cover__type {
	margin-bottom: 18px;
	font-size: 14px;
	letter-spacing: 0.34em;
	opacity: 0.85;
}

.pj-cover__scroll {
	position: absolute;
	bottom: 28px;
	left: 50%;
	padding-bottom: 46px;
	color: #fff;
	font-size: 13px;
	letter-spacing: 0.26em;
	transform: translateX(-50%);
}

.pj-cover__scroll::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 1px;
	height: 36px;
	background: linear-gradient(#fff, transparent);
	animation: scroll-cue 2s ease-in-out infinite;
}

@keyframes scroll-cue {
	0%,
	100% {
		transform: scaleY(0.4);
		transform-origin: top;
	}
	50% {
		transform: scaleY(1);
		transform-origin: top;
	}
}

.pj-intro {
	padding: clamp(56px, 8vw, 110px) var(--gutter) clamp(40px, 5vw, 72px);
}

.pj-intro__inner {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: clamp(32px, 6vw, 100px);
	align-items: start;
	max-width: 1280px;
	margin-inline: auto;
}

.pj-intro .eyebrow {
	color: var(--red);
}

.pj-intro__summary {
	color: var(--navy);
	font-size: clamp(24px, 2.6vw, 38px);
	font-weight: 300;
	line-height: 1.35;
}

.pj-facts {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	margin: 0;
	border-top: 1px solid var(--line);
}

.pj-facts div {
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
}

.pj-facts dt {
	color: var(--muted);
	font-size: 12px;
	letter-spacing: 0.26em;
}

.pj-facts dd {
	margin: 4px 0 0;
	color: var(--navy);
	font-size: 18px;
}

.pj-gallery {
	padding-bottom: var(--section);
}


.pj-next {
	position: relative;
	display: grid;
	place-items: center;
	align-content: center;
	gap: 14px;
	min-height: clamp(320px, 46vw, 560px);
	padding: 40px var(--gutter);
	overflow: hidden;
	background: linear-gradient(rgba(6, 23, 41, 0.62), rgba(6, 23, 41, 0.62)), var(--hero-image) center / cover no-repeat;
	color: #fff;
	text-align: center;
	transition: background-size 1.2s;
}

.pj-next__label {
	font-size: 14px;
	letter-spacing: 0.34em;
	opacity: 0.8;
}

.pj-next__title {
	font-size: clamp(32px, 5vw, 76px);
	font-weight: 300;
	line-height: 1.1;
}

.pj-next__go {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin-top: 10px;
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 50%;
	transition: background-color 0.4s, color 0.4s, transform 0.4s;
}

.pj-next:hover .pj-next__go {
	background: #fff;
	color: var(--navy);
	transform: translateX(-8px);
}

.pj-back {
	padding: clamp(32px, 4vw, 48px) var(--gutter);
	text-align: center;
}

/* ---------- צפייה מלאה בתמונות ---------- */

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: grid;
	grid-template-rows: auto 1fr;
	background: rgba(4, 14, 26, 0.97);
	color: #fff;
}

.lightbox[hidden] {
	display: none;
}

.lightbox-open {
	overflow: hidden;
}

.lightbox__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px clamp(16px, 3vw, 32px);
}

.lightbox__count {
	font-size: 14px;
	letter-spacing: 0.24em;
	opacity: 0.8;
}

.lightbox__close,
.lightbox__nav {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.04);
	color: #fff;
	cursor: pointer;
	transition: background-color 0.25s, border-color 0.25s;
}

.lightbox__close:hover,
.lightbox__nav:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.14);
}

.lightbox__stage {
	display: grid;
	place-items: center;
	align-content: center;
	gap: 14px;
	min-height: 0;
	margin: 0;
	padding: 0 clamp(16px, 8vw, 120px) 28px;
}

.lightbox__stage img {
	max-width: 100%;
	max-height: calc(100vh - 150px);
	max-height: calc(100svh - 150px);
	object-fit: contain;
	opacity: 0;
	transform: scale(0.985);
	transition: opacity 0.35s, transform 0.35s;
}

.lightbox.is-ready .lightbox__stage img {
	opacity: 1;
	transform: none;
}

.lightbox__caption {
	font-size: 14px;
	letter-spacing: 0.18em;
	opacity: 0.7;
}

.lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.lightbox__nav--prev {
	right: clamp(12px, 2.5vw, 36px);
}

.lightbox__nav--next {
	left: clamp(12px, 2.5vw, 36px);
}

.lightbox.is-single .lightbox__nav {
	display: none;
}

/* ---------- עמוד רגיל ---------- */

.plain {
	padding-block: clamp(48px, 7vw, 96px) var(--section);
}

.plain .section-title {
	margin-bottom: 20px;
}

/* ---------- מאמרים ---------- */

.articles-intro {
	padding: clamp(56px, 8vw, 110px) var(--gutter) clamp(36px, 5vw, 60px);
	text-align: center;
}

.articles-intro__inner {
	max-width: 760px;
	margin-inline: auto;
}

.articles-intro .eyebrow {
	color: var(--red);
}

.articles-intro__title {
	color: var(--navy);
	font-size: clamp(36px, 5vw, 64px);
	font-weight: 300;
	line-height: 1.15;
}

.articles-intro__lead {
	margin-top: 20px;
	color: var(--muted);
	font-size: clamp(17px, 1.4vw, 20px);
}

.articles {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(20px, 2.5vw, 36px);
	max-width: 1280px;
	margin-inline: auto;
	padding: 0 var(--gutter) var(--section);
}

.article-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	transition: box-shadow 0.35s, transform 0.35s;
}

.article-card:hover {
	box-shadow: 0 26px 60px -30px rgba(6, 23, 41, 0.35);
	transform: translateY(-4px);
}

.article-card__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: var(--paper-soft);
}

.article-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.article-card:hover .article-card__media img {
	transform: scale(1.05);
}

.article-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: clamp(22px, 2.4vw, 32px);
}

.article-card__meta {
	color: var(--red);
	font-size: 13px;
	letter-spacing: 0.12em;
}

.article-card__title {
	margin-top: 10px;
	color: var(--navy);
	font-size: clamp(20px, 1.7vw, 24px);
	font-weight: 600;
	line-height: 1.35;
}

/* כל הכרטיס לחיץ דרך הקישור של הכותרת */
.article-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.article-card__excerpt {
	margin-top: 12px;
	color: var(--muted);
	font-size: 16px;
}

.article-card__more {
	align-self: flex-start;
	margin-top: auto;
	padding-top: 22px;
	color: var(--navy);
	font-size: 14px;
	letter-spacing: 0.2em;
}

.article-card__more::after {
	content: " ←";
	transition: margin 0.25s;
}

.article-card:hover .article-card__more::after {
	margin-inline-start: 6px;
}

.article-card--featured {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: 1.25fr 1fr;
}

.article-card--featured .article-card__media {
	aspect-ratio: auto;
	min-height: 420px;
}

.article-card--featured .article-card__body {
	justify-content: center;
	padding: clamp(28px, 4vw, 64px);
}

.article-card--featured .article-card__title {
	font-size: clamp(26px, 2.6vw, 38px);
	font-weight: 400;
}

.article-card--featured .article-card__excerpt {
	font-size: 18px;
}

.article-card--featured .article-card__more {
	margin-top: 28px;
}

.articles__empty {
	grid-column: 1 / -1;
	text-align: center;
}

.pagination {
	padding-bottom: var(--section);
	text-align: center;
}

.pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 10px;
}

.pagination .page-numbers {
	padding: 8px 14px;
	border: 1px solid var(--line);
	color: var(--navy);
}

.pagination .current {
	background: var(--navy);
	color: #fff;
}

/* מאמר בודד */

.article-hero {
	display: flex;
	align-items: flex-end;
	min-height: 78vh;
	min-height: 78svh;
	padding: calc(var(--header-h) + 40px) var(--gutter) clamp(48px, 6vw, 88px);
	background: linear-gradient(rgba(6, 23, 41, 0.55), rgba(6, 23, 41, 0.2) 35%, rgba(6, 23, 41, 0.85)), var(--hero-image) center / cover no-repeat, var(--navy-deep);
	color: #fff;
}

.article-hero__content {
	width: 100%;
	max-width: 900px;
	margin-inline: auto;
}

.breadcrumbs {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
	color: rgba(255, 255, 255, 0.75);
	font-size: 14px;
	letter-spacing: 0.14em;
}

.breadcrumbs a:hover {
	color: #fff;
}

.article-hero__title {
	font-size: clamp(32px, 4.4vw, 58px);
	font-weight: 400;
	line-height: 1.18;
	text-wrap: balance;
}

.article-hero__meta {
	margin-top: 18px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 15px;
	letter-spacing: 0.08em;
}

.article__body {
	max-width: 760px;
	margin-inline: auto;
	padding: clamp(48px, 7vw, 88px) var(--gutter) var(--section);
}

.article__lead {
	padding-bottom: 32px;
	border-bottom: 1px solid var(--line);
	color: var(--navy);
	font-size: clamp(20px, 1.8vw, 24px);
	font-weight: 300;
	line-height: 1.6;
}

.article__content,
.plain__content {
	font-size: 19px;
	line-height: 1.85;
}

.article__content {
	margin-top: 36px;
}

.article__content p,
.article__content ul,
.article__content ol,
.plain__content p,
.plain__content ul,
.plain__content ol {
	margin-top: 1.1em;
}

.article__content h2,
.plain__content h2 {
	margin: 2em 0 0.4em;
	color: var(--navy);
	font-size: clamp(24px, 2.2vw, 30px);
	font-weight: 600;
	line-height: 1.3;
}

.article__content h3,
.plain__content h3 {
	margin: 1.6em 0 0.2em;
	color: var(--navy);
	font-size: 21px;
	font-weight: 600;
}

.article__content ul,
.article__content ol,
.plain__content ul,
.plain__content ol {
	display: grid;
	gap: 10px;
	padding-inline-start: 1.3em;
}

.article__content ul,
.plain__content ul {
	list-style: disc;
}

.article__content ol,
.plain__content ol {
	list-style: decimal;
}

.article__content li::marker,
.plain__content li::marker {
	color: var(--red);
}

.article__content strong {
	color: var(--navy);
}

.article__content a,
.plain__content a {
	color: var(--red);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.article-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	margin-top: clamp(48px, 6vw, 72px);
	padding: clamp(28px, 4vw, 44px);
	background: linear-gradient(135deg, var(--navy), var(--navy-deep));
	color: rgba(255, 255, 255, 0.8);
}

.article-cta__title {
	color: #fff;
	font-size: clamp(22px, 2vw, 28px);
}

.more-articles {
	padding-top: var(--section);
	border-top: 1px solid var(--line);
	background: var(--paper-soft);
}

.more-articles .articles {
	margin-top: clamp(36px, 5vw, 56px);
}

/* עמודי מסמך: נגישות, תנאי שימוש, פרטיות */

.doc-hero {
	padding: calc(clamp(48px, 7vw, 96px)) 0 clamp(40px, 5vw, 64px);
	background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 80%);
	color: #fff;
}

.doc-hero .eyebrow {
	margin-bottom: 10px;
}

.doc-hero__title {
	font-size: clamp(32px, 4vw, 52px);
	font-weight: 300;
	line-height: 1.2;
}

.legal-updated {
	color: var(--muted);
	font-size: 15px;
}

.plain--404 {
	text-align: center;
}

.plain__code {
	color: var(--line);
	font-size: clamp(90px, 16vw, 180px);
	font-weight: 600;
	line-height: 1;
}

.plain--404 .btn {
	margin-top: 24px;
}

/* ---------- פוטר: לבן וממורכז (פוטר 2) ---------- */

.site-footer {
	background: #fff;
	color: var(--muted);
}

.site-footer__main {
	padding: clamp(48px, 6vw, 64px) var(--gutter) clamp(36px, 4vw, 44px);
	text-align: center;
}

.site-footer__logo {
	display: inline-block;
}

.site-footer__logo img {
	width: 94px;
}

.site-footer__nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px clamp(28px, 4vw, 48px);
	margin-top: 28px;
	color: var(--navy);
	font-size: 16px;
	letter-spacing: 0.22em;
}

.site-footer__contact {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px clamp(24px, 3vw, 40px);
	margin-top: 20px;
	color: var(--navy);
	font-size: 16px;
}

.site-footer__contact span {
	display: inline-flex;
	align-items: baseline;
	gap: 0.35em;
}

/* המספר נשאר בכיוון שמאל-לימין, אבל בתוך השורה ובאותו קו בסיס עם המילה שלידו */
.site-footer__contact a[dir="ltr"] {
	display: inline;
	unicode-bidi: isolate;
}

.site-footer__social {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 22px;
}

.site-footer__social a {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--navy);
	transition: border-color 0.25s, color 0.25s;
}

.site-footer__social a:hover {
	border-color: var(--red);
	color: var(--red);
}

.site-footer a {
	transition: color 0.25s;
}

.site-footer__nav a:hover,
.site-footer__contact a:hover,
.site-footer__legal a:hover,
.site-footer__bottom a:hover,
.site-footer__cookies:hover {
	color: var(--red);
}

.site-footer__bottom {
	padding: 20px var(--gutter) 16px;
	border-top: 1px solid var(--line);
	font-size: 14px;
}

.site-footer__bottom-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 24px;
}

.site-footer__credit {
	margin-top: 10px;
	font-size: 12px;
	text-align: center;
	opacity: 0.8;
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
}

.site-footer__cookies {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	cursor: pointer;
}

/* ---------- וואטסאפ צף ----------
   UserWay יושב בפינה הימנית התחתונה (מיקום 3, 44 פיקסלים), והוואטסאפ מעליו באותו גודל ובאותו קו. */

.floating-actions {
	display: grid;
	gap: 10px;
	position: fixed;
	/* UserWay מודד 21 פיקסלים מקצה החלון כולל פס הגלילה, ולכן מקזזים את רוחב הפס */
	right: calc(21px - (100vw - 100%));
	bottom: 69px;
	z-index: 90;
}

.floating-actions__btn {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	color: #fff;
	box-shadow: 0 6px 20px rgba(6, 23, 41, 0.28);
	transition: transform 0.2s;
}

.floating-actions__btn:hover {
	transform: translateY(-2px);
}

.floating-actions__btn--phone {
	background: var(--navy);
	/* טבעת לבנה, כדי שהכפתור ייראה גם מעל רקע כחול כהה (כמו כפתור הנגישות) */
	box-shadow: 0 0 0 2px #fff, 0 6px 20px rgba(6, 23, 41, 0.28);
}

.floating-actions__btn--wa {
	background: #1faa59;
}

/* מספרי טלפון לא נשברים בין שורות ונקראים משמאל לימין, בכל מקום באתר */
a[href^="tel:"] {
	white-space: nowrap;
	unicode-bidi: isolate;
}

/* ---------- באנר עוגיות ---------- */

.consent {
	position: fixed;
	inset: auto 0 0 0;
	z-index: 250;
	padding: 0 clamp(12px, 3vw, 28px) clamp(12px, 3vw, 24px);
	pointer-events: none;
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.4s, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.consent.is-visible {
	opacity: 1;
	transform: none;
}

.consent__inner {
	display: flex;
	align-items: center;
	gap: 18px 24px;
	max-width: 1040px;
	margin-inline: auto;
	padding: 18px 22px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(6, 23, 41, 0.96);
	backdrop-filter: blur(10px);
	box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.45);
	color: rgba(255, 255, 255, 0.85);
	pointer-events: auto;
}

.consent__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.consent__text {
	flex: 1;
	font-size: 15px;
	line-height: 1.6;
}

.consent__text a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
	white-space: nowrap;
}

.consent__actions {
	display: flex;
	flex: none;
	gap: 10px;
}

.consent__btn {
	padding: 11px 22px;
	border: 1px solid #fff;
	background: #fff;
	color: var(--navy);
	font-family: var(--font);
	font-size: 15px;
	cursor: pointer;
	transition: background-color 0.25s, color 0.25s;
}

.consent__btn:hover {
	background: transparent;
	color: #fff;
}

.consent__btn--ghost {
	border-color: rgba(255, 255, 255, 0.45);
	background: transparent;
	color: #fff;
}

.consent__btn--ghost:hover {
	border-color: #fff;
}

/* ---------- נייד וטאבלט ---------- */

@media (max-width: 1000px) {
	.articles {
		grid-template-columns: 1fr 1fr;
	}

	.bento {
		grid-template-columns: repeat(3, 1fr);
	}

	.bento__item {
		grid-column: span var(--c3, 1);
		grid-row: span var(--r3, 1);
	}
}

@media (max-width: 820px) {
	:root {
		--header-h: 72px;
	}

	.site-logo {
		height: 48px;
	}

	.nav-toggle {
		display: block;
		position: relative;
		z-index: 2;
	}

	.site-nav {
		position: fixed;
		inset: 0;
		flex-direction: column;
		justify-content: center;
		gap: 40px;
		background: var(--navy);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s, visibility 0.3s;
	}

	.site-nav ul {
		flex-direction: column;
		align-items: center;
		gap: 30px;
	}

	.site-nav a,
	.has-hero .site-header:not(.is-solid) .site-nav a {
		color: #fff;
		font-size: 22px;
	}

	.nav-open .site-nav {
		opacity: 1;
		visibility: visible;
	}

	.nav-open .nav-toggle__bar,
	.nav-open .site-header .nav-toggle__bar {
		background: #fff;
	}

	.nav-open .nav-toggle__bar:nth-child(2) {
		transform: translateY(4.5px) rotate(45deg);
	}

	.nav-open .nav-toggle__bar:nth-child(3) {
		transform: translateY(-4.5px) rotate(-45deg);
	}

	.nav-open {
		overflow: hidden;
	}

	.hero {
		background-image: var(--hero-image-mobile);
	}

	.tiles,
	.contact,
	.lead-form__row,
	.band-contact {
		grid-template-columns: 1fr;
	}

	.band-contact__form .btn {
		width: 100%;
		text-align: center;
	}

	.site-footer__contact {
		flex-direction: column;
		align-items: center;
	}

	.site-footer__bottom-row {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.site-footer__legal {
		justify-content: center;
	}

	/* הכפתורים הצפים (טלפון, וואטסאפ, נגישות) יושבים בפינה הימנית: מרחיקים מהם את השורה התחתונה */
	.site-footer__bottom {
		padding-inline: 68px;
		padding-bottom: 28px;
	}

	/* באנר העוגיות נפתח מעל כפתור הנגישות ולא מתחתיו */
	.consent {
		padding-bottom: 76px;
	}

	.consent__inner {
		flex-wrap: wrap;
	}

	.consent__icon {
		display: none;
	}

	.consent__actions {
		width: 100%;
	}

	.consent__btn {
		flex: 1;
	}

	.contact__media {
		min-height: 340px;
	}

	.cpage__grid,
	.contact-split,
	.articles,
	.article-card--featured {
		grid-template-columns: 1fr;
	}

	.article-card--featured .article-card__media {
		min-height: 0;
		aspect-ratio: 16 / 10;
	}

	.depth {
		grid-template-columns: 1fr 1fr;
		gap: 16px;
		padding-inline: 16px;
	}

	.depth__col {
		gap: 16px;
	}

	.depth__col:nth-child(2) {
		margin-top: 60px;
	}

	.depth__col:nth-child(3) {
		grid-column: 1 / -1;
		grid-template-columns: 1fr 1fr;
	}

	.depth-card__title {
		font-size: 16px;
		letter-spacing: 0.06em;
	}

	.mosaic {
		grid-template-columns: repeat(2, 1fr);
		grid-auto-rows: 46vw;
	}

	.mosaic__item,
	.mosaic.is-filtered .mosaic__item {
		grid-column: span min(var(--cols, 1), 2);
	}

	.mosaic__caption {
		padding: 16px;
	}

	.mosaic__title {
		font-size: 17px;
	}

	.bento {
		grid-template-columns: 1fr 1fr;
		grid-auto-rows: 44vw;
	}

	.bento__item {
		grid-column: span var(--c2, 1);
		grid-row: span var(--r2, 1);
	}

	.pj-intro__inner {
		grid-template-columns: 1fr;
	}

	/* החצים מעל כפתור הנגישות שבפינה */
	.lightbox__nav {
		top: auto;
		bottom: 80px;
		transform: none;
	}

	.lightbox__stage {
		padding-bottom: 150px;
	}



	.tile {
		aspect-ratio: 3 / 2;
	}

	.heading-line {
		letter-spacing: 0.2em;
	}

	.lead-form__foot,
	.lead-form .btn,
	.project-page__nav .btn {
		width: 100%;
		text-align: center;
	}

	.btn {
		letter-spacing: 0.18em;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}
