/**
 * VCI global header & footer — Figma-aligned (Frame 46 / Mega menu / Nav Open).
 */

:root {
	--vci-container: 1280px;
	--vci-gutter: clamp(1.25rem, 4.2vw, 5rem);
}

.vci-site-header .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;
	width: 1px;
	word-wrap: normal !important;
}

/* -------------------------------------------------------------------------
   Header shell
   ------------------------------------------------------------------------- */
.vci-site-header {
	--vci-header-ink: #272727;
	--vci-header-muted: #646464;
	--vci-header-surface: #f9f9f9;
	--vci-header-brand: #b34b2b;
	--vci-header-hairline: #d3d3d3;
	box-sizing: border-box;
	color: var(--vci-header-ink);
	background: var(--vci-header-surface);
	position: relative;
	z-index: 50;
}

.vci-site-header *,
.vci-site-header *::before,
.vci-site-header *::after {
	box-sizing: border-box;
}

.vci-site-header a {
	color: inherit;
	text-decoration: none;
}

.vci-site-header a:hover,
.vci-site-header a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.vci-site-header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	max-width: var(--vci-container, 1280px);
	margin-left: auto;
	margin-right: auto;
	padding: 1.5rem var(--vci-gutter, clamp(1.25rem, 4.2vw, 5rem));
	min-height: 4.375rem;
}

.vci-site-header__brand {
	display: inline-flex;
	align-items: center;
	color: var(--vci-header-ink);
	flex-shrink: 0;
}

.vci-site-header__brand img {
	display: block;
	width: 60px;
	height: auto;
}

/* Desktop primary nav */
.vci-site-header__nav--desktop {
	display: none;
	flex: 1;
	justify-content: center;
}

.vci-site-header__nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: clamp(1rem, 2.5vw, 2rem);
	/* Figma: Desktop/Nav — PP Mori Medium 12 / 1.4 / tracking 10% */
	font-size: 12px;
	line-height: 1.4;
}

.vci-site-header__nav-list > li {
	position: relative;
}

.vci-site-header__nav-link {
	font-family: inherit;
	font-size: inherit;
	font-weight: 500;
	font-style: normal;
	letter-spacing: 0.1em; /* Figma tracking 10 */
	line-height: 1.4;
	text-transform: uppercase;
	white-space: nowrap;
	padding: 0.25rem 0;
	background: none;
	border: 0;
	cursor: pointer;
	color: inherit;
	/* Do not use `font: inherit` here — it overrides font-size set on __nav-list */
}

.vci-site-header__nav-link:hover,
.vci-site-header__nav-link:focus-visible {
	text-decoration: underline;
}

/* Desktop mega (Skin concerns) */
.vci-site-header__mega {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: 100%;
	width: min(100vw, 720px);
	padding: 1.5rem 1.75rem 1.75rem;
	margin-top: 0.5rem;
	background: #fff;
	border: 1px solid var(--vci-header-hairline);
	border-radius: 10px;
	box-shadow: 0 16px 40px rgba(45, 40, 40, 0.08);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.15s ease, visibility 0.15s ease;
	z-index: 60;
}

.vci-site-header__item--mega:hover .vci-site-header__mega,
.vci-site-header__item--mega:focus-within .vci-site-header__mega {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.vci-site-header__mega-title {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin: 0 0 1rem;
	color: var(--vci-header-muted);
}

.vci-site-header__mega-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.5rem 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.vci-site-header__mega-grid a {
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--vci-header-ink);
	display: block;
	padding: 0.2rem 0;
}

/* Desktop CTAs — Figma: “Call us” = text link; “Start free” = Desktop/Button (12 Semibold, lh 100%, tracking 10) */
.vci-site-header__actions--desktop {
	display: none;
	align-items: center;
	gap: 1.5rem; /* ~24px between link and pill */
	flex-shrink: 0;
}

/* Text link — matches Desktop/Nav treatment, not a button */
.vci-site-header__cta-link {
	display: inline-flex;
	align-items: center;
	font-size: 12px;
	font-weight: 500;
	font-style: normal;
	letter-spacing: 0.1em;
	line-height: 1.4;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	color: var(--vci-header-ink);
	padding: 0.25rem 0;
	background: none;
	border: 0;
}

.vci-site-header__cta-link:hover,
.vci-site-header__cta-link:focus-visible {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.vci-site-header__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 15px 24px;
	border-radius: 99px;
	font-size: 12px;
	font-weight: 600;
	font-style: normal;
	letter-spacing: 0.1em;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, filter 0.15s ease;
}

/* Pill height ≈ 42px text box + 1px border ≈ 44px row — Figma mobile button used py 15 px 24 */
.vci-site-header__btn--primary {
	border: 1px solid var(--vci-header-brand);
	background-color: var(--vci-header-brand);
	color: #ffffff;
	-webkit-text-fill-color: #ffffff;
}

.vci-site-header a.vci-site-header__btn--primary {
	color: #ffffff;
}

.vci-site-header a.vci-site-header__btn--primary:hover,
.vci-site-header a.vci-site-header__btn--primary:focus-visible {
	color: #ffffff;
	text-decoration: none;
	filter: brightness(1.05);
}

/* Mobile toggle */
.vci-site-header__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--vci-header-ink);
	cursor: pointer;
}

.vci-site-header__toggle-lines {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 22px;
}

.vci-site-header__toggle-lines span {
	display: block;
	height: 1px;
	background: currentColor;
}

@media (min-width: 782px) {
	.vci-site-header__nav--desktop {
		display: flex;
	}

	.vci-site-header__actions--desktop {
		display: flex;
	}

	.vci-site-header__toggle {
		display: none;
	}
}

/* -------------------------------------------------------------------------
   Mobile overlay (Nav Open / Skin Concerns)
   ------------------------------------------------------------------------- */
.vci-site-header__mobile {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: var(--vci-header-surface);
	overflow: auto;
	padding: 24px;
	-webkit-overflow-scrolling: touch;
}

.vci-site-header__mobile[hidden] {
	display: none !important;
}

body.vci-menu-open {
	overflow: hidden;
}

.vci-site-header__mobile-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 356px;
	margin: 0 auto 0;
	padding-bottom: 0;
}

.vci-site-header__close {
	font-family: inherit;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 1.4;
	text-transform: uppercase;
	background: none;
	border: 0;
	padding: 0.25rem 0;
	cursor: pointer;
	color: var(--vci-header-ink);
}

.vci-site-header__rule {
	border: 0;
	border-top: 1px solid var(--vci-header-hairline);
	margin: 1.25rem auto 1.5rem;
	max-width: 354px;
}

.vci-site-header__mobile-cols {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 1.5rem;
	max-width: 356px;
	margin: 0 auto;
	position: relative;
	min-height: 24rem;
}

.vci-site-header__mobile-primary {
	flex: 0 0 auto;
	min-width: 0;
}

.vci-site-header.vci-site-header--skin-open .vci-site-header__mobile-primary {
	flex: 0 0 42%;
}

.vci-site-header__mobile-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2rem;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 1.4;
	text-transform: uppercase;
}

.vci-site-header__mobile-list button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	text-align: left;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	color: inherit;
	font: inherit;
}

.vci-site-header__chev {
	width: 15px;
	height: 15px;
	flex-shrink: 0;
	margin-left: 0.5rem;
	color: var(--vci-header-ink);
	transition: transform 0.15s ease;
}

.vci-site-header.vci-site-header--skin-open .vci-site-header__chev {
	transform: rotate(-90deg);
}

.vci-site-header__skin-panel {
	flex: 1;
	min-width: 0;
	padding-left: 0.25rem;
}

.vci-site-header__skin-panel[hidden] {
	display: none !important;
}

.vci-site-header__skin-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--vci-header-muted);
}

.vci-site-header__skin-list a {
	color: inherit;
}

.vci-site-header__mobile-contact {
	margin-top: 2.5rem;
	max-width: 356px;
	margin-left: auto;
	margin-right: auto;
	padding-top: 1.5rem;
	border-top: 1px solid var(--vci-header-hairline);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.5;
	color: var(--vci-header-ink);
}

.vci-site-header__mobile-contact p {
	margin: 0 0 0.875rem;
}

.vci-site-header__mobile-actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
	max-width: 356px;
	margin: 2rem auto 0;
}

.vci-site-header__mobile-actions .vci-site-header__cta-link {
	justify-content: center;
	width: 100%;
	padding: 0.5rem 0;
}

.vci-site-header__mobile-actions .vci-site-header__btn--primary {
	width: 100%;
}

/* -------------------------------------------------------------------------
   Footer (site) — Figma: #1a1716 bg, Larken section titles, link grey #d6d2d1, VCI watermark
   ------------------------------------------------------------------------- */
.vci-site-footer {
	--vci-footer-bg: #1a1716;
	--vci-footer-title: #f0ebe8;
	--vci-footer-link: #d6d2d1;
	--vci-footer-dim: rgba(240, 235, 232, 0.55);
	position: relative;
	overflow: hidden;
	background: var(--vci-footer-bg);
	color: var(--vci-footer-link);
	box-sizing: border-box;
}

.vci-site-footer *,
.vci-site-footer *::before,
.vci-site-footer *::after {
	box-sizing: border-box;
}

.vci-site-footer__inner {
	position: relative;
	z-index: 1;
	max-width: var(--vci-container, 1280px);
	margin: 0 auto;
	padding: clamp(2.5rem, 5vw, 4rem) var(--vci-gutter, clamp(1.25rem, 4.2vw, 5rem)) clamp(6rem, 14vw, 10rem);
}

.vci-site-footer__brand {
	display: none;
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.vci-site-footer__brand img {
	display: block;
	width: clamp(72px, 12vw, 100px);
	height: auto;
	filter: brightness(0) invert(1);
}

@media (max-width: 781px) {
	.vci-site-footer__brand {
		display: block;
	}
}

/* Desktop: 4 columns — Concerns spans cols 1–2, Company spans 3–4; mobile: stacked / 2-col */
.vci-site-footer__links-grid {
	display: grid;
	column-gap: 1.25rem;
	row-gap: 1.25rem;
	margin-bottom: clamp(2rem, 4vw, 3rem);
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-areas:
		"fh-concerns fh-concerns"
		"fl-c1 fl-c2"
		"fh-company fh-company"
		"fl-c3 fl-c4";
}

.vci-site-footer__title--concerns {
	grid-area: fh-concerns;
}

.vci-site-footer__title--company {
	grid-area: fh-company;
}

.vci-site-footer__list--c1 {
	grid-area: fl-c1;
}

.vci-site-footer__list--c2 {
	grid-area: fl-c2;
}

.vci-site-footer__list--c3 {
	grid-area: fl-c3;
}

.vci-site-footer__list--c4 {
	grid-area: fl-c4;
}

/* Narrow mobile: single column of links */
@media (max-width: 479px) {
	.vci-site-footer__links-grid {
		grid-template-columns: 1fr;
		grid-template-areas:
			"fh-concerns"
			"fl-c1"
			"fl-c2"
			"fh-company"
			"fl-c3"
			"fl-c4";
	}
}

/* Desktop: one row of headings (each spans 2 of 4), one row of four link columns */
@media (min-width: 782px) {
	.vci-site-footer__links-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		grid-template-areas:
			"fh-concerns fh-concerns fh-company fh-company"
			"fl-c1 fl-c2 fl-c3 fl-c4";
		column-gap: clamp(1.5rem, 3vw, 2.5rem);
		row-gap: 1.5rem;
		align-items: start;
	}
}

.vci-site-footer__section-title {
	margin: 0;
	font-family: var(--wp--preset--font-family--larken);
	font-size: clamp(1.125rem, 2vw, 1.375rem);
	font-weight: 400;
	font-style: normal;
	line-height: 1.2;
	letter-spacing: 0.01em;
	color: var(--vci-footer-title);
}

@media (min-width: 782px) {
	.vci-site-footer__section-title {
		margin-bottom: 0;
	}
}

.vci-site-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 0.9375rem;
	line-height: 1.5;
	font-weight: 400;
}

.vci-site-footer__list a {
	color: var(--vci-footer-link);
	text-decoration: none;
	transition: color 0.15s ease, opacity 0.15s ease;
}

.vci-site-footer__list a:hover,
.vci-site-footer__list a:focus-visible {
	color: var(--vci-footer-title);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.vci-site-footer__contact {
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 0.9375rem;
	line-height: 1.55;
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 782px) {
	.vci-site-footer__contact {
		display: none !important;
	}
}

.vci-site-footer__address {
	margin: 0 0 1.25rem;
	color: var(--vci-footer-link);
}

.vci-site-footer__email {
	margin: 0 0 1rem;
}

.vci-site-footer__phone {
	margin: 0;
}

.vci-site-footer__contact a {
	color: var(--vci-footer-link);
	text-decoration: none;
}

.vci-site-footer__contact a:hover,
.vci-site-footer__contact a:focus-visible {
	color: var(--vci-footer-title);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.vci-site-footer__copy {
	display: none !important;
}

.vci-site-footer__watermark {
	position: absolute;
	left: 50%;
	bottom:0;
	transform: translateX(-50%);
	z-index: 0;
	max-width: var(--vci-container, 1280px);
	margin: 0 auto;
	width: 100%;
	padding: 0 var(--vci-gutter, clamp(1.25rem, 4.2vw, 5rem)) 0;
	display: flex;
}

.vci-site-footer__watermark img {
	display: block;
	width: 100%;
	height: auto;
}