/**
 * ASAS Child — Footer.
 */

.asas-footer {
	position: relative;
	overflow: hidden;
	background: var(--asas-navy-dark);
	color: rgba(255, 255, 255, 0.78);
	font-family: var(--asas-font-body);
}

/* Latar bangunan SAS (opacity rendah) */
.asas-footer__bg {
	position: absolute;
	inset: 0;
	background-image: url("https://www.asas.com.my/wp-content/uploads/2019/10/asas-logo-color.png");
	background-repeat: no-repeat;
	background-position: right -40px bottom -20px;
	background-size: 420px auto;
	opacity: 0.05;
	pointer-events: none;
}

.asas-footer__inner {
	position: relative;
	z-index: 1;
	padding-block: 64px 0;
}

.asas-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1fr;
	gap: 40px;
	padding-bottom: 48px;
}

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

.asas-footer__brand {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--asas-white);
}

.asas-footer__logo {
	width: 56px;
	height: 56px;
	object-fit: contain;
	display: block;
}

.asas-footer__brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

.asas-footer__brand-name {
	font-family: var(--asas-font-heading);
	font-weight: 700;
	font-size: 1.5rem;
	color: var(--asas-white);
}

.asas-footer__brand-tagline {
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.6);
}

/* ------------------------------------------------------------------ */
/* Kolum                                                               */
/* ------------------------------------------------------------------ */

.asas-footer__title {
	font-family: var(--asas-font-body);
	font-weight: 600;
	font-size: 0.8125rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--asas-white);
	margin: 0 0 18px;
}

.asas-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.asas-footer__list a {
	font-size: 0.875rem;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.72);
	text-decoration: none;
	transition: color 0.2s ease;
}

.asas-footer__list a:hover,
.asas-footer__list a:focus {
	color: var(--asas-gold);
}

/* Hubungi */
.asas-footer__contact li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.72);
}

.asas-footer__contact svg {
	flex-shrink: 0;
	margin-top: 2px;
	color: var(--asas-gold);
}

/* Sosial */
.asas-footer__socials {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 10px;
}

.asas-footer__social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: var(--asas-white);
	transition: background-color 0.2s ease, color 0.2s ease;
}

.asas-footer__social:hover,
.asas-footer__social:focus {
	background: var(--asas-gold);
	color: var(--asas-navy-dark);
}

/* ------------------------------------------------------------------ */
/* Bottom bar                                                          */
/* ------------------------------------------------------------------ */

.asas-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-block: 22px;
	text-align: center;
}

.asas-footer__copyright {
	margin: 0;
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.55);
}

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

@media (max-width: 1024px) {
	.asas-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 32px;
	}

	.asas-footer__col--brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 600px) {
	.asas-footer__inner {
		padding-block: 48px 0;
	}

	.asas-footer__grid {
		grid-template-columns: 1fr;
		gap: 28px;
		padding-bottom: 36px;
	}
}
