/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE SECTIONS (hp-*)
   Colours come from the shared --bpl-* tokens defined in the theme.
   ═══════════════════════════════════════════════════════════════ */

.hp.hp-section,
.hp.hp-hero { min-height: 0; }
.hp.hp-section { background: transparent; padding: 3.5rem 0 0; color: var(--bpl-text); }

/* Section headings */
.hp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.hp-head h2 { margin: 0; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.75rem); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; color: var(--bpl-ink); }
.hp-head p { margin: .35rem 0 0; font-size: .95rem; color: var(--bpl-muted); }
.hp-head__actions { display: flex; align-items: center; gap: 1rem; }
.hp-link { display: inline-flex; align-items: center; gap: .3rem; color: var(--bpl-blue); font-size: .9rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.hp-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.hp-rownav { display: flex; gap: .4rem; }
.hp .hp-rownav__btn {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1.5px solid #d0d7e8;
	border-radius: 50%;
	background: #fff;
	color: var(--bpl-ink);
	cursor: pointer;
	transition: border-color .14s, background .14s, opacity .14s;
}
.hp .hp-rownav__btn svg { width: 18px; height: 18px; }
.hp .hp-rownav__btn:hover:not(:disabled) { border-color: var(--bpl-navy); color: var(--bpl-navy); }
.hp .hp-rownav__btn:disabled { opacity: .35; cursor: default; }

.hp .hp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 1.6rem;
	border-radius: 12px;
	background: var(--bpl-navy);
	color: #fff;
	font-size: .98rem;
	font-weight: 800;
	text-decoration: none;
	transition: filter .15s, transform .15s;
}
.hp .hp-btn--accent { background: var(--bpl-accent); color: #1a1a1a; }
.hp .hp-btn:hover { filter: brightness(.95); transform: translateY(-1px); }

/* ── Hero ─────────────────────────────────────────────────────── */
.hp.hp-hero {
	position: relative;
	padding: calc(64px + 3.5rem) 0 4.5rem;
	background:
		radial-gradient(700px 360px at 90% 10%, rgba(254, 187, 2, .16), transparent 60%),
		radial-gradient(600px 400px at 0% 100%, rgba(0, 108, 228, .45), transparent 60%),
		linear-gradient(135deg, #001f52 0%, #003b95 60%, #0a52c4 100%);
	color: #fff;
	overflow: visible; /* lets the town suggestions drop below the hero if needed */
}
.hp-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 100% 100%, transparent 170px, rgba(255, 255, 255, .045) 171px, rgba(255, 255, 255, .045) 240px, transparent 241px);
	pointer-events: none;
}
.hp-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 3rem; align-items: center; }
.hp-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	margin: 0 0 1rem;
	padding: .35rem .8rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, .1);
	color: var(--bpl-accent);
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .04em;
}
.hp-hero__title { margin: 0 0 .8rem; font-size: clamp(2.1rem, 1.3rem + 2.7vw, 3.5rem); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; color: #fff; text-wrap: balance; }
.hp-hero__sub { max-width: 560px; margin: 0; font-size: 1.08rem; line-height: 1.6; color: rgba(255, 255, 255, .84); }

.hp-search { margin-top: 1.8rem; }
.hp-search__tabs { display: inline-flex; gap: 4px; margin-bottom: .7rem; padding: 4px; border-radius: 12px; background: rgba(255, 255, 255, .1); }
.hp .hp-search__tabs button {
	height: 36px;
	padding: 0 1rem;
	border: 0;
	border-radius: 9px;
	background: transparent;
	color: rgba(255, 255, 255, .85);
	font: inherit;
	font-size: .86rem;
	font-weight: 700;
	cursor: pointer;
}
.hp .hp-search__tabs button.is-active { background: #fff; color: var(--bpl-navy); }
.hp-search__form {
	display: flex;
	align-items: stretch;
	gap: 0;
	padding: 6px;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 18px 50px rgba(0, 15, 45, .35);
}
.hp-search__form[hidden] { display: none; }
.hp-search__field { position: relative; display: flex; flex-direction: column; justify-content: center; gap: .1rem; padding: .45rem 1rem; min-width: 0; }
.hp-search__field--where { flex: 1 1 auto; }
.hp-search__field + .hp-search__field { border-left: 1px solid var(--bpl-line); }
.hp-search__field label { font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--bpl-ink); }
.hp-search__field input,
.hp-search__field select {
	width: 100%;
	height: 30px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--bpl-ink);
	font: inherit;
	font-size: .98rem;
	outline: none;
}
.hp-search__field select { min-width: 150px; cursor: pointer; }
.hp-search__field input::placeholder { color: #8a97ad; }
.hp-search__field:focus-within { border-radius: 10px; box-shadow: inset 0 0 0 2px rgba(0, 108, 228, .35); }
.hp-search__field .kl-region-autocomplete { position: static; }
.hp-search__field .kl-region-autocomplete__dropdown {
	position: absolute;
	top: calc(100% + 12px);
	left: -6px;
	width: max(100%, 340px);
	max-height: 320px;
	margin: 0;
	padding: .4rem;
	overflow-y: auto;
	list-style: none;
	border: 1px solid var(--bpl-line);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 18px 50px rgba(0, 20, 60, .25);
	z-index: 100;
}
.hp-search__field .kl-region-autocomplete__dropdown[hidden] { display: none; }
.hp-search__field .kl-region-autocomplete__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: .6rem .75rem;
	border-radius: 10px;
	color: var(--bpl-ink);
	font-size: .92rem;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
}
.hp-search__field .kl-region-autocomplete__item::before {
	content: '';
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	margin-right: -.4rem;
	background: currentColor;
	color: var(--bpl-blue);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 .5A4 4 0 002 4.5c0 3 4 7 4 7s4-4 4-7A4 4 0 006 .5zm0 5.5a1.5 1.5 0 110-3 1.5 1.5 0 010 3z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 .5A4 4 0 002 4.5c0 3 4 7 4 7s4-4 4-7A4 4 0 006 .5zm0 5.5a1.5 1.5 0 110-3 1.5 1.5 0 010 3z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.hp-search__field .kl-region-autocomplete__item:hover,
.hp-search__field .kl-region-autocomplete__item.is-active { background: #eaf1ff; color: var(--bpl-navy); }
.hp-search__field .kl-region-autocomplete__count { margin-left: auto; font-size: .78rem; font-weight: 500; color: var(--bpl-muted); white-space: nowrap; }
.hp-search__field .kl-region-autocomplete__empty { padding: .7rem .75rem; font-size: .9rem; color: var(--bpl-muted); }
.hp .hp-search__btn {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	flex-shrink: 0;
	padding: 0 1.6rem;
	border: 0;
	border-radius: 12px;
	background: var(--bpl-accent);
	color: #1a1a1a;
	font: inherit;
	font-size: 1rem;
	font-weight: 800;
	cursor: pointer;
	transition: filter .15s;
}
.hp .hp-search__btn svg { width: 18px; height: 18px; }
.hp .hp-search__btn:hover { filter: brightness(.95); }

.hp-hero__links { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-top: 1.2rem; font-size: .84rem; }
.hp-hero__links > span { color: rgba(255, 255, 255, .7); font-weight: 600; margin-right: .1rem; }
.hp-hero__links a {
	padding: .38rem .8rem;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 999px;
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	transition: background .15s, border-color .15s;
}
.hp-hero__links a:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .5); }

.hp-hero__art { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 190px 190px; gap: 12px; }
.hp-hero__photo { position: relative; display: block; overflow: hidden; border-radius: 18px; box-shadow: 0 18px 44px rgba(0, 10, 35, .45); }
.hp-hero__photo--1 { grid-row: 1 / span 2; }
.hp-hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.hp-hero__photo:hover img { transform: scale(1.04); }
.hp-hero__photo span {
	position: absolute;
	left: .7rem;
	right: .7rem;
	bottom: .7rem;
	padding: .35rem .6rem;
	border-radius: 8px;
	background: rgba(0, 20, 55, .6);
	backdrop-filter: blur(4px);
	color: #fff;
	font-size: .74rem;
	font-weight: 700;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ── Popular destinations ─────────────────────────────────────── */
.hp-dest__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 230px; gap: 1rem; }
.hp-dest__tile { position: relative; display: block; overflow: hidden; border-radius: 16px; background: #1b3a6b; color: #fff; text-decoration: none; }
.hp-dest__tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.hp-dest__tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 18, 50, .78) 0%, rgba(0, 18, 50, .12) 55%, transparent 100%); }
.hp-dest__tile:hover img { transform: scale(1.05); }
.hp-dest__tile:focus-visible { outline: 3px solid var(--bpl-blue); outline-offset: 3px; }
.hp-dest__label { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.1rem; z-index: 1; display: flex; flex-direction: column; gap: .15rem; }
.hp-dest__label strong { font-size: 1.35rem; font-weight: 800; line-height: 1.15; }
.hp-dest__label span { font-size: .85rem; font-weight: 600; color: rgba(255, 255, 255, .85); }

/* ── Scrolling rows (featured stays, property types) ──────────── */
.hp-row {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 3 * 1.1rem) / 4);
	gap: 1.1rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	/* Room inside the scroll area so card shadows aren't clipped */
	scroll-padding: 0 10px;
	padding: 10px 10px 26px;
	margin: -10px -10px -16px;
	scrollbar-width: none;
}
.hp-row::-webkit-scrollbar { display: none; }
.hp-row__item { scroll-snap-align: start; min-width: 0; }
.hp-row .bpl-card { display: flex; flex-direction: column; height: 100%; }
.hp-row .bpl-card__photo { aspect-ratio: 3 / 2; min-height: 0; grid-row: auto; }
/* Softer, even lift that fits inside the row */
.hp-row .bpl-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(10, 31, 68, .1); }
.hp-row .bpl-card__body { flex: 1 1 auto; }
.hp-row .bpl-card__title { margin-bottom: .55rem; }
@media (hover: none) {
	.hp-row .bpl-card:hover { transform: none; box-shadow: 0 1px 2px rgba(10, 31, 68, .04); }
	.hp-row .bpl-card:hover .bpl-card__title a { color: var(--bpl-ink); }
}

.hp-row--types { grid-auto-columns: calc((100% - 5 * 1rem) / 6); gap: 1rem; }
.hp-type { display: flex; flex-direction: column; gap: .2rem; color: inherit; text-decoration: none; }
.hp-type__img { display: block; aspect-ratio: 4 / 3; margin-bottom: .5rem; overflow: hidden; border-radius: 14px; background: #dce8f9; }
.hp-type__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.hp-type:hover .hp-type__img img { transform: scale(1.05); }
.hp-type strong { font-size: .98rem; font-weight: 800; color: var(--bpl-ink); }
.hp-type span:last-child { font-size: .82rem; color: var(--bpl-muted); }
.hp-type:hover strong { color: var(--bpl-blue); }
.hp-type:focus-visible .hp-type__img { outline: 3px solid var(--bpl-blue); outline-offset: 2px; }

/* ── Why book with us ─────────────────────────────────────────── */
.hp-why__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.5rem 2rem;
	margin: 0;
	padding: 1.8rem 2rem;
	list-style: none;
	border: 1px solid var(--bpl-line);
	border-radius: 18px;
	background: var(--bpl-surface);
}
.hp-why__list li { display: flex; flex-direction: column; gap: .3rem; }
.hp-why__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: .45rem; border-radius: 12px; background: #eaf1ff; color: var(--bpl-navy); }
.hp-why__icon svg { width: 22px; height: 22px; }
.hp-why__list strong { font-size: .98rem; font-weight: 800; color: var(--bpl-ink); }
.hp-why__list span:last-child { font-size: .87rem; line-height: 1.55; color: var(--bpl-muted); }

/* ── Things to do ─────────────────────────────────────────────── */
.hp-attr__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 1rem; }
.hp-attr__card { position: relative; display: block; overflow: hidden; border-radius: 16px; background: #1b3a6b; color: #fff; text-decoration: none; }
.hp-attr__card--lead { grid-row: 1 / span 2; }
.hp-attr__card:nth-child(4) { grid-column: 2 / span 2; }
.hp-attr__card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.hp-attr__card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 18, 50, .8) 0%, rgba(0, 18, 50, .1) 60%, transparent 100%); }
.hp-attr__card:hover img { transform: scale(1.05); }
.hp-attr__card:focus-visible { outline: 3px solid var(--bpl-blue); outline-offset: 3px; }
.hp-attr__body { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.1rem; z-index: 1; display: flex; flex-direction: column; gap: .25rem; }
.hp-attr__dest { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--bpl-accent); }
.hp-attr__body strong { font-size: 1.1rem; font-weight: 800; line-height: 1.25; }
.hp-attr__card--lead .hp-attr__body strong { font-size: 1.45rem; }
.hp-attr__text { max-width: 440px; font-size: .88rem; line-height: 1.5; color: rgba(255, 255, 255, .85); }

/* ── Host call-to-action ──────────────────────────────────────── */
.hp.hp-host { padding-bottom: 3.5rem; }
.hp-host__card {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding: 2.4rem 2.6rem;
	border-radius: 22px;
	background:
		radial-gradient(500px 260px at 100% 0%, rgba(254, 187, 2, .18), transparent 60%),
		linear-gradient(135deg, #002a6b 0%, #003b95 70%);
	color: #fff;
	overflow: hidden;
}
.hp-host__text h2 { margin: 0 0 .45rem; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 800; color: #fff; }
.hp-host__text p { margin: 0 0 1rem; font-size: 1rem; color: rgba(255, 255, 255, .85); }
.hp-host__text ul { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: 0; padding: 0; list-style: none; }
.hp-host__text li { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; font-weight: 600; color: #fff; }
.hp-host__text li svg { width: 17px; height: 17px; color: var(--bpl-accent); }
.hp-host__actions { display: flex; flex-direction: column; align-items: center; gap: .7rem; flex-shrink: 0; }
.hp-host__secondary { color: rgba(255, 255, 255, .85); font-size: .86rem; font-weight: 600; text-decoration: none; }
.hp-host__secondary:hover { color: #fff; text-decoration: underline; }

/* Banner image placed below the host section */
.elementor-widget-image.hp-banner { margin-bottom: 3rem; }
.hp-banner img { border-radius: 16px; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1100px) {
	.hp-row { grid-auto-columns: calc((100% - 2 * 1.1rem) / 3); }
	.hp-row--types { grid-auto-columns: calc((100% - 3 * 1rem) / 4); }
	.hp-why__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.hp-hero__inner { grid-template-columns: 1fr; }
	.hp-hero__art { display: none; }
	.hp-host__card { flex-direction: column; align-items: flex-start; }
	.hp-host__actions { align-items: flex-start; }
}
@media (max-width: 700px) {
	.hp.hp-section { padding-top: 2.5rem; }
	.hp.hp-hero { padding: calc(64px + 1.8rem) 0 2.5rem; }
	.hp-hero__sub { font-size: .98rem; }
	.hp-search__form { flex-direction: column; padding: 8px; gap: 4px; }
	.hp-search__field { padding: .55rem .75rem; }
	.hp-search__field + .hp-search__field { border-left: 0; border-top: 1px solid var(--bpl-line); }
	.hp .hp-search__btn { justify-content: center; min-height: 50px; }
	.hp-search__tabs { display: flex; }
	.hp .hp-search__tabs button { flex: 1; }

	/* Destinations and things to do become swipeable rows */
	.hp-dest__grid,
	.hp-attr__grid {
		display: grid;
		grid-auto-flow: column;
		grid-template-columns: none;
		grid-template-rows: none;
		grid-auto-columns: 72%;
		grid-auto-rows: 220px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}
	.hp-dest__grid::-webkit-scrollbar,
	.hp-attr__grid::-webkit-scrollbar { display: none; }
	.hp-dest__tile,
	.hp-attr__card { scroll-snap-align: start; }
	.hp-attr__card--lead,
	.hp-attr__card:nth-child(4) { grid-row: auto; grid-column: auto; }
	.hp-attr__card--lead .hp-attr__body strong { font-size: 1.15rem; }
	.hp-attr__text { display: none; }

	.hp-row { grid-auto-columns: 78%; }
	.hp-row--types { grid-auto-columns: 42%; }
	.hp-rownav { display: none; }
	.hp-why__list { grid-template-columns: 1fr; padding: 1.4rem 1.25rem; gap: 1.2rem; }
	.hp-why__list li { display: grid; grid-template-columns: 44px 1fr; column-gap: .9rem; }
	.hp-why__icon { grid-row: 1 / span 2; margin-bottom: 0; }
	.hp-host__card { padding: 1.8rem 1.4rem; }
	.hp-host__text ul { flex-direction: column; }
	.hp .hp-btn { width: 100%; }
	.hp-host__actions { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.hp-hero__photo img, .hp-dest__tile img, .hp-type__img img, .hp-attr__card img { transition: none; }
}
