/**
 * VagFix - footer.
 * Incarcat pe tot site-ul, dupa header.css (reutilizeaza .vf-social si .vf-icon).
 */

.vf-footer {
	--vff-bg: #14151a;
	--vff-bg-deep: #101116;
	--vff-brand: #e64a30;
	--vff-line: rgba(255, 255, 255, .1);
	--vff-text: rgba(255, 255, 255, .66);
	--vff-strong: #fff;
	--vff-muted: rgba(255, 255, 255, .45);
	--vff-ease: cubic-bezier(.22, 1, .36, 1);
	--vff-shell: 1320px;
	--vff-gutter: clamp(1rem, 3.5vw, 2.5rem);

	position: relative;
	background: var(--vff-bg);
	color: var(--vff-text);
	font-family: "Helvetica", "Helvetica Neue", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	font-size: .92rem;
	line-height: 1.6;
}

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

.vf-footer :focus-visible {
	outline: 2px solid var(--vff-brand);
	outline-offset: 3px;
	border-radius: 4px;
}

.vf-footer__shell {
	width: 100%;
	max-width: var(--vff-shell);
	margin-inline: auto;
	padding-inline: var(--vff-gutter);
}

/* Aura discreta de brand in coltul din stanga sus. */
.vf-footer__main {
	position: relative;
	isolation: isolate;
	padding-block: clamp(2.75rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem);
}

.vf-footer__main::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(70% 90% at 0% 0%, color-mix(in srgb, var(--vff-brand) 16%, transparent), transparent 62%);
}

.vf-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)) 1.15fr;
	gap: clamp(1.75rem, 3vw, 3rem);
	align-items: start;
}

/* ---------------------------------------------------------------- Brand -- */

.vf-footer__logo {
	display: inline-flex;
	text-decoration: none;
}

.vf-footer__logoImg {
	display: block;
	width: auto;
	height: 48px;
	max-width: 210px;
	object-fit: contain;
}

.vf-footer__logoText {
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--vff-strong);
	letter-spacing: -.02em;
}

.vf-footer__pitch {
	margin: 1.1rem 0 1.4rem;
	max-width: 42ch;
	color: var(--vff-text);
	text-wrap: pretty;
}

.vf-social--footer {
	gap: .3rem;
}

.vf-social--footer a {
	width: 38px;
	height: 38px;
	border: 1px solid var(--vff-line);
}

.vf-social--footer a:hover {
	background: var(--vff-brand);
	border-color: var(--vff-brand);
	color: #fff;
}

.vf-social--footer .vf-icon {
	width: 17px;
	height: 17px;
}

/* -------------------------------------------------------------- Coloane -- */

.vf-footer__colTitle {
	margin: 0 0 1.1rem;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--vff-strong);
}

.vf-footer__col ul,
.vf-footer__contactList {
	display: flex;
	flex-direction: column;
	gap: .55rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vf-footer__col a,
.vf-footer__contactList a {
	display: inline-flex;
	align-items: flex-start;
	gap: .55rem;
	color: var(--vff-text);
	text-decoration: none;
	transition: color .25s var(--vff-ease), transform .25s var(--vff-ease);
}

.vf-footer__col a:hover,
.vf-footer__contactList a:hover {
	color: var(--vff-strong);
	transform: translateX(3px);
}

.vf-footer__contactList .vf-icon {
	margin-top: .25rem;
	color: var(--vff-brand);
}

.vf-footer__note {
	margin: 1rem 0 0;
	font-size: .84rem;
	line-height: 1.55;
	color: var(--vff-muted);
	text-wrap: pretty;
}

/* -------------------------------------------------------------- Contact -- */

.vf-footer__wa {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	margin-top: 1.4rem;
	padding: .7rem 1.15rem;
	border-radius: 999px;
	background: #25d366;
	color: #fff;
	font-size: .9rem;
	font-weight: 700;
	text-decoration: none;
	transition: background-color .25s var(--vff-ease), transform .25s var(--vff-ease);
}

.vf-footer__wa:hover {
	background: #1da851;
	color: #fff;
	transform: translateY(-1px);
}

/* --------------------------------------------------------- Banda marci -- */

.vf-footer__brands {
	padding-block: clamp(.5rem, 2vw, 1.25rem);
	border-top: 1px solid var(--vff-line);
	background: var(--vff-bg);
	text-align: center;
	overflow: hidden;
}

.vf-footer__brands img {
	display: block;
	width: 100%;
	max-width: var(--vff-shell);
	height: auto;
	margin-inline: auto;
	opacity: .8;
	transition: opacity .4s var(--vff-ease);
}

.vf-footer__brands:hover img {
	opacity: 1;
}

/* ----------------------------------------------------------- Bara de jos -- */

.vf-footer__bottom {
	border-top: 1px solid var(--vff-line);
	background: var(--vff-bg-deep);
	font-size: .84rem;
}

.vf-footer__bottomInner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: .6rem 1.5rem;
	padding-block: 1.15rem;
}

.vf-footer__copy {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem .9rem;
	margin: 0;
	color: var(--vff-muted);
}

.vf-footer__host {
	color: rgba(255, 255, 255, .3);
}

.vf-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .4rem 1.15rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vf-footer__legal a {
	color: var(--vff-muted);
	text-decoration: none;
	transition: color .25s var(--vff-ease);
}

.vf-footer__legal a:hover {
	color: var(--vff-strong);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ------------------------------------------------------------ Responsive -- */

@media (max-width: 1200px) {
	.vf-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2rem clamp(1.5rem, 4vw, 3rem);
	}

	.vf-footer__brand {
		grid-column: 1 / -1;
	}

	.vf-footer__contact {
		grid-column: 1 / -1;
	}
}

@media (max-width: 620px) {
	.vf-footer__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.vf-footer__brand,
	.vf-footer__contact {
		grid-column: auto;
	}

	.vf-footer__bottomInner {
		flex-direction: column;
		align-items: flex-start;
	}

	.vf-footer__wa {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vf-footer,
	.vf-footer * {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
	}
}
