/* =====================================================================
   Bugan Villas — footer.
   On-brand redesign: same palette (#0F0F0F ground, white text), same Roboto,
   with the logo's own rose-gold (#D8A89C) as a restrained accent. Structured
   as brand · explore · contact, a hairline divider, then a legal/credit bar.
   ===================================================================== */

.bugan-footer {
	--gold: #D8A89C;
	--gold-bright: #E7BBAD;
	--ink: #DCD8D6;
	--muted: #8C8785;
	background: #0F0F0F;
	color: var(--ink);
	font-family: "Roboto", sans-serif;
}

.bugan-footer a {
	color: inherit;
	text-decoration: none;
	transition: color .25s ease;
}

.bugan-footer__inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: clamp(48px, 6vw, 88px) clamp(20px, 5vw, 40px) 0;
}

/* ---- Top: three columns ---- */
.bugan-footer__top {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1.3fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}

/* Brand */
.bugan-footer__brand img {
	width: clamp(120px, 14vw, 158px);
	height: auto;
	display: block;
}
.bugan-footer__tagline {
	margin: 22px 0 0;
	max-width: 34ch;
	color: #B9B4B1;
	font-size: 14px;
	line-height: 1.75;
}

/* Column headings */
.bugan-footer__head {
	margin: 0 0 20px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--gold);
}

/* Explore nav */
.bugan-footer__nav {
	display: flex;
	flex-direction: column;
	gap: 13px;
}
.bugan-footer__nav a {
	position: relative;
	width: fit-content;
	font-size: 15px;
}
.bugan-footer__nav a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -3px;
	width: 100%;
	height: 1px;
	background: var(--gold-bright);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}
.bugan-footer__nav a:hover {
	color: var(--gold-bright);
}
.bugan-footer__nav a:hover::after {
	transform: scaleX(1);
}

/* Contact */
.bugan-footer__contact {
	display: flex;
	flex-direction: column;
	gap: 18px;
	font-style: normal;
}
.bugan-footer__row {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	font-size: 15px;
	line-height: 1.55;
}
.bugan-footer__row svg {
	flex: 0 0 auto;
	width: 19px;
	height: 19px;
	margin-top: 2px;
	color: var(--gold);
}
.bugan-footer__row a:hover {
	color: var(--gold-bright);
}

/* Divider */
.bugan-footer__divider {
	height: 1px;
	margin: clamp(40px, 5vw, 64px) 0 0;
	border: 0;
	background: linear-gradient(90deg, transparent, rgba(216, 168, 156, .28), transparent);
}

/* ---- Bottom: legal + credit ---- */
.bugan-footer__bottom {
	max-width: 1180px;
	margin: 0 auto;
	padding: 22px clamp(20px, 5vw, 40px) 32px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 28px;
}
.bugan-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	font-size: 12px;
	letter-spacing: .02em;
	color: var(--muted);
}
.bugan-footer__legal b {
	font-weight: 500;
	color: #B9B4B1;
}
.bugan-footer__copy {
	font-size: 12px;
	color: var(--muted);
}
.bugan-footer__copy a {
	color: var(--gold);
}
.bugan-footer__copy a:hover {
	color: var(--gold-bright);
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
	.bugan-footer__top {
		grid-template-columns: 1fr 1fr;
		gap: 40px 32px;
	}
	.bugan-footer__brand {
		grid-column: 1 / -1;
	}
	.bugan-footer__tagline {
		max-width: 52ch;
	}
}
@media (max-width: 540px) {
	.bugan-footer__top {
		grid-template-columns: 1fr;
	}
	.bugan-footer__bottom {
		flex-direction: column;
		justify-content: center;
		text-align: center;
	}
	.bugan-footer__legal {
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bugan-footer__nav a::after {
		transition: none;
	}
}
