/**
 * Footer corporativo — IQ Data Consulting
 */

#colophon.site-footer {
	position: relative;
	z-index: 2;
	margin-top: 0;
	padding: 0;
	background: transparent;
	border: none;
}

#colophon .inner-wrap {
	max-width: none;
	padding: 0;
}

.iqdc-footer {
	--iqdc-footer-bg: #0a0a0f;
	--iqdc-footer-bg-accent: #111118;
	--iqdc-footer-text: #f1f5f9;
	--iqdc-footer-muted: #94a3b8;
	--iqdc-footer-brand: #008bff;

	box-sizing: border-box;
	width: 100%;
	background:
		radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 139, 255, 0.08), transparent 60%),
		linear-gradient(180deg, var(--iqdc-footer-bg-accent) 0%, var(--iqdc-footer-bg) 100%);
	border-top: 1px solid rgba(0, 139, 255, 0.18);
	color: var(--iqdc-footer-text);
	font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
	line-height: 1.6;
}

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

.iqdc-footer__inner {
	width: min(100%, 76rem);
	margin: 0 auto;
	padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2rem) clamp(1.5rem, 3vw, 2rem);
}

.iqdc-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
	gap: clamp(1.5rem, 3vw, 2.5rem);
	margin-bottom: clamp(1.75rem, 3vw, 2.25rem);
}

.iqdc-footer__col--brand {
	max-width: 22rem;
}

.iqdc-footer__logo {
	margin-bottom: 0.85rem;
}

.iqdc-footer__logo .custom-logo-link,
.iqdc-footer__logo .custom-logo-text {
	display: inline-block;
	color: var(--iqdc-footer-text);
	text-decoration: none;
}

.iqdc-footer__logo img {
	display: block;
	max-width: min(100%, 11rem);
	height: auto;
}

.iqdc-footer__site-name {
	color: var(--iqdc-footer-text);
	font-size: 1.1rem;
	font-weight: 700;
	text-decoration: none;
}

.iqdc-footer__tagline {
	margin: 0 0 1rem;
	max-width: 18rem;
	font-size: 0.92rem;
	line-height: 1.55;
	color: var(--iqdc-footer-muted);
}

.iqdc-footer__social {
	display: inline-flex;
	align-items: center;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--iqdc-footer-brand);
	text-decoration: none;
	transition: color 0.2s ease;
}

.iqdc-footer__social:hover,
.iqdc-footer__social:focus-visible {
	color: #33a8ff;
}

.iqdc-footer__heading {
	margin: 0 0 0.85rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--iqdc-footer-text);
}

.iqdc-footer__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.iqdc-footer__list li + li {
	margin-top: 0.55rem;
}

.iqdc-footer__list a {
	color: var(--iqdc-footer-muted);
	font-size: 0.9rem;
	text-decoration: none;
	transition: color 0.2s ease;
}

.iqdc-footer__list a:hover,
.iqdc-footer__list a:focus-visible {
	color: var(--iqdc-footer-brand);
}

.iqdc-footer__cta {
	display: inline-block;
	font-weight: 600;
	color: var(--iqdc-footer-brand) !important;
	border-bottom: 1px solid rgba(0, 139, 255, 0.45);
	padding-bottom: 0.1rem;
}

.iqdc-footer__cta:hover,
.iqdc-footer__cta:focus-visible {
	color: #33a8ff !important;
	border-bottom-color: #33a8ff;
}

.iqdc-footer__list a:focus-visible,
.iqdc-footer__social:focus-visible,
.iqdc-footer__bar-legal a:focus-visible {
	outline: 2px solid rgba(0, 139, 255, 0.65);
	outline-offset: 3px;
}

.iqdc-footer__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-top: clamp(1rem, 2vw, 1.35rem);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.iqdc-footer__copyright {
	margin: 0;
	font-size: 0.8rem;
	color: var(--iqdc-footer-muted);
}

.iqdc-footer__bar-legal-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.iqdc-footer__bar-legal a {
	font-size: 0.8rem;
	color: var(--iqdc-footer-muted);
	text-decoration: none;
	transition: color 0.2s ease;
}

.iqdc-footer__bar-legal a:hover,
.iqdc-footer__bar-legal a:focus-visible {
	color: var(--iqdc-footer-brand);
}

@media (max-width: 960px) {
	.iqdc-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.iqdc-footer__col--brand {
		grid-column: 1 / -1;
		max-width: none;
	}
}

@media (max-width: 640px) {
	.iqdc-footer__grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		text-align: center;
	}

	.iqdc-footer__col--brand {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.iqdc-footer__tagline {
		max-width: none;
	}

	.iqdc-footer__bar {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.iqdc-footer__bar-legal-list {
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.iqdc-footer__list a,
	.iqdc-footer__social,
	.iqdc-footer__bar-legal a {
		transition: none;
	}
}
