/* Páginas: cabecera de página, textos legales, El olivar, Calidad y Contacto. */

.vvt-pagina__cabecera {
	padding-block: 28px clamp(28px, 4vw, 44px);
}

.vvt-pagina__cabecera--amplia {
	padding-bottom: clamp(36px, 5vw, 64px);
}

.vvt-pagina__cabecera h1 {
	max-width: 20ch;
	margin-bottom: 0.3em;
}

.vvt-pagina__cabecera--amplia h1 {
	font-size: var(--vvt-t-display);
}

.vvt-pagina__texto {
	padding-bottom: var(--vvt-seccion);
}

.vvt-pagina__fecha {
	margin: 0;
	font-size: var(--vvt-t-pequeno);
	color: var(--vvt-musgo);
}

/* Textos legales: las tablas de la política de cookies se desplazan por dentro en el móvil */
.vvt-pagina__texto .vvt-prosa {
	max-width: 52rem;
}

.vvt-pagina__texto .vvt-prosa .mut {
	font-size: var(--vvt-t-pequeno);
	color: var(--vvt-musgo);
}

.vvt-pagina__texto .vvt-prosa table {
	margin-bottom: 1.5em;
	background: var(--vvt-blanco);
}

.vvt-pagina__texto .vvt-prosa td {
	overflow-wrap: anywhere;
}

/* Fichas de datos del titular */
.vvt-prosa .dl {
	margin-bottom: 1.5em;
	border-top: var(--vvt-filete);
}

.vvt-prosa .dl > div {
	display: grid;
	grid-template-columns: 6.5rem minmax(0, 1fr);
	gap: 12px;
	padding: 10px 0;
	border-bottom: var(--vvt-filete);
}

.vvt-prosa .dl .k {
	font-size: var(--vvt-t-pequeno);
	color: var(--vvt-musgo);
}

/* En el móvil cada fila de la tabla es una ficha y cada dato lleva el nombre de su columna */
@media (max-width: 639px) {
	.vvt-pagina__texto .vvt-prosa table,
	.vvt-pagina__texto .vvt-prosa tbody,
	.vvt-pagina__texto .vvt-prosa tr,
	.vvt-pagina__texto .vvt-prosa td {
		display: block;
	}

	.vvt-pagina__texto .vvt-prosa table {
		background: transparent;
	}

	.vvt-pagina__texto .vvt-prosa thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}

	.vvt-pagina__texto .vvt-prosa tr {
		margin-bottom: 12px;
		padding: 6px 14px;
		border: var(--vvt-filete);
		border-radius: var(--vvt-r-tarjeta);
		background: var(--vvt-blanco);
	}

	.vvt-pagina__texto .vvt-prosa td {
		display: grid;
		grid-template-columns: 5.5rem minmax(0, 1fr);
		gap: 10px;
		padding: 7px 0;
		border-bottom: var(--vvt-filete);
	}

	.vvt-pagina__texto .vvt-prosa td:last-child {
		border-bottom: 0;
	}

	.vvt-pagina__texto .vvt-prosa td::before {
		content: attr(data-etiqueta);
		font-size: var(--vvt-t-dato);
		line-height: 1.5;
		color: var(--vvt-musgo);
	}
}

.vvt-pagina__texto .vvt-prosa th {
	background: var(--vvt-lino);
	font-weight: 700;
}

.vvt-pagina__texto .vvt-prosa code {
	font-size: 0.875em;
	overflow-wrap: anywhere;
}

/* La finca: texto y foto */
.vvt-finca__rejilla {
	display: grid;
	grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: center;
}

.vvt-finca__foto {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--vvt-r-bloque);
}

/* Contacto */
.vvt-canales {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 24px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.vvt-canal {
	display: grid;
	align-content: start;
	gap: 4px;
	height: 100%;
	padding: 28px;
	border: var(--vvt-filete);
	border-radius: var(--vvt-r-bloque);
	background: var(--vvt-lino);
	color: var(--vvt-bosque);
	text-decoration: none;
	transition: border-color var(--vvt-d-estado) ease;
}

@media (hover: hover) and (pointer: fine) {
	.vvt-canal:hover {
		border-color: var(--vvt-bosque);
		color: var(--vvt-bosque);
	}
}

.vvt-canal__icono {
	width: 28px;
	height: 28px;
	margin-bottom: 12px;
	color: var(--vvt-acento);
}

.vvt-canal__nombre {
	font-family: var(--vvt-mono);
	font-size: var(--vvt-t-dato);
	letter-spacing: 0.04em;
	color: var(--vvt-musgo);
}

.vvt-canal__dato {
	text-wrap: balance;
	font-family: var(--vvt-sans);
	font-size: 1.25rem;
	font-weight: 600;
	font-variant-numeric: lining-nums tabular-nums;
	overflow-wrap: anywhere;
}

.vvt-canal__nota {
	font-size: var(--vvt-t-pequeno);
	color: var(--vvt-musgo);
}

@media (max-width: 899px) {
	.vvt-finca__rejilla,
	.vvt-canales {
		grid-template-columns: 1fr;
	}
}
