/**
 * Footer Widget Styles
 * Uses globals.css tokens only.
 *
 * @package HelloElementorChild
 */

.hec-footer {
	--hec-footer-overlay: linear-gradient(
		180deg,
		rgba(7, 59, 76, 0.92) 0%,
		rgba(7, 59, 76, 0.97) 100%
	);
	position: relative;
	background-color: var(--color-ink);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	color: var(--color-surface);
	font-family: var(--font-body);
	padding-top: 5rem;
	padding-bottom: var(--space-2xl);
	border-top: 4px solid var(--color-sea);
	overflow: hidden;
}

.hec-footer::before {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--hec-footer-overlay);
	z-index: 1;
	pointer-events: none;
}

.hec-footer__container {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--space-md);
	box-sizing: border-box;
}

.hec-footer__top {
	display: flex;
	justify-content: space-between;
	gap: 3.5rem;
	padding-bottom: 3.5rem;
	border-bottom: 1px solid rgba(205, 229, 233, 0.18);
}

.hec-footer__brand {
	max-width: 420px;
}

.hec-footer__logo {
	display: inline-flex;
	align-items: center;
	gap: var(--space-sm);
	color: var(--color-surface);
	text-decoration: none;
	font-family: var(--font-heading);
	font-size: 1.35rem;
	font-weight: var(--font-weight-extrabold);
	margin-bottom: var(--space-md);
	line-height: 1.25;
}

.hec-footer__logo-img {
	display: block;
	height: auto;
	max-height: 48px;
	width: auto;
}

.hec-footer__logo-icon {
	color: var(--color-sea);
	font-size: 1.75rem;
	line-height: 1;
}

.hec-footer__logo-icon svg {
	width: 1.75rem;
	height: 1.75rem;
	fill: currentColor;
}

.hec-footer__logo-text {
	color: inherit;
}

.hec-footer__tagline {
	margin: 0 0 var(--space-xl);
	font-size: 0.975rem;
	color: var(--color-border);
	line-height: 1.7;
	opacity: 0.9;
}

.hec-footer__socials {
	display: flex;
	align-items: center;
	gap: var(--space-sm);
	flex-wrap: wrap;
}

.hec-footer__social svg path {
    fill: var(--color-surface);
}

.hec-footer__menu svg path {
    fill: var(--color-border);
}

.hec-footer__social {
	width: 44px;
	height: 44px;
	border-radius: var(--radius-pill);
	background-color: rgba(255, 255, 255, 0.1);
	color: var(--color-surface);
	border: 1px solid rgba(205, 229, 233, 0.25);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	font-size: 1.05rem;
	transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hec-footer__social:hover {
	background-color: var(--color-sea);
	border-color: var(--color-sea);
	color: var(--color-surface);
	transform: translateY(-3px);
	box-shadow: 0 6px 16px rgba(17, 138, 178, 0.3);
}

.hec-footer__social i,
.hec-footer__social svg {
	width: 1.05rem;
	height: 1.05rem;
	font-size: 1.05rem;
	line-height: 1;
}

.hec-footer__nav-group {
	display: flex;
	gap: 3.5rem;
	flex-wrap: wrap;
}

.hec-footer__col {
	min-width: 140px;
}

.hec-footer__heading {
	margin: 0 0 var(--space-lg);
	font-family: var(--font-heading);
	font-size: 1.1rem;
	font-weight: var(--font-weight-bold);
	color: var(--color-surface);
	letter-spacing: 0.3px;
}

.hec-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.hec-footer__menu li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hec-footer__menu a {
	color: var(--color-border);
	text-decoration: none;
	font-size: 0.95rem;
	transition: color var(--transition-fast), opacity var(--transition-fast), transform var(--transition-fast);
	opacity: 0.88;
	display: inline-flex;
	align-items: center;
	gap: var(--space-xs);
}

.hec-footer__menu a:hover {
	color: var(--color-sea);
	opacity: 1;
	transform: translateX(3px);
}

.hec-footer__menu i,
.hec-footer__menu svg {
	flex-shrink: 0;
	font-size: 0.9rem;
	width: 0.9rem;
	height: 0.9rem;
}

.hec-footer__bottom {
	padding-top: var(--space-xl);
	display: flex;
	align-items: center;
	justify-content: center;
}

.hec-footer__copyright {
	margin: 0;
	font-size: 0.9rem;
	color: var(--color-border);
	opacity: 0.8;
	text-align: center;
}

@media (max-width: 900px) {
	.hec-footer {
		padding-top: var(--space-2xl);
	}

	.hec-footer__top {
		flex-direction: column;
		gap: var(--space-2xl);
		padding-bottom: var(--space-2xl);
	}

	.hec-footer__brand {
		max-width: 100%;
	}

	.hec-footer__nav-group {
		justify-content: space-between;
		gap: var(--space-xl);
	}
}

@media (max-width: 540px) {
	.hec-footer__nav-group {
		flex-direction: column;
		gap: var(--space-xl);
	}
}
