/* GP House — home */
/* Hero -------------------------------------------------------------------- */
.gp-hero { position: relative; height: 964px; background: #fff; }
.gp-hero__media {
	position: absolute;
	inset: 0 0 auto;
	height: 860px;
	overflow: hidden;
	background: var(--gp-b20);
}
.gp-hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gp-hero__shade {
	position: absolute;
	inset: 0 0 auto;
	height: 860.3px;
	background: linear-gradient(52.868deg, rgb(1, 16, 65) 4.931%, rgba(19, 36, 93, .886) 6.688%, rgba(22, 40, 98, .775) 21.751%, rgba(26, 44, 103, .45) 35.488%, rgba(43, 64, 131, 0) 80.956%);
}
.gp-hero__glow { position: absolute; left: -29.427%; top: 325.14px; width: 54.243%; height: 726.2px; }
.gp-hero__curve {
	position: absolute;
	left: -2.3058%;
	top: 569.14px;
	width: 109.2943%;
	height: 304.95px;
	transform: scaleY(-1);
}
.gp-hero__curve svg { position: absolute; left: 0; top: -.5%; width: 100.31%; height: 101.25%; }
.gp-hero__floor { position: absolute; left: 2.572%; top: 649.98px; width: 90.13%; height: 377.5px; }

.gp-hero__inner {
	position: relative;
	width: min(var(--gp-container), 100% - 48px);
	height: 100%;
	margin-inline: auto;
}
.gp-hero__copy {
	position: absolute;
	top: 389.18px;
	left: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 573.035px;
	color: #fff;
}
.gp-hero__kicker { font-size: 20px; line-height: 1.6; }
.gp-hero__title {
	margin: 0;
	font-family: var(--gp-font-head);
	font-weight: 600;
	font-size: 64px;
	line-height: 1.1;
	font-variation-settings: normal;
}

.gp-hero__booking {
	position: absolute;
	top: 639.18px;
	left: 7px;
	width: 1266px;
	max-width: calc(100% - 7px);
}
.gp-hero__badge {
	position: relative;
	left: 1px;
	display: inline-flex;
	padding: 8px 16px 24px;
	border-radius: 20px 20px 10px 10px;
	background: var(--gp-primary);
	color: #000;
	font-size: 16px;
	line-height: normal;
	white-space: nowrap;
}

.gp-search {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 32px;
	margin-top: -18px;
	padding: 8px 22px 8px 8px;
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 21px;
	background: url("../../img/photos/hero-searchbar-bg.png") center / cover no-repeat;
	-webkit-backdrop-filter: blur(20px);
	backdrop-filter: blur(20px);
}
.gp-search__fields { display: flex; flex: 1 1 1012px; align-items: center; min-width: 0; max-width: 1012px; }
.gp-search__field {
	position: relative;
	display: flex;
	flex: 1 0 0;
	align-items: center;
	min-width: 0;
	padding: 14px;
	border-right: 1px solid rgba(255, 255, 255, .15);
	cursor: pointer;
}
.gp-search__icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border: 1px solid #fff;
	border-radius: 70px;
	background: var(--gp-navy-2);
}
.gp-search__text {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	margin: 0 8px 0 12px;
}
.gp-search__label { color: var(--gp-b20); font-size: 14px; line-height: 1.6; }
.gp-search__value {
	width: 100%;
	height: 25px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #fff;
	font-family: var(--gp-font-head);
	font-size: 18px;
	line-height: 1.4;
	font-variation-settings: normal;
	text-transform: capitalize;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	outline: none;
}
input.gp-search__value { text-transform: none; cursor: text; }
/* Long property names ("GP House Apartment (Sukhumvit 81)") end in "…" in the closed field; the list shows them in full. */
select.gp-search__value { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
/* One-row search (wide screens): the destination field takes a little of the other fields' spare room for those names. */
@media (min-width: 1281px) {
	.gp-search__field[data-step-field="0"] { flex-grow: 1.35; }
}
input.gp-search__value::placeholder { color: rgba(255, 255, 255, .6); opacity: 1; }
.gp-search__value option { color: var(--gp-black); }
.gp-search__date { cursor: pointer; color-scheme: dark; }
.gp-search__date::-webkit-calendar-picker-indicator { display: none; }
.gp-search__field:focus-within { background: rgba(255, 255, 255, .06); border-radius: 12px; }
.gp-search > .gp-btn { flex: none; }

/* Explore destinations ---------------------------------------------------- */
.gp-explore { position: relative; padding: 80px 0; background: #fff; }
/* The chat button is on every page now (footer.php, components.css). */

.gp-dest-grid { display: flex; gap: 24px; margin-top: 72px; }
.gp-dest-grid[hidden] { display: none; }

/* Featured stays ---------------------------------------------------------- */
.gp-featured { padding: 80px 0 150px; overflow: hidden; background: #fff; }

/* Why book direct --------------------------------------------------------- */
.gp-why {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 857px;
	padding: 120px 0;
	overflow: hidden;
	background: var(--gp-navy);
}
.gp-why__glow { position: absolute; width: 72.741%; height: 950.204px; pointer-events: none; }
.gp-why__glow--tl { top: -289.04px; left: -24.65%; }
.gp-why__glow--br { top: 294.99px; left: 50.908%; }
.gp-why__dots { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }

.gp-why__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 52px;
	width: min(var(--gp-container), 100% - 48px);
	padding: 24px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 30px;
	background: linear-gradient(to bottom, rgba(29, 44, 93, .2), rgba(23, 35, 73, .08));
	-webkit-backdrop-filter: blur(14.1px);
	backdrop-filter: blur(14.1px);
}
.gp-why__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.gp-why__intro { width: 439px; color: rgba(255, 255, 255, .7); font-size: 16px; line-height: 1.5; }
.gp-why__body { display: flex; align-items: center; gap: 18px; justify-content: space-between;}
.gp-why__art { flex: none; width: 541px; height: 415px; border-radius: 20px; }

.gp-benefits { display: flex; flex-direction: column; gap: 16px; width: 519px; max-width: 100%; margin: 0; padding: 0; list-style: none; }
.gp-benefit {
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
	min-height: 89px;
	padding: 14px;
	border: 1px solid transparent;
	border-radius: 12px;
	transition: background-color .25s, border-color .25s;
	outline-offset: -2px;
}
.gp-benefit.is-active {
	min-height: 88px;
	border-color: rgba(255, 255, 255, .11);
	border-radius: 16px;
	background: linear-gradient(to bottom, #1d2c5d, rgba(23, 35, 73, .4));
}
.gp-benefit__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; overflow-wrap: break-word; }
.gp-benefit.is-active .gp-benefit__text { gap: 8px; }
.gp-benefit__text strong {
	color: #fff;
	font-family: var(--gp-font-head);
	font-weight: 500;
	font-size: 20px;
	line-height: 1.4;
	font-variation-settings: normal;
}
.gp-benefit__text span { color: rgba(255, 255, 255, .7); font-size: 14px; line-height: 1.5; }
.gp-benefit.is-active .gp-benefit__text span { color: #fff; }

/* Guest stories ----------------------------------------------------------- */
.gp-reviews { position: relative; padding: 150px 0 144px; overflow: hidden; background: #fff; }
.gp-reviews__intro { display: flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 562px; }
.gp-reviews__copy { display: flex; flex-direction: column; gap: 56px; }
.gp-reviews__lead { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; width: 532.1px; max-width: 100%; }
.gp-reviews__title { width: 532.1px; max-width: 100%; }
.gp-reviews__stats { display: flex; flex-direction: column; gap: 12px; width: 249px; }
.gp-reviews__numbers { display: flex; flex-direction: column; gap: 2px; }
.gp-reviews__count { color: var(--gp-navy); font-weight: 700; font-size: 24px; line-height: normal; }
.gp-avatars { display: flex; }
.gp-avatars img { width: 40px; height: 40px; margin-right: -10px; border-radius: 50%; }
.gp-avatars img:last-child { margin-right: 0; }

.gp-photo-stack { position: relative; flex: none; width: 454.506px; height: 562px; }
.gp-photo-stack__item { position: absolute; display: block; padding: 0; overflow: hidden; border: 0; border-radius: 30px; background: var(--gp-sand-light); cursor: pointer; transition: top .55s cubic-bezier(.2, .7, .2, 1), left .55s cubic-bezier(.2, .7, .2, 1), width .55s cubic-bezier(.2, .7, .2, 1), height .55s cubic-bezier(.2, .7, .2, 1), transform .55s cubic-bezier(.2, .7, .2, 1); }
.gp-photo-stack__item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gp-photo-stack__item:focus-visible { outline: 3px solid var(--gp-primary); outline-offset: 4px; }
/* Slots (Figma 1148:16419): 1 = front, 2 = middle, 3 = back */
.gp-photo-stack__item[data-pos="3"] { z-index: 1; top: 28.03px; left: 34.12px; width: 382.096px; height: 506.425px; transform: rotate(-7.85deg); }
.gp-photo-stack__item[data-pos="2"] { z-index: 2; top: 18.74px; left: 43.62px; width: 391.756px; height: 525.033px; transform: rotate(-3.92deg); }
.gp-photo-stack__item[data-pos="1"] { z-index: 3; top: 0; left: 62.51px; width: 392px; height: 562px; transform: none; }
.gp-photo-stack__item[data-pos="2"]:hover,
.gp-photo-stack__item[data-pos="3"]:hover { transform: rotate(-9deg) translateX(-8px); }
.gp-photo-stack__item[data-pos="2"]:hover { transform: rotate(-5deg) translateX(-6px); }

/* Journal ----------------------------------------------------------------- */
.gp-journal { position: relative; padding: 150px 0; overflow: clip; background: var(--gp-navy); }
.gp-journal__dots { position: absolute; top: 0; left: 0; width: 100%; height: 1023px; object-fit: cover; pointer-events: none; }
.gp-journal__glow { position: absolute; width: 94.03%; height: 1263px; pointer-events: none; }
.gp-journal__glow--l { top: -301.5px; left: -47.29%; }
.gp-journal__glow--r { top: -121px; left: 43.02%; }
.gp-journal .gp-container { position: relative; }
.gp-journal__head { display: flex; flex-direction: column; align-items: center; gap: 40px; }

.gp-stack { display: flex; flex-direction: column; gap: 48px; margin-top: 44px; }

.gp-journal__more { display: flex; justify-content: center; margin-top: 40px; }

@media (max-width: 1280px) {
	.gp-hero__booking { left: 0; width: 100%; }
	.gp-search { gap: 16px; padding-right: 16px; }
	.gp-search__field { padding: 10px; }
	.gp-search__icon { width: 48px; height: 48px; }
	.gp-search__text { margin-left: 8px; }
	.gp-why__body { flex-direction: column; align-items: stretch; }
	.gp-benefits,
	.gp-benefit,
	.gp-benefit.is-active { width: 100%; }
	.gp-why__art { width: 100%; height: auto; max-width: 541px; align-self: center; }
}

@media (max-width: 1100px) {
	.gp-hero { height: auto; }
	.gp-hero__media { position: relative; height: auto; min-height: 760px; padding: 150px 0 64px; }
	.gp-hero__inner { display: flex; flex-direction: column; justify-content: flex-end; gap: 40px; min-height: 546px; }
	.gp-hero__copy,
	.gp-hero__booking { position: static; width: 100%; max-width: 100%; }
	.gp-hero__title { font-size: 48px; max-width: 573px; }
	.gp-search { flex-direction: column; align-items: stretch; padding: 8px; }
	.gp-search__fields { flex: none; flex-wrap: wrap; max-width: none; }
	.gp-search__field { flex: 1 1 50%; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
	.gp-search > .gp-btn { width: 100%; }
	.gp-explore { padding-top: 64px; }
	.gp-reviews__intro { flex-direction: column; align-items: flex-start; }
	.gp-reviews__copy,
	.gp-reviews__lead,
	.gp-reviews__title { width: 100%; }
	.gp-photo-stack { align-self: center; }
}

@media (max-width: 860px) {
	.gp-why__head { flex-direction: column; align-items: flex-start; }
	.gp-why__intro { width: auto; }
	.gp-dest-grid { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
}

@media (max-width: 600px) {
	.gp-why__panel { width: calc(100% - 32px); }
	.gp-hero__title { font-size: 40px; }
	.gp-hero__kicker { font-size: 18px; }
	.gp-search__field { flex-basis: 100%; }
	.gp-section-head__actions { flex-wrap: wrap; }
	.gp-featured { padding-bottom: 80px; }
	.gp-why { padding: 64px 0; }
	.gp-benefit,
	.gp-benefit.is-active { min-height: 0; height: auto; }
	.gp-photo-stack { transform: scale(.72); transform-origin: top center; margin-bottom: -158px; }
	.gp-reviews { padding: 80px 0; }
	.gp-journal { padding: 80px 0; }
}

/* Mobile — Figma "GP House mobile 1" (402px). Figma y-values include a 54px
   phone status bar, so page y = Figma y − 54. ------------------------------- */
@media (max-width: 600px) {
	/* Hero */
	.gp-hero { height: auto; }
	.gp-hero__media { height: 552px; min-height: 0; padding: 0; }
	.gp-hero__photo { top: -54px; height: calc(100% + 54px); object-position: 30% 50%; }
	.gp-hero__glow,
	.gp-hero__curve,
	.gp-hero__floor { display: none; }
	.gp-hero__inner { position: relative; display: block; width: calc(100% - 40px); height: 100%; min-height: 0; }
	.gp-hero__copy { position: absolute; top: 178px; left: 4px; width: calc(100% - 8px); gap: 12px; }
	.gp-hero__kicker { font-size: 16px; }
	.gp-hero__title { font-size: 38px; line-height: 44px; }
	.gp-hero__booking { position: absolute; top: 420px; left: 0; width: 100%; }
	.gp-hero__badge {
		left: 0;
		display: flex;
		justify-content: center;
		width: 321px;
		max-width: calc(100% - 40px);
		margin-inline: auto;
		padding: 6px 12px 16px;
		border-radius: 10px 10px 0 0;
		font-size: 14px;
	}
	.gp-search {
		height: 57px;
		margin-top: -10px;
		padding: 0 16px;
		border: 1px solid rgba(255, 255, 255, .25);
		border-radius: 12px;
		background: rgba(20, 22, 32, .45);
		-webkit-backdrop-filter: blur(12px);
		backdrop-filter: blur(12px);
	}
	.gp-search__fields { flex: 1; }
	.gp-search__field { flex-basis: 100%; padding: 0; border: 0; }
	.gp-search__field:not(.is-current),
	.gp-search > .gp-btn,
	.gp-search__label { display: none; }
	.gp-search__field:focus-within { background: none; }
	.gp-search__icon { width: auto; height: auto; border: 0; background: none; }
	.gp-search__text { margin-left: 8px; }
	.gp-search__value { height: auto; font-family: var(--gp-font-body); font-size: 16px; line-height: 1.5; font-variation-settings: "opsz" 14; }
	/* Explore destinations */
	.gp-explore { padding: 38px 0 22px; background: linear-gradient(to bottom, #eeeff1, #fff 160px); }
	.gp-dest-grid { margin-top: 24px; }
	/* Featured */
	.gp-featured { padding: 40px 0 31px; overflow: hidden; }
	.gp-featured .gp-section-head { align-items: center; }
	.gp-featured .gp-heading { flex: 1; }
	.gp-carousel { margin-top: 14px; }
	/* Swipeable row that runs to the screen edges (next card peeks in on the right); cards snap to the 20px gutter. */
	.gp-carousel__track { margin: 0 -20px; padding: 0 20px; scroll-padding-inline: 20px; overscroll-behavior-x: contain; }
	/* Why book direct */
	.gp-why { min-height: 0; padding: 40px 0; }
	.gp-why__panel { width: calc(100% - 40px); gap: 24px; padding: 0; border: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
	.gp-why__head { flex-direction: column; align-items: flex-start; gap: 16px; }
	.gp-why__intro { width: auto; }
	.gp-why__body { gap: 24px; }
	.gp-benefits { gap: 20px; }
	.gp-benefit,
	.gp-benefit.is-active { width: 100%; min-height: 0; height: auto; padding: 8px 14px; align-items: center; }
	.gp-benefit .gp-icon-box { width: 56px; height: 56px; }
	.gp-benefit__text { gap: 4px; }
	.gp-benefit.is-active .gp-benefit__text { gap: 4px; }
	.gp-benefit__text strong { font-size: 18px; }
	.gp-why__art { width: 100%; max-width: none; height: auto; border-radius: 16px; }
	/* Reviews */
	.gp-reviews { padding: 32px 0 80px; }
	.gp-reviews__intro { gap: 51px; min-height: 0; }
	.gp-reviews__copy { gap: 32px; }
	.gp-reviews__count { font-weight: 500; font-size: 20px; }
	.gp-reviews__numbers .gp-text { margin-top: 12px; font-weight: 600; font-size: 14px; }
	.gp-reviews__stats { gap: 9px; }
	.gp-avatars img { width: 36px; height: 36px; }
	.gp-reviews__lead { gap: 12px; }
	.gp-reviews__lead .gp-btn { margin-top: 3px; }
	.gp-photo-stack { margin-bottom: -152px; transform: translateX(-16px) scale(.73); transform-origin: top center; }
	.gp-testimonials { flex-direction: row; align-items: flex-start; gap: 12px; margin-top: 85px; }
	.gp-testimonials__col { flex: 1 1 0; gap: 12px; }
	.gp-testimonials__col:nth-child(3) { display: none; }
	.gp-testimonials__col:nth-child(2) { margin-top: 0; }
	.gp-testimonials__fade { display: block; width: 100%; height: 160px; }
	.gp-testimonials.is-marquee { --gp-marquee-h: 600px; }
	.gp-testimonials.is-marquee .gp-testimonials__fade { height: 120px; }
	/* Journal */
	.gp-journal { padding: 36px 0 40px; }
	.gp-journal__head { align-items: stretch; gap: 16px; }
	.gp-journal .gp-heading--center { align-items: flex-start; text-align: left; }
	.gp-pills { flex-wrap: nowrap; justify-content: flex-start; margin-right: -20px; overflow-x: auto; scrollbar-width: none; }
	.gp-pills__tab { flex: none; }
	.gp-stack { gap: 18px; margin-top: 24px; }
	.gp-journal__more { display: none; }
}

/* Phone search: one field at a time + glass pop-ups (Figma 1455:20139 … 1458:10990) */
.gp-search__stepper, .gp-search__nav, .gp-search__menu, .gp-search__cal, .gp-search__date-label { display: none; }
@media (max-width: 600px) {
	.gp-search__field[data-step-field="2"] { display: none; }
	.gp-search__field.is-current[data-step-field="1"] > .gp-icon:last-child, .gp-search__field.is-current[data-step-field="3"] > .gp-icon:last-child { display: none; }
	.gp-search__value { pointer-events: none; }
	.gp-search__date { position: absolute; width: 1px; height: 1px; opacity: 0; }
	.gp-search__date-label { display: block; color: #fff; font-family: var(--gp-font-body); font-size: 16px; line-height: 24px; }
	.gp-search__field.is-current[data-step-field="3"] .gp-search__value { pointer-events: auto; }
	.gp-search__nav, .gp-search__stepper { position: absolute; top: 50%; z-index: 2; display: flex; align-items: center; transform: translateY(-50%); }
	.gp-search__nav[hidden], .gp-search__stepper[hidden], .gp-search__menu[hidden], .gp-search__cal[hidden] { display: none; }
	.gp-search__nav { right: 9px; gap: 8px; }
	.gp-search__arrow { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border: 1px solid rgba(255, 255, 255, .25); border-radius: 8px; background: rgba(255, 255, 255, .22); cursor: pointer; }
	.gp-search__arrow--next { border-color: var(--gp-primary); background: var(--gp-primary); }
	.gp-search__check { display: none; height: 38px; padding: 0 16px; border: 0; border-radius: 8px; background: var(--gp-primary); color: var(--gp-navy); font: inherit; font-weight: 500; font-size: 16px; line-height: 24px; cursor: pointer; }
	.gp-search.is-last .gp-search__check { display: block; }
	.gp-search.is-last .gp-search__arrow--next { display: none; }
	.gp-search__stepper { left: 17px; gap: 8px; color: #fff; font-size: 14px; }
	.gp-search__step-label { margin-right: 6px; font-size: 12px; opacity: .85; }
	.gp-search__round { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .35); color: #fff; font: inherit; font-size: 20px; line-height: 1; cursor: pointer; }
	.gp-search__round--plus { background: #fff; color: var(--gp-navy); }
	.gp-search__count { min-width: 10px; text-align: center; }
	.gp-search__menu, .gp-search__cal { position: absolute; left: 0; right: 0; bottom: calc(100% + 10px); z-index: 5; margin: 0; padding: 16px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 24px; background: rgba(40, 52, 96, .55); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); list-style: none; }
	.gp-search__menu:not([hidden]) { display: flex; flex-direction: column; gap: 12px; }
	.gp-search__cal:not([hidden]) { display: block; }
	.gp-search__menu button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 44px; padding: 10px 16px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 8px; background: rgba(255, 255, 255, .16); color: #fff; font: inherit; font-size: 16px; line-height: 24px; text-align: left; cursor: pointer; }
	.gp-cal { padding: 16px; border-radius: 16px; background: #fff; color: var(--gp-navy); }
	.gp-cal__head { display: flex; align-items: center; justify-content: space-between; }
	.gp-cal__nav { width: 32px; height: 32px; padding: 0; border: 0; background: none; color: var(--gp-navy); font-size: 28px; line-height: 1; cursor: pointer; }
	.gp-cal__select { height: 34px; padding: 0 6px; border: 1px solid var(--gp-stroke); border-radius: 8px; background: #fff; color: var(--gp-navy); font: inherit; font-size: 16px; }
	.gp-cal__week, .gp-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
	.gp-cal__week { margin-top: 20px; color: var(--gp-text); font-size: 12px; line-height: 16px; }
	.gp-cal__grid { gap: 5px 0; margin-top: 8px; }
	.gp-cal__day { height: 36px; margin: 0 2px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--gp-navy); font: inherit; font-size: 16px; cursor: pointer; }
	.gp-cal__day.is-mid { background: var(--gp-sand-light); }
	.gp-cal__day.is-on { background: var(--gp-navy); color: #fff; }
	.gp-cal__day.is-out, .gp-cal__day:disabled { color: #9a9ca8; cursor: default; }
}
