/* ==========================================================================
   Adi Valuation – main stylesheet (RTL-first)
   ========================================================================== */

:root {
	--ink: #0f0e0c;
	--ink-2: #1b1915;
	--ink-3: #26231e;
	--gold: #b8925a;
	--gold-light: #d8b97f;
	--gold-ink: #80602f;
	--ivory: #f6f1e8;
	--ivory-2: #efe7d9;
	--paper: #ffffff;
	--text: #1b1915;
	--muted: #5f5950;
	--muted-dark: #a9a296;
	--line: #e7dfd0;
	--line-dark: rgba(216, 185, 127, 0.18);
	--radius: 18px;
	--radius-sm: 10px;
	--shadow: 0 18px 50px -24px rgba(15, 14, 12, 0.35);
	--shadow-lg: 0 40px 90px -40px rgba(15, 14, 12, 0.55);
	--font-body: "Heebo", "Segoe UI", Arial, sans-serif;
	--font-display: "Frank Ruhl Libre", "David Libre", Georgia, serif;
	--wrap: 1240px;
	--gutter: clamp(1.1rem, 4vw, 2rem);
	--section: clamp(4rem, 9vw, 7.5rem);
	--header-h: 84px;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; } }
body {
	margin: 0;
	direction: rtl;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.75;
	color: var(--text);
	background: var(--paper);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}
img, video, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--gold-ink); text-underline-offset: 0.2em; }
a:hover { color: var(--ink); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--ink); margin: 0 0 0.6em; letter-spacing: -0.005em; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.av-skip { position: absolute; inset-inline-start: 1rem; top: -100px; z-index: 1000; background: var(--gold); color: var(--ink); padding: 0.7rem 1.2rem; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none; }
.av-skip:focus { top: 1rem; }
.av-main { outline: none; }
.av-container { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.av-icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: middle; }

/* ---------- Buttons ---------- */
.av-btn,
.wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
	min-height: 52px; padding: 0.8rem 1.6rem;
	border-radius: 999px; border: 1.5px solid transparent;
	font: 600 1rem/1.2 var(--font-body);
	text-decoration: none; cursor: pointer;
	transition: transform 0.25s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.av-btn:hover, .wp-block-button__link:hover { transform: translateY(-2px); }
.av-btn--gold, .wp-block-button__link, .is-style-gold .wp-block-button__link {
	background: linear-gradient(135deg, var(--gold-light), var(--gold));
	color: var(--ink); box-shadow: 0 10px 30px -12px rgba(184, 146, 90, 0.7);
}
.av-btn--gold:hover, .wp-block-button__link:hover { color: var(--ink); box-shadow: 0 16px 36px -12px rgba(184, 146, 90, 0.85); }
.av-btn--ghost, .is-style-ghost .wp-block-button__link { background: transparent; color: var(--ink); border-color: rgba(15, 14, 12, 0.25); box-shadow: none; }
.av-btn--ghost:hover, .is-style-ghost .wp-block-button__link:hover { border-color: var(--ink); color: var(--ink); }
.av-btn--ghost-light, .av-dark .is-style-ghost .wp-block-button__link, .is-style-dark .is-style-ghost .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); box-shadow: none; }
.av-btn--ghost-light:hover, .av-dark .is-style-ghost .wp-block-button__link:hover, .is-style-dark .is-style-ghost .wp-block-button__link:hover { border-color: var(--gold-light); color: var(--gold-light); }
.av-btn--link-light { color: var(--gold-light); padding-inline: 0.4rem; min-height: auto; }
.av-btn--link-light:hover { color: #fff; }
.av-btn--sm { min-height: 44px; padding: 0.55rem 1.2rem; font-size: 0.95rem; }
.av-btn--block { width: 100%; }
.av-btn .av-icon { width: 1.15em; height: 1.15em; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.wp-block-button { margin: 0; }

/* ---------- Header ---------- */
.av-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(15, 14, 12, 0.92);
	backdrop-filter: saturate(140%) blur(12px);
	-webkit-backdrop-filter: saturate(140%) blur(12px);
	border-bottom: 1px solid var(--line-dark);
	transition: box-shadow 0.3s;
}
.admin-bar .av-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .av-header { top: 0; } }
.av-header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(0, 0, 0, 0.8); }
.av-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.av-logo { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: #fff; flex: none; }
.av-logo__img { max-height: 58px; width: auto; }
.av-logo__mark { display: grid; place-items: center; width: 48px; height: 48px; border: 1.5px solid var(--gold); border-radius: 50%; font: 700 1.05rem/1 var(--font-display); letter-spacing: 0.08em; color: var(--gold-light); direction: ltr; }
.av-logo__txt { display: flex; flex-direction: column; line-height: 1.15; }
.av-logo__txt strong { font: 700 1.15rem/1.15 var(--font-display); color: #fff; }
.av-logo__txt small { font-size: 0.82rem; color: var(--gold-light); letter-spacing: 0.04em; }
.av-logo:hover { color: #fff; }

.av-nav { margin-inline-start: auto; }
.av-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.25rem; }
.av-nav__list a { display: block; padding: 0.55rem 0.8rem; color: #e9e4da; text-decoration: none; font-weight: 500; font-size: 0.98rem; border-radius: 8px; position: relative; }
.av-nav__list a::after { content: ""; position: absolute; inset-inline: 0.8rem; bottom: 0.25rem; height: 1.5px; background: var(--gold); transform: scaleX(0); transition: transform 0.3s var(--ease); }
.av-nav__list a:hover, .av-nav__list .current-menu-item > a, .av-nav__list .current_page_item > a, .av-nav__list .current_page_parent > a { color: var(--gold-light); }
.av-nav__list a:hover::after, .av-nav__list .current-menu-item > a::after, .av-nav__list .current_page_item > a::after, .av-nav__list .current_page_parent > a::after { transform: scaleX(1); }
.av-nav__list .sub-menu { list-style: none; margin: 0; padding: 0.5rem; position: absolute; min-width: 220px; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 12px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: 0.2s; }
.av-nav__list li { position: relative; }
.av-nav__list li:hover > .sub-menu, .av-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.av-nav__extra { display: none; }
.av-header__actions { display: flex; align-items: center; gap: 1rem; flex: none; }
.av-header__phone { display: inline-flex; align-items: center; gap: 0.45rem; color: #fff; text-decoration: none; font-weight: 600; direction: ltr; }
.av-header__phone .av-icon { color: var(--gold-light); }
.av-header__phone:hover { color: var(--gold-light); }
.av-burger { display: none; background: none; border: 1px solid var(--line-dark); color: #fff; width: 46px; height: 46px; border-radius: 12px; cursor: pointer; place-items: center; }
.av-burger__close { display: none; }
.av-burger[aria-expanded="true"] .av-burger__open { display: none; }
.av-burger[aria-expanded="true"] .av-burger__close { display: inline; }

@media (max-width: 1100px) {
	.av-header__phone span { display: none; }
	.av-nav__list a { padding-inline: 0.55rem; font-size: 0.94rem; }
}
@media (max-width: 960px) {
	:root { --header-h: 70px; }
	.av-burger { display: grid; order: 3; }
	.av-header__actions { margin-inline-start: auto; }
	.av-header__actions .av-btn { display: none; }
	.av-header__phone { width: 46px; height: 46px; justify-content: center; border: 1px solid var(--line-dark); border-radius: 12px; }
	.av-logo__img { max-height: 46px; }
	.av-nav {
		position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
		background: var(--ink); padding: 1.5rem var(--gutter) 6rem; overflow-y: auto;
		transform: translateX(100%); visibility: hidden; transition: transform 0.35s var(--ease), visibility 0.35s;
	}
	.admin-bar .av-nav { top: calc(var(--header-h) + 46px); }
	.av-nav.is-open { transform: none; visibility: visible; }
	.av-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.av-nav__list a { font: 600 1.35rem/1.3 var(--font-display); padding: 1rem 0; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
	.av-nav__list a::after { display: none; }
	.av-nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; box-shadow: none; padding: 0 1rem; }
	.av-nav__extra { display: block; margin-top: 2rem; }
	body.av-menu-open { overflow: hidden; }
	body.av-menu-open .av-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ink); }
}

/* ---------- Generic sections (used by block content) ---------- */
.av-blocks > *:not(.av-section):not(.av-hero):not(.av-stats):not(.alignfull):not(.alignwide) { max-width: 780px; margin-inline: auto; padding-inline: var(--gutter); }
.av-blocks--page { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.av-blocks--page:has(> .av-section:first-child) { padding-top: 0; }
.av-blocks--page:has(> .av-section:last-child) { padding-bottom: 0; }
.av-blocks > .alignwide { max-width: var(--wrap); margin-inline: auto; }
.av-section { position: relative; padding-block: var(--section); margin: 0 !important; }
.av-section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.av-section--ivory, .av-section.is-style-ivory { background: var(--ivory); }
.av-section--dark, .av-section.is-style-dark, .av-dark { background: var(--ink); color: #d9d3c7; }
.av-section--dark h1, .av-section--dark h2, .av-section--dark h3, .av-section--dark h4,
.is-style-dark h1, .is-style-dark h2, .is-style-dark h3, .is-style-dark h4 { color: #fff; }
.av-section--dark a:not(.wp-block-button__link):not(.av-btn), .is-style-dark a:not(.wp-block-button__link):not(.av-btn) { color: var(--gold-light); }
.av-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto !important; padding-inline: var(--gutter); }
.av-wrap--narrow { max-width: calc(860px + var(--gutter) * 2); }
.av-section-head { max-width: 760px; margin: 0 auto clamp(2.2rem, 5vw, 3.5rem); text-align: center; }
.av-section-head--start { margin-inline: 0; text-align: start; }
.av-eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; margin: 0 0 0.9rem; font: 600 0.85rem/1.2 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); }
.av-eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.av-section--dark .av-eyebrow, .is-style-dark .av-eyebrow, .av-page-hero .av-eyebrow, .av-cta-band .av-eyebrow, .av-contact__info .av-eyebrow, .av-feature .av-eyebrow, .av-card--featured .av-eyebrow { color: var(--gold-light); }
.av-section-head .av-eyebrow { justify-content: center; }
.av-section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 0.45em; }
.av-section-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); margin: 0; }
.av-section--dark .av-section-lead, .is-style-dark .av-section-lead { color: var(--muted-dark); }
.av-gold { color: var(--gold-ink); }
.av-section--dark .av-gold, .is-style-dark .av-gold, .av-hero .av-gold { color: var(--gold-light); }

/* grids */
.av-grid { display: grid; gap: clamp(1rem, 2.2vw, 1.6rem); }
.av-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.av-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.av-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.av-grid > * { margin: 0 !important; }
@media (max-width: 1024px) { .av-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .av-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .av-grid--2, .av-grid--3, .av-grid--4 { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.av-hero {
	position: relative; overflow: hidden; isolation: isolate;
	background: radial-gradient(1200px 600px at 85% -10%, rgba(184, 146, 90, 0.22), transparent 60%), radial-gradient(900px 500px at 0% 110%, rgba(184, 146, 90, 0.12), transparent 60%), var(--ink);
	color: #d9d3c7;
	padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(4rem, 9vw, 7rem);
	margin: 0 !important;
}
.av-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(216, 185, 127, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(216, 185, 127, 0.06) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%); }
.av-hero__cols { display: grid !important; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; margin: 0 !important; }
.av-hero__cols > .wp-block-column { flex-basis: auto !important; margin: 0 !important; }
.av-hero h1, .av-hero__title { color: #fff; font-size: clamp(2.35rem, 5.4vw, 4.3rem); line-height: 1.08; margin-bottom: 0.4em; }
.av-hero__title em, .av-hero h1 em, .av-hero h1 strong { font-style: normal; color: var(--gold-light); }
.av-hero__lead { font-size: clamp(1.08rem, 1.7vw, 1.3rem); color: #cfc8bb; max-width: 40rem; margin-bottom: 2rem; }
.av-checks { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; }
.av-checks li { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 500; color: #e9e4da; font-size: 0.98rem; margin: 0; }
.av-checks li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; flex: none; background: rgba(216, 185, 127, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d8b97f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.av-hero__portrait { position: relative; margin: 0 !important; justify-self: center; width: min(100%, 440px); }
.av-hero__portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 220px 220px 24px 24px; box-shadow: var(--shadow-lg); position: relative; z-index: 1; }
.av-hero__portrait::before { content: ""; position: absolute; inset: -14px -14px 14px 14px; border: 1.5px solid rgba(216, 185, 127, 0.55); border-radius: 230px 230px 30px 30px; }
.av-hero__portrait figcaption { position: absolute; z-index: 2; inset-inline-end: -12px; bottom: 28px; background: rgba(15, 14, 12, 0.88); backdrop-filter: blur(8px); border: 1px solid var(--line-dark); color: #fff; padding: 0.85rem 1.1rem; border-radius: 14px; font-size: 0.9rem; line-height: 1.35; text-align: start; margin: 0; max-width: 230px; box-shadow: var(--shadow); }
.av-hero__portrait figcaption strong { display: block; font: 700 1.1rem/1.2 var(--font-display); color: var(--gold-light); }
@media (max-width: 900px) {
	.av-hero__cols { grid-template-columns: 1fr; }
	.av-hero__portrait { width: min(82%, 340px); margin-top: 1rem !important; }
	.av-hero__portrait figcaption { inset-inline-end: -8px; bottom: 16px; }
}

/* stats strip */
.av-stats { position: relative; z-index: 2; margin-top: calc(var(--section) * -0.45) !important; padding: 0 !important; }
.av-stats__box { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; margin: 0 !important; }
.av-stats__box > * { margin: 0 !important; padding: clamp(1.3rem, 3vw, 2rem) 1.2rem; text-align: center; border-inline-start: 1px solid var(--line); }
.av-stats__box > *:first-child { border-inline-start: 0; }
.av-stat__num { font: 700 clamp(2rem, 4vw, 2.8rem)/1 var(--font-display); color: var(--ink); margin: 0 0 0.35rem !important; direction: ltr; unicode-bidi: isolate; }
.av-stat__label { margin: 0 !important; color: var(--muted); font-size: 0.98rem; }
@media (max-width: 560px) { .av-stats__box { grid-template-columns: 1fr; } .av-stats__box > * { border-inline-start: 0; } .av-stats__box > * + * { border-top: 1px solid var(--line); } }

/* ---------- Cards (services etc.) ---------- */
.av-card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 2.6vw, 2rem); transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s; }
.av-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(184, 146, 90, 0.5); }
.av-card h3 { font-size: 1.3rem; margin-bottom: 0.45em; }
.av-card p { color: var(--muted); margin-bottom: 0; font-size: 1rem; line-height: 1.65; }
.av-card p + p { margin-top: 0.8rem; }
.av-card a { font-weight: 600; text-decoration: none; }
.av-card a:hover { text-decoration: underline; }
.av-section--ivory .av-card { border-color: transparent; }
.av-section--dark .av-card, .is-style-dark .av-card { background: var(--ink-2); border-color: var(--line-dark); }
.av-section--dark .av-card p, .is-style-dark .av-card p { color: var(--muted-dark); }

/* icon badges (pure CSS, class based so editors can pick an icon by class) */
[class*="av-ico-"]::before {
	content: ""; display: block; width: 54px; height: 54px; margin-bottom: 1.1rem; border-radius: 14px;
	background: linear-gradient(135deg, rgba(216, 185, 127, 0.25), rgba(184, 146, 90, 0.1));
	box-shadow: inset 0 0 0 1px rgba(184, 146, 90, 0.3);
}
[class*="av-ico-"]::after {
	content: ""; position: absolute; top: calc(clamp(1.4rem, 2.6vw, 2rem) + 14px); inset-inline-start: calc(clamp(1.4rem, 2.6vw, 2rem) + 14px);
	width: 26px; height: 26px; background: var(--gold-ink);
	-webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
}
.av-section--dark [class*="av-ico-"]::after, .is-style-dark [class*="av-ico-"]::after { background: var(--gold-light); }
.av-ico-home { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5 9v11h14V9'/%3E%3Cpath d='M10 20v-6h4v6'/%3E%3C/svg%3E"); }
.av-ico-building { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V5l8-3v19'/%3E%3Cpath d='M12 8h8v13'/%3E%3Cpath d='M7 8h2M7 12h2M7 16h2M15 12h2M15 16h2M2 21h20'/%3E%3C/svg%3E"); }
.av-ico-scale { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18M7 21h10M5 7h14'/%3E%3Cpath d='m5 7-3 6a3 3 0 0 0 6 0zM19 7l-3 6a3 3 0 0 0 6 0z'/%3E%3C/svg%3E"); }
.av-ico-handshake { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m11 17 2 2a1.4 1.4 0 0 0 2-2'/%3E%3Cpath d='m14 14 2.5 2.5a1.4 1.4 0 0 0 2-2l-3.9-3.9a2.8 2.8 0 0 0-4 0l-.9.9a1.4 1.4 0 0 1-2-2l2.8-2.8a4 4 0 0 1 5-.5l.5.3a4 4 0 0 0 3 .6L21 6.5'/%3E%3Cpath d='m21 3 1 11h-2M3 3 2 14l6.5 6.5a1.4 1.4 0 0 0 2-2M3 4h8'/%3E%3C/svg%3E"); }
.av-ico-percent { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 5 5 19'/%3E%3Ccircle cx='7' cy='7' r='2.5'/%3E%3Ccircle cx='17' cy='17' r='2.5'/%3E%3C/svg%3E"); }
.av-ico-key { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='15' r='4'/%3E%3Cpath d='m11 12 9-9M17 6l3 3M14 9l2 2'/%3E%3C/svg%3E"); }
.av-ico-document { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6v18h12V7z'/%3E%3Cpath d='M14 3v4h4M9 12h6M9 16h6'/%3E%3C/svg%3E"); }
.av-ico-users { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20a6.5 6.5 0 0 1 13 0M16 4.5a3.5 3.5 0 0 1 0 7M18.5 14a6.5 6.5 0 0 1 3 6'/%3E%3C/svg%3E"); }
.av-ico-landmark { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21V11M19 21V11M9 21V11M15 21V11M2 11h20L12 3z'/%3E%3C/svg%3E"); }
.av-ico-chart { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20V4M4 20h16'/%3E%3Cpath d='m7 15 4-4 3 3 5-6'/%3E%3C/svg%3E"); }
.av-ico-map { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.3-7-12a7 7 0 0 1 14 0c0 5.7-7 12-7 12z'/%3E%3Ccircle cx='12' cy='9' r='2.5'/%3E%3C/svg%3E"); }
.av-ico-shield { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 5 3.5 8 8 9 4.5-1 8-4 8-9V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.av-ico-target { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3C/svg%3E"); }
.av-ico-star { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.5 2.9 1-6.1L3.2 9.5l6.1-.9z'/%3E%3C/svg%3E"); }

/* featured service card */
.av-card--featured { background: var(--ink) !important; border-color: var(--gold) !important; }
.av-card--featured h3 { color: #fff; }
.av-card--featured p { color: var(--muted-dark) !important; }
.av-card--featured::after { background: var(--gold-light) !important; }
.av-card--featured .av-badge { position: absolute; top: 1.1rem; inset-inline-end: 1.1rem; margin: 0; }
.av-badge { display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.03em; color: var(--ink); background: var(--gold-light); padding: 0.25rem 0.7rem; border-radius: 999px; }

/* Expertise list (compact) */
.av-list-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem 1.6rem; }
.av-list-grid li { display: flex; align-items: flex-start; gap: 0.75rem; padding: 1rem 1.1rem; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; font-weight: 500; margin: 0; line-height: 1.5; }
.av-list-grid li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 0.1rem; border-radius: 50%; background: rgba(184, 146, 90, 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2380602f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
@media (max-width: 640px) { .av-list-grid { grid-template-columns: 1fr; } }

/* ---------- Split (about) ---------- */
.av-split { display: grid !important; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; margin: 0 !important; }
.av-split > .wp-block-column { flex-basis: auto !important; margin: 0 !important; }
.av-split--reverse > .wp-block-column:first-child { order: 2; }
.av-frame { position: relative; margin: 0 !important; }
.av-frame img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; object-position: top; box-shadow: var(--shadow-lg); }
.av-frame::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid var(--gold); border-radius: var(--radius); z-index: -1; }
.av-signature { font: 700 1.5rem/1.2 var(--font-display); color: var(--ink); margin: 1.5rem 0 0.2rem !important; }
.av-signature + p { color: var(--gold-ink); font-weight: 500; }
.av-values { display: grid !important; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.6rem; margin-top: 1.8rem !important; }
.av-values > * { margin: 0 !important; padding-inline-start: 1rem; border-inline-start: 2px solid var(--gold); }
.av-values h3, .av-values h4 { font-size: 1.12rem; margin-bottom: 0.25rem; }
.av-values p { color: var(--muted); font-size: 0.97rem; margin: 0; line-height: 1.6; }
@media (max-width: 900px) { .av-split { grid-template-columns: 1fr; } .av-split--reverse > .wp-block-column:first-child { order: 0; } .av-frame { max-width: 420px; margin-inline: auto !important; } }
@media (max-width: 520px) { .av-values { grid-template-columns: 1fr; } }

/* ---------- Process steps ---------- */
.av-steps { counter-reset: step; }
.av-step { position: relative; padding-top: 0.5rem !important; }
.av-step::before { counter-increment: step; content: "0" counter(step); display: block; font: 700 2.8rem/1 var(--font-display); color: transparent; -webkit-text-stroke: 1.2px var(--gold); margin-bottom: 1rem; direction: ltr; text-align: start; }
.av-step h3 { font-size: 1.2rem; }
.av-step p { color: var(--muted); font-size: 0.98rem; margin: 0; line-height: 1.65; }
.av-section--dark .av-step p, .is-style-dark .av-step p { color: var(--muted-dark); }

/* ---------- Feature band (היטל השבחה) ---------- */
.av-feature { background: linear-gradient(120deg, var(--ink) 0%, var(--ink-3) 100%); color: #d9d3c7; overflow: hidden; }
.av-feature::after { content: "%"; position: absolute; inset-inline-start: -2rem; bottom: -6rem; font: 700 26rem/1 var(--font-display); color: rgba(216, 185, 127, 0.06); pointer-events: none; }
.av-feature h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); }
@media (min-width: 901px) { .av-feature .av-split { grid-template-columns: 1.1fr 0.9fr; } }
.av-quote-card { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 1.6rem 1.7rem; margin: 0 0 1rem !important; }
.av-quote-card p { color: #e9e4da; font-size: 1.05rem; line-height: 1.7; margin-bottom: 0.7rem; }
.av-quote-card cite, .av-quote-card .av-quote-card__by { font-style: normal; color: var(--gold-light); font-weight: 600; font-size: 0.95rem; margin: 0; }

/* ---------- Testimonials ---------- */
.av-testimonials { position: relative; }
.av-testimonials__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 1.4rem) / 3); gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0.5rem 0.25rem 1.5rem; margin: -0.5rem -0.25rem 0; }
.av-testimonials__track::-webkit-scrollbar { display: none; }
.av-tcard { scroll-snap-align: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.8rem 1.7rem; display: flex; flex-direction: column; margin: 0; position: relative; }
.av-tcard .av-tcard__q { position: absolute; top: 1.3rem; inset-inline-end: 1.4rem; width: 38px; height: 38px; color: rgba(184, 146, 90, 0.35); }
.av-tcard__stars { display: flex; gap: 2px; color: var(--gold); margin-bottom: 1rem; }
.av-tcard__stars .av-icon { width: 18px; height: 18px; fill: currentColor; }
.av-tcard blockquote { margin: 0 0 1.5rem; font-size: 1.06rem; line-height: 1.75; color: var(--text); flex: 1; }
.av-tcard blockquote p { margin: 0; }
.av-tcard figcaption { display: flex; align-items: center; gap: 0.8rem; border-top: 1px solid var(--line); padding-top: 1.1rem; }
.av-tcard__avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold-light); font: 700 1.1rem/1 var(--font-display); flex: none; }
.av-tcard__name { font-weight: 700; color: var(--ink); display: block; line-height: 1.3; }
.av-tcard__role { color: var(--muted); font-size: 0.9rem; }
.av-section--dark .av-tcard { background: var(--ink-2); border-color: var(--line-dark); }
.av-section--dark .av-tcard blockquote { color: #e9e4da; }
.av-section--dark .av-tcard__name { color: #fff; }
.av-section--dark .av-tcard figcaption { border-color: var(--line-dark); }
.av-testimonials__nav { display: flex; justify-content: center; gap: 0.6rem; }
.av-testimonials__nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: 0.2s; }
.av-testimonials__nav button:hover { border-color: var(--gold); color: var(--gold-ink); }
.av-testimonials__nav .av-next .av-icon { transform: none; }
.av-testimonials__nav .av-prev .av-icon { transform: scaleX(-1); }
.av-testimonials--static .av-testimonials__nav { display: none; }
@media (max-width: 960px) { .av-testimonials__track { grid-auto-columns: calc((100% - 1.4rem) / 2); } }
@media (max-width: 640px) { .av-testimonials__track { grid-auto-columns: 86%; } }

/* ---------- Videos ---------- */
.av-videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.2vw, 1.6rem); }
.av-video { margin: 0; display: flex; flex-direction: column; }
.av-video__frame { position: relative; aspect-ratio: 9 / 16; max-height: 640px; border-radius: var(--radius); overflow: hidden; background: radial-gradient(circle at 50% 30%, var(--ink-3), var(--ink)); box-shadow: var(--shadow); }
.av-video__frame video, .av-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; background: #000; }
.av-video__play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; padding: 0; cursor: pointer; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.65)); color: #fff; z-index: 2; }
.av-video__play span { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: rgba(216, 185, 127, 0.92); color: var(--ink); box-shadow: 0 0 0 10px rgba(216, 185, 127, 0.25); transition: transform 0.3s var(--ease); }
.av-video__play:hover span { transform: scale(1.08); }
.av-video__play .av-icon { width: 30px; height: 30px; fill: currentColor; margin-inline-start: 4px; }
.av-video__dur { position: absolute; top: 0.9rem; inset-inline-start: 0.9rem; z-index: 3; background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 0.82rem; padding: 0.15rem 0.6rem; border-radius: 999px; direction: ltr; }
.av-video.is-playing .av-video__play, .av-video.is-playing .av-video__dur { display: none; }
.av-video figcaption { padding: 1rem 0.2rem 0; font-weight: 600; line-height: 1.5; color: var(--ink); }
.av-section--dark .av-video figcaption { color: #fff; }
@media (max-width: 960px) { .av-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .av-videos { grid-template-columns: 1fr; } .av-video__frame { max-height: 78vh; } }

/* ---------- FAQ ---------- */
.av-faq { display: grid; gap: 0.8rem; max-width: 900px; margin-inline: auto; }
.av-faq__item, .wp-block-details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; transition: border-color 0.25s, box-shadow 0.25s; margin: 0; }
.av-faq__item[open], .wp-block-details[open] { border-color: rgba(184, 146, 90, 0.6); box-shadow: var(--shadow); }
.av-faq__item summary, .wp-block-details summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.4rem; font: 600 1.08rem/1.45 var(--font-body); color: var(--ink); }
.av-faq__item summary::-webkit-details-marker, .wp-block-details summary::-webkit-details-marker { display: none; }
.av-faq__item summary::after, .wp-block-details summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ivory) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2380602f' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform 0.3s var(--ease), background-color 0.3s; }
.av-faq__item[open] summary::after, .wp-block-details[open] summary::after { transform: rotate(45deg); background-color: var(--gold-light); }
.av-faq__answer, .wp-block-details > :not(summary) { padding: 0 1.4rem; color: var(--muted); }
.av-faq__answer { padding-bottom: 1.2rem; }
.wp-block-details > :last-child { padding-bottom: 1.2rem; }
.av-faq__answer p:last-child { margin-bottom: 0; }
.av-section--ivory .av-faq__item { border-color: transparent; }
.av-faq__more { text-align: center; margin-top: 2rem; }

/* ---------- Articles cards ---------- */
.av-card--article { padding: 0; overflow: hidden; display: flex; }
.av-card__link { display: flex; flex-direction: column; color: inherit; text-decoration: none; width: 100%; }
.av-card__link:hover { color: inherit; }
.av-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.av-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.av-card--article:hover .av-card__media img { transform: scale(1.05); }
.av-card__media--pattern { display: grid; place-items: center; color: var(--gold-light); background: radial-gradient(circle at 70% 20%, rgba(216, 185, 127, 0.25), transparent 55%), linear-gradient(135deg, var(--ink-3), var(--ink)); }
.av-card__media--pattern .av-icon { width: 54px; height: 54px; opacity: 0.85; }
.av-card__body { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.4rem 1.5rem 1.5rem; flex: 1; }
.av-card__title { font-size: 1.28rem; margin: 0; }
.av-card__excerpt { color: var(--muted); font-size: 0.98rem; line-height: 1.65; flex: 1; }
.av-card__meta { display: flex; align-items: center; gap: 0.4rem; font-size: 0.88rem; color: var(--muted); padding-top: 0.9rem; border-top: 1px solid var(--line); margin-top: 0.4rem; }
.av-card__meta .av-icon { width: 16px; height: 16px; }
.av-card__more { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 0.35rem; color: var(--gold-ink); font-weight: 600; }
.av-card--article:hover .av-card__more .av-icon { transform: translateX(-4px); }
.av-card__more .av-icon { transition: transform 0.3s var(--ease); }
.av-chip { display: inline-block; align-self: flex-start; font-size: 0.8rem; font-weight: 600; color: var(--gold-ink); background: rgba(184, 146, 90, 0.12); padding: 0.2rem 0.75rem; border-radius: 999px; text-decoration: none; }
.av-chip--light { color: var(--gold-light); background: rgba(216, 185, 127, 0.14); margin-bottom: 1rem; }
.av-chip--light:hover { color: #fff; }

/* filter */
.av-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.2rem; }
.av-filter__item { padding: 0.5rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--text); font-weight: 500; font-size: 0.95rem; }
.av-filter__item:hover { border-color: var(--gold); color: var(--gold-ink); }
.av-filter__item.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.nav-links { display: flex; justify-content: center; gap: 0.4rem; margin-top: 3rem; }
.nav-links .page-numbers { min-width: 44px; height: 44px; padding: 0 0.8rem; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.nav-links .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Inner page hero ---------- */
.av-page-hero { position: relative; overflow: hidden; background: radial-gradient(900px 400px at 90% -20%, rgba(184, 146, 90, 0.22), transparent 60%), var(--ink); color: #cfc8bb; padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2.8rem, 6vw, 4.8rem); }
.av-page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(216, 185, 127, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(216, 185, 127, 0.05) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(to left, #000, transparent 70%); -webkit-mask-image: linear-gradient(to left, #000, transparent 70%); pointer-events: none; }
.av-page-hero .av-container { position: relative; }
.av-page-hero__title { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin-bottom: 0.35em; max-width: 22ch; }
.av-page-hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 44rem; margin: 0; }
.av-crumbs ol { list-style: none; margin: 0 0 1.4rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.9rem; color: var(--muted-dark); }
.av-crumbs li { display: inline-flex; align-items: center; gap: 0.4rem; }
.av-crumbs li + li::before { content: "‹"; color: var(--gold); }
.av-crumbs a { color: var(--muted-dark); text-decoration: none; }
.av-crumbs a:hover { color: var(--gold-light); }
.av-crumbs [aria-current] { color: #e9e4da; }
.av-article-meta { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; margin: 1.6rem 0 0; font-size: 0.93rem; color: var(--muted-dark); }
.av-article-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.av-article-meta .av-icon { color: var(--gold-light); width: 18px; height: 18px; }

/* ---------- Article ---------- */
.av-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 5vw, 4rem); padding-block: clamp(2.5rem, 6vw, 4.5rem); align-items: start; }
.av-article { min-width: 0; }
.av-article__cover { margin: 0 0 2.2rem; }
.av-article__cover img { border-radius: var(--radius); width: 100%; }
.av-prose { font-size: 1.1rem; line-height: 1.85; max-width: 760px; }
.av-prose > * { margin-top: 0; }
.av-prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin: 2.4rem 0 0.8rem; padding-top: 0.4rem; }
.av-prose h3 { font-size: 1.32rem; margin: 1.9rem 0 0.6rem; }
.av-prose ul, .av-prose ol { padding-inline-start: 0; margin: 0 0 1.4rem; list-style: none; }
.av-prose ul li, .av-prose ol li { position: relative; padding-inline-start: 1.8rem; margin-bottom: 0.55rem; }
.av-prose ul li::before { content: ""; position: absolute; inset-inline-start: 0.2rem; top: 0.75em; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--gold); }
.av-prose ol { counter-reset: li; }
.av-prose ol li::before { counter-increment: li; content: counter(li); position: absolute; inset-inline-start: 0; top: 0.2em; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--ivory); color: var(--gold-ink); font-size: 0.8rem; font-weight: 700; display: grid; place-items: center; }
.av-prose blockquote, .av-prose .wp-block-quote { margin: 2rem 0; padding: 1.4rem 1.6rem; background: var(--ivory); border-inline-start: 4px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 1.08rem; }
.av-prose blockquote p:last-child { margin-bottom: 0; }
.av-prose strong { color: var(--ink); }
.av-table-wrap { overflow-x: auto; margin: 0 0 1.5rem; }
.av-prose table { width: 100%; border-collapse: collapse; }
.av-prose th, .av-prose td { border: 1px solid var(--line); padding: 0.7rem 0.9rem; text-align: start; }
.av-article__cta { margin-top: 3rem; padding: 1.8rem 2rem; border-radius: var(--radius); background: var(--ink); color: #d9d3c7; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.av-article__cta h2 { color: #fff; font-size: 1.45rem; margin: 0 0 0.3rem; }
.av-article__cta p { margin: 0; }
.av-article-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 1.2rem; }
.av-toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.av-toc__title { font-weight: 700; color: var(--ink); margin: 0 0 0.6rem; }
.av-toc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; counter-reset: toc; }
.av-toc__list a { display: block; padding: 0.4rem 0.7rem; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 0.93rem; line-height: 1.45; border-inline-start: 2px solid transparent; }
.av-toc__list a:hover { color: var(--ink); background: var(--ivory); }
.av-toc__list a.is-active { color: var(--gold-ink); border-color: var(--gold); background: var(--ivory); }
.av-side-card { background: var(--ivory); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: 0.7rem; }
.av-side-card .av-eyebrow { margin: 0; }
.av-side-card__title { font: 700 1.25rem/1.3 var(--font-display); color: var(--ink); margin: 0 0 0.3rem; }
@media (max-width: 1000px) { .av-article-layout { grid-template-columns: 1fr; } .av-article-side { position: static; } .av-toc { display: none; } }

/* ---------- Contact ---------- */
.av-contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.av-contact__info { background: var(--ink); color: #d9d3c7; border-radius: var(--radius); padding: clamp(1.6rem, 3.5vw, 2.6rem); position: relative; overflow: hidden; }
.av-contact__info::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 1.5px solid rgba(216, 185, 127, 0.22); inset-inline-start: -90px; bottom: -110px; }
.av-contact__info h2, .av-contact__info h3 { color: #fff; }
.av-contact__list { list-style: none; padding: 0; margin: 1.6rem 0; display: grid; gap: 0.8rem; }
.av-contact__list a, .av-contact__list span { display: flex; align-items: center; gap: 0.9rem; color: #fff; text-decoration: none; font-weight: 500; }
.av-contact__list .av-icon { width: 46px; height: 46px; padding: 12px; border-radius: 12px; background: rgba(216, 185, 127, 0.12); color: var(--gold-light); }
.av-contact__list a:hover { color: var(--gold-light); }
.av-contact__list small { display: block; color: var(--muted-dark); font-size: 0.85rem; font-weight: 400; }
@media (max-width: 900px) { .av-contact { grid-template-columns: 1fr; } }

/* Form */
.av-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3.5vw, 2.6rem); box-shadow: var(--shadow); position: relative; }
.av-form__title { font-size: 1.6rem; margin-bottom: 0.3rem; }
.av-form__sub { color: var(--muted); margin-bottom: 1.6rem; }
.av-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.av-field { display: flex; flex-direction: column; gap: 0.4rem; }
.av-field--full { grid-column: 1 / -1; }
.av-field label { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.av-field label .req { color: #a3361b; }
.av-field input, .av-field select, .av-field textarea, .av-search input {
	width: 100%; min-height: 52px; padding: 0.8rem 1rem; border-radius: 12px; border: 1.5px solid var(--line);
	background: #fdfbf7; font: 400 1rem/1.4 var(--font-body); color: var(--text); transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.av-field textarea { min-height: 130px; resize: vertical; }
.av-field input:focus, .av-field select:focus, .av-field textarea:focus, .av-search input:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(184, 146, 90, 0.18); }
.av-field input[aria-invalid="true"], .av-field textarea[aria-invalid="true"], .av-field select[aria-invalid="true"] { border-color: #a3361b; background: #fff6f3; }
.av-field__error { color: #a3361b; font-size: 0.88rem; min-height: 0; }
.av-field input[type="tel"], .av-field input[type="email"] { direction: ltr; text-align: right; }
.av-consent { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: var(--muted); }
.av-consent input { width: 20px; height: 20px; margin-top: 0.2rem; accent-color: var(--gold-ink); flex: none; }
.av-hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.av-form__actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 0.4rem; }
.av-form__actions .av-btn { min-width: 200px; }
.av-form__note { font-size: 0.85rem; color: var(--muted); margin: 0; }
.av-form__status { grid-column: 1 / -1; padding: 0.9rem 1.1rem; border-radius: 12px; font-weight: 500; display: none; margin: 0; }
.av-form__status.is-success { display: block; background: #eef6ec; color: #22582a; border: 1px solid #bcdcb9; }
.av-form__status.is-error { display: block; background: #fff2ee; color: #8e2c15; border: 1px solid #f1c5b8; }
.av-form.is-loading .av-btn[type="submit"] { opacity: 0.7; pointer-events: none; }
.av-form.is-loading .av-btn[type="submit"]::after { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%; animation: av-spin 0.8s linear infinite; }
@keyframes av-spin { to { transform: rotate(360deg); } }
.av-form.is-done .av-form__grid > :not(.av-form__status) { display: none; }
@media (max-width: 560px) { .av-form__grid { grid-template-columns: 1fr; } }
.av-search { display: flex; gap: 0.6rem; max-width: 520px; }

/* ---------- CTA band ---------- */
.av-cta-band { background: linear-gradient(120deg, var(--ink-2), var(--ink)); border-top: 1px solid var(--line-dark); color: #cfc8bb; padding-block: clamp(3rem, 6vw, 4.5rem); position: relative; overflow: hidden; }
.av-cta-band::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(184, 146, 90, 0.25), transparent 65%); inset-inline-end: -160px; top: -260px; }
.av-cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.av-cta-band__title { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 0.3rem; }
.av-cta-band__text { margin: 0; max-width: 36rem; }
.av-cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; }
.av-cta-band .av-btn--gold span { direction: ltr; }

/* ---------- Footer ---------- */
.av-footer { background: #0a0908; color: var(--muted-dark); padding-top: clamp(3rem, 6vw, 4.5rem); font-size: 0.97rem; }
.av-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.av-footer__brand p { margin: 1.2rem 0; max-width: 24rem; line-height: 1.7; }
.av-footer__title { font: 600 0.88rem/1.2 var(--font-body); letter-spacing: 0.14em; color: var(--gold-light); margin-bottom: 1.2rem; }
.av-footer__links, .av-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.av-footer a { color: #d9d3c7; text-decoration: none; }
.av-footer a:hover { color: var(--gold-light); }
.av-footer__contact a, .av-footer__contact span { display: inline-flex; align-items: center; gap: 0.6rem; }
.av-footer__contact .av-icon { color: var(--gold); width: 18px; height: 18px; }
.av-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.07); padding-block: 1.3rem; font-size: 0.88rem; }
.av-footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.av-footer__bottom p { margin: 0; }
.av-footer__legal { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.2rem; flex-wrap: wrap; }
@media (max-width: 960px) { .av-footer__grid { grid-template-columns: 1fr 1fr; } .av-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .av-footer__grid { grid-template-columns: 1fr; } }

.av-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.55rem; }
.av-social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-dark); color: var(--gold-light) !important; transition: 0.25s; }
.av-social a:hover { background: var(--gold); color: var(--ink) !important; border-color: var(--gold); }
.av-social .av-icon { width: 19px; height: 19px; }

/* ---------- Floating actions ---------- */
.av-float-wa { position: fixed; z-index: 90; bottom: 24px; inset-inline-start: 24px; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #1fae5b; color: #fff; box-shadow: 0 14px 30px -10px rgba(31, 174, 91, 0.7); transition: transform 0.3s var(--ease); }
.av-float-wa:hover { color: #fff; transform: scale(1.07); }
.av-float-wa .av-icon { width: 30px; height: 30px; }
.av-mobile-bar { display: none; }
@media (max-width: 760px) {
	.av-float-wa { display: none; }
	.av-mobile-bar { position: fixed; z-index: 95; inset-inline: 0; bottom: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: rgba(15, 14, 12, 0.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line-dark); padding: 0.45rem 0.5rem calc(0.45rem + env(safe-area-inset-bottom)); gap: 0.4rem; }
	.av-mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; padding: 0.45rem; color: #e9e4da; text-decoration: none; font-size: 0.8rem; font-weight: 500; border-radius: 12px; }
	.av-mobile-bar a .av-icon { color: var(--gold-light); width: 22px; height: 22px; }
	.av-mobile-bar a.is-primary { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--ink); }
	.av-mobile-bar a.is-primary .av-icon { color: var(--ink); }
	body { padding-bottom: 72px; }
}

/* ---------- 404 / empty ---------- */
.av-404 { padding-block: clamp(4rem, 10vw, 8rem); background: var(--ink); color: #cfc8bb; text-align: center; }
.av-404__inner { display: grid; justify-items: center; gap: 1rem; }
.av-404__code { font: 700 clamp(6rem, 20vw, 11rem)/0.9 var(--font-display); color: transparent; -webkit-text-stroke: 1.5px var(--gold); margin: 0; }
.av-404 .av-page-hero__title { margin-inline: auto; }
.av-404__actions { display: flex; gap: 0.8rem; flex-wrap: wrap; justify-content: center; margin-top: 1rem; }
.av-404 .av-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.av-empty { text-align: center; padding: 3rem 0; display: grid; justify-items: center; gap: 1rem; }

/* ---------- Legal pages ---------- */
.av-notice { background: #fff8e8; border: 1px solid #ecd9a8; border-radius: 12px; padding: 1rem 1.2rem; color: #6b4e12; }

/* ---------- Reveal animation ---------- */
.av-js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.av-js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .av-js [data-reveal] { opacity: 1; transform: none; } }

/* ---------- WP core alignment helpers ---------- */
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { margin-inline: auto; }
.wp-block-image img { border-radius: var(--radius-sm); }
.wp-block-image figcaption, .wp-element-caption { color: var(--muted); font-size: 0.9rem; text-align: center; }
.has-text-align-center { text-align: center; }
.is-layout-flex { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.is-content-justification-center { justify-content: center; }
.wp-block-columns { display: flex; gap: 2rem; flex-wrap: wrap; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
@media (max-width: 781px) { .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column { flex-basis: 100% !important; } }

@media print {
	.av-header, .av-footer, .av-cta-band, .av-mobile-bar, .av-float-wa, .av-article-side { display: none !important; }
	body { padding: 0; }
}
.av-section-foot { margin-top: clamp(2rem, 4vw, 3rem) !important; }

/* ---------- v1.1 additions ---------- */
.av-footer__logo { display: inline-block; }
.av-footer__logo img { width: 260px; height: auto; }
.av-frame--cutout img { object-fit: contain; object-position: bottom center; background: radial-gradient(120% 90% at 50% 15%, rgba(216, 185, 127, 0.35), transparent 60%), linear-gradient(160deg, var(--ink-3), var(--ink)); border-radius: 220px 220px var(--radius) var(--radius); padding-top: 1.5rem; }
.av-frame--cutout::after { border-radius: 230px 230px var(--radius) var(--radius); }
.av-video__thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.av-article-figure { margin: 2rem auto !important; max-width: 520px; }
.av-article-figure img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.av-logo__img { max-height: 54px; }

/* ---------- v1.1.1 hero portrait: fit the arch frame and the viewport ---------- */
.av-hero { min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; }
.av-hero > .av-wrap { width: 100%; }
.av-hero .av-hero__portrait { width: min(100%, 420px, calc((100svh - var(--header-h) - 120px) * 0.8)); }
.av-hero .wp-block-image.av-hero__portrait img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 999px 999px 24px 24px / 420px 420px 24px 24px; }
.av-hero .av-hero__portrait::before { inset: -12px; border-radius: 999px 999px 32px 32px / 432px 432px 32px 32px; border-color: rgba(216, 185, 127, 0.6); }
.av-hero .av-hero__portrait::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: 0; border-radius: 999px 999px 24px 24px / 420px 420px 24px 24px; background: linear-gradient(160deg, rgba(216, 185, 127, 0.25), rgba(184, 146, 90, 0.05)); }
.av-hero .av-hero__portrait figcaption { bottom: 32px; }
.av-frame.wp-block-image img { border-radius: var(--radius); }
.av-frame--cutout.wp-block-image img { border-radius: 220px 220px var(--radius) var(--radius); }
@media (max-width: 900px) {
	.av-hero { min-height: 0; }
	.av-hero .av-hero__portrait { width: min(80%, 340px); }
}
@media (max-width: 900px) {
	.av-hero { padding-top: 2rem; }
	.av-hero .av-hero__portrait { width: min(78%, 320px); margin: 1.5rem auto 0 !important; }
	.av-hero .av-hero__portrait figcaption { display: none; }
}

/* ---------- v1.1.3 featured (dark) card contrast ---------- */
.av-card--featured { background: linear-gradient(160deg, #1f1c17, var(--ink)) !important; }
.av-card--featured h3 { color: #fff !important; }
.av-card--featured p { color: #e6e0d4 !important; }
.av-card--featured p a, .av-card--featured a { color: var(--gold-light) !important; }
.av-card--featured p a:hover { color: #fff !important; }
.av-card--featured p.av-badge { color: var(--ink) !important; background: var(--gold-light); font-weight: 700; }
.av-card--featured::before { background: rgba(216, 185, 127, 0.18); box-shadow: inset 0 0 0 1px rgba(216, 185, 127, 0.5); }

/* ---------- v1.2 video gallery ---------- */
.av-vchannel { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; background: var(--ink); color: #d9d3c7; border-radius: var(--radius); padding: 1.4rem 1.6rem; margin-bottom: clamp(1.8rem, 4vw, 2.6rem); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.av-vchannel::after { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(216, 185, 127, 0.22), transparent 65%); inset-inline-start: -80px; top: -160px; pointer-events: none; }
.av-vchannel__id { display: flex; align-items: center; gap: 1rem; position: relative; z-index: 1; }
.av-vchannel__avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: contain; background: #0a0908; border: 1.5px solid var(--gold); padding: 8px; flex: none; }
.av-vchannel__avatar--txt { display: grid; place-items: center; color: var(--gold-light); font: 700 1.1rem/1 var(--font-display); }
.av-vchannel__name { margin: 0; font: 700 1.25rem/1.3 var(--font-display); color: #fff; }
.av-vchannel__meta { margin: 0.15rem 0 0; font-size: 0.95rem; color: var(--muted-dark); }
.av-vchannel__actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; position: relative; z-index: 1; }
.av-btn--yt { background: #e62117; color: #fff; box-shadow: 0 10px 26px -12px rgba(230, 33, 23, 0.8); }
.av-btn--yt:hover { color: #fff; background: #c81a12; }
.av-vchannel__links { display: flex; gap: 0.5rem; }
.av-vchannel__link { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-dark); color: var(--gold-light) !important; transition: 0.25s; }
.av-vchannel__link:hover { background: var(--gold); color: var(--ink) !important; border-color: var(--gold); }
.av-vchannel__link .av-icon { width: 19px; height: 19px; }

.av-vgrid { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: clamp(0.9rem, 2vw, 1.4rem); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.av-vgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 980px; }
.av-vcard { margin: 0; }
.av-vcard__btn { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: radial-gradient(circle at 50% 30%, var(--ink-3), var(--ink)); box-shadow: var(--shadow); text-align: start; isolation: isolate; transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.av-vcard__btn:hover, .av-vcard__btn:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.av-vcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 0.8s var(--ease); }
.av-vcard__img.is-fallback { transform: scale(1.35); }
.av-vcard__btn:hover .av-vcard__img { transform: scale(1.06); }
.av-vcard__btn:hover .av-vcard__img.is-fallback { transform: scale(1.42); }
.av-vcard__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 14, 12, 0.35) 0%, transparent 22%, transparent 45%, rgba(15, 14, 12, 0.92) 100%); }
.av-vcard__btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(216, 185, 127, 0.25); pointer-events: none; transition: box-shadow 0.3s; }
.av-vcard__btn:hover::after { box-shadow: inset 0 0 0 1.5px var(--gold); }
.av-vcard__badge { position: absolute; top: 0.85rem; inset-inline-start: 0.85rem; background: rgba(15, 14, 12, 0.75); backdrop-filter: blur(6px); color: #fff; font-size: 0.78rem; font-weight: 600; padding: 0.2rem 0.65rem; border-radius: 999px; letter-spacing: 0.03em; direction: ltr; }
.av-vcard__play { position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: grid; place-items: center; background: rgba(216, 185, 127, 0.95); color: var(--ink); box-shadow: 0 0 0 8px rgba(216, 185, 127, 0.25), 0 12px 30px -8px rgba(0, 0, 0, 0.6); transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.av-vcard__play .av-icon { width: 24px; height: 24px; fill: currentColor; margin-inline-start: 3px; }
.av-vcard__btn:hover .av-vcard__play { transform: scale(1.1); box-shadow: 0 0 0 12px rgba(216, 185, 127, 0.22), 0 12px 30px -8px rgba(0, 0, 0, 0.6); }
.av-vcard__title { position: absolute; inset-inline: 0; bottom: 0; padding: 1rem 1.1rem 1.15rem; color: #fff; font: 600 1rem/1.45 var(--font-body); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5); }
@media (max-width: 1024px) { .av-vgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
	.av-vgrid, .av-vgrid--3 { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: none; }
	.av-vgrid::-webkit-scrollbar { display: none; }
	.av-vcard { scroll-snap-align: start; }
	.av-vchannel { padding: 1.2rem; }
	.av-vchannel__actions { width: 100%; justify-content: space-between; }
}

.av-vmodal { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; }
.av-vmodal::backdrop { background: rgba(10, 9, 8, 0.88); backdrop-filter: blur(6px); }
.av-vmodal[open] { display: grid; place-items: center; }
.av-vmodal__box { position: relative; width: min(420px, 92vw, calc((100svh - 140px) * 0.5625)); }
.av-vmodal__frame { position: relative; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9); border: 1px solid rgba(216, 185, 127, 0.35); }
.av-vmodal__frame iframe, .av-vmodal__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }
.av-vmodal__title { color: #fff; text-align: center; margin: 0.9rem 0 0; font-weight: 600; line-height: 1.5; }
.av-vmodal__close { position: absolute; top: -52px; inset-inline-end: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.08); color: #fff; display: grid; place-items: center; cursor: pointer; }
.av-vmodal__close:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
body.av-modal-open { overflow: hidden; }
.av-section--dark .av-vchannel { background: var(--ink-2); border: 1px solid var(--line-dark); }
