/* Fair: בסיס משותף לכל עמודי הקוד. כל הכללים תחת .fs-page, כדי שלא ישפיעו על ה-header, העגלה, הפוטר או כפתור הוואטסאפ הצף. */

.fs-page {
	direction: rtl;
	font-family: var(--fs-font);
	color: var(--fs-text);
	background: var(--fs-paper);
	overflow-x: clip;
}

.fs-page *,
.fs-page *::before,
.fs-page *::after { box-sizing: border-box; }

.fs-page img { max-width: 100%; height: auto; }
.fs-page h1, .fs-page h2, .fs-page h3, .fs-page p, .fs-page figure, .fs-page blockquote { margin: 0; }
.fs-page h1, .fs-page h2, .fs-page h3 { font-family: var(--fs-font); }

.fs-page .fs-wrap { width: min(var(--fs-max), 100%); margin-inline: auto; }
.fs-page .fs-center { text-align: center; }

/* ===== Buttons ===== */
.fs-page .fs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: 50px;
	font-family: var(--fs-font);
	font-size: 15px;
	font-weight: 400;
	line-height: 1;
	color: var(--fs-white);
	text-decoration: none;
	transition: background-color 180ms ease, transform 180ms ease;
}
.fs-page .fs-btn:hover,
.fs-page .fs-btn:focus-visible { color: var(--fs-white); }
.fs-page .fs-btn:focus-visible { outline: 3px solid var(--fs-azure); outline-offset: 3px; }
.fs-page .fs-btn--whatsapp { background: var(--fs-cta); }
.fs-page .fs-btn--whatsapp:hover,
.fs-page .fs-btn--whatsapp:focus-visible { background: var(--fs-cta-hover); }
.fs-page .fs-btn--primary { background: var(--fs-oxford); }
.fs-page .fs-btn--primary:hover,
.fs-page .fs-btn--primary:focus-visible { background: var(--fs-navy); }
.fs-page .fs-btn--lg { padding: 15px 25px; font-size: 16px; font-weight: 300; }
.fs-page .fs-icon { flex: none; }
.fs-page .fs-icon--wa { width: 20px; height: 20px; }

.fs-page .fs-btn--on-color {
	min-height: 48px;
	padding: 12px 22px;
	border: 2px solid rgba(255, 255, 255, 0.92);
	border-radius: 999px;
	background: var(--fs-oxford);
	box-shadow: 0 10px 24px rgba(20, 30, 56, 0.28);
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}
.fs-page .fs-btn--on-color:hover,
.fs-page .fs-btn--on-color:focus-visible { background: var(--fs-navy); box-shadow: 0 12px 28px rgba(20, 30, 56, 0.34); }
.fs-page .fs-btn--on-color:focus-visible { outline-color: var(--fs-white); }

/* ===== רכיבים משותפים: כותרת עמוד, כרטיסי המלצה, הגדלה ===== */
/* כותרת עמוד עם רקע, מתחת ל-header הצף */
.fs-page .fs-phero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
	min-height: 330px;
	margin-top: -144px;
	padding: 0 var(--fs-gutter) 32px;
	isolation: isolate;
}
.fs-page .fs-phero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--phero-bg) 50% 50% / cover no-repeat;
}
.fs-page .fs-phero__title {
	color: var(--fs-navy);
	font-size: 49px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
}

/* רשימת ההמלצות */
.fs-page .fs-testi-list { display: flex; flex-direction: column; gap: 20px; padding: 0 var(--fs-gutter) 0; max-width: calc(1169px + 2 * var(--fs-gutter)); margin-inline: auto; }
.fs-page .fs-testi-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-top: 60px;
	padding: 16px;
}
.fs-page .fs-testi-row--single .fs-testi { grid-column: 2; }

.fs-page .fs-testi {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 15px;
	background: #F3F8FC;
}
.fs-page .fs-testi__shots { display: grid; grid-template-columns: 1fr 1fr; background: var(--fs-white); }
.fs-page .fs-testi__shot { display: block; cursor: zoom-in; }
.fs-page .fs-testi__shot:focus-visible { outline: 3px solid var(--fs-azure); outline-offset: -3px; }
.fs-page .fs-testi__img { display: block; width: 100%; height: 200px; object-fit: cover; }
.fs-page .fs-testi__body { padding: 20px 20px 20px; }
.fs-page .fs-testi__name {
	margin-bottom: 10px;
	color: var(--fs-text);
	font-size: 31px;
	font-weight: 700;
	line-height: 1;
}
.fs-page .fs-testi__body p { font-size: 16px; line-height: 26px; }

.fs-page .fs-testi-cta { display: flex; justify-content: center; padding: 24px 0; }

/* הגדלת צילום */
.fs-page .fs-lightbox {
	max-width: min(92vw, 900px);
	max-height: 92vh;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: transparent;
	overflow: visible;
}
.fs-page .fs-lightbox::backdrop { background: rgba(20, 30, 56, 0.86); }
.fs-page .fs-lightbox__img { display: block; max-width: min(92vw, 900px); max-height: 88vh; width: auto; height: auto; border-radius: 12px; }
.fs-page .fs-lightbox__close {
	position: absolute;
	top: -44px;
	left: 0;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: var(--fs-white);
	color: var(--fs-navy);
	font-size: 26px;
	line-height: 40px;
	cursor: pointer;
}

@media (max-width: 1024px) and (min-width: 768px) {
	.fs-page .fs-testi__name { font-size: 26px; }
}

@media (max-width: 767px) {
	.fs-page .fs-phero { min-height: 214px; margin-top: -112px; }
	.fs-page .fs-phero__title { font-size: 32px; line-height: 1.2; }

	.fs-page .fs-testi-list { gap: 0; padding: 0 16px; }
	.fs-page .fs-testi-row { grid-template-columns: 1fr; padding: 24px; }
	.fs-page .fs-testi-row--single .fs-testi { grid-column: auto; }
	.fs-page .fs-testi__shots { grid-template-columns: 1fr; padding: 24px; }
	.fs-page .fs-testi__name { font-size: 28px; }
}

/* הגדלה של סרטון */
.fs-page .fs-lightbox--video { width: min(92vw, 960px); }
.fs-page .fs-lightbox__frame { aspect-ratio: 16 / 9; width: 100%; }
.fs-page .fs-lightbox__frame iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: 12px; background: #000; }
@media (max-width: 767px) {
	.fs-page .fs-lightbox--video .fs-lightbox__frame { aspect-ratio: 9 / 16; max-height: 80vh; }
}
.fs-page .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
