/*
Theme Name: plumbing
Author: Ron Shauly
Description: תבנית וורדפרס מותאמת אישית לניר אינסטלציה – עברית, RTL, נגישות AA לפי ת"י 5568.
Version: 1.5.2
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: plumbing
*/

/* ==========================================================================
   Design tokens – צבעים, טיפוגרפיה ומרווחים
   נקודות שבירה: מובייל עד 767px · טאבלט 768–1024px · דסקטופ מ-1025px.
   כל גודל טקסט ומרווח מוגדר כאן פעם אחת ומשתנה לפי נקודת השבירה.
   ניגודיות: טקסט ≥ 4.5:1, טקסט גדול ורכיבי ממשק ≥ 3:1 (ת"י 5568 רמה AA).
   ========================================================================== */
:root {
	/* צבעים */
	--color-heading: #0b2855;        /* כותרות */
	--color-primary: #0b2855;        /* כפתורים, קישורים, פוטר */
	--color-primary-hover: #061a3d;
	--color-text: #344563;           /* טקסט רגיל */
	--color-text-muted: #64748b;     /* טקסט משני – על רקע לבן בלבד (4.76:1) */
	--color-bg: #fff;
	--color-surface: #eef3fa;        /* רקע כחלחל בהיר */
	--color-about-bg: #f3f9fd;       /* רקע סקשן אודות */
	--color-area-bg: #e6f4fd;        /* רקע סקשן אזור שירות */
	--color-faq-bg: #f3f9fd;         /* רקע סקשן שאלות נפוצות */
	--color-tile: #e6f4fd;           /* ריבועי אייקונים, תגיות ועיגולי +/− */
	--color-accent: #307cca;         /* אייקוני קו ומסגרת שאלה פתוחה (4.4:1 על לבן) */
	--color-line: #d8e3ef;           /* קווים ומסגרות דקורטיביים */
	--color-link: var(--color-primary);
	--color-focus: var(--color-primary);
	--color-error: #b00020;
	--color-success: #1b5e20;
	--color-border: #6b6b6b;         /* מסגרת שדות טופס (≥ 3:1) */

	/* טיפוגרפיה – Heebo במשקלים 400–900 (נטען ב-functions.php; 900 – כותרות H1 ו-H2 בדף הבית) */
	--font-base: "Heebo", Arial, sans-serif;
	--lh-body: 1.65;

	/* גדלי טקסט – דסקטופ (בסיס 16px) */
	--fs-body: 1rem;              /* 16 */
	--fs-nav: 0.9375rem;          /* 15 – תפריט עליון */
	--fs-nav-dropdown: 1.125rem;  /* 18 – תפריט נפתח */
	--fs-header-btn: 0.9375rem;   /* 15 */
	--fs-btn: 1.0625rem;          /* 17 – כפתורי פעולה */
	--fs-h1: 4rem;                /* 64 */
	--fs-hero-text: 1.375rem;     /* 22 */
	--fs-h2: 2.75rem;             /* 44 – כל כותרות הסקשנים (H2) */
	--fs-lead: 1.25rem;           /* 20 – שורת הסבר מתחת לכותרת */
	--fs-card-title: 1.5rem;      /* 24 */
	--fs-card-text: 1.0625rem;    /* 17 */
	--fs-about-name: 1.375rem;    /* 22 */
	--fs-about-text: 1.1875rem;   /* 19 */
	--fs-review: 1.125rem;        /* 18 */
	--fs-review-name: 0.9375rem;  /* 15 */
	--fs-faq-q: 1.375rem;         /* 22 */
	--fs-faq-a: 1.0625rem;        /* 17 */
	--fs-badge: 0.9375rem;        /* 15 – תגית "כדאי לדעת" */
	--fs-cta-text: 1.1875rem;     /* 19 */
	--fs-footer: 0.875rem;        /* 14 */

	/* פריסה ומרווחים – דסקטופ */
	--container: 1200px;          /* רוחב התוכן, בלי השוליים בצדדים */
	--gutter: 32px;
	--header-height: 88px;
	--section-space: 32px;
	--space-p: 16px;              /* בין פסקאות */
	--hero-space: 44px;
	--cta-space: 28px;
	--btn-height: 50px;
	--title-line-gap: 24px;
	--cards-gap: 24px;
	--card-pad: 20px;
	--review-gap: 24px;
	--review-pad: 28px;
	--faq-pad-y: 18px;
	--faq-pad-x: 24px;
	--faq-gap: 16px;              /* בין השאלות */
	--faq-tile: 52px;             /* ריבוע האייקון ועיגול ה-+/− */
	--faq-col-gap: 28px;          /* בין העמודות (משני צדי הקו המפריד) */
	--radius-card: 12px;
	--radius-tile: 8px;
	--mobile-bar-height: 68px;
	--tap-size: 44px;
}

/* טאבלט: 768–1024px */
@media (max-width: 1024px) {
	:root {
		--fs-nav: 0.875rem;          /* 14 */
		--fs-btn: 1rem;              /* 16 */
		--fs-h1: 3rem;               /* 48 */
		--fs-hero-text: 1.25rem;     /* 20 */
		--fs-h2: 2.25rem;            /* 36 */
		--fs-lead: 1.125rem;         /* 18 */
		--fs-card-title: 1.375rem;   /* 22 */
		--fs-card-text: 1rem;        /* 16 */
		--fs-about-name: 1.25rem;    /* 20 */
		--fs-about-text: 1.125rem;   /* 18 */
		--fs-review: 1.0625rem;      /* 17 */
		--fs-faq-q: 1.25rem;         /* 20 */
		--fs-faq-a: 1rem;            /* 16 */
		--fs-cta-text: 1.125rem;     /* 18 */

		--gutter: 24px;
		--section-space: 24px;
		--hero-space: 32px;
		--cta-space: 24px;
		--cards-gap: 20px;
	}
}

/* עד 899px התפריט לא נכנס בשורה אחת ועובר לתפריט נפתח – ההדר נמוך יותר */
@media (max-width: 899px) {
	:root {
		--header-height: 72px;
	}
}

/* מובייל: עד 767px */
@media (max-width: 767px) {
	:root {
		--fs-h1: 2.25rem;            /* 36 */
		--fs-hero-text: 1.125rem;    /* 18 */
		--fs-h2: 1.875rem;           /* 30 */
		--fs-lead: 1.0625rem;        /* 17 */
		--fs-card-title: 1.25rem;    /* 20 */
		--fs-about-text: 1.0625rem;  /* 17 */
		--fs-review: 1rem;           /* 16 */
		--fs-review-name: 0.875rem;  /* 14 */
		--fs-faq-q: 1.125rem;        /* 18 */
		--fs-cta-text: 1.0625rem;    /* 17 */

		--gutter: 20px;
		--section-space: 20px;
		--space-p: 12px;
		--hero-space: 24px;
		--cta-space: 20px;
		--btn-height: 48px;
		--title-line-gap: 16px;
		--cards-gap: 16px;
		--card-pad: 16px;
		--review-gap: 16px;
		--review-pad: 20px;
		--faq-pad-y: 14px;
		--faq-pad-x: 16px;
		--faq-gap: 12px;
		--faq-tile: 44px;
	}
}

/* מובייל צר במיוחד */
@media (max-width: 360px) {
	:root {
		--fs-h1: 2rem;               /* 32 */
	}
}

/* ==========================================================================
   Reset ובסיס
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	/* רק משקלים אמיתיים של הפונט – בלי הדגשה או הטיה מלאכותית */
	font-synthesis: none;
	scroll-behavior: smooth;
	/* ההדר נעוץ – עוגנים ופוקוס לא ייסתרו מתחתיו (כולל הלוגו הגולש) */
	scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
	margin: 0;
	direction: rtl;
	text-align: right;
	font-family: var(--font-base);
	font-size: var(--fs-body);
	font-weight: 600;
	line-height: var(--lh-body);
	letter-spacing: 0;
	word-spacing: normal;
	color: var(--color-text);
	background: var(--color-bg);
	-webkit-font-smoothing: antialiased;
}

/* מרווחי ברירת מחדל מנוטרלים – כל מרווח מוגדר במפורש ברכיב */
h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, dl, dd {
	margin: 0;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	line-height: 1.25;
	overflow-wrap: break-word;
}

h3 {
	font-weight: 800;
}

img, svg, video, picture {
	display: block;
	max-width: 100%;
	height: auto;
}

input, button, textarea, select {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

a {
	color: var(--color-link);
}

/* מספרי טלפון, מיילים וכתובות בתוך טקסט עברי */
[dir="ltr"] {
	unicode-bidi: isolate;
}

/* ==========================================================================
   פריסה: קונטיינר, סקשנים וכותרות סקשן
   ========================================================================== */
.container {
	width: 100%;
	max-width: calc(var(--container) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* אייפון לרוחב – התוכן לא נכנס מתחת לחריץ (viewport-fit=cover) */
@supports (padding: max(0px)) {
	.container {
		padding-left: max(var(--gutter), env(safe-area-inset-left));
		padding-right: max(var(--gutter), env(safe-area-inset-right));
	}
}

.container--narrow {
	max-width: calc(800px + 2 * var(--gutter));
}

/* מרווח אנכי אחיד לסקשן. בין שני סקשנים צמודים המרווח לא מוכפל. */
.section {
	padding-block: var(--section-space);
}

.section + .section {
	padding-block-start: 0;
}

/* קו מפריד בתחתית סקשן, ברוחב התוכן */
.section--divider {
	padding-block-end: 0;
}

.section--divider > .container::after {
	content: "";
	display: block;
	margin-block-start: var(--section-space);
	border-block-start: 1px solid var(--color-line);
}

.section--divider + .section {
	padding-block-start: var(--section-space);
}

.section-head {
	margin-block-end: 24px;
}

/* כותרת סקשן: הכותרת ברוחבה הטבעי והקו ממלא את השטח שנותר.
   כשאין מקום – הקו מתכווץ לאפס במקום לדחוס את הכותרת. */
.section-title {
	display: flex;
	align-items: center;
	gap: var(--title-line-gap);
	color: var(--color-heading);
	font-size: var(--fs-h2);
	font-weight: 900;
	line-height: 1.2;
	letter-spacing: -0.015em;
}

.section-title::after {
	content: "";
	flex: 1 1 0%;
	min-width: 0;
	height: 1px;
	background: var(--color-line);
}

.section-subtitle {
	margin-block-start: 8px;
	color: var(--color-text-muted);
	font-size: var(--fs-lead);
	line-height: 1.55;
}

/* ==========================================================================
   נגישות
   ========================================================================== */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	inset-inline-start: var(--gutter);
	top: -100px;
	z-index: 1000;
	padding: 12px 20px;
	background: var(--color-heading);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.skip-link:focus {
	top: var(--gutter);
}

/* ניגודיות מסגרת הפוקוס מול הרקע הכהה של הכפתור */
.skip-link:focus-visible {
	outline-color: var(--color-heading);
	outline-offset: 3px;
	box-shadow: 0 0 0 3px #fff;
}

/* פוקוס נראה תמיד במקלדת */
:focus-visible {
	outline: 3px solid var(--color-focus);
	outline-offset: 2px;
}

#main:focus {
	outline: none;
}

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

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* כפתור "עצירת אנימציות" – אותה התנהגות כמו "הפחתת תנועה" של מערכת ההפעלה */
html.motion-off,
.motion-off .reviews__track {
	scroll-behavior: auto;
}

.motion-off *,
.motion-off *::before,
.motion-off *::after {
	animation-duration: 0.01ms !important;
	animation-iteration-count: 1 !important;
	transition-duration: 0.01ms !important;
}

/* הכפתור פועל רק עם JavaScript */
html:not(.js) .motion-toggle {
	display: none;
}

/* הכפתור העליון: מוצג בפוקוס בלבד, במקום של "דלג לתוכן" */
button.skip-link {
	border: 0;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

/* ==========================================================================
   אנימציות כניסה (assets/js/main.js – Web Animations API, בלי ספרייה)
   המחלקה js-anim נוספת ב-<head> רק כשאין "הפחתת תנועה". האלמנטים מוסתרים
   עד שהאנימציה שלהם מתחילה, ובסיומה מקבלים is-in.
   ========================================================================== */
.js-anim :is(
	.hero__eyebrow, .hero__line, .hero__text, .hero__actions .btn, .hero__note,
	.services .section-title, .services .section-subtitle, .service,
	.about__title, .about__subtitle, .about__text, .about__media,
	.area__title, .area__subtitle, .area__line, .area__actions, .area__map,
	.reviews .section-title, .review, .review__star, .reviews__controls,
	.faq__eyebrow-icon, .faq__badge, .faq__title-line, .faq__text, .faq__item, .faq__help,
	.cta__line, .cta__text, .cta__actions .btn
):not(.is-in):not(.anim-done *) {
	opacity: 0;
}

/* חשיפת תמונות (שירותים, אודות): "וילון" בצבע הרקע שמכסה את התמונה ונמשך הצידה.
   התמונה עצמה תמיד מצוירת מתחתיו – בלי clip-path על התמונה, שגרם לכך שבגלילה הראשונה
   הדפדפן לא צייר אותה בזמן החשיפה והיא הופיעה רק בסוף. */
.js-anim :is(.service__media, .about__media) {
	position: relative;
}

.js-anim :is(.service__media, .about__media)::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: var(--curtain, var(--color-surface));
	pointer-events: none;
	transform: scaleY(0); /* פתוח */
	transform-origin: center bottom; /* נאסף כלפי מטה – התמונה נחשפת מלמעלה */
}

.js-anim .about__media::after {
	--curtain: var(--color-about-bg);
	transform: scaleX(0);
	transform-origin: left center; /* נאסף שמאלה – התמונה נחשפת מצד הטקסט (ימין) */
}

/* לפני החשיפה – הווילון סגור */
.js-anim :is(.service__media, .about__media):not(.is-in):not(.anim-done *)::after {
	transform: none;
}

/* הקו של כותרת הסקשן נמתח מצד הטקסט (ימין) */
.section-title::after {
	transform-origin: right center;
}

/* התמונות מתקרבות בעדינות בתוך המסגרת שלהן */
.service__media,
.about__media {
	overflow: hidden;
}

/* ==========================================================================
   טפסים – בסיס נגיש
   ========================================================================== */
.field {
	display: grid;
	gap: 6px;
	margin-block-end: 16px;
}

.field input,
.field select,
.field textarea {
	width: 100%;
	min-height: var(--tap-size);
	padding: 10px 12px;
	border: 1px solid var(--color-border);
	border-radius: 0;
	background: var(--color-bg);
}

.field [aria-invalid="true"] {
	border-color: var(--color-error);
	border-width: 2px;
}

.field__error {
	color: var(--color-error);
	font-weight: 500;
}

.field--hp {
	position: absolute;
	inset-inline-start: -9999px;
}

.lead-form__submit {
	min-height: var(--tap-size);
	padding: 10px 24px;
}

.lead-form__submit[aria-busy="true"] {
	cursor: progress;
}

.notice--success {
	color: var(--color-success);
}

.notice--error {
	color: var(--color-error);
}

/* ==========================================================================
   עמודי תוכן (index, הצהרת נגישות)
   ========================================================================== */
.page-content {
	padding-block: var(--section-space);
}

.entry__title {
	margin-block-end: 24px;
	color: var(--color-heading);
	font-size: var(--fs-h2);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.015em;
}

.entry__content > * + * {
	margin-block-start: var(--space-p);
}

.entry__content h2 {
	margin-block-start: 32px;
	color: var(--color-heading);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.3;
}

.entry__content h3 {
	margin-block-start: 24px;
	color: var(--color-heading);
	font-size: 1.1875rem;
	line-height: 1.35;
}

.entry__content ul,
.entry__content ol {
	padding-inline-start: 1.5em;
}

.entry__content li + li {
	margin-block-start: 6px;
}

/* ==========================================================================
   כפתורים
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: var(--btn-height);
	padding: 12px 24px;
	border: 2px solid transparent;
	border-radius: 2px;
	font-size: var(--fs-btn);
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s;
}

.btn .icon {
	flex: none;
	width: 20px;
	height: 20px;
}

.btn--primary {
	background: var(--color-primary);
	color: #fff;
}

.btn--primary:hover {
	background: var(--color-primary-hover);
}

.btn--outline {
	background: #fff;
	border-color: var(--color-primary);
	color: var(--color-primary);
}

.btn--outline:hover {
	background: var(--color-surface);
}

/* כפתורי חיוג: בדסקטופ מוצג מספר הטלפון, במובייל "חייגו עכשיו".
   החלק המוסתר נשאר זמין לקוראי מסך (הסתרה ויזואלית בלבד). */
@media (min-width: 768px) {
	.call-label {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
	}
}

@media (max-width: 767px) {
	.call-number {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
	}
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	box-shadow: 0 1px 0 rgba(11, 40, 85, 0.08), 0 4px 16px rgba(11, 40, 85, 0.06);
}

/* כשמחוברים לוורדפרס – מתחת לסרגל הניהול */
.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

/* במסכים צרים סרגל הניהול לא נעוץ, אז ההדר נצמד לראש המסך */
@media (max-width: 600px) {
	.admin-bar .site-header {
		top: 0;
	}
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 40px;
	min-height: var(--header-height);
}

.site-brand {
	flex: none;
	display: block;
	text-decoration: none;
}

/* הלוגו העגול "גולש" 16px אל תוך ההירו, כמו בעיצוב */
.site-brand__logo {
	width: auto;
	height: 96px;
	margin-block: 8px -16px;
}

.site-brand__name {
	color: var(--color-heading);
	font-size: 1.375rem;
	font-weight: 800;
	line-height: 1.3;
}

.site-nav {
	flex: 1;
	min-width: 0;
}

.site-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav__list a {
	display: flex;
	align-items: center;
	min-height: var(--tap-size);
	padding-block: 8px;
	color: var(--color-heading);
	font-size: var(--fs-nav);
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
}

.site-nav__list a:hover,
.site-nav__list a[aria-current="page"] {
	text-decoration: underline;
	text-underline-offset: 6px;
	text-decoration-thickness: 2px;
}

.site-header__call {
	flex: none;
	min-height: 48px;
	font-size: var(--fs-header-btn);
}

.site-header__call .icon {
	width: 18px;
	height: 18px;
}

/* כפתור החיוג בתוך התפריט – רק בתפריט הנפתח */
.site-nav__call,
.menu-toggle {
	display: none;
}

/* טאבלט – התפריט גלוי, הרווחים צרים יותר */
@media (max-width: 1024px) {
	.site-header__inner {
		gap: 32px;
	}

	.site-nav__list {
		column-gap: 20px;
	}
}

/* ---------- תפריט נפתח: לוגו מימין, המבורגר משמאל ---------- */
@media (max-width: 899px) {
	.site-header__inner {
		gap: 16px;
	}

	.site-brand__logo {
		height: 56px;
		margin-block: 8px;
	}

	.site-header__call {
		display: none;
	}

	.js .menu-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 48px;
		height: 48px;
		margin-inline-start: auto;
		padding: 0;
		border: 0;
		background: transparent;
		color: var(--color-primary);
	}

	/* שלושה קווים: האמצעי הוא ה-span, העליון והתחתון הם ::before/::after */
	.menu-toggle__bars {
		display: block;
	}

	.menu-toggle__bars span,
	.menu-toggle__bars span::before,
	.menu-toggle__bars span::after {
		display: block;
		width: 32px;
		height: 4px;
		border-radius: 2px;
		background: currentColor;
		transition: transform 0.2s, background-color 0.2s;
	}

	.menu-toggle__bars span {
		position: relative;
	}

	.menu-toggle__bars span::before,
	.menu-toggle__bars span::after {
		content: "";
		position: absolute;
		inset-inline-start: 0;
	}

	.menu-toggle__bars span::before {
		top: -10px;
	}

	.menu-toggle__bars span::after {
		top: 10px;
	}

	.menu-toggle[aria-expanded="true"] .menu-toggle__bars span {
		background: transparent;
	}

	.menu-toggle[aria-expanded="true"] .menu-toggle__bars span::before {
		transform: translateY(10px) rotate(45deg);
	}

	.menu-toggle[aria-expanded="true"] .menu-toggle__bars span::after {
		transform: translateY(-10px) rotate(-45deg);
	}

	/* בלי JavaScript התפריט מוצג פתוח מתחת ללוגו */
	.site-header__inner {
		flex-wrap: wrap;
	}

	.site-nav {
		flex-basis: 100%;
	}

	.js .site-header__inner {
		flex-wrap: nowrap;
	}

	.js .site-nav {
		position: absolute;
		top: 100%;
		inset-inline: 0;
		display: none;
		max-height: calc(100vh - var(--header-height));
		max-height: calc(100dvh - var(--header-height));
		overflow-y: auto;
		padding: 8px var(--gutter) 24px;
		background: #fff;
		box-shadow: 0 12px 24px rgba(11, 40, 85, 0.12);
	}

	.js .site-nav.is-open {
		display: block;
	}

	.site-nav__list {
		flex-direction: column;
		gap: 0;
	}

	.site-nav__list a {
		padding-block: 12px;
		border-block-end: 1px solid var(--color-surface);
		font-size: var(--fs-nav-dropdown);
	}

	.site-nav__call {
		display: flex;
		width: 100%;
		margin-block-start: 20px;
	}
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	min-height: clamp(480px, 42vw, 640px);
	padding-block: var(--hero-space);
	background: var(--color-surface);
	overflow: hidden;
}

.hero__picture {
	position: absolute;
	inset: 0;
	z-index: -2;
}

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

/* שכבת הגרדיינט – בהירה מימין (מאחורי הטקסט) ושקופה משמאל.
   שומרת על ניגודיות AA לטקסט בכל תמונה שתועלה. */
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(
		to left,
		rgba(255, 255, 255, 0.95) 0%,
		rgba(255, 255, 255, 0.9) 45%,
		rgba(255, 255, 255, 0.5) 65%,
		rgba(255, 255, 255, 0) 80%
	);
	pointer-events: none;
}

.hero__content {
	max-width: 620px;
}

.hero__eyebrow {
	margin-block-end: 12px;
	color: var(--color-heading);
	font-size: var(--fs-lead);
	font-weight: 600;
	line-height: 1.4;
}

.hero__title {
	color: var(--color-heading);
	font-size: var(--fs-h1);
	font-weight: 900;
	line-height: 1.12;
	letter-spacing: -0.02em;
}

/* כל שורה בכותרת היא בלוק: שתי השורות נשמרות, ושורה נשברת רק כשאין מקום */
.hero__line {
	display: block;
}

.hero__text {
	margin-block-start: 20px;
	color: var(--color-text);
	font-size: var(--fs-hero-text);
	font-weight: 600;
	line-height: 1.55;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-block-start: 28px;
}

.hero__note {
	margin-block-start: 16px;
	color: var(--color-text);
	font-size: var(--fs-body);
	line-height: 1.5;
}

@media (max-width: 1024px) {
	.hero {
		min-height: 420px;
	}
}

@media (max-width: 767px) {
	.hero {
		min-height: 0;
	}

	/* בלי תמונת מובייל נפרדת – מציג את הצד השמאלי של תמונת המחשב (הכיור) */
	.hero:not(.hero--mobile-image) .hero__bg {
		object-position: 25% center;
	}

	/* הטקסט תופס חלק גדול יותר מהרוחב – האזור הבהיר רחב יותר */
	.hero::after {
		background: linear-gradient(
			to left,
			rgba(255, 255, 255, 0.95) 0%,
			rgba(255, 255, 255, 0.92) 70%,
			rgba(255, 255, 255, 0.4) 86%,
			rgba(255, 255, 255, 0) 100%
		);
	}

	.hero__text {
		max-width: 75%;
		margin-block-start: 16px;
	}

	.hero__actions {
		margin-block-start: 24px;
	}

	/* הכפתורים אחד מתחת לשני, ברוחב מלא */
	.hero__actions {
		flex-direction: column;
	}

	.hero__actions .btn {
		width: 100%;
	}
}

/* ==========================================================================
   שירותים
   טאבלט: 2 בשורה. דסקטופ: שורה של 3 (צרה, צרה, רחבה) ואחריה שורה של 2
   (רשת של 14 עמודות: 4+4+6 ואחר כך 7+7). מובייל: כרטיס אופקי.
   ========================================================================== */
.services .section-head {
	margin-block-end: 28px;
}

@media (max-width: 767px) {
	.services .section-head {
		margin-block-end: 24px;
	}
}

.services__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--cards-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.service {
	display: flex;
	flex-direction: column;
	min-width: 0;
	/* מסגרת וצל עדין כמו בכרטיסי השאלות הנפוצות וההמלצות; overflow – פינות מעוגלות גם לתמונה */
	overflow: hidden;
	border: 1px solid var(--color-line);
	border-radius: var(--radius-card);
	background: var(--color-surface);
	box-shadow: 0 4px 14px rgba(11, 40, 85, 0.05);
}

.service__media {
	height: clamp(200px, 26vw, 260px);
	background: #dfe6f0;
}

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

.service__body {
	flex: 1;
	padding: var(--card-pad);
}

/* אותו גודל כותרת לכל הכרטיסים – כותרת ארוכה יורדת שורה ולא מוקטנת */
.service__title {
	margin-block-end: 8px;
	color: var(--color-heading);
	font-size: var(--fs-card-title);
	font-weight: 800;
	line-height: 1.3;
}

.service__text {
	color: var(--color-text);
	font-size: var(--fs-card-text);
	line-height: 1.6;
}

/* טאבלט ומטה: פריט אחרון בודד בשורה – ברוחב מלא */
@media (max-width: 1024px) {
	.service:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}
}

@media (min-width: 1025px) {
	.services__grid {
		grid-template-columns: repeat(14, minmax(0, 1fr));
	}

	.service {
		grid-column: span 7;
	}

	.service:nth-child(5n + 1),
	.service:nth-child(5n + 2) {
		grid-column: span 4;
	}

	.service:nth-child(5n + 3) {
		grid-column: span 6;
	}

	/* שורות לא שלמות בסוף הרשימה – הפריטים ממלאים את הרוחב */
	.service:nth-child(5n + 1):last-child,
	.service:nth-child(5n + 4):last-child {
		grid-column: span 14;
	}

	.service:nth-child(5n + 1):nth-last-child(2),
	.service:nth-child(5n + 2):last-child {
		grid-column: span 7;
	}

	.service__media {
		height: clamp(220px, 21vw, 300px);
	}

	.service:nth-child(5n + 4) .service__media,
	.service:nth-child(5n + 5) .service__media {
		height: clamp(190px, 17.5vw, 250px);
	}
}

/* מובייל: כרטיס אופקי – טקסט מימין (רוב הרוחב), תמונה משמאל */
@media (max-width: 767px) {
	.services__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.services__grid .service {
		display: grid;
		grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
		min-height: 120px;
	}

	.service__body {
		grid-column: 1;
		grid-row: 1;
		align-self: center;
	}

	.services__grid .service .service__media {
		position: relative;
		grid-column: 2;
		grid-row: 1;
		height: auto;
		min-height: 120px;
	}

	.service__img {
		position: absolute;
		inset: 0;
	}
}

/* מסך צר מאוד – אין לטקסט מספיק רוחב לצד התמונה, אז התמונה עוברת מעליו */
@media (max-width: 359px) {
	.services__grid .service {
		display: flex;
		flex-direction: column;
	}

	.services__grid .service .service__media {
		position: relative; /* עוגן לווילון של אנימציית החשיפה */
		height: 180px;
		min-height: 0;
	}

	.service__img {
		position: static;
	}
}

/* ==========================================================================
   אודות ("נעים להכיר")
   ========================================================================== */
/* רקע כחלחל לכל רוחב הסקשן – עם ריווח פנימי מלמעלה ומלמטה */
.section.about {
	padding-block: var(--section-space);
	background: var(--color-about-bg);
}

/* הסקשן שאחרי האודות לא נצמד לרקע הצבעוני */
.about + .section {
	padding-block-start: var(--section-space);
}

.about__inner {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	/* הטקסט מתחיל בראש העמודה, בקו אחד עם החלק העליון של התמונה */
	align-items: start;
	gap: 56px;
}

.about__inner--no-image {
	grid-template-columns: minmax(0, 1fr);
}

.about__content {
	max-width: 520px;
}

.about__title {
	margin-block-end: 16px;
	color: var(--color-heading);
	font-size: var(--fs-h2);
	font-weight: 900;
	line-height: 1.2;
	letter-spacing: -0.015em;
}

.about__subtitle {
	margin-block-end: 20px;
	color: var(--color-heading);
	font-size: var(--fs-about-name);
	font-weight: 600;
	line-height: 1.4;
}

.about__text {
	color: var(--color-text);
	font-size: var(--fs-about-text);
	line-height: 1.75;
}

/* מסגרת וצל עדין כמו בכרטיסי השירותים, ההמלצות והשאלות */
.about__media {
	border: 1px solid var(--color-line);
	border-radius: var(--radius-card);
	box-shadow: 0 4px 14px rgba(11, 40, 85, 0.05);
}

/* מובייל: התמונה ביחס המקורי שלה – בלי חיתוך */
.about__img {
	width: 100%;
	height: auto;
}

/* דסקטופ וטאבלט (שתי עמודות): התמונה בדיוק בגובה הטקסט שלידה.
   התמונה ממוקמת absolute כדי שלא תקבע את גובה השורה – הגובה נקבע לפי הטקסט,
   והתמונה ממלאת אותו (cover), ממורכזת קצת מעל האמצע כדי לשמור על הפנים. */
@media (min-width: 768px) {
	.about__inner:not(.about__inner--no-image) {
		align-items: stretch;
	}

	.about__media {
		position: relative;
	}

	.about__img {
		position: absolute;
		inset: 0;
		height: 100%;
		object-fit: cover;
		object-position: center 30%;
	}
}

@media (max-width: 1024px) {
	.about__inner {
		gap: 32px;
	}
}

/* מובייל: בטור, התמונה מעל הכותרת */
@media (max-width: 767px) {
	.about__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.about__media {
		order: -1;
	}
}

/* ==========================================================================
   אזור שירות ("נתניה, המושבים והיישובים בסביבה")
   ========================================================================== */
.section.area {
	padding-block: var(--section-space);
	background: var(--color-area-bg);
}

/* הסקשן שאחרי אזור השירות לא נצמד לרקע הצבעוני */
.area + .section {
	padding-block-start: var(--section-space);
}

/* דסקטופ וטאבלט: כותרת וטקסט מימין, מפה משמאל (רחבה יותר) לכל הגובה */
.area__inner {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 5fr);
	grid-template-rows: auto 1fr;
	grid-template-areas:
		"head map"
		"body map";
	align-items: start;
	column-gap: 56px;
}

.area__head {
	grid-area: head;
}

.area__map {
	grid-area: map;
}

.area__body {
	grid-area: body;
}

.area__title {
	margin-block-end: 12px;
	color: var(--color-heading);
	font-size: var(--fs-h2);
	font-weight: 900;
	line-height: 1.2;
	letter-spacing: -0.015em;
}

.area__subtitle {
	color: var(--color-heading);
	font-size: var(--fs-about-name);
	font-weight: 600;
	line-height: 1.4;
}

.area__text {
	margin-block-start: 28px;
	color: var(--color-heading);
	font-size: var(--fs-about-text);
	line-height: 1.6;
}

/* כל שורה בטקסט היא בלוק – נשברת רק כשאין מקום */
.area__line {
	display: block;
}

.area__actions {
	margin-block-start: 32px;
}

.area__map {
	margin: 0;
	/* מסגרת וצל עדין כמו בשאר הכרטיסים; overflow – פינות מעוגלות גם למפה */
	overflow: hidden;
	border: 1px solid var(--color-line);
	border-radius: var(--radius-card);
	box-shadow: 0 4px 14px rgba(11, 40, 85, 0.05);
}

.area__img {
	display: block;
	width: 100%;
	height: auto;
}

/* מקום שמור למפה עד שקובץ ה-SVG יועלה */
.area__map--placeholder {
	aspect-ratio: 3 / 2;
	border: 1px solid var(--color-line);
	background: #fff;
}

@media (max-width: 1024px) {
	.area__inner {
		column-gap: 32px;
	}
}

/* מובייל: בטור – כותרת, מפה, טקסט, כפתור לכל הרוחב.
   שורת המשנה לא מוצגת במובייל (לפי העיצוב). */
@media (max-width: 767px) {
	.area__inner {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: none;
		grid-template-areas:
			"head"
			"map"
			"body";
		row-gap: 20px;
	}

	.area__title {
		margin-block-end: 0;
	}

	.area__subtitle {
		display: none;
	}

	.area__text {
		margin-block-start: 0;
	}

	.area__actions {
		margin-block-start: 20px;
	}

	.area__actions .btn {
		width: 100%;
	}
}

/* ==========================================================================
   המלצות – סליידר
   גלילה אופקית עם scroll-snap (עובד גם בלי JS: החלקה / מקלדת),
   וכפתורי הקודם/הבא ב-JS. בלי הפעלה אוטומטית (נגישות).
   מספר ההמלצות המוצגות נקבע בהגדרות (1–4). טאבלט: עד 2, מובייל: 1.
   ========================================================================== */
.reviews__slider {
	--cols: 2;
}

.reviews__slider--cols-1 {
	--cols: 1;
}

@media (min-width: 1025px) {
	.reviews__slider--cols-3 {
		--cols: 3;
	}

	.reviews__slider--cols-4 {
		--cols: 4;
	}
}

@media (max-width: 767px) {
	.reviews__slider {
		--cols: 1;
	}
}

.reviews__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - (var(--cols) - 1) * var(--review-gap)) / var(--cols));
	gap: var(--review-gap);
	margin: 0;
	/* מקום לצל של הכרטיסים (הגלילה האופקית חותכת את מה שמחוץ לרשימה) */
	padding: 2px 0 12px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	list-style: none;
}

.reviews__track::-webkit-scrollbar {
	display: none;
}

.reviews__slide {
	display: flex;
	scroll-snap-align: start;
}

/* גרירה עם העכבר (JS) – סמן "יד" כשיש עוד המלצות לגלול אליהן */
@media (hover: hover) and (pointer: fine) {
	.reviews__slider.is-scrollable .reviews__track {
		cursor: grab;
	}
}

/* בזמן הגרירה: בלי snap ובלי גלילה חלקה (התנועה צמודה לעכבר), ובלי סימון טקסט */
.reviews__slider.is-dragging .reviews__track {
	cursor: grabbing;
	scroll-snap-type: none;
	scroll-behavior: auto;
	user-select: none;
}

.reviews__controls {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-block-start: 12px; /* + 12px ריווח הצל בתחתית הרשימה = 24px */
}

.reviews__controls[hidden] {
	display: none;
}

.reviews__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 2px solid var(--color-primary);
	border-radius: 50%;
	background: #fff;
	color: var(--color-primary);
	transition: background-color 0.2s, color 0.2s;
}

.reviews__arrow:hover:not(:disabled) {
	background: var(--color-primary);
	color: #fff;
}

.reviews__arrow:disabled {
	border-color: #8a97ab;
	color: #8a97ab;
	cursor: default;
}

/* בעברית "הקודם" מצביע ימינה ו"הבא" שמאלה */
.reviews__arrow--next .icon {
	transform: scaleX(-1);
}

/* הכרטיס: התוכן מתחיל תמיד מלמעלה, באותו גובה בכל הכרטיסים */
.review {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: var(--review-pad);
	/* מסגרת כמו בכרטיסי השאלות הנפוצות */
	border: 1px solid var(--color-line);
	border-radius: var(--radius-card);
	background: var(--color-surface);
	box-shadow: 0 4px 14px rgba(11, 40, 85, 0.05); /* צל עדין */
}

/* מרכאות דקורטיביות – אלמנטים נפרדים שלא משפיעים על שורות הטקסט:
   "99" למעלה מימין, "66" למטה משמאל */
.review > .icon--quote {
	flex: none;
	width: 40px;
	height: auto;
	color: #7ea4dc;
}

.review > .icon--quote:first-child {
	align-self: flex-start;
	margin-block-end: 12px;
}

.review > .icon--quote:last-child {
	align-self: flex-end;
	margin-block-start: auto;
	transform: rotate(180deg);
}

/* כוכבים עדינים בגרדיאנט כחול של המותג (#4f86dc ← #1f4fa6), ניגודיות ≥ 3:1 מול הרקע.
   כוכב ריק = קו מתאר בלבד. */
.svg-defs {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.review__rating {
	display: flex;
	gap: 4px;
	margin-block-end: 12px;
}

.review__star .icon {
	width: 24px;
	height: 24px;
	fill: url(#plumbing-star-gradient);
}

.review__star.is-empty .icon {
	fill: none;
	stroke: url(#plumbing-star-gradient);
	stroke-width: 1.5;
}

/* מרווח מינימלי מהמרכאות התחתונות גם בכרטיס הארוך ביותר */
.review__figure {
	padding-block-end: 16px;
}

.review__text {
	color: var(--color-text);
	font-size: var(--fs-review);
	line-height: 1.7;
}

.review__author {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-block-start: 16px;
	color: var(--color-heading);
	font-size: var(--fs-review-name);
	line-height: 1.4;
}

.review__author strong {
	font-weight: 600;
}

.review__author span {
	color: var(--color-text);
}

@media (max-width: 767px) {
	.review > .icon--quote {
		width: 32px;
	}

	.review__star .icon {
		width: 22px;
		height: 22px;
	}
}

/* ==========================================================================
   שאלות נפוצות – "שאלות קטנות. שקט גדול."
   דסקטופ: פתיחה + כרטיס וואטסאפ מימין, קו מפריד, אקורדיון משמאל.
   מובייל: פתיחה, אקורדיון, כרטיס וואטסאפ – בטור.
   ========================================================================== */
.section.faq {
	padding-block: var(--section-space);
	background: var(--color-faq-bg);
}

.faq + .section {
	padding-block-start: var(--section-space);
}

.faq__inner {
	display: grid;
	grid-template-columns: minmax(0, 32fr) minmax(0, 68fr);
	grid-template-rows: auto 1fr;
	grid-template-areas:
		"head list"
		"help list";
	align-items: start;
	column-gap: var(--faq-col-gap);
}

.faq__head {
	grid-area: head;
}

.faq__help {
	grid-area: help;
}

/* האקורדיון, עם קו מפריד אנכי בצד ימין לכל הגובה */
.faq__list {
	grid-area: list;
	align-self: stretch;
	display: flex;
	flex-direction: column;
	gap: var(--faq-gap);
	padding-inline-start: var(--faq-col-gap);
	border-inline-start: 1px solid var(--color-line);
}

/* פתיחה: אייקון גדול, ולידו (משמאל, בתחתית) התגית */
.faq__eyebrow {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 16px;
	margin-block-end: 16px;
}

.faq__eyebrow-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: calc(var(--faq-tile) * 1.65);
	height: calc(var(--faq-tile) * 1.65);
	border-radius: var(--radius-card);
	background: var(--color-tile);
	box-shadow: 0 4px 14px rgba(11, 40, 85, 0.06);
	color: var(--color-accent);
}

.faq__eyebrow-icon .icon {
	width: 58%;
	height: 58%;
	stroke-width: 1.6;
}

.faq__badge {
	padding: 5px 14px;
	border-radius: 6px;
	background: var(--color-tile);
	color: var(--color-heading);
	font-size: var(--fs-badge);
	font-weight: 600;
	line-height: 1.5;
}

.faq__title {
	color: var(--color-heading);
	font-size: var(--fs-h2);
	font-weight: 900;
	line-height: 1.15;
	letter-spacing: -0.015em;
}

.faq__title-line {
	display: block;
}

.faq__text {
	margin-block-start: 20px;
	color: var(--color-text);
	font-size: var(--fs-about-name);
	line-height: 1.6;
}

/* כרטיס וואטסאפ */
.faq__help {
	margin-block-start: 24px;
	padding: 24px;
	border-radius: var(--radius-card);
	background: #fff;
	box-shadow: 0 8px 24px rgba(11, 40, 85, 0.06);
}

.faq__help-title {
	color: var(--color-heading);
	font-size: var(--fs-card-title);
	font-weight: 800;
	line-height: 1.3;
}

.faq__help-text {
	margin-block-start: 6px;
	color: var(--color-text);
	font-size: var(--fs-about-text);
	line-height: 1.5;
}

.faq__help .btn {
	width: 100%;
	min-height: calc(var(--btn-height) + 10px);
	margin-block-start: 16px;
	border-radius: 6px;
	font-size: var(--fs-about-text);
	font-weight: 500;
}

.faq__help .btn .icon {
	width: 26px;
	height: 26px;
}

/* אקורדיון – כל שאלה כרטיס לבן; פתוחה: מסגרת כחולה ופס עבה בצד ימין */
.faq__item {
	border: 1px solid var(--color-line);
	border-radius: var(--radius-card);
	background: #fff;
	box-shadow: 0 2px 10px rgba(11, 40, 85, 0.04);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.faq__item:hover,
.faq__item[open]:not(.is-closing) {
	border-color: var(--color-accent);
}

.faq__item[open]:not(.is-closing) {
	box-shadow: inset -3px 0 0 var(--color-accent), 0 4px 16px rgba(48, 124, 202, 0.12);
}

/* הגובה נקבע לפי אורך השאלה – בלי גובה קבוע */
.faq__question {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: var(--faq-pad-y) var(--faq-pad-x);
	color: var(--color-heading);
	font-size: var(--fs-faq-q);
	font-weight: 700;
	line-height: 1.4;
	list-style: none;
	cursor: pointer;
}

.faq__question::-webkit-details-marker {
	display: none;
}

.faq__question-text {
	flex: 1;
	min-width: 0;
}

.faq__icon,
.faq__toggle {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: var(--faq-tile);
	height: var(--faq-tile);
	background: var(--color-tile);
}

.faq__icon {
	border-radius: var(--radius-tile);
	box-shadow: 0 2px 8px rgba(11, 40, 85, 0.06);
	color: var(--color-accent);
}

.faq__icon .icon {
	width: 26px;
	height: 26px;
	stroke-width: 1.75;
}

.faq__toggle {
	border-radius: 50%;
	color: var(--color-heading);
}

.faq__toggle .icon {
	width: 24px;
	height: 24px;
}

/* + כשהשאלה סגורה, − כשהיא פתוחה */
.faq__toggle .icon--minus,
.faq__item[open]:not(.is-closing) .faq__toggle .icon--plus {
	display: none;
}

.faq__item[open]:not(.is-closing) .faq__toggle .icon--minus {
	display: block;
}

/* התשובה: קו דק מתחת לשאלה (מקצה הריבוע עד העיגול) ואז הטקסט */
.faq__answer {
	margin-inline: var(--faq-pad-x);
	padding-block: 16px 24px;
	border-block-start: 1px solid var(--color-line);
	color: var(--color-text);
	font-size: var(--fs-faq-a);
	line-height: 1.75;
}

.faq__answer p + p {
	margin-block-start: var(--space-p);
}

@media (max-width: 1024px) {
	.faq__inner {
		--faq-col-gap: 24px;
		grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	}

	.faq__question {
		gap: 14px;
	}
}

/* מובייל: בטור – פתיחה, אקורדיון, כרטיס וואטסאפ. בלי קו מפריד אנכי. */
@media (max-width: 767px) {
	.faq__inner {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: none;
		grid-template-areas:
			"head"
			"list"
			"help";
		row-gap: 24px;
	}

	.faq__list {
		padding-inline-start: 0;
		border-inline-start: 0;
	}

	.faq__text {
		margin-block-start: 12px;
	}

	.faq__question {
		gap: 12px;
	}

	.faq__answer {
		padding-block-end: var(--faq-pad-y);
	}

	.faq__help {
		margin-block-start: 0;
		padding: 20px;
	}
}

/* ==========================================================================
   באנר סיום (CTA) – "בואו נטפל בזה"
   ========================================================================== */
.cta {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	min-height: clamp(260px, 22vw, 340px);
	padding-block: var(--cta-space);
	background: var(--color-surface);
	overflow: hidden;
}

.cta__picture {
	position: absolute;
	inset: 0;
	z-index: -2;
}

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

/* גרדיינט בצבע רקע הסקשן – אטום מימין (מאחורי הטקסט) ושקוף משמאל */
.cta::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(
		to left,
		rgba(238, 243, 250, 0.97) 0%,
		rgba(238, 243, 250, 0.92) 45%,
		rgba(238, 243, 250, 0.4) 65%,
		rgba(238, 243, 250, 0) 80%
	);
	pointer-events: none;
}

.cta__title {
	color: var(--color-heading);
	font-size: var(--fs-h2);
	font-weight: 900;
	line-height: 1.2;
	letter-spacing: -0.015em;
}

.cta__line {
	display: block;
}

.cta__text {
	max-width: 36em;
	margin-block-start: 12px;
	color: var(--color-text);
	font-size: var(--fs-cta-text);
	line-height: 1.6;
}

.cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-block-start: 24px;
}

@media (max-width: 767px) {
	.cta {
		min-height: 0;
	}

	.cta:not(.cta--mobile-image) .cta__bg {
		object-position: 20% center;
	}

	.cta::after {
		background: linear-gradient(
			to left,
			rgba(238, 243, 250, 0.97) 0%,
			rgba(238, 243, 250, 0.92) 62%,
			rgba(238, 243, 250, 0.45) 80%,
			rgba(238, 243, 250, 0) 95%
		);
	}

	.cta__text {
		max-width: 75%;
	}

	.cta__actions .btn {
		flex: 1 1 auto;
	}
}

/* ==========================================================================
   פוטר – כחול כהה של המותג, טקסט לבן
   ========================================================================== */
.site-footer {
	--color-focus: #fff;
	background: var(--color-primary);
	color: rgba(255, 255, 255, 0.88);
	font-size: var(--fs-footer);
	line-height: 1.6;
}

.site-footer a {
	color: #fff;
	text-decoration: none;
}

.site-footer a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* יעדי לחיצה ≥ 44px גם לקישורים הקטנים בפוטר */
.site-footer__links a,
.site-footer__credit a,
.site-footer__motion {
	display: inline-flex;
	align-items: center;
	min-height: var(--tap-size);
}

/* "עצירת אנימציות" – נראה כמו קישור בפוטר */
.site-footer__motion {
	padding: 0;
	border: 0;
	background: none;
	color: #fff;
	font: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.site-footer__motion:hover {
	text-decoration-thickness: 2px;
}

.site-footer__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 24px;
	padding-block: 24px;
}

.site-footer__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* מובייל: הכול מיושר לימין, ויורד שורה רק כשאין מקום */
@media (max-width: 767px) {
	.site-footer__bar {
		justify-content: flex-start;
		column-gap: 16px;
	}
}

/* ==========================================================================
   פס יצירת קשר קבוע – מובייל בלבד
   ========================================================================== */
.mobile-bar {
	display: none;
}

@media (max-width: 767px) {
	.mobile-bar {
		position: fixed;
		inset-inline: 0;
		bottom: 0;
		z-index: 90;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
		/* אזור הבית באייפון (safe area) מתווסף לריווח התחתון */
		padding: 10px max(12px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
		background: #fff;
		box-shadow: 0 -1px 0 rgba(11, 40, 85, 0.08), 0 -6px 20px rgba(11, 40, 85, 0.1);
	}

	.mobile-bar__btn {
		min-height: 48px;
		padding: 10px 12px;
		font-size: 1rem;
	}

	/* מרווח תחתון לעמוד בגובה הפס – כך שהפס לא מסתיר תוכן */
	body.has-mobile-bar {
		padding-block-end: calc(var(--mobile-bar-height) + env(safe-area-inset-bottom));
	}

	html:has(> body.has-mobile-bar) {
		scroll-padding-bottom: calc(var(--mobile-bar-height) + env(safe-area-inset-bottom));
	}
}
