/*
 * Front page bundle: the ten homepage sections.
 * Loaded only on the front page (inc/assets.php).
 */

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

.hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding-top: 5rem;
	overflow: hidden;
	background: #2a1d15;
	text-align: center;
}

.hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.4;
}

.hero__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(42, 29, 21, 0.7), transparent, rgba(42, 29, 21, 0.8));
}

.hero__leak {
	position: absolute;
	top: 0;
	right: 0;
	width: 800px;
	height: 800px;
	border-radius: 999px;
	background: rgba(196, 163, 90, 0.05);
	filter: blur(120px);
	transform: translate(33%, -50%);
}

.hero__inner {
	position: relative;
	z-index: 1;
	max-width: 64rem;
	padding: 4rem 1.5rem;
}

.hero__eyebrow {
	letter-spacing: 0.6em;
	font-size: 0.625rem;
}

.hero__lede {
	max-width: 32rem;
	margin: 1.5rem auto 0;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.625rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	line-height: 1.8;
	text-transform: uppercase;
	color: rgba(245, 240, 232, 0.8);
}

.hero__title {
	margin-top: 1.5rem;
	padding-top: 1rem;
	font-size: 3rem; /* text-5xl sm:text-6xl md:text-8xl */
	font-weight: 900;
	line-height: 0.85;
	letter-spacing: normal;
	text-transform: uppercase;
	color: var(--wp--preset--color--brand-cream);
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.hero__script {
	margin-top: 1.5rem;
	font-size: 1.875rem; /* text-3xl sm:text-4xl md:text-6xl */
	line-height: 1.1;
	color: rgba(196, 163, 90, 0.9);
}

.hero__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	margin-top: 2.5rem;
	list-style: none;
}

.hero__links-sep {
	display: none;
	width: 2rem;
	height: 1px;
	background: rgba(196, 163, 90, 0.2);
}

.hero-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.25rem;
}

.hero-link__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	border: 1px solid rgba(245, 240, 232, 0.1);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(12px);
	color: var(--wp--preset--color--brand-cream);
	transition: transform 0.7s var(--ease-luxury), border-color 0.7s;
}

.hero-link__icon svg {
	width: 1.75rem;
	height: 1.75rem;
}

.hero-link:hover .hero-link__icon {
	transform: scale(1.1);
	border-color: var(--wp--preset--color--brand-gold);
}

/*
 * Medvedja večerja, on its own line under "Tradicija od leta 1993".
 *
 * The one call in the hero that is not a navigation item, so it is the only
 * light object over the photograph: pale gold with a diagonal metallic sheen
 * (light, deeper gold, a bright glint, deeper gold again) and a faint bevel.
 * Chosen by the client (variant "C2") from a set measured on the live hero;
 * the first version, dark glass with gold type, measured 5.8:1 and varied
 * with the photograph under it. Dark brown type and bear on this ground are
 * at least 10.4:1 at its darkest point. Opaque, so the photograph no longer
 * changes it. Sized to sit between the script line and the row rather
 * than compete with the title.
 */
.hero__feature {
	margin-top: 1.25rem;
}

.hero-feature {
	position: relative;
	overflow: hidden; /* clips the sheen below, not the element's own shadow */
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	padding: 0.5rem 1.125rem 0.5rem 0.875rem;
	border: 1px solid #f3e1ad;
	border-radius: 999px;
	background: linear-gradient(115deg, #f6e9c3 0%, #e2c47e 28%, #fff6dc 48%, #d9b96f 70%, #efd9a0 100%);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.7),
		inset 0 -2px 3px rgba(110, 80, 25, 0.25),
		0 0 0 4px rgba(230, 207, 152, 0.22),
		0 10px 30px rgba(0, 0, 0, 0.45);
	color: #2a1d0e;
	text-decoration: none;
	transition: box-shadow 0.5s var(--ease-luxury), transform 0.5s var(--ease-luxury);
}

.hero-feature:hover,
.hero-feature:focus-visible {
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.7),
		inset 0 -2px 3px rgba(110, 80, 25, 0.25),
		0 0 0 5px rgba(230, 207, 152, 0.35),
		0 0 26px rgba(230, 207, 152, 0.5),
		0 12px 34px rgba(0, 0, 0, 0.5);
	transform: translateY(-2px);
}

/*
 * The sheen: a soft diagonal band of light that crosses the gold once on
 * hover or keyboard focus, the way light runs over polished metal. It starts
 * off the left edge and ends off the right, so at rest nothing of it shows,
 * and it runs only on the way in — leaving the button does not play it back.
 * Under reduced motion it is not drawn at all.
 */
.hero-feature::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: -60%;
	width: 32%;
	background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.55) 35%, rgba(255, 255, 255, 0.95) 50%, rgba(255, 255, 255, 0.55) 65%, rgba(255, 255, 255, 0) 100%);
	transform: skewX(-20deg);
	pointer-events: none;
}

.hero-feature:hover::after,
.hero-feature:focus-visible::after {
	animation: ps-hero-sheen 0.9s ease-in-out 1;
}

@keyframes ps-hero-sheen {
	from {
		left: -60%;
	}

	to {
		left: 125%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero-feature::after {
		display: none;
	}
}

.hero-feature__icon,
.hero-feature__label {
	position: relative;
	z-index: 1; /* above the sheen */
}

.hero-feature__icon svg {
	display: block;
	width: 1.375rem;
	height: 1.375rem;
}

.hero-feature__label {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.25em;
	text-transform: uppercase;
}

/*
 * Medvedja večerja, made to look like the one worth stopping on.
 *
 * It already had a gold ring, a gold glyph and a gold dot, and beside three
 * identical cream circles that read as "one of these is also a link". The
 * client asked for it to stand out more; the constraint is that this row sits
 * over a photograph and four items have to stay one row on a laptop, so extra
 * prominence has to come from contrast rather than from size.
 *
 * Three things, all inside the existing palette: the disc is filled with gold
 * at low alpha instead of white at 5%, the ring is at full strength, and the
 * label is gold at rest rather than only on hover — the last of those is what
 * actually does the work, because the labels are what a visitor reads.
 */
.hero-link.is-featured .hero-link__icon {
	position: relative;
	border-color: rgba(196, 163, 90, 0.85);
	background: rgba(196, 163, 90, 0.16);
	box-shadow: 0 0 0 4px rgba(196, 163, 90, 0.12);
	color: var(--wp--preset--color--brand-gold);
}

.hero-link.is-featured .hero-link__label {
	color: var(--wp--preset--color--brand-gold);
}

.hero-link.is-featured:hover .hero-link__icon {
	border-color: var(--wp--preset--color--brand-gold);
	background: rgba(196, 163, 90, 0.24);
}

.hero-link.is-featured .hero-link__icon::after {
	content: "";
	position: absolute;
	top: -0.25rem;
	right: -0.25rem;
	width: 0.625rem;
	height: 0.625rem;
	border-radius: 999px;
	background: var(--wp--preset--color--brand-gold);
	box-shadow: 0 0 8px rgba(196, 163, 90, 0.9);
}

.hero-link__label {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.5625rem;
	font-weight: 700;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	color: rgba(245, 240, 232, 0.6);
	transition: color 0.3s;
}

.hero-link:hover .hero-link__label {
	color: var(--wp--preset--color--brand-gold);
}

/*
 * The scroll cue.
 *
 * Three things were wrong with it at once, and they compounded. The label was
 * rotated -90deg, so it read bottom-to-top — the opposite of the direction it
 * was asking for. That rotation, against `transform-origin: left`, also landed
 * it well to the left of the line rather than on it, so the two never read as
 * one object. And the whole thing sat at `opacity: 0.4`, which over a
 * photograph turns a 1px rule into something indistinguishable from a
 * rendering artefact. Below 768px it was `display: none` outright, so the
 * devices that most need a scroll affordance had none.
 *
 * It is now one composed mark, upright and centred: label, rail, arrowhead,
 * reading top to bottom in the direction it wants the visitor to go. The bead
 * travelling down the rail carries the motion; the arrowhead states the
 * direction on its own, which is what anyone with reduced motion is left with
 * once the global rule at the foot of base.css freezes the animation.
 *
 * `--ps-rail` is shared between the rail's height and the bead's travel so the
 * two cannot drift apart when the size changes at a breakpoint.
 */
.hero__scroll {
	--ps-rail: 2.5rem;

	position: absolute;
	bottom: 1.75rem;
	left: 50%;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	padding: 0.5rem 1rem;
	transform: translateX(-50%);
	color: var(--wp--preset--color--brand-gold);
	text-decoration: none;
	opacity: 0.85;
	transition: opacity 0.4s var(--ease-luxury);
}

.hero__scroll:hover,
.hero__scroll:focus-visible {
	opacity: 1;
}

.hero__scroll-label {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.5625rem;
	font-weight: 700;
	letter-spacing: 0.42em;
	/* Balances the trailing letter-space so the word optically centres. */
	text-indent: 0.42em;
	text-transform: uppercase;
	white-space: nowrap;
	/*
	 * The hero photograph is bright in places and this sits on top of it, so
	 * the mark carries its own ground rather than relying on the scrim.
	 */
	text-shadow: 0 1px 8px rgba(20, 13, 8, 0.85);
}

.hero__scroll-rail {
	position: relative;
	display: block;
	width: 1px;
	height: var(--ps-rail);
	overflow: hidden;
	background: linear-gradient(to bottom, rgba(196, 163, 90, 0), rgba(196, 163, 90, 0.5));
}

.hero__scroll-bead {
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	height: 0.9rem;
	background: linear-gradient(to bottom, rgba(196, 163, 90, 0), var(--wp--preset--color--brand-gold), rgba(196, 163, 90, 0));
	animation: ps-scroll-bead 2.6s cubic-bezier(0.45, 0, 0.25, 1) infinite;
}

@keyframes ps-scroll-bead {
	0% {
		opacity: 0;
		transform: translateY(-0.9rem);
	}

	25%,
	70% {
		opacity: 1;
	}

	100% {
		opacity: 0;
		transform: translateY(var(--ps-rail));
	}
}

.hero__scroll-chevron {
	width: 0.875rem;
	height: 0.5625rem;
	margin-top: -0.125rem;
	filter: drop-shadow(0 1px 6px rgba(20, 13, 8, 0.8));
	transition: transform 0.4s var(--ease-luxury);
}

.hero__scroll:hover .hero__scroll-chevron,
.hero__scroll:focus-visible .hero__scroll-chevron {
	transform: translateY(3px);
}

/* The cue's destination: the foot of the hero, cleared by the fixed header. */
.hero__anchor {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 1px;
	height: 1px;
	scroll-margin-top: var(--ps-header-height);
}

/*
 * On a phone the mark loses its words.
 *
 * Not for tidiness: on a 740px-tall viewport the hero's own content already
 * fills the screen, and measured on production the labelled cue overlapped
 * `.hero__links` by 37px at 360x740 and cleared it by only 4px at 390x844.
 * The label was also the part doing the damage — a second line of tracked
 * gold caps sitting directly beneath the hero's own link labels, competing
 * with them rather than reading as a separate cue.
 *
 * The rail and the arrowhead say "down" perfectly well without it, which is
 * how most of the mark's meaning was carried anyway. The words are not lost:
 * the link's `aria-label` still carries them, so the control keeps its name
 * for anyone who cannot see it. Hidden rather than `display: none` for that
 * reason.
 *
 * The second query is the one that matters most, and it is about height, not
 * width. The hero is `min-height: 100vh` with its content centred, so what
 * decides whether a labelled cue fits is how much room is left under
 * `.hero__links` — and that shrinks with the viewport's height, not its width.
 * Measured on production: 40px of clearance at 1600x900, but **-10px at
 * 1280x800 and -26px at 1024x768**, both ordinary laptop screens where the
 * labelled cue landed on top of the links. Anything shorter than 880px gets
 * the compact mark for the same reason a phone does: there is no room for the
 * other one.
 */
@media (max-width: 767px), (max-height: 880px) {
	.hero__scroll {
		--ps-rail: 1.5rem;

		bottom: 1rem;
		gap: 0.375rem;
		padding: 0.375rem 0.75rem;
	}

	.hero__scroll-label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}

	.hero__scroll-chevron {
		width: 0.8125rem;
		height: 0.5rem;
	}
}

@media (min-width: 640px) {
	.hero__title {
		font-size: 3.75rem;
	}

	.hero__script {
		font-size: 2.25rem;
	}
}

@media (min-width: 768px) {
	.hero__title {
		font-size: 6rem;
	}

	.hero__script {
		font-size: 3.75rem;
	}

	.hero__inner {
		padding-block: 5rem;
	}

	.hero__links {
		gap: 2.5rem;
		/* 2.25rem rather than 5: the Medvedja večerja call now takes the
		   space above the row, and the row has to stay on the first screen
		   of a laptop (checked at 1374x708). */
		margin-top: 2.25rem;
	}

	.hero__feature {
		margin-top: 1.5rem;
	}

	.hero-feature {
		padding: 0.625rem 1.5rem 0.625rem 1.125rem;
	}

	.hero-feature__icon svg {
		width: 1.625rem;
		height: 1.625rem;
	}

	.hero-feature__label {
		font-size: 0.75rem;
		letter-spacing: 0.3em;
	}

	.hero-link__icon {
		width: 5rem;
		height: 5rem;
	}
}

@media (min-width: 1024px) {
	.hero__links-sep {
		display: block;
	}

	.hero__links {
		flex-wrap: nowrap;
		gap: 3rem;
	}
}

/* --- Restaurant / rooms / spa ------------------------------------------- */

.home-restaurant__badge {
	bottom: -2.5rem;
	left: -2.5rem;
	width: 8rem;
	height: 8rem;
	transform: rotate(15deg);
	border: 4px solid var(--wp--preset--color--brand-cream);
	line-height: 1.2;
}

.home-rooms__badge {
	top: -3rem;
	right: -3rem;
	width: 11rem;
	height: 11rem;
	transform: rotate(-12deg);
	background: rgba(196, 163, 90, 0.9);
	backdrop-filter: blur(12px);
	border: 4px solid var(--wp--preset--color--brand-wood);
	animation: ps-pulse 4s ease-in-out infinite;
}

@keyframes ps-pulse {
	0%,
	100% {
		opacity: 1;
		transform: rotate(-12deg) scale(1);
	}
	50% {
		opacity: 0.7;
		transform: rotate(-12deg) scale(0.98);
	}
}

/* --- Mood --------------------------------------------------------------- */

.home-mood__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 5rem;
	align-items: center;
	max-width: 64rem;
}

/* The walk through the house, as one wide film under the introduction. */
.home-mood__film {
	margin-top: 4rem;
}

@media (min-width: 768px) {
	.home-mood__film {
		margin-top: 5rem;
	}
}

.home-mood__title {
	margin-block: 2.5rem 3rem;
	font-size: 3rem; /* text-5xl md:text-6xl */
}

@media (min-width: 768px) {
	.home-mood__title {
		font-size: 3.75rem;
	}
}

.amenity-card {
	padding: 3rem;
	border-radius: 3.75rem;
	background: var(--wp--preset--color--brand-wood);
	color: var(--wp--preset--color--brand-cream);
	box-shadow: var(--luxury-shadow);
}

.amenity-card__heading {
	margin-bottom: 3rem;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	color: var(--wp--preset--color--brand-gold);
}

.amenity-card__list {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	list-style: none;
}

.amenity-card__list li {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	opacity: 0.8;
}

.amenity-card__dot {
	flex: none;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 999px;
	background: rgba(196, 163, 90, 0.4);
}

.amenity-card__score {
	margin-top: 4rem;
	padding-top: 3rem;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.amenity-card__score-value {
	margin-bottom: 0.5rem;
	font-family: var(--wp--preset--font-family--serif);
	font-size: 1.875rem;
	font-style: italic;
	color: var(--wp--preset--color--brand-gold);
}

.amenity-card__score-label {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.5625rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	opacity: 0.4;
}

/* --- Location ----------------------------------------------------------- */

.home-location__badge {
	bottom: -2.5rem;
	left: -2.5rem;
	width: 11rem;
	height: 11rem;
	transform: rotate(-6deg);
	background: var(--wp--preset--color--brand-gold);
	border: 4px solid var(--wp--preset--color--brand-wood);
	box-shadow: var(--luxury-shadow);
}

/* --- Host --------------------------------------------------------------- */

/* Source: py-28 md:py-32 */
.home-host,
.home-reviews {
	padding-block: 7rem;
}

@media (min-width: 768px) {
	.home-host,
	.home-reviews {
		padding-block: 8rem;
	}
}

.home-host__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 56rem;
	text-align: center;
}

.home-host__portrait {
	width: 14rem;
	height: 14rem;
	margin-bottom: 4rem;
	overflow: hidden;
	border: 4px solid #fff;
	border-radius: 999px;
	box-shadow: var(--luxury-shadow);
}

.home-host__portrait img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
	filter: grayscale(1);
	transition: filter 1s;
}

.home-host__portrait:hover img {
	filter: grayscale(0);
}

.home-host__eyebrow {
	letter-spacing: 0.6em;
	margin-bottom: 2rem;
}

.home-host__quote {
	margin-bottom: 3rem;
	font-size: 3rem; /* text-5xl md:text-6xl */
	line-height: 1.05;
}

@media (min-width: 768px) {
	.home-host__quote {
		font-size: 3.75rem;
	}
}

.home-host__signature {
	margin-top: 4rem;
	font-family: var(--wp--preset--font-family--serif);
	font-size: 1.5rem;
	font-style: italic;
	color: var(--wp--preset--color--brand-gold);
}

@media (min-width: 768px) {
	.home-host__portrait {
		width: 16rem;
		height: 16rem;
	}
}

/* --- Reviews ------------------------------------------------------------ */

.home-reviews__head {
	margin-bottom: 6rem;
	text-align: center;
}

.home-reviews__brandline {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	margin-bottom: 2.5rem;
}

.home-reviews__logo {
	height: 1.25rem;
	width: auto;
}

.home-reviews__divider {
	width: 3rem;
	height: 1px;
	background: rgba(196, 163, 90, 0.2);
}

.home-reviews__stars {
	display: flex;
	gap: 0.25rem;
	color: var(--wp--preset--color--brand-gold);
}

.home-reviews__stars svg {
	width: 1rem;
	height: 1rem;
}

.home-reviews__title {
	margin-bottom: 1.5rem;
	font-size: 3rem; /* text-5xl md:text-6xl */
	line-height: 1;
}

@media (min-width: 768px) {
	.home-reviews__title {
		font-size: 3.75rem;
	}
}

.home-reviews__sub {
	letter-spacing: 0.4em;
}

.home-reviews__viewport {
	position: relative;
}

.home-reviews__track {
	display: flex;
	gap: 1rem;
	padding: 0 1rem 3rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.home-reviews__track::-webkit-scrollbar {
	display: none;
}

/*
 * Fewer cards, each big enough to read.
 *
 * The rail was 320px cards in a 1248px track, so nearly four arrived at once
 * and the fourth was always cut in half by the frame — a quantity of reviews
 * rather than a review anybody read. The widths below are the track divided
 * exactly, so a page is a whole number of whole cards: one on a phone with a
 * sliver of the next to say the rail moves, two on a tablet, three on the
 * desktop. Arrows and dots already exist to reach the other seven.
 */
.review-card {
	flex: none;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: calc(100% - 2.5rem);
	margin-block: 1rem;
	padding: 1.5rem;
	scroll-snap-align: center;
	border: 1px solid rgba(26, 42, 30, 0.05);
	border-radius: 1.875rem;
	background: #fff;
	box-shadow: var(--luxury-shadow);
	transition: border-color 0.5s;
}

.review-card:hover {
	border-color: rgba(196, 163, 90, 0.3);
}

.review-card__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 1.25rem;
}

.review-card__avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 999px;
	background: var(--wp--preset--color--brand-warm-gray);
	font-family: var(--wp--preset--font-family--serif);
	font-style: italic;
	font-size: 0.875rem;
}

.review-card__score {
	padding: 0.125rem 0.5rem;
	border-radius: 0.5rem;
	background: rgba(196, 163, 90, 0.1);
	color: var(--wp--preset--color--brand-gold);
	font-family: var(--wp--preset--font-family--serif);
	font-size: 1rem;
	font-weight: 700;
}

.review-card__badge {
	margin-bottom: 0.5rem;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.5625rem;
	font-weight: 700;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--wp--preset--color--brand-gold);
}

/*
 * The quote is the reason the section exists, so it is sized like something
 * meant to be read rather than like a caption. 14px italic in a 320px card was
 * the smallest serif on the page; it is now a shade above body size, with the
 * line height that lets an italic serif breathe.
 */
.review-card__quote {
	margin: 0 0 1rem;
	font-family: var(--wp--preset--font-family--serif);
	font-size: 1.0625rem;
	font-style: italic;
	line-height: 1.55;
}

.review-card__quote::before {
	content: open-quote;
}

.review-card__quote::after {
	content: close-quote;
}

.review-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(26, 42, 30, 0.05);
}

.review-card__name {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.review-card__client,
.review-card__source {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.5rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(90, 90, 90, 0.5);
}

.review-card__source {
	font-weight: 700;
	color: rgba(90, 90, 90, 0.4);
}

.home-reviews__arrow {
	position: absolute;
	top: 50%;
	z-index: 20;
	display: none;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	transform: translateY(-50%);
	border: 1px solid rgba(26, 42, 30, 0.05);
	border-radius: 999px;
	background: #fff;
	box-shadow: var(--luxury-shadow);
	color: var(--wp--preset--color--brand-wood);
	cursor: pointer;
	transition: background-color 0.3s, color 0.3s;
}

.home-reviews__arrow:hover {
	background: var(--wp--preset--color--brand-gold);
	color: #fff;
}

.home-reviews__arrow svg {
	width: 1.5rem;
	height: 1.5rem;
}

.home-reviews__arrow--prev {
	left: -1rem;
}

.home-reviews__arrow--next {
	right: -1rem;
}

.home-reviews__dots {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.625rem;
	padding-inline: 1rem;
}

.home-reviews__dot {
	position: relative;
	width: 0.5rem;
	height: 0.5rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(26, 42, 30, 0.15);
	cursor: pointer;
	transition: width 0.5s, background-color 0.5s;
}

.home-reviews__dot::before {
	content: "";
	position: absolute;
	inset: -9px -5px;
}

.home-reviews__dot.is-active {
	width: 1.75rem;
	background: var(--wp--preset--color--brand-gold);
}

@media (min-width: 768px) {
	.home-reviews__track {
		gap: 1.5rem;
	}

	/* Two per page: the track less one gap, halved. */
	.review-card {
		width: calc((100% - 1.5rem) / 2);
		padding: 2rem;
	}

	.home-reviews__arrow {
		display: flex;
	}
}

@media (min-width: 1024px) {
	/* Three per page: the track less two gaps, in thirds. */
	.review-card {
		width: calc((100% - 3rem) / 3);
		padding: 2.25rem;
	}

	.home-reviews__arrow--prev {
		left: -3rem;
	}

	.home-reviews__arrow--next {
		right: -3rem;
	}

	.home-mood__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* --- Map ---------------------------------------------------------------- */

.home-map {
	position: relative;
	background: var(--wp--preset--color--brand-cream);
}

.home-map__frame {
	position: relative;
	width: 100%;
	height: 600px;
}

.home-map__frame iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.home-map__vignette {
	position: absolute;
	inset: 0;
	pointer-events: none;
	box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.1);
}

.home-map__card {
	position: absolute;
	right: 2.5rem;
	bottom: 2.5rem;
	display: none;
	max-width: 24rem;
	padding: 3rem;
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 3.75rem;
	background: rgba(26, 42, 30, 0.9);
	backdrop-filter: blur(20px);
	color: var(--wp--preset--color--brand-cream);
	box-shadow: var(--luxury-shadow);
}

.home-map__card .eyebrow {
	margin-bottom: 1.5rem;
}

.home-map__address {
	margin-bottom: 1.5rem;
	font-family: var(--wp--preset--font-family--serif);
	font-size: 1.875rem;
	font-style: italic;
	line-height: 1.2;
}

.rule--short {
	width: 3rem;
	margin-bottom: 2rem;
}

.home-map__note {
	font-family: var(--wp--preset--font-family--serif);
	font-size: 0.875rem;
	font-style: italic;
	font-weight: 300;
	line-height: 1.7;
	color: rgba(245, 240, 232, 0.6);
}

@media (min-width: 768px) {
	.home-map__card {
		display: block;
	}
}

/* --- Social ------------------------------------------------------------- */

.home-social__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.home-social__title {
	margin-block: 2.5rem 5rem;
	font-size: 3rem; /* text-5xl md:text-6xl */
	text-align: center;
}

@media (min-width: 768px) {
	.home-social__title {
		font-size: 3.75rem;
	}
}

.home-social__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	width: 100%;
}

.social-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	min-height: 600px;
	padding: 2rem;
	overflow: hidden;
	border: 1px solid rgba(26, 42, 30, 0.05);
	border-radius: 3.75rem;
	background: #fff;
	box-shadow: var(--luxury-shadow);
	text-align: center;
	transition: transform 0.7s var(--ease-luxury);
}

.social-card:hover {
	transform: scale(1.01);
}

.social-card__mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 6rem;
	height: 6rem;
	padding: 0.25rem;
	border-radius: 999px;
	transform: scale(0.9);
	transition: transform 0.7s;
}

.social-card:hover .social-card__mark {
	transform: scale(1);
}

.social-card.is-instagram .social-card__mark {
	background: linear-gradient(to top right, #f9ce34, #ee2a7b, #6228d7);
}

.social-card.is-facebook .social-card__mark {
	background: #1877f2;
}

.social-card__mark-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	border-radius: 999px;
	background: #fff;
	color: var(--wp--preset--color--brand-wood);
}

.social-card.is-facebook .social-card__mark-inner {
	color: #1877f2;
}

.social-card__mark-inner svg {
	width: 2.5rem;
	height: 2.5rem;
}

.social-card__handle {
	margin-top: 1.5rem;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	color: var(--wp--preset--color--brand-gold);
}

.social-card.is-facebook .social-card__handle {
	color: #1877f2;
}

/*
 * A photograph where the dashed box was.
 *
 * The dashed rectangle with a sentence floating in the middle of it was doing
 * a good impression of a component nobody had finished. What belongs there is
 * the thing the card is inviting people to go and look at, so a still from the
 * account itself now fills the space and the sentence becomes its caption.
 *
 * The frame is a fixed 3:2 and the caption below it takes `flex: 1`, so the
 * two cards absorb their height difference in the whitespace under the words
 * rather than in the pictures. Letting the frames stretch instead put the two
 * photographs 24px out of alignment, which is small enough to look accidental
 * and large enough to see.
 */
.social-card__preview {
	display: block;
	flex: none;
	width: 100%;
	aspect-ratio: 3 / 2;
	margin-block: 2.5rem 1.75rem;
	overflow: hidden;
	border-radius: 2.5rem;
	background: var(--wp--preset--color--brand-warm-gray);
}

.social-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s var(--ease-luxury);
}

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

.social-card__body {
	display: flex;
	flex: 1;
	align-items: flex-start;
	justify-content: center;
	width: 100%;
	max-width: 24rem;
	margin-bottom: 1.75rem;
	font-family: var(--wp--preset--font-family--serif);
	font-size: 0.9375rem;
	font-style: italic;
	line-height: 1.6;
	color: rgba(90, 90, 90, 0.75);
}

.social-card__cta {
	padding-block: 0.5rem;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.5625rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--brand-gold);
}

.social-card.is-facebook .social-card__cta {
	color: #1877f2;
}

.social-card:hover .social-card__cta {
	text-decoration: underline;
}

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

	.social-card {
		padding: 3rem;
	}
}

/*
 * "Vaš gostitelj" side by side on desktop (client, 5 Oct 2026: centred, it
 * was "all narrow and tall" — 960px of one column). The portrait becomes a
 * tall rounded picture on the left, the eyebrow, quote, text and signature
 * read left-aligned on the right, centred against it. Same markup as on a
 * phone, where the centred column stays.
 */
@media (min-width: 1024px) {
	.home-host__inner {
		display: grid;
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		grid-template-rows: 1fr auto auto auto auto 1fr;
		grid-template-areas:
			"portrait ."
			"portrait eyebrow"
			"portrait quote"
			"portrait prose"
			"portrait signature"
			"portrait .";
		column-gap: 5rem;
		align-items: start;
		max-width: var(--shell);
		text-align: left;
	}

	.home-host__portrait {
		grid-area: portrait;
		align-self: center;
		width: 100%;
		height: clamp(24rem, 66vh, 38rem);
		margin: 0;
		border-radius: 3rem;
	}

	.home-host__eyebrow {
		grid-area: eyebrow;
		margin-bottom: 1.25rem;
	}

	.home-host__quote {
		grid-area: quote;
		margin-bottom: 2rem;
	}

	.home-host__inner .prose {
		grid-area: prose;
		margin: 0;
		text-align: left;
	}

	.home-host__signature {
		grid-area: signature;
		margin-top: 2rem;
	}
}

/*
 * "Izkusite mir." at the full column on desktop (client, 5 Oct 2026: "far too
 * narrow" at 64rem). Text a little wider than the amenities card beside it.
 */
@media (min-width: 1024px) {
	.home-mood__grid {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		max-width: var(--shell);
	}
}
