/* Real Krabi – homepage (page 5, template rk-full). Loaded on the front page only. Uses the --rkp-* tokens from pages.css. */

/* hero */
.rkp-home .rkh-home-hero { min-height: max(640px, 92vh); padding: 150px 0 190px; }
.rkp-home .rkh-home-hero::before {
	background:
		linear-gradient(180deg, rgba(7, 18, 27, .62) 0%, rgba(7, 18, 27, .45) 40%, rgba(7, 18, 27, .8) 100%),
		radial-gradient(circle at center, transparent 35%, rgba(0, 0, 0, .28) 100%);
}
.rkp-home .rkh-home-hero .rkp-h1 { font-size: clamp(42px, 6.4vw, 84px); line-height: 1.04; }
.rkh-pill { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; margin: 0 0 24px !important; padding: 10px 22px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(6px); }
.rkh-pill span { color: rgba(255, 255, 255, .86); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.rkh-pill span + span::before { content: "•"; margin: 0 12px; color: var(--rkp-gold); }

/* path cards overlapping the hero */
.rkh-home-paths { position: relative; z-index: 3; margin-top: -120px; }
.rkh-home-paths .rkp-path { min-height: 300px; }

/* popular tours */
.rkp-home #popular { padding-top: 88px; }
.rkp-home #popular .rkx-card { min-height: 440px; }

/* custom itinerary */
.rkh-checks-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 24px 0 28px; }
.rkh-checks-2 li { margin: 0 !important; }
.rkh-note { margin: 16px 0 0 !important; font-size: 14px; color: rgba(255, 255, 255, .7); }
.rkp-home .rkp-band .rkp-media img { aspect-ratio: 3 / 2; object-fit: cover; }

/* why us */
.rkh-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.rkh-feature {
	display: grid; grid-template-columns: 38% minmax(0, 1fr); overflow: hidden; min-height: 240px;
	background: #fff; border: 1px solid var(--rkp-line); border-radius: var(--rkp-radius); box-shadow: var(--rkp-shadow);
	transition: transform .25s, box-shadow .25s;
}
.rkh-feature:hover { transform: translateY(-3px); box-shadow: var(--rkp-shadow-lg); }
.rkh-feature img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rkh-feature-body { padding: 28px 28px 30px; }
.rkh-feature-num { display: block; font-family: var(--rkp-serif); font-size: 34px; line-height: 1; color: var(--rkp-gold); margin-bottom: 10px; }
.rkh-feature h3 { margin: 0 0 12px !important; padding-bottom: 12px; border-bottom: 2px solid var(--rkp-gold); font-family: var(--rkp-serif) !important; font-size: 22px !important; color: var(--rkp-navy) !important; }
.rkh-feature p { margin: 0 !important; color: var(--rkp-muted); font-size: 15.5px; line-height: 1.65; }

@media (max-width: 1024px) {
	.rkh-features { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	.rkp-home .rkh-home-hero { min-height: 0; padding: 130px 0 150px; }
	.rkh-pill { padding: 8px 14px; }
	.rkh-pill span { font-size: 10.5px; letter-spacing: .12em; }
	.rkh-pill span + span::before { margin: 0 8px; }
	.rkh-home-paths { margin-top: -90px; }
	.rkh-home-paths .rkp-path { min-height: 240px; }
	.rkp-home #popular { padding-top: 56px; }
	.rkh-checks-2 { grid-template-columns: 1fr; }
	.rkh-feature { grid-template-columns: 1fr; }
	.rkh-feature img { aspect-ratio: 16 / 10; height: auto; }
}

/* contact form on navy (homepage) */
.rkh-form-band { padding: 96px 0; }
.rkh-form-dark.rkp-panel { position: relative; z-index: 1; background: rgba(255, 255, 255, .04); border: 1px solid rgba(214, 168, 79, .2); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.rkh-form-dark h2 { color: #fff !important; margin-bottom: 8px; }
.rkh-form-dark .rkp-lead { margin: 0 !important; font-size: 16px; }
.rkp-form.rkh-form-dark .jet-form-builder__label-text, .rkp-form.rkh-form-dark .jet-form-builder__label { color: #faf8f5 !important; }
.rkp-form.rkh-form-dark .jet-form-builder__required { color: var(--rkp-gold) !important; }
.rkp-form.rkh-form-dark input[type=text], .rkp-form.rkh-form-dark input[type=email], .rkp-form.rkh-form-dark input[type=tel], .rkp-form.rkh-form-dark select, .rkp-form.rkh-form-dark textarea { background: rgba(255, 255, 255, .06) !important; border: 1px solid rgba(255, 255, 255, .16) !important; color: #fff !important; }
.rkp-form.rkh-form-dark input::placeholder, .rkp-form.rkh-form-dark textarea::placeholder { color: rgba(255, 255, 255, .45) !important; }
.rkp-form.rkh-form-dark select option { background: #0f2532; color: #fff; }
.rkp-form.rkh-form-dark input:focus, .rkp-form.rkh-form-dark select:focus, .rkp-form.rkh-form-dark textarea:focus { background: rgba(255, 255, 255, .1) !important; border-color: var(--rkp-gold) !important; box-shadow: 0 0 0 4px rgba(214, 168, 79, .18) !important; }
.rkp-form.rkh-form-dark .jet-form-builder-message--success { background: rgba(47, 138, 91, .2); color: #c9f0d9; }
@media (max-width: 767px) { .rkh-form-band { padding: 64px 0; } }
