/* ===========================
   FOOTER VIAJAMUNDI
   =========================== */

.vm-site-footer {
    background: linear-gradient(45deg, #020617, #0b1220);
	color: #e5e7eb;
	font-size: 14px;
	padding-top: 32px;
	padding-bottom: 18px;
}

.vm-footer-inner {
	padding-top: 8px;
	padding-bottom: 8px;
}

/* Layout superior común */
.vm-footer-top {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* Columnas big footer */
.vm-footer-col {
	min-width: 0;
}

/* Título de columna (texto dentro del botón) */
.vm-footer-title {
	font-size: 15px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #f9fafb;
}

/* Lista de enlaces (big footer) */
.vm-footer-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.vm-footer-list li {
	margin-bottom: 6px;
}

.vm-footer-list a {
	color: #cbd5f5;
	text-decoration: none;
	transition: color 0.15s ease, text-decoration-color 0.15s ease;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

.vm-footer-list a:hover {
	color: #ffffff;
	text-decoration: underline;
}

/* ====== Expandibles mobile (big footer) ====== */

.vm-footer-accordion-header {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: none;
	border: none;
	padding: 0;
	margin: 0 0 10px;
	color: inherit;
	cursor: pointer;
}
.vm-footer-accordion-header:focus,
.vm-footer-accordion-header:hover {
    background: none;
}

.footer-expandable-icon {
	flex-shrink: 0;
	transition: transform 0.15s ease;
	fill: #e5e7eb;
}

/* Rotación cuando está abierto */
.vm-footer-accordion.is-open .footer-expandable-icon {
	transform: rotate(180deg);
}

/* Ocultar listas cuando panel esté colapsado (se controla vía JS con panel.hidden) */
.vm-footer-list[hidden] {
	display: none;
}

/* ====== Bloque social (big footer) ====== */

.vm-footer-social {
	margin-top: 4px;
}

.vm-footer-social-label {
	display: inline-block;
	margin-bottom: 8px;
	font-size: 13px;
	color: #e5e7eb;
}

.vm-footer-social-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.vm-social-item {
}

.vm-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 999px;
	background-color: #121b31;
	text-decoration: none;
	font-size: 13px;
	color: #e5e7eb;
	transition: background-color 0.15s ease, transform 0.15s ease;
}

/* Aquí puedes personalizar colores por red si quieres */
.vm-social-link--facebook { }
.vm-social-link--twitter { }
.vm-social-link--instagram { }
.vm-social-link--pinterest { }
.vm-social-link--tiktok { }

.vm-social-link:focus {
    background-color: #121b31;
    color: #e5e7eb;
}
.vm-social-link:hover {
    background-color: #e5e7eb;
    color: #121b31;
}

/* Footer inferior común */
.vm-footer-bottom {
	margin-top: 24px;
	padding-top: 12px;
	border-top: 1px solid rgba(148, 163, 184, 0.35);
	text-align: center;
}

.vm-footer-copy {
    margin: 12px 0 0 0;
	font-size: 13px;
	color: #9ca3af;
    line-height: 1.5;
}

/* ===========================
   FOOTER SMALL (resto páginas)
   =========================== */

.vm-footer-top--small {
	gap: 12px;
}

.vm-footer-col-small {
	text-align: center;
}

.vm-footer-small-link {
	color: #cbd5f5;
	text-decoration: none;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	display: inline-block;
	padding: 4px 0;
	transition: color 0.15s ease, text-decoration-color 0.15s ease;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}
.vm-footer-small-link:focus {
	color: #cbd5f5;
}
.vm-footer-small-link:hover {
	color: #ffffff;
	text-decoration: underline;
}

/* ===========================
   RESPONSIVE
   =========================== */

/* Desktop / tablet grande */
@media (min-width: 1039px) {
	/* Footer BIG (home) */
	.vm-footer-top--big {
		flex-direction: row;
		justify-content: space-between;
		gap: 40px;
	}

	.vm-footer-top--big .vm-footer-col {
		flex: 1 1 0;
	}

	/* En escritorio, los expandibles del big footer se comportan como secciones normales:
	   - listas siempre visibles
	   - icono se oculta
	   - cabecera no es clicable */
	.vm-footer-top--big .vm-footer-accordion .vm-footer-list {
		display: block !important;
	}

	.vm-footer-top--big .vm-footer-accordion-header {
		margin-bottom: 10px;
		cursor: default;
		pointer-events: none;
	}

	.vm-footer-top--big .footer-expandable-icon {
		display: none;
	}

	/* Columna social centrada verticalmente y alineada al centro */
	.vm-footer-top--big .vm-footer-col-social {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
	}

	.vm-footer-top--big .vm-footer-col-social .vm-footer-social-list {
		justify-content: flex-end;
	}

	/* Footer SMALL (resto páginas): 4 enlaces en fila centrados */
	.vm-footer-top--small {
		flex-direction: row;
		justify-content: center;
		align-items: center;
		gap: 34px;
        margin-top: -9px;
	}

	.vm-footer-top--small .vm-footer-col-small {
		flex: 0 0 auto;
		text-align: center;
	}
}

/* Mobile / tablet: ambos footers se apilan en columna por defecto */
@media (max-width: 1038px) {
	.vm-footer-top--small {
		align-items: stretch;
	}

    .vm-footer-social {
        margin-top: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}