/* ===========================================================
   Page — About
   Responsive, RTL, Hebrew.
   Scoped under .about.
   =========================================================== */

:root {
	--nzm-about-font: "Ploni DL 1.1 AAA", "Heebo", "Assistant", system-ui, sans-serif;
	--nzm-about-black: #0b0b0b;
	--nzm-about-ink: #1a1a1a;
	--nzm-about-mute: #4a4a4a;
	--nzm-about-line: #e5e5e5;

	--nzm-about-container: 1600px;
	--nzm-about-container-pad: clamp(16px, 4vw, 50px);
	--nzm-about-radius: 10px;
}

.about,
.about *,
.about *::before,
.about *::after {
	box-sizing: border-box;
}

.about {
	width: 100%;
	overflow-x: clip;
	font-family: var(--nzm-about-font);
	color: var(--nzm-about-ink);
	direction: rtl;
	text-align: right;
}

/* Use :where() to give this rule 0 specificity for img,
   so specific image rules below (like .about-hero__bg) can override height. */
.about :where(img) {
	max-width: 100%;
	height: auto;
	display: block;
}

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

/* ============================================
   Hero — 100vh full-cover image, transparent header overlays it.
   Mirrors the homepage hero structure (.hero-section).
   ============================================ */
.about-hero {
	position: relative;
	width: 100%;
	height: 100vh;
	height: 100dvh;
	min-height: 600px;
	max-height: 100vh;
	max-height: 100dvh;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 var(--nzm-about-container-pad);
	box-sizing: border-box;
}

/* Background image fills the entire hero (behind the header too).
   Explicit width/height + object-fit make the <img> behave like a CSS background. */
.about-hero .about-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	min-height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: 0;
	display: block;
}

/* Uniform darken overlay for centered-text readability over any image */
.about-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
	z-index: 1;
	pointer-events: none;
}

.about-hero__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	color: #fff;
	max-width: 1600px;
	width: 100%;
}

.about-hero__since {
	color: #fff;
	font-size: clamp(16px, 1.7vw, 24px);
	font-weight: 300;
	line-height: 1.33;
	text-shadow: 0 4px 40px rgba(0, 0, 0, 0.9);
	margin-bottom: clamp(16px, 2vw, 28px);
}

.about-hero__title {
	margin: 0 0 clamp(20px, 3vw, 40px);
	color: #fff;
	font-size: clamp(40px, 6vw, 80px);
	font-weight: 300;
	line-height: 0.95;
	text-align: center;
	text-shadow: 0 4px 40px rgba(0, 0, 0, 0.9);
}

.about-hero__subtitle {
	margin: 0;
	color: #fff;
	font-size: clamp(18px, 2.2vw, 32px);
	font-weight: 300;
	line-height: 1.18;
	text-align: center;
	text-shadow: 0 4px 40px rgba(0, 0, 0, 0.9);
	max-width: 864px;
}

.about-hero__subtitle span {
	display: block;
}

/* Scroll-down indicator — animated vertical line at bottom of hero.
   Matches the homepage hero scroll-down-line. */
.about-hero .scroll-down-line {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 1px;
	height: 80px;
	background-color: rgba(255, 255, 255, 0.1);
	overflow: hidden;
	z-index: 4;
	pointer-events: none;
}

.about-hero .scroll-down-line::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #fff;
	animation: nzm-scroll-line 2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes nzm-scroll-line {
	0%   { transform: translateY(-100%); }
	50%  { transform: translateY(0); }
	100% { transform: translateY(100%); }
}

/* ============================================
   Intro: 2-column text
   ============================================ */
.about-intro {
	width: 100%;
	max-width: var(--nzm-about-container);
	margin: 0 auto;
	padding: clamp(40px, 6vw, 80px) var(--nzm-about-container-pad);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 5vw, 80px);
	align-items: start;
}

.about-intro__lead {
	margin: 0;
	color: var(--nzm-about-black);
	font-size: clamp(20px, 2.1vw, 26px);
	font-weight: 500;
	line-height: 1.31;
	text-align: right;
}

.about-intro__body {
	margin: 0;
	color: var(--nzm-about-black);
	font-size: clamp(16px, 1.5vw, 21px);
	font-weight: 400;
	line-height: 1.43;
	text-align: right;
}

/* ============================================
   History slider — synced image + year + text
   Right padding aligns with ייבוא title's right edge.
   ============================================ */
.about-history {
	width: 100%;
	padding-block: 0 clamp(40px, 6vw, 80px);
	padding-inline-start: max(var(--nzm-about-container-pad), calc(50vw - 670px));
	padding-inline-end: 0;
	position: relative;
}

.about-history__track {
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding-bottom: 8px;
	scrollbar-width: thin;
	scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.about-history__track::-webkit-scrollbar { height: 4px; }
.about-history__track::-webkit-scrollbar-track { background: transparent; }
.about-history__track::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.2); border-radius: 4px; }

.about-history__track-inner {
	position: relative;
	display: flex;
	gap: clamp(20px, 2.4vw, 40px);
	min-width: max-content;
}

.about-history__item {
	flex: 0 0 clamp(260px, 24vw, 397px);
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	position: relative;
}

.about-history__image {
	width: 100%;
	aspect-ratio: 397 / 575;
	overflow: hidden;
	border-radius: var(--nzm-about-radius);
	margin: 0 0 clamp(20px, 2.4vw, 36px);
}

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

.about-history__item:hover .about-history__image img {
	transform: scale(1.04);
}

.about-history__meta {
	position: relative;
	padding-top: 60px;
	text-align: right;
}

.about-history__line {
	position: absolute;
	top: calc(clamp(260px, 24vw, 397px) * (575 / 397) + clamp(20px, 2.4vw, 36px) + 56px);
	inset-inline: 0;
	height: 1px;
	background: #000;
	z-index: 0;
}

.about-history__year {
	position: absolute;
	top: 0;
	right: 0;
	color: var(--nzm-about-black);
	font-size: clamp(22px, 2.2vw, 30px);
	font-weight: 500;
	line-height: 1.47;
	margin: 0;
}

.about-history__dot {
	position: absolute;
	top: 50px;
	right: 16px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #000;
	z-index: 1;
}

.about-history__text {
	margin: clamp(16px, 2vw, 24px) 0 0;
	color: var(--nzm-about-black);
	font-size: clamp(16px, 1.4vw, 21px);
	font-weight: 400;
	line-height: 1.43;
	text-align: right;
}

/* ============================================
   Split section (text right + image bleed left)
   Used for ייבוא; with --reverse for שירות מקיף.
   ============================================ */
.about-split {
	width: 100%;
	padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 120px);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 5vw, 80px);
	align-items: center;
}

.about-split__body {
	padding-inline-start: var(--nzm-about-container-pad);
	max-width: 720px;
	justify-self: end;
	width: 100%;
}

.about-split__media {
	width: 100%;
	aspect-ratio: 950 / 750;
	overflow: hidden;
}

.about-split__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about-split--reverse .about-split__body {
	order: 2;
	padding-inline-start: 0;
	padding-inline-end: var(--nzm-about-container-pad);
	justify-self: start;
}

.about-split--reverse .about-split__media {
	order: 1;
}

/* ריווח תחתון 0 ב-desktop לסקציה ההפוכה (שירות מקיף) — פחות אוויר לפני הסקציות הבאות */
@media (min-width: 769px) {
	.about-split--reverse {
		padding-bottom: 0;
	}
}

.about-split__title {
	margin: 0 0 12px;
	color: var(--nzm-about-black);
	font-size: clamp(36px, 5vw, 56px);
	font-weight: 500;
	line-height: 1.07;
	text-align: right;
}

.about-split__subtitle {
	margin: 0 0 clamp(20px, 3vw, 32px);
	color: var(--nzm-about-black);
	font-size: clamp(18px, 2vw, 26px);
	font-weight: 500;
	line-height: 1.3;
	text-align: right;
}

.about-split__text {
	margin: 0;
	color: var(--nzm-about-black);
	font-size: clamp(16px, 1.5vw, 21px);
	font-weight: 400;
	line-height: 1.43;
	text-align: right;
}

/* ============================================
   Production: centered head + full-width image
   ============================================ */
.about-production {
	width: 100%;
	max-width: 100%;
}

.about-production__head {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 var(--nzm-about-container-pad);
	text-align: center;
}

.about-production__title {
	margin: 0 0 clamp(16px, 2vw, 28px);
	color: var(--nzm-about-black);
	font-size: clamp(36px, 5vw, 56px);
	font-weight: 500;
	line-height: 1.07;
	text-align: center;
}

.about-production__intro {
	margin: 0 auto clamp(32px, 4vw, 48px);
	max-width: 1206px;
	color: var(--nzm-about-black);
	font-size: clamp(16px, 1.5vw, 21px);
	font-weight: 400;
	line-height: 1.43;
	text-align: center;
}

.about-production__media,
.about-production__media img {
	width: 100%;
	max-width: 100%;
	display: block;
}

.about-production__media {
	aspect-ratio: 1935 / 700;
	overflow: hidden;
}

.about-production__media img {
	height: 100%;
	object-fit: cover;
}

/* ============================================
   Features (3 boxes)
   ============================================ */
.about-features {
	width: 100%;
	max-width: 1050px;
	margin: 0 auto;
	padding: clamp(40px, 6vw, 80px) var(--nzm-about-container-pad);
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(24px, 4vw, 80px);
	justify-items: center;
}

.about-features__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	max-width: 280px;
	text-align: center;
}

.about-features__icon {
	width: 90px;
	height: 90px;
	object-fit: contain;
	flex-shrink: 0;
}

.about-features__title {
	margin: 0;
	color: var(--nzm-about-black);
	font-size: clamp(20px, 2.1vw, 26px);
	font-weight: 400;
	line-height: 1;
	text-align: center;
}

.about-features__desc {
	margin: 0;
	color: var(--nzm-about-black);
	font-size: clamp(15px, 1.3vw, 19px);
	font-weight: 400;
	line-height: 1.37;
	text-align: center;
}

/* ============================================
   Responsive — Tablet
   ============================================ */
@media (max-width: 1024px) {
	.about-features {
		grid-template-columns: repeat(3, 1fr);
		gap: 30px;
	}
}

/* ============================================
   Responsive — Mobile
   ============================================ */
/* ============================================
   Contractors (logos grid above branches)
   ============================================ */
.about-contractors {
	width: 100%;
	max-width: 1680px;
	margin: 0 auto;
	padding: clamp(40px, 6vw, 80px) var(--nzm-about-container-pad);
	box-sizing: border-box;
}

.about-contractors__title {
	margin: 0 0 clamp(28px, 4vw, 56px);
	color: var(--nzm-about-black);
	font-size: clamp(32px, 4.5vw, 56px);
	font-weight: 400;
	line-height: 1.07;
	text-align: center;
	font-family: var(--nzm-header-font);
}

.about-contractors__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: clamp(12px, 1.5vw, 20px);
	align-items: stretch;
	justify-items: stretch;
}

.about-contractors__card {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
	padding: 18px;
	min-height: 121px;
	box-sizing: border-box;
}

.about-contractors__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	text-decoration: none;
	transition: opacity 0.25s ease;
}

.about-contractors__link:hover,
.about-contractors__link:focus-visible {
	opacity: 0.7;
}

.about-contractors__logo {
	display: block;
	max-width: 100%;
	max-height: 85px;
	width: auto;
	height: auto;
	object-fit: contain;
}

@media (max-width: 1024px) {
	.about-contractors__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.about-contractors__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.about-contractors__card {
		min-height: 100px;
		padding: 14px;
	}
}

@media (max-width: 768px) {
	.about-hero {
		height: 100vh;
		height: 100dvh;
		min-height: 480px;
		max-height: 100vh;
		max-height: 100dvh;
	}

	.about-hero .scroll-down-line {
		height: 60px;
	}

	.about-intro,
	.about-split {
		grid-template-columns: 1fr;
	}

	.about-split {
		gap: clamp(20px, 3vw, 32px);
		padding-bottom: clamp(32px, 5vw, 60px);
	}

	.about-split__body {
		padding-inline: var(--nzm-about-container-pad);
		justify-self: stretch;
		max-width: none;
		order: 2;
	}

	.about-split__media {
		aspect-ratio: 4 / 3;
		order: 1;
	}

	.about-features {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.about-production__media {
		aspect-ratio: 16 / 9;
	}
}
