/*
 * Travel2Serbia · site-wide frontend (theme 0.3.0, Portfolio 2.0)
 * Header panels, homepage, listings, collection pages, For Partners, Tailor-made,
 * search, cards and forms. Built on the tokens of main.css; the Journey template
 * (journey.css) is unchanged.
 */

/* 1. Type helpers ------------------------------------------------------- */

.pf-ov {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--c-blue-text);
	margin: 0 0 10px;
}

.pf-h1,
.pf-h2,
.pf-h3,
.pf-h4 {
	font-family: var(--f-display);
	font-weight: 700;
	margin: 0;
	text-wrap: balance;
}

.pf-h1 { font-size: var(--t-h1); line-height: 1; letter-spacing: -0.035em; }
.pf-h2 { font-size: var(--t-h2); line-height: 1.02; letter-spacing: -0.035em; }
.pf-h3 { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); line-height: 1.1; letter-spacing: -0.02em; }
.pf-h4 { font-size: 1.1875rem; line-height: 1.2; letter-spacing: -0.01em; }

.pf-lead {
	font-size: var(--t-body-l);
	line-height: 1.6;
	color: var(--c-ink-soft);
	max-width: 62ch;
	margin: 14px 0 0;
}

.pf-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	color: var(--c-primary-700);
	font-weight: 600;
}

.pf-link:hover { color: var(--c-ink); }

.pf-head { margin-bottom: 32px; }

.pf-head--row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 24px;
	align-items: flex-end;
	justify-content: space-between;
}

/* 2. Grids --------------------------------------------------------------- */

.pf-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--gutter);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 640px) {
	.pf-grid--2,
	.pf-grid--3,
	.pf-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 992px) {
	.pf-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.pf-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.pf-grid--tight { gap: 14px; }
.pf-grid__full { grid-column: 1 / -1; }
.pf-grid > li { display: flex; }
.pf-grid > li > * { flex: 1 1 auto; min-width: 0; }

/* 3. Pills, placeholder media, credits ---------------------------------- */

.pf-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 28px;
	padding: 0 11px;
	border-radius: var(--r-pill);
	font-size: 12.5px;
	font-weight: 650;
	font-style: normal;
	line-height: 1.1;
	white-space: nowrap;
}

.pf-pill--xs { min-height: 22px; padding: 0 8px; font-size: 11px; vertical-align: middle; }
.pf-pill--sig { background: var(--c-apricot); color: var(--c-primary-700); font-size: 11.5px; font-weight: 750; letter-spacing: 0.05em; text-transform: uppercase; }
.pf-pill--home { background: var(--c-mint); color: var(--c-green-text); }
.pf-pill--ghost { background: rgba(255, 255, 255, 0.94); color: var(--c-ink); }
.pf-pill--draft { background: var(--c-ink); color: var(--c-white); }
.pf-pill--new { background: var(--c-mint); color: var(--c-green-text); }

.pf-ph {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	height: 100%;
	min-height: 120px;
	background:
		/* A quiet landscape wash (0.3.4, P1): clear sky above, May meadow below, never a photo. */
		linear-gradient(180deg, #EEF7FB 0%, #F6F8F4 55%, #EDF6E7 100%);
	color: rgba(99, 96, 92, 0.55);
}

.pf-ph__label {
	max-width: 80%;
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	color: var(--c-muted);
}

.pf-credit {
	position: absolute;
	right: 10px;
	bottom: 10px;
	z-index: 2;
	max-width: calc(100% - 20px);
	padding: 3px 9px;
	border-radius: var(--r-pill);
	background: rgba(255, 255, 255, 0.94);
	color: var(--c-ink-soft);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.35;
	opacity: 0;
	transition: opacity var(--m-fast) var(--ease);
	pointer-events: none;
}

/* Small cards: credit on hover/focus (full credit on the product page). */
.pf-card:hover .pf-credit,
.pf-card:focus-within .pf-credit,
.pf-compact:hover .pf-credit,
.pf-compact:focus-within .pf-credit,
.pf-tile:hover .pf-credit,
.pf-tile:focus-within .pf-credit,
.pf-region:hover .pf-credit,
.pf-region:focus-within .pf-credit,
.pf-credit--show {
	opacity: 1;
}

@media (hover: none) {
	.pf-card--feature .pf-credit { opacity: 1; }
}

.pf-mapped {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 7px;
	border: 1px dashed var(--c-line-strong);
	border-radius: var(--r-pill);
	color: var(--c-muted);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
}

/* 4. Journey card --------------------------------------------------------- */

.pf-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--c-line);
	border-radius: var(--r-card);
	background: var(--c-white);
	transition: transform var(--m-base) var(--ease), box-shadow var(--m-base) var(--ease);
}

@media (hover: hover) {
	.pf-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
}

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

.pf-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pf-card__tags {
	position: absolute;
	left: 12px;
	top: 12px;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	max-width: calc(100% - 24px);
}

.pf-card__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1 1 auto;
	padding: 18px 20px 20px;
}

.pf-card__kicker {
	margin: 0;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--c-blue-text);
}

.pf-card__title {
	margin: 0;
	font-family: var(--f-display);
	font-size: 1.375rem;
	font-weight: 700;
	line-height: 1.14;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

.pf-card__link { color: var(--c-ink); }
.pf-card__link:hover { color: var(--c-primary-700); }

/* The whole card opens the product (one link, one tab stop). */
.pf-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.pf-card__link:focus-visible { outline: none; }

.pf-card:has(.pf-card__link:focus-visible),
.pf-compact:has(.pf-card__link:focus-visible),
.pf-tile:has(.pf-card__link:focus-visible),
.pf-region:has(.pf-card__link:focus-visible) {
	outline: 3px solid var(--c-primary);
	outline-offset: 3px;
}

.pf-card__sub {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--c-ink-soft);
}

.pf-card__note {
	margin: 0;
	font-size: 13px;
	color: var(--c-muted);
}

.pf-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
	color: var(--c-muted);
}

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

.pf-price {
	font-size: 14px;
	font-weight: 700;
	color: var(--c-ink);
}

.pf-price small {
	display: block;
	font-size: 12px;
	font-weight: 500;
	color: var(--c-muted);
}

/* Party-size qualifier (0.3.6): always shown, on every width, so no "From" price stands alone. */
.pf-price__qual {
	display: block;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.35;
	color: var(--c-muted);
}

.pf-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 36px;
	padding: 0 14px;
	border: 1px solid var(--c-line-mid);
	border-radius: var(--r-pill);
	font-size: 13px;
	font-weight: 600;
	color: var(--c-ink);
	white-space: nowrap;
}

@media (min-width: 992px) {
	.pf-card--feature { flex-direction: row; }
	.pf-card--feature .pf-card__media { flex: 0 0 56%; aspect-ratio: auto; min-height: 400px; }
	.pf-card--feature .pf-card__body { padding: 32px 34px; gap: 14px; }
	.pf-card--feature .pf-card__title { font-size: clamp(1.75rem, 1.2rem + 1vw, 2.25rem); }
	.pf-card--feature .pf-card__sub { font-size: 16px; }
	.pf-card--feature .pf-facts { font-size: 14px; }
	.pf-grid--2 .pf-card--feature { flex-direction: column; }
	.pf-grid--2 .pf-card--feature .pf-card__media { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
}

.pf-card--concept { border-style: dashed; border-color: var(--c-line-strong); background: transparent; }
.pf-card--concept .pf-card__media { aspect-ratio: 16 / 7; }

/* 5. Compact card, tile, region card ------------------------------------- */

.pf-compact {
	position: relative;
	display: flex;
	align-items: stretch;
	gap: 14px;
	min-height: 104px;
	overflow: hidden;
	border: 1px solid var(--c-line);
	border-radius: var(--r-sm);
	background: var(--c-white);
}

.pf-compact__media {
	position: relative;
	flex: 0 0 112px;
	background: var(--c-sand);
}

.pf-compact__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pf-compact__media .pf-ph { min-height: 100%; }
.pf-compact__media .pf-credit { display: none; }

.pf-compact__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	padding: 12px 14px 12px 0;
}

.pf-compact__kicker {
	margin: 0;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--c-blue-text);
}

.pf-compact.is-signature .pf-compact__kicker { color: var(--c-primary-700); }

.pf-compact__title {
	margin: 0;
	font-family: var(--f-display);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.2;
}

.pf-compact__meta {
	margin: 0;
	font-size: 12.5px;
	color: var(--c-muted);
}

.pf-tile,
.pf-region {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--c-line);
	border-radius: var(--r-card);
	background: var(--c-white);
}

.pf-tile__media,
.pf-region__media {
	position: relative;
	aspect-ratio: 4 / 3;
	background: var(--c-sand);
}

.pf-tile--sm .pf-tile__media { aspect-ratio: 16 / 9; }

.pf-tile__media img,
.pf-region__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pf-tile__body,
.pf-region__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px 18px 18px;
}

.pf-region__body .pf-pill { align-self: flex-start; }

.pf-tile__title,
.pf-region__title {
	margin: 0;
	font-family: var(--f-display);
	font-size: 1.1875rem;
	font-weight: 700;
	line-height: 1.2;
}

.pf-tile__text,
.pf-region__text {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--c-ink-soft);
}

.pf-region__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 4px 0 0;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--c-primary-700);
}

/* 6. Chips, segmented, previews, notices ---------------------------------- */

.pf-chips ul {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 2px 2px 8px;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: thin;
}

.pf-chips .chip { white-space: nowrap; }

.chip.is-on,
.chip[aria-current="true"] {
	background: var(--c-ink);
	border-color: var(--c-ink);
	color: var(--c-white);
}

.chip-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.pf-seg {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-bottom: 16px;
	padding: 4px;
	border-radius: var(--r-pill);
	background: var(--c-sand);
}

.pf-seg__opt {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 18px;
	border-radius: var(--r-pill);
	color: var(--c-ink-soft);
	font-size: 14px;
	font-weight: 600;
}

.pf-seg__opt.is-on {
	background: var(--c-white);
	color: var(--c-ink);
	box-shadow: 0 2px 8px rgba(26, 26, 23, 0.1);
}

.pf-previewbar {
	margin-top: 4px;
	padding-block: 10px;
	background: #FFF7D6;
	border-block: 1px solid #EFD98C;
	color: #4D3F10;
	font-size: 14px;
}

.pf-previewbar__in {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 20px;
}

.pf-previewbar p { margin: 0; }

.pf-notice {
	margin: 0 0 16px;
	padding: 12px 16px;
	border-radius: var(--r-sm);
	font-weight: 600;
}

.pf-notice--ok { background: var(--c-mint); color: var(--c-green-text); }
.pf-notice--err { background: #FDECEA; color: var(--c-error); }

.pf-empty {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 28px;
	border: 1px dashed var(--c-line-mid);
	border-radius: var(--r-card);
	background: var(--c-white);
}

.pf-empty p { margin: 0; color: var(--c-ink-soft); }

.pf-empty__title {
	font-family: var(--f-display);
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--c-ink) !important;
}

/* 0.3.16: ways back from a filter combination with no results. */
.pf-empty__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 18px;
	margin-top: 6px;
}

/* 7. Header panels -------------------------------------------------------- */

.site-nav__list {
	display: flex;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav__item { display: flex; align-items: center; }

.nav-link--toggle {
	gap: 4px;
	border: 0;
	background: transparent;
	font-family: inherit;
	cursor: pointer;
}

.nav-link.is-current { background: var(--c-sand); }
.is-transparent .nav-link.is-current { background: rgba(255, 255, 255, 0.16); }

.nav-link--toggle:hover { background: rgba(42, 30, 24, 0.06); }

[data-nav-toggle][aria-expanded="true"] { background: var(--c-sand); }
[data-nav-toggle][aria-expanded="true"] .icon { transform: rotate(180deg); }

.nav-panel {
	margin-top: 8px;
	max-height: calc(100vh - var(--header-space) - var(--admin-bar) - 24px);
	overflow-y: auto;
	border: 1px solid var(--c-line);
	border-radius: var(--r-panel);
	background: var(--c-white);
	box-shadow: var(--shadow-float);
	color: var(--c-ink);
}

.nav-panel[hidden] { display: none; }

.nav-panel__in {
	display: grid;
	grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1.1fr);
	gap: 32px;
	padding: 28px 32px;
}

.nav-panel__in--dest { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }

.nav-panel__title {
	margin: 0 0 12px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--c-muted);
}

.nav-panel__text { margin: 0 0 10px; font-size: 14px; color: var(--c-ink-soft); line-height: 1.5; }

.nav-cols {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav-coll {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 10px;
	border-radius: var(--r-sm);
	color: var(--c-ink);
}

.nav-coll:hover { background: var(--c-canvas); color: var(--c-ink); }

.nav-coll__icon {
	display: inline-flex;
	flex: 0 0 40px;
	align-items: center;
	justify-content: center;
	height: 40px;
	border-radius: 12px;
	background: var(--c-sand);
	color: var(--c-primary-700);
}

.nav-coll strong { display: block; font-size: 15px; font-weight: 650; }
.nav-coll small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.4; color: var(--c-muted); }

.nav-links {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}

.nav-links a:not(.pf-link) {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	color: var(--c-ink);
	font-size: 15px;
}

.nav-links a:hover { color: var(--c-primary-700); }
.nav-links--row { flex-direction: row; flex-wrap: wrap; gap: 6px; }
.nav-links--row a:not(.pf-link) { min-height: 36px; padding: 0 12px; border: 1px solid var(--c-line-mid); border-radius: var(--r-pill); font-size: 13.5px; }

.nav-panel__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 24px;
	padding: 14px 32px;
	border-top: 1px solid var(--c-line);
	background: var(--c-sand);
	font-size: 14px;
}

.nav-panel__foot a { color: var(--c-ink-soft); }
.nav-panel__foot a:hover { color: var(--c-primary-700); }
.nav-panel__partners { display: inline-flex; align-items: center; gap: 6px; color: var(--c-blue-text) !important; font-weight: 650; }

.nav-panel .pf-compact { margin-bottom: 12px; }

@media (max-width: 1279px) {
	.nav-panel { display: none !important; }
}

/* Mobile menu groups. */
.mobile-nav__group summary { cursor: pointer; list-style: none; }
.mobile-nav__group summary::-webkit-details-marker { display: none; }
.mobile-nav__group[open] summary .icon { transform: rotate(180deg); }

.mobile-nav__sub {
	margin: 0;
	padding: 6px 0 12px;
	list-style: none;
}

.mobile-nav__sub a {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	color: var(--c-ink);
	font-size: 17px;
	font-weight: 600;
}

.mobile-nav__all { color: var(--c-primary-700) !important; }

.mobile-menu__partners {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	border-radius: var(--r-sm);
	background: var(--c-sand);
	color: var(--c-ink);
}

.mobile-menu__partners strong { display: block; color: var(--c-blue-text); }
.mobile-menu__partners small { display: block; font-size: 13px; color: var(--c-muted); }
.mobile-menu__base { margin: 4px 0 0; font-size: 13px; color: var(--c-muted); text-align: center; }

/* 8. Homepage --------------------------------------------------------------- */

.pf-hero { padding-block: 24px 40px; }

.pf-hero__in {
	display: grid;
	gap: 28px;
	align-items: center;
}

@media (min-width: 992px) {
	.pf-hero { padding-block: 40px 64px; }
	.pf-hero__in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; }
}

.pf-hero__title {
	margin: 0;
	font-family: var(--f-display);
	font-size: clamp(2.75rem, 1.8rem + 3.6vw, 5.25rem);
	font-weight: 700;
	line-height: 0.98;
	letter-spacing: -0.04em;
	text-wrap: balance;
}

.pf-hero__lead {
	max-width: 58ch;
	margin: 20px 0 26px;
	font-size: var(--t-body-l);
	line-height: 1.6;
	color: var(--c-ink-soft);
}

.pf-hero__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	max-height: 640px;
	border-radius: 36px;
	background: var(--c-sand);
	box-shadow: var(--shadow-float);
}

.pf-hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pf-hero__media.is-empty { aspect-ratio: auto; display: flex; align-items: center; padding: 32px; box-shadow: none; }

.pf-hero__regions {
	display: grid;
	gap: 10px;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pf-hero__regions li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	border-radius: var(--r-sm);
	background: var(--c-white);
	font-family: var(--f-display);
	font-size: 1.25rem;
	font-weight: 700;
}

.pf-hero__regions li .icon { color: var(--c-primary-700); }
.pf-hero__regions li.is-home { background: var(--c-mint); color: var(--c-green-text); }

.pf-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	color: var(--c-ink-soft);
}

.pf-trust li { display: inline-flex; align-items: center; gap: 6px; }
.pf-trust .icon { color: var(--c-green); flex: none; }
.pf-trust--stack { flex-direction: column; margin: 0; }

.pf-discovery { position: relative; z-index: 2; margin-bottom: 8px; }

.pf-discovery__card {
	padding: 10px;
	border: 1px solid var(--c-line);
	border-radius: var(--r-panel);
	background: var(--c-white);
	box-shadow: var(--shadow-float);
}

.pf-discovery__tabs {
	display: flex;
	gap: 4px;
	margin: 0 0 6px;
	padding: 0;
	list-style: none;
	overflow-x: auto;
}

.pf-discovery__tab {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 16px;
	border-radius: var(--r-pill);
	color: var(--c-ink-soft);
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}

.pf-discovery__tab.is-on { background: var(--c-sand); color: var(--c-ink); }
a.pf-discovery__tab:hover { color: var(--c-primary-700); }

.pf-discovery__form {
	display: grid;
	gap: 10px;
	padding: 6px 8px 8px;
	align-items: end;
}

.pf-discovery__form .field { margin: 0; }

@media (min-width: 768px) {
	.pf-discovery__form { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; }
}

.pf-showcase__grid {
	display: grid;
	gap: var(--gutter);
}

@media (min-width: 768px) {
	.pf-showcase__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.pf-showcase__lead { grid-column: 1 / -1; }
}

.pf-showcase__more {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 16px;
	margin: 24px 0 0;
	color: var(--c-muted);
}

.pf-home__in {
	display: grid;
	gap: 32px;
	align-items: center;
}

@media (min-width: 992px) {
	.pf-home__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
}

.pf-home__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: var(--r-panel);
	background: var(--c-sand);
}

.pf-home__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pf-home__text { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.pf-home__text .pf-lead { margin: 0; }

.pf-stack {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
}

.pf-rail {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: min(82%, 320px);
	gap: var(--gutter);
	margin: 0;
	padding: 0 0 12px;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
}

.pf-rail > li { display: flex; scroll-snap-align: start; }
.pf-rail > li > * { flex: 1; }

@media (min-width: 1200px) {
	.pf-rail { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; }
	.pf-rail .pf-card__sub { display: none; }
}

.pf-plan__in {
	display: grid;
	gap: 32px;
}

@media (min-width: 992px) {
	.pf-plan__in { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
}

.pf-plan { background: var(--c-canvas); border-top: 1px solid var(--c-line); }
.pf-plan--sand { background: var(--c-canvas); }

.pf-ways {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.pf-ways__item {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.pf-ways__item > .icon { flex: none; margin-top: 2px; color: var(--c-blue-text); }
.pf-ways__item.is-lead { padding: 16px; border: 1px solid var(--c-line); border-radius: var(--r-sm); background: var(--c-white); }
.pf-ways__item.is-lead > .icon { color: var(--c-primary-700); }
.pf-ways__title { margin: 0; font-weight: 700; }
.pf-ways__item.is-lead .pf-ways__title { font-family: var(--f-display); font-size: 1.25rem; }
.pf-ways__text { margin: 2px 0 0; font-size: 14.5px; color: var(--c-ink-soft); line-height: 1.5; }

.pf-services { padding-block: 32px; border-top: 1px solid var(--c-line); }

.pf-services__in {
	display: grid;
	gap: 16px 32px;
	align-items: center;
}

@media (min-width: 992px) {
	.pf-services__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) auto; }
}

.pf-services__title { margin: 0; font-family: var(--f-display); font-size: 1.25rem; }
.pf-services__text { margin: 4px 0 0; font-size: 14px; color: var(--c-muted); }

.pf-services__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	color: var(--c-ink-soft);
}

@media (min-width: 768px) {
	.pf-services__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.pf-services__list li { display: flex; gap: 8px; align-items: center; }
.pf-services__list .icon { color: var(--c-blue-text); flex: none; }

.pf-partners { padding-block: 24px 56px; }

.pf-partners__in {
	display: grid;
	gap: 20px 40px;
	padding: 28px;
	border: 1px solid #D3E7F1;
	border-radius: var(--r-panel);
	background: var(--c-sky); /* Danube mist: the one blue surface on the page (0.3.4) */
}

@media (min-width: 992px) {
	.pf-partners__in { grid-template-columns: minmax(0, 1.6fr) auto; align-items: center; padding: 36px 40px; }
}

.pf-partners__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

.pf-checks {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
	font-size: 14.5px;
	color: var(--c-ink-soft);
}

.pf-checks li { display: inline-flex; gap: 6px; align-items: center; }
.pf-checks .icon { color: var(--c-green); }

/* 9. Listings --------------------------------------------------------------- */

.pf-listhead { padding-block: 28px 20px; }

.pf-listhead__in {
	display: grid;
	gap: 20px 48px;
	align-items: end;
}

@media (min-width: 992px) {
	.pf-listhead { padding-block: 40px 24px; }
	.pf-listhead__in { grid-template-columns: minmax(0, 1fr) auto; }
}

.pf-filters { padding-bottom: 8px; }

.pf-filters__about { margin: 4px 0 12px; font-size: 14.5px; color: var(--c-ink-soft); }

.pf-filterbox {
	margin-top: 8px;
	border: 1px solid var(--c-line);
	border-radius: var(--r-card);
	background: var(--c-white);
}

.pf-filterbox__toggle {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 52px;
	padding: 0 18px;
	font-weight: 650;
	cursor: pointer;
	list-style: none;
}

.pf-filterbox__toggle::-webkit-details-marker { display: none; }

.pf-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: var(--r-pill);
	background: var(--c-ink);
	color: var(--c-white);
	font-size: 12px;
}

.pf-filterbar {
	display: grid;
	gap: 12px;
	padding: 4px 18px 18px;
	align-items: end;
}

.pf-filterbar .field { margin: 0; }

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

@media (min-width: 1200px) {
	.pf-filterbar { grid-template-columns: repeat(5, minmax(0, 1fr)) auto; }
}

.pf-filterbar__actions { display: flex; align-items: center; gap: 12px; }

.pf-resultline { margin: 16px 0 0; font-weight: 600; }

.pf-results__title { margin: 8px 0 18px; }
.pf-results__chosen { margin-bottom: 40px; }
.pf-results__feature { margin-bottom: var(--gutter); }

.pf-insert {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
	margin-top: 32px;
	padding: 26px 28px;
	border-radius: var(--r-card);
	background: var(--c-sand);
}

.pf-grid__full .pf-insert { margin-top: 0; }
.pf-insert p { margin: 0; color: var(--c-ink-soft); }
.pf-insert__title { font-family: var(--f-display); font-size: 1.375rem; font-weight: 700; color: var(--c-ink) !important; margin-bottom: 4px !important; }

.pf-crosssell {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid var(--c-line);
}

/* 10. Collection, partners, tailor-made ------------------------------------ */

.pf-crumbs { margin-bottom: 18px; font-size: 13.5px; color: var(--c-muted); }
.pf-crumbs a { color: var(--c-ink-soft); }

.pf-colhero { padding-block: 28px 40px; }

.pf-colhero__in {
	display: grid;
	gap: 32px;
	align-items: center;
}

@media (min-width: 992px) {
	.pf-colhero { padding-block: 40px 56px; }
	.pf-colhero__in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; }
}

.pf-colhero__text .btn-row { margin-top: 24px; }

.pf-colhero__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: 32px;
	background: var(--c-sand);
}

.pf-colhero__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pf-colhero__media .pf-ph { color: rgba(178, 52, 8, 0.35); }

.pf-colhero__facts,
.pf-colhero__steps {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 24px;
	border-radius: var(--r-panel);
	background: var(--c-white);
	border: 1px solid var(--c-line);
	list-style: none;
}

.pf-colhero__facts li,
.pf-colhero__steps li { display: flex; gap: 12px; align-items: flex-start; }
.pf-colhero__facts .icon { color: var(--c-blue-text); flex: none; margin-top: 2px; }
.pf-colhero__steps strong { display: block; }
.pf-colhero__steps span span, .pf-colhero__steps li > span:last-child { color: var(--c-ink-soft); font-size: 15px; }

.pf-steps__n {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--c-ink);
	color: var(--c-white);
	font-size: 14px;
	font-weight: 700;
}

.pf-colmeta__in {
	display: grid;
	gap: 24px 48px;
}

@media (min-width: 992px) {
	.pf-colmeta__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.pf-panel {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 24px;
	border: 1px solid var(--c-line);
	border-radius: var(--r-card);
	background: var(--c-white);
}

.pf-panel > .icon { color: var(--c-blue-text); }
.pf-panel p, .pf-why p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--c-ink-soft); }
.pf-why { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 2px solid var(--c-ink); }

.pf-steps__title { margin: 48px 0 18px; }

.pf-steps {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 992px) {
	.pf-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.pf-steps li {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 16px;
	border-radius: var(--r-sm);
	background: var(--c-sand);
	font-weight: 600;
	font-size: 15px;
}

.pf-tablewrap {
	overflow-x: auto;
	border: 1px solid var(--c-line);
	border-radius: var(--r-card);
	background: var(--c-white);
}

.pf-table {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	font-size: 14.5px;
}

.pf-table th,
.pf-table td {
	padding: 13px 18px;
	border-bottom: 1px solid var(--c-line);
	text-align: left;
	vertical-align: top;
	line-height: 1.45;
}

.pf-table thead th {
	background: var(--c-sand);
	color: var(--c-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.pf-table tbody th { font-weight: 650; }
.pf-table tbody tr:last-child > * { border-bottom: 0; }

.pf-frame {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 28px;
	border: 1px solid var(--c-line);
	border-radius: var(--r-panel);
	background: var(--c-white);
}

.pf-frame p { margin: 0; color: var(--c-ink-soft); line-height: 1.6; }
.pf-frame .pf-ov { margin: 0; }

.pf-route {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 0;
	margin: 6px 0 6px;
	padding: 0;
	list-style: none;
	font-size: 13.5px;
	font-weight: 600;
}

.pf-route li { display: inline-flex; align-items: center; }
.pf-route li::before { content: ""; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: var(--c-primary); }
.pf-route li:not(:last-child)::after { content: ""; width: 22px; height: 2px; margin: 0 8px; background: var(--c-line-mid); }

/* 11. Forms ------------------------------------------------------------------ */

.pf-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 24px;
	border: 1px solid var(--c-line);
	border-radius: var(--r-panel);
	background: var(--c-white);
	box-shadow: var(--shadow-float);
}

@media (min-width: 768px) {
	.pf-form { padding: 32px; }
}

.pf-form .field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.pf-form textarea.input { min-height: 96px; padding-block: 12px; resize: vertical; }

.pf-form__grid {
	display: grid;
	gap: 14px;
}

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

.pf-form__group { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }

.pf-form__switch {
	display: inline-flex;
	align-self: flex-start;
	gap: 4px;
	margin: 0;
	padding: 4px;
	border: 0;
	border-radius: var(--r-pill);
	background: var(--c-sand);
}

.pf-form__switch label { position: relative; }
.pf-form__switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pf-form__switch span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600; color: var(--c-ink-soft); }
.pf-form__switch input:checked + span { background: var(--c-white); color: var(--c-ink); box-shadow: 0 2px 8px rgba(26, 26, 23, 0.1); }
.pf-form__switch input:focus-visible + span { outline: 3px solid var(--c-primary); outline-offset: 2px; }

.pf-checkchips { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-checkchip { position: relative; }
.pf-checkchip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }

.pf-checkchip span {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 14px;
	border: 1px solid var(--c-line-mid);
	border-radius: var(--r-pill);
	background: var(--c-white);
	font-size: 13.5px;
	font-weight: 500;
}

.pf-checkchip input:checked + span { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-white); }
.pf-checkchip input:focus-visible + span { outline: 3px solid var(--c-primary); outline-offset: 2px; }

.pf-consent { margin: 0; font-size: 14px; color: var(--c-ink-soft); }
.pf-consent label { display: flex; gap: 10px; align-items: flex-start; }
.pf-consent input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--c-ink); }

.pf-form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.pf-form__submit .meta { margin: 0; }

.pf-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.js [data-pf-planner][data-mode="plan"] [data-pf-for="services"],
.js [data-pf-planner][data-mode="services"] [data-pf-for="plan"] { display: none; }

/* 12. Search ---------------------------------------------------------------- */

.pf-search__group { margin-top: 40px; }
.pf-search__group > .pf-h3 { margin-bottom: 16px; }

.pf-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.pf-list a { display: inline-flex; min-height: 40px; align-items: center; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
	.pf-card,
	.pf-credit { transition: none; }
	.pf-card:hover { transform: none; }
}

/* 13. Honest empty media: smaller placeholders, no empty photo boxes ---------- */

.pf-card__media:has(> .pf-ph) { aspect-ratio: 16 / 8; }
.pf-card--concept .pf-card__media { aspect-ratio: 16 / 6; }
.pf-tile__media:has(> .pf-ph) { aspect-ratio: 16 / 7; }
.pf-tile--sm .pf-tile__media:has(> .pf-ph) { aspect-ratio: 16 / 5; }
.pf-region__media:has(> .pf-ph) { display: none; }
.pf-colhero__media.is-empty { aspect-ratio: 16 / 9; }

@media (min-width: 992px) {
	.pf-card--feature .pf-card__media:has(> .pf-ph) { aspect-ratio: auto; min-height: 320px; }
}

@media (min-width: 1200px) {
	.pf-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.pf-rail .pf-card__sub { display: block; }
}

/* 14. Phone density ------------------------------------------------------------ */

@media (max-width: 639px) {
	.pf-hero__media.is-empty { display: none; }
	.pf-collections .pf-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.pf-collections .pf-tile__text { display: none; }
	.pf-collections .pf-tile__body { padding: 12px; }
	.pf-collections .pf-tile__title { font-size: 1rem; }
	.pf-regions .pf-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.pf-regions .pf-region__text { display: none; }
	.pf-regions .pf-region__body { padding: 12px; }
	.pf-regions .pf-region__title { font-size: 1rem; }
	.pf-regions .pf-region__more { font-size: 12.5px; }
	.pf-showcase__grid { grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
	.pf-showcase__grid > * { scroll-snap-align: start; }
	.pf-card__foot { flex-wrap: wrap; }
	.pf-price small { display: none; }
}

@media (max-width: 767px) {
	.pf-hero__media { aspect-ratio: 4 / 3; border-radius: 28px; }
	.pf-colhero__media { border-radius: 24px; }
}

/* 15. Header presence (0.3.1, owner decision 29 Sep 2026) -------------------
 * The logo artwork is unchanged; only its rendered height grows (about +20–26 %),
 * with the bar 4 px taller. The full desktop navigation starts at 1280 px (was
 * 1200 px), where the larger logo, the menu and the actions fit on one line. */
.nav-link { white-space: nowrap; }

.logo__svg--mobile { --logo-h: 42px; }           /* was 38 px */

@media (min-width: 375px) {
	.logo__svg--mobile { --logo-h: 44px; }       /* +16 % */
}

@media (min-width: 768px) {
	:root { --header-h: 68px; }                   /* was 64 px */
	.site-header .logo__svg--desktop { --logo-h: 55px; }  /* was 46 px: +20 % */
}

@media (min-width: 1200px) {
	:root { --header-h: 72px; }                   /* was 68 px */
	.site-header__bar { height: 76px; }           /* was 72 px */
	.site-header .logo__svg--desktop { --logo-h: 56px; }  /* +22 % */
}

@media (min-width: 1280px) and (max-width: 1439px) {
	.site-nav .nav-link { padding-inline: 11px; }
}

@media (min-width: 1440px) {
	.site-header .logo__svg--desktop { --logo-h: 58px; }  /* +26 % */
}

/* 16. Home Ground section (0.3.1): copy left, one licensed photo right ---------
 * With a photo: two columns on desktop, photo below the copy on phones (credit shown).
 * Without one (the safe fallback): no empty frame; the heading and the text share the
 * width instead of leaving the right half empty. */
.pf-home__head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.pf-home__body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; width: 100%; }
.pf-home__head .pf-h2 { margin: 0; }
.pf-home__media { margin: 0; aspect-ratio: 4 / 3; max-width: 100%; }
.pf-home.is-textonly { padding-block: clamp(48px, 6vw, 80px); }

@media (min-width: 992px) {
	.pf-home.has-photo .pf-home__in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; }
	.pf-home.has-photo .pf-home__media { aspect-ratio: 5 / 4; }
	.pf-home.is-textonly .pf-home__in { grid-template-columns: minmax(0, 1fr); }
	.pf-home.is-textonly .pf-home__text { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
	.pf-home.is-textonly .pf-home__body .pf-lead { max-width: 60ch; }
}

/* 17. Homepage visual pass (0.3.9, owner approval 3 Oct 2026) -----------------
 * Photographs from the licensed Media Library (inc/home.php). Photos are never recoloured:
 * text on a photo sits on a dark gradient scrim, never on a tint over the whole image.
 * Credit lines (Creative Commons) stay visible on every photo that has one. */

.hm-credit {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 4;
	max-width: calc(100% - 20px);
	padding: 3px 9px;
	border-radius: var(--r-pill);
	background: rgba(255, 255, 255, 0.92);
	color: var(--c-ink-soft);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.35;
	pointer-events: none;
}

/* Hero (0.3.11): one large photograph under the header, the positioning on it.
 * Near edge to edge: inset like the floating header and rounded like it. The photo is never
 * recoloured; a restrained dark gradient sits only where the words are. */
.hm-hero { padding-inline: var(--header-inset); padding-block: 0 0; }

.hm-hero__frame {
	position: relative;
	display: flex;
	overflow: hidden;
	height: clamp(600px, calc(100svh - var(--header-space) - var(--admin-bar) - 16px), 780px);
	border-radius: 28px;
	background: var(--c-espresso);
	color: var(--c-white);
	isolation: isolate;
}

.hm-hero__media { position: absolute; inset: 0; z-index: -2; }
.hm-hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; } /* phones: towards the sunlit water */
@media (min-width: 768px) { .hm-hero__media img { object-position: 50% 50%; } }

/* Phones: words at the top (over the dark mountainside), buttons at the bottom,
 * the subject (the meanders) left clear in the middle. */
.hm-hero.has-photo .hm-hero__frame::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(to bottom, rgba(12, 16, 14, 0.72) 0%, rgba(12, 16, 14, 0.42) 34%, rgba(12, 16, 14, 0) 52%),
		linear-gradient(to top, rgba(12, 16, 14, 0.6) 0%, rgba(12, 16, 14, 0) 26%);
	pointer-events: none;
}

.hm-hero__in {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
	padding-block: 28px 22px;
}

.hm-hero__ov {
	margin: 0 0 12px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--c-on-dark-accent);
}

.hm-hero__title {
	margin: 0;
	max-width: 11ch;
	font-family: var(--f-display);
	font-size: clamp(2.6rem, 1.6rem + 4.4vw, 6rem);
	font-weight: 700;
	line-height: 0.96;
	letter-spacing: -0.04em;
	color: var(--c-white);
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.18);
}

.hm-hero__lead {
	max-width: 40ch;
	margin: 16px 0 0;
	font-size: var(--t-body-l);
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.92);
}

.hm-hero__bottom { display: flex; flex-direction: column; gap: 14px; }
.hm-hero__bottom .btn-row { margin: 0; }

.hm-btn-light {
	background: rgba(255, 255, 255, 0.14);
	color: var(--c-white);
	border: 1.5px solid rgba(255, 255, 255, 0.85);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.hm-btn-light:hover { background: var(--c-white); color: var(--c-ink); }
.hm-hero .btn:focus-visible { outline-color: var(--c-focus-dark); }

.hm-hero__cap {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-size: 12.5px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.86);
}

.hm-hero__cap .icon { flex: none; }
.hm-hero .hm-credit { top: auto; bottom: 12px; right: 14px; }

/* No licensed photo: the same words on the sand ground (never an empty frame). */
.hm-hero.is-plain .hm-hero__frame { height: auto; background: var(--c-sand); color: var(--c-ink); }
.hm-hero.is-plain .hm-hero__in { padding-block: 56px; }
.hm-hero.is-plain .hm-hero__title { color: var(--c-ink); text-shadow: none; }
.hm-hero.is-plain .hm-hero__lead { color: var(--c-ink-soft); }
.hm-hero.is-plain .hm-hero__ov { color: var(--c-blue-text); }
.hm-hero.is-plain .hm-btn-light { background: var(--c-white); color: var(--c-blue-text); border-color: var(--c-blue-text); }

@media (max-width: 379px) {
	.hm-hero__bottom .btn-row .btn { width: 100%; justify-content: center; }
}

/* Tablet and desktop: the words lower left, the gradient from the left. */
@media (min-width: 768px) {
	.hm-hero__frame { height: clamp(560px, 76vh, 880px); border-radius: 32px; }
	.hm-hero__in { justify-content: flex-end; gap: 28px; padding-block: 56px 48px; }
	.hm-hero.has-photo .hm-hero__frame::after {
		background:
			linear-gradient(90deg, rgba(12, 16, 14, 0.66) 0%, rgba(12, 16, 14, 0.42) 32%, rgba(12, 16, 14, 0.08) 58%, rgba(12, 16, 14, 0) 70%),
			linear-gradient(to top, rgba(12, 16, 14, 0.5) 0%, rgba(12, 16, 14, 0) 40%);
	}
	.hm-hero__bottom { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
	.hm-hero__lead { max-width: 44ch; }
	.hm-hero .hm-credit { bottom: 16px; right: 18px; }
}

@media (min-width: 1200px) {
	.hm-hero__frame { border-radius: 36px; }
	.hm-hero__in { padding-block: 72px 56px; }
}

/* Trust strip: the four promises, quiet, right under the photograph. */
.hm-trust { padding-block: 18px 6px; }

.hm-trust__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14.5px;
	font-weight: 500;
	color: var(--c-ink-soft);
}

.hm-trust__list li { display: inline-flex; align-items: center; gap: 7px; }
.hm-trust__list .icon { flex: none; color: var(--c-green); }

@media (max-width: 767px) {
	.hm-trust__list { display: grid; grid-template-columns: 1fr; justify-content: start; gap: 8px; font-size: 14px; }
}

.hm-hero + .hm-trust + .pf-discovery { margin-top: 16px; }

/* Shared: a photo card with its words on a scrim. */
.hm-dest,
.hm-col {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: 100%;
	overflow: hidden;
	border-radius: var(--r-card);
	background: var(--c-stone-deep);
	color: var(--c-white);
	isolation: isolate;
}

.hm-dest__media,
.hm-col__media {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.hm-dest__media img,
.hm-col__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--m-slow) var(--ease);
}

.hm-dest::after,
.hm-col::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(to top, rgba(22, 17, 13, 0.82) 0%, rgba(22, 17, 13, 0.5) 38%, rgba(22, 17, 13, 0) 68%);
	pointer-events: none;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.hm-dest:hover .hm-dest__media img,
	.hm-col:hover .hm-col__media img { transform: scale(1.035); }
}

.hm-dest__body,
.hm-col__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 20px 22px 22px;
}

.hm-dest__title,
.hm-col__title {
	margin: 0;
	font-family: var(--f-display);
	font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.625rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.hm-dest__link { color: inherit; text-decoration: none; }
.hm-dest__link::before { content: ""; position: absolute; inset: 0; z-index: 3; }
.hm-dest__link:focus-visible { outline: none; }
.hm-dest:has(.hm-dest__link:focus-visible),
.hm-col:has(.hm-dest__link:focus-visible) { outline: 3px solid var(--c-focus-dark); outline-offset: 3px; }

.hm-dest__text,
.hm-col__text {
	margin: 0;
	max-width: 46ch;
	font-size: 14.5px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.9);
}

.hm-dest__pictured {
	margin: 2px 0 0;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.72);
}

/* Discover Serbia: six destinations, an editorial mosaic (not a uniform grid). */
.hm-dests {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hm-dests__item { aspect-ratio: 4 / 5; min-width: 0; }
.hm-dests__item.is-wide { grid-column: span 2; aspect-ratio: 16 / 10; }

@media (min-width: 768px) {
	.hm-dests { gap: var(--gutter); grid-auto-rows: 300px; }
	.hm-dests__item,
	.hm-dests__item.is-wide { aspect-ratio: auto; }
}

@media (min-width: 992px) {
	.hm-dests { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(280px, 24vw, 340px); }
	.hm-dests__item { grid-column: span 3; }
	.hm-dests__item.is-wide { grid-column: span 6; }
}

@media (max-width: 767px) {
	.hm-dests__item:not(.is-wide) .hm-dest__text,
	.hm-dests__item:not(.is-wide) .hm-dest__pictured { display: none; }
	.hm-dest__body { padding: 14px 14px 16px; }
	.hm-dests__item:not(.is-wide) .hm-dest__title { font-size: 1.125rem; }
}

/* The home region: warm, photo-free, the doorway to Home Ground. */
.hm-dest--home {
	justify-content: space-between;
	background: var(--c-mint);
	color: var(--c-ink);
	border: 1px solid #CFE8C4;
}

.hm-dest--home::after { display: none; }

.hm-dest__pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	align-self: flex-start;
	margin: 18px 0 0 20px;
	padding: 5px 11px;
	border-radius: var(--r-pill);
	background: var(--c-white);
	color: var(--c-green-text);
	font-size: 12.5px;
	font-weight: 700;
}

.hm-dest--home .hm-dest__text { color: var(--c-ink-soft); }

.hm-dest__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
	font-size: 14px;
	font-weight: 700;
	color: var(--c-green-text);
}

.hm-dest.is-plain { background: var(--c-sand); color: var(--c-ink); }
.hm-dest.is-plain::after { display: none; }
.hm-dest.is-plain .hm-dest__text { color: var(--c-ink-soft); }

@media (max-width: 767px) {
	.hm-dest__pill { margin: 12px 0 0 12px; font-size: 11.5px; }
	.hm-dest--home .hm-dest__text { display: block; font-size: 13px; }
	.hm-dest__more { font-size: 13px; }
}

/* Featured journeys and experiences: four, side by side on desktop. */
.hm-picks {
	display: grid;
	gap: var(--gutter);
	margin: 0;
	padding: 0;
	list-style: none;
}

.hm-picks > li { display: flex; min-width: 0; }
.hm-picks > li > * { flex: 1 1 auto; }

@media (min-width: 768px) {
	.hm-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1200px) {
	.hm-picks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.hm-picks .pf-card__media { aspect-ratio: 4 / 5; }
}

@media (max-width: 767px) {
	.hm-picks { grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
	.hm-picks > li { scroll-snap-align: start; }
}

/* Home Ground: the one sand band on the page, quieter and closer. */
.hm-home { background: var(--c-sand); }

.hm-home__in {
	display: grid;
	gap: 32px;
	align-items: center;
}

@media (min-width: 992px) {
	.hm-home.has-photo .hm-home__in { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; }
}

.hm-home__media {
	position: relative;
	margin: 0;
	overflow: hidden;
	aspect-ratio: 5 / 4;
	border-radius: var(--r-panel);
	background: var(--c-stone-deep);
}

.hm-home__media img { display: block; width: 100%; height: 100%; object-fit: cover; }

.hm-home__cap {
	position: absolute;
	left: 14px;
	bottom: 14px;
	max-width: calc(100% - 28px);
	padding: 6px 12px;
	border-radius: var(--r-pill);
	background: rgba(255, 255, 255, 0.94);
	color: var(--c-ink);
	font-size: 13px;
	font-weight: 600;
}

.hm-home__text { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.hm-home__text .pf-lead { margin: 0; }

.hm-facts {
	display: grid;
	gap: 14px;
	width: 100%;
	margin: 8px 0 4px;
	padding: 18px 0 0;
	border-top: 1px solid var(--c-line-mid);
}

@media (min-width: 640px) {
	.hm-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}

.hm-facts dt {
	font-family: var(--f-display);
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.hm-facts dd {
	margin: 2px 0 0;
	font-size: 14px;
	line-height: 1.45;
	color: var(--c-ink-soft);
}

.hm-home__sign {
	margin: 4px 0 0;
	font-weight: 700;
	color: var(--c-green-text);
}

/* Collections: four photo tiles, the other four as links. */
.hm-cols__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hm-cols__grid > li { aspect-ratio: 3 / 4; min-width: 0; }

@media (min-width: 768px) {
	.hm-cols__grid { gap: var(--gutter); }
}

@media (min-width: 1200px) {
	.hm-cols__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.hm-col.is-plain { background: var(--c-sand); color: var(--c-ink); }
.hm-col.is-plain::after { display: none; }
.hm-col.is-plain .hm-col__text { color: var(--c-ink-soft); }

@media (max-width: 767px) {
	.hm-col__text { display: none; }
	.hm-col__body { padding: 14px 14px 16px; }
	.hm-col__title { font-size: 1.125rem; }
}

.hm-cols__more {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px;
	margin-top: 24px;
}

.hm-cols__more ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hm-cols__label { font-size: 14px; font-weight: 600; color: var(--c-muted); }

/* Tailor-made: one wide photograph with the planner promise on a panel. */
.hm-plan { padding-block: var(--section-y-tight) var(--section-y); }

.hm-plan__in { display: grid; }

.hm-plan__media {
	position: relative;
	margin: 0;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: 28px;
	background: var(--c-stone-deep);
}

.hm-plan__media img { display: block; width: 100%; height: 100%; object-fit: cover; }

.hm-plan__panel {
	position: relative;
	z-index: 2;
	padding: 28px 22px;
	border: 1px solid var(--c-line);
	border-radius: var(--r-panel);
	background: var(--c-white);
	box-shadow: var(--shadow-float);
}

.hm-plan.has-photo .hm-plan__panel { margin: -20px 10px 0; } /* 0.3.10: less overlap, the subject stays clear */
.hm-plan__panel .pf-lead { margin: 12px 0 0; }

.hm-steps {
	display: grid;
	gap: 10px;
	margin: 20px 0 24px;
	padding: 0;
	list-style: none;
	counter-reset: hm-step;
	font-size: 15px;
	line-height: 1.45;
	color: var(--c-ink-soft);
}

.hm-steps li { position: relative; padding-left: 38px; counter-increment: hm-step; }

.hm-steps li::before {
	content: counter(hm-step);
	position: absolute;
	left: 0;
	top: -2px;
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--c-sand);
	color: var(--c-ink);
	font-size: 13px;
	font-weight: 700;
}

.hm-steps strong { color: var(--c-ink); }

.hm-plan__pictured { margin: 12px 4px 0; font-size: 12.5px; color: var(--c-muted); text-align: right; }

@media (min-width: 992px) {
	.hm-plan.has-photo .hm-plan__media { grid-area: 1 / 1; aspect-ratio: auto; min-height: 640px; border-radius: 36px; }
	.hm-plan.has-photo .hm-plan__panel { grid-area: 1 / 1; align-self: end; justify-self: end; width: min(540px, 44%); margin: 40px; padding: 36px 38px; }
	/* 0.3.10: the panel sits on the right, over the forest, so the photo's subject (left of
	 * centre, e.g. the Iriški Venac memorial) stays visible; the photo is nudged left. */
	.hm-plan.has-photo .hm-plan__media img { object-position: 30% 55%; }
}

@media (max-width: 767px) {
	.hm-plan__pictured { text-align: left; margin-inline: 12px; }
}

/* 18. Final homepage polish (0.3.13, owner review 3 Oct 2026) ------------------ */

/* DMC positioning under the hero, then the four promises. */
.hm-trust { padding-block: 28px 8px; }

.hm-dmc {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	gap: 8px 28px;
	padding-bottom: 18px;
	margin-bottom: 16px;
	border-bottom: 1px solid var(--c-line);
	text-align: center;
}

.hm-dmc__title {
	margin: 0;
	font-family: var(--f-display);
	font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.15;
	color: var(--c-ink);
}

.hm-dmc__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 0;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 15px;
	font-weight: 600;
	color: var(--c-blue-text);
}

.hm-dmc__list li + li::before {
	content: "·";
	margin-inline: 12px;
	color: var(--c-line-strong);
}

.hm-trust__list { font-size: 14px; color: var(--c-muted); }

@media (max-width: 767px) {
	.hm-dmc { justify-content: flex-start; text-align: left; }
	.hm-dmc__list { flex-direction: column; justify-content: flex-start; gap: 4px; }
	.hm-dmc__list li + li::before { content: none; }
}

/* Journey finder: a light discovery bar, not a form box. */
.hm-finder { margin-top: 24px; margin-bottom: 0; }
.hm-finder .pf-discovery__card { padding: 6px 0 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.hm-finder .pf-discovery__tabs { gap: 2px; margin-bottom: 4px; }
.hm-finder .pf-discovery__tab { min-height: 40px; padding: 0 14px; font-size: 14px; }
.hm-finder .pf-discovery__tab.is-on { background: var(--c-primary); color: var(--c-white); } /* 0.3.14: brand primary, as the hero CTA */
.hm-finder a.pf-discovery__tab:hover { background: var(--c-white); color: var(--c-primary-700); }

.hm-finder .pf-discovery__form {
	padding: 8px;
	border-radius: 999px;
	background: var(--c-sand);
	gap: 6px;
}

.hm-finder .field { position: relative; }

.hm-finder .field__label {
	position: absolute;
	top: 9px;
	left: 20px;
	z-index: 1;
	margin: 0;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--c-muted);
	pointer-events: none;
}

.hm-finder .input {
	min-height: 58px;
	padding: 22px 40px 6px 19px;
	border: 1px solid transparent;
	border-radius: 999px;
	background-color: var(--c-white);
	font-size: 15px;
	font-weight: 600;
}

.hm-finder .input:hover { border-color: var(--c-line-mid); }
/* 0.3.14: the button is .btn--primary (brand primary, hover primary-700, global focus ring). */
.hm-finder .pf-discovery__form .btn { min-height: 58px; padding-inline: 26px; border-radius: 999px; }

@media (max-width: 767px) {
	.hm-finder .pf-discovery__form { border-radius: 28px; padding: 8px; }
	.hm-finder .input,
	.hm-finder .pf-discovery__form .btn { min-height: 54px; }
	.hm-finder .pf-discovery__form .btn { justify-content: center; }
}

/* Featured: when nothing is published yet, one quiet line instead of a big panel. */
.hm-featured .pf-head .pf-lead { margin-top: 10px; }
.hm-featured.is-empty { padding-block: var(--section-y-tight); }
.hm-featured.is-empty .pf-head { margin-bottom: 12px; }

.hm-soon {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 14px;
	margin: 0;
	max-width: 70ch;
	color: var(--c-muted);
}

/* Destination cards: the Home Ground label sits above the region name. */
.hm-dest__body .hm-dest__pill { margin: 0 0 4px; font-size: 11.5px; padding: 4px 10px; }

/* Partners band copy. */
.pf-partners__text { margin: 10px 0 0; max-width: 62ch; color: var(--c-ink-soft); line-height: 1.55; }

/* Header: lighter and more contemporary (visual only; navigation and behaviour unchanged). */
.site-header.is-solid .site-header__bar {
	background: rgba(255, 255, 255, 0.86);
	border-color: rgba(31, 42, 46, 0.07);
	box-shadow: 0 6px 24px rgba(31, 42, 46, 0.06);
	-webkit-backdrop-filter: saturate(160%) blur(16px);
	backdrop-filter: saturate(160%) blur(16px);
}

.site-header .nav-link { font-weight: 500; color: var(--c-ink-soft); }
.site-header .nav-link:hover { color: var(--c-ink); background: rgba(31, 42, 46, 0.05); }
.site-header .nav-link[aria-current="page"],
.site-header .nav-link.is-current { background: transparent; color: var(--c-ink); box-shadow: inset 0 -2px 0 var(--c-primary); border-radius: 0; }
.site-header .nav-link--toggle[aria-expanded="true"] { color: var(--c-ink); background: rgba(31, 42, 46, 0.05); }

.site-header .btn--header { background: transparent; border: 1px solid var(--c-line); }
.site-header .btn--header:hover { background: var(--c-sand); border-color: var(--c-line-mid); }

.site-header .btn--header-cta { min-height: 42px; padding: 0 18px; font-size: 14.5px; }

@media (min-width: 1200px) {
	.site-header__bar { height: 72px; } /* was 76 px; logo size unchanged */
	.site-header .btn--header { width: 42px; height: 42px; min-height: 42px; }
}
