/* ============================================================
   NB Hospitality & Yacht Contract section (widget: nb_hospitality_contract)
   Typography + colors reference Elementor global tokens:
   - Display serif: global typography cef10f5 ("H1 Alter" / Antic Didone)
   - Button type:   global typography accent
   - Colors:        kit globals (primary #141414, cream 9314a05, carmine 915d108)
   Heading rules carry !important because the Elementor kit styles h1-h6
   (.elementor-kit-XXXX h2 { ... }) with colors/sizes meant for light pages.
   ============================================================ */

.nbhc {
	--nbhc-bg: var(--e-global-color-primary, #141414);
	--nbhc-heading: var(--e-global-color-b24c5ec, #ffffff);
	--nbhc-text: rgba(255, 255, 255, 0.68);
	--nbhc-accent: var(--e-global-color-915d108, #af3142);
	--nbhc-surface: rgba(255, 255, 255, 0.04);
	--nbhc-border: rgba(255, 255, 255, 0.16);
	--nbhc-display-font: var(--e-global-typography-cef10f5-font-family, inherit);
	--nbhc-display-weight: var(--e-global-typography-cef10f5-font-weight, 300);
	--nbhc-btn-font: var(--e-global-typography-accent-font-family, inherit);

	background: var(--nbhc-bg);
	color: var(--nbhc-text);
	padding: clamp(64px, 9vw, 128px) clamp(20px, 5vw, 64px);
	overflow: hidden;

	/* Full-bleed: escape any boxed parent layout. */
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.nbhc--light {
	--nbhc-bg: var(--e-global-color-b24c5ec, #ffffff);
	--nbhc-heading: var(--e-global-color-primary, #141414);
	--nbhc-text: var(--e-global-color-f3b8602, #525252);
	--nbhc-surface: rgba(20, 20, 20, 0.02);
	--nbhc-border: rgba(20, 20, 20, 0.14);
}

.nbhc .nbhc__inner {
	max-width: 1280px;
	margin: 0 auto;
}

/* ---------- Header ---------- */

.nbhc .nbhc__header {
	max-width: 780px;
	margin: 0 auto clamp(48px, 6vw, 88px);
	text-align: center;
}

.nbhc .nbhc__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 22px;
	font-size: 12px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--nbhc-text);
}

.nbhc .nbhc__eyebrow-line {
	width: 34px;
	height: 1px;
	background: var(--nbhc-accent);
}

.nbhc .nbhc__title {
	margin: 0 0 24px;
	font-family: var(--nbhc-display-font) !important;
	font-weight: var(--nbhc-display-weight) !important;
	font-size: clamp(34px, 4.6vw, 62px) !important;
	line-height: 1.25 !important;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	color: var(--nbhc-heading) !important;
}

.nbhc .nbhc__lead {
	margin: 0;
	font-size: 16px;
	line-height: 1.85;
	color: var(--nbhc-text);
}

/* ---------- Path cards ---------- */

.nbhc .nbhc__paths {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(40px, 5vw, 72px);
	align-items: stretch;
}

.nbhc .nbhc__or {
	position: absolute;
	left: 50%;
	top: 0;
	bottom: 0;
	transform: translateX(-50%);
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	pointer-events: none;
}

.nbhc .nbhc__or::before,
.nbhc .nbhc__or::after {
	content: "";
	flex: 1 1 auto;
	width: 1px;
	background: var(--nbhc-border);
}

.nbhc .nbhc__or span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	margin: 14px 0;
	border: 1px solid var(--nbhc-border);
	border-radius: 50%;
	background: var(--nbhc-bg);
	font-family: var(--nbhc-display-font);
	font-size: 19px;
	font-style: italic;
	color: var(--nbhc-heading);
}

.nbhc .nbhc__card {
	display: flex;
	flex-direction: column;
	background: var(--nbhc-surface);
	border: 1px solid var(--nbhc-border);
	transition: border-color 0.3s ease;
}

.nbhc .nbhc__card:hover {
	border-color: var(--nbhc-accent);
}

.nbhc .nbhc__card-media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.nbhc .nbhc__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.nbhc .nbhc__card:hover .nbhc__img {
	transform: scale(1.045);
}

.nbhc .nbhc__card-body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: clamp(26px, 3vw, 40px);
}

.nbhc .nbhc__card-meta {
	display: flex;
	align-items: baseline;
	gap: 14px;
	margin-bottom: 16px;
}

.nbhc .nbhc__card-num {
	font-family: var(--nbhc-display-font);
	font-weight: var(--nbhc-display-weight);
	font-size: 30px;
	line-height: 1;
	color: var(--nbhc-accent);
}

.nbhc .nbhc__card-label {
	font-size: 11px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--nbhc-text);
}

.nbhc .nbhc__card-title {
	margin: 0 0 14px;
	font-family: var(--nbhc-display-font) !important;
	font-weight: var(--nbhc-display-weight) !important;
	font-size: clamp(24px, 2.4vw, 32px) !important;
	line-height: 1.35 !important;
	text-transform: uppercase;
	color: var(--nbhc-heading) !important;
}

.nbhc .nbhc__card-text {
	margin: 0 0 26px;
	font-size: 15px;
	line-height: 1.85;
	color: var(--nbhc-text);
}

.nbhc .nbhc__card-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: auto;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--nbhc-heading);
	text-decoration: none;
	cursor: pointer;
	transition: color 0.25s ease;
}

.nbhc .nbhc__card-link:hover,
.nbhc .nbhc__card-link:focus {
	color: var(--nbhc-accent);
}

.nbhc .nbhc__arrow {
	transition: transform 0.25s ease;
}

.nbhc .nbhc__card-link:hover .nbhc__arrow {
	transform: translateX(5px);
}

/* ---------- Features ---------- */

.nbhc .nbhc__features {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(24px, 3vw, 44px);
	list-style: none;
	margin: clamp(48px, 6vw, 88px) 0 0;
	padding: clamp(36px, 4vw, 56px) 0 0;
	border-top: 1px solid var(--nbhc-border);
}

.nbhc .nbhc__feature {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	margin: 0;
}

.nbhc .nbhc__feature-mark {
	flex: 0 0 auto;
	margin-top: 7px;
	color: var(--nbhc-accent);
}

.nbhc .nbhc__feature-title {
	margin: 0 0 8px;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: 0.14em;
	line-height: 1.5 !important;
	text-transform: uppercase;
	color: var(--nbhc-heading) !important;
}

.nbhc .nbhc__feature-text {
	margin: 0;
	font-size: 14px;
	line-height: 1.75;
	color: var(--nbhc-text);
}

/* ---------- CTA ---------- */

.nbhc .nbhc__cta {
	margin-top: clamp(48px, 6vw, 80px);
	text-align: center;
}

.nbhc .nbhc__btn {
	display: inline-block;
	padding: 14px 36px;
	border: 1px solid var(--nbhc-heading);
	border-radius: 30px;
	font-family: var(--nbhc-btn-font);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--nbhc-heading);
	background: transparent;
	cursor: pointer;
	transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.nbhc .nbhc__btn:hover,
.nbhc .nbhc__btn:focus {
	background: var(--nbhc-heading);
	color: var(--nbhc-bg);
}

.nbhc .nbhc__cta-note {
	margin: 16px 0 0;
	font-size: 12px;
	letter-spacing: 0.08em;
	color: var(--nbhc-text);
}

/* ---------- Accessibility ---------- */

.nbhc a:focus-visible {
	outline: 2px solid var(--nbhc-accent);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.nbhc .nbhc__img,
	.nbhc .nbhc__arrow,
	.nbhc .nbhc__card,
	.nbhc .nbhc__card-link,
	.nbhc .nbhc__btn {
		transition: none;
	}

	.nbhc .nbhc__card:hover .nbhc__img {
		transform: none;
	}
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
	.nbhc .nbhc__features {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	.nbhc .nbhc__paths {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.nbhc .nbhc__or {
		position: static;
		transform: none;
		flex-direction: row;
		width: 100%;
	}

	.nbhc .nbhc__or::before,
	.nbhc .nbhc__or::after {
		width: auto;
		height: 1px;
	}

	.nbhc .nbhc__or span {
		width: 50px;
		height: 50px;
		margin: 0 16px;
	}
}

@media (max-width: 480px) {
	.nbhc .nbhc__features {
		grid-template-columns: 1fr;
	}
}

/* ---------- Anchor target (contact form section) ---------- */

#contactuscontract {
	scroll-margin-top: 110px;
}

