/* =========================================================
   SPECTRA BETTA — FOOTER.CSS
   Footer 5 kolom + bottom bar + tombol WhatsApp floating.
   ========================================================= */

.sb-footer {
	background-color: var(--sb-bg);
	border-top: 1px solid var(--sb-border);
	padding-top: 52px;
}

.sb-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1.1fr 1.3fr;
	gap: 28px;
	padding-bottom: 40px;
}

.sb-footer__col h4 {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.8px;
	color: var(--sb-white);
	margin-bottom: 18px;
}

/* Tombol accordion (fungsinya baru aktif di mobile, lihat responsive.css) */
.sb-footer__accordion-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	font: inherit;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.8px;
	color: var(--sb-white);
	cursor: default;
}

.sb-footer__accordion-icon {
	display: none;
	transition: transform var(--sb-transition);
}

.sb-footer__col ul {
	display: flex;
	flex-direction: column;
	gap: 11px;
}

.sb-footer__col ul a {
	font-size: 13px;
	color: var(--sb-text-secondary);
	transition: color var(--sb-transition);
}

.sb-footer__col ul a:hover {
	color: var(--sb-yellow);
}

/* Kolom brand (logo + deskripsi + social) */
.sb-footer__col--brand .sb-logo {
	margin-bottom: 14px;
}

.sb-footer__desc {
	font-size: 13px;
	line-height: 1.7;
	color: var(--sb-muted);
	max-width: 320px;
	margin-bottom: 18px;
}

.sb-footer__social {
	display: flex;
	align-items: center;
	gap: 10px;
}

.sb-footer__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid var(--sb-border);
	color: var(--sb-white);
	transition: border-color var(--sb-transition), color var(--sb-transition), background-color var(--sb-transition);
}

.sb-footer__social a:hover {
	border-color: var(--sb-yellow);
	color: var(--sb-yellow);
	background-color: rgba(255, 230, 0, 0.08);
}

/* Kontak */
.sb-footer__contact li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13px;
	color: var(--sb-text-secondary);
}

.sb-footer__contact svg {
	flex-shrink: 0;
	color: var(--sb-red);
	margin-top: 3px;
}

.sb-footer__contact a {
	color: var(--sb-text-secondary);
	transition: color var(--sb-transition);
}

.sb-footer__contact a:hover {
	color: var(--sb-yellow);
}

/* Newsletter */
.sb-footer__newsletter-text {
	font-size: 13px;
	line-height: 1.6;
	color: var(--sb-muted);
	margin-bottom: 16px;
}

.sb-newsletter__form {
	display: flex;
	align-items: stretch;
	gap: 8px;
}

.sb-newsletter__form input[type='email'] {
	flex: 1 1 auto;
	min-width: 0;
	height: 42px;
	padding: 0 14px;
	background-color: var(--sb-card);
	border: 1px solid var(--sb-border);
	border-radius: var(--sb-radius-md);
	color: var(--sb-white);
	font-size: 13px;
}

.sb-newsletter__form input[type='email']::placeholder {
	color: var(--sb-muted);
}

.sb-newsletter__form button {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 42px;
	height: 42px;
	border-radius: var(--sb-radius-md);
	background-color: var(--sb-red);
	color: var(--sb-white);
	transition: background-color var(--sb-transition);
}

.sb-newsletter__form button:hover {
	background-color: var(--sb-red-bright);
}

.sb-newsletter__form button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.sb-newsletter__message {
	margin-top: 10px;
	font-size: 12px;
	color: var(--sb-muted);
	min-height: 16px;
}

.sb-newsletter__message.is-success {
	color: #4ade80;
}

.sb-newsletter__message.is-error {
	color: var(--sb-red-bright);
}

/* Bottom bar */
.sb-footer__bottom {
	border-top: 1px solid var(--sb-border);
	padding: 18px 0;
}

.sb-footer__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.sb-footer__bottom-inner p {
	font-size: 12px;
	color: var(--sb-muted);
}

/* ---------------------------------------------------------
   WHATSAPP FLOATING BUTTON
   --------------------------------------------------------- */
.sb-wa-float {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background-color: #25d366;
	box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
	transition: transform var(--sb-transition), box-shadow var(--sb-transition);
}

.sb-wa-float:hover {
	transform: translateY(-3px) scale(1.04);
	box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}
