/* ============================================================================
 * SOMNO · FOOTER
 * ----------------------------------------------------------------------------
 * Footer del sitio. Usa las variables de css/tokens.css. Fondo navy con
 * texto claro, 4 columnas de enlaces + barra de copyright.
 * ============================================================================ */
.somno-footer {
	background: var(--somno-navy);
	color: var(--somno-text-light);
	font-family: var(--somno-font);
	padding: 56px 20px 0;
}
.somno-footer__inner {
	max-width: var(--somno-header-max);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.2fr 1fr 1.4fr 1fr;
	gap: 40px;
}
.somno-footer__col h6 {
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 18px;
	letter-spacing: 0.01em;
}
.somno-footer__link {
	display: block;
	color: var(--somno-text-light);
	font-size: 14px;
	line-height: 1.5;
	text-decoration: none;
	margin-bottom: 11px;
	transition: color 0.15s ease;
}
.somno-footer__link:hover { color: #fff; text-decoration: none !important; }
.somno-footer__social a:hover, .somno-footer__brand a:hover { text-decoration: none !important; }
.somno-footer__text {
	color: var(--somno-text-light);
	font-size: 13.5px;
	line-height: 1.55;
	margin: 0 0 12px;
}
.somno-footer__brand {
	margin-bottom: 20px;
}
.somno-footer__brand img { height: 40px; width: auto; }

/* Redes sociales */
.somno-footer__social {
	display: flex;
	gap: 12px;
	margin-top: 16px;
}
.somno-footer__social a {
	width: 38px; height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255,255,255,0.1);
	color: #fff;
	transition: background 0.15s ease;
}
.somno-footer__social a:hover { background: var(--somno-accent); }
.somno-footer__social svg { width: 18px; height: 18px; }

/* Barra de copyright */
.somno-footer__bottom {
	max-width: var(--somno-header-max);
	margin: 48px auto 0;
	padding: 22px 0;
	border-top: 1px solid rgba(255,255,255,0.12);
	text-align: center;
}
.somno-footer__bottom p {
	color: var(--somno-text-light);
	font-size: 13px;
	margin: 0;
}

/* Responsive */
@media (max-width: 991.98px) {
	.somno-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 575.98px) {
	.somno-footer__inner { grid-template-columns: 1fr; gap: 28px; }
	.somno-footer { padding-top: 40px; }
}

/* ============================================================
 * BARRA STICKY INFERIOR (solo movil) - CTA que persigue
 * Vive aqui porque el HTML esta en footer.php
 * ============================================================ */
.somno-bottombar {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 2000;
	background: var(--somno-surface);
	border-top: 1px solid var(--somno-border);
	box-shadow: 0 -4px 20px rgba(20, 30, 50, 0.08);
	padding: 10px 12px;
	gap: 10px;
}
.somno-bottombar__btn {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 14px;
	border-radius: var(--somno-radius-sm);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.15s ease;
}
.somno-bottombar__btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.somno-bottombar__btn--phone {
	background: var(--somno-surface);
	color: var(--somno-primary);
	border: 1px solid var(--somno-border);
	border-radius: 50%;
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	padding: 0;
}
.somno-bottombar__btn--phone:hover { background: var(--somno-hover-bg); border-color: var(--somno-primary); }
.somno-bottombar__btn--wa {
	background: var(--somno-whatsapp);
	color: var(--somno-text-invert);
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	padding: 0;
	border-radius: 50%;
}
.somno-bottombar__btn--wa:hover { background: var(--somno-whatsapp-600); color: var(--somno-text-invert); }
.somno-bottombar__btn--reserva {
	background: var(--somno-accent);
	color: var(--somno-text-invert);
}
.somno-bottombar__btn--reserva:hover { background: var(--somno-accent-600); color: var(--somno-text-invert); }

@media (max-width: 991.98px) {
	.somno-bottombar { display: flex; }
	.somno-footer { padding-bottom: 72px; }
}

/* ============================================================
 * BOTON FLOTANTE WHATSAPP (solo desktop, abajo derecha)
 * ============================================================ */
.somno-wa-float {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 2000;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: var(--somno-whatsapp);
	color: var(--somno-text-invert);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 16px rgba(20, 30, 50, 0.2);
	text-decoration: none;
	transition: background 0.15s ease, transform 0.15s ease;
}
.somno-wa-float:hover { background: var(--somno-whatsapp-600); color: var(--somno-text-invert); transform: scale(1.05); }
.somno-wa-float svg { width: 30px; height: 30px; }
@media (max-width: 991.98px) {
	.somno-wa-float { display: none; }
}
