/*
 * The home page, built to "Final — Homepage desktop (C)" (1440 wide) and
 * "Final — Homepage mobile (C)" (390 wide) in nailux-landing.pen.
 * Every number below is read off those boards. Loaded on the front page
 * only (functions.php), so no other page can change with it.
 */

body.nx-new {
	background: #fff;
	color: #0a0a0b;
	line-height: normal;
	font-family: "Outfit", system-ui, sans-serif;
}

body.nx-new main { max-width: 1440px; margin: 0 auto; }

.hp-ico, .hp-wa-logo { flex: none; display: block; }

/* ---------- Header (desktop: 1440 × 87, padding 20/48) ---------- */

.hp-head { position: sticky; top: 0; z-index: 100; max-width: 1440px; margin: 0 auto; background: #fff; }
.admin-bar .hp-head { top: 32px; }
@media (max-width: 782px) { .admin-bar .hp-head { top: 46px; } }
@media (max-width: 600px) { .admin-bar .hp-head { top: 0; } }
.hp-head-inner { display: flex; align-items: center; justify-content: space-between; padding: 20px 48px; }

.hp-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 600; line-height: 30px; color: #0a0a0b; text-decoration: none; }
.hp-brand-mark { width: 28px; height: 28px; border-radius: 6px; background: #f09c72; }

.hp-switch { display: flex; gap: 4px; padding: 4px; background: #f1f1f3; border-radius: 999px; }
.hp-switch a { padding: 10px 20px; border-radius: 999px; font-size: 15px; font-weight: 500; line-height: 19px; color: #3f4448; text-decoration: none; white-space: nowrap; }
.hp-switch a.is-on { background: #0a0a0b; color: #fff; }

.hp-head-actions { display: flex; align-items: center; gap: 20px; }

.hp-track { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid #d9dadd; border-radius: 999px; font-size: 15px; font-weight: 500; line-height: 19px; color: #0a0a0b; text-decoration: none; }
.hp-track .hp-ico { color: #a9522c; }

.hp-head-wa { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #25d366; color: #fff; font-size: 15px; font-weight: 600; line-height: 20px; text-decoration: none; }

.hp-menu { display: none !important; }
.hp-menu-panel { display: none; }

/* ---------- Hero (wrap padding 0/24, card 1392 × 640, r28) ---------- */

.hp-hero { padding: 0 24px; }
.hp-hero-media {
	position: relative; overflow: hidden; border-radius: 28px; height: 640px;
	display: flex; flex-direction: column; justify-content: flex-end; gap: 28px;
	padding: 0 48px 48px; background: #2a1a12 center / cover no-repeat;
}
.hp-hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,11,.4) 0%, rgba(10,10,11,.9) 100%); }
.hp-hero-title { position: relative; max-width: 1000px; margin: 0; color: #fff; font-size: 68px; font-weight: 500; line-height: 1.05; letter-spacing: -1.5px; }

.hp-book { position: relative; display: flex; align-items: center; width: 980px; max-width: 100%; height: 76px; padding: 8px; background: #fff; border-radius: 999px; }
.hp-book-dates { display: contents; }
.hp-book-field { flex: 1 1 0; display: flex; flex-direction: column; gap: 2px; padding: 10px 28px; border-right: 1px solid #e4e4e7; min-width: 0; cursor: pointer; }
.hp-book-guests { border-right: 0; }
.hp-book-field span { font-size: 14px; font-weight: 600; line-height: 18px; color: #0a0a0b; }
.hp-book-field select, .hp-book-field input {
	border: 0; padding: 0; margin: 0; background: transparent; width: 100%; min-width: 0; height: 20px;
	font: 400 16px/20px "Outfit", system-ui, sans-serif; color: #6b7074; -webkit-appearance: none; appearance: none; outline-offset: 4px;
}
.hp-book-field input::placeholder { color: #6b7074; opacity: 1; }
.hp-book-field input::-webkit-calendar-picker-indicator { opacity: .5; }
.hp-book-go {
	flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 52px; padding: 16px 26px; border: 0; border-radius: 999px; background: #f09c72; color: #0a0a0b;
	font: 600 16px/20px "Outfit", system-ui, sans-serif; cursor: pointer;
}

/* ---------- Promise strip (padding 28/72, 16px #3F4448, icons 20 #A9522C) ---------- */

.hp-promise { display: flex; justify-content: space-between; margin: 0; padding: 28px 72px; list-style: none; }
.hp-promise li { display: flex; align-items: center; gap: 10px; font-size: 16px; line-height: 20px; color: #3f4448; }
.hp-promise .hp-ico { color: #a9522c; }

/* ---------- Stays (padding 72/72/96/72, gap 32) ---------- */

.hp-stays { display: flex; flex-direction: column; gap: 32px; padding: 72px 72px 96px; }
.hp-stays-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hp-stays-head h2 { margin: 0; font-size: 44px; font-weight: 500; line-height: 55px; letter-spacing: -1px; }

.hp-chips { display: flex; gap: 8px; }
.hp-chips a { padding: 8px 16px; border-radius: 999px; background: #f1f1f3; color: #3f4448; font-size: 14px; font-weight: 500; line-height: 18px; text-decoration: none; white-space: nowrap; }
.hp-chips a.is-on { background: #0a0a0b; color: #fff; }

.hp-stay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.hp-stay a { display: flex; flex-direction: column; gap: 14px; color: #0a0a0b; text-decoration: none; }
.hp-stay-shot { display: block; aspect-ratio: 306 / 300; border-radius: 20px; overflow: hidden; background: #f1f1f3; }
.hp-stay-shot img { width: 100%; height: 100%; object-fit: cover; }
.hp-stay-shot .nxp-noshot { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: #b5b8bc; }
.hp-stay-text { display: flex; flex-direction: column; gap: 4px; }
.hp-stay-name { font-size: 19px; font-weight: 600; line-height: 24px; }
.hp-stay-meta { font-size: 15px; line-height: 19px; color: #5b6064; }
.hp-stay-price { display: flex; align-items: baseline; gap: 4px; }
.hp-stay-price b { font-size: 19px; font-weight: 600; line-height: 24px; }
.hp-stay-price small { font-size: 15px; color: #5b6064; }

.hp-all { display: inline-flex; align-items: center; gap: 8px; padding: 13px 21px; border: 1px solid #0a0a0b; border-radius: 999px; color: #0a0a0b; font-size: 16px; font-weight: 600; line-height: 20px; text-decoration: none; }

/* ---------- Own in Ghana (wrap 0/24, card padding 96/48, gap 56, r28) ---------- */

.hp-own { padding: 0 24px; }
.hp-own-inner { display: flex; flex-direction: column; gap: 56px; padding: 96px 48px; background: #0a0a0b; color: #fff; border-radius: 28px; }

.hp-own-head { display: flex; align-items: flex-end; gap: 64px; }
.hp-own-l { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.hp-eyebrow { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 2px; line-height: 16px; color: #f09c72; }
.hp-own-l h2 { margin: 0; font-size: 52px; font-weight: 500; line-height: 1.08; letter-spacing: -1px; color: #fff; }
.hp-own-cta { width: 360px; flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hp-own-cta p { margin: 0; font-size: 17px; line-height: 1.5; color: #c9ccd0; }

.hp-wa { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 999px; background: #25d366; color: #fff; font-size: 16px; font-weight: 600; line-height: 20px; text-decoration: none; }

.hp-svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hp-svc { display: flex; flex-direction: column; background: #17171a; border-radius: 20px; overflow: hidden; }
.hp-svc-shot { height: 220px; background: #1d1d20 center / cover no-repeat; }
.hp-svc-body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px; }
.hp-svc h3 { margin: 0; font-size: 28px; font-weight: 500; line-height: 35px; }
.hp-svc p { margin: 0; font-size: 16px; line-height: 1.5; color: #b5b8bc; }
.hp-svc a { display: inline-flex; align-items: center; gap: 6px; color: #f09c72; font-size: 16px; font-weight: 600; line-height: 20px; text-decoration: none; }

.hp-tracker { display: flex; align-items: center; gap: 32px; padding: 23px 27px; border: 1px solid #2a2a2e; border-radius: 16px; }
.hp-tracker-l { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.hp-tracker h3 { margin: 0; font-size: 20px; font-weight: 500; line-height: 25px; }
.hp-tracker p { margin: 0; font-size: 16px; line-height: 20px; color: #a3a7ab; }
.hp-stages { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hp-stages li { padding: 6px 12px; border-radius: 999px; background: #1d1d20; color: #8e9398; font-size: 14px; font-weight: 500; line-height: 18px; }
.hp-stages li.is-done { background: #2a1a12; color: #f09c72; }
.hp-stages li.is-now { background: #f09c72; color: #0a0a0b; }
.hp-tracker-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: #fff; color: #0a0a0b; font-size: 15px; font-weight: 600; line-height: 19px; text-decoration: none; white-space: nowrap; }
.hp-tracker-btn .hp-ico { display: none; color: #a9522c; }

/* ---------- Plot check (padding 64/72/32/72, gap 20) ---------- */

.hp-check { display: flex; flex-direction: column; gap: 20px; padding: 64px 72px 32px; }
.hp-check-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hp-check-head h2 { margin: 0; font-size: 28px; font-weight: 500; line-height: 35px; }
.hp-check-more { color: #a9522c; font-size: 16px; font-weight: 600; line-height: 20px; text-decoration: none; white-space: nowrap; }
.hp-check-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.hp-check-list li { display: flex; align-items: center; gap: 12px; padding: 18px 20px; background: #f6f6f7; border-radius: 14px; font-size: 17px; font-weight: 500; line-height: 21px; }
.hp-check-list span { font: 400 14px/17px "JetBrains Mono", ui-monospace, monospace; color: #a9522c; }

.hp-only-sm { display: none; }

/* ---------- Quote (padding 112/72, gap 64) ---------- */

.hp-quote { display: flex; align-items: center; gap: 64px; padding: 112px 72px; }
.hp-quote-photo { flex: none; width: 520px; height: 400px; border-radius: 20px; background: #f1f1f3 center / cover no-repeat; }
.hp-quote blockquote { flex: 1; display: flex; flex-direction: column; gap: 20px; margin: 0; }
.hp-quote blockquote p { margin: 0; font-size: 40px; font-weight: 500; line-height: 1.15; letter-spacing: -.5px; }
.hp-quote cite { font-style: normal; font-size: 16px; line-height: 20px; color: #5b6064; }

/* ---------- Closing (padding 0/24/24/24, card 88/48, gap 28, r28) ---------- */

.hp-close { padding: 0 24px 24px; }
.hp-close-inner { display: flex; flex-direction: column; gap: 28px; padding: 88px 48px; background: #f09c72; border-radius: 28px; }
.hp-close h2 { max-width: 820px; margin: 0; font-size: 52px; font-weight: 500; line-height: 1.05; letter-spacing: -1px; color: #0a0a0b; }
.hp-close-actions { display: flex; gap: 12px; }
.hp-close .hp-wa { padding: 16px 24px; }
.hp-mail { display: inline-flex; align-items: center; justify-content: center; padding: 15px 23px; border: 1px solid #0a0a0b; border-radius: 999px; color: #0a0a0b; font-size: 16px; font-weight: 600; line-height: 20px; text-decoration: none; }

/* ---------- Footer (#F1F1F3, padding 48/72) ---------- */

.hp-foot { display: flex; flex-direction: column; padding: 48px max(72px, calc((100% - 1296px) / 2)); background: #f1f1f3; }
.hp-foot-brand { margin: 0 0 6px; font-size: 22px; font-weight: 600; line-height: 28px; color: #0a0a0b; }
.hp-foot-co { margin: 0 0 20px; font-size: 16px; line-height: 20px; color: #5b6064; }
.hp-foot-br { display: none; }
.hp-foot-links { display: flex; flex-wrap: wrap; gap: 28px; }
.hp-foot-links a { font-size: 16px; line-height: 20px; color: #3f4448; text-decoration: none; }

/* ---------- Between the boards: the desktop layout, folding ---------- */

@media (max-width: 1280px) {
	.hp-hero-title { font-size: 56px; }
	.hp-switch a { padding: 10px 14px; }
	.hp-head-actions { gap: 12px; }
	.hp-own-l h2, .hp-close h2 { font-size: 44px; }
}

@media (max-width: 1100px) {
	.hp-head-inner { flex-wrap: wrap; row-gap: 12px; }
	.hp-switch { order: 3; flex: 1 0 100%; }
	.hp-switch a { flex: 1 0 auto; text-align: center; }
	.hp-stay-grid { grid-template-columns: repeat(2, 1fr); }
	.hp-check-list { grid-template-columns: repeat(2, 1fr); }
	.hp-own-head { flex-direction: column; align-items: flex-start; gap: 24px; }
	.hp-tracker { flex-wrap: wrap; }
	.hp-tracker-l { flex-basis: 100%; }
	.hp-promise { flex-wrap: wrap; gap: 14px 32px; justify-content: flex-start; }
	.hp-stays-head { flex-wrap: wrap; }
	.hp-quote-photo { width: 42%; height: auto; aspect-ratio: 520 / 400; }
}

/* ---------- Mobile board (390 wide) ---------- */

@media (max-width: 760px) {
	body.nx-new main { max-width: none; }

	/* Header: 68 tall, padding 14/16 */
	.hp-head-inner { padding: 14px 16px 0; row-gap: 0; }
	.hp-brand { gap: 8px; font-size: 20px; line-height: 25px; }
	.hp-brand-mark { width: 24px; height: 24px; border-radius: 5px; }
	.hp-head-actions { gap: 8px; }
	.hp-track { display: none; }
	.hp-head-wa { width: 40px; height: 40px; padding: 0; justify-content: center; }
	.hp-head-wa span { display: none; }
	.hp-head-wa .hp-wa-logo { width: 22px; height: 22px; }
	.nx-js .hp-menu, .hp-menu {
		display: inline-flex !important; align-items: center; gap: 6px; height: 39px !important; min-height: 0 !important; min-width: 0; padding: 0 13px !important; margin: 0;
		border: 1px solid #d9dadd; border-radius: 999px; background: #fff; color: #0a0a0b;
		font: 500 15px/19px "Outfit", system-ui, sans-serif; cursor: pointer;
	}

	/* Mode switch: wrap padding 0/16/12/16, pills 9/12, 14px */
	.hp-switch { order: 3; flex: 1 0 100%; margin: 14px 0 12px; gap: 2px; overflow-x: auto; scrollbar-width: none; }
	.hp-switch a { padding: 9px 12px; font-size: 14px; line-height: 18px; }

	.nx-js .hp-menu-panel { display: none; }
	.nx-js [data-nav].is-open .hp-menu-panel { display: flex; }
	.hp-menu-panel { display: flex; flex-direction: column; padding: 0 16px 12px; background: #fff; }
	.hp-menu-panel a { padding: 14px 4px; border-top: 1px solid #f1f1f3; color: #0a0a0b; font-size: 16px; font-weight: 500; text-decoration: none; }

	/* Hero: wrap 0/12, card 366 × 560, padding 0/20/20/20, gap 20, r24 */
	.hp-hero { padding: 0 12px; }
	.hp-hero-media { height: 560px; padding: 0 20px 20px; gap: 20px; border-radius: 24px; }
	.hp-hero-title { font-size: 36px; line-height: 1.08; letter-spacing: -.8px; }

	.hp-book { flex-direction: column; align-items: stretch; width: auto; height: auto; padding: 6px; border-radius: 18px; }
	.hp-book-dates { display: flex; }
	.hp-book-dates .hp-book-field { flex: 1 1 50%; }
	.hp-book-field { flex: none; height: 60px; padding: 10px 14px; border-right: 0; border-bottom: 1px solid #e4e4e7; }
	.hp-book-dates .hp-book-field + .hp-book-field { border-left: 1px solid #e4e4e7; }
	.hp-book-guests { border-bottom: 0; }
	.hp-book-go { width: 100%; padding: 16px; border-radius: 14px; }

	/* Promises: padding 24/20, gap 14, stacked */
	.hp-promise { flex-direction: column; flex-wrap: nowrap; gap: 14px; padding: 24px 20px; }

	/* Stays: padding 32/0/40/20, gap 18 */
	.hp-stays { gap: 18px; padding: 32px 0 40px 20px; }
	.hp-stays-head { flex-direction: column; align-items: flex-start; gap: 18px; }
	.hp-stays-head h2 { font-size: 28px; line-height: 35px; letter-spacing: -.5px; }
	.hp-chips { max-width: 100%; overflow-x: auto; padding-right: 20px; scrollbar-width: none; }
	.hp-chips a { padding: 8px 14px; }

	.hp-stay-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-right: 20px; scrollbar-width: none; }
	.hp-stay { flex: 0 0 290px; scroll-snap-align: start; }
	.hp-stay a { gap: 10px; }
	.hp-stay-shot { aspect-ratio: auto; height: 220px; border-radius: 18px; }
	.hp-stay-text { gap: 10px; }
	.hp-stay-name { font-size: 18px; line-height: 23px; }
	.hp-stay-price b { font-size: 18px; line-height: 23px; }
	.hp-stays-all { padding-right: 20px; }
	.hp-all { display: flex; justify-content: center; width: 100%; padding: 14px; }

	/* Own: wrap 0/12, card padding 40/20, gap 24, r24 */
	.hp-own { padding: 0 12px; }
	.hp-own-inner { gap: 24px; padding: 40px 20px; border-radius: 24px; }
	.hp-own-head { gap: 24px; }
	.hp-own-l { gap: 24px; }
	.hp-own-l h2 { font-size: 30px; line-height: 1.1; letter-spacing: -.5px; }
	.hp-own-cta { width: 100%; gap: 24px; }
	.hp-own-cta p { font-size: 16px; }
	.hp-wa { width: 100%; padding: 16px; }

	.hp-svc-grid { grid-template-columns: 1fr; gap: 24px; }
	.hp-svc { border-radius: 18px; }
	.hp-svc-shot { height: 170px; }
	.hp-svc-body { gap: 10px; padding: 20px; }
	.hp-svc h3 { font-size: 24px; line-height: 30px; }

	.hp-tracker { flex-direction: column; align-items: flex-start; gap: 14px; padding: 19px; }
	.hp-tracker-l { gap: 14px; }
	.hp-tracker p { line-height: 1.5; }
	.hp-stages { gap: 6px; }
	.hp-stages li { padding: 6px 10px; }
	.hp-tracker-btn { width: 100%; padding: 14px; font-size: 16px; line-height: 20px; }
	.hp-tracker-btn .hp-ico { display: block; }

	/* Plot check: padding 40/20/8/20, gap 16 */
	.hp-check { gap: 16px; padding: 40px 20px 8px; }
	.hp-check-head h2 { font-size: 24px; line-height: 30px; letter-spacing: -.5px; }
	.hp-check-list { grid-template-columns: 1fr; gap: 16px; }
	.hp-check-list li { padding: 16px 18px; }
	.hp-only-lg { display: none !important; }
	.hp-only-sm { display: inline; }
	.hp-check-more.hp-only-sm { display: block; }

	/* Quote: padding 40/20, gap 20, photo 350 × 260 on top */
	.hp-quote { flex-direction: column; align-items: stretch; gap: 20px; padding: 40px 20px; }
	.hp-quote-photo { width: 100%; height: 260px; aspect-ratio: auto; }
	.hp-quote blockquote p { font-size: 24px; line-height: 1.2; letter-spacing: 0; }
	.hp-quote cite { font-size: 15px; }

	/* Closing: wrap 0/12/12/12, card padding 40/20, gap 16, r24 */
	.hp-close { padding: 0 12px 12px; }
	.hp-close-inner { gap: 16px; padding: 40px 20px; border-radius: 24px; }
	.hp-close h2 { font-size: 32px; line-height: 1.08; letter-spacing: -.5px; }
	.hp-close-actions { flex-direction: column; gap: 16px; }
	.hp-close .hp-wa { padding: 16px; }
	.hp-mail { width: 100%; padding: 14px; }

	/* Footer: padding 32/20/40/20, gap 18; brand, links, then company */
	.hp-foot { padding: 32px 20px 40px; }
	.hp-foot-brand { order: 1; margin: 0 0 18px; }
	.hp-foot-links { order: 2; flex-direction: column; gap: 12px; margin-bottom: 18px; }
	.hp-foot-co { order: 3; margin: 0; font-size: 14px; line-height: 1.6; }
	.hp-foot-sep { display: none; }
	.hp-foot-br { display: inline; }
}

/* Client sign-in and file pages, inside the new header and footer. */
body.nx-new .page--portal { padding: 0 20px 56px; }
