/*
 * Footer Vecturex
 *
 * Calcado al milimetro de vecturex (6).html, adaptado a las clases
 * del template part vexturex/footer. Se enquea desde functions.php
 * con el handle "vecturex-footer", dependiendo de vecturex-style.
 *
 * Convenciones:
 *   - Selectores prefijados con .vtx-... para no contaminar el resto.
 *   - CSS variables locales reproducen los tokens del diseno original
 *     (--brand, --accent, --slate-d, etc.).
 */

.vtx-footer-shell {
	--brand:    #3e3a5f;
	--brand-2:  #4b466f;
	--accent:   #6c63d6;
	--accent-2: #8f87f0;
	--mist:     #e5e4f1;
	--mist-2:   #eeedf7;
	--slate:    #6c6b86;
	--slate-d:  #4a4966;
	--font-d:   "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--font-b:   "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--font-m:   "Space Mono", "SFMono-Regular", ui-monospace, Menlo, monospace;
	--ease:     cubic-bezier(.22, .61, .36, 1);

	background: var(--brand);
	color: #c6c3e4;
	font-family: var(--font-b);
	padding: 66px 0 30px;
}

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

.vtx-footer-shell img {
	display: block;
	max-width: 100%;
}

.vtx-footer-shell a {
	color: inherit;
	text-decoration: none;
}

/* -----------------------------------------------------------------
 * Wrap
 * ----------------------------------------------------------------- */

.vtx-footer-shell .vtx-wrap {
	margin: 0 auto;
	max-width: 1200px;
	padding: 0 28px;
	width: 100%;
}

/* -----------------------------------------------------------------
 * Top: brand + 3 columnas
 * ----------------------------------------------------------------- */

.vtx-footer-shell .vtx-foot-top {
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	display: grid;
	gap: 40px;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	padding-bottom: 44px;
}

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

.vtx-footer-shell .vtx-foot-brand-link {
	color: #fff;
	display: flex;
	font-family: var(--font-d);
	font-size: 1.5rem;
	font-weight: 700;
	gap: 0.6rem;
	letter-spacing: -0.03em;
	line-height: 1;
	margin-bottom: 16px;
}

.vtx-footer-shell .vtx-foot-brand-link .vtx-brand-img {
	flex: none;
	height: 30px;
	width: auto;
}

.vtx-footer-shell .vtx-foot-brand-link .vtx-brand-word {
	color: #fff;
	font-family: var(--font-d);
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
}

.vtx-footer-shell .vtx-foot-brand p {
	color: #a7a3ce;
	font-size: 0.92rem;
	margin: 0 0 18px;
	max-width: 34ch;
}

/* -----------------------------------------------------------------
 * Socials (LinkedIn / Instagram / YouTube)
 * ----------------------------------------------------------------- */

.vtx-footer-shell .vtx-socials {
	display: flex;
	gap: 10px;
}

.vtx-footer-shell .vtx-socials a {
	align-items: center;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 10px;
	color: #c6c3e4;
	display: flex;
	height: 38px;
	justify-content: center;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
	width: 38px;
}

.vtx-footer-shell .vtx-socials a:hover,
.vtx-footer-shell .vtx-socials a:focus-visible {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
}

.vtx-footer-shell .vtx-socials svg {
	display: block;
	height: 18px;
	width: 18px;
}

/* -----------------------------------------------------------------
 * Columnas de enlaces
 * ----------------------------------------------------------------- */

.vtx-footer-shell .vtx-foot-col h4 {
	color: #fff;
	font-family: var(--font-d);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	margin: 0 0 16px;
	text-transform: uppercase;
}

.vtx-footer-shell .vtx-foot-col ul {
	display: grid;
	gap: 11px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.vtx-footer-shell .vtx-foot-col a {
	color: #a7a3ce;
	font-size: 0.92rem;
	transition: color 0.2s ease;
}

.vtx-footer-shell .vtx-foot-col a:hover,
.vtx-footer-shell .vtx-foot-col a:focus-visible {
	color: var(--accent-2);
}

/* -----------------------------------------------------------------
 * Bottom: copyright + legal
 * ----------------------------------------------------------------- */

.vtx-footer-shell .vtx-foot-bottom {
	align-items: center;
	color: #847fae;
	display: flex;
	flex-wrap: wrap;
	font-size: 0.84rem;
	gap: 14px;
	justify-content: space-between;
	padding-top: 26px;
}

.vtx-footer-shell .vtx-legal {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.vtx-footer-shell .vtx-legal a {
	color: inherit;
	transition: color 0.2s ease;
}

.vtx-footer-shell .vtx-legal a:hover,
.vtx-footer-shell .vtx-legal a:focus-visible {
	color: var(--accent-2);
}

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

@media (max-width: 1000px) {
	.vtx-footer-shell .vtx-foot-top {
		gap: 32px;
		grid-template-columns: 1.4fr 1fr 1fr;
	}

	.vtx-footer-shell .vtx-foot-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 820px) {
	.vtx-footer-shell .vtx-foot-top {
		gap: 34px;
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 560px) {
	.vtx-footer-shell {
		padding: 50px 0 26px;
	}

	.vtx-footer-shell .vtx-wrap {
		padding: 0 20px;
	}

	.vtx-footer-shell .vtx-foot-top {
		grid-template-columns: 1fr;
	}

	.vtx-footer-shell .vtx-foot-bottom {
		align-items: flex-start;
		flex-direction: column;
	}
}
