/* ==========================================================================
   Commercial service pages ("מסחר עסקי"; first: "הסכמי מייסדים ושותפויות", /founders-agreements/).
   Built by tools/build-service-business.php from the client's reference "עמוד שירות מסחרי – טמפלייט"
   (2026-10-08: 1172px box, 24px padding), redrawn with the site's globals. On top of service.css (service
   bar, tag box) and pages.css (content box, Display XL headings, heading row, snake buttons).
   Loaded on pages with `av-sc-…` sections and in the Elementor preview (inc/pages.php).
   Breakpoints: ≥1024 desktop · 768–1023 tablet · <768 phones (Elementor tablet = 1023).
   ========================================================================== */
.av-sc-hero.e-con,
.av-sc-say.e-con,
.av-sc-ch.e-con,
.av-sc-clauses.e-con,
.av-sc-steps.e-con,
.av-sc-faq.e-con,
.av-sc-more.e-con,
.av-sc-cta.e-con {
	--g: max(24px, 5vw);
	--av-sc-bronze: #8A7350; /* the mockup's dark gold for labels and accents on light grounds */
	position: relative;
	display: block;
	overflow: hidden;
}

.av-sc-accent {
	color: var(--av-sc-bronze);
}

.av-sc-gold {
	color: var(--e-global-color-primary);
}

/* Service bar: the current tab is cream, so it opens onto the cream hero (client, 2026-10-09; on the
   real-estate pages it's gold, like their gold hero). */
.av-sv-nav .av-snav__item.is-current,
.av-sv-nav .av-snav__item.is-current:hover {
	background: var(--e-global-color-secondary);
	color: var(--e-global-color-accent);
}

.av-sv-nav .av-snav__item.is-current .av-snav__n {
	color: var(--av-sc-bronze, #8A7350);
}

/* Section headings (Display XL via pages.css) keep their size; only the spacing of the reference. */
.av-sc-ch .elementor-heading-title,
.av-sc-cell .elementor-heading-title,
.av-sc-step .elementor-heading-title,
.av-sc-more .elementor-heading-title,
.av-sc-cta .elementor-heading-title,
.av-sc-doc .elementor-heading-title,
.av-sc-say .elementor-heading-title,
.av-sc-h1 .elementor-heading-title {
	margin: 0;
}

/* --------------------------------------------------------------------------
   1. Hero (cream): copy on the right, the "document" on the left, BUSINESS underneath
   -------------------------------------------------------------------------- */
.av-sc-hero.e-con > .av-sc-hero__wm {
	left: -24px;
	bottom: -0.24em;
	font-size: clamp(130px, 23vw, 340px);
	letter-spacing: -6px;
}

.e-con.av-sc-hero__in {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	gap: 64px 72px;
	padding-block: 88px 112px;
}

.e-con.av-sc-hero__copy {
	display: flex;
	flex: 1 1 520px;
	flex-direction: column;
	align-items: flex-start;
	gap: 32px;
	min-width: 0;
}

.av-sc-h1 {
	--e-global-typography-primary-font-size: clamp(56px, 8.6vw, 128px);
	--e-global-typography-primary-line-height: 0.88em;
	--e-global-typography-primary-letter-spacing: -2.4px;
}

.av-sc-h1 .elementor-heading-title {
	text-wrap: balance;
}

.av-sc-hero__copy > .av-sc-hero__lead {
	--e-global-typography-text-font-size: 22px;
	--e-global-typography-text-line-height: 30px;
	max-width: 500px;
	text-wrap: pretty;
}

.av-sc-hero__btns .av-pg-btn .elementor-button {
	padding: 16px 20px;
	font-size: 18px;
	line-height: 16px;
}

.av-sc-down {
	margin-inline-start: 6px;
	color: var(--e-global-color-primary);
}

/* The document: an ink sheet behind a tilted white page with a gold top edge and a stamp. Every text on
   it is a widget the client edits per service (2026-10-09); the clause numbers (counter) and the grey
   lines under each clause are CSS. */
.e-con.av-sc-doc {
	position: relative;
	display: block;
	flex: 0 1 420px;
	min-width: 0;
	height: 500px;
}

.e-con.av-sc-doc::before {
	content: "";
	position: absolute;
	inset: 24px 8px 0 40px;
	background: var(--e-global-color-accent);
	transform: rotate(4deg);
}

.e-con.av-sc-doc__paper {
	position: absolute;
	inset: 0 32px 24px 16px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: auto;
	padding: 30px 32px;
	border-top: 10px solid var(--e-global-color-primary);
	box-shadow: 0 24px 48px rgba(22, 23, 26, 0.14);
	transform: rotate(-3deg);
	counter-reset: av-clause;
}

.av-sc-doc__title {
	--e-global-typography-primary-font-size: 26px;
	--e-global-typography-primary-line-height: 1.1em;
	--e-global-typography-primary-letter-spacing: -0.8px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--e-global-color-avline1);
}

/* A clause: "1." + its text, two grey lines underneath (each clause its own lengths). */
.av-sc-doc__paper > .av-sc-doc__clause {
	--e-global-typography-text-font-size: 15px;
	--e-global-typography-text-line-height: 20px;
	--w1: 82%;
	--w2: 64%;
	padding-bottom: 32px;
	background:
		linear-gradient(#E8E3D9, #E8E3D9) right 0 bottom 16px / var(--w1) 7px no-repeat,
		linear-gradient(#E8E3D9, #E8E3D9) right 0 bottom 0 / var(--w2) 7px no-repeat;
	counter-increment: av-clause;
}

.av-sc-doc__paper > .av-sc-doc__clause:nth-child(3n + 1) {
	--w1: 90%;
	--w2: 48%;
}

.av-sc-doc__paper > .av-sc-doc__clause:nth-child(3n + 2) {
	--w1: 72%;
	--w2: 56%;
}

.av-sc-doc__clause .elementor-heading-title {
	display: flex;
	align-items: baseline;
	gap: 10px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.av-sc-doc__clause .elementor-heading-title::before {
	content: counter(av-clause) ".";
	flex: 0 0 auto;
	color: var(--av-sc-bronze, #8A7350);
	font-family: var(--e-global-typography-primary-font-family), Arial, sans-serif;
	font-weight: 700;
	font-size: 14px;
	line-height: 1;
}

.e-con.av-sc-doc__sign {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin-top: auto;
	padding-top: 20px;
}

.av-sc-doc__party {
	--e-global-typography-text-font-size: 13px;
	--e-global-typography-text-line-height: 1.3em;
	--e-global-color-avbody2: #6B5A3D;
	padding-top: 6px;
	border-top: 1.5px solid var(--e-global-color-accent);
}

.av-sc-doc__paper > .av-sc-doc__stamp {
	--e-global-typography-primary-font-size: 12px;
	--e-global-typography-primary-line-height: 1em;
	--e-global-typography-primary-letter-spacing: 2px;
	position: absolute;
	left: 22px;
	bottom: 74px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 76px;
	box-sizing: border-box;
	border: 2px solid var(--e-global-color-primary);
	direction: ltr;
	transform: rotate(-12deg);
}

.av-sc-doc__stamp .elementor-heading-title {
	text-align: center;
}

/* A photo instead: an Image widget dropped into the paper covers it (the gold edge stays). */
.av-sc-doc__paper > .elementor-widget-image {
	position: absolute;
	inset: 0;
	z-index: 2;
}

.av-sc-doc__paper > .elementor-widget-image :is(a, img) {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

/* --------------------------------------------------------------------------
   2. Statement (ink)
   -------------------------------------------------------------------------- */
.e-con.av-sc-say__in {
	padding-block: 104px;
}

.av-sc-say__in > .av-sc-say__text {
	--e-global-typography-primary-font-size: clamp(40px, 6.4vw, 92px);
	--e-global-typography-primary-line-height: 0.95em;
	--e-global-typography-primary-letter-spacing: -2px;
}

.av-sc-say__text .elementor-heading-title {
	text-wrap: balance;
}

/* Quotation marks (client, 2026-10-09). */
.av-sc-q {
	color: var(--e-global-color-primary);
}

/* --------------------------------------------------------------------------
   3. Chapters "סעיף 1–3" (redrawn 2026-10-09, client: "looks pretty bad"): an outline gold number
   (counter: a duplicated chapter numbers itself), label and title in a sticky column, the text beside
   it, a gold line between them that fills while the chapter scrolls by (service.js sets --p), thin
   lines between the chapters, and the AGREEMENT word down the right margin (like STORY on About).
   -------------------------------------------------------------------------- */
.av-sc-ch.e-con {
	overflow: clip; /* not hidden: that would make the section a scroll box and stop the sticky titles */
}

.av-sc-ch.e-con > .av-sc-ch__wm {
	top: 96px;
	right: -0.16em;
	color: var(--e-global-color-secondary);
	font-size: clamp(110px, 12vw, 200px);
	letter-spacing: 6px;
	writing-mode: vertical-rl;
}

.e-con.av-sc-ch__in {
	display: flex;
	flex-direction: column;
	padding-block: 128px 120px;
	counter-reset: av-ch;
}

.e-con.av-sc-ch__row {
	--side: 340px;
	--line: calc(var(--side) + 56px); /* from the right edge: the side column + half the gap */
	position: relative;
	display: flex;
	flex-flow: row nowrap;
	align-items: flex-start;
	gap: 32px 112px;
	padding-block: 80px;
	border-top: 1px solid var(--e-global-color-avline1);
	background: linear-gradient(var(--e-global-color-avline1), var(--e-global-color-avline1)) right var(--line) top 80px / 1px calc(100% - 160px) no-repeat;
	counter-increment: av-ch;
}

.e-con.av-sc-ch__row:first-child {
	padding-top: 0;
	border-top: 0;
	background-position: right var(--line) top 0;
	background-size: 1px calc(100% - 80px);
}

.e-con.av-sc-ch__row:last-child {
	padding-bottom: 0;
	background-size: 1px calc(100% - 80px);
}

.e-con.av-sc-ch__row:first-child:last-child {
	background-size: 1px 100%;
}

.e-con.av-sc-ch__row::after {
	content: "";
	position: absolute;
	top: 80px;
	bottom: 80px;
	right: calc(var(--line) - 0.5px);
	width: 2px;
	background: var(--e-global-color-primary);
	transform: scaleY(var(--p, 0));
	transform-origin: top;
}

.e-con.av-sc-ch__row:first-child::after {
	top: 0;
}

.e-con.av-sc-ch__row:last-child::after {
	bottom: 0;
}

.e-con.av-sc-ch__side {
	position: sticky;
	top: 117px; /* under the 77px header */
	display: flex;
	flex: 0 0 var(--side);
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}

/* ::after, not ::before: Elementor styles every container's ::before as its background overlay. */
.e-con.av-sc-ch__side::after {
	content: counter(av-ch, decimal-leading-zero);
	order: -1;
	margin-bottom: 20px;
	color: transparent;
	font-family: var(--e-global-typography-primary-font-family), Arial, sans-serif;
	font-weight: 700;
	font-size: 150px;
	line-height: 0.76;
	letter-spacing: -4px;
	-webkit-text-stroke: 1.5px var(--e-global-color-primary);
	direction: ltr;
	text-align: right;
}

.e-con.av-sc-ch__body {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	gap: 28px;
	min-width: 0;
}

.av-sc-ch__label {
	--e-global-typography-primary-font-size: 18px;
	--e-global-typography-primary-line-height: 1.2em;
	--e-global-typography-primary-letter-spacing: 0px;
	--e-global-color-text: var(--av-sc-bronze);
}

.av-sc-ch__title {
	--e-global-typography-primary-font-size: clamp(44px, 4.4vw, 64px);
	--e-global-typography-primary-line-height: 0.92em;
	--e-global-typography-primary-letter-spacing: -1.6px;
}

.av-sc-ch__lead {
	--e-global-typography-primary-font-size: clamp(26px, 2.6vw, 36px);
	--e-global-typography-primary-line-height: 1.12em;
	--e-global-typography-primary-letter-spacing: -1px;
}

.av-sc-ch__lead .elementor-heading-title {
	text-wrap: pretty;
}

.av-sc-ch__body > .av-sc-ch__text {
	--e-global-typography-text-font-size: 21px;
	--e-global-typography-text-line-height: 32px;
	max-width: 640px;
	text-wrap: pretty;
}

.av-pg-in .av-sc-ch__text p + p {
	margin-top: 28px;
}

@media (prefers-reduced-motion: reduce) {
	.e-con.av-sc-ch__row::after {
		transform: none;
	}
}

/* --------------------------------------------------------------------------
   4. "מה ההסכם מסדיר." (#clauses): a 3 × 2 table of cells on 1px lines
   -------------------------------------------------------------------------- */
.e-con.av-sc-clauses__in {
	display: flex;
	flex-direction: column;
	gap: 56px;
	padding-block: 112px 120px;
}

.av-sc-clauses__in > .av-pg-head {
	width: 100%;
}

.e-con.av-sc-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	border: 1px solid var(--e-global-color-avline1);
	background: var(--e-global-color-avline1);
}

.e-con.av-sc-cell {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-height: 230px;
	padding: 36px 32px;
}

.av-sc-cell > .av-sc-cell__num {
	color: var(--av-sc-bronze);
	font-family: var(--e-global-typography-primary-font-family), Arial, sans-serif;
	font-weight: 700;
	font-size: 18px;
	line-height: 1.2;
}

.av-sc-cell--gold > .av-sc-cell__num {
	color: var(--e-global-color-accent);
}

.av-sc-cell--ink > .av-sc-cell__num {
	color: var(--e-global-color-primary);
}

.av-sc-cell > .av-sc-cell__title {
	--e-global-typography-avheadm-font-size: 32px;
	--e-global-typography-avheadm-line-height: 1em;
	--e-global-typography-avheadm-letter-spacing: -1px;
	margin-top: auto;
}

.av-sc-cell > .av-sc-cell__text {
	--e-global-typography-text-font-size: 18px;
	--e-global-typography-text-line-height: 26px;
	text-wrap: pretty;
}

/* Hover (client, 2026-10-09: "something interesting"): ink rises from the bottom of the cell (gold on
   the ink cell), the texts turn over to the new ground and the title lifts. Mouse only. */
.av-sc-clauses.e-con {
	--av-sc-ink: var(--e-global-color-accent);
	--av-sc-gold: var(--e-global-color-primary);
	--av-sc-cream: var(--e-global-color-secondary);
}

.e-con.av-sc-cell {
	position: relative;
	isolation: isolate;
}

.e-con.av-sc-cell::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--av-sc-ink);
	transform: scaleY(0);
	transform-origin: bottom;
	transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}

.e-con.av-sc-cell--ink::after {
	background: var(--av-sc-gold);
}

.av-sc-cell > .elementor-element {
	transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}

.av-sc-cell .elementor-heading-title,
.av-sc-cell .av-sc-cell__text,
.av-sc-cell > .av-sc-cell__num {
	transition: color 0.35s ease 0.1s;
}

@media (hover: hover) {
	.e-con.av-sc-cell:hover::after {
		transform: scaleY(1);
	}

	.e-con.av-sc-cell:hover > .av-sc-cell__title {
		transform: translateY(-6px);
	}

	.e-con.av-sc-cell:not(.av-sc-cell--ink):hover {
		--e-global-color-accent: var(--av-sc-cream);
		--e-global-color-avbody2: rgba(245, 242, 236, 0.8);
	}

	.e-con.av-sc-cell:not(.av-sc-cell--ink):hover > .av-sc-cell__num {
		color: var(--av-sc-gold);
	}

	.e-con.av-sc-cell--ink:hover {
		--e-global-color-secondary: var(--av-sc-ink);
	}

	.e-con.av-sc-cell--ink:hover > .av-sc-cell__num {
		color: var(--av-sc-ink);
	}
}

@media (prefers-reduced-motion: reduce) {
	.e-con.av-sc-cell::after,
	.av-sc-cell > .elementor-element {
		transition: none;
	}
}

/* --------------------------------------------------------------------------
   5. Process (gold): four connected steps, the last one ink
   -------------------------------------------------------------------------- */
.av-sc-steps.e-con > .av-sc-steps__wm {
	left: 50%;
	bottom: -0.21em;
	color: #B8A280;
	font-size: clamp(160px, 30vw, 430px);
	letter-spacing: 8px;
	transform: translateX(-50%);
}

.e-con.av-sc-steps__in {
	display: flex;
	flex-direction: column;
	gap: 56px;
	padding-block: 104px 112px;
}

.av-sc-steps__in > .av-sc-steps__title {
	--e-global-typography-primary-font-size: clamp(64px, 7vw, 100px);
}

.e-con.av-sc-steps__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.e-con.av-sc-step {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 28px;
}

/* The HTML widget has no inner wrapper with Elementor's optimized markup; both forms are covered. */
.av-sc-step__head,
.av-sc-step__head > .elementor-widget-container {
	display: flex;
	align-items: center;
	gap: 12px;
}

.av-sc-step__n {
	color: var(--e-global-color-primary);
	font-family: var(--e-global-typography-primary-font-family), Arial, sans-serif;
	font-weight: 700;
	font-size: 44px;
	line-height: 0.8;
}

.av-sc-step__line {
	flex: 1 1 auto;
	height: 2px;
	background: var(--e-global-color-accent);
}

.av-sc-step--ink .av-sc-step__line {
	background: var(--e-global-color-primary);
}

.av-sc-step > .av-sc-step__title {
	--e-global-typography-avheadm-font-size: 26px;
	--e-global-typography-avheadm-line-height: 1.05em;
	--e-global-typography-avheadm-letter-spacing: -0.8px;
}

.av-sc-step > .av-sc-step__text {
	--e-global-typography-text-font-size: 17px;
	--e-global-typography-text-line-height: 24px;
	text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   6. FAQ (Avitanslaw FAQ widget): copy on the right, the list in the home FAQ's colours (client,
   2026-10-09): gold "Body 25" questions, thin gold chevrons, light lines between the questions.
   -------------------------------------------------------------------------- */
.e-con.av-sc-faq__in {
	display: flex;
	flex-flow: row nowrap;
	align-items: flex-start;
	gap: 48px 80px;
	padding-block: 112px;
}

.e-con.av-sc-faq__copy {
	display: flex;
	flex: 1 1 300px;
	flex-direction: column;
	gap: 28px;
	min-width: 0;
}

.av-sc-faq__copy > .av-pg-lead {
	max-width: 320px;
}

.av-sc-faq__in > .av-sc-faq__list {
	flex: 2 1 480px;
	min-width: 0;
}

.av-sc-faq__list .av-acc__item + .av-acc__item {
	border-top: 1px solid rgba(28, 29, 31, 0.18);
}

/* faq.js animates the item height between measured sizes, so the question keeps its padding in both
   states; the answer is pulled up instead (as on the home). */
.av-sc-faq__list .av-acc__q {
	align-items: flex-start;
	gap: 24px;
	padding: 26px 0;
	color: var(--e-global-color-primary);
	transition: color 0.2s ease;
}

/* Polin "Body 25" (bold emulated in style.css with the home FAQ questions). */
.av-sc-faq__list .av-acc__title {
	margin: 0;
	color: inherit;
	font-family: var(--e-global-typography-avbodyb-font-family), Arial, sans-serif;
	font-size: var(--e-global-typography-avbodyb-font-size);
	line-height: var(--e-global-typography-avbodyb-line-height);
	letter-spacing: normal;
	text-align: right;
}

.av-sc-faq__list .av-acc__q::after {
	content: "";
	flex: 0 0 auto;
	width: 10px;
	height: 10px;
	margin: 6px 0 0 6px;
	border-left: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	transform: rotate(-45deg);
	transition: transform 0.3s ease;
}

.av-sc-faq__list .av-acc__item[open] > .av-acc__q::after {
	transform: translateY(5px) rotate(135deg);
}

.av-sc-faq__list .av-acc__q:hover {
	color: var(--av-sc-bronze);
}

.av-sc-faq__list .av-acc__q:focus-visible {
	outline: 2px solid var(--e-global-color-primary);
	outline-offset: 2px;
}

.av-sc-faq__list .av-acc__a {
	padding: 0 0 26px;
}

.av-sc-faq__list .av-acc__text {
	max-width: 620px;
	margin-top: -10px;
	color: rgba(28, 29, 31, 0.82);
	font-size: 18px;
	line-height: 26px;
	text-align: right;
	text-wrap: pretty;
}

.av-sc-faq__list .av-acc__text p {
	margin: 0;
}

/* --------------------------------------------------------------------------
   7. On ink: the other commercial services (Service Nav "list") + articles
   -------------------------------------------------------------------------- */
.e-con.av-sc-more__in {
	display: flex;
	flex-flow: row nowrap;
	align-items: flex-start;
	gap: 64px 80px;
	padding-block: 104px 112px;
}

.e-con.av-sc-more__services {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	gap: 32px;
	min-width: 0;
}

.e-con.av-sc-more__reads {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	gap: 32px;
	min-width: 0;
}

.av-sc-more__label {
	--e-global-typography-avheadm-font-size: clamp(26px, 2.6vw, 36px);
	--e-global-typography-avheadm-line-height: 1em;
	--e-global-typography-avheadm-letter-spacing: -1px;
}

.av-sc-more__label .elementor-heading-title {
	display: inline-block;
	padding: 9px 12px 7px;
	background: var(--e-global-color-primary);
}

.av-sc-more__kicker {
	--e-global-typography-avbuttn-font-size: 18px;
	--e-global-typography-avbuttn-line-height: 52px;
}

.av-slist__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.av-slist__list > li:last-child .av-slist__item {
	border-bottom: 1px solid var(--e-global-color-avbody2);
}

.av-slist__item {
	display: flex;
	align-items: baseline;
	gap: 20px;
	padding: 16px 0;
	border-top: 1px solid var(--e-global-color-avbody2);
	color: var(--e-global-color-secondary);
	font-family: var(--e-global-typography-primary-font-family), Arial, sans-serif;
	font-weight: 700;
	transition: color 0.2s ease;
}

.av-slist__n {
	flex: 0 0 40px;
	color: var(--e-global-color-primary);
	font-size: 18px;
	line-height: 1;
}

.av-slist__t {
	flex: 1 1 auto;
	min-width: 0;
	font-size: clamp(26px, 3vw, 42px);
	line-height: 1.05;
	letter-spacing: -1.2px;
	text-wrap: pretty;
}

/* Arrow to the end side (left in RTL): the same gold line + chevron as the "next service" card. */
.av-slist__arrow {
	position: relative;
	flex: 0 0 auto;
	align-self: center;
	width: 34px;
	height: 12px;
	transition: transform 0.3s ease;
}

.av-slist__arrow::before,
.av-slist__arrow::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	background: var(--e-global-color-primary);
}

.av-slist__arrow::before {
	width: 100%;
	height: 1.6px;
	transform: translateY(-50%);
}

.av-slist__arrow::after {
	width: 7.3px;
	height: 12px;
	-webkit-mask: url("../img/icon-chevron.svg") no-repeat center / 100% 100%;
	mask: url("../img/icon-chevron.svg") no-repeat center / 100% 100%;
	transform: translateY(-50%);
}

/* Hover = the home services list (client, 2026-10-09): the name rolls letter by letter (each letter
   carries a copy of itself 1.5em below and moves up; each word clips its own copies, so names may wrap)
   and the circle-of-text cursor (cursor.css, service.js) replaces the mouse cursor. */
.av-slist__word {
	display: inline-block;
	clip-path: inset(-0.4em -0.15em -0.15em -0.15em);
}

.av-slist__l {
	display: inline-block;
	text-shadow: 0 1.5em 0 currentColor;
	transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
	transition-delay: calc(var(--i) * 18ms);
}

@media (hover: hover) {
	.av-slist__item:hover .av-slist__l,
	a.av-slist__item:focus-visible .av-slist__l {
		transform: translateY(-1.5em);
	}
}

@media (prefers-reduced-motion: reduce) {
	.av-slist__l {
		transition: none;
	}
}

a.av-slist__item:hover,
a.av-slist__item:focus-visible {
	color: var(--e-global-color-primary);
}

a.av-slist__item:hover .av-slist__arrow,
a.av-slist__item:focus-visible .av-slist__arrow {
	transform: translateX(-8px);
}

a.av-slist__item:focus-visible {
	outline: 2px solid var(--e-global-color-primary);
	outline-offset: 2px;
}

/* No page yet: listed, not a link, no arrow (it becomes a link when the menu item points at its page). */
.av-slist__item.is-soon {
	opacity: 0.55;
}

.av-slist__item.is-soon .av-slist__arrow {
	visibility: hidden;
}

/* Articles: the home knowledge card (Loop Grid of card #283, post-card.css), two side by side (client,
   2026-10-09). The card's white bar behind the title box takes the ink of this section. */
.av-sc-more__reads > .av-sc-more__grid {
	width: 100%;
}

.av-sc-more .av-post-card.e-con::after {
	background: var(--e-global-color-accent);
}

/* --------------------------------------------------------------------------
   8. Closing line (cream): "קודם מסכימים." + phone, email, button
   -------------------------------------------------------------------------- */
.e-con.av-sc-cta__in {
	display: flex;
	flex-flow: row wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 40px 64px;
	padding-block: 112px;
}

.e-con.av-sc-cta__copy {
	display: flex;
	flex: 1 1 420px;
	flex-direction: column;
	gap: 44px; /* room for the descenders of the tight Display XL lines ("כך") */
	min-width: 0;
}

.av-sc-cta__copy > .av-pg-lead {
	max-width: 440px;
}

.e-con.av-sc-cta__contact {
	display: flex;
	flex: 0 1 360px;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	min-width: 0;
}

.av-sc-cta__phone {
	--e-global-typography-primary-font-size: 34px;
	--e-global-typography-primary-line-height: 44px;
	--e-global-typography-primary-letter-spacing: 0px;
	/* Polin for the number (Futurism's 0 reads as an O), thickened like the site's other bold Polin. */
	--e-global-typography-primary-font-family: var(--e-global-typography-text-font-family);
	-webkit-text-stroke: 0.03em currentColor;
}

.av-sc-cta__mail {
	--e-global-typography-text-font-size: 20px;
	--e-global-typography-text-line-height: 44px;
}

.av-sc-cta__contact .elementor-heading-title {
	direction: ltr;
}

.av-sc-cta__contact .elementor-heading-title a:hover,
.av-sc-cta__contact .elementor-heading-title a:focus-visible {
	color: var(--av-sc-bronze);
}

.av-sc-cta__contact > .av-pg-btn {
	margin-top: 16px;
}

.av-sc-cta__contact .av-pg-btn .elementor-button {
	padding: 16px 20px;
	font-size: 18px;
	line-height: 16px;
}

/* ==========================================================================
   Tablet (768–1023)
   ========================================================================== */
@media (max-width: 1023px) {
	.e-con.av-sc-hero__in {
		flex-direction: column;
		align-items: stretch;
		gap: 56px;
		padding-block: 72px 96px;
	}

	.e-con.av-sc-hero__copy {
		flex: 0 0 auto;
	}

	.av-sc-h1 {
		--e-global-typography-primary-font-size: clamp(64px, 11vw, 104px);
	}

	.e-con.av-sc-doc {
		flex: 0 0 auto;
		align-self: center;
		width: min(420px, 100%);
		height: auto;
		aspect-ratio: 420 / 500;
	}

	.e-con.av-sc-say__in {
		padding-block: 88px;
	}

	.e-con.av-sc-ch__in {
		padding-block: 96px;
	}

	.e-con.av-sc-ch__row {
		--side: 230px;
		--line: calc(var(--side) + 32px);
		gap: 32px 64px;
	}

	.e-con.av-sc-ch__side {
		top: 108px; /* under the 68px header */
	}

	.e-con.av-sc-ch__side::after {
		margin-bottom: 12px;
		font-size: 110px;
		letter-spacing: -3px;
	}

	.av-sc-ch.e-con > .av-sc-ch__wm {
		font-size: 120px;
	}

	.av-sc-ch__body > .av-sc-ch__text {
		--e-global-typography-text-font-size: 20px;
		--e-global-typography-text-line-height: 30px;
	}

	.e-con.av-sc-clauses__in {
		gap: 48px;
		padding-block: 96px 104px;
	}

	.e-con.av-sc-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.e-con.av-sc-cell {
		min-height: 210px;
	}

	.e-con.av-sc-steps__in {
		gap: 48px;
		padding-block: 96px 104px;
	}

	.av-sc-steps__in > .av-sc-steps__title {
		--e-global-typography-primary-font-size: 82px;
	}

	.e-con.av-sc-steps__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.e-con.av-sc-faq__in {
		flex-direction: column;
		align-items: stretch;
		padding-block: 96px;
	}

	.e-con.av-sc-faq__copy,
	.av-sc-faq__in > .av-sc-faq__list {
		flex: 0 0 auto;
	}

	.av-sc-faq__copy > .av-pg-lead {
		max-width: 460px;
	}

	.e-con.av-sc-more__in {
		flex-direction: column;
		align-items: stretch;
		gap: 64px;
		padding-block: 96px;
	}

	.e-con.av-sc-more__services {
		flex: 0 0 auto;
	}

	/* Articles: the two cards side by side under the list. */
	.e-con.av-sc-more__reads {
		flex: 0 0 auto;
		gap: 24px;
	}

	.elementor.elementor .e-con.av-sc-more__reads > .av-sc-more__grid { /* beats Elementor's max-width: 100% */
		max-width: 620px;
	}

	.e-con.av-sc-cta__in {
		padding-block: 96px;
	}
}

/* ==========================================================================
   Phones (<768): one column.
   ========================================================================== */
@media (max-width: 767px) {
	.av-sc-hero.e-con,
	.av-sc-say.e-con,
	.av-sc-ch.e-con,
	.av-sc-clauses.e-con,
	.av-sc-steps.e-con,
	.av-sc-faq.e-con,
	.av-sc-more.e-con,
	.av-sc-cta.e-con {
		--g: max(24px, 6.2vw);
	}

	/* Under the document, never behind the text (client feedback on the About/Contact words, 2026-10-06). */
	.av-sc-hero.e-con > .av-sc-hero__wm {
		bottom: -0.2em;
		font-size: 150px;
		letter-spacing: -4px;
	}

	.e-con.av-sc-hero__in {
		gap: 48px;
		padding-block: 56px 72px;
	}

	.e-con.av-sc-hero__copy {
		gap: 24px;
	}

	.av-sc-h1 {
		--e-global-typography-primary-font-size: clamp(52px, 15vw, 76px);
		--e-global-typography-primary-letter-spacing: -1.6px;
	}

	.av-sc-hero__copy > .av-sc-hero__lead {
		--e-global-typography-text-font-size: 19px;
		--e-global-typography-text-line-height: 27px;
	}

	.e-con.av-sc-doc {
		width: min(340px, 100%);
	}

	.e-con.av-sc-doc__paper {
		inset: 0 26px 20px 12px;
		padding: 24px 24px 22px;
		gap: 12px;
	}

	.av-sc-doc__title {
		--e-global-typography-primary-font-size: 22px;
	}

	.av-sc-doc__title {
		padding-bottom: 12px;
	}

	.av-sc-doc__paper > .av-sc-doc__clause {
		--e-global-typography-text-font-size: 14px;
		--e-global-typography-text-line-height: 18px;
		padding-bottom: 28px;
		background-position: right 0 bottom 14px, right 0 bottom 0;
		background-size: var(--w1) 6px, var(--w2) 6px;
	}

	.av-sc-doc__paper > .av-sc-doc__stamp {
		--e-global-typography-primary-font-size: 10px;
		left: 16px;
		bottom: 62px;
		width: 64px;
		height: 64px;
	}

	.e-con.av-sc-say__in {
		padding-block: 72px;
	}

	.e-con.av-sc-ch__in {
		padding-block: 80px;
	}

	/* One column: number, label, title, text; no sticky column and no scroll line. */
	.e-con.av-sc-ch__row,
	.e-con.av-sc-ch__row:first-child,
	.e-con.av-sc-ch__row:last-child {
		flex-direction: column;
		gap: 24px;
		background: none;
	}

	.e-con.av-sc-ch__row {
		padding-block: 56px;
	}

	.e-con.av-sc-ch__row::after {
		content: none;
	}

	.e-con.av-sc-ch__side,
	.e-con.av-sc-ch__body {
		flex: 0 0 auto;
		width: 100%;
	}

	.e-con.av-sc-ch__side {
		position: static;
		gap: 10px;
	}

	.e-con.av-sc-ch__side::after {
		margin-bottom: 10px;
		font-size: 88px;
		letter-spacing: -2px;
		-webkit-text-stroke-width: 1.2px;
	}

	/* Down the left edge on phones (STORY on About), where the right-aligned lines end. */
	.av-sc-ch.e-con > .av-sc-ch__wm {
		top: 64px;
		right: auto;
		left: -0.18em;
		font-size: 100px;
		letter-spacing: 4px;
	}

	.e-con.av-sc-ch__body {
		gap: 20px;
	}

	.av-sc-ch__title {
		--e-global-typography-primary-font-size: 52px;
		--e-global-typography-primary-line-height: 0.9em;
	}

	.av-sc-ch__lead {
		--e-global-typography-primary-font-size: 28px;
	}

	.av-sc-ch__body > .av-sc-ch__text {
		--e-global-typography-text-font-size: 18px;
		--e-global-typography-text-line-height: 27px;
	}

	.av-pg-in .av-sc-ch__text p + p {
		margin-top: 20px;
	}

	.e-con.av-sc-clauses__in {
		gap: 40px;
		padding-block: 80px 88px;
	}

	.e-con.av-sc-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.e-con.av-sc-cell {
		min-height: 0;
		padding: 28px 24px;
	}

	.av-sc-cell > .av-sc-cell__title {
		--e-global-typography-avheadm-font-size: 28px;
		margin-top: 20px;
	}

	.av-sc-cell > .av-sc-cell__text {
		--e-global-typography-text-font-size: 17px;
		--e-global-typography-text-line-height: 25px;
	}

	.e-con.av-sc-steps__in {
		gap: 40px;
		padding-block: 80px 88px;
	}

	.av-sc-steps__in > .av-sc-steps__title {
		--e-global-typography-primary-font-size: 52px;
	}

	.e-con.av-sc-steps__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.e-con.av-sc-step {
		padding: 24px;
		gap: 12px;
	}

	.e-con.av-sc-faq__in {
		gap: 36px;
		padding-block: 80px;
	}

	.av-sc-faq__list .av-acc__q {
		gap: 16px;
		padding: 20px 0;
	}

	.av-sc-faq__list .av-acc__title {
		font-size: 20px;
		line-height: 26px;
	}

	.av-sc-faq__list .av-acc__a {
		padding-bottom: 20px;
	}

	.av-sc-faq__list .av-acc__text {
		margin-top: -6px;
		font-size: 17px;
		line-height: 25px;
	}

	.e-con.av-sc-more__in {
		gap: 56px;
		padding-block: 80px;
	}

	.e-con.av-sc-more__services {
		gap: 24px;
	}

	.av-slist__item {
		gap: 14px;
		padding: 14px 0;
	}

	.av-slist__n {
		flex-basis: 28px;
		font-size: 16px;
	}

	.av-slist__t {
		font-size: 26px;
		letter-spacing: -0.8px;
	}

	.e-con.av-sc-more__reads {
		gap: 16px;
	}

	.av-sc-more__kicker {
		--e-global-typography-avbuttn-line-height: 1.2em;
	}

	.elementor.elementor .e-con.av-sc-more__reads > .av-sc-more__grid { /* beats Elementor's max-width: 100% */
		max-width: 300px;
	}

	.e-con.av-sc-cta__in {
		flex-direction: column;
		align-items: stretch;
		gap: 36px;
		padding-block: 80px;
	}

	.e-con.av-sc-cta__copy,
	.e-con.av-sc-cta__contact {
		flex: 0 0 auto;
	}

	.e-con.av-sc-cta__copy {
		gap: 28px;
	}

	.av-sc-cta__phone {
		--e-global-typography-primary-font-size: 30px;
	}
}
