/*
 * Virginia Master Maintenance — Hero & Header Styles
 * Brand color derived from logo: #6b8fa8 (steel blue)
 * Page background: #111111 (near-black, used site-wide)
 */

:root {
	/* --vmm-brand-hover has no theme.json palette equivalent */
	--vmm-brand-hover: #5a7d96;
}

/* -----------------------------------------------
   Reusable primary button
----------------------------------------------- */

.vmm-btn--primary {
	display: inline-block;
	background-color: var(--wp--preset--color--brand);
	color: #ffffff;
	font-size: 0.95rem;
	font-weight: 600;
	font-family: "Inter", sans-serif;
	letter-spacing: 0.025em;
	text-decoration: none;
	border: none;
	border-radius: 4px;
	padding: 0.9rem 2rem;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.vmm-btn--primary:hover {
	background-color: var(--vmm-brand-hover);
	color: #ffffff;
}

/* -----------------------------------------------
   Transparent header overlay — home page only
----------------------------------------------- */

.home .wp-site-blocks {
	position: relative;
}

.home header.wp-block-template-part {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
}

/* -----------------------------------------------
   Fixed sticky header — all pages
----------------------------------------------- */

.vmm-site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 999;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.vmm-site-header.scrolled {
	background-color: rgba(17, 17, 17, 0.85);
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

/* Push page content down so it doesn't hide under the fixed bar */
body {
	padding-top: 0;
	background-color: var(--wp--preset--color--contrast);
}

/* Ensure no light-coloured gap appears between sections */
.wp-site-blocks,
.wp-site-blocks > main {
	background-color: var(--wp--preset--color--contrast);
}

.vmm-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1280px;
	margin: 0 auto;
	padding: 6px 40px;
}

/* Logo */
.vmm-logo-link {
	flex-shrink: 0;
	display: block;
	line-height: 0;
}

.vmm-logo-img {
	height: 60px;
	padding: 15px;
	width: auto;
	display: block;
	background: transparent;
}

/* ---- Desktop nav ---- */
.vmm-nav__list {
	display: flex;
	align-items: center;
	gap: 2rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.vmm-nav__list > li {
	position: relative;
}

.vmm-nav__list > li > a {
	color: #ffffff;
	text-decoration: none;
	font-size: 1.1rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	white-space: nowrap;
	display: flex;
	align-items: center;
	gap: 4px;
	transition: opacity 0.15s ease;
}

.vmm-nav__list > li > a:hover {
	opacity: 0.8;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.vmm-nav__list > li > a:focus {
	outline: none;
}

.vmm-nav__list > li > a:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 4px;
	border-radius: 2px;
}

.vmm-chevron {
	display: inline-block;
	width: 6px;
	height: 6px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	margin-bottom: 3px;
	transition: transform 0.2s ease, margin-bottom 0.2s ease;
	vertical-align: middle;
	flex-shrink: 0;
}

.vmm-has-dropdown:hover .vmm-chevron,
.vmm-has-dropdown:focus-within .vmm-chevron {
	transform: rotate(225deg);
	margin-bottom: -2px;
}

/* Dropdown */
.vmm-dropdown {
	display: none;
	position: absolute;
	top: calc(100% + 14px);
	left: 50%;
	transform: translateX(-50%);
	background: #ffffff;
	border: none;
	border-radius: 12px;
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
	min-width: 260px;
	list-style: none;
	margin: 0;
	padding: 12px 0;
	z-index: 9999;
}

/* Triangle pointer at top */
.vmm-dropdown::after {
	content: "";
	position: absolute;
	top: -10px;
	left: 50%;
	transform: translateX(-50%);
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-bottom: 10px solid #ffffff;
}

/* Invisible bridge fills the gap so hover isn't lost when moving mouse down */
.vmm-dropdown::before {
	content: "";
	position: absolute;
	top: -14px;
	left: 0;
	right: 0;
	height: 14px;
}

.vmm-has-dropdown:hover .vmm-dropdown,
.vmm-has-dropdown:focus-within .vmm-dropdown {
	display: block;
}

.vmm-dropdown li a {
	display: block;
	padding: 12px 28px;
	color: #1a1a1a;
	font-size: 1rem;
	font-weight: 400;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.15s ease, color 0.15s ease;
	outline: none;
}

.vmm-dropdown li a:focus-visible {
	outline: 2px solid var(--wp--preset--color--brand);
	outline-offset: -2px;
}

.vmm-dropdown li a:hover {
	background-color: #f0f6fa;
	color: var(--wp--preset--color--brand);
}

/* ---- Hamburger (hidden on desktop) ---- */
.vmm-hamburger {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
}

.vmm-hamburger span {
	display: block;
	width: 24px;
	height: 2px;
	background: #ffffff;
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---- Mobile menu (hidden by default) ---- */
.vmm-mobile-menu {
	background-color: var(--wp--preset--color--contrast);
	padding: 1rem 1.5rem 1.5rem;
}

.vmm-mobile-menu[hidden] {
	display: none;
}

.vmm-mobile-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.vmm-mobile-menu li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.vmm-mobile-menu a {
	display: block;
	padding: 12px 4px;
	color: #ffffff;
	text-decoration: none;
	font-size: 1rem;
}

.vmm-mobile-menu a:hover {
	color: var(--wp--preset--color--brand);
}

.vmm-mobile-sub__label {
	display: block;
	padding: 8px 4px 4px;
	color: var(--wp--preset--color--brand);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.vmm-mobile-menu .vmm-mobile-sub ul {
	padding-left: 1rem;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
	.vmm-header-inner {
		padding: 14px 20px;
	}

	.vmm-nav {
		display: none;
	}

	.vmm-hamburger {
		display: flex;
	}
}

/* -----------------------------------------------
   Full-screen video hero
----------------------------------------------- */

.vmm-hero-cover {
	position: relative;
}

/* Gradient fade at hero bottom — blends into page background */
.vmm-hero-cover::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 140px;
	background: linear-gradient(to bottom, transparent 0%, var(--wp--preset--color--contrast) 100%);
	pointer-events: none;
	z-index: 2;
}

/* Lift inner content above the bottom gradient overlay */
.vmm-hero-cover .wp-block-cover__inner-container {
	position: relative !important;
	z-index: 3 !important;
}

/* Ensure the cover spans the full viewport on the home page */
.home .vmm-hero-cover {
	min-height: 100vh;
}

/* Scale the headline larger than the theme's xx-large preset */
.vmm-hero-cover h1.wp-block-heading {
	font-size: clamp(2.6rem, 5.5vw, 5rem);
	font-weight: 600;
	line-height: 1.1;
	font-family: "Inter", sans-serif;
}

/* -----------------------------------------------
   Hero CTA button — brand color
----------------------------------------------- */

.vmm-cta-button .wp-block-button .wp-block-button__link,
.vmm-hero-cover .wp-block-cover__inner-container .wp-block-button .wp-block-button__link {
	background-color: var(--wp--preset--color--brand);
	border-color: var(--wp--preset--color--brand);
	color: #ffffff;
	font-weight: 600;
	letter-spacing: 0.025em;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.vmm-cta-button .wp-block-button .wp-block-button__link:hover,
.vmm-hero-cover .wp-block-cover__inner-container .wp-block-button .wp-block-button__link:hover {
	background-color: var(--vmm-brand-hover) !important;
	border-color: var(--vmm-brand-hover) !important;
}

/* Active / current page underline */
.vmm-nav__list > li.current-menu-item > a {
	text-decoration: underline;
	text-decoration-color: var(--wp--preset--color--brand);
	text-underline-offset: 4px;
}

/* -----------------------------------------------
   Solutions grid — right below hero video
----------------------------------------------- */

.vmm-solutions {
	background-color: var(--wp--preset--color--contrast);
	padding-top: 0;
}

.vmm-solutions__header {
	display: flex;
	gap: 3rem;
	max-width: 1280px;
	margin: 0 auto;
	padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--50) var(--wp--preset--spacing--40);
}

.vmm-solutions__heading {
	flex: 1;
	font-size: clamp(1.4rem, 2.4vw, 2.2rem);
	font-weight: 600;
	font-family: "Inter", sans-serif;
	color: #ffffff;
	line-height: 1.15;
	white-space: nowrap;
	margin: 0;
}

.vmm-solutions__desc {
	flex: 1;
	color: #c8d8e4;
	font-size: 1rem;
	font-family: "Inter", sans-serif;
	line-height: 1.65;
	align-self: center;
	margin: 0;
}

/* Flex row — cards expand/shrink on hover, wrap to two rows of 3 */
.vmm-solutions__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 var(--wp--preset--spacing--50) var(--wp--preset--spacing--50);
}

.vmm-solutions__card {
	position: relative;
	overflow: hidden;
	flex: 1 1 calc(33.333% - 11px);
	min-width: 0;
	aspect-ratio: 3 / 4;
	transition: flex 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hovered card grows; siblings on the same row shrink */
.vmm-solutions__grid:has(.vmm-solutions__card:hover) .vmm-solutions__card {
	flex: 0.55 1 calc(33.333% - 11px);
}

.vmm-solutions__grid .vmm-solutions__card:hover {
	flex: 1.9 1 calc(33.333% - 11px);
}

.vmm-solutions__card-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.vmm-solutions__card:hover .vmm-solutions__card-bg {
	transform: scale(1.04);
}

/* Gradient overlay: heavier at bottom for legibility */
.vmm-solutions__card-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.78) 0%,
		rgba(0, 0, 0, 0.28) 55%,
		rgba(0, 0, 0, 0.42) 100%
	);
}

.vmm-solutions__card-content {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 1.75rem;
}

/* Icon placeholder at top-left — replace src with final icon */
.vmm-solutions__card-icon {
	width: 52px;
	height: 52px;
	border: 1.5px dashed rgba(255, 255, 255, 0.35);
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.3);
	font-size: 0.65rem;
	font-family: "Inter", sans-serif;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* Title + CTA at bottom */
.vmm-solutions__card-title {
	color: #ffffff;
	font-size: 1.35rem;
	font-weight: 700;
	font-family: "Inter", sans-serif;
	line-height: 1.2;
	margin: 0 0 0.6rem;
}

/* Description — hidden by default, fades in on hover */
.vmm-solutions__card-desc {
	color: #dce8f0;
	font-size: 0.9rem;
	font-family: "Inter", sans-serif;
	line-height: 1.6;
	margin: 0 0 0.9rem;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
	            opacity 0.35s ease 0.1s;
}

.vmm-solutions__card:hover .vmm-solutions__card-desc {
	max-height: 8rem;
	opacity: 1;
}

.vmm-solutions__card-link {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	color: #ffffff;
	font-size: 0.78rem;
	font-weight: 700;
	font-family: "Inter", sans-serif;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	transition: gap 0.2s ease;
}

.vmm-solutions__card-link:hover {
	gap: 1rem;
}

.vmm-solutions__card-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background-color: var(--wp--preset--color--brand);
	font-size: 1rem;
	flex-shrink: 0;
	transition: background-color 0.2s ease;
}

.vmm-solutions__card-link:hover .vmm-solutions__card-arrow {
	background-color: var(--vmm-brand-hover);
}

/* -----------------------------------------------
   Who We Are — below solutions cards
----------------------------------------------- */

.vmm-who-we-are {
	background-color: var(--wp--preset--color--contrast);
	padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--50);
}

.vmm-who-we-are__inner {
	display: flex;
	gap: 4rem;
	max-width: 1280px;
	margin: 0 auto;
	align-items: center;
}

.vmm-who-we-are__image-wrap {
	flex: 1 1 50%;
	min-width: 0;
	border-radius: 4px;
	overflow: hidden;
}

.vmm-who-we-are__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.vmm-who-we-are__content {
	flex: 1 1 50%;
	min-width: 0;
}

.vmm-who-we-are__eyebrow {
	color: var(--wp--preset--color--brand);
	font-size: 1rem;
	font-weight: 700;
	font-family: "Inter", sans-serif;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin: 0 0 1.25rem;
}

.vmm-who-we-are__heading {
	color: #ffffff;
	font-size: clamp(1.6rem, 2.8vw, 2.4rem);
	font-weight: 700;
	font-family: "Inter", sans-serif;
	line-height: 1.15;
	margin: 0 0 1.25rem;
}

.vmm-who-we-are__desc {
	color: #c8d8e4;
	font-size: 1rem;
	font-family: "Inter", sans-serif;
	line-height: 1.65;
	margin: 0 0 2rem;
}

/* Responsive — stack vertically, no expand effect */
@media (max-width: 900px) {
	.vmm-solutions__header {
		flex-direction: column;
		gap: 1rem;
	}

	/* Allow heading to wrap on mobile so it doesn't overflow */
	.vmm-solutions__heading {
		white-space: normal;
	}

	.vmm-solutions__grid {
		flex-direction: column;
		gap: 4px;
		padding: 0 var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
	}

	/* Reset expand behaviour on touch — show desc always */
	.vmm-solutions__grid:has(.vmm-solutions__card:hover) .vmm-solutions__card,
	.vmm-solutions__grid .vmm-solutions__card:hover {
		flex: 1;
	}

	.vmm-solutions__card {
		aspect-ratio: 16 / 9;
	}

	.vmm-solutions__card-desc {
		max-height: none;
		opacity: 1;
	}

	.vmm-who-we-are {
		padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--30);
	}

	.vmm-who-we-are__inner {
		flex-direction: column;
		gap: 2rem;
	}

	/* Give the image wrap an explicit height so object-fit: cover works in column flow */
	.vmm-who-we-are__image-wrap {
		height: 280px;
		flex: none;
		width: 100%;
	}

	/* Reduce outer CTA padding at tablet width */
	.vmm-contact-cta {
		padding: 0 1.5rem;
	}

	.vmm-contact-cta__inner {
		flex-direction: column;
	}

	.vmm-contact-cta__left {
		min-height: 320px;
	}
}

/* -----------------------------------------------
   Contact CTA — full-width section above footer
----------------------------------------------- */

.vmm-contact-cta {
	background-color: var(--wp--preset--color--contrast);
	display: block;
	padding: 0 3rem;
}

/* Eliminate any gap/border between the contact CTA and the footer above */
footer.wp-block-template-part,
.wp-site-blocks > footer {
	background-color: var(--wp--preset--color--contrast);
	border-top: none;
	margin-top: 0;
	padding-top: 0;
}

/* Kill the default theme base background on the footer wrapper */
footer.wp-block-template-part > .wp-block-group,
footer.wp-block-template-part .wp-block-group:first-child {
	background-color: var(--wp--preset--color--contrast) !important;
}

.vmm-contact-cta__inner {
	display: flex;
	width: 100%;
	max-width: 100%;
	min-height: 520px;
	border-radius: 8px;
	overflow: hidden;
}

/* Left half — bg image + text overlay */
.vmm-contact-cta__left {
	position: relative;
	flex: 1 1 55%;
	min-width: 0;
	overflow: hidden;
}

.vmm-contact-cta__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vmm-contact-cta__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to right,
		rgba(0, 0, 0, 0.72) 0%,
		rgba(0, 0, 0, 0.38) 100%
	);
}

.vmm-contact-cta__text {
	position: relative;
	z-index: 1;
	padding: 4rem 3.5rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100%;
}

.vmm-contact-cta__heading {
	color: #ffffff;
	font-size: clamp(1.6rem, 2.8vw, 2.4rem);
	font-weight: 700;
	font-family: "Inter", sans-serif;
	line-height: 1.15;
	margin: 0 0 1rem;
}

.vmm-contact-cta__subheading {
	color: var(--wp--preset--color--brand);
	font-size: 1.25rem;
	font-weight: 700;
	font-family: "Inter", sans-serif;
	margin: 0 0 0.5rem;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid var(--wp--preset--color--brand);
	display: inline-block;
}

.vmm-contact-cta__desc {
	color: #c8d8e4;
	font-size: 1rem;
	font-family: "Inter", sans-serif;
	line-height: 1.65;
	margin: 1.25rem 0 0;
	max-width: 480px;
}

/* Right half — form */
.vmm-contact-cta__right {
	flex: 1 1 45%;
	min-width: 0;
	background-color: #1a1a1a;
	padding: 3.5rem 3rem;
	display: flex;
	flex-direction: column;
}

.vmm-contact-cta__form-title {
	color: #ffffff;
	font-size: 1.6rem;
	font-weight: 700;
	font-family: "Inter", sans-serif;
	margin: 0 0 2rem;
}

.vmm-contact-cta__form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.vmm-contact-cta__row {
	display: flex;
	gap: 1rem;
}

.vmm-contact-cta__row .vmm-contact-cta__field {
	flex: 1;
}

.vmm-contact-cta__field {
	display: flex;
	flex-direction: column;
}

.vmm-contact-cta__label {
	display: none;
}

.vmm-contact-cta__input {
	background: transparent;
	border: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.25);
	color: #ffffff;
	font-size: 0.95rem;
	font-family: "Inter", sans-serif;
	padding: 0.6rem 0;
	outline: none;
	transition: border-color 0.2s ease;
}

.vmm-contact-cta__input::placeholder {
	color: rgba(255, 255, 255, 0.45);
}

.vmm-contact-cta__input:focus {
	border-bottom-color: var(--wp--preset--color--brand);
}

.vmm-contact-cta__select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b8fa8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 4px center;
	padding-right: 1.5rem;
	cursor: pointer;
}

.vmm-contact-cta__select option {
	background-color: #1a1a1a;
	color: #ffffff;
}

.vmm-contact-cta__textarea {
	resize: vertical;
	min-height: 60px;
}

.vmm-contact-cta__submit {
	align-self: flex-start;
	margin-top: 0.5rem;
	background-color: var(--wp--preset--color--brand);
	color: #ffffff;
	font-size: 0.85rem;
	font-weight: 700;
	font-family: "Inter", sans-serif;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border: none;
	border-radius: 4px;
	padding: 0.9rem 2rem;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.vmm-contact-cta__submit:hover {
	background-color: var(--vmm-brand-hover);
}

/* -----------------------------------------------
   VMM Footer
----------------------------------------------- */

.vmm-footer {
	background-color: var(--wp--preset--color--contrast);
	padding: 3.5rem 4rem 2rem;
	text-align: center;
}

/* Brand / logo block */
.vmm-footer__brand {
	margin-bottom: 2.5rem;
}

.vmm-footer__logo-link {
	display: inline-block;
	line-height: 0;
	margin-bottom: 1rem;
}

.vmm-footer__logo {
	height: 80px;
	width: auto;
}

.vmm-footer__tagline {
	color: rgba(255, 255, 255, 0.55);
	font-size: 0.9rem;
	font-family: "Inter", sans-serif;
	line-height: 1.6;
	max-width: 600px;
	margin: 0 auto;
}

/* Nav row */
.vmm-footer__nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.25rem 2.5rem;
	margin-bottom: 3rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.vmm-footer__nav a {
	color: #ffffff;
	font-size: 0.78rem;
	font-weight: 700;
	font-family: "Inter", sans-serif;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	transition: color 0.15s ease;
}

.vmm-footer__nav a:hover {
	color: var(--wp--preset--color--brand);
}

/* Contact info row */
.vmm-footer__contact {
	display: flex;
	justify-content: center;
	gap: 5rem;
	margin-bottom: 3rem;
	text-align: left;
}

.vmm-footer__contact-group {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.vmm-footer__contact-item {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}

.vmm-footer__contact-icon {
	color: #ffffff;
	flex-shrink: 0;
	margin-top: 2px;
}

.vmm-footer__contact-item > div {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.vmm-footer__contact-label {
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.8rem;
	font-family: "Inter", sans-serif;
}

.vmm-footer__contact-value {
	color: #ffffff;
	font-size: 0.95rem;
	font-weight: 700;
	font-family: "Inter", sans-serif;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	transition: color 0.15s ease;
}

a.vmm-footer__contact-value:hover {
	color: var(--wp--preset--color--brand);
}

/* Copyright */
.vmm-footer__copy {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 1.5rem;
}

.vmm-footer__copy p {
	color: rgba(255, 255, 255, 0.4);
	font-size: 0.8rem;
	font-family: "Inter", sans-serif;
	margin: 0;
}

/* Contact form notices */
.vmm-contact-cta__notice {
	padding: 0.75rem 1rem;
	border-radius: 4px;
	font-size: 0.9rem;
	margin-bottom: 1rem;
}

.vmm-contact-cta__notice--success {
	background-color: rgba(100, 200, 120, 0.15);
	border: 1px solid rgba(100, 200, 120, 0.5);
	color: #5cb85c;
}

.vmm-contact-cta__notice--error {
	background-color: rgba(220, 80, 80, 0.15);
	border: 1px solid rgba(220, 80, 80, 0.5);
	color: #d9534f;
}

.vmm-contact-cta__notice--error a {
	color: inherit;
	text-decoration: underline;
}

/* Footer responsive */
@media (max-width: 900px) {
	.vmm-footer {
		padding: 2.5rem 1.5rem 1.5rem;
	}

	.vmm-footer__contact {
		flex-direction: column;
		gap: 2rem;
		align-items: flex-start;
		text-align: left;
	}

	.vmm-footer__nav {
		gap: 0.5rem 1.5rem;
	}
}

/* -----------------------------------------------
   Small mobile (≤ 480px) — additional polish
----------------------------------------------- */

@media (max-width: 480px) {
	/* Shrink logo slightly to reduce header bar height */
	.vmm-logo-img {
		height: 44px;
		padding: 8px;
	}

	/* Tighten solutions card content padding */
	.vmm-solutions__card-content {
		padding: 1.25rem;
	}

	.vmm-solutions__card-title {
		font-size: 1.1rem;
	}

	/* Reduce outer Contact CTA section padding */
	.vmm-contact-cta {
		padding: 0 0.75rem;
	}

	/* Reduce Contact CTA left column inner text padding */
	.vmm-contact-cta__text {
		padding: 2rem 1.5rem;
	}

	/* Reduce Contact CTA right column form panel padding */
	.vmm-contact-cta__right {
		padding: 2rem 1.5rem;
	}

	/* Stack the two-column field rows in the CTA form */
	.vmm-contact-cta__row {
		flex-direction: column;
	}

	/* Make CTA submit button full width for easier tapping */
	.vmm-contact-cta__submit {
		align-self: stretch;
		text-align: center;
		padding: 1rem 1.5rem;
	}

	/* Tighten footer on very small screens */
	.vmm-footer {
		padding: 2rem 1rem 1.5rem;
	}

	.vmm-footer__logo {
		height: 60px;
	}

	.vmm-footer__nav {
		gap: 0.5rem 1rem;
	}
}
