/* ==========================================================================
   Vertex Technology — theme styles (design A3)
   Colours and fonts come from theme.json presets (Appearance → Editor → Styles).
   ========================================================================== */

:root {
	--vx-max: 1248px;
	--vx-pad: clamp(20px, 6.6vw, 96px);
	--vx-section: clamp(64px, 8vw, 112px);
	--vx-radius: 28px;
	--vx-accent: var(--wp--preset--color--accent);
	--vx-accent-2: var(--wp--preset--color--accent-2);
	--vx-soft: var(--wp--preset--color--accent-soft);
	--vx-ink: var(--wp--preset--color--ink);
	--vx-ink-soft: var(--wp--preset--color--ink-soft);
	--vx-muted: var(--wp--preset--color--muted);
	--vx-line: var(--wp--preset--color--line);
	--vx-base: var(--wp--preset--color--base);
	--vx-surface: var(--wp--preset--color--surface);
	--vx-night: var(--wp--preset--color--night);
	--vx-night-2: var(--wp--preset--color--night-2);
	--vx-display: var(--wp--preset--font-family--display);
	--vx-mono: var(--wp--preset--font-family--mono);
	--vx-header-h: 88px;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.wp-site-blocks > * { margin-block: 0; }
.wp-site-blocks { padding: 0; }
.vx-main > * { margin-block: 0; }

/* Components lay out their own spacing (flex/grid gap) — neutralise flow margins. */
.vx-section .wp-block-group > *,
.vx-header .wp-block-group > *,
.vx-footer .wp-block-group > *,
.vx-section > * { margin-block: 0; }

.vx-section { scroll-margin-top: calc(var(--vx-header-h) + 8px); }
.vx-section[id], .vx-backend { scroll-margin-top: calc(var(--vx-header-h) + 8px); }

.vx-wrap {
	box-sizing: content-box;
	max-width: var(--vx-max);
	margin-inline: auto;
	padding-inline: var(--vx-pad);
}

/* ---------- Typography helpers ---------- */
.vx-label {
	margin: 0;
	font-family: var(--vx-mono);
	font-size: 13px;
	line-height: 1.4;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--vx-muted);
}
.vx-label--accent { color: var(--vx-accent); }
.vx-dot { display: flex; align-items: center; gap: 10px; }
.vx-dot::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--vx-accent-2);
}
.vx-lead { font-size: var(--wp--preset--font-size--large); line-height: 1.55; color: var(--vx-ink-soft); max-width: 560px; }
.vx-muted { color: var(--vx-muted); }
.vx-mono { font-family: var(--vx-mono); }
.vx-num { margin: 0; font-family: var(--vx-mono); font-size: 12px; color: var(--vx-muted); }
.vx-upper { text-transform: uppercase; }
.vx-h2-sm { font-size: clamp(32px, 3.4vw, 44px); }

.vx-section h2, .vx-section h3, .vx-section h4 { margin: 0; }

/* ---------- Buttons ---------- */
.wp-block-button .wp-block-button__link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.wp-block-button.is-style-arrow .wp-block-button__link::after {
	content: "";
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9h12M10 4l5 5-5 5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9h12M10 4l5 5-5 5'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .2s;
}
.wp-block-button.is-style-arrow .wp-block-button__link:hover::after { transform: translateX(3px); }
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--vx-ink);
	border: 1.5px solid var(--vx-ink);
	padding: 13.5px 26.5px;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--vx-ink); color: var(--vx-base); }
.wp-block-button.is-style-ink .wp-block-button__link {
	background: var(--vx-ink);
	color: var(--vx-base);
	font-size: 15px;
	font-weight: 500;
	padding: 11px 20px;
}
.wp-block-button.is-style-ink .wp-block-button__link:hover { background: var(--vx-accent); color: #fff; }
.vx-actions { gap: 12px; margin-top: 8px !important; }

/* ---------- Header ---------- */
.vx-site-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 50;
	border-bottom: 1px solid var(--vx-line);
	isolation: isolate;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   trap the fixed-position mobile menu overlay inside the header bar. */
.vx-site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: color-mix(in srgb, var(--vx-base) 92%, transparent);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
}
.vx-header__inner {
	box-sizing: border-box;
	max-width: calc(var(--vx-max) + 2 * var(--vx-pad));
	margin-inline: auto;
	padding-inline: var(--vx-pad);
	height: var(--vx-header-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.vx-logo { display: flex; align-items: center; flex: none; }
.vx-logo img { display: block; height: 34px; width: auto; }
.vx-nav { flex: 1; justify-content: center; gap: 40px; }
.vx-nav .wp-block-navigation-item__content { text-decoration: none; color: var(--vx-ink); }
.vx-nav .wp-block-navigation-item__content:hover { color: var(--vx-accent); }
.vx-header__actions { display: flex; align-items: center; gap: 20px; flex: none; }
.vx-header__actions > p, .vx-header__actions > .wp-block-shortcode { margin: 0; }
.vx-header__cta { margin: 0; }

.vx-lang { display: flex; align-items: center; gap: 8px; font-family: var(--vx-mono); font-size: 13px; }
.vx-lang__current { font-weight: 500; }
.vx-lang__sep { color: #8A8E94; }
.vx-lang__alt { color: var(--vx-muted); text-decoration: none; }
.vx-lang__alt:hover { color: var(--vx-accent); }

/* Mobile overlay menu */
.vx-nav .wp-block-navigation__responsive-container-open { padding: 10px; border: 1.5px solid var(--vx-ink); border-radius: 50%; width: 44px; height: 44px; align-items: center; justify-content: center; }
.vx-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--vx-base); color: var(--vx-ink); padding: 24px var(--vx-pad); }
.vx-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 64px; align-items: flex-start; }
.vx-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 20px; align-items: flex-start; }
.vx-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-family: var(--vx-display); font-size: 34px; font-weight: 600; text-transform: uppercase; line-height: 1.1; }

/* Hamburger up to 1023px (core switches at 600px only). */
@media (min-width: 600px) and (max-width: 1023px) {
	.vx-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.vx-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
@media (max-width: 1023px) {
	.vx-nav { flex: none; order: 3; }
	.vx-header__actions { margin-left: auto; }
}
@media (max-width: 1180px) and (min-width: 1024px) { .vx-nav { gap: 24px; } }
@media (max-width: 640px) {
	:root { --vx-header-h: 64px; }
	.vx-logo img { height: 26px; }
	.vx-header__cta { display: none !important; }
	.vx-header__actions { gap: 12px; }
}

/* ---------- Hero ---------- */
.vx-hero { padding-block: 72px 0; }
.vx-hero__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.vx-hero__copy { display: flex; flex-direction: column; gap: 28px; }
.vx-hero__title { margin: 0; }

.vx-poly {
	position: relative;
	height: 520px;
	border-radius: var(--vx-radius);
	background: var(--vx-night);
	overflow: hidden;
}
.vx-poly__svg { display: block; width: 100%; height: 100%; }
.vx-poly__orbit { stroke: #fff; fill: none; }
.vx-poly__links { stroke: var(--vx-accent-2); stroke-opacity: .7; stroke-width: 1.2; stroke-dasharray: 3 5; fill: none; }
.vx-poly__back { stroke: #fff; stroke-opacity: .14; stroke-width: 1.2; stroke-dasharray: 4 6; fill: none; }
.vx-poly__face { fill: var(--vx-accent); stroke: none; }
.vx-poly__edges { stroke: #F3F1EB; stroke-width: 2; stroke-linejoin: round; fill: none; }
.vx-poly__nodes { fill: #F3F1EB; }
.vx-poly__tips { fill: var(--vx-accent-2); }
.vx-poly__chip rect { fill: #1A1D23; stroke: #343941; }
.vx-poly__chip circle { fill: var(--vx-accent-2); }
.vx-poly__chip text { fill: #E9ECEF; font-family: var(--vx-mono); }
.vx-poly__caption {
	position: absolute;
	left: 28px;
	right: 28px;
	bottom: 28px;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	font-family: var(--vx-mono);
	font-size: 13px;
	color: #8C9199;
	pointer-events: none;
}

.vx-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	margin-top: 96px !important;
	background:
		linear-gradient(var(--vx-line), var(--vx-line)) top / 100% 1px no-repeat content-box,
		linear-gradient(var(--vx-line), var(--vx-line)) bottom / 100% 1px no-repeat content-box;
}
.vx-fact { display: flex; flex-direction: column; gap: 4px; padding-block: 32px; }
.vx-fact .vx-label { font-size: 12px; }
.vx-fact__text { margin: 0; font-weight: 600; font-size: 18px; line-height: 1.45; }

@media (max-width: 1023px) {
	.vx-hero { padding-top: 48px; }
	.vx-hero__grid { grid-template-columns: 1fr; gap: 40px; }
	.vx-poly { height: 380px; }
	.vx-facts { margin-top: 56px !important; }
}
@media (max-width: 640px) {
	.vx-hero { padding-top: 40px; }
	.vx-hero__copy { gap: 22px; }
	.vx-poly { height: 260px; border-radius: 22px; }
	.vx-poly__caption { display: none; }
	.vx-actions { flex-direction: column; align-items: stretch; }
	.vx-actions .wp-block-button__link { width: 100%; justify-content: center; box-sizing: border-box; }
	.vx-facts { grid-template-columns: 1fr; gap: 0; margin-top: 40px !important; }
	.vx-fact { padding-block: 14px; }
	.vx-fact:first-child { padding-top: 24px; }
	.vx-fact:last-child { padding-bottom: 24px; }
	.vx-fact .vx-label { display: none; }
	.vx-fact__text { font-size: 16px; }
}

/* ---------- Section heads ---------- */
.vx-services, .vx-process, .vx-why, .vx-tech { padding-block: var(--vx-section); }
.vx-head { display: flex; flex-direction: column; gap: 16px; }
.vx-head h2 { max-width: 820px; }
.vx-head--split { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 48px; }
.vx-head__title { display: flex; flex-direction: column; gap: 16px; }
.vx-head__title h2 { max-width: 720px; }
.vx-head__lead { max-width: 400px; color: var(--vx-ink-soft); }
.vx-services .vx-wrap, .vx-process .vx-wrap { display: flex; flex-direction: column; gap: 56px; }
@media (max-width: 1023px) {
	.vx-head--split { flex-direction: column; align-items: flex-start; gap: 20px; }
	.vx-services .vx-wrap, .vx-process .vx-wrap { gap: 40px; }
}

/* ---------- Services: bento ---------- */
.vx-bento {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: minmax(296px, auto);
	gap: 24px;
}
.vx-card {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
	padding: 32px;
	border-radius: var(--vx-radius);
	background: var(--vx-surface);
	border: 1px solid var(--vx-line);
}
.vx-card__body { display: flex; flex-direction: column; gap: 8px; }
.vx-card__title { font-size: 26px; line-height: 1.1; }
.vx-card p:not(.vx-label) { font-size: 15px; color: var(--vx-ink-soft); }
.vx-card--feature {
	grid-column: span 2;
	grid-row: span 2;
	padding: 48px;
	background: var(--vx-soft);
	border-color: color-mix(in srgb, var(--vx-accent) 18%, var(--vx-soft));
}
.vx-card--feature .vx-card__body { gap: 20px; }
.vx-card__title-xl { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.02; }
.vx-card--feature p:not(.vx-label) { font-size: var(--wp--preset--font-size--large); line-height: 1.55; }
.vx-card--feature .wp-block-buttons { margin-top: 4px; }
.vx-icon { display: block; color: var(--vx-ink); flex: none; }
.vx-icon--accent { color: var(--vx-accent); }

@media (max-width: 1023px) {
	.vx-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
	.vx-card { min-height: 240px; }
	.vx-card--feature { grid-row: auto; }
}
@media (max-width: 640px) {
	.vx-bento { grid-template-columns: 1fr; gap: 12px; }
	.vx-card { min-height: 0; padding: 24px; border-radius: 22px; gap: 16px; }
	.vx-card--feature { grid-column: auto; padding: 28px; }
	.vx-card__title { font-size: 22px; }
}

/* ---------- Services: backend ---------- */
.vx-backend {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 40px 24px;
	padding: 48px;
	border-radius: var(--vx-radius);
	background: var(--vx-surface);
	border: 1.5px solid var(--vx-ink);
	margin-top: -32px !important; /* sits 24px under the bento (wrap gap is 56px) */
}
.vx-backend__intro { grid-column: span 5; display: flex; flex-direction: column; gap: 20px; }
.vx-backend__intro h3 { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.02; }
.vx-backend__intro p:not(.vx-label) { font-size: 18px; color: var(--vx-ink-soft); }
.vx-backend__grid { grid-column: 7 / span 6; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.vx-item { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; border-top: 1.5px solid var(--vx-ink); }
.vx-item__title { font-size: 22px; line-height: 1.15; }
.vx-item p:not(.vx-num) { font-size: 15px; color: var(--vx-ink-soft); }

.vx-flow {
	grid-column: span 12;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 24px 32px;
	border-radius: 20px;
	background: var(--vx-base);
	color: var(--vx-muted);
}
.vx-flow .vx-label { font-size: 12px; }
.vx-flow__stack { display: flex; flex-direction: column; gap: 8px; }
.vx-flow__arrow { flex: none; }
.vx-pill {
	display: inline-flex;
	align-items: center;
	height: 40px;
	padding: 0 16px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid #C9C4B8;
	font-family: var(--vx-mono);
	font-size: 14px;
	color: var(--vx-ink);
	white-space: nowrap;
}
.vx-pill--accent { background: var(--vx-accent); border-color: var(--vx-accent); color: #fff; font-weight: 500; }

@media (max-width: 1180px) {
	.vx-backend__intro, .vx-backend__grid { grid-column: span 12; }
	.vx-flow > .vx-label { display: none; }
}
@media (max-width: 1023px) {
	.vx-backend { margin-top: -16px !important; padding: 36px; }
	.vx-flow { flex-direction: column; padding: 24px 16px; gap: 8px; }
	.vx-flow > .vx-label { display: block; }
	.vx-flow__stack { flex-direction: column; align-items: center; }
	.vx-flow__arrow { transform: rotate(90deg); }
}
@media (max-width: 640px) {
	.vx-backend { display: flex; flex-direction: column; margin-top: -28px !important; padding: 24px; border-radius: 22px; gap: 24px; }
	.vx-flow > .vx-label { flex-basis: auto; }
	.vx-backend__grid { grid-template-columns: 1fr; gap: 16px; }
	.vx-backend__intro p:not(.vx-label) { font-size: 15px; }
	.vx-item__title { font-size: 19px; }
	.vx-flow { padding: 20px 12px; }
	.vx-pill { height: 36px; font-size: 13px; }
}

/* ---------- Process ---------- */
.vx-process { background: var(--vx-soft); }
.vx-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.vx-step { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; border-top: 2px solid var(--vx-ink); }
.vx-step:first-child { border-top-color: var(--vx-accent); }
.vx-step .vx-num { font-size: 14px; font-weight: 500; color: var(--vx-ink); }
.vx-step__title { font-size: 26px; }
.vx-step p:not(.vx-num) { font-size: 16px; color: var(--vx-ink-soft); }
@media (max-width: 1023px) { .vx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; } }
@media (max-width: 640px) {
	.vx-steps { grid-template-columns: 1fr; gap: 28px; }
	.vx-step { gap: 8px; padding-top: 16px; }
	.vx-step__title { font-size: 22px; }
	.vx-step p:not(.vx-num) { font-size: 15px; }
}

/* ---------- Benefits ---------- */
.vx-why__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.vx-why .vx-head { padding-right: 24px; }
.vx-benefits { grid-column: span 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vx-benefit {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 24px 24px 24px 76px;
	border-radius: 20px;
	background: var(--vx-surface);
	border: 1px solid var(--vx-line);
}
.vx-benefit::before {
	content: "";
	position: absolute;
	left: 24px;
	top: 24px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--vx-accent-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2316181C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3 3 7-7'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.vx-benefit__title { margin: 0; font-weight: 600; font-size: 18px; line-height: 1.4; }
.vx-benefit__text { margin: 0; font-size: 15px; color: var(--vx-muted); }
@media (max-width: 1023px) {
	.vx-why__grid { grid-template-columns: 1fr; gap: 40px; }
	.vx-benefits { grid-column: auto; }
}
@media (max-width: 640px) {
	.vx-benefits { grid-template-columns: 1fr; gap: 12px; }
	.vx-benefit { padding: 20px 20px 20px 66px; border-radius: 18px; }
	.vx-benefit::before { left: 20px; top: 20px; width: 32px; height: 32px; background-size: 14px; }
	.vx-benefit__title { font-size: 17px; }
	.vx-benefit__text { font-size: 14px; }
}

/* ---------- Technology ---------- */
.vx-tech { border-top: 1px solid var(--vx-line); }
.vx-tech__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px 24px; }
.vx-tech .vx-head { grid-column: span 5; }
.vx-tech .vx-head .vx-muted { font-size: 18px; color: var(--vx-ink-soft); }
.vx-options { grid-column: 7 / span 6; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vx-option {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 36px;
	border-radius: 24px;
	background: var(--vx-surface);
	border: 1px solid var(--vx-line);
}
.vx-option .vx-icon { margin-bottom: 10px; }
.vx-option .vx-label { font-size: 12px; }
.vx-option__title { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.08; }
.vx-option p:not(.vx-label) { font-size: 16px; color: var(--vx-ink-soft); }
.vx-criteria {
	grid-column: span 12;
	display: flex;
	align-items: center;
	gap: 24px;
	padding-top: 32px;
	border-top: 1px solid var(--vx-line);
}
.vx-criteria > .vx-label { flex: none; font-size: 12px; }
.vx-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.vx-chip {
	display: inline-flex;
	align-items: center;
	height: 44px;
	margin: 0;
	padding: 0 16px;
	border-radius: 999px;
	border: 1.5px solid var(--vx-ink);
	font-family: var(--vx-mono);
	font-size: 15px;
}
@media (max-width: 1023px) {
	.vx-tech .vx-head, .vx-options { grid-column: span 12; }
	.vx-tech__grid { gap: 32px 24px; }
}
@media (max-width: 640px) {
	.vx-options { grid-template-columns: 1fr; gap: 12px; }
	.vx-option { padding: 24px; }
	.vx-criteria { flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 24px; }
	.vx-chips { gap: 8px; }
	.vx-chip { height: 36px; font-size: 13px; }
}

/* ---------- Contact ---------- */
.vx-contact { padding-inline: 24px; }
.vx-contact__box {
	box-sizing: border-box;
	max-width: calc(var(--vx-max) + 2 * 72px);
	margin-inline: auto;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 72px;
	padding: 96px 72px;
	border-radius: 32px;
	background: var(--vx-ink);
	color: var(--vx-base);
}
.vx-contact__intro { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.vx-contact .vx-head { gap: 20px; }
.vx-contact .vx-label { color: #A7ABB2; }
.vx-contact h2 { color: var(--vx-base); font-size: clamp(34px, 3.9vw, 56px); }
.vx-contact__lead { font-size: 18px; color: #D6D8DC; max-width: 480px; }
.vx-contact__info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.vx-contact__info .wp-block-group { display: flex; flex-direction: column; gap: 6px; }
.vx-contact__info .vx-label { font-size: 12px; }
.vx-contact__info p { color: var(--vx-base); }
.vx-contact__email a { color: var(--vx-accent-2); font-weight: 600; font-size: 20px; word-break: break-word; }
.vx-contact__email a:hover { color: #fff; }
.vx-form { padding: 40px; border-radius: 24px; background: var(--vx-night-2); }

/* Contact Form 7 */
.vx-form .wpcf7 { margin: 0; }
.vx-form .wpcf7-form { display: flex; flex-direction: column; gap: 20px; }
.vx-cf7__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vx-cf7__field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: #D6D8DC; }
.vx-form .wpcf7-form-control-wrap { display: block; }
.vx-form input[type="text"],
.vx-form input[type="email"],
.vx-form input[type="tel"],
.vx-form textarea {
	box-sizing: border-box;
	width: 100%;
	height: 52px;
	padding: 0 16px;
	border-radius: 12px;
	border: 1px solid #3A3D43;
	background: var(--vx-ink);
	color: var(--vx-base);
	font: inherit;
	font-size: 16px;
}
.vx-form textarea { height: auto; min-height: 150px; padding: 14px 16px; resize: vertical; }
.vx-form input:focus, .vx-form textarea:focus { outline: 2px solid var(--vx-accent-2); outline-offset: 1px; border-color: transparent; }
.vx-cf7__consent { font-size: 14px; line-height: 1.5; color: #A7ABB2; }
.vx-cf7__consent .wpcf7-list-item { margin: 0; }
.vx-cf7__consent label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.vx-cf7__consent input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--vx-accent-2); flex: none; }
.vx-form .wpcf7-submit, .vx-cf7__submit {
	width: 100%;
	height: 56px;
	border: 0;
	border-radius: 999px;
	background: var(--vx-accent);
	color: #fff;
	font: inherit;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color .2s, opacity .2s;
}
.vx-form .wpcf7-submit:hover:not(:disabled) { background: #fff; color: var(--vx-ink); }
.vx-form .wpcf7-submit:disabled { opacity: .45; cursor: not-allowed; }
.vx-form .wpcf7-spinner { position: absolute; margin: 18px 0 0 -40px; }
.vx-form .wpcf7-not-valid-tip { margin-top: 6px; font-size: 13px; color: var(--vx-accent-2); }
.vx-form .wpcf7 form .wpcf7-response-output { margin: 0; padding: 12px 16px; border-radius: 12px; border-width: 1px; font-size: 14px; color: var(--vx-base); }

.vx-form-fallback { display: flex; flex-direction: column; gap: 14px; color: #D6D8DC; }
.vx-form-fallback p { margin: 0; }
.vx-form-fallback__title { font-family: var(--vx-display); font-size: 30px; font-weight: 600; text-transform: uppercase; color: var(--vx-base); }
.vx-form-fallback .wp-element-button { display: inline-flex; text-decoration: none; }
.vx-form-fallback__admin { font-size: 13px; color: #A7ABB2; }
.vx-form-fallback__admin a { color: var(--vx-accent-2); }

@media (max-width: 1023px) {
	.vx-contact__box { grid-template-columns: 1fr; gap: 48px; padding: 64px 40px; }
}
@media (max-width: 640px) {
	.vx-contact { padding-inline: 12px; }
	.vx-contact__box { padding: 48px 20px; border-radius: 26px; gap: 32px; }
	.vx-contact__intro { gap: 24px; }
	.vx-contact__lead { font-size: 16px; }
	.vx-contact__info { grid-template-columns: 1fr; gap: 16px; }
	.vx-contact__email a { font-size: 18px; }
	.vx-form { padding: 0; background: transparent; }
	.vx-cf7__row { grid-template-columns: 1fr; }
	.vx-form input[type="text"], .vx-form input[type="email"], .vx-form textarea { background: var(--vx-night-2); }
}

/* ---------- Footer ---------- */
.vx-footer { padding-block: 72px 48px; }
.vx-footer .vx-wrap { display: flex; flex-direction: column; gap: 48px; }
.vx-footer__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.vx-footer__brand { display: flex; flex-direction: column; gap: 12px; max-width: 360px; }
.vx-logo--footer img { height: 30px; }
.vx-footer__brand p { font-size: 15px; }
.vx-footer__cols { display: flex; gap: 72px; font-size: 15px; }
.vx-footer__col { display: flex; flex-direction: column; gap: 10px; }
.vx-footer__col .vx-label { font-size: 12px; }
.vx-footer__col p { margin: 0; }
.vx-footer__col a { text-decoration: none; }
.vx-footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding-top: 24px;
	border-top: 1px solid var(--vx-line);
	font-size: 14px;
	color: var(--vx-muted);
}
.vx-footer__bottom p { margin: 0; }
@media (max-width: 640px) {
	.vx-footer { padding-block: 48px 32px; }
	.vx-footer .vx-wrap { gap: 32px; }
	.vx-logo--footer img { height: 26px; }
	.vx-footer__brand p { font-size: 14px; }
	.vx-footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; width: 100%; }
	.vx-footer__bottom { font-size: 13px; }
	.vx-footer__bottom .vx-mono { display: none; }
}

/* ---------- Generic pages (privacy policy etc.) ---------- */
.vx-page { padding: 64px var(--vx-pad) 96px; }
.vx-page__title { font-size: clamp(36px, 5vw, 64px); }
