/* Sistema de las páginas nuevas: los mismos colores y letras que la portada. */

:root {
	--tn-azul: #085a9d;
	--tn-azul-noche: #04365e;
	--tn-azul-claro: #e8f0f8;
	--tn-rojo: #df2c1e;
	--tn-rojo-hover: #c42418;
	--tn-gris: #f5f6f8;
	--tn-ambar: #f5a623;
	--tn-linea: #e2e6ec;
	--tn-tinta: #1a1a1a;
	--tn-tinta-2: #4f5866;
	--tn-blanco: #fff;
	--tn-radio: 8px;
	--tn-sombra: 0 6px 24px -8px rgba(4, 54, 94, 0.18);
	--tn-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
	--tn-cabecera: 88px;
	--tn-texto: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--tn-cifra: 'Roboto Slab', Georgia, serif;
}

body.tn-p-toldos,
body.tn-p-contacto,
body.tn-p-catalogo,
body.tn-p-hosteleria,
body.tn-p-pagina {
	font-family: var(--tn-texto);
	color: var(--tn-tinta);
	font-size: 17px;
	line-height: 1.6;
	background: var(--tn-blanco);
}

.tn-envoltorio {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 24px;
}

/* Titulares: Roboto pesada, como la portada. */
.tn-titulo-1 {
	font-family: var(--tn-texto);
	font-weight: 900;
	font-size: clamp(2.25rem, 4.6vw, 3.5rem);
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: var(--tn-azul-noche);
	margin: 0 0 1rem;
	text-wrap: balance;
}

.tn-titulo-2 {
	font-family: var(--tn-texto);
	font-weight: 800;
	font-size: clamp(1.6rem, 2.8vw, 2.25rem);
	line-height: 1.15;
	letter-spacing: -0.015em;
	color: var(--tn-azul-noche);
	margin: 0 0 0.75rem;
	text-wrap: balance;
}

.tn-entradilla {
	font-size: 1.15rem;
	color: var(--tn-tinta-2);
	max-width: 46ch;
	margin: 0 0 1.75rem;
	text-wrap: pretty;
}

/* Botones */
.tn-acciones {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.tn-acciones--centro {
	justify-content: center;
}

.tn-boton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 22px;
	border-radius: var(--tn-radio);
	border: 1.5px solid var(--tn-azul);
	background: var(--tn-blanco);
	color: var(--tn-azul);
	font-family: var(--tn-texto);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: transform 160ms var(--tn-ease-out), background-color 150ms ease, color 150ms ease, border-color 150ms ease;
	-webkit-tap-highlight-color: transparent;
}

.tn-boton--principal {
	background: var(--tn-rojo);
	border-color: var(--tn-rojo);
	color: var(--tn-blanco);
}

.tn-boton:active {
	transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
	.tn-boton:hover {
		background: var(--tn-azul);
		color: var(--tn-blanco);
	}

	.tn-boton--principal:hover {
		background: var(--tn-rojo-hover);
		border-color: var(--tn-rojo-hover);
	}
}

.tn-boton .tn-icono {
	flex-shrink: 0;
}

/* Enlaces con flecha */
.tn-enlace {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--tn-azul);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 4px;
	text-decoration-color: rgba(8, 90, 157, 0.35);
	transition: text-decoration-color 150ms ease;
}

.tn-enlace .tn-icono {
	transition: transform 200ms var(--tn-ease-out);
}

@media (hover: hover) and (pointer: fine) {
	.tn-enlace:hover {
		color: var(--tn-azul);
		text-decoration-color: currentColor;
	}

	.tn-enlace:hover .tn-icono {
		transform: translateX(3px);
	}
}

.tn-enlace--suave {
	font-weight: 500;
	color: var(--tn-tinta-2);
}

.tn-enlace--claro,
.tn-enlace--claro:hover {
	color: var(--tn-blanco);
	text-decoration-color: rgba(255, 255, 255, 0.45);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Cierre común */
.tn-cierre {
	background: var(--tn-gris);
	padding: 72px 0 80px;
	text-align: center;
}

.tn-cierre p {
	color: var(--tn-tinta-2);
	margin: 0 auto 1.75rem;
	max-width: 46ch;
}

:where(body.tn-p-toldos, body.tn-p-contacto, body.tn-p-catalogo, body.tn-p-hosteleria, body.tn-p-pagina) [id] {
	scroll-margin-top: calc(var(--tn-cabecera) + 16px);
}

@media (prefers-reduced-motion: reduce) {
	.tn-boton,
	.tn-enlace .tn-icono {
		transition: none;
	}
}
