/* =========================================================================
   Salon Theme — Footer, CTA strip, back-to-top and WhatsApp button
   ========================================================================= */

.salon-footer {
	background: var(--salon-brand-dark);
	color: var(--salon-text-muted);
}

/* ---------- Optional CTA strip (Salon Settings → Footer) ---------- */
.salon-footer__cta {
	padding: 60px var(--salon-gutter);
	background: #1b140c;
}

.salon-footer__cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	padding: 0;
}

.salon-footer__cta-heading {
	margin: 0 0 8px;
	color: #fff;
	font-size: 32px;
}

.salon-footer__cta-desc {
	margin: 0;
}

/* ---------- Columns ---------- */
.salon-footer__grid {
	display: grid;
	grid-template-columns: 1fr minmax(0, 1.4fr) 1fr;
	align-items: start;
	gap: 40px;
	max-width: calc(var(--salon-container) + (var(--salon-gutter) * 2));
	margin: 0 auto;
	padding: 70px var(--salon-gutter) 60px;
}

.salon-footer__col {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}

.salon-footer__col:last-child {
	align-items: flex-end;
	text-align: right;
}

.salon-footer__col--brand {
	align-items: center;
	gap: 22px;
}

.salon-footer__heading {
	margin: 0 0 8px;
	color: #fff;
	font-size: 20px;
	font-weight: 400;
	line-height: 1;
}

.salon-footer__line {
	margin: 0;
	color: var(--salon-text-muted);
	font-size: 14px;
	line-height: 1.6;
}

a.salon-footer__line:hover,
a.salon-footer__line:focus {
	color: var(--salon-accent);
}

.salon-footer__logo {
	width: 100px;
	height: 100px;
	object-fit: contain;
}

.salon-footer__brand {
	margin: 0;
	color: #fff;
	font-family: var(--salon-font-heading);
	font-size: 26px;
}

.salon-footer__socials {
	display: flex;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.salon-footer__socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	color: var(--salon-text-muted);
}

.salon-footer__socials a:hover,
.salon-footer__socials a:focus {
	border-color: var(--salon-accent);
	color: var(--salon-accent);
}

/* ---------- Bottom bar ---------- */
.salon-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	max-width: calc(var(--salon-container) + (var(--salon-gutter) * 2));
	margin: 0 auto;
	padding: 18px var(--salon-gutter);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 13px;
}

.salon-footer__legal {
	display: flex;
	gap: 24px;
}

.salon-footer__legal-link {
	color: var(--salon-text-muted);
}

.salon-footer__legal-link:hover,
.salon-footer__legal-link:focus {
	color: var(--salon-accent);
}

.salon-footer__note {
	margin: 0;
	padding: 18px var(--salon-gutter) 26px;
	color: rgba(255, 255, 255, 0.4);
	font-size: 12px;
	line-height: 1.6;
	text-align: center;
}

/* ---------- Floating WhatsApp button ---------- */
.salon-wa {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 95;
}

.salon-wa__button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	padding: 0;
	background: #25d366;
	border: 0;
	border-radius: 50%;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
	color: #fff;
	cursor: pointer;
	transition: transform var(--salon-transition), background var(--salon-transition);
}

.salon-wa__button:hover,
.salon-wa__button:focus {
	background: #1ebe5b;
	color: #fff;
	transform: scale(1.06);
}

.salon-wa__button svg {
	display: block;
}

.salon-wa__panel {
	position: absolute;
	right: 0;
	bottom: 72px;
	width: 240px;
	background: #fff;
	border: 1px solid var(--salon-border);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
	overflow: hidden;
}

.salon-wa__panel a {
	display: flex;
	flex-direction: column;
	padding: 13px 16px;
	border-bottom: 1px solid var(--salon-border);
	color: var(--salon-heading);
}

.salon-wa__panel a:last-child {
	border-bottom: 0;
}

.salon-wa__panel a:hover,
.salon-wa__panel a:focus {
	background: var(--salon-bg-alt);
}

.salon-wa__panel strong {
	font-size: 14px;
}

.salon-wa__panel span {
	color: var(--salon-accent);
	font-size: 13px;
}

/* ---------- Back to top ---------- */
.salon-to-top {
	position: fixed;
	right: 27px;
	bottom: 94px;
	z-index: 90;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: #fff;
	border: 1px solid var(--salon-border);
	border-radius: 50%;
	color: var(--salon-accent);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(14px);
	transition: all var(--salon-transition);
}

.salon-to-top .salon-icon {
	transform: rotate(180deg);
}

.salon-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
	.salon-footer__grid {
		grid-template-columns: 1fr;
		justify-items: center;
		gap: 36px;
		text-align: center;
	}

	.salon-footer__col,
	.salon-footer__col:last-child {
		align-items: center;
		text-align: center;
	}

	.salon-footer__col--brand {
		order: -1;
	}

	.salon-footer__bottom {
		flex-direction: column;
		text-align: center;
	}

	.salon-footer__cta-inner {
		flex-direction: column;
		align-items: flex-start;
	}
}
