/* ==========================================================================
   Slutch Tours – warm heritage design system
   ========================================================================== */

:root {
	--terracotta: #a4442a;
	--terracotta-dark: #7e3220;
	--ochre: #d9a021;
	--ochre-light: #f3d27a;
	--forest: #2f5d3a;
	--forest-dark: #234630;
	--ink: #2a1d17;
	--text: #4b3e36;
	--muted: #6e6058;
	--sand: #faf6ef;
	--sand-2: #f2e9db;
	--line: #e3d5c1;
	--white: #fff;
	--focus: #1a5fd0;

	--font-serif: "Fraunces", Georgia, "Times New Roman", serif;
	--font-sans: "Source Sans 3", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 1px 2px rgba(42, 29, 23, 0.06), 0 8px 24px rgba(42, 29, 23, 0.08);
	--shadow-lg: 0 4px 10px rgba(42, 29, 23, 0.08), 0 20px 48px rgba(42, 29, 23, 0.14);
	--container: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--section: clamp(56px, 8vw, 104px);
	--header-h: 76px;
	--bar-h: 64px;
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	background: var(--sand);
	color: var(--text);
	font-family: var(--font-sans);
	font-size: 1.125rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img,
svg,
video,
iframe {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: var(--terracotta);
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1px;
}

a:hover {
	color: var(--terracotta-dark);
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.5em;
	color: var(--ink);
	font-family: var(--font-serif);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

h1 {
	font-size: clamp(2.25rem, 5vw, 3.75rem);
}

h2 {
	font-size: clamp(1.75rem, 3.4vw, 2.6rem);
}

h3 {
	font-size: clamp(1.25rem, 2vw, 1.45rem);
}

p {
	margin: 0 0 1em;
}

.icon {
	display: inline-block;
	flex: none;
	width: 1.1em;
	height: 1.1em;
	vertical-align: -0.15em;
}

/* ---------- Accessibility ---------- */

.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;
}

.skip-link:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	z-index: 1000;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto;
	background: var(--white);
	color: var(--ink);
	font-weight: 700;
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-lg);
}

:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 3px;
}

#main:focus {
	outline: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

/* ---------- Layout ---------- */

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.container--narrow {
	max-width: 820px;
}

.section {
	padding-block: var(--section);
}

.section--sand {
	background: var(--sand-2);
}

.section--white {
	background: var(--white);
}

.section-head {
	max-width: 680px;
	margin-bottom: clamp(28px, 4vw, 48px);
}

.section-head--center {
	margin-inline: auto;
	text-align: center;
}

.section-head--split {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 32px;
	align-items: flex-end;
	justify-content: space-between;
	max-width: none;
}

.section-head--split > div {
	max-width: 640px;
}

.eyebrow {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	margin-bottom: 10px;
	color: var(--terracotta);
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.eyebrow::before {
	content: "";
	width: 28px;
	height: 3px;
	background: linear-gradient(90deg, var(--ochre) 0 33%, var(--forest) 33% 66%, var(--terracotta) 66%);
	border-radius: 2px;
}

.lead {
	color: var(--muted);
	font-size: 1.2rem;
}

.grid {
	display: grid;
	gap: clamp(20px, 3vw, 32px);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}

.grid--3 {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

/* ---------- Kente stripe ---------- */

.kente {
	height: 10px;
	background:
		repeating-linear-gradient(
			90deg,
			var(--ochre) 0 28px,
			var(--ink) 28px 34px,
			var(--forest) 34px 62px,
			var(--ochre) 62px 68px,
			var(--terracotta) 68px 96px,
			var(--ink) 96px 102px
		);
}

.kente--thin {
	height: 6px;
}

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex;
	gap: 10px;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 24px;
	border: 2px solid transparent;
	border-radius: 999px;
	font-family: var(--font-sans);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
	transform: translateY(-1px);
}

.btn--primary {
	background: var(--terracotta);
	color: var(--white);
}

.btn--primary:hover {
	background: var(--terracotta-dark);
	color: var(--white);
}

.btn--whatsapp {
	background: var(--forest);
	color: var(--white);
}

.btn--whatsapp:hover {
	background: var(--forest-dark);
	color: var(--white);
}

.btn--outline {
	border-color: currentColor;
	color: var(--ink);
}

.btn--outline:hover {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--white);
}

.btn--light {
	background: var(--white);
	color: var(--ink);
}

.btn--light:hover {
	background: var(--sand-2);
	color: var(--ink);
}

.btn--ghost {
	border-color: rgba(255, 255, 255, 0.8);
	color: var(--white);
}

.btn--ghost:hover {
	background: var(--white);
	color: var(--ink);
}

.btn--block {
	width: 100%;
}

.link-arrow {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	font-weight: 700;
	text-decoration: none;
}

.link-arrow:hover .icon {
	transform: translateX(3px);
}

.link-arrow .icon {
	transition: transform 0.2s ease;
}

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(250, 246, 239, 0.96);
	border-bottom: 1px solid var(--line);
	backdrop-filter: saturate(1.2) blur(8px);
}

.admin-bar .site-header {
	top: 32px;
}

.site-header__inner {
	display: flex;
	gap: 24px;
	align-items: center;
	min-height: var(--header-h);
}

.brand {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-right: auto;
	color: var(--ink);
	text-decoration: none;
}

.brand img {
	width: 52px;
	height: 52px;
	object-fit: contain;
}

.brand .brand__mark {
	width: 56px;
	height: auto;
}

.footer-brand .footer-brand__name {
	display: flex;
	gap: 12px;
	align-items: center;
}

.brand__name {
	display: block;
	font-family: var(--font-serif);
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.1;
}

.brand__tagline {
	display: block;
	color: var(--muted);
	font-size: 0.8rem;
	letter-spacing: 0.04em;
}

.nav-toggle {
	display: none;
}

.primary-nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-nav > ul {
	display: flex;
	gap: 4px;
	align-items: center;
}

.primary-nav a {
	display: block;
	padding: 10px 14px;
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
	border-radius: var(--radius-sm);
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a {
	color: var(--terracotta);
}

.primary-nav .current-menu-item > a {
	box-shadow: inset 0 -3px 0 var(--ochre);
	border-radius: 0;
}

.primary-nav .menu-item-has-children {
	position: relative;
	display: flex;
	align-items: center;
}

.submenu-toggle {
	display: inline-flex;
	align-items: center;
	padding: 4px;
	margin-left: -10px;
	background: none;
	border: 0;
	color: var(--ink);
	cursor: pointer;
}

.primary-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 240px;
	padding: 8px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.primary-nav .menu-item-has-children:hover > .sub-menu,
.primary-nav .menu-item-has-children:focus-within > .sub-menu,
.primary-nav .menu-item-has-children.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.primary-nav .sub-menu a {
	padding: 10px 12px;
	font-weight: 500;
}

.primary-nav .sub-menu a:hover {
	background: var(--sand);
}

.header-actions {
	display: flex;
	gap: 12px;
	align-items: center;
}

.header-phone {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	color: var(--ink);
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

@media (max-width: 1080px) {
	.header-phone span {
		display: none;
	}
}

@media (max-width: 960px) {
	:root {
		--header-h: 68px;
	}

	/* backdrop-filter would make the header the containing block of the fixed menu panel. */
	.site-header {
		background: var(--sand);
		backdrop-filter: none;
	}

	.nav-toggle {
		display: inline-flex;
		gap: 8px;
		align-items: center;
		min-height: 44px;
		padding: 8px 14px;
		background: var(--white);
		border: 1px solid var(--line);
		border-radius: 999px;
		color: var(--ink);
		font: 700 0.95rem var(--font-sans);
		cursor: pointer;
	}

	.nav-toggle .icon-close,
	.nav-open .nav-toggle .icon-menu {
		display: none;
	}

	.nav-open .nav-toggle .icon-close {
		display: inline-block;
	}

	.primary-nav {
		position: fixed;
		inset: var(--header-h) 0 0;
		z-index: 99;
		display: none;
		overflow-y: auto;
		padding: 16px var(--gutter) calc(var(--bar-h) + 32px);
		background: var(--sand);
	}

	.admin-bar .primary-nav {
		top: calc(var(--header-h) + 46px);
	}

	.nav-open .primary-nav {
		display: block;
	}

	.nav-open {
		overflow: hidden;
	}

	.primary-nav > ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.primary-nav li {
		border-bottom: 1px solid var(--line);
	}

	.primary-nav a {
		padding: 16px 4px;
		font-family: var(--font-serif);
		font-size: 1.35rem;
	}

	.primary-nav .current-menu-item > a {
		box-shadow: none;
	}

	.primary-nav .menu-item-has-children {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
	}

	.primary-nav .menu-item-has-children > a {
		flex: 1;
	}

	.submenu-toggle {
		width: 48px;
		height: 48px;
		justify-content: center;
		margin: 0;
	}

	.submenu-toggle[aria-expanded="true"] .icon {
		transform: rotate(180deg);
	}

	.primary-nav .sub-menu {
		position: static;
		display: none;
		flex-basis: 100%;
		min-width: 0;
		padding: 0 0 12px 12px;
		background: none;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.primary-nav .menu-item-has-children.is-open > .sub-menu {
		display: block;
	}

	.primary-nav .sub-menu li {
		border: 0;
	}

	.primary-nav .sub-menu a {
		padding: 10px 4px;
		font-family: var(--font-sans);
		font-size: 1.05rem;
	}

	.header-actions .btn {
		display: none;
	}
}

@media (max-width: 480px) {
	.brand__tagline {
		display: none;
	}

	.brand img {
		width: 44px;
		height: 44px;
	}

	.header-phone {
		display: none;
	}
}

/* ---------- Hero ---------- */

.hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: min(82vh, 760px);
	overflow: hidden;
	background: var(--ink);
	color: var(--white);
}

.hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(42, 29, 23, 0.82) 0%, rgba(42, 29, 23, 0.55) 45%, rgba(42, 29, 23, 0.1) 80%),
		linear-gradient(0deg, rgba(42, 29, 23, 0.65) 0%, rgba(42, 29, 23, 0) 45%);
}

@media (max-width: 760px) {
	/* Text spans the full width on phones, so darken the whole photo evenly. */
	.hero::after {
		background: linear-gradient(0deg, rgba(42, 29, 23, 0.88) 0%, rgba(42, 29, 23, 0.62) 55%, rgba(42, 29, 23, 0.45) 100%);
	}
}

.hero__content {
	position: relative;
	z-index: 1;
	padding-block: clamp(64px, 12vh, 120px) clamp(40px, 8vh, 72px);
}

.hero__content > * {
	max-width: 640px;
}

.hero h1 {
	color: var(--white);
}

.hero .eyebrow {
	color: var(--ochre-light);
}

.hero__lead {
	font-size: clamp(1.1rem, 1.8vw, 1.3rem);
	color: rgba(255, 255, 255, 0.92);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.trust-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
	margin: 36px 0 0;
	padding: 0;
	max-width: none !important;
	list-style: none;
	color: rgba(255, 255, 255, 0.92);
	font-size: 0.98rem;
	font-weight: 600;
}

.trust-list li {
	display: flex;
	gap: 8px;
	align-items: center;
}

.trust-list .icon {
	color: var(--ochre);
}

/* Page hero for tours and destinations */
.hero--page {
	min-height: min(62vh, 560px);
}

/* Photo banner for main pages (About, Tours, Reviews, Contact) */
.hero--banner {
	min-height: clamp(340px, 52vh, 500px);
}

.hero--banner .hero__content {
	padding-block: clamp(96px, 14vh, 140px) clamp(36px, 6vh, 56px);
}

.hero--banner .breadcrumbs span {
	color: rgba(255, 255, 255, 0.85);
}

.breadcrumbs {
	margin-bottom: 14px;
	font-size: 0.95rem;
}

.breadcrumbs a {
	color: rgba(255, 255, 255, 0.9);
}

.page-header .breadcrumbs a {
	color: var(--muted);
}

/* ---------- Cards ---------- */

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--white);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover,
.card:focus-within {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

.card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--sand-2);
}

.card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.card:hover .card__image {
	transform: scale(1.04);
}

.card__image--placeholder {
	display: flex;
	align-items: flex-end;
	height: 100%;
	background: radial-gradient(circle at 30% 30%, var(--sand) 0, var(--sand-2) 70%);
}

.card__image--placeholder .kente {
	width: 100%;
}

.card__badge {
	position: absolute;
	top: 14px;
	left: 14px;
	display: inline-flex;
	gap: 6px;
	align-items: center;
	padding: 6px 12px;
	background: rgba(255, 255, 255, 0.95);
	border-radius: 999px;
	color: var(--ink);
	font-size: 0.875rem;
	font-weight: 700;
}

.card__badge .icon {
	color: var(--terracotta);
}

.card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 22px 24px 24px;
}

.card__eyebrow {
	display: flex;
	gap: 6px;
	align-items: center;
	margin-bottom: 8px;
	color: var(--forest);
	font-size: 0.875rem;
	font-weight: 700;
}

.card__title {
	margin-bottom: 10px;
}

.card__link {
	color: var(--ink);
	text-decoration: none;
}

/* Whole card is clickable, but only the title is announced as a link. */
.card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.card__text {
	color: var(--muted);
	font-size: 1rem;
}

.card__footer {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	margin: auto 0 0;
	padding-top: 16px;
	border-top: 1px solid var(--line);
}

.card__price {
	color: var(--ink);
	font-weight: 700;
}

.card__more {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	color: var(--terracotta);
	font-weight: 700;
	font-size: 0.95rem;
}

/* Destination tiles */
.tile {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 3 / 4;
	border-radius: var(--radius);
	color: var(--white);
	text-decoration: none;
	box-shadow: var(--shadow);
}

.tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.tile:hover img {
	transform: scale(1.05);
}

.tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(42, 29, 23, 0.85) 0%, rgba(42, 29, 23, 0) 60%);
}

.tile__label {
	position: absolute;
	right: 20px;
	bottom: 18px;
	left: 20px;
	z-index: 1;
}

.tile__title {
	display: block;
	color: var(--white);
	font-family: var(--font-serif);
	font-size: 1.4rem;
	font-weight: 600;
	line-height: 1.2;
}

.tile__meta {
	display: block;
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.95rem;
}

.tiles {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}

/* ---------- Features (why travel with Sly) ---------- */

.split {
	display: grid;
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}

.split__media {
	position: relative;
}

.split__media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
}

.split__media .kente {
	position: absolute;
	right: -14px;
	bottom: 28px;
	width: 55%;
	border-radius: 2px;
}

.stat-row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 40px;
	margin: 28px 0;
	padding: 0;
	list-style: none;
}

.stat-row strong {
	display: block;
	color: var(--terracotta);
	font-family: var(--font-serif);
	font-size: 2.2rem;
	line-height: 1;
}

.stat-row span {
	color: var(--muted);
	font-size: 0.95rem;
}

.features {
	display: grid;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.feature {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.feature__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 48px;
	height: 48px;
	background: var(--sand-2);
	border-radius: 12px;
	color: var(--terracotta);
}

.feature h3 {
	margin-bottom: 4px;
	font-size: 1.15rem;
}

.feature p {
	margin: 0;
	color: var(--muted);
	font-size: 1rem;
}

/* ---------- Testimonials ---------- */

.quotes {
	display: grid;
	gap: 24px;
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.quotes {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1100px) {
	.quotes {
		grid-template-columns: repeat(4, 1fr);
	}
}

.quote {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 28px;
	background: var(--white);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

/* Reviews page: every review, in balanced columns regardless of length. */
.quotes--wall {
	display: block;
	columns: 3 300px;
	column-gap: 24px;
}

.quotes--wall .quote {
	margin-bottom: 24px;
	break-inside: avoid;
}

.quote > .icon {
	width: 32px;
	height: 32px;
	margin-bottom: 12px;
	color: var(--ochre);
}

.quote blockquote {
	margin: 0 0 20px;
	color: var(--ink);
	font-size: 1.05rem;
}

.quote figcaption {
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--line);
	font-size: 0.95rem;
}

.quote figcaption strong {
	display: block;
	color: var(--ink);
}

.quote figcaption span {
	color: var(--muted);
}

.stars {
	display: flex;
	gap: 2px;
	margin-bottom: 12px;
	color: var(--ochre);
}

/* ---------- CTA band ---------- */

.cta-band {
	position: relative;
	overflow: hidden;
	background: var(--terracotta);
	color: var(--white);
}

.cta-band::before {
	content: "";
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 22px);
}

.cta-band__inner {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 24px 48px;
	align-items: center;
	justify-content: space-between;
	padding-block: clamp(40px, 6vw, 64px);
}

.cta-band h2 {
	margin-bottom: 6px;
	color: var(--white);
}

.cta-band p {
	margin: 0;
	color: rgba(255, 255, 255, 0.92);
}

.cta-band__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* ---------- Footer ---------- */

.site-footer {
	background: var(--ink);
	color: rgba(255, 255, 255, 0.78);
	font-size: 1rem;
}

.site-footer a {
	color: rgba(255, 255, 255, 0.92);
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--ochre-light);
	text-decoration: underline;
}

.footer-grid {
	display: grid;
	gap: 40px;
	padding-block: 64px 40px;
	grid-template-columns: 1.4fr repeat(3, 1fr);
}

@media (max-width: 900px) {
	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 560px) {
	.footer-grid {
		grid-template-columns: 1fr;
	}
}

.footer-title {
	margin-bottom: 16px;
	color: var(--white);
	font-family: var(--font-sans);
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.footer-brand .brand__name {
	color: var(--white);
	font-size: 1.6rem;
}

.footer-list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-list a,
.footer-list span {
	display: inline-flex;
	gap: 10px;
	align-items: flex-start;
}

.footer-list .icon {
	margin-top: 3px;
	color: var(--ochre);
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	justify-content: space-between;
	padding-block: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.9rem;
}

/* ---------- Mobile action bar ---------- */

.action-bar {
	display: none;
}

@media (max-width: 760px) {
	.action-bar {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 90;
		display: grid;
		grid-template-columns: 1fr 1fr 1.2fr;
		height: calc(var(--bar-h) + env(safe-area-inset-bottom));
		padding-bottom: env(safe-area-inset-bottom);
		background: var(--white);
		border-top: 1px solid var(--line);
		box-shadow: 0 -6px 20px rgba(42, 29, 23, 0.12);
	}

	.action-bar a {
		display: flex;
		flex-direction: column;
		gap: 2px;
		align-items: center;
		justify-content: center;
		color: var(--ink);
		font-size: 0.85rem;
		font-weight: 700;
		text-decoration: none;
	}

	.action-bar .icon {
		width: 22px;
		height: 22px;
	}

	.action-bar__whatsapp .icon {
		color: var(--forest);
	}

	.action-bar__primary {
		background: var(--terracotta);
		color: var(--white) !important;
	}

	body {
		padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
	}
}

/* ---------- Page header (standard pages) ---------- */

.page-header {
	padding-block: clamp(40px, 7vw, 80px) clamp(28px, 4vw, 48px);
	background: var(--sand-2);
}

.page-header h1 {
	margin-bottom: 12px;
}

.page-header .lead {
	max-width: 680px;
	margin: 0;
}

/* ---------- Prose (editor content) ---------- */

.prose {
	color: var(--text);
}

.prose > * {
	max-width: 72ch;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
	margin-top: 1.6em;
}

.prose h1 {
	font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.prose h2 {
	font-size: clamp(1.45rem, 2.6vw, 1.8rem);
}

.prose img {
	border-radius: var(--radius-sm);
}

.prose ul,
.prose ol {
	padding-left: 1.3em;
}

.prose li {
	margin-bottom: 0.4em;
}

.prose blockquote {
	margin: 1.5em 0;
	padding: 4px 0 4px 20px;
	border-left: 4px solid var(--ochre);
	color: var(--ink);
	font-style: italic;
}

.prose table {
	width: 100%;
	border-collapse: collapse;
}

.prose th,
.prose td {
	padding: 10px;
	border-bottom: 1px solid var(--line);
	text-align: left;
}

/* Old builder content brings its own inline sizes; keep it readable. */
.prose [style*="font-size"] {
	font-size: inherit !important;
}

.prose .entry-header {
	display: none;
}

.alignleft {
	float: left;
	margin: 0.3em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.3em 0 1em 1.5em;
}

.aligncenter {
	margin-inline: auto;
}

/* ---------- Tour page ---------- */

.facts {
	position: relative;
	z-index: 2;
	display: grid;
	gap: 1px;
	margin: -48px 0 0;
	padding: 0;
	list-style: none;
	overflow: hidden;
	background: var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
}

.fact {
	display: flex;
	gap: 14px;
	align-items: center;
	padding: 20px 22px;
	background: var(--white);
}

@media (max-width: 600px) {
	.facts {
		grid-template-columns: 1fr 1fr;
	}

	.fact {
		flex-direction: column;
		gap: 6px;
		align-items: flex-start;
		padding: 14px 16px;
	}

	.fact .icon {
		width: 22px;
		height: 22px;
	}
}

.fact .icon {
	width: 28px;
	height: 28px;
	color: var(--terracotta);
}

.fact span {
	display: block;
	color: var(--muted);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.fact strong {
	color: var(--ink);
	font-size: 1.1rem;
}

.tour-layout {
	display: grid;
	gap: clamp(32px, 5vw, 64px);
	align-items: start;
	grid-template-columns: minmax(0, 1fr) 360px;
	padding-block: clamp(40px, 6vw, 72px);
}

@media (max-width: 960px) {
	.tour-layout {
		grid-template-columns: 1fr;
	}
}

.booking-card {
	position: sticky;
	top: calc(var(--header-h) + 24px);
	padding: 28px;
	background: var(--white);
	border-top: 6px solid var(--terracotta);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
}

.booking-card h2 {
	font-size: 1.5rem;
}

.booking-card__price {
	margin-bottom: 4px;
	color: var(--ink);
	font-family: var(--font-serif);
	font-size: 1.6rem;
	font-weight: 700;
}

.booking-card .btn {
	margin-top: 12px;
}

.checklist {
	display: grid;
	gap: 8px;
	margin: 20px 0 0;
	padding: 20px 0 0;
	border-top: 1px solid var(--line);
	list-style: none;
	font-size: 0.98rem;
}

.checklist li {
	display: flex;
	gap: 8px;
}

.checklist .icon {
	margin-top: 4px;
	color: var(--forest);
}

.itinerary {
	position: relative;
}

.itinerary__day {
	position: relative;
	margin: 0;
	padding: 0 0 28px 40px;
	border-left: 2px dashed var(--line);
	margin-left: 11px;
}

.itinerary__day::before {
	content: "";
	position: absolute;
	top: 4px;
	left: -11px;
	width: 20px;
	height: 20px;
	background: var(--white);
	border: 4px solid var(--terracotta);
	border-radius: 50%;
}

.itinerary__day:last-of-type {
	border-left-color: transparent;
}

.itinerary__label {
	display: block;
	margin-bottom: 4px;
	color: var(--terracotta);
	font-family: var(--font-serif);
	font-size: 1.25rem;
	font-weight: 700;
}

.gallery-grid {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
}

.gallery-grid button {
	display: block;
	width: 100%;
	padding: 0;
	overflow: hidden;
	background: none;
	border: 0;
	border-radius: var(--radius-sm);
	cursor: zoom-in;
}

.gallery-grid img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.gallery-grid button:hover img {
	transform: scale(1.05);
}

/* Lightbox */
.lightbox {
	width: min(100vw, 1200px);
	max-width: 100vw;
	max-height: 100vh;
	padding: 0;
	background: transparent;
	border: 0;
}

.lightbox::backdrop {
	background: rgba(20, 14, 11, 0.92);
}

.lightbox img {
	max-height: 86vh;
	margin-inline: auto;
	object-fit: contain;
	border-radius: var(--radius-sm);
}

.lightbox__close {
	position: fixed;
	top: 16px;
	right: 16px;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	background: var(--white);
	border: 0;
	border-radius: 50%;
	color: var(--ink);
	cursor: pointer;
}

.lightbox__caption {
	margin: 12px 0 0;
	color: var(--white);
	text-align: center;
}

/* ---------- Tours list ---------- */

.toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 32px;
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
}

.chip {
	min-height: 44px;
	padding: 8px 18px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--ink);
	font: 600 1rem var(--font-sans);
	cursor: pointer;
}

.chip[aria-pressed="true"] {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--white);
}

.search-field {
	position: relative;
	flex: 1 1 260px;
	max-width: 360px;
}

.search-field input[type="search"] {
	padding-left: 44px;
}

.search-field .icon {
	position: absolute;
	top: 50%;
	left: 14px;
	color: var(--muted);
	transform: translateY(-50%);
}

.results-count {
	margin-bottom: 20px;
	color: var(--muted);
}

.empty-state {
	padding: 48px 24px;
	background: var(--white);
	border-radius: var(--radius);
	text-align: center;
}

/* ---------- Forms ---------- */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="number"],
input[type="date"],
select,
textarea {
	width: 100%;
	min-height: 50px;
	padding: 12px 16px;
	background: var(--white);
	border: 1px solid #cdbba3;
	border-radius: var(--radius-sm);
	color: var(--ink);
	font: 400 1.05rem/1.4 var(--font-sans);
}

textarea {
	min-height: 140px;
	resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--terracotta);
	outline: 3px solid rgba(164, 68, 42, 0.2);
	outline-offset: 0;
}

label {
	display: block;
	margin-bottom: 6px;
	color: var(--ink);
	font-weight: 700;
	font-size: 0.98rem;
}

.form-grid {
	display: grid;
	gap: 18px 20px;
	grid-template-columns: 1fr 1fr;
}

.form-grid .full {
	grid-column: 1 / -1;
}

@media (max-width: 600px) {
	.form-grid {
		grid-template-columns: 1fr;
	}
}

.form-hint {
	display: block;
	margin-top: 4px;
	color: var(--muted);
	font-size: 0.9rem;
	font-weight: 400;
}

.wpcf7-form p {
	margin: 0;
}

.wpcf7-form-control-wrap {
	display: block;
}

.wpcf7-submit {
	min-height: 52px;
	padding: 12px 32px;
	background: var(--terracotta);
	border: 0;
	border-radius: 999px;
	color: var(--white);
	font: 700 1.05rem var(--font-sans);
	cursor: pointer;
}

.wpcf7-submit:hover {
	background: var(--terracotta-dark);
}

.wpcf7-not-valid-tip {
	margin-top: 6px;
	color: #b3261e;
	font-size: 0.95rem;
}

.wpcf7 form .wpcf7-response-output {
	margin: 20px 0 0;
	padding: 14px 18px;
	border-radius: var(--radius-sm);
}

.wpcf7-spinner {
	vertical-align: middle;
}

/* ---------- Contact page ---------- */

.contact-layout {
	display: grid;
	gap: clamp(32px, 5vw, 64px);
	align-items: start;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
}

@media (max-width: 900px) {
	.contact-layout {
		grid-template-columns: 1fr;
	}
}

.panel {
	padding: clamp(24px, 4vw, 40px);
	background: var(--white);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.contact-methods {
	display: grid;
	gap: 12px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

.contact-method {
	display: flex;
	gap: 16px;
	align-items: center;
	padding: 16px 18px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--ink);
	text-decoration: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

a.contact-method:hover {
	border-color: var(--terracotta);
	box-shadow: var(--shadow);
	color: var(--ink);
}

.contact-method .feature__icon {
	width: 44px;
	height: 44px;
}

.contact-method strong {
	display: block;
}

.contact-method span {
	color: var(--muted);
	font-size: 0.95rem;
}

.map-frame {
	width: 100%;
	height: 280px;
	border: 0;
	border-radius: var(--radius);
}

/* ---------- Team ---------- */

.person {
	display: grid;
	gap: 24px;
	align-items: start;
	grid-template-columns: 160px 1fr;
	padding: 28px;
	background: var(--white);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.person img {
	width: 160px;
	height: 160px;
	object-fit: cover;
	border-radius: 50%;
}

.person__role {
	margin-bottom: 12px;
	color: var(--terracotta);
	font-weight: 700;
}

@media (max-width: 560px) {
	.person {
		grid-template-columns: 1fr;
	}
}

/* ---------- Posts list ---------- */

.pagination {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-top: 48px;
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	color: var(--ink);
	text-decoration: none;
}

.pagination .current {
	background: var(--ink);
	color: var(--white);
}

/* ---------- 404 ---------- */

.not-found {
	padding-block: clamp(64px, 12vw, 140px);
	text-align: center;
}

.not-found .hero__actions {
	justify-content: center;
}
