/*
Theme Name: CPA2U Portal
Theme URI: https://cpa2u.co.il/
Author: WebON
Author URI: https://cpa2u.co.il/
Description: תבנית פורטל יוקרתית לרואי חשבון — CPA2U. עיצוב RTL פרימיום, נגיש (WCAG 2.1 AA), מהיר וידידותי למנועי חיפוש ולמנועי AI.
Version: 1.1.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cpa2u-portal
*/

/* ==================================================================
   1. משתני עיצוב — פלטה יוקרתית
   ================================================================== */
:root {
	--navy-950: #061426;
	--navy-900: #0A1F38;
	--navy-850: #0D2543;
	--navy-800: #10294A;
	--navy-700: #17355D;
	--blue-600: #1E5AA8;
	--blue-100: #E8EFF8;
	--gold-600: #8F6C1E; /* כהה מספיק לניגודיות AA על רקע לבן */
	--gold-500: #C3A24C;
	--gold-400: #D9B65C;
	--gold-300: #E3C87E;
	--gold-100: #F8F2E1;
	--gold-grad: linear-gradient(120deg, #DDBC66 0%, #C3A24C 45%, #A8842E 100%);
	--green-wa: #0E7A40; /* ניגודיות AA עם טקסט לבן */
	--ink: #132238;
	--muted: #55657A;
	--line: #E4E9F0;
	--line-dark: rgba(217, 182, 92, 0.22);
	--bg: #F7F9FC;
	--surface: #FFFFFF;
	--danger: #B3261E;
	--ok-bg: #E7F6EC;
	--ok-ink: #14532D;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow-sm: 0 1px 3px rgba(6, 20, 38, 0.07);
	--shadow-md: 0 10px 30px rgba(6, 20, 38, 0.10);
	--shadow-lg: 0 24px 60px rgba(6, 20, 38, 0.18);
	--font-body: 'Heebo', 'Assistant', -apple-system, 'Segoe UI', Arial, sans-serif;
	--font-head: 'Heebo', 'Assistant', -apple-system, 'Segoe UI', Arial, sans-serif;
	--container: 1400px;
	--container-narrow: 860px;
	--ease-lux: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==================================================================
   2. איפוס ובסיס
   ================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* חוק ברזל: אלמנט עם hidden לעולם לא מוצג ולא חוסם לחיצות */
[hidden] { display: none !important; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.75;
	color: var(--ink);
	background: var(--bg);
	direction: rtl;
	text-align: right;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-700); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.25; color: var(--navy-900); margin: 0 0 0.5em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.18rem; font-family: var(--font-body); font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-inline-start: 1.3em; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; border-radius: 3px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	overflow: hidden;
	word-wrap: normal !important;
}
.skip-link:focus {
	position: fixed !important;
	top: 8px; right: 8px;
	width: auto; height: auto;
	clip: auto; clip-path: none;
	background: var(--navy-950);
	color: #fff;
	padding: 12px 20px;
	border-radius: var(--radius-sm);
	z-index: 100000;
	font-weight: 700;
	text-decoration: none;
}

.container { max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container-narrow { max-width: var(--container-narrow); }
.section { padding-block: 84px; }

/* כותרות סקשן יוקרתיות */
.section-kicker {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--gold-600);
	font-weight: 700;
	font-size: 0.82rem;
	letter-spacing: 0.14em;
	margin-bottom: 14px;
}
.section-kicker::before { content: ""; width: 34px; height: 1px; background: var(--gold-500); }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head .section-kicker::after { content: ""; width: 34px; height: 1px; background: var(--gold-500); }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-head-row {
	max-width: none;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	text-align: right;
}
.section-head-row p { margin-bottom: 0; }

/* אנימציות חשיפה בגלילה */
html.js .reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.8s var(--ease-lux), transform 0.8s var(--ease-lux);
	transition-delay: var(--d, 0s);
	will-change: opacity, transform;
}
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
	html.js .reveal { opacity: 1; transform: none; }
}

/* ==================================================================
   3. כפתורים
   ================================================================== */
.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 13px 28px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.98rem;
	letter-spacing: 0.01em;
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	transition: transform 0.2s var(--ease-lux), box-shadow 0.2s var(--ease-lux), background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-gold { background: var(--gold-grad); color: var(--navy-950); box-shadow: 0 6px 18px rgba(195, 162, 76, 0.35); }
.btn-gold:hover { color: var(--navy-950); box-shadow: 0 10px 26px rgba(195, 162, 76, 0.45); }
.btn-gold::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
	transform: translateX(110%);
	transition: transform 0.7s var(--ease-lux);
}
.btn-gold:hover::after { transform: translateX(-110%); }

.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: var(--navy-700); color: #fff; }
.btn-whatsapp { background: var(--green-wa); color: #fff; }
.btn-whatsapp:hover { background: #0B6434; color: #fff; }
.btn-outline { background: transparent; color: var(--navy-900); border-color: rgba(10, 31, 56, 0.35); }
.btn-outline:hover { border-color: var(--gold-500); color: var(--gold-600); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn-outline-light:hover { border-color: var(--gold-400); color: var(--gold-300); }

/* ==================================================================
   4. פס עליון והדר — כהה ויוקרתי
   ================================================================== */
.topbar {
	background: var(--navy-950);
	color: #B9C7D9;
	font-size: 0.85rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; flex-wrap: wrap; }
.topbar-tagline { margin: 0; opacity: 0.85; letter-spacing: 0.02em; }
.topbar-actions { display: flex; gap: 22px; }
.topbar-link { display: inline-flex; align-items: center; gap: 7px; color: #E7EDF5; text-decoration: none; font-weight: 600; }
.topbar-link:hover { color: var(--gold-300); }

.site-header {
	background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
	position: sticky;
	top: 0;
	z-index: 9990;
	border-bottom: 1px solid var(--line-dark);
	transition: box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled { box-shadow: 0 12px 34px rgba(6, 20, 38, 0.45); background: rgba(7, 22, 41, 0.97); }
.header-inner { display: flex; align-items: center; gap: 26px; min-height: 88px; }
.site-logo { flex: 0 0 auto; }
.site-logo img { display: block; max-height: 60px; width: auto; }
.main-nav { margin-inline-start: auto; }
.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.main-nav .menu > li { position: relative; }
.main-nav .menu a {
	position: relative;
	display: block;
	padding: 10px 15px;
	color: #E9EFF6;
	text-decoration: none;
	font-weight: 500;
	font-size: 0.99rem;
	white-space: nowrap;
}
.main-nav .menu > li > a::after {
	content: "";
	position: absolute;
	bottom: 4px;
	inset-inline: 15px;
	height: 2px;
	background: var(--gold-400);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.3s var(--ease-lux);
}
.main-nav .menu > li:hover > a::after,
.main-nav .menu > li:focus-within > a::after,
.main-nav .menu > li.current-menu-item > a::after { transform: scaleX(1); }
.main-nav .menu a:hover { color: var(--gold-300); }
.main-nav .menu .current-menu-item > a { color: var(--gold-300); }

/* חץ עדין לפריטים עם תת-תפריט */
.main-nav .menu > li.menu-item-has-children > a { padding-inline-end: 28px; }
.main-nav .menu > li.menu-item-has-children > a::before {
	content: "";
	position: absolute;
	inset-inline-end: 12px;
	top: 50%;
	width: 7px; height: 7px;
	border-inline-end: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-70%) rotate(45deg);
	transition: transform 0.25s ease;
}
.main-nav .menu > li.menu-item-has-children:hover > a::before { transform: translateY(-30%) rotate(225deg); }

.main-nav .menu .sub-menu {
	list-style: none;
	margin: 0;
	padding: 10px;
	position: absolute;
	top: calc(100% + 4px);
	inset-inline-start: 0;
	min-width: 250px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-top: 2px solid var(--gold-500);
	border-radius: 0 0 var(--radius-sm) var(--radius-sm);
	box-shadow: var(--shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.25s var(--ease-lux), transform 0.25s var(--ease-lux), visibility 0.25s;
	z-index: 50;
}
.main-nav .menu > li:hover > .sub-menu,
.main-nav .menu > li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.main-nav .sub-menu a { padding: 10px 14px; font-weight: 500; color: var(--ink); border-radius: 7px; }
.main-nav .sub-menu a:hover { background: var(--gold-100); color: var(--navy-900); }
.main-nav .sub-menu a::after { display: none; }

.header-cta { flex: 0 0 auto; }
.header-cta .btn { padding: 12px 24px; font-size: 0.93rem; }

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 46px; height: 46px;
	background: none;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: var(--radius-sm);
	padding: 10px;
}
.nav-toggle-bar { display: block; height: 2px; width: 100%; background: #fff; border-radius: 2px; transition: transform 0.25s var(--ease-lux), opacity 0.2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { background: var(--navy-950); padding: 22px 20px 26px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.mobile-nav .menu { list-style: none; margin: 0; padding: 0; }
.mobile-nav .menu a { display: block; padding: 14px 10px; color: #EDF2F8; font-size: 1.06rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
.mobile-nav .menu a:hover { color: var(--gold-300); }
.mobile-nav .sub-menu { list-style: none; padding-inline-start: 18px; }
.mobile-nav .sub-menu a { font-weight: 400; font-size: 0.98rem; color: #C2CFDE; }
.mobile-nav-cta { display: grid; gap: 10px; margin-top: 20px; }

/* ==================================================================
   5. Hero — נוכחות של משרד מוביל
   ================================================================== */
.hero {
	position: relative;
	background: linear-gradient(168deg, var(--navy-950) 0%, var(--navy-900) 52%, var(--navy-850) 100%);
	color: #DFE8F2;
	padding-block: 84px 0;
	overflow: hidden;
	isolation: isolate;
}
.hero::before {
	content: "";
	position: absolute;
	inset: -20%;
	background:
		radial-gradient(720px 420px at 12% 8%, rgba(217, 182, 92, 0.10), transparent 60%),
		radial-gradient(900px 520px at 88% 90%, rgba(30, 90, 168, 0.22), transparent 65%);
	z-index: -1;
	animation: heroGlow 14s ease-in-out infinite alternate;
}
@keyframes heroGlow {
	from { transform: translate3d(0, 0, 0) scale(1); }
	to   { transform: translate3d(2%, -2%, 0) scale(1.05); }
}
/* טבעות זהב דקורטיביות */
.hero::after {
	content: "";
	position: absolute;
	inset-inline-start: -140px;
	bottom: -180px;
	width: 460px; height: 460px;
	border: 1px solid rgba(217, 182, 92, 0.18);
	border-radius: 50%;
	box-shadow: 0 0 0 60px rgba(217, 182, 92, 0.04), 0 0 0 130px rgba(217, 182, 92, 0.03);
	z-index: -1;
	pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center; padding-bottom: 72px; }
.hero-kicker {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--gold-300);
	font-weight: 600;
	font-size: 0.86rem;
	letter-spacing: 0.16em;
	margin-bottom: 18px;
}
.hero-kicker::before { content: ""; width: 40px; height: 1px; background: var(--gold-400); }
.hero h1 { color: #fff; margin-bottom: 20px; text-wrap: balance; }
.text-gold { color: var(--gold-300); }
.hero-sub { font-size: 1.13rem; max-width: 580px; color: #B9C7D9; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-block: 30px 18px; }
.hero-note { color: #8FA2B8; font-size: 0.88rem; letter-spacing: 0.03em; }
.hero-note span { color: var(--gold-300); }

/* טופס פרימיום */
.hero-form {
	position: relative;
	background: var(--surface);
	border-radius: var(--radius);
	border-top: 3px solid var(--gold-500);
	box-shadow: var(--shadow-lg);
	padding: 32px 30px 26px;
	color: var(--ink);
}
.hero-form-title { color: var(--navy-900); font-family: var(--font-head); font-size: 1.35rem; margin-bottom: 4px; }
.hero-form-sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 18px; }

/* פס נתונים */
.hero-stats {
	position: relative;
	border-top: 1px solid rgba(217, 182, 92, 0.25);
	background: rgba(255, 255, 255, 0.02);
}
.hero-stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
	padding: 26px 14px;
	text-align: center;
	border-inline-start: 1px solid rgba(255, 255, 255, 0.07);
}
.stat:first-child { border-inline-start: 0; }
.stat-num { display: block; font-family: var(--font-head); font-weight: 900; font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--gold-300); line-height: 1.15; }
.stat-label { color: #A9BACE; font-size: 0.88rem; }

/* ==================================================================
   6. טפסים יוקרתיים — Floating Labels
   ================================================================== */
.lead-fields { display: grid; gap: 14px; }
.field { position: relative; }
.field input, .field textarea, .field select {
	width: 100%;
	padding: 24px 16px 8px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	font: inherit;
	font-size: 0.98rem;
	color: var(--ink);
	background: #FBFCFE;
	transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
	appearance: none;
}
.field textarea { min-height: 108px; resize: vertical; }
.field label {
	position: absolute;
	inset-inline-start: 16px;
	top: 16px;
	color: var(--muted);
	font-size: 0.97rem;
	pointer-events: none;
	transition: top 0.18s var(--ease-lux), font-size 0.18s var(--ease-lux), color 0.18s;
}
.field input:focus, .field textarea:focus, .field select:focus {
	border-color: var(--gold-500);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(195, 162, 76, 0.14);
	outline: none;
}
.field input:focus ~ label,
.field input:not(:placeholder-shown) ~ label,
.field textarea:focus ~ label,
.field textarea:not(:placeholder-shown) ~ label,
.field.is-filled label {
	top: 7px;
	font-size: 0.72rem;
	color: var(--gold-600);
	font-weight: 700;
	letter-spacing: 0.04em;
}
.field-select::after {
	content: "";
	position: absolute;
	inset-inline-end: 16px;
	top: 50%;
	width: 8px; height: 8px;
	border-inline-end: 1.6px solid var(--muted);
	border-bottom: 1.6px solid var(--muted);
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}
.field-select select { padding: 16px; color: var(--muted); cursor: pointer; }
.field-select select.has-value { color: var(--ink); }

.lead-submit { margin-top: 4px; }
.lead-submit .btn { width: 100%; border: 0; }
.lead-privacy { font-size: 0.78rem; color: var(--muted); margin: 12px 0 0; }
.hp-field { position: absolute !important; inset-inline-start: -9999px !important; height: 1px; overflow: hidden; }
.lead-notice { padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 14px; font-size: 0.95rem; }
.lead-notice-ok { background: var(--ok-bg); color: var(--ok-ink); border: 1px solid #A7D8B9; }
.lead-notice-err { background: #FDECEA; color: var(--danger); border: 1px solid #F2B8B5; }
.lead-form-full .lead-fields { grid-template-columns: 1fr 1fr; }
.lead-form-full .lead-msg, .lead-form-full .lead-submit { grid-column: 1 / -1; }
.lead-form-full .lead-submit .btn { width: auto; min-width: 240px; }

/* ==================================================================
   7. סקשנים
   ================================================================== */
/* שירותים */
.services { background: var(--surface); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 30px 24px 24px;
	text-decoration: none;
	color: var(--ink);
	transition: transform 0.3s var(--ease-lux), box-shadow 0.3s var(--ease-lux), border-color 0.3s;
	overflow: hidden;
}
.service-card::before {
	content: "";
	position: absolute;
	top: 0; inset-inline: 0;
	height: 2px;
	background: var(--gold-grad);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.4s var(--ease-lux);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(195, 162, 76, 0.45); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px; height: 58px;
	border-radius: 50%;
	color: var(--gold-600);
	border: 1px solid rgba(195, 162, 76, 0.45);
	background: radial-gradient(circle at 30% 25%, #FCF8EC, #F6EED8);
	margin-bottom: 8px;
	transition: background 0.3s, color 0.3s, transform 0.3s var(--ease-lux);
}
.service-card:hover .service-icon { background: var(--navy-900); color: var(--gold-300); transform: scale(1.06); }
.service-card h3 { margin: 0; font-size: 1.1rem; }
.service-card p { color: var(--muted); font-size: 0.92rem; margin: 0; flex-grow: 1; }
.service-more { color: var(--gold-600); font-weight: 700; font-size: 0.88rem; letter-spacing: 0.02em; }

/* שלבים — ספרות רפאים יוקרתיות */
.steps { background: var(--bg); }
.steps-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 0; padding: 0; }
.steps-grid li {
	position: relative;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 34px 28px 28px;
	box-shadow: var(--shadow-sm);
	overflow: hidden;
}
.step-num {
	position: absolute;
	top: -18px;
	inset-inline-end: 10px;
	font-family: var(--font-head);
	font-weight: 900;
	font-size: 6.4rem;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1.5px rgba(195, 162, 76, 0.35);
	pointer-events: none;
}
.steps-grid h3 { position: relative; padding-bottom: 10px; margin-bottom: 12px; }
.steps-grid h3::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 34px; height: 2px; background: var(--gold-grad); }
.steps-grid p { color: var(--muted); margin: 0; }

/* רשת פוסטים */
.latest-posts { background: var(--surface); }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.posts-grid-3 { grid-template-columns: repeat(3, 1fr); }
.post-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform 0.3s var(--ease-lux), box-shadow 0.3s var(--ease-lux), border-color 0.3s;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(195, 162, 76, 0.4); }
.post-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.post-card-media { aspect-ratio: 16 / 10; background: linear-gradient(150deg, var(--navy-850), var(--navy-950)); display: flex; align-items: center; justify-content: center; color: var(--gold-400); overflow: hidden; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-lux); }
.post-card:hover .post-card-media img { transform: scale(1.06); }
.post-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.post-card-title { margin: 0; font-size: 1.06rem; line-height: 1.45; font-family: var(--font-body); font-weight: 700; }
.post-card:hover .post-card-title { color: var(--gold-600); }
.post-card-excerpt { color: var(--muted); font-size: 0.92rem; margin: 0; flex-grow: 1; }
.post-card-meta { display: flex; align-items: center; justify-content: space-between; font-size: 0.84rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.post-card-more { color: var(--gold-600); font-weight: 700; }

/* ערים */
.cities { background: var(--bg); }
.cities-cloud .menu, .cities-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cities-cloud a {
	display: inline-block;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 10px 22px;
	color: var(--navy-900);
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	transition: border-color 0.25s, color 0.25s, transform 0.25s var(--ease-lux), box-shadow 0.25s;
}
.cities-cloud a:hover { border-color: var(--gold-500); color: var(--gold-600); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* שאלות נפוצות */
.faq { background: var(--surface); }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; background: var(--surface); overflow: hidden; transition: border-color 0.25s, box-shadow 0.25s; }
.faq-item.open { border-color: rgba(195, 162, 76, 0.5); box-shadow: var(--shadow-sm); }
.faq-q { margin: 0; }
.faq-q button {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	background: none;
	border: 0;
	padding: 19px 22px;
	font: inherit;
	font-weight: 700;
	font-size: 1.03rem;
	color: var(--navy-900);
	text-align: right;
}
.faq-q button:hover { color: var(--gold-600); }
.faq-icon { position: relative; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--gold-500); }
.faq-icon::before, .faq-icon::after {
	content: "";
	position: absolute;
	top: 50%; right: 50%;
	transform: translate(50%, -50%);
	background: var(--gold-600);
	width: 10px; height: 1.6px;
	transition: transform 0.3s var(--ease-lux);
}
.faq-icon::after { transform: translate(50%, -50%) rotate(90deg); }
.faq-q button[aria-expanded="true"] .faq-icon::after { transform: translate(50%, -50%) rotate(0deg); }
.faq-a-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease-lux); }
.faq-item.open .faq-a-wrap { grid-template-rows: 1fr; }
html:not(.js) .faq-a-wrap { grid-template-rows: 1fr; }
.faq-a { overflow: hidden; }
.faq-a > p { margin: 0; padding: 0 22px 20px; color: var(--ink); }

/* מאמר SEO בדף הבית */
.seo-article { background: var(--bg); }

/* CTA */
.cta-band {
	position: relative;
	background: linear-gradient(150deg, var(--navy-950), var(--navy-850));
	color: #DFE8F2;
	padding-block: 74px;
	overflow: hidden;
}
.cta-band::before {
	content: "";
	position: absolute;
	inset-inline-end: -120px;
	top: -140px;
	width: 380px; height: 380px;
	border: 1px solid rgba(217, 182, 92, 0.2);
	border-radius: 50%;
	box-shadow: 0 0 0 50px rgba(217, 182, 92, 0.05);
	pointer-events: none;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #B9C7D9; margin: 0; font-size: 1.05rem; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ==================================================================
   8. עמודי תוכן
   ================================================================== */
.article-hero {
	background: linear-gradient(168deg, var(--navy-950), var(--navy-850));
	color: #DFE8F2;
	padding-block: 46px 40px;
	border-bottom: 2px solid var(--gold-500);
}
.article-hero .article-title { color: #fff; }
.article-sub { color: #B9C7D9; font-size: 1.08rem; margin: 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; color: #A9BACE; font-size: 0.88rem; }
.meta-updated { font-weight: 700; color: var(--gold-300); }
.article-thumb { margin: 30px 0 0; }
.article-thumb img { border-radius: var(--radius); box-shadow: var(--shadow-md); }

.breadcrumbs { font-size: 0.84rem; margin-bottom: 14px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; color: #8FA2B8; }
.breadcrumbs li:not(:last-child)::after { content: "‹"; margin-inline-start: 6px; }
.breadcrumbs a { color: var(--gold-300); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

.prose { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4.5vw, 52px); margin-block: 32px; box-shadow: var(--shadow-sm); }
.prose h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-top: 1.5em; padding-bottom: 0.35em; border-bottom: 2px solid var(--gold-500); display: inline-block; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.25em; color: var(--navy-800); }
.prose ul li, .prose ol li { margin-bottom: 0.45em; }
.prose img { border-radius: var(--radius-sm); }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 0.95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: right; }
.prose th { background: var(--navy-900); color: #fff; }
.prose blockquote { margin: 1.2em 0; padding: 16px 22px; border-inline-start: 3px solid var(--gold-500); background: var(--gold-100); border-radius: var(--radius-sm); font-family: var(--font-head); font-size: 1.05rem; }
.prose a { font-weight: 600; }

.article-cta {
	position: relative;
	background: linear-gradient(150deg, var(--navy-950), var(--navy-850));
	color: #DFE8F2;
	border-radius: var(--radius);
	border-top: 3px solid var(--gold-500);
	padding: 38px 30px;
	margin-block: 38px;
	text-align: center;
	overflow: hidden;
}
.article-cta h2 { color: #fff; font-size: 1.5rem; }
.article-cta p { color: #B9C7D9; max-width: 560px; margin-inline: auto; }
.article-cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

.related-posts { margin-block: 46px; }
.related-posts h2 { font-size: 1.5rem; margin-bottom: 22px; }

.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-block: 30px 54px; font-weight: 600; }
.post-nav a { text-decoration: none; color: var(--navy-900); }
.post-nav a:hover { color: var(--gold-600); }

.pagination-nav { margin-top: 40px; text-align: center; }
.pagination-nav .nav-links { display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pagination-nav .page-numbers {
	display: inline-block;
	min-width: 44px;
	padding: 10px 15px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	color: var(--navy-900);
	text-decoration: none;
	font-weight: 600;
}
.pagination-nav .page-numbers.current { background: var(--navy-900); color: var(--gold-300); border-color: var(--navy-900); }
.pagination-nav .page-numbers:hover:not(.current) { border-color: var(--gold-500); color: var(--gold-600); }

.archive-desc { color: #B9C7D9; max-width: 720px; }
.no-results { font-size: 1.05rem; color: var(--muted); }

/* חיפוש */
.search-form-big { display: flex; gap: 10px; max-width: 560px; margin-bottom: 38px; }
.search-form-big input[type="search"] {
	flex: 1;
	padding: 14px 20px;
	border: 1px solid var(--line);
	border-radius: 999px;
	font: inherit;
	background: var(--surface);
}
.search-form-big input:focus { border-color: var(--gold-500); outline: none; box-shadow: 0 0 0 4px rgba(195, 162, 76, 0.14); }
.search-form-big .btn { border-radius: 999px; }

/* 404 */
.error-404 { text-align: center; padding-block: 90px; }
.error-code { font-family: var(--font-head); font-size: clamp(4.5rem, 15vw, 9rem); font-weight: 900; color: transparent; -webkit-text-stroke: 2px rgba(195, 162, 76, 0.6); line-height: 1; margin: 0; }
.error-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-block: 24px 36px; }
.error-404 .search-form-big { margin-inline: auto; }

/* צור קשר */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 38px; padding-block: 46px 70px; align-items: start; }
.contact-methods { display: grid; gap: 16px; }
.contact-method {
	display: flex;
	align-items: center;
	gap: 18px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 20px 22px;
	color: var(--ink);
	text-decoration: none;
	transition: transform 0.25s var(--ease-lux), box-shadow 0.25s, border-color 0.25s;
}
a.contact-method:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(195, 162, 76, 0.5); }
.contact-method-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px; height: 54px;
	border-radius: 50%;
	border: 1px solid rgba(195, 162, 76, 0.45);
	background: radial-gradient(circle at 30% 25%, #FCF8EC, #F6EED8);
	color: var(--gold-600);
}
.contact-method-icon-green { background: var(--green-wa); border-color: var(--green-wa); color: #fff; }
.contact-method-body { display: grid; }
.contact-method-body strong { color: var(--navy-900); font-size: 1.02rem; }
.contact-method-body span { color: var(--muted); font-size: 0.92rem; }
.contact-page-content { margin-block: 12px 0; }
.contact-form-col {
	background: var(--surface);
	border: 1px solid var(--line);
	border-top: 3px solid var(--gold-500);
	border-radius: var(--radius);
	padding: 32px;
	box-shadow: var(--shadow-md);
	position: sticky;
	top: 120px;
}
.contact-form-col h2 { font-size: 1.45rem; }
.contact-form-col .form-sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; }

/* פרופיל ישן (?link=) */
.profile-card { display: flex; gap: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); flex-wrap: wrap; }
.profile-photo img { border-radius: var(--radius-sm); max-width: 220px; }
.profile-body { flex: 1; min-width: 260px; }
.profile-location { color: var(--muted); }
.profile-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }

/* ==================================================================
   9. פוטר
   ================================================================== */
.site-footer { background: var(--navy-950); color: #B9C7D9; border-top: 2px solid var(--gold-500); }
.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr;
	gap: 34px;
	padding-block: 58px 40px;
}
.footer-logo { background: #fff; border-radius: var(--radius-sm); padding: 8px 12px; margin-bottom: 16px; }
.footer-about p { font-size: 0.92rem; line-height: 1.8; }
.footer-contact { display: grid; gap: 6px; }
.footer-contact a { color: var(--gold-300); font-weight: 700; text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-title { color: #fff; font-family: var(--font-head); font-size: 1.06rem; margin-bottom: 16px; padding-bottom: 8px; position: relative; }
.footer-title::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 28px; height: 2px; background: var(--gold-grad); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col ul a { color: #B9C7D9; text-decoration: none; font-size: 0.92rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--gold-300); }
.footer-latest time { display: block; font-size: 0.78rem; color: #7288A1; }
.footer-static-links { margin-top: 8px; }

.footer-legal { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-block: 20px; }
.footer-legal-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.legal-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; }
.legal-links a { color: #E7EDF5; font-size: 0.87rem; font-weight: 600; text-decoration: none; }
.legal-links a:hover { color: var(--gold-300); }
.copyright { margin: 0; font-size: 0.82rem; color: #7288A1; }
.site-updated { display: inline-block; margin-inline-start: 10px; color: #93A8C0; }

/* פעולות מהירות במובייל */
.mobile-actions {
	display: none;
	position: fixed;
	bottom: 0;
	right: 0; left: 0;
	background: var(--navy-950);
	border-top: 1px solid var(--line-dark);
	z-index: 9995;
	padding-bottom: env(safe-area-inset-bottom, 0);
	box-shadow: 0 -8px 24px rgba(6, 20, 38, 0.35);
}
.mobile-actions a {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	padding: 11px 4px 9px;
	color: #fff;
	text-decoration: none;
	font-size: 0.74rem;
	font-weight: 600;
}
.mobile-actions a:nth-child(2) { color: #7CE3A9; }
.mobile-actions a:hover { color: var(--gold-300); }

.back-to-top {
	position: fixed;
	bottom: 86px;
	inset-inline-end: 18px;
	width: 48px; height: 48px;
	border: 1px solid rgba(217, 182, 92, 0.5);
	border-radius: 50%;
	background: var(--navy-900);
	color: var(--gold-300);
	box-shadow: var(--shadow-md);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9994;
	transition: background 0.2s, transform 0.2s var(--ease-lux);
}
.back-to-top:hover { background: var(--navy-700); transform: translateY(-3px); }

/* ==================================================================
   10. רספונסיביות
   ================================================================== */
@media (max-width: 1120px) {
	.services-grid { grid-template-columns: repeat(2, 1fr); }
	.why-grid { grid-template-columns: repeat(2, 1fr); }
	.cities-grid { grid-template-columns: repeat(3, 1fr); }
	.footer-grid { grid-template-columns: repeat(2, 1fr); }
	.hero-inner { grid-template-columns: 1fr; gap: 40px; }
	.hero-sub { max-width: none; }
	.main-nav .menu a { padding: 10px 10px; font-size: 0.93rem; }
}
@media (max-width: 940px) {
	.main-nav, .header-cta { display: none; }
	.nav-toggle { display: flex; margin-inline-start: auto; }
	.posts-grid, .posts-grid-3 { grid-template-columns: repeat(2, 1fr); }
	.steps-grid { grid-template-columns: 1fr; }
	.contact-grid { grid-template-columns: 1fr; }
	.contact-form-col { position: static; }
	.section-head-row { flex-direction: column; align-items: flex-start; }
	.hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(odd) { border-inline-start: 0; }
	.stat { border-top: 1px solid rgba(255, 255, 255, 0.07); }
	.stat:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 620px) {
	body { font-size: 16px; padding-bottom: 64px; }
	.section { padding-block: 52px; }
	.topbar-inner { justify-content: center; }
	.topbar-tagline { display: none; }
	.services-grid { grid-template-columns: 1fr; }
	.why-grid { grid-template-columns: 1fr; }
	.cities-grid { grid-template-columns: repeat(2, 1fr); }
	.city-card { padding: 13px 14px; font-size: 0.9rem; }
	.shape-ring { width: 140px; height: 140px; }
	.shape-glow { width: 240px; height: 240px; }
	.posts-grid, .posts-grid-3 { grid-template-columns: 1fr; }
	.hero { padding-block: 52px 0; }
	.hero-inner { padding-bottom: 48px; }
	.hero-actions .btn { width: 100%; }
	.mobile-actions { display: flex; }
	.lead-form-full .lead-fields { grid-template-columns: 1fr; }
	.cta-inner { flex-direction: column; text-align: center; }
	.footer-grid { grid-template-columns: 1fr; padding-block: 44px 28px; }
	.footer-legal-inner { flex-direction: column; text-align: center; }
	.back-to-top { bottom: 132px; }
	.post-nav { flex-direction: column; }
	.hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
}

/* ==================================================================
   10.5 רכיבים אינטראקטיביים חדשים
   ================================================================== */

/* הדגשת מילים בכותרת */
.hl {
	color: var(--gold-300);
	background-image: linear-gradient(90deg, rgba(217, 182, 92, 0.35), rgba(217, 182, 92, 0.35));
	background-repeat: no-repeat;
	background-position: bottom right;
	background-size: 0% 0.16em;
	animation: hlGrow 1.1s var(--ease-lux) 0.5s forwards;
}
@keyframes hlGrow { to { background-size: 100% 0.16em; } }

/* מילה מתחלפת */
.hero-rotator { color: #C9D6E6; font-weight: 500; margin: 4px 0 0; min-height: 1.8em; }
.rotate-word {
	display: inline-block;
	color: var(--gold-300);
	font-weight: 700;
	margin-inline-start: 6px;
	transition: opacity 0.3s ease, transform 0.3s var(--ease-lux);
}
.rotate-word.is-out { opacity: 0; transform: translateY(-8px); }

/* צורות צפות */
.hero-shapes, .cta-shapes, .cities-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero { isolation: isolate; }
.hero-inner, .hero-stats { position: relative; z-index: 1; }
.cta-inner { position: relative; z-index: 1; }
.cities-dark .container { position: relative; z-index: 1; }
.shape { position: absolute; display: block; will-change: transform; }
.shape-ring {
	top: 8%; inset-inline-start: 6%;
	width: 220px; height: 220px;
	border: 1px solid rgba(217, 182, 92, 0.30);
	border-radius: 50%;
	box-shadow: 0 0 0 40px rgba(217, 182, 92, 0.05), 0 0 0 90px rgba(217, 182, 92, 0.03);
	animation: floatY 11s ease-in-out infinite alternate;
}
.shape-cube {
	bottom: 12%; inset-inline-start: 40%;
	width: 84px; height: 84px;
	border: 1px solid rgba(217, 182, 92, 0.35);
	border-radius: 18px;
	transform: rotate(24deg);
	background: linear-gradient(140deg, rgba(217, 182, 92, 0.10), transparent 70%);
	animation: floatSpin 14s ease-in-out infinite alternate;
}
.shape-dot {
	top: 22%; inset-inline-end: 8%;
	width: 26px; height: 26px;
	border-radius: 50%;
	background: var(--gold-grad);
	opacity: 0.6;
	filter: blur(1px);
	animation: floatY 8s ease-in-out infinite alternate-reverse;
}
.shape-glow {
	bottom: -120px; inset-inline-end: -80px;
	width: 380px; height: 380px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(30, 90, 168, 0.35), transparent 65%);
	animation: floatY 16s ease-in-out infinite alternate;
}
@keyframes floatY { from { translate: 0 -14px; } to { translate: 0 14px; } }
@keyframes floatSpin { from { transform: rotate(18deg) translateY(-10px); } to { transform: rotate(32deg) translateY(12px); } }

/* פס נע (Marquee) */
.marquee {
	background: var(--gold-grad);
	overflow: hidden;
	padding-block: 13px;
	border-block: 1px solid rgba(6, 20, 38, 0.15);
}
.marquee-track {
	display: flex;
	width: max-content;
	gap: 0;
	animation: marqueeMove 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding-inline: 22px;
	color: var(--navy-950);
	font-weight: 700;
	font-size: 0.98rem;
	white-space: nowrap;
}
.marquee-star { font-size: 0.7rem; opacity: 0.7; }
@keyframes marqueeMove { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* למה CPA2U */
.why { background: var(--bg); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card {
	position: relative;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 30px 24px;
	text-align: center;
	transition: transform 0.3s var(--ease-lux), box-shadow 0.3s var(--ease-lux), border-color 0.3s;
	overflow: hidden;
}
.why-card::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 3px;
	background: var(--gold-grad);
	transform: scaleX(0);
	transition: transform 0.4s var(--ease-lux);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(195, 162, 76, 0.45); }
.why-card:hover::after { transform: scaleX(1); }
.why-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 66px; height: 66px;
	border-radius: 50%;
	background: var(--navy-900);
	color: var(--gold-300);
	margin-bottom: 14px;
	transition: transform 0.35s var(--ease-lux), background 0.3s;
}
.why-card:hover .why-icon { transform: scale(1.1) rotate(-4deg); background: var(--navy-700); }
.why-card h3 { margin-bottom: 6px; }
.why-card p { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* ערים — סקשן כהה */
.cities-dark {
	position: relative;
	background: linear-gradient(160deg, var(--navy-950), var(--navy-850));
	color: #DFE8F2;
	overflow: hidden;
	isolation: isolate;
}
.cities-dark .section-head h2 { color: #fff; }
.cities-dark .section-head p { color: #B9C7D9; }
.section-kicker-gold::before, .section-head .section-kicker-gold::after { background: var(--gold-400); }
.cities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.city-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 18px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, 0.04);
	color: #EDF2F8;
	text-decoration: none;
	font-weight: 600;
	transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease-lux);
}
.city-card:hover { background: rgba(217, 182, 92, 0.12); border-color: rgba(217, 182, 92, 0.5); color: #fff; transform: translateY(-3px); }
.city-pin { color: var(--gold-300); display: inline-flex; }
.city-name { flex: 1; }
.city-arrow { color: var(--gold-300); opacity: 0; transform: translateX(6px); transition: opacity 0.25s, transform 0.25s var(--ease-lux); }
.city-card:hover .city-arrow { opacity: 1; transform: translateX(0); }
.city-card-more { justify-content: center; background: var(--gold-grad); color: var(--navy-950); border-color: transparent; }
.city-card-more .city-arrow { color: var(--navy-950); }
.city-card-more:hover { color: var(--navy-950); background: linear-gradient(120deg, #E7C670 0%, #D0AF59 45%, #B8923E 100%); }

/* מדריך מתקפל */
.guide { position: relative; }
.guide-body { max-height: 460px; overflow: hidden; transition: max-height 0.7s var(--ease-lux); margin-block: 0 0; }
.guide.open .guide-body { max-height: none; }
.guide-fade {
	position: absolute;
	inset-inline: 0;
	bottom: 74px;
	height: 140px;
	background: linear-gradient(180deg, transparent, var(--bg));
	pointer-events: none;
	transition: opacity 0.4s;
}
.guide.open .guide-fade { opacity: 0; }
.guide-toggle-wrap { text-align: center; margin: 18px 0 0; }
html:not(.js) .guide-body { max-height: none; }
html:not(.js) .guide-fade, html:not(.js) .guide-toggle-wrap { display: none; }

/* טופס מגירה רוחבי */
.drawer-tab {
	position: fixed;
	top: 45%;
	inset-inline-end: 0;
	z-index: 9992;
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 13px 16px;
	background: var(--gold-grad);
	color: var(--navy-950);
	border: 0;
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	font-weight: 700;
	font-size: 0.9rem;
	box-shadow: var(--shadow-md);
	writing-mode: vertical-rl;
	transition: padding 0.25s var(--ease-lux), box-shadow 0.25s;
}
.drawer-tab svg { transform: rotate(90deg); }
.drawer-tab:hover { padding-block: 18px; box-shadow: var(--shadow-lg); }
.drawer-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(6, 20, 38, 0.55);
	backdrop-filter: blur(3px);
	z-index: 9996;
	opacity: 0;
	transition: opacity 0.3s;
}
.drawer-backdrop.show { opacity: 1; }
.lead-drawer {
	position: fixed;
	top: 0;
	bottom: 0;
	inset-inline-end: 0;
	width: min(430px, 92vw);
	background: var(--surface);
	border-inline-start: 3px solid var(--gold-500);
	box-shadow: var(--shadow-lg);
	z-index: 9997;
	padding: 56px 30px 30px;
	overflow-y: auto;
	transform: translateX(-105%);
	transition: transform 0.45s var(--ease-lux);
}
.lead-drawer.show { transform: translateX(0); }
.lead-drawer h2 { font-size: 1.3rem; margin-bottom: 4px; }
.drawer-sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 16px; }
.drawer-close {
	position: absolute;
	top: 14px;
	inset-inline-end: 14px;
	width: 38px; height: 38px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: var(--surface);
	color: var(--ink);
	font-size: 1rem;
}
.drawer-close:hover { border-color: var(--gold-500); color: var(--gold-600); }
@media (max-width: 940px) { .drawer-tab, .lead-drawer, .drawer-backdrop { display: none !important; } }

/* חיפוש קופץ */
.search-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px; height: 42px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	background: transparent;
	color: #E9EFF6;
	transition: border-color 0.2s, color 0.2s, transform 0.2s var(--ease-lux);
}
.search-toggle:hover { border-color: var(--gold-400); color: var(--gold-300); transform: scale(1.06); }
.search-overlay {
	position: fixed;
	inset: 0;
	background: rgba(6, 20, 38, 0.92);
	backdrop-filter: blur(6px);
	z-index: 9998;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	opacity: 0;
	transition: opacity 0.3s;
}
.search-overlay.show { opacity: 1; }
.search-overlay-inner { width: min(640px, 100%); transform: translateY(14px) scale(0.98); transition: transform 0.35s var(--ease-lux); }
.search-overlay.show .search-overlay-inner { transform: none; }
.search-overlay-title { color: #fff; text-align: center; margin-bottom: 18px; }
.search-overlay .search-form-big { max-width: none; margin: 0; }
.search-overlay .search-form-big input[type="search"] { padding: 17px 24px; font-size: 1.05rem; }
.search-overlay-close {
	position: absolute;
	top: 22px;
	inset-inline-end: 26px;
	width: 44px; height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 50%;
	background: transparent;
	color: #fff;
	font-size: 1.1rem;
}
.search-overlay-close:hover { border-color: var(--gold-400); color: var(--gold-300); }

/* ==================================================================
   10.6 אתר רוחבי — פסי צד, ניטור, מחשבון, מערכות, מאמר עשיר
   ================================================================== */

/* פסי צד דקורטיביים בשני צידי המסך */
.side-rail {
	position: fixed;
	top: 0; bottom: 0;
	width: 30px;
	z-index: 4;
	pointer-events: none;
	display: none;
}
.side-rail-start { inset-inline-start: 10px; }
.side-rail-end { inset-inline-end: 10px; }
.side-rail::before {
	content: "";
	position: absolute;
	top: 12%; bottom: 12%;
	inset-inline-start: 50%;
	width: 1px;
	background: linear-gradient(180deg, transparent, rgba(195, 162, 76, 0.5) 20%, rgba(195, 162, 76, 0.5) 80%, transparent);
}
.side-rail i {
	position: absolute;
	inset-inline-start: 50%;
	width: 7px; height: 7px;
	margin-inline-start: -3px;
	border-radius: 50%;
	background: var(--gold-500);
	animation: railFloat 7s ease-in-out infinite alternate;
}
.side-rail i:nth-child(1) { top: 22%; }
.side-rail i:nth-child(2) { top: 48%; animation-delay: 1.6s; width: 5px; height: 5px; opacity: 0.7; }
.side-rail i:nth-child(3) { top: 74%; animation-delay: 3.1s; }
@keyframes railFloat { from { translate: 0 -16px; } to { translate: 0 16px; } }
@media (min-width: 1560px) { .side-rail { display: block; } }

/* סקשן ניטור — דשבורד חי */
.monitor { background: var(--surface); overflow: hidden; }
.monitor-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.monitor-text h2 { max-width: 520px; }
.monitor-text > p { color: var(--muted); font-size: 1.05rem; max-width: 520px; }
.monitor-list { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 13px; }
.monitor-list li { position: relative; padding-inline-start: 34px; font-weight: 500; }
.monitor-list li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 3px;
	width: 21px; height: 21px;
	border-radius: 50%;
	background: var(--gold-grad) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23061426" d="M9.6 16.2 5.4 12l-1.4 1.4 5.6 5.6 12-12L20.2 5.6z"/></svg>') center / 12px no-repeat;
}
.dashboard {
	position: relative;
	background: linear-gradient(160deg, var(--navy-950), var(--navy-850));
	border-radius: var(--radius);
	border: 1px solid rgba(217, 182, 92, 0.3);
	box-shadow: var(--shadow-lg);
	padding: 22px 24px 26px;
	color: #DFE8F2;
	transform: rotate(-1.2deg);
	transition: transform 0.4s var(--ease-lux);
}
.dashboard:hover { transform: rotate(0deg) scale(1.01); }
.dashboard-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 16px; }
.dashboard-dots { display: flex; gap: 5px; }
.dashboard-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); }
.dashboard-dots i:first-child { background: var(--gold-400); }
.dashboard-title { font-weight: 700; font-size: 0.92rem; color: #fff; }
.dashboard-live { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; color: #7CE3A9; font-weight: 700; }
.dashboard-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2ECC71; animation: livePulse 1.6s ease-in-out infinite; }
@keyframes livePulse { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.5); } 50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(46, 204, 113, 0); } }
.dashboard-row { display: flex; align-items: center; gap: 12px; padding-block: 9px; font-size: 0.9rem; }
.dashboard-row .st { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(46, 204, 113, 0.18); color: #7CE3A9; font-size: 0.75rem; flex: 0 0 auto; }
.dashboard-row .st-wait { background: rgba(217, 182, 92, 0.16); color: var(--gold-300); }
.dashboard-row .lbl { flex: 1; }
.dashboard-row .val { color: #93A8C0; font-size: 0.8rem; }
.dashboard-bars { display: grid; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.dbar { display: grid; grid-template-columns: 92px 1fr 44px; align-items: center; gap: 10px; font-size: 0.8rem; color: #A9BACE; }
.dbar-track { height: 7px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.dbar-fill { height: 100%; width: 0; border-radius: 99px; background: var(--gold-grad); transition: width 1.4s var(--ease-lux) 0.3s; }
.reveal.in .dbar-fill, html:not(.js) .dbar-fill { width: var(--w, 80%); }

/* מחשבון מע"מ */
.calc { background: linear-gradient(160deg, var(--navy-950), var(--navy-850)); color: #DFE8F2; position: relative; overflow: hidden; isolation: isolate; }
.calc .section-head h2 { color: #fff; }
.calc .section-head p { color: #B9C7D9; }
.calc-box {
	position: relative;
	z-index: 1;
	max-width: 900px;
	margin-inline: auto;
	background: var(--surface);
	color: var(--ink);
	border-radius: var(--radius);
	border-top: 3px solid var(--gold-500);
	box-shadow: var(--shadow-lg);
	padding: 34px 32px;
}
.calc-fields { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 16px; align-items: end; }
.calc-field label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--navy-800); margin-bottom: 7px; }
.calc-field input, .calc-field select {
	width: 100%;
	padding: 13px 15px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	font: inherit;
	background: #FBFCFE;
}
.calc-field input:focus, .calc-field select:focus { border-color: var(--gold-500); outline: none; box-shadow: 0 0 0 4px rgba(195, 162, 76, 0.14); }
.calc-mode { display: flex; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.calc-mode label { flex: 1; margin: 0; }
.calc-mode input { position: absolute; opacity: 0; pointer-events: none; }
.calc-mode span { display: block; text-align: center; padding: 13px 8px; font-size: 0.88rem; font-weight: 600; cursor: pointer; color: var(--muted); transition: background 0.2s, color 0.2s; }
.calc-mode input:checked + span { background: var(--navy-900); color: var(--gold-300); }
.calc-mode input:focus-visible + span { outline: 3px solid var(--gold-500); outline-offset: -3px; }
.calc-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.calc-tile { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; text-align: center; transition: border-color 0.3s; }
.calc-tile strong { display: block; font-size: 1.45rem; font-weight: 800; color: var(--navy-900); }
.calc-tile.calc-tile-gold { background: var(--gold-100); border-color: rgba(195, 162, 76, 0.5); }
.calc-tile span { font-size: 0.82rem; color: var(--muted); }
.calc-note { font-size: 0.78rem; color: var(--muted); margin: 16px 0 0; }
.calc-cta { text-align: center; margin-top: 18px; }

/* מערכות ותוכנות */
.soft { background: var(--bg); border-block: 1px solid var(--line); padding-block: 56px; }
.soft-head { text-align: center; max-width: 720px; margin: 0 auto 28px; }
.soft-head p { color: var(--muted); }
.soft-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.soft-chip {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 11px 22px;
	font-weight: 700;
	color: var(--navy-800);
	transition: transform 0.25s var(--ease-lux), border-color 0.25s, box-shadow 0.25s;
}
.soft-chip:hover { transform: translateY(-3px); border-color: var(--gold-500); box-shadow: var(--shadow-sm); }
.soft-chip svg { color: var(--gold-600); }

/* מאמר דו-טורי עשיר */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.article-main { min-width: 0; }
.article-aside { position: sticky; top: 120px; display: grid; gap: 18px; }
.aside-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px 22px;
	box-shadow: var(--shadow-sm);
}
.aside-card-gold { border-top: 3px solid var(--gold-500); box-shadow: var(--shadow-md); }
.aside-card h2 { font-size: 1.08rem; margin-bottom: 4px; }
.aside-card .aside-sub { color: var(--muted); font-size: 0.85rem; margin-bottom: 14px; }
.aside-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.aside-card ul a { color: var(--navy-800); text-decoration: none; font-weight: 600; font-size: 0.92rem; display: flex; align-items: center; gap: 8px; }
.aside-card ul a::before { content: "‹"; color: var(--gold-600); font-weight: 800; }
.aside-card ul a:hover { color: var(--gold-600); }
.aside-contact { display: grid; gap: 10px; }
@media (max-width: 1120px) { .article-layout { grid-template-columns: 1fr; } .article-aside { position: static; } }

/* תוכן עניינים */
.toc { background: var(--blue-100); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin-block: 28px 0; }
.toc-title { font-weight: 800; color: var(--navy-900); margin-bottom: 10px; display: flex; align-items: center; gap: 9px; }
.toc ol { margin: 0; padding-inline-start: 1.2em; display: grid; gap: 6px; }
.toc a { color: var(--navy-800); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.toc a:hover { color: var(--gold-600); text-decoration: underline; }

/* עמוד אודות */
.about-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-block: 40px; }
.about-stats {
	background: linear-gradient(160deg, var(--navy-950), var(--navy-850));
	border-radius: var(--radius);
	padding: 10px 20px;
	margin-block: 40px;
}
.about-stats .hero-stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1120px) { .about-values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .about-values { grid-template-columns: 1fr; } .about-stats .hero-stats-inner { grid-template-columns: repeat(2, 1fr); } }

/* שלבי "מה קורה אחרי" בעמוד צור קשר */
.contact-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.contact-step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; display: flex; gap: 12px; align-items: flex-start; }
.contact-step b { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: var(--gold-grad); color: var(--navy-950); font-weight: 800; }
.contact-step p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.contact-step strong { display: block; color: var(--navy-900); font-size: 0.98rem; }
@media (max-width: 900px) { .contact-steps { grid-template-columns: 1fr; } }

@media (max-width: 1120px) {
	.monitor-inner { grid-template-columns: 1fr; gap: 36px; }
	.calc-fields { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
	.calc-results { grid-template-columns: 1fr; }
	.dashboard { transform: none; }
}

/* ==================================================================
   11. התאמות לתוסף הנגישות (pojo-a11y)
   ================================================================== */
body.pojo-a11y-focusable a:focus,
body.pojo-a11y-focusable button:focus { outline: 3px solid var(--gold-500) !important; outline-offset: 2px; }
body.pojo-a11y-high-contrast .hero,
body.pojo-a11y-high-contrast .cta-band,
body.pojo-a11y-high-contrast .site-header,
body.pojo-a11y-high-contrast .article-hero { background: #000 !important; }

/* ==================================================================
   12. הדפסה
   ================================================================== */
@media print {
	.topbar, .site-header, .mobile-actions, .back-to-top, .site-footer,
	.hero-form, .article-cta, .cta-band, .lead-form-wrap { display: none !important; }
	body { background: #fff; padding: 0; }
	.prose { border: 0; box-shadow: none; padding: 0; }
}
