/*
 * VillaNytt global legacy footer.
 * Shared, editor-coloured presentation for every production-derived template.
 */

.screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	border: 0 !important;
	white-space: nowrap !important;
}

.screen-reader-text:focus {
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto !important;
	height: auto !important;
	padding: 12px 16px !important;
	margin: 0 !important;
	overflow: visible !important;
	clip: auto !important;
	clip-path: none !important;
	border-radius: 4px;
	background: #fff;
	color: #14231c;
	font-weight: 700;
	white-space: normal !important;
}

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

.vn-footer {
	width: 100%;
	max-width: 100vw;
	padding: clamp(18px, 3vw, 48px);
	overflow: hidden;
	background: #f6f3ec;
	color: var(--vn-shell-light, #fff);
}

.vn-footer a {
	margin: 0;
	color: inherit;
}

.vn-footer-newsletter,
.vn-footer__panel {
	width: 100%;
	max-width: 1520px;
	margin-inline: auto;
	border-radius: clamp(14px, 1.5vw, 24px);
	background: var(--vn-shell-green, #0b2f24);
}

.vn-footer-newsletter {
	margin-bottom: clamp(16px, 2vw, 28px);
	padding: clamp(26px, 3.5vw, 54px) clamp(22px, 4.5vw, 72px);
}

.vn-footer-newsletter__content {
	display: grid;
	grid-template-columns: minmax(240px, 1fr) minmax(300px, 0.95fr);
	grid-template-areas:
		"heading form"
		"text form";
	align-items: center;
	gap: 8px clamp(28px, 6vw, 96px);
}

.vn-footer-newsletter__heading {
	grid-area: heading;
	margin: 0;
	color: var(--vn-shell-light, #fff);
	font-family: inherit;
	font-size: clamp(24px, 2vw, 34px);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.15;
}

.vn-footer-newsletter__text {
	grid-area: text;
	max-width: 58ch;
	margin: 0;
	color: var(--vn-shell-light, #fff);
	font-size: clamp(15px, 1.2vw, 18px);
	line-height: 1.55;
}

.vn-footer-newsletter__form {
	grid-area: form;
	min-width: 0;
}

.vn-footer-newsletter .nf-form-cont,
.vn-footer-newsletter .nf-form-wrap,
.vn-footer-newsletter .nf-form-layout,
.vn-footer-newsletter .nf-form-content,
.vn-footer-newsletter .nf-form-content nf-fields-wrap,
.vn-footer-newsletter .nf-form-content .nf-field-container,
.vn-footer-newsletter .nf-form-content .nf-field,
.vn-footer-newsletter .nf-form-content .field-wrap,
.vn-footer-newsletter .nf-form-content .nf-field-element {
	min-width: 0;
	margin: 0;
}

.vn-footer-newsletter .nf-form-content nf-fields-wrap {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.vn-footer-newsletter .nf-form-content .nf-field-container {
	flex: 1 1 220px;
}

.vn-footer-newsletter .nf-form-content .submit-container,
.vn-footer-newsletter .nf-form-content .button-container {
	flex: 0 0 auto;
}

.vn-footer-newsletter .nf-form-content .nf-error-msg:empty {
	display: none;
}

.vn-footer-newsletter .nf-form-fields-required,
.vn-footer-newsletter .nf-form-content .nf-field-label {
	margin-bottom: 8px;
	color: var(--vn-shell-light, #fff);
	font-size: 14px;
	line-height: 1.45;
}

.vn-footer-newsletter .nf-form-content .email-container .nf-field-label,
.vn-footer-newsletter .nf-form-content .textbox-container .nf-field-label {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%);
	border: 0 !important;
	white-space: nowrap !important;
}

.vn-footer-newsletter .nf-form-content input:not([type="button"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.vn-footer-newsletter .nf-form-content select,
.vn-footer-newsletter .nf-form-content textarea {
	width: 100%;
	min-height: 52px;
	margin: 0;
	padding: 12px 18px;
	border: 2px solid transparent;
	border-radius: 10px;
	background: #fff;
	color: #14231c;
	font: inherit;
	font-size: 16px;
	line-height: 1.3;
}

.vn-footer-newsletter .checkbox-container input[type="checkbox"],
.vn-footer-newsletter .listcheckbox-container input[type="checkbox"],
.vn-footer-newsletter .listradio-container input[type="radio"] {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	min-height: 20px;
	margin: 2px 10px 0 0;
	padding: 0;
	visibility: visible;
	opacity: 1;
	accent-color: var(--vn-shell-interactive, #1a4837);
	-webkit-appearance: auto;
	-moz-appearance: auto;
	appearance: auto;
}

.vn-footer-newsletter .checkbox-container input[type="checkbox"]:focus-visible,
.vn-footer-newsletter .listcheckbox-container input[type="checkbox"]:focus-visible,
.vn-footer-newsletter .listradio-container input[type="radio"]:focus-visible {
	outline: 3px solid var(--vn-shell-light, #fff);
	outline-offset: 3px;
}

.vn-footer-newsletter .checkbox-container .nf-field-element label,
.vn-footer-newsletter .listcheckbox-container .nf-field-element label,
.vn-footer-newsletter .listradio-container .nf-field-element label {
	color: var(--vn-shell-light, #fff);
	line-height: 1.45;
	cursor: pointer;
}

.vn-footer-newsletter .nf-form-content input::placeholder,
.vn-footer-newsletter .nf-form-content textarea::placeholder {
	color: #5e655f;
	opacity: 1;
}

.vn-footer-newsletter .nf-form-content input[type="button"],
.vn-footer-newsletter .nf-form-content input[type="submit"],
.vn-footer-newsletter .nf-form-content button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	margin: 0;
	padding: 12px 24px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	background: var(--vn-shell-interactive, #1a4837);
	color: var(--vn-shell-light, #fff);
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 160ms ease, border-color 160ms ease;
}

.vn-footer-newsletter .nf-form-content input[type="button"]:hover,
.vn-footer-newsletter .nf-form-content input[type="button"]:focus-visible,
.vn-footer-newsletter .nf-form-content input[type="submit"]:hover,
.vn-footer-newsletter .nf-form-content input[type="submit"]:focus-visible,
.vn-footer-newsletter .nf-form-content button:hover,
.vn-footer-newsletter .nf-form-content button:focus-visible {
	border-color: var(--vn-shell-light, #fff);
	background: #245b47;
}

.vn-footer-newsletter .nf-form-content input:focus-visible,
.vn-footer-newsletter .nf-form-content select:focus-visible,
.vn-footer-newsletter .nf-form-content textarea:focus-visible,
.vn-footer-newsletter .nf-form-content button:focus-visible {
	outline: 3px solid var(--vn-shell-light, #fff);
	outline-offset: 3px;
}

.vn-footer__panel {
	padding: clamp(34px, 5vw, 72px) clamp(22px, 4.5vw, 72px) clamp(24px, 3vw, 42px);
}

.vn-footer-main {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: clamp(32px, 4vw, 68px);
	align-items: start;
}

.vn-footer-main__brand {
	min-width: min(100%, 220px);
}

.vn-footer-main__brand-link {
	display: inline-flex;
	max-width: 100%;
	text-decoration: none;
}

.vn-footer-main__brand-logo {
	display: block;
	width: auto;
	max-width: min(100%, 190px);
	height: auto;
	max-height: 72px;
	filter: brightness(0) invert(1);
}

.vn-footer-main__brand-name {
	font-size: clamp(30px, 3vw, 46px);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
}

.vn-footer-main__description,
.vn-footer-main__contact,
.vn-footer-main__customer-service-text {
	color: var(--vn-shell-light, #fff);
	font-size: 15px;
	line-height: 1.65;
}

.vn-footer-main__description {
	max-width: 34ch;
	margin: 24px 0 0;
}

.vn-footer-main__contact {
	margin: 18px 0 0;
	font-style: normal;
}

.vn-footer-main__contact-item {
	margin: 0 0 4px;
	font-size: inherit;
	line-height: inherit;
}

.vn-footer-main__contact a,
.vn-footer__links a,
.vn-footer-main__customer-service-link,
.vn-footer-bottom a {
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.vn-footer-main__contact a:hover,
.vn-footer-main__contact a:focus-visible,
.vn-footer__links a:hover,
.vn-footer__links a:focus-visible,
.vn-footer-bottom a:hover,
.vn-footer-bottom a:focus-visible {
	color: var(--vn-shell-light, #fff);
	text-decoration: underline;
}

.vn-footer-main__heading {
	margin: 0 0 20px;
	color: var(--vn-shell-light, #fff);
	font-family: inherit;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1.25;
	text-transform: uppercase;
}

.vn-footer__links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.vn-footer__links li {
	margin: 0 0 12px;
	padding: 0;
}

.vn-footer__links a {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	color: var(--vn-shell-light, #fff);
	font-size: 15px;
	line-height: 1.4;
	text-decoration: none;
}

.vn-footer-main__social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

.vn-footer-main__social a {
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: var(--vn-shell-light, #fff);
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.vn-footer-main__social a:hover,
.vn-footer-main__social a:focus-visible {
	border-color: rgba(255, 255, 255, 0.7);
	background: rgba(255, 255, 255, 0.16);
	transform: translateY(-2px);
}

.vn-footer-main__social svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.vn-footer-main__customer-service-text {
	max-width: 30ch;
	margin: 0 0 20px;
}

.vn-footer-main__customer-service-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 18px;
	border: 1px solid rgba(255, 255, 255, 0.62);
	border-radius: 999px;
	color: var(--vn-shell-light, #fff);
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background-color 160ms ease, color 160ms ease;
}

.vn-footer-main__customer-service-link:hover,
.vn-footer-main__customer-service-link:focus-visible {
	background: var(--vn-shell-light, #fff);
	color: var(--vn-shell-green, #0b2f24);
}

.vn-footer-main a:focus-visible,
.vn-footer-services a:focus-visible,
.vn-footer-bottom a:focus-visible {
	outline: 3px solid var(--vn-shell-light, #fff);
	outline-offset: 3px;
}

.vn-footer-services {
	margin-top: clamp(36px, 5vw, 68px);
	padding: clamp(24px, 3vw, 38px) 0;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.vn-footer-services__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}

.vn-footer-services__item {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	align-items: center;
	gap: 14px;
	min-width: 0;
	margin: 0;
	padding: 0 clamp(16px, 2vw, 30px);
	border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.vn-footer-services__item:first-child {
	padding-left: 0;
	border-left: 0;
}

.vn-footer-services__item:last-child {
	padding-right: 0;
}

.vn-footer-services__icon {
	display: grid;
	width: 48px;
	height: 48px;
	place-items: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.09);
	color: var(--vn-shell-light, #fff);
}

.vn-footer-services__icon svg {
	width: 25px;
	height: 25px;
}

.vn-footer-services__heading {
	margin: 0 0 5px;
	color: var(--vn-shell-light, #fff);
	font-family: inherit;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.045em;
	line-height: 1.25;
	text-transform: uppercase;
}

.vn-footer-services__text {
	margin: 0;
	color: var(--vn-shell-light, #fff);
	font-size: 14px;
	line-height: 1.45;
}

.vn-footer-bottom {
	padding-top: clamp(24px, 3vw, 38px);
}

.vn-footer-bottom__content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px 36px;
	flex-wrap: wrap;
}

.vn-footer-bottom__copyright {
	display: flex;
	flex: 1 1 360px;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin: 0;
	color: var(--vn-shell-light, #fff);
	font-size: 13px;
	line-height: 1.5;
}

.vn-footer-bottom__payments {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex: 0 1 auto;
	flex-wrap: wrap;
	gap: 12px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vn-footer-payment,
.vn-footer-bottom__payment {
	display: flex;
	align-items: center;
	min-height: 40px;
	margin: 0;
	padding: 0;
}

.vn-footer-bottom__payment a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

.vn-footer-bottom__payment img {
	display: block;
	width: auto;
	max-width: 88px;
	height: auto;
	max-height: 34px;
	object-fit: contain;
}

@media (max-width: 1199px) {
	.vn-footer-newsletter__content {
		grid-template-columns: 1fr;
		grid-template-areas:
			"heading"
			"text"
			"form";
		gap: 10px;
	}

	.vn-footer-newsletter__form {
		margin-top: 16px;
	}

	.vn-footer-services__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 0;
	}

	.vn-footer-services__item:nth-child(odd) {
		padding-left: 0;
		border-left: 0;
	}

	.vn-footer-services__item:nth-child(even) {
		padding-right: 0;
	}
}

@media (max-width: 767px) {
	.vn-footer {
		padding: 14px;
	}

	.vn-footer-newsletter,
	.vn-footer__panel {
		border-radius: 14px;
	}

	.vn-footer-newsletter {
		padding: 26px 20px;
	}

	.vn-footer-newsletter .nf-form-content nf-fields-wrap {
		flex-direction: column;
		align-items: stretch;
	}

	.vn-footer-newsletter .nf-form-content .nf-field-container,
	.vn-footer-newsletter .nf-form-content .submit-container,
	.vn-footer-newsletter .nf-form-content .button-container {
		width: 100%;
		flex: 0 1 auto;
	}

	.vn-footer-newsletter .nf-form-content input[type="button"],
	.vn-footer-newsletter .nf-form-content input[type="submit"],
	.vn-footer-newsletter .nf-form-content button {
		width: 100%;
	}

	.vn-footer__panel {
		padding: 36px 20px 26px;
	}

	.vn-footer-main {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.vn-footer-services {
		margin-top: 38px;
	}

	.vn-footer-services__list {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.vn-footer-services__item,
	.vn-footer-services__item:nth-child(n) {
		padding: 20px 0;
		border-top: 1px solid rgba(255, 255, 255, 0.13);
		border-left: 0;
	}

	.vn-footer-services__item:first-child {
		padding-top: 0;
		border-top: 0;
	}

	.vn-footer-services__item:last-child {
		padding-bottom: 0;
	}

	.vn-footer-bottom__content {
		align-items: flex-start;
		flex-direction: column;
	}

	.vn-footer-bottom__copyright,
	.vn-footer-bottom__payments {
		width: 100%;
		justify-content: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vn-footer *,
	.vn-footer *::before,
	.vn-footer *::after {
		scroll-behavior: auto !important;
		transition-duration: 0s !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
