/* ==========================================================================
   Al Fajar — CTA band, footer, floating WhatsApp
   Source: "ALFAJAR-HOMEPAGE copy.html".
   ========================================================================== */

/* ---------- CTA band (light plate via .plate-light from tokens.css) ---------- */
.band { position: relative; overflow: hidden; background: var(--plate); color: var(--on-plate); }

.band::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(90% 120% at 78% 130%, rgba(206, 164, 73, .18), transparent 62%);
}

.band .wrap {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.75rem;
	padding-block: clamp(2.25rem, 1.8rem + 1.4vw, 3.25rem);
}

.band h2 { max-width: 18ch; font-size: var(--fs-h2-sm); }
.band p { max-width: 44ch; margin-top: .7rem; color: var(--on-plate-mid); }
.band-cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.band .btn-ghost { border-color: var(--border-strong); }

/* ---------- footer ---------- */
.foot {
	padding-block: clamp(2.25rem, 1.8rem + 1.8vw, 3.25rem) 0;
	border-top: 1px solid var(--border);
	background: var(--surface-2);
	color: var(--text-mid);
}

.foot-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
	gap: 1.75rem clamp(1.25rem, 1rem + 1vw, 2.25rem);
}

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

@media (max-width: 560px) {
	.foot-grid { grid-template-columns: 1fr; }
}

.foot h3 {
	margin-bottom: 1rem;
	color: var(--accent-text);
	font-family: var(--mono);
	font-size: var(--fs-micro);
	font-weight: var(--fw-semibold);
	letter-spacing: var(--ls-caps-wide);
	text-transform: uppercase;
}

.foot ul { display: flex; flex-direction: column; gap: .55rem; }
.foot a { color: var(--text-mid); font-size: .9rem; text-decoration: none; }
.foot a:hover,
.foot a[aria-current="page"] { color: var(--accent-text); }

.foot-brand p { max-width: 34ch; margin-top: 1.1rem; font-size: .9rem; line-height: 1.7; }
.foot-reg { display: flex; flex-direction: column; gap: .3rem; margin-top: 1.25rem; color: var(--text-muted); }

.foot-bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	margin-top: clamp(1.75rem, 1.5rem + 1.2vw, 2.5rem);
	padding-block: 1.25rem;
	border-top: 1px solid var(--border);
	font-size: .83rem;
}

.foot-bar ul { flex-direction: row; flex-wrap: wrap; gap: 1.25rem; }

.social { display: flex; gap: .5rem; }

.social a {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--border-strong);
	border-radius: var(--r-sm);
	color: var(--text-mid);
	transition: border-color .16s, color .16s;
}

.social a:hover { border-color: var(--accent); color: var(--accent-text); }

/* ---------- floating WhatsApp ---------- */
.wa {
	position: fixed;
	inset-inline-end: clamp(1rem, 3vw, 1.75rem);
	bottom: clamp(1rem, 3vw, 1.75rem);
	z-index: 80;
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	padding: .85rem 1.1rem;
	border-radius: 999px;
	background: var(--whatsapp);
	color: var(--on-whatsapp);
	font-size: .88rem;
	font-weight: var(--fw-bold);
	text-decoration: none;
	box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
}

.wa:hover { transform: translateY(-2px); }

@media (max-width: 520px) {
	.wa { padding: .95rem; }
	.wa span { display: none; }
}
