/* ============================================================
   The top of an inner page: centred on sand - the small gold line (with a
   pin for a place), the heading, the introduction; then jump links (Local
   Guide), the icon strip (The Caravan) or buttons (404).
   (prototype: .phero.phero--text, .guide-jump, .glance)
   ============================================================ */

.page-hero {
	background: var(--color-surface-light);
	text-align: center;
}

.page-hero__inner {
	display: grid;
	justify-items: center;
	padding-block: 24px var(--space-section);
}

.page-hero__label {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-bottom: 20px;
	color: var(--color-accent);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.page-hero__label .icon {
	flex: none;
}

.page-hero__title {
	max-width: 1000px;
	font-size: var(--size-h1);
	line-height: 1.05;
}

.page-hero__lead {
	max-width: 560px;
	margin-top: 24px;
	font-size: 15px;
	line-height: 1.7;
}

.page-hero__lead p + p {
	margin-top: 1em;
}

/* A link in the introduction ("Send us a message"): the shared text link
   (main.css). */

/* Buttons (the 404 page). */
.page-hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin-top: 36px;
}

/* Jump links to the sections below (Local Guide): outlined, navy filled
   on hover. */
.page-hero__jumps {
	margin-top: 32px;
}

.jumps {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jumps__link {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 0 14px;
	border: 1px solid var(--color-text);
	color: var(--color-text);
	font-size: var(--size-label);
	font-weight: 600;
	letter-spacing: 0.18em;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease);
}

/* The buttons' one hover (main.css). */
.jumps__link:focus-visible {
	border-color: var(--color-hover);
	background-color: var(--color-hover);
	color: var(--color-on-hover);
}

@media (hover: hover) {
	.jumps__link:hover {
		border-color: var(--color-hover);
		background-color: var(--color-hover);
		color: var(--color-on-hover);
	}
}

/* The icon strip (The Caravan): three a row on phones, one row from 761px,
   spread across the page from 1181px. */
.glance {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 28px 20px;
	width: 100%;
	margin: 56px 0 0;
	padding: 0;
	list-style: none;
}

.glance__item {
	display: grid;
	justify-items: center;
	align-content: start;
	gap: 12px;
	width: 96px;
	font-size: var(--size-label);
	font-weight: 600;
	letter-spacing: 0.16em;
	line-height: 1.4;
	text-align: center;
	text-transform: uppercase;
	/* Two even lines ("SHOWER / ROOM + WC"), never a short word left alone. */
	text-wrap: balance;
}

.glance__item .icon {
	color: var(--color-accent);
}

@media (min-width: 761px) {
	.page-hero__inner {
		padding-top: 40px;
	}

	.page-hero__label {
		font-size: 16px;
		letter-spacing: 0.14em;
	}

	.page-hero__lead {
		margin-top: 28px;
		font-size: 16px;
	}

	.page-hero__jumps {
		margin-top: 36px;
	}

	.jumps {
		gap: 10px;
	}

	.jumps__link {
		padding: 0 20px;
	}

	.glance {
		gap: 28px 16px;
		margin-top: 64px;
	}

	.glance__item {
		width: 104px;
	}
}

@media (min-width: 1181px) {
	.glance {
		justify-content: space-between;
		margin-top: 72px;
	}

	.glance__item {
		width: 120px;
	}
}
