/* ==========================================================================
   AvantVero — component styles (brand redesign)

   Colour system, taken from the AvantVero logo:
   - Crimson  #C8102E  primary action colour (wordmark red)
   - Gold     #C9A23A  accent / highlight (the "A" mark and gold bar)
   - Wine     #2B0D12  deep anchor colour for dark bands (analogous to crimson,
                       replaces navy/slate so the whole site stays warm)
   - Ink      #241C1E  warm near-black for headings
   - Ivory / Champagne warm neutrals for backgrounds
   Proportions follow the 60-30-10 rule: ~60% white/ivory/champagne,
   ~30% ink/wine, ~10% crimson + gold accents.

   All classes are prefixed "av-" and applied to core blocks via
   "Additional CSS class(es)", so every section stays editable.
   ========================================================================== */

:root {
	--av-crimson: var(--wp--preset--color--crimson, #C8102E);
	--av-crimson-deep: var(--wp--preset--color--crimson-deep, #9B0D23);
	--av-gold: var(--wp--preset--color--gold, #C9A23A);
	--av-gold-light: var(--wp--preset--color--gold-light, #F2D98B);
	--av-gold-text: var(--wp--preset--color--gold-text, #8A6A14);
	--av-wine: var(--wp--preset--color--wine, #2B0D12);
	--av-wine-2: var(--wp--preset--color--wine-2, #4A0F1A);
	--av-ink: var(--wp--preset--color--ink, #241C1E);
	--av-text: var(--wp--preset--color--text, #4B4346);
	--av-muted: var(--wp--preset--color--muted, #7D7275);
	--av-ivory: var(--wp--preset--color--ivory, #FBF8F2);
	--av-champagne: var(--wp--preset--color--champagne, #F5ECDD);
	--av-border: var(--wp--preset--color--border, #EADFCF);
	--av-gold-sheen: linear-gradient(90deg, #B8892B 0%, #F3D77A 45%, #C99A2E 100%);
	--av-wine-depth: linear-gradient(135deg, #2B0D12 0%, #4A0F1A 60%, #6B1322 100%);
	--av-shadow: 0 18px 44px rgba(43, 13, 18, .10);
	--av-shadow-sm: 0 8px 22px rgba(43, 13, 18, .06);
	--av-heading-font: var(--wp--preset--font-family--jost, Jost, 'Century Gothic', Futura, sans-serif);
	--av-max: 1200px;
}

body { -webkit-font-smoothing: antialiased; }
::selection { background: var(--av-gold-light); color: var(--av-wine); }

/* Remove the default gap between top-level template sections */
body .wp-site-blocks > * { margin-block-start: 0; }
body .av-main,
body .av-main > .wp-block-post-content { margin-block-start: 0; }
body .av-main > .wp-block-post-content > * { margin-block-start: 0; margin-block-end: 0; }

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */
body .av-wrap {
	max-width: var(--av-max);
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 24px;
	padding-right: 24px;
	width: 100%;
}
body .av-section { padding: 88px 0; margin: 0; background: #fff; position: relative; }
body .av-section.av-alt { background: var(--av-ivory); }
body .av-section.av-tint { background: var(--av-champagne); }

body .av-section h2,
body .av-cta h2 { margin: 0 0 18px; }
body .av-wrap > h2 + * { margin-block-start: 0; }

body .av-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--av-crimson);
	font-size: 13px;
	letter-spacing: .14em;
	font-weight: 750;
	text-transform: uppercase;
	margin: 0 0 16px;
	line-height: 1.4;
}
body .av-eyebrow::before {
	content: "";
	width: 10px; height: 10px;
	flex: 0 0 10px;
	background: var(--av-gold-sheen);
	transform: rotate(45deg);
	border-radius: 1px;
}
body .av-section-intro { font-size: 18px; max-width: 860px; margin: 0 0 36px; }
body .av-center { text-align: center; }
body .av-center.wp-block-buttons { justify-content: center; margin-top: 34px; }

/* Gold rule under section headings (echoes the gold bar in the logo) */
body .av-section .av-wrap > h2:first-child::after,
body .av-section .av-wrap > .av-eyebrow + h2::after,
body .av-section .av-split-copy > h2::after,
body .av-section .av-split-copy > .av-eyebrow + h2::after {
	content: "";
	display: block;
	width: 64px;
	height: 3px;
	margin-top: 18px;
	border-radius: 3px;
	background: var(--av-gold-sheen);
}

/* --------------------------------------------------------------------------
   Top bar + header
   -------------------------------------------------------------------------- */
body .av-topbar {
	background: var(--av-wine);
	color: var(--av-gold-light);
	text-align: center;
	padding: 9px 16px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .06em;
	margin: 0;
	line-height: 1.5;
}
.wp-site-blocks > header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 50;
}
body.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) {
	body.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 0; position: relative; }
}
body .av-header {
	background: rgba(255, 255, 255, .96);
	-webkit-backdrop-filter: saturate(160%) blur(10px);
	backdrop-filter: saturate(160%) blur(10px);
	border-bottom: 1px solid var(--av-border);
	box-shadow: 0 6px 24px rgba(43, 13, 18, .05);
	margin: 0;
	position: relative;
}
body .av-header::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: -1px;
	height: 2px;
	background: var(--av-gold-sheen);
	opacity: .55;
}
body .av-head {
	min-height: 92px;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 25px;
}
body .av-head > * { margin: 0 !important; }
body .av-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 0 0 auto;
}
body .av-brand > * { margin: 0 !important; }
body .av-brand .wp-block-site-logo img { height: 60px; width: auto; max-width: 260px; object-fit: contain; }
body .av-brand:has(.wp-block-site-logo img) .av-brand-text { display: none; }
body .av-brand .wp-block-site-title {
	font-family: var(--av-heading-font);
	font-size: 27px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	line-height: 1;
}
body .av-brand .wp-block-site-title a { color: var(--av-crimson); }
body .av-brand .wp-block-site-tagline {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--av-gold-text);
	margin-top: 6px !important;
}
body .av-head-right {
	display: flex;
	align-items: center;
	gap: 22px;
	flex: 1 1 auto;
	justify-content: flex-end;
}
body .av-head-right > * { margin: 0 !important; }

/* Primary navigation */
body .av-nav { font-size: 14.5px; font-weight: 550; }
body .av-nav .wp-block-navigation__container { gap: 22px; }
body .av-nav .wp-block-navigation-item__content { color: var(--av-ink); padding: 34px 0; position: relative; }
body .av-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 26px;
	height: 2px;
	border-radius: 2px;
	background: var(--av-gold-sheen);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s ease;
}
body .av-nav .wp-block-navigation__container > .wp-block-navigation-item:hover > .wp-block-navigation-item__content::after,
body .av-nav .wp-block-navigation__container > .current-menu-item > .wp-block-navigation-item__content::after { transform: scaleX(1); }
body .av-nav .wp-block-navigation-item__content:hover,
body .av-nav .current-menu-item > .wp-block-navigation-item__content { color: var(--av-crimson); }
body .av-nav .wp-block-navigation__submenu-icon { margin-left: 4px; color: var(--av-gold-text); }

body .av-nav .wp-block-navigation__submenu-container {
	min-width: 310px !important;
	background: #fff !important;
	border: 1px solid var(--av-border) !important;
	border-top: 3px solid var(--av-gold) !important;
	border-radius: 0 0 14px 14px;
	box-shadow: var(--av-shadow);
	padding: 10px !important;
	top: calc(100% - 22px) !important;
	left: -18px !important;
}
body .av-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	display: block;
	padding: 9px 12px !important;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 550;
	color: var(--av-ink);
	transition: background .15s ease, color .15s ease, padding .15s ease;
}
body .av-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	background: var(--av-ivory);
	color: var(--av-crimson);
	padding-left: 16px !important;
}
@media (min-width: 1001px) {
	body .av-nav .av-two-col > .wp-block-navigation__submenu-container {
		width: 580px !important;
		display: grid !important;
		grid-template-columns: 1fr 1fr;
	}
}
body .av-head-cta .wp-block-button__link { white-space: nowrap; font-size: 14px; box-shadow: 0 8px 20px rgba(200, 16, 46, .22); }

/* Collapse to the hamburger overlay below 1000px (core default is 600px) */
@media (min-width: 600px) and (max-width: 1000px) {
	body .av-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	body .av-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
body .av-nav .wp-block-navigation__responsive-container-open {
	border: 1px solid var(--av-border);
	border-radius: 10px;
	padding: 7px;
	color: var(--av-ink);
}
body .av-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: 24px !important;
	background: var(--av-ivory) !important;
	--navigation-layout-justification-setting: flex-start;
	--navigation-layout-justify: flex-start;
	--navigation-layout-align: flex-start;
	text-align: left;
}
body .av-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
body .av-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
body .av-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { align-items: flex-start; }
body .av-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	padding: 8px 0 !important;
	font-size: 17px;
}
body .av-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content::after { display: none; }
body .av-nav .wp-block-navigation__responsive-container.is-menu-open .has-child > .wp-block-navigation-item__content {
	color: var(--av-gold-text);
	text-transform: uppercase;
	letter-spacing: .12em;
	font-size: 12px;
	font-weight: 750;
	margin-top: 10px;
}
body .av-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	border: 0 !important;
	box-shadow: none;
	background: transparent !important;
	padding: 0 0 0 14px !important;
	min-width: 0 !important;
	width: auto !important;
	display: block !important;
	top: auto !important;
	left: auto !important;
}
body .av-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-size: 15px; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
body .wp-block-buttons { gap: 12px; }
body .wp-block-button__link { transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
body .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(200, 16, 46, .25); }
body .wp-block-button.is-style-outline > .wp-block-button__link,
body .wp-block-button.is-style-outline > .wp-block-button__link:not(:hover) {
	background: transparent;
	color: var(--av-ink);
	border: 2px solid var(--av-gold);
	padding: 13px 24px;
}
body .wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--av-ink);
	border-color: var(--av-ink);
	color: #fff;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
body .av-hero {
	background:
		radial-gradient(900px 520px at 88% 8%, rgba(242, 217, 139, .38), transparent 62%),
		radial-gradient(700px 480px at 70% 100%, rgba(200, 16, 46, .07), transparent 60%),
		linear-gradient(135deg, #FFFFFF 0%, #FBF8F2 60%, #F5ECDD 100%);
	border-bottom: 1px solid var(--av-border);
	margin: 0;
	position: relative;
	overflow: hidden;
}
body .av-hero::before {
	content: "";
	position: absolute;
	right: -140px; top: -60px;
	width: 620px; height: 620px;
	background: url(../images/brand/avantvero-mark.png) center / contain no-repeat;
	opacity: .06;
	pointer-events: none;
}
body .av-hero-grid {
	min-height: 640px;
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	align-items: center;
	gap: 64px;
	padding-top: 72px;
	padding-bottom: 76px;
	position: relative;
	z-index: 1;
}
body .av-hero-grid > * { margin: 0 !important; }
body .av-page-hero .av-hero-grid { min-height: 540px; padding-top: 58px; padding-bottom: 66px; }
body .av-hero h1 { margin: 0 0 26px; max-width: 760px; }
body .av-hero h1::after {
	content: "";
	display: block;
	width: 96px;
	height: 4px;
	margin-top: 24px;
	border-radius: 4px;
	background: var(--av-gold-sheen);
}
body .av-lead { font-size: 19px; line-height: 1.7; max-width: 780px; margin: 0 0 24px; color: var(--av-text); }
body .av-lead.av-lead-sm { font-size: 17px; color: var(--av-muted); }
body .av-hero .wp-block-buttons { margin-top: 32px !important; }
body .av-hero-copy > * { margin-top: 0; }
body .av-trust {
	margin: 28px 0 0 !important;
	font-size: 12.5px;
	color: var(--av-gold-text);
	font-weight: 650;
	letter-spacing: .08em;
	text-transform: uppercase;
}
body .av-breadcrumb { font-size: 12.5px; color: var(--av-muted); font-weight: 550; margin: 0 0 16px; }
body .av-breadcrumb a { color: var(--av-muted); }
body .av-breadcrumb a:hover { color: var(--av-crimson); }

/* Hero visual card */
body .av-visual {
	background: rgba(255, 255, 255, .86);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	border: 1px solid var(--av-border);
	border-radius: 24px;
	box-shadow: var(--av-shadow);
	padding: 36px;
	color: var(--av-text);
	position: relative;
	overflow: hidden;
}
body .av-visual::before {
	content: "";
	position: absolute;
	left: 0; right: 0; top: 0;
	height: 5px;
	background: var(--av-gold-sheen);
}
body .av-visual::after {
	content: "";
	position: absolute;
	width: 280px; height: 280px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(242, 217, 139, .55), rgba(242, 217, 139, 0) 70%);
	right: -110px; top: -110px;
}
body .av-visual > * { position: relative; z-index: 1; }
body .av-page-hero .av-visual { min-height: 360px; display: flex; flex-direction: column; justify-content: center; }
body .av-visual .av-tag {
	color: var(--av-gold-text);
	font-size: 12px;
	font-weight: 750;
	text-transform: uppercase;
	letter-spacing: .14em;
	margin: 0;
}
body .av-visual h3 { font-size: 29px; line-height: 1.15; margin: 10px 0 24px; padding-right: 64px; color: var(--av-ink); }
body .av-visual .av-visual-sub { margin: -10px 0 22px; color: var(--av-muted); font-size: 14px; }
body .av-visual[class*="av-icon-"] .av-tag::before {
	content: "";
	position: absolute;
	right: -6px;
	top: -10px;
	width: 56px;
	height: 56px;
	background: center / contain no-repeat;
}
body .av-visual[class*="av-icon-"] .av-tag { position: relative; }
body .av-icon-checklist .av-tag::before { background-image: url(../images/icons/checklist.svg) !important; }
body .av-icon-industry .av-tag::before { background-image: url(../images/icons/industry.svg) !important; }
body .av-icon-resources .av-tag::before { background-image: url(../images/icons/resources.svg) !important; }
body .av-icon-contact .av-tag::before { background-image: url(../images/icons/contact.svg) !important; }
body .av-icon-shield .av-tag::before { background-image: url(../images/icons/shield.svg) !important; }
body .av-icon-lock .av-tag::before { background-image: url(../images/icons/lock.svg) !important; }
body .av-icon-audit .av-tag::before { background-image: url(../images/icons/audit.svg) !important; }

body .av-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 !important; }
body .av-mini-grid > * { margin: 0 !important; }
body .av-mini {
	background: #fff;
	border: 1px solid var(--av-border);
	border-left: 3px solid var(--av-crimson);
	border-radius: 12px;
	padding: 16px 16px 16px 18px;
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--av-muted);
	transition: transform .2s ease, box-shadow .2s ease;
}
body .av-mini:nth-child(2n) { border-left-color: var(--av-gold); }
body .av-mini:hover { transform: translateY(-2px); box-shadow: var(--av-shadow-sm); }
body .av-mini strong { display: inline-block; color: var(--av-ink); font-family: var(--av-heading-font); font-weight: 600; font-size: 16px; margin-bottom: 4px; line-height: 1.3; }

/* --------------------------------------------------------------------------
   Strip
   -------------------------------------------------------------------------- */
body .av-strip { border-bottom: 1px solid var(--av-border); background: #fff; margin: 0; }
body .av-strip-grid { display: grid; grid-template-columns: repeat(5, 1fr); padding-top: 26px; padding-bottom: 26px; }
body .av-strip-grid > * { margin: 0 !important; }
body .av-strip-item {
	padding: 4px 20px;
	border-right: 1px solid var(--av-border);
	font-family: var(--av-heading-font);
	font-weight: 600;
	font-size: 16.5px;
	color: var(--av-ink);
	text-align: center;
	counter-increment: av-strip;
}
body .av-strip-grid { counter-reset: av-strip; }
body .av-strip-item:last-child { border-right: 0; }
body .av-strip-item::before {
	content: "0" counter(av-strip);
	display: block;
	font-family: var(--wp--preset--font-family--inter, Inter, sans-serif);
	font-size: 11px;
	font-weight: 750;
	letter-spacing: .16em;
	color: var(--av-gold-text);
	margin: 0 auto 6px;
}

/* --------------------------------------------------------------------------
   Card grids (shared)
   -------------------------------------------------------------------------- */
body .av-cards,
body .av-content-cards,
body .av-related-grid,
body .av-primary-services,
body .av-service-grid,
body .av-steps,
body .av-industries,
body .av-why { display: grid; gap: 22px; }
body .av-cards > *, body .av-content-cards > *, body .av-related-grid > *,
body .av-primary-services > *, body .av-service-grid > *, body .av-steps > *,
body .av-industries > *, body .av-why > * { margin: 0 !important; }

body .av-cards { grid-template-columns: repeat(4, 1fr); }
body .av-content-cards { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
body .av-related-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
body .av-primary-services { grid-template-columns: repeat(2, 1fr); margin-bottom: 22px; }
body .av-service-grid { grid-template-columns: repeat(2, 1fr); margin-top: 0 !important; }
body .av-steps { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
body .av-industries { grid-template-columns: repeat(4, 1fr); gap: 18px; }
body .av-why { grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Card base */
body .av-card,
body .av-content-card,
body .av-service,
body .av-step,
body .av-related-card {
	background: #fff;
	border: 1px solid var(--av-border);
	border-radius: 16px;
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
body .av-card:hover,
body .av-content-card:hover,
body .av-service:hover,
body .av-related-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--av-shadow);
	border-color: rgba(201, 162, 58, .55);
}
body .av-card > *, body .av-content-card > *, body .av-service > *,
body .av-step > *, body .av-related-card > *, body .av-industry > *, body .av-why-item > * { margin-top: 0; }

body .av-card { padding: 28px; box-shadow: var(--av-shadow-sm); position: relative; overflow: hidden; }
body .av-card::before,
body .av-content-card::before {
	content: "";
	display: block;
	width: 40px; height: 4px;
	background: var(--av-gold-sheen);
	border-radius: 4px;
	margin-bottom: 18px;
}
body .av-card::after {
	content: "";
	position: absolute;
	right: -40px; bottom: -40px;
	width: 110px; height: 110px;
	border-radius: 50%;
	background: rgba(200, 16, 46, .05);
	transition: transform .3s ease;
}
body .av-card:hover::after { transform: scale(1.4); }
body .av-card h3 { margin: 0 0 10px; font-size: 21px; }
body .av-card p { margin: 0 0 16px; }

body .av-content-card { padding: 26px; box-shadow: 0 7px 18px rgba(43, 13, 18, .04); }
body .av-content-card::before { margin-bottom: 16px; }
body .av-content-card h3 { margin: 0 0 8px; font-size: 20px; }
body .av-content-card p { margin: 0; }
body .av-section.av-alt .av-content-card,
body .av-section.av-tint .av-content-card { box-shadow: var(--av-shadow-sm); }

body .av-link { font-weight: 650; font-size: 14px; margin: 0 !important; }
body .av-link a { color: var(--av-crimson); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
body .av-link a:hover { color: var(--av-crimson-deep); border-bottom-color: var(--av-gold); }

body .av-service { padding: 30px; }
body .av-service.av-primary {
	padding: 38px;
	background:
		radial-gradient(420px 220px at 100% 0%, rgba(242, 217, 139, .35), transparent 70%),
		#fff;
	border-top: 4px solid var(--av-crimson);
	box-shadow: var(--av-shadow-sm);
}
body .av-service.av-primary + .av-service.av-primary { border-top-color: var(--av-gold); }
body .av-service h3 { font-size: 23px; margin: 0 0 10px; }
body .av-service.av-primary h3 { font-size: 28px; }
body .av-service p { margin: 0 0 14px; }

body .av-step {
	border-top: 3px solid var(--av-crimson);
	padding: 26px;
	box-shadow: 0 7px 18px rgba(43, 13, 18, .04);
}
body .av-num { color: var(--av-crimson); font-size: 12.5px; font-weight: 800; letter-spacing: .14em; margin: 0; }
body .av-step h3 { margin: 8px 0 9px; }
body .av-step p { margin: 0; }

body .av-industry {
	min-height: 250px;
	background: linear-gradient(160deg, #FFFFFF 0%, #FBF8F2 55%, #F5ECDD 100%);
	border: 1px solid var(--av-border);
	border-radius: 18px;
	padding: 26px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	position: relative;
	overflow: hidden;
	box-shadow: var(--av-shadow-sm);
	transition: transform .22s ease, box-shadow .22s ease;
}
body .av-industry::before {
	content: "";
	position: absolute;
	right: 22px; top: 22px;
	width: 46px; height: 46px;
	border-radius: 12px;
	background: var(--av-wine-depth);
	box-shadow: 0 8px 18px rgba(43, 13, 18, .25);
}
body .av-industry::after {
	content: "";
	position: absolute;
	right: 36px; top: 36px;
	width: 18px; height: 18px;
	background: var(--av-gold-sheen);
	transform: rotate(45deg);
	border-radius: 2px;
}
body .av-industry:hover { transform: translateY(-4px); box-shadow: var(--av-shadow); }
body .av-industry > * { position: relative; }
body .av-industry h3 { margin: 0 0 8px; font-size: 22px; }
body .av-industry p { margin: 0; font-size: 14.5px; color: var(--av-muted); }

body .av-why-item { border-left: 3px solid var(--av-gold); padding-left: 20px; }
body .av-why-item h3 { margin: 0 0 8px; }
body .av-why-item p { margin: 0; }
body .av-disclaimer {
	margin: 32px 0 0 !important;
	font-size: 13px;
	color: var(--av-muted);
	border-top: 1px solid var(--av-border);
	padding-top: 20px;
}

body .av-related-card { padding: 24px; display: flex; flex-direction: column; }
body .av-related-card h3 { font-size: 19px; margin: 0 0 8px; }
body .av-related-card p { font-size: 14px; margin: 0 0 12px; }
body .av-related-card p:not(.av-link) { flex: 1; }
body .av-related-card .av-link { font-size: 13px; font-weight: 700; }

/* --------------------------------------------------------------------------
   Dark band (wine) — used for the approach/process section
   -------------------------------------------------------------------------- */
body .av-section.av-dark {
	background:
		radial-gradient(800px 420px at 100% 0%, rgba(201, 162, 58, .18), transparent 65%),
		var(--av-wine-depth);
	color: rgba(251, 246, 236, .82);
	overflow: hidden;
}
body .av-section.av-dark h2,
body .av-section.av-dark h3 { color: #FBF6EC; }
body .av-section.av-dark .av-eyebrow { color: var(--av-gold-light); }
body .av-section.av-dark .av-section-intro { color: rgba(251, 246, 236, .78); }
body .av-section.av-dark .av-step {
	background: rgba(255, 255, 255, .05);
	border: 1px solid rgba(242, 217, 139, .18);
	border-top: 3px solid var(--av-gold);
	box-shadow: none;
}
body .av-section.av-dark .av-step:hover { background: rgba(255, 255, 255, .08); transform: translateY(-4px); }
body .av-section.av-dark .av-num { color: var(--av-gold-light); }
body .av-section.av-dark .av-step p { color: rgba(251, 246, 236, .75); }

/* --------------------------------------------------------------------------
   Split + check panel
   -------------------------------------------------------------------------- */
body .av-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
body .av-split > * { margin: 0 !important; }
body .av-split p { margin: 0 0 1em; }
body .av-checkpanel {
	background: #fff;
	border: 1px solid var(--av-border);
	border-radius: 18px;
	padding: 32px;
	box-shadow: var(--av-shadow);
	position: relative;
	overflow: hidden;
}
body .av-checkpanel::before {
	content: "";
	position: absolute;
	left: 0; top: 0; bottom: 0;
	width: 4px;
	background: linear-gradient(180deg, var(--av-crimson), var(--av-gold));
}
body .av-checkpanel > * { margin: 0; }
body .av-checkpanel h3 { margin: 0 0 18px; }
body .av-check {
	position: relative;
	padding: 11px 0 11px 36px;
	margin: 0 !important;
	border-bottom: 1px solid #F1E9DC;
}
body .av-check:last-child { border-bottom: 0; }
body .av-check::before {
	content: "✓";
	position: absolute;
	left: 0; top: 12px;
	width: 23px; height: 23px;
	border-radius: 50%;
	background: var(--av-crimson);
	color: #fff;
	display: grid;
	place-items: center;
	font-weight: 900;
	font-size: 12px;
	line-height: 1;
	box-shadow: 0 0 0 3px rgba(200, 16, 46, .12);
}
body .av-check strong { color: var(--av-ink); }

/* --------------------------------------------------------------------------
   Plain copy, notes, FAQ
   -------------------------------------------------------------------------- */
body .av-plain-copy { max-width: 950px; margin-left: 0 !important; }
body .av-section > .av-plain-copy { margin-left: auto !important; margin-right: auto !important; max-width: var(--av-max); }
body .av-plain-copy > * { max-width: 950px; }
body .av-plain-copy p { font-size: 17px; margin: 0 0 1em; }
body .av-plain-copy ul { padding-left: 20px; }
body .av-plain-copy li { margin-bottom: 8px; }
body .av-plain-copy li::marker { color: var(--av-gold); }

body .av-note {
	background: linear-gradient(90deg, rgba(242, 217, 139, .28), rgba(245, 236, 221, .45));
	border: 1px solid rgba(201, 162, 58, .35);
	border-left: 4px solid var(--av-gold);
	border-radius: 14px;
	padding: 18px 22px;
	margin: 0 0 28px !important;
	max-width: 950px;
	color: var(--av-ink);
}
body .av-note p { margin: 0; }

body .av-faq > * { max-width: 920px; }
body .av-faq .wp-block-details {
	background: #fff;
	border: 1px solid var(--av-border);
	border-radius: 14px;
	padding: 0;
	margin: 0 0 12px !important;
	transition: box-shadow .2s ease, border-color .2s ease;
}
body .av-faq .wp-block-details[open] { border-color: rgba(201, 162, 58, .6); box-shadow: var(--av-shadow-sm); }
body .av-faq .wp-block-details summary {
	cursor: pointer;
	list-style: none;
	color: var(--av-ink);
	font-family: var(--av-heading-font);
	font-weight: 600;
	font-size: 18px;
	padding: 18px 56px 18px 22px;
	position: relative;
}
body .av-faq .wp-block-details summary::-webkit-details-marker { display: none; }
body .av-faq .wp-block-details summary::after {
	content: "+";
	position: absolute;
	right: 18px; top: 50%;
	transform: translateY(-50%);
	width: 28px; height: 28px;
	border-radius: 50%;
	background: var(--av-champagne);
	color: var(--av-crimson);
	display: grid;
	place-items: center;
	font-family: var(--wp--preset--font-family--inter, Inter, sans-serif);
	font-size: 18px;
	font-weight: 600;
	line-height: 1;
	transition: transform .2s ease, background .2s ease, color .2s ease;
}
body .av-faq .wp-block-details[open] summary::after { content: "–"; background: var(--av-crimson); color: #fff; }
body .av-faq .wp-block-details p { margin: 0; padding: 0 22px 20px; }
body .av-faq h2 { margin-bottom: 26px !important; }

/* --------------------------------------------------------------------------
   Client logo ticker
   -------------------------------------------------------------------------- */
body .av-clients {
	padding: 44px 0;
	background: #fff;
	border-top: 1px solid var(--av-border);
	border-bottom: 1px solid var(--av-border);
	margin: 0;
}
body .av-clients-heading {
	font-family: var(--wp--preset--font-family--inter, Inter, sans-serif);
	font-size: 13px !important;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: .18em;
	font-weight: 750;
	color: var(--av-gold-text);
	text-align: center;
	margin: 0 0 24px;
}
body .av-clients-heading::after { display: none !important; }
body .av-ticker {
	position: relative;
	overflow: hidden;
	width: 100%;
	margin: 0 !important;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
	mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
}
body .av-ticker-track {
	display: flex;
	align-items: center;
	width: max-content;
	margin: 0 !important;
}
body .av-ticker.is-animated .av-ticker-track { animation: av-logo-ticker 32s linear infinite; will-change: transform; }
body .av-ticker:hover .av-ticker-track { animation-play-state: paused; }
body .av-logo-set {
	display: flex !important;
	flex-wrap: nowrap;
	align-items: center;
	gap: 58px;
	padding-right: 58px;
	flex: 0 0 auto;
	margin: 0 !important;
}
body .av-logo-set > * { margin: 0 !important; }
body .av-logo-set .wp-block-image {
	width: 145px; height: 58px;
	display: flex; align-items: center; justify-content: center;
	flex: 0 0 auto;
}
body .av-logo-set .wp-block-image img {
	display: block;
	max-width: 140px;
	max-height: 48px;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: grayscale(1);
	opacity: .7;
	transition: filter .25s ease, opacity .25s ease;
}
body .av-logo-set .wp-block-image img:hover { filter: none; opacity: 1; }
@keyframes av-logo-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	body .av-ticker { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
	body .av-ticker .av-ticker-track { animation: none !important; }
	body * { transition: none !important; }
}

/* --------------------------------------------------------------------------
   CTA (wine band with gold)
   -------------------------------------------------------------------------- */
body .av-cta {
	background:
		radial-gradient(600px 360px at 92% 10%, rgba(242, 217, 139, .22), transparent 65%),
		var(--av-wine-depth);
	color: rgba(251, 246, 236, .85);
	padding: 84px 0;
	position: relative;
	overflow: hidden;
	margin: 0;
}
body .av-cta::after {
	content: "";
	position: absolute;
	right: -60px; bottom: -120px;
	width: 440px; height: 440px;
	background: url(../images/brand/avantvero-mark.png) center / contain no-repeat;
	opacity: .12;
	pointer-events: none;
}
body .av-cta > .av-wrap { position: relative; z-index: 1; }
body .av-cta h2 { font-size: 44px; margin: 0 0 16px; color: #FBF6EC; }
body .av-cta h2::after {
	content: "";
	display: block;
	width: 72px; height: 3px;
	margin-top: 18px;
	border-radius: 3px;
	background: var(--av-gold-sheen);
}
body .av-cta p { max-width: 790px; font-size: 18px; margin: 0 0 30px; color: rgba(251, 246, 236, .82); }
body .av-cta .wp-block-button:not(.is-style-outline) > .wp-block-button__link {
	background: var(--av-gold-sheen);
	border-color: transparent;
	color: var(--av-wine);
	box-shadow: 0 10px 26px rgba(0, 0, 0, .25);
}
body .av-cta .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover { filter: brightness(1.06); box-shadow: 0 14px 30px rgba(0, 0, 0, .3); }
body .av-cta .wp-block-button.is-style-outline > .wp-block-button__link,
body .av-cta .wp-block-button.is-style-outline > .wp-block-button__link:not(:hover) {
	color: #FBF6EC;
	border-color: rgba(242, 217, 139, .7);
}
body .av-cta .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: #FBF6EC; color: var(--av-wine); border-color: #FBF6EC; }

/* --------------------------------------------------------------------------
   Footer (darkest wine, reversed logo)
   -------------------------------------------------------------------------- */
body .av-footer {
	background: #22090E;
	color: rgba(251, 246, 236, .72);
	padding: 64px 0 26px;
	margin: 0;
	position: relative;
}
body .av-footer::before {
	content: "";
	position: absolute;
	left: 0; right: 0; top: 0;
	height: 3px;
	background: var(--av-gold-sheen);
}
body .av-foot { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
body .av-foot > * { margin: 0 !important; }
body .av-foot h3 {
	font-family: var(--wp--preset--font-family--inter, Inter, sans-serif);
	font-size: 12px;
	font-weight: 750;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--av-gold-light);
	margin: 6px 0 16px;
}
body .av-foot a { color: rgba(251, 246, 236, .85); line-height: 2; }
body .av-foot a:hover { color: var(--av-gold-light); }
body .av-foot p { margin: 0 0 1em; }
body .av-foot-logo { margin: 0 0 16px !important; }
body .av-foot-logo img { height: 52px; width: auto; }
body .av-foot-tagline {
	color: var(--av-gold-light);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	margin: 0 0 14px !important;
}
body .av-legal {
	border-top: 1px solid rgba(242, 217, 139, .18);
	margin: 36px 0 0 !important;
	padding-top: 20px;
	font-size: 12px;
	color: rgba(251, 246, 236, .5);
}

/* --------------------------------------------------------------------------
   Enquiry form
   -------------------------------------------------------------------------- */
.av-form {
	background: #fff;
	border: 1px solid var(--av-border);
	border-top: 4px solid var(--av-crimson);
	border-radius: 18px;
	padding: 32px;
	box-shadow: var(--av-shadow);
	max-width: 950px;
}
.av-form .av-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.av-form .av-field { margin-bottom: 14px; }
.av-form label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .03em; color: var(--av-ink); margin-bottom: 6px; }
.av-form input[type="text"],
.av-form input[type="email"],
.av-form input[type="tel"],
.av-form select,
.av-form textarea {
	width: 100%;
	border: 1px solid var(--av-border);
	border-radius: 10px;
	padding: 12px 14px;
	font: inherit;
	background: var(--av-ivory);
	color: var(--av-text);
	box-sizing: border-box;
	transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.av-form input:focus, .av-form select:focus, .av-form textarea:focus {
	outline: none;
	background: #fff;
	border-color: var(--av-gold);
	box-shadow: 0 0 0 4px rgba(201, 162, 58, .2);
}
.av-form textarea { min-height: 130px; resize: vertical; }
.av-form .av-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.av-form .av-form-small { font-size: 13px; color: var(--av-muted); margin: 4px 0 18px; }
.av-form button {
	background: var(--av-crimson);
	color: #fff;
	border: 2px solid var(--av-crimson);
	padding: 13px 28px;
	border-radius: 999px;
	font: inherit;
	font-weight: 650;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(200, 16, 46, .22);
	transition: background .2s ease, transform .2s ease;
}
.av-form button:hover { background: var(--av-crimson-deep); border-color: var(--av-crimson-deep); transform: translateY(-1px); }
.av-form-msg { border-radius: 12px; padding: 16px 20px; margin: 0 0 20px; font-weight: 600; max-width: 950px; }
.av-form-msg.is-success { background: #EEF7F0; border: 1px solid #BFE0C8; color: #1E6436; }
.av-form-msg.is-error { background: #FDF1F2; border: 1px solid #F4C7CD; color: var(--av-crimson-deep); }

/* --------------------------------------------------------------------------
   Generic page / posts (blog, 404, page without hero)
   -------------------------------------------------------------------------- */
body .av-page-title { margin: 0 0 24px; }
body .av-entry > * { max-width: 850px; }
body .av-entry > .alignwide, body .av-entry > .alignfull { max-width: none; }
body .av-post-list .wp-block-post { padding: 24px 0; border-bottom: 1px solid var(--av-border); margin: 0; }
body .av-post-list .wp-block-post-title { font-size: 24px; margin: 0 0 8px; }
body .av-post-list .wp-block-post-title a { color: var(--av-ink); }
body .av-post-list .wp-block-post-title a:hover { color: var(--av-crimson); }
body .av-404 { padding-top: 90px; padding-bottom: 90px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
	body .av-hero-grid { grid-template-columns: 1fr; min-height: 0 !important; gap: 44px; }
	body .av-visual { max-width: 700px; }
	body .av-cards, body .av-why, body .av-service-grid, body .av-steps,
	body .av-industries, body .av-content-cards, body .av-related-grid { grid-template-columns: 1fr 1fr; }
	body .av-primary-services, body .av-split { grid-template-columns: 1fr; }
	body .av-strip-grid { grid-template-columns: 1fr 1fr; }
	body .av-strip-item { border-right: 0; border-bottom: 1px solid var(--av-border); padding: 15px; }
	body .av-head { min-height: 82px; }
	body .av-brand .wp-block-site-logo img { height: 48px; }
	body .av-logo-set { gap: 44px; padding-right: 44px; }
	body .av-ticker.is-animated .av-ticker-track { animation-duration: 38s; }
	body .av-foot { grid-template-columns: 1fr 1fr; }
	body .av-foot > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
	body .av-wrap { padding-left: 20px; padding-right: 20px; }
	body .av-topbar { font-size: 10px; letter-spacing: .03em; }
	body .av-head { gap: 12px; min-height: 74px; }
	body .av-brand .wp-block-site-logo img { height: 40px; max-width: 190px; }
	body .av-brand .wp-block-site-title { font-size: 21px; }
	body .av-brand .wp-block-site-tagline { display: none; }
	body .av-head-cta .wp-block-button__link { padding: 10px 14px; font-size: 12px; }
	body .av-hero-grid, body .av-page-hero .av-hero-grid { padding-top: 46px; padding-bottom: 54px; gap: 36px; }
	body .av-hero::before { width: 360px; height: 360px; right: -120px; top: -40px; }
	body .av-hero h1 { font-size: 40px; }
	body .av-lead { font-size: 17px; }
	body .av-hero .wp-block-button { width: 100%; }
	body .av-hero .wp-block-button__link { width: 100%; text-align: center; }
	body .av-cards, body .av-service-grid, body .av-steps, body .av-industries, body .av-why,
	body .av-strip-grid, body .av-content-cards, body .av-related-grid, body .av-mini-grid, body .av-foot { grid-template-columns: 1fr; }
	body .av-section { padding: 58px 0; }
	body .av-cta { padding: 62px 0; }
	body .av-cta h2 { font-size: 32px; }
	body .av-visual { padding: 26px; }
	body .av-visual[class*="av-icon-"] .av-tag::before { width: 44px; height: 44px; }
	body .av-industry { min-height: 0; padding-top: 84px; }
	.av-form { padding: 22px; }
	.av-form .av-form-row { grid-template-columns: 1fr; }
	body .av-logo-set { gap: 34px; padding-right: 34px; }
	body .av-logo-set .wp-block-image { width: 116px; height: 48px; }
	body .av-logo-set .wp-block-image img { max-width: 110px; max-height: 38px; }
	body .av-ticker.is-animated .av-ticker-track { animation-duration: 44s; }
}
@media (max-width: 480px) {
	body .av-head-cta { display: none; }
}

/* Tighten consecutive sections that share the same background */
body .av-section:not(.av-alt):not(.av-tint):not(.av-dark) + .av-section:not(.av-alt):not(.av-tint):not(.av-dark),
body .av-section.av-alt + .av-section.av-alt,
body .av-section.av-tint + .av-section.av-tint { padding-top: 8px; }
