/* Vasilikos Layout: B2B (header + footer) */

.vl-footer {
	--vl-accent: #8fba43;
	--vl-accent-hover: #a2cc56;
	--vl-accent-ink: #11140d;
	--vl-bg: #14171c;
	--vl-bg-2: #1b1f26;
	--vl-text: #fff;
	--vl-muted: rgb(255 255 255 / .66);
	--vl-faint: rgb(255 255 255 / .45);
	--vl-line: rgb(255 255 255 / .1);
	--vl-radius: 6px;
	--vl-font: Roboto, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

.vl-icon {
	width: 1em;
	height: 1em;
	flex: none;
	fill: currentColor;
}

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

.vl-footer {
	background: var(--vl-bg);
	color: var(--vl-text);
	font: 400 14px/1.6 var(--vl-font);
	-webkit-font-smoothing: antialiased;
}

.vl-footer__inner {
	box-sizing: border-box;
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 24px;
}

/* footer.vl-footer: beats `.elementor-kit-* a` specificity */
footer.vl-footer a {
	color: var(--vl-muted);
	text-decoration: none;
	transition: color .15s, background-color .15s, border-color .15s;
}

footer.vl-footer a:hover,
footer.vl-footer a:focus-visible {
	color: var(--vl-text);
}

footer.vl-footer a:focus-visible {
	outline: 2px solid var(--vl-accent);
	outline-offset: 3px;
	border-radius: 3px;
}

.vl-footer p,
.vl-footer ul {
	margin: 0;
	padding: 0;
}

.vl-footer ul {
	list-style: none;
}

.vl-footer h2 {
	margin: 0;
	color: var(--vl-text);
	font-family: var(--vl-font);
	font-weight: 600;
	line-height: 1.3;
}

/* Partner band (guests only) */

.vl-footer__partner {
	border-bottom: 1px solid var(--vl-line);
	background: linear-gradient(90deg, rgb(143 186 67 / .14), rgb(143 186 67 / .03) 60%), var(--vl-bg-2);
}

.vl-footer__partner-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px 48px;
	padding-top: 32px;
	padding-bottom: 32px;
}

.vl-footer__partner-title {
	font-size: 22px;
	letter-spacing: -.01em;
}

.vl-footer__partner-text {
	margin-top: 4px !important;
	color: var(--vl-muted);
	font-size: 15px;
}

.vl-footer__partner-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

footer.vl-footer .vl-footer__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 46px;
	padding: 0 24px;
	border: 1px solid rgb(255 255 255 / .3);
	border-radius: var(--vl-radius);
	color: var(--vl-text);
	font-weight: 600;
	white-space: nowrap;
}

footer.vl-footer .vl-footer__btn:hover {
	border-color: var(--vl-text);
	background: rgb(255 255 255 / .06);
}

footer.vl-footer .vl-footer__btn--primary {
	border-color: var(--vl-accent);
	background: var(--vl-accent);
	color: var(--vl-accent-ink);
}

footer.vl-footer .vl-footer__btn--primary:hover {
	border-color: var(--vl-accent-hover);
	background: var(--vl-accent-hover);
	color: var(--vl-accent-ink);
}

/* Columns */

.vl-footer__cols {
	display: grid;
	grid-template-columns: minmax(380px, 2fr) repeat(4, minmax(0, 1fr));
	gap: 20px;
	padding: 56px 0 48px;
}

.vl-footer__brand {
	padding-right: 80px;
}

.vl-footer__logo {
	display: inline-block;
}

.vl-footer__logo img {
	display: block;
	width: 180px;
	max-width: 100%;
	height: auto;
	margin-left: -7px; /* logo image has built-in left padding */
}

.vl-footer__logo-text {
	color: var(--vl-text);
	font-size: 22px;
	font-weight: 600;
}

.vl-footer__tagline {
	color: var(--vl-muted);
}

.vl-footer__title {
	margin: 0 0 18px !important;
	font-size: 15px;
}

.vl-footer__menu li + li {
	margin-top: 9px;
}

/* Newsletter (inside brand column) */

.vl-footer__newsletter {
	max-width: 440px;
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid var(--vl-line);
}

.vl-footer__nl-title {
	font-size: 15px;
}

.vl-footer__nl-text {
	margin: 4px 0 12px !important;
	color: var(--vl-muted);
}

.vl-footer .footer-subscribe {
	text-align: left;
}

.vl-footer .footer-subscribe p {
	position: relative;
	display: flex;
	align-items: stretch;
	border: 1px solid rgb(255 255 255 / .18);
	border-radius: var(--vl-radius);
	background: rgb(0 0 0 / .25);
	overflow: hidden;
	transition: border-color .15s;
}

.vl-footer .footer-subscribe p:focus-within {
	border-color: var(--vl-accent);
}

/* !important: child theme forces display:inline / max-width:24rem */
.vl-footer .footer-subscribe .wpcf7-form-control-wrap {
	display: block !important;
	flex: 1 1 auto;
	min-width: 0;
}

.vl-footer .footer-subscribe .footer-subscribe-email {
	box-sizing: border-box;
	width: 100%;
	max-width: none !important;
	height: 44px;
	margin: 0;
	padding: 0 14px;
	border: 0;
	border-radius: 0;
	outline: 0;
	background: transparent;
	color: var(--vl-text);
	font: inherit;
	text-align: left;
	box-shadow: none;
}

.vl-footer .footer-subscribe .footer-subscribe-email::placeholder {
	color: var(--vl-faint);
}

.vl-footer .footer-subscribe .footer-subscribe-btn {
	flex: none;
	height: 44px;
	margin: 0;
	padding: 0 20px;
	border: 0;
	border-radius: 0;
	background: var(--vl-accent);
	color: var(--vl-accent-ink);
	font: 600 13px/1 var(--vl-font);
	letter-spacing: .03em;
	cursor: pointer;
	transition: background-color .15s;
}

.vl-footer .footer-subscribe .footer-subscribe-btn:hover {
	background: var(--vl-accent-hover);
}

.vl-footer .footer-subscribe .footer-subscribe-btn:focus-visible {
	outline: 2px solid var(--vl-text);
	outline-offset: -4px;
}

.vl-footer .footer-subscribe .wpcf7-spinner {
	position: absolute;
	top: 50%;
	right: 100px;
	margin: -12px 0 0;
}

.vl-footer .footer-subscribe .wpcf7-not-valid-tip {
	display: none;
}

.vl-footer .wpcf7-response-output {
	margin: 10px 0 0 !important;
	padding: 8px 12px !important;
	border-radius: var(--vl-radius);
	font-size: 13px;
	text-align: left;
}

/* Contact */

.vl-footer__contact li + li {
	margin-top: 12px;
}

.vl-footer__contact a {
	display: inline-flex;
	align-items: flex-start;
	gap: 10px;
}

.vl-footer__chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 22px;
	height: 22px;
	color: var(--vl-accent);
	font-size: 14px;
}

/* Bottom bar */

.vl-footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 18px 0;
	border-top: 1px solid var(--vl-line);
	color: var(--vl-faint);
	font-size: 13px;
}

.vl-footer__sites ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 36px;
}

footer.vl-footer .vl-footer__sites a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	color: var(--vl-faint);
	font-size: 12px;
	line-height: 1.2;
}

.vl-footer__site-logo {
	display: flex;
	align-items: center;
	height: 26px;
	opacity: .75;
	transition: opacity .15s;
}

footer.vl-footer .vl-footer__sites a:hover,
footer.vl-footer .vl-footer__sites a:focus-visible {
	color: var(--vl-text);
}

footer.vl-footer .vl-footer__sites a:hover .vl-footer__site-logo,
footer.vl-footer .vl-footer__sites a:focus-visible .vl-footer__site-logo {
	opacity: 1;
}

.vl-footer__sites img {
	display: block;
	max-width: none;
}

.vl-footer__social {
	display: flex;
	gap: 6px;
}

footer.vl-footer .vl-footer__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: var(--vl-radius);
	color: var(--vl-muted);
	font-size: 16px;
}

footer.vl-footer .vl-footer__social a:hover,
footer.vl-footer .vl-footer__social a:focus-visible {
	background: rgb(255 255 255 / .08);
	color: var(--vl-accent);
}

/* Small desktop: brand on its own row */
@media (max-width: 1300px) {
	.vl-footer__cols {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.vl-footer__brand {
		grid-column: 1 / -1;
		padding-right: 0;
	}

	.vl-footer__bottom {
		flex-wrap: wrap;
	}

	.vl-footer__sites {
		order: 3;
		flex-basis: 100%;
	}
}

/* Tablet */
@media (max-width: 1024px) {
	.vl-footer__partner-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.vl-footer__cols {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Mobile */
@media (max-width: 767px) {
	.vl-footer__inner {
		padding: 0 16px;
	}

	.vl-footer__partner-inner {
		padding-top: 28px;
		padding-bottom: 28px;
	}

	.vl-footer__partner-title {
		font-size: 19px;
	}

	.vl-footer__partner-actions,
	footer.vl-footer .vl-footer__btn {
		width: 100%;
	}

	.vl-footer__cols {
		gap: 36px 24px;
		padding: 40px 0 36px;
	}

	.vl-footer__cols > .vl-footer__col:last-child {
		grid-column: 1 / -1;
	}

	.vl-footer__newsletter {
		max-width: none;
	}

	.vl-footer__bottom {
		flex-direction: column;
		text-align: center;
	}

	.vl-footer__social {
		order: -1;
	}

	.vl-footer__sites ul {
		justify-content: center;
	}

	.vl-footer .footer-subscribe .wpcf7-spinner {
		display: none;
	}
}
