/**
 * MIDHATI — Footer stylesheet
 * Footer-specific layout only. Tokens live in global.css.
 */

.midhati-site-footer {
	background: var(--color-navy-dark);
	color: rgba(255, 255, 255, 0.7);
	position: relative;
	width: 100%;
	overflow-x: hidden;
}

/* Hide Astra default footer elements */
body.midhati-custom-footer-active .ast-small-footer,
body.midhati-custom-footer-active .footer-adv,
body.midhati-custom-footer-active .site-footer-wrap,
body.midhati-custom-footer-active .ast-footer-overlay,
body.midhati-custom-footer-active .footer-widget-area,
body.midhati-custom-footer-active .site-footer:not(.midhati-site-footer),
body.midhati-custom-footer-active footer.site-footer:not(.midhati-site-footer) {
	display: none !important;
}

.footer-top-border {
	display: block;
	height: 1px;
	background: var(--color-gold-border);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1.1fr;
	gap: var(--space-xl);
	padding-top: 40px;
	padding-bottom: 36px;
	border-bottom: 1px solid rgba(201, 163, 45, 0.18);
}

.footer-col {
	min-width: 0;
}

.footer-logo-link {
	display: inline-flex;
	margin-bottom: 14px;
}

.footer-logo-card {
	width: 60px;
	height: 60px;
	background: transparent;
	border-radius: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.logo--footer {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform var(--transition-slow);
}

.footer-logo-link:hover .logo--footer,
.footer-logo-link:focus-visible .logo--footer {
	transform: scale(1.08);
}

.footer-org-name {
	margin: 0 0 var(--space-sm);
	color: var(--color-white);
	font-size: 1.05rem;
	font-weight: var(--font-weight-bold);
	line-height: 1.35;
}

.footer-tagline {
	margin: 0 0 var(--space-lg);
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.92rem;
	line-height: var(--line-height-body);
}

.footer-social-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-social-item {
	margin: 0;
}

.footer-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid rgba(201, 163, 45, 0.45);
	background: rgba(255, 255, 255, 0.06);
	color: var(--color-white);
	text-decoration: none;
	transition:
		background var(--transition-base),
		border-color var(--transition-base),
		color var(--transition-base),
		transform var(--transition-base);
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
	background: var(--color-gold);
	border-color: var(--color-gold);
	color: var(--color-navy-dark);
	transform: translateY(-2px);
}

.footer-social-icon {
	display: block;
}

.footer-heading {
	margin: 0 0 var(--space-md);
	color: var(--color-gold);
	font-size: 0.82rem;
	font-weight: var(--font-weight-bold);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.3;
}

.footer-nav-item {
	margin: 0 0 9px;
}

.footer-nav-link {
	color: var(--color-white);
	text-decoration: none;
	font-size: 0.92rem;
	line-height: var(--line-height-body);
	transition: color var(--transition-base);
}

.footer-nav-link:hover,
.footer-nav-link:focus-visible {
	color: var(--color-gold);
}

.footer-nav-link.is-active {
	color: var(--color-gold);
}

.footer-contact {
	font-style: normal;
	margin: 0;
}

.footer-contact-row {
	display: flex;
	flex-direction: column;
	gap: var(--space-xs);
	margin-bottom: 14px;
}

.footer-contact-row:last-child {
	margin-bottom: 0;
}

.footer-contact-label {
	color: var(--color-gold);
	font-size: 0.78rem;
	font-weight: var(--font-weight-bold);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.footer-contact-value {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.92rem;
	line-height: var(--line-height-body);
	text-decoration: none;
}

.footer-contact-value:hover,
.footer-contact-value:focus-visible {
	color: var(--color-gold);
}

.footer-contact-value--address {
	color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
	padding: var(--space-md) 0 var(--space-lg);
	border-top: 1px solid var(--color-gold-border);
}

.footer-back-to-top {
	display: flex;
	justify-content: center;
	padding: var(--space-lg) 0 var(--space-md);
}

.footer-bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.footer-copyright,
.footer-credit {
	margin: 0;
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.55);
	line-height: var(--line-height-body);
}
