/* =========================================================
   Cookies, mapa bloqueado y paginas legales.
   ========================================================= */

:root {
	--nom-l-tinta: #14242b;
	--nom-l-cuerpo: #45585f;
	--nom-l-suave: #6d8189;
	--nom-l-linea: #e2dbd1;
	--nom-l-crema: #fbf8f4;
	--nom-l-mar: #10505d;
	--nom-l-mar-800: #0d3b45;
	--nom-l-acento: #d9704f;
	--nom-l-acento-osc: #bd5c3d;
}

/* ------------------ Banner de cookies ------------------ */
.nomadas-cookies {
	position: fixed;
	left: 50%;
	bottom: 18px;
	transform: translateX(-50%);
	z-index: 9998;
	width: min(100% - 28px, 780px);
	display: flex;
	align-items: center;
	gap: 1.2rem;
	padding: 1rem 1.3rem;
	background: #ffffff;
	border: 1px solid var(--nom-l-linea);
	border-radius: 14px;
	box-shadow: 0 10px 30px rgba(6, 39, 47, 0.12), 0 30px 70px rgba(6, 39, 47, 0.14);
	animation: nomadasCookies 0.35s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.nomadas-cookies[hidden] {
	display: none;
}

@keyframes nomadasCookies {
	from {
		transform: translate(-50%, 16px);
		opacity: 0;
	}
	to {
		transform: translate(-50%, 0);
		opacity: 1;
	}
}

.nomadas-cookies__texto p {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.6;
	color: var(--nom-l-cuerpo);
}

.nomadas-cookies__texto a {
	color: var(--nom-l-mar);
}

.nomadas-cookies__botones {
	display: flex;
	gap: 0.5rem;
	flex: none;
}

.nomadas-cookies .nomadas-btn {
	padding: 0.55rem 1.15rem;
	font-size: 0.875rem;
	white-space: nowrap;
}

.nomadas-cookies .nomadas-btn--fantasma {
	background: transparent;
	color: var(--nom-l-mar);
	border: 1px solid var(--nom-l-linea);
	box-shadow: none;
}

.nomadas-cookies .nomadas-btn--fantasma:hover {
	background: var(--nom-l-crema);
}

@media (max-width: 720px) {
	.nomadas-cookies {
		flex-direction: column;
		align-items: stretch;
		gap: 0.9rem;
		bottom: 12px;
	}

	.nomadas-cookies__botones .nomadas-btn {
		flex: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nomadas-cookies {
		animation: none;
	}
}

/* ------------------ Mapa sin consentimiento ------------------ */
.nomadas-mapa {
	position: relative;
	min-height: 200px;
}

.nomadas-mapa-bloqueado {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.9rem;
	text-align: center;
	padding: 1.5rem;
	background: #0b3540;
}

.nomadas-mapa-bloqueado[hidden] {
	display: none;
}

.nomadas-mapa-bloqueado p {
	margin: 0;
	max-width: 34ch;
	font-size: 0.93rem;
	line-height: 1.6;
	color: #a9c1c6;
}

/* ------------------ Paginas legales ------------------ */
.nomadas-legal {
	font-size: 1rem;
	line-height: 1.75;
	color: var(--nom-l-cuerpo);
}

.nomadas-legal h2 {
	margin: 2.4rem 0 0.7rem;
	font-size: 1.3rem;
	line-height: 1.25;
	color: var(--nom-l-tinta);
}

.nomadas-legal p {
	margin: 0 0 1rem;
}

.nomadas-legal a {
	color: var(--nom-l-mar);
}

.nomadas-legal__aviso {
	padding: 1rem 1.2rem;
	background: #f6ece7;
	border: 1px solid #ecd3c8;
	border-radius: 14px;
	font-size: 0.92rem;
	color: var(--nom-l-acento-osc);
}

/* Datos identificativos */
.nomadas-legal dl {
	margin: 0 0 1rem;
	padding: 1rem 1.2rem;
	background: #ffffff;
	border: 1px solid var(--nom-l-linea);
	border-radius: 14px;
}

.nomadas-legal dt {
	font-size: 0.76rem;
	text-transform: uppercase;
	letter-spacing: 0.09em;
	color: var(--nom-l-suave);
	margin-top: 0.85rem;
}

.nomadas-legal dt:first-child {
	margin-top: 0;
}

.nomadas-legal dd {
	margin: 0.15rem 0 0;
	color: var(--nom-l-tinta);
}

/* Tablas: se desplazan solas si no caben, sin romper la pagina */
.nomadas-legal table {
	display: block;
	overflow-x: auto;
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 1.4rem;
	font-size: 0.9rem;
}

.nomadas-legal th,
.nomadas-legal td {
	padding: 0.7rem 0.9rem;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--nom-l-linea);
}

.nomadas-legal thead th {
	background: var(--nom-l-mar-800);
	color: #ffffff;
	font-size: 0.76rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border: 0;
	white-space: nowrap;
}

.nomadas-legal tbody tr:last-child td {
	border-bottom: 0;
}

.nomadas-legal tbody tr:nth-child(odd) {
	background: #ffffff;
}
