/**
 * א.ב בנדל״ן - מערכת העיצוב.
 * קונספט: המדרון. חיפה בנויה במדרגות מהרכס אל הים.
 *
 * הפלטה נגזרת מהלוגו: נייבי, אדום הגג, ותכלת החלון.
 * התכלת שמורה אך ורק לדברים אינטראקטיביים או חיים, ולא לקישוט.
 *
 * הקובץ נכתב עם תכונות לוגיות (inline-start / inline-end) ולכן עובד
 * ב-RTL בלי קובץ נפרד. אין להוסיף wp_style_add_data( ..., 'rtl' ).
 */

/* ============ 1. אסימוני עיצוב ============ */
:root {
	--ground: #eae7e1;
	--ground-2: #f5f3ef;
	--raise: #ffffff;
	--ink: #141d2c;
	--slope: #68738a;
	--line: #d6d1c7;

	--navy: #16305e;
	--navy-deep: #0a1830;
	--navy-soft: #274a86;
	--roof: #b4222e;
	--window: #22a8d8;

	--on-navy: #efede8;
	--on-navy-dim: #9fb0cc;

	--ok: #10633a;
	--warn: #8a5b00;

	--step: 4.2vw;
	--w: min(1240px, 92vw);

	--f-d: 'Rubik', system-ui, -apple-system, sans-serif;
	--f-b: 'Heebo', system-ui, -apple-system, sans-serif;

	--r: 0px;
	--shadow: 0 20px 44px rgba(10, 24, 48, .15);
	--ease: cubic-bezier(.2, .7, .3, 1);
}

/* ============ 2. איפוס ובסיס ============ */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--ground);
	color: var(--ink);
	font-family: var(--f-b);
	font-size: 17px;
	line-height: 1.65;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
	font-family: var(--f-d);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -.02em;
	text-wrap: balance;
	margin: 0;
}

p { margin: 0; }

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

button { font: inherit; }

:focus-visible {
	outline: 2.5px solid var(--window);
	outline-offset: 3px;
}

/* דילוג לתוכן, לניווט מקלדת */
.skip {
	position: absolute;
	inset-inline-start: -9999px;
	z-index: 999;
	padding: 12px 20px;
	background: var(--navy);
	color: #fff;
	font-weight: 600;
}
.skip:focus { inset-inline-start: 12px; inset-block-start: 12px; }

.wrap { width: var(--w); margin-inline: auto; }

.eyebrow {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .18em;
	color: var(--slope);
	margin: 0 0 13px;
}

.num { font-variant-numeric: tabular-nums; }

.sr-only {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ============ 3. כפתורים ============ */
.btn {
	display: inline-block;
	font-family: var(--f-b);
	font-weight: 600;
	font-size: 16px;
	padding: 12px 24px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn-primary { background: var(--roof); color: #fff; }
.btn-primary:hover { background: #991c26; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--roof); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--ground); }

.link-more {
	font-weight: 600;
	font-size: 15.5px;
	color: var(--roof);
	border-bottom: 1.5px solid currentColor;
	padding-bottom: 2px;
	white-space: nowrap;
}

/* ============ 4. הדר ============ */
.hd {
	position: fixed;
	inset-block-start: 0;
	inset-inline: 0;
	z-index: 70;
	border-bottom: 1px solid transparent;
	transition: background .35s, border-color .35s;
}
.hd.is-solid {
	background: color-mix(in oklab, var(--ground) 88%, transparent);
	backdrop-filter: blur(14px);
	border-bottom-color: var(--line);
}
.hd-in {
	width: var(--w);
	margin-inline: auto;
	display: flex;
	align-items: center;
	gap: 26px;
	height: 72px;
}
.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--f-d);
	font-weight: 800;
	font-size: 19px;
	color: var(--on-navy);
	transition: color .35s;
}
.hd.is-solid .brand { color: var(--ink); }
.brand img, .brand svg { width: 34px; height: 34px; flex: none; }

.nav { display: flex; gap: 22px; margin-inline-start: auto; }
.nav a {
	position: relative;
	padding-block: 4px;
	font-size: 15px;
	font-weight: 500;
	color: var(--on-navy-dim);
	transition: color .25s;
}
.hd.is-solid .nav a { color: var(--slope); }
.nav a::after {
	content: '';
	position: absolute;
	inset-inline: 0;
	inset-block-end: 0;
	height: 1.5px;
	background: var(--roof);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .3s;
}
.nav a:hover { color: var(--roof); }
.nav a:hover::after { transform: scaleX(1); }

.hd-cta { background: var(--roof); color: #fff; padding: 9px 17px; font-weight: 600; font-size: 15px; }

.nav-toggle { display: none; background: none; border: 0; color: inherit; cursor: pointer; padding: 8px; }

@media (max-width: 960px) {
	.nav { display: none; }
	.nav.is-open {
		display: flex;
		position: absolute;
		inset-block-start: 72px;
		inset-inline: 0;
		flex-direction: column;
		gap: 0;
		background: var(--raise);
		border-block: 1px solid var(--line);
		padding: 8px 0;
	}
	.nav.is-open a { padding: 12px var(--w); color: var(--ink); }
	.nav-toggle { display: block; margin-inline-start: auto; }
	.hd-cta { margin-inline-start: 0; }
}

/* ============ 5. הירו ============ */
.hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	padding-block-end: clamp(60px, 9vw, 118px);
	background: linear-gradient(#050c1b 0%, var(--navy-deep) 38%, var(--navy) 78%, var(--navy-soft) 100%);
}

/* הגובה חייב להיקבע כאן. בלעדיו ההשמה של cv.height ב-JS משנה גם את הגובה
   המוצג, והקנבס מכפיל את עצמו בכל ציור מחדש עד שהוא מכסה את כל ההירו. */
.hero canvas {
	position: absolute;
	inset-inline: 0;
	inset-block-end: 0;
	width: 100%;
	height: 62%;
	display: block;
	will-change: transform;
}

.hero-ph {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center 26%;
	opacity: .72;
	will-change: transform;
	-webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 38%, transparent 82%);
	mask-image: linear-gradient(to bottom, #000 0%, #000 38%, transparent 82%);
}

.hero-veil {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(to left, rgba(5, 12, 27, .72) 0%, rgba(5, 12, 27, .2) 52%, transparent 100%);
}

.hero-in {
	position: relative;
	z-index: 5;
	width: var(--w);
	margin-inline: auto;
	color: var(--on-navy);
}

.hero-eye {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 12.5px;
	letter-spacing: .2em;
	font-weight: 600;
	color: var(--on-navy-dim);
	margin: 0 0 20px;
}
.hero-eye::after {
	content: '';
	height: 1px;
	flex: 1;
	max-width: 180px;
	background: linear-gradient(to left, var(--roof), transparent);
}

.hero h1 {
	font-size: clamp(36px, 6.6vw, 80px);
	color: #fff;
	margin: 0 0 20px;
}
.hero h1 em { font-style: normal; color: #e8636e; }

.hero-sub {
	font-size: clamp(16.5px, 1.8vw, 20px);
	color: var(--on-navy-dim);
	max-width: 52ch;
	margin-bottom: clamp(24px, 3vw, 40px);
}

/* ---- הפיצול: שתי מדרגות על המדרון ---- */
.steps {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	max-width: 620px;
}
.stp {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 4px 16px;
	width: 100%;
	padding: 15px 21px;
	border: 1px solid rgba(159, 176, 204, .3);
	backdrop-filter: blur(8px);
	transition: transform .3s var(--ease), background .3s, border-color .3s;
}
.stp-sell { background: var(--roof); border-color: var(--roof); }
.stp-buy {
	margin-inline-start: clamp(28px, 4.4vw, 68px);
	margin-block-start: -1px;
	width: calc(100% - clamp(28px, 4.4vw, 68px));
	background: rgba(6, 14, 32, .5);
}
.stp:hover { transform: translateX(-6px); }
.stp-buy:hover { background: rgba(6, 14, 32, .78); border-color: var(--window); }

.stp-k {
	grid-column: 1;
	grid-row: 1 / 3;
	display: flex;
	align-items: center;
	align-self: stretch;
	font-family: var(--f-d);
	font-weight: 700;
	font-size: clamp(14px, 1.5vw, 17px);
	color: #fff;
	padding-inline-end: 17px;
	border-inline-end: 1px solid rgba(255, 255, 255, .25);
	white-space: nowrap;
}
.stp-t { grid-column: 2; grid-row: 1; font-weight: 600; font-size: clamp(14px, 1.45vw, 17px); color: #fff; }
.stp-s { grid-column: 2; grid-row: 2; font-size: clamp(11.5px, 1.15vw, 13.5px); color: rgba(255, 255, 255, .72); }
.stp-go { grid-column: 3; grid-row: 1 / 3; font-size: 19px; color: #fff; opacity: .7; transition: opacity .3s, transform .3s; }
.stp:hover .stp-go { opacity: 1; transform: translateX(-4px); }

@media (max-width: 620px) {
	.stp { grid-template-columns: 1fr auto; padding: 13px 16px; }
	.stp-k { grid-column: 1; grid-row: 1; border: 0; padding: 0; font-size: 12.5px; opacity: .85; }
	.stp-t { grid-column: 1; grid-row: 2; }
	.stp-s { grid-column: 1; grid-row: 3; }
	.stp-go { grid-row: 1 / 4; }
	.stp-buy { margin-inline-start: 18px; width: calc(100% - 18px); }
}

/* ============ 6. סקשן ============ */
.sec { padding-block: clamp(58px, 7.5vw, 104px); position: relative; }
.sec-tint { background: var(--ground-2); }
.sec-dark { background: var(--navy-deep); color: var(--on-navy); }
.sec-dark h2 { color: #fff; }
.sec-dark .sec-hd p { color: var(--on-navy-dim); }

.sec-hd {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 28px;
	margin-bottom: clamp(26px, 3.6vw, 46px);
	flex-wrap: wrap;
}
.sec-hd h2 { font-size: clamp(27px, 4vw, 48px); }
.sec-hd p { color: var(--slope); max-width: 46ch; margin-top: 11px; font-size: 16.5px; }

/* ============ 7. כרטיס נכס ============ */
.cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
	gap: clamp(16px, 2.1vw, 28px);
}

.card {
	background: var(--raise);
	border: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--navy); }

.card-fig { position: relative; aspect-ratio: 19 / 14; overflow: hidden; background: var(--ground-2); }
.card-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-fig img { transform: scale(1.05); }

/* מסכת הגמלון: זווית הגג מהלוגו, חוזרת בכל תמונה באתר */
.card-fig::after {
	content: '';
	position: absolute;
	inset-inline: 0;
	inset-block-end: -1px;
	height: 24px;
	background: var(--raise);
	clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.card-badge {
	position: absolute;
	inset-block-start: 11px;
	inset-inline-start: 11px;
	background: rgba(6, 14, 32, .72);
	color: #fff;
	font-size: 12px;
	padding: 4px 9px;
}
.card-type {
	position: absolute;
	inset-block-start: 11px;
	inset-inline-end: 11px;
	background: var(--raise);
	color: var(--navy);
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
}
.card-sold {
	position: absolute;
	inset-block-start: 14px;
	inset-inline-end: 14px;
	font-family: var(--f-d);
	font-weight: 800;
	font-size: 14px;
	color: #fff;
	background: var(--roof);
	padding: 5px 14px;
	letter-spacing: .05em;
	transform: rotate(-3deg);
	box-shadow: 0 4px 14px rgba(180, 34, 46, .4);
}

.card-body { padding: 16px 18px 4px; flex: 1; }
.card-where {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--slope);
	margin-bottom: 6px;
}
.pin {
	width: 7px; height: 7px;
	border-radius: 50%;
	background: var(--window);
	flex: none;
	box-shadow: 0 0 0 3px color-mix(in oklab, var(--window) 22%, transparent);
}
.card-price {
	font-family: var(--f-d);
	font-weight: 800;
	font-size: 28px;
	color: var(--roof);
	letter-spacing: -.02em;
	line-height: 1.15;
	font-variant-numeric: tabular-nums;
}

.chips { display: flex; margin-top: 14px; border-block: 1px solid var(--line); }
.chip { flex: 1; padding: 9px 3px; text-align: center; border-inline-start: 1px solid var(--line); }
.chip:first-child { border-inline-start: 0; }
.chip b { display: block; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.chip span { font-size: 11.5px; color: var(--slope); }

.card-link {
	display: block;
	padding: 14px 18px;
	margin-top: 16px;
	font-weight: 600;
	font-size: 15px;
	color: var(--navy);
	border-top: 1px solid var(--line);
	transition: background .25s, color .25s;
}
.card:hover .card-link { background: var(--navy); color: #fff; }

/* ============ 8. סוכנים ============ */
.agents { display: grid; grid-template-columns: repeat(auto-fill, minmax(195px, 1fr)); gap: clamp(13px, 1.7vw, 20px); }
.agent { background: var(--raise); border: 1px solid var(--line); padding-bottom: 15px; transition: transform .35s, border-color .35s; }
.agent:hover { transform: translateY(-5px); border-color: var(--navy); }
.agent-fig { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ground-2); }
.agent-fig img { width: 100%; height: 100%; object-fit: cover; object-position: top center; filter: grayscale(1) contrast(1.04); transition: filter .5s, transform .7s; }
.agent:hover .agent-fig img { filter: grayscale(0); transform: scale(1.04); }
.agent-fig::after {
	content: '';
	position: absolute;
	inset-inline: 0;
	inset-block-end: -1px;
	height: 19px;
	background: var(--raise);
	clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.agent h3 { font-size: 18px; padding: 9px 15px 2px; }
.agent-meta { font-size: 12.5px; color: var(--slope); padding-inline: 15px; }
.agent-act { display: flex; gap: 6px; padding: 11px 15px 0; flex-wrap: wrap; }
.mini {
	font-size: 13px;
	font-weight: 600;
	padding: 6px 10px;
	border: 1px solid var(--line);
	color: var(--navy);
	transition: background .22s, color .22s, border-color .22s;
	font-variant-numeric: tabular-nums;
}
.mini:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.mini-wa { border-color: #1fa855; color: #1fa855; }
.mini-wa:hover { background: #1fa855; color: #fff; }

/* ============ 9. וואטסאפ צף ============ */
.wafab {
	position: fixed;
	inset-block-end: 22px;
	inset-inline-start: 22px;
	z-index: 80;
	width: 55px; height: 55px;
	border-radius: 50%;
	background: #1fa855;
	display: grid;
	place-items: center;
	box-shadow: 0 8px 26px rgba(31, 168, 85, .42);
	transition: transform .28s;
}
.wafab:hover { transform: scale(1.09); }
.wafab svg { width: 28px; height: 28px; fill: #fff; }

/* ============ 10. פוטר ============ */
.ft {
	background: var(--navy-deep);
	color: var(--on-navy);
	position: relative;
	overflow: hidden;
	padding-block: clamp(52px, 6.5vw, 82px) 0;
}
.ft-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: clamp(24px, 4vw, 58px);
	padding-bottom: clamp(46px, 5.5vw, 74px);
}
.ft h4 { font-family: var(--f-d); font-weight: 600; font-size: 16px; color: #fff; margin: 0 0 14px; }
.ft ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.ft li a { font-size: 15px; color: var(--on-navy-dim); transition: color .22s; }
.ft li a:hover { color: var(--window); }
.ft-lead { font-family: var(--f-d); font-weight: 700; font-size: clamp(21px, 2.5vw, 29px); color: #fff; line-height: 1.25; margin-bottom: 15px; }
.ft-note { font-size: 14.5px; color: var(--on-navy-dim); max-width: 40ch; margin-bottom: 20px; }
.ft-micro { font-size: 13.5px; color: var(--on-navy-dim); margin-top: 12px; }
.ft-btm {
	border-top: 1px solid rgba(159, 176, 204, .16);
	padding-block: 18px;
	display: flex;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	font-size: 13px;
	color: var(--on-navy-dim);
	position: relative;
	z-index: 2;
}
#ftSea { position: absolute; inset-inline: 0; inset-block-end: 0; width: 100%; height: 120px; pointer-events: none; opacity: .45; }

.xlinks { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 1px; background: rgba(159, 176, 204, .18); }
.xlink { background: var(--navy-deep); padding: 20px; transition: background .3s; }
.xlink:hover { background: var(--navy); }
.xlink b { display: block; font-family: var(--f-d); font-size: 19px; color: #fff; margin-bottom: 4px; }
.xlink span { font-size: 13px; color: var(--on-navy-dim); }

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

/* ============ 11. חשיפה בגלילה ============ */
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.is-in {
	opacity: 1;
	transform: none;
	transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms);
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
	.reveal { opacity: 1; transform: none; }
	.hero canvas, .hero-ph { transform: none !important; }
}

/* ============ 12. מדרגה בין סקשנים ============
   מוגדר בסוף בכוונה: חייב לנצח את ה-padding של .sec ושל .ft,
   ולשלושתם אותה ספציפיות. */
.step-dn {
	clip-path: polygon(0 var(--step), 100% 0, 100% 100%, 0 100%);
	margin-block-start: calc(var(--step) * -1);
	padding-block-start: calc(var(--step) + clamp(38px, 4.6vw, 66px));
}
.step-up {
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--step)), 0 100%);
	padding-block-end: calc(var(--step) + clamp(38px, 4.6vw, 66px));
}

/* ============ 13. עמודי תוכן ============ */
.ab-page { max-width: 78ch; }
.page-hd { margin-bottom: clamp(22px, 3vw, 36px); }
.page-hd h1 { font-size: clamp(30px, 4.4vw, 52px); }
.page-fig { margin: 0 0 clamp(24px, 3vw, 40px); }
.page-fig img { width: 100%; }

.prose { font-size: 17.5px; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(23px, 2.8vw, 32px); margin-top: 1.8em; }
.prose h3 { font-size: clamp(19px, 2.2vw, 24px); margin-top: 1.5em; }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--roof); border-bottom: 1px solid currentColor; }
.prose img { margin-block: 1.4em; }
.prose blockquote {
	margin: 1.6em 0;
	padding-inline-start: 20px;
	border-inline-start: 3px solid var(--roof);
	font-size: 19px;
	color: var(--slope);
}

/* ============ 14. עמודה, ריק ופיג'ינציה ============ */
.ab-empty { color: var(--slope); font-size: 17px; }

.card-title { font-size: 17px; font-weight: 600; margin: 4px 0 8px; line-height: 1.35; }

.pagination { margin-top: clamp(30px, 4vw, 50px); }
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.pagination .page-numbers {
	display: inline-block;
	min-width: 42px;
	padding: 9px 12px;
	text-align: center;
	background: var(--raise);
	border: 1px solid var(--line);
	font-weight: 600;
	font-size: 15px;
	font-variant-numeric: tabular-nums;
	transition: background .22s, color .22s, border-color .22s;
}
.pagination .page-numbers:hover { border-color: var(--navy); }
.pagination .page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }

.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 3vw, 46px); }
.stat { border-inline-start: 1px solid var(--line); padding-inline-start: 20px; }
.stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stat b {
	display: block;
	font-family: var(--f-d);
	font-weight: 800;
	font-size: clamp(34px, 4.8vw, 60px);
	line-height: 1;
	color: var(--navy);
	letter-spacing: -.03em;
	font-variant-numeric: tabular-nums;
}
.stat i { display: block; font-style: normal; font-size: 15px; font-weight: 600; margin-top: 8px; }
.stat span { display: block; margin-top: 3px; font-size: 13px; color: var(--slope); }

@media (max-width: 760px) {
	.proof-grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
	.stat:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
}

/* ============ 15. עמוד נכס ============ */
.prop-gal { margin-top: 72px; }
.prop-gal-main { position: relative; margin: 0; }
.prop-gal-main img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.prop-gal-rest {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2px;
	margin-top: 2px;
}
.prop-gal-rest figure { position: relative; margin: 0; overflow: hidden; }
.prop-gal-rest img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.prop-gal-rest figure:hover img { transform: scale(1.05); }
.prop-gal-more {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background: rgba(6, 14, 32, .68);
	color: #fff;
	font-family: var(--f-d);
	font-weight: 600;
	font-size: 15px;
}
@media (max-width: 700px) { .prop-gal-rest { grid-template-columns: repeat(2, 1fr); } }

.prop-grid {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: clamp(26px, 4vw, 56px);
	align-items: start;
}
@media (max-width: 940px) { .prop-grid { grid-template-columns: 1fr; } }

.prop-title { font-size: clamp(27px, 3.8vw, 46px); margin-bottom: 14px; }
.prop-price {
	font-family: var(--f-d);
	font-weight: 800;
	font-size: clamp(30px, 4vw, 44px);
	color: var(--roof);
	letter-spacing: -.02em;
	font-variant-numeric: tabular-nums;
	margin-bottom: 26px;
}

.prop-specs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	margin: 0 0 clamp(24px, 3vw, 38px);
}
.prop-specs > div { background: var(--raise); padding: 14px 12px; text-align: center; }
.prop-specs dt { font-size: 12px; color: var(--slope); margin-bottom: 4px; }
.prop-specs dd { margin: 0; font-family: var(--f-d); font-weight: 700; font-size: 21px; }

.prop-h2 { font-size: clamp(21px, 2.5vw, 28px); margin: clamp(30px, 4vw, 46px) 0 16px; }

.prop-feats { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.prop-feats li {
	font-size: 14px;
	color: var(--ink);
	background: var(--raise);
	border: 1px solid var(--line);
	padding: 7px 14px;
}

.prop-addr { color: var(--slope); font-size: 15.5px; margin-bottom: 14px; }

.prop-side { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 940px) { .prop-side { position: static; } }

.prop-card { background: var(--raise); border: 1px solid var(--line); padding: 20px; }
.prop-card-quiet { background: transparent; }
.prop-card-k { font-size: 12px; letter-spacing: .14em; color: var(--slope); font-weight: 700; margin-bottom: 12px; }
.prop-card-v { font-family: var(--f-d); font-weight: 600; font-size: 19px; }

.prop-agent { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.prop-agent img { width: 56px; height: 56px; object-fit: cover; object-position: top center; flex: none; }
.prop-agent b { display: block; font-family: var(--f-d); font-weight: 600; font-size: 17px; }
.prop-agent i { font-style: normal; font-size: 13px; color: var(--slope); }

.prop-btn { display: block; width: 100%; text-align: center; margin-bottom: 8px; }
.prop-btn-wa { background: #1fa855; color: #fff; }
.prop-btn-wa:hover { background: #178546; }
.prop-card-note { font-size: 13px; color: var(--slope); margin-top: 4px; }

/* ============ 16. מפה ============ */
.ab-map { width: 100%; background: var(--ground-2); border: 1px solid var(--line); z-index: 1; }
.ab-pin-wrap { background: none; border: 0; }
.ab-pin {
	display: block;
	width: 18px; height: 18px;
	border-radius: 50%;
	background: color-mix(in oklab, var(--window) 24%, transparent);
	display: grid;
	place-items: center;
}
.ab-pin i {
	width: 9px; height: 9px;
	border-radius: 50%;
	background: var(--window);
	box-shadow: 0 0 0 2px rgba(255, 255, 255, .9);
	display: block;
}
.ab-pin-sold { background: color-mix(in oklab, var(--roof) 24%, transparent); }
.ab-pin-sold i { background: var(--roof); }

.ab-pop { display: flex; gap: 10px; align-items: center; min-width: 180px; }
.ab-pop-img img { width: 62px; height: 62px; object-fit: cover; }
.ab-pop-area { display: block; font-size: 12px; color: var(--slope); }
.ab-pop-price { display: block; font-family: var(--f-d); font-weight: 700; font-size: 17px; color: var(--roof); }
.ab-pop-spec { display: block; font-size: 12.5px; color: var(--slope); }
.leaflet-popup-content { margin: 10px 12px; }
.leaflet-container { font-family: var(--f-b); }

/* ============ 17. עמוד סוכן ============ */
.agent-hero { padding-top: calc(72px + clamp(40px, 5vw, 70px)); }
.agent-top { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 52px); align-items: start; }
@media (max-width: 820px) { .agent-top { grid-template-columns: 1fr; } }
.agent-top-fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center; }
.agent-top-b h1 { font-size: clamp(30px, 4.2vw, 50px); margin-bottom: 8px; }
.agent-role { font-family: var(--f-d); font-weight: 500; font-size: 19px; color: var(--roof); margin-bottom: 10px; }
.agent-facts { color: var(--slope); font-size: 15.5px; margin-bottom: 20px; }
.agent-bio { margin-bottom: 24px; }
.agent-cta { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 16px; }
.agent-lic { font-size: 13px; color: var(--slope); }
