/* Site footer (logo, links, contact, bottom bar). */

.hvm-footer {
	--hvm-f-bg: #000e67;
	--hvm-f-bg-deep: #00084a;
	--hvm-f-gold: #f0b323;
	--hvm-f-text: rgba(255, 255, 255, 0.78);
	--hvm-f-line: rgba(255, 255, 255, 0.12);
	--hvm-f-font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

	position: relative;
	background:
		radial-gradient(1200px 400px at 85% -10%, rgba(0, 50, 160, 0.55), transparent 70%),
		linear-gradient(180deg, var(--hvm-f-bg) 0%, var(--hvm-f-bg-deep) 100%);
	color: var(--hvm-f-text);
	font-family: var(--hvm-f-font);
	font-size: 15px;
	line-height: 1.6;
}

/* Thin gold accent along the top edge. */
.hvm-footer::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, transparent, var(--hvm-f-gold) 20%, var(--hvm-f-gold) 80%, transparent);
}

.hvm-footer__inner {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
	gap: 40px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 64px 24px 48px;
}

/* Brand column */
.hvm-footer__logo {
	display: block;
	max-width: 360px;
	padding: 6px 10px;
	border-radius: 12px;
	background: #ffffff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hvm-footer__logo:hover,
.hvm-footer__logo:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.hvm-footer__logo img {
	display: block;
	width: 100%;
	height: auto;
}

.hvm-footer .hvm-footer__motto {
	margin: 24px 0 0;
	padding-left: 14px;
	border-left: 3px solid var(--hvm-f-gold);
	font-family: "PT Serif", Georgia, serif;
	font-size: 17px;
	font-style: italic;
	line-height: 1.5;
	color: #ffffff;
}

.hvm-footer__motto-label {
	display: block;
	margin-bottom: 4px;
	font-family: var(--hvm-f-font);
	font-size: 11px;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hvm-f-gold);
}


/* Column titles */
.hvm-footer .hvm-footer__title {
	position: relative;
	margin: 6px 0 22px;
	padding-bottom: 12px;
	font-family: var(--hvm-f-font);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-align: left;
	color: #ffffff;
}

.hvm-footer .hvm-footer__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 36px;
	height: 3px;
	border-radius: 2px;
	background: var(--hvm-f-gold);
}

/* Link lists */
.hvm-footer .hvm-footer__menu,
.hvm-footer .hvm-footer__contact-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hvm-footer .hvm-footer__menu li {
	margin: 0 0 12px;
	padding: 0;
	list-style: none;
	font-variant: normal;
}

.hvm-footer .hvm-footer__menu a {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--hvm-f-font);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: normal;
	color: var(--hvm-f-text);
	text-decoration: none;
	transition: color 0.2s ease, transform 0.2s ease;
}

.hvm-footer .hvm-footer__menu a::before {
	content: "";
	width: 6px;
	height: 6px;
	border-top: 2px solid var(--hvm-f-gold);
	border-right: 2px solid var(--hvm-f-gold);
	transform: rotate(45deg);
	flex-shrink: 0;
}

.hvm-footer .hvm-footer__menu a:hover,
.hvm-footer .hvm-footer__menu a:focus-visible,
.hvm-footer .hvm-footer__menu .current-menu-item > a {
	color: var(--hvm-f-gold);
	transform: translateX(4px);
	text-decoration: none;
}

/* Contact column */
.hvm-footer .hvm-footer__contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.hvm-footer__contact-list .hvm-footer__icon {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	padding: 8px;
	border-radius: 50%;
	background: rgba(240, 179, 35, 0.15);
	stroke: var(--hvm-f-gold);
}

.hvm-footer__contact-list li > span,
.hvm-footer__contact-list li > a {
	padding-top: 6px;
}

.hvm-footer .hvm-footer__contact-list a {
	color: #ffffff;
	font-weight: 600;
	text-decoration: none;
}

.hvm-footer .hvm-footer__contact-list a:hover,
.hvm-footer .hvm-footer__contact-list a:focus-visible {
	color: var(--hvm-f-gold);
}

.hvm-footer__icon {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.hvm-footer .hvm-footer__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 4px;
	padding: 10px 18px;
	border: 2px solid var(--hvm-f-gold);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--hvm-f-gold);
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.hvm-footer .hvm-footer__btn:hover,
.hvm-footer .hvm-footer__btn:focus-visible {
	background: var(--hvm-f-gold);
	color: #000066;
	text-decoration: none;
}

/* Bottom bar */
.hvm-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 24px;
	border-top: 1px solid var(--hvm-f-line);
}

.hvm-footer .hvm-footer__copyright {
	margin: 0;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.65);
}

.hvm-footer .hvm-footer__top {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: color 0.2s ease;
}

.hvm-footer .hvm-footer__top .hvm-footer__icon {
	width: 30px;
	height: 30px;
	padding: 6px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.hvm-footer .hvm-footer__top:hover,
.hvm-footer .hvm-footer__top:focus-visible {
	color: var(--hvm-f-gold);
	text-decoration: none;
}

.hvm-footer .hvm-footer__top:hover .hvm-footer__icon,
.hvm-footer .hvm-footer__top:focus-visible .hvm-footer__icon {
	border-color: var(--hvm-f-gold);
	transform: translateY(-2px);
}

.hvm-footer a:focus-visible {
	outline: 2px solid var(--hvm-f-gold);
	outline-offset: 3px;
	border-radius: 4px;
}

/* Tablet: brand + contact on top, menus side by side */
@media (max-width: 991px) {
	.hvm-footer__inner {
		grid-template-columns: 1fr 1fr;
		gap: 40px 32px;
		padding: 56px 24px 40px;
	}
}

/* Phone */
@media (max-width: 600px) {
	.hvm-footer__inner {
		gap: 36px 20px;
		padding: 48px 20px 32px;
	}

	.hvm-footer__brand,
	.hvm-footer__contact {
		grid-column: 1 / -1;
	}

	.hvm-footer__logo {
		max-width: 300px;
	}

	.hvm-footer__bottom {
		flex-direction: column;
		justify-content: center;
		text-align: center;
		padding: 18px 20px 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hvm-footer *,
	.hvm-footer *::before {
		transition: none !important;
	}

	.hvm-footer a:hover,
	.hvm-footer .hvm-footer__menu a:hover {
		transform: none !important;
	}
}
