/* Hero Slider Pro — Styles */

.hsp-wrapper {
	width: 100%;
	--hsp-transition-speed: 1000ms;
	--hsp-kenburns-scale: 1.1;
	--hsp-kenburns-duration: 7000ms;
}

.hsp-banner {
	position: relative;
	width: 100%;
	overflow: hidden;
	background-color: #05060a;
}

/* ---------------- Background slides ---------------- */
.hsp-bg-slides {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hsp-bg-slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transform: scale(1);
	transition: opacity var(--hsp-transition-speed) ease;
	will-change: opacity, transform;
}

.hsp-bg-slide.active {
	opacity: 1;
	z-index: 1;
}

.hsp-banner[data-kenburns="true"] .hsp-bg-slide.active {
	animation: hspKenBurns var(--hsp-kenburns-duration) ease-out forwards;
}

@keyframes hspKenBurns {
	from { transform: scale(1); }
	to   { transform: scale(var(--hsp-kenburns-scale)); }
}

.hsp-overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	background-color: #05060a;
	opacity: 0.6;
}

.hsp-overlay.hsp-has-gradient::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, rgba(2,3,6,0.75) 0%, rgba(2,3,6,0.2) 55%, rgba(2,3,6,0) 75%);
}

/* ---------------- Content slides ---------------- */
/* min-height (not height) is the key fix here: it gives the hero its full
   visual presence when content is short, but lets the box grow taller
   automatically if stacked mobile content (title+subtitle+description+
   buttons+features) needs more room — so content is never clipped. */
.hsp-content-slides {
	position: relative;
	z-index: 3;
	min-height: 92vh;
	display: flex;
	align-items: center;
}

.hsp-content-slide {
	display: none;
	width: 100%;
	opacity: 0;
	pointer-events: none;
	padding-left: 100px;
	padding-right: 100px;
	box-sizing: border-box;
}

.hsp-content-slide.active {
	display: block;
	opacity: 1;
	pointer-events: auto;
}

/* The "container" is the boxed-width area (e.g. matching your site's global
   container) that the content sits inside. Content alignment (left/center/
   right) is applied here, not on .hsp-content, so it works regardless of
   how wide the container itself is. */
.hsp-container {
	width: 100%;
	max-width: 1320px;
	margin: 0 auto;
	display: flex;
	justify-content: flex-start;
}

.hsp-content {
	max-width: 620px;
	box-sizing: border-box;
	color: #fff;
	overflow-wrap: break-word;
	word-break: break-word;
}

.hsp-eyebrow {
	font-size: 13px;
	letter-spacing: 3px;
	font-weight: 700;
	color: #d9a94e;
	text-transform: uppercase;
	margin-bottom: 20px;
}

.hsp-title {
	font-size: 66px;
	font-weight: 800;
	line-height: 1.08;
	margin: 0 0 24px 0;
	text-transform: uppercase;
}

.hsp-title-white {
	color: #f7f5f0;
}

.hsp-title-gold {
	color: #d9a94e;
}

.hsp-subtitle {
	font-size: 22px;
	font-weight: 600;
	color: #f0ece3;
	margin: 0 0 16px 0;
	line-height: 1.4;
}

.hsp-description {
	font-size: 15px;
	line-height: 1.7;
	color: #a9a6ad;
	margin: 0 0 32px 0;
	max-width: 520px;
}

/* ---------------- Buttons ---------------- */
.hsp-buttons {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 30px;
}

.hsp-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	padding: 17px 32px;
	font-size: 15px;
	font-weight: 700;
	border-radius: 8px;
	transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
	white-space: nowrap;
}

.hsp-btn:hover {
	transform: translateY(-3px);
}

.hsp-btn-1 {
	background-color: #d9a94e;
	color: #1a1508;
}

.hsp-btn-1:hover {
	background-color: #f0c46f;
	box-shadow: 0 14px 32px -8px rgba(217, 169, 78, 0.4);
}

.hsp-btn-2 {
	background-color: transparent;
	color: #f0ece3;
	border: 1px solid rgba(240, 236, 227, 0.35);
}

.hsp-btn-2:hover {
	background-color: rgba(255, 255, 255, 0.08);
	border-color: #f0ece3;
}

.hsp-btn-arrow {
	display: inline-block;
	transition: transform 0.3s ease;
}

.hsp-btn:hover .hsp-btn-arrow {
	transform: translateX(5px);
}

/* ---------------- Features ---------------- */
.hsp-features {
	display: flex;
	gap: 28px;
	flex-wrap: wrap;
}

.hsp-feature {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: #c7c4cc;
}

.hsp-check-icon {
	color: #d9a94e;
	font-weight: 700;
	font-size: 13px;
}

/* ---------------- Arrows ---------------- */
.hsp-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 4;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background-color: transparent;
	border: 1px solid rgba(240, 236, 227, 0.3);
	color: #f0ece3;
	font-size: 18px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
	outline: none;
}

.hsp-arrow:hover {
	background-color: #d9a94e;
	border-color: #d9a94e;
	color: #1a1508;
}

.hsp-arrow:focus,
.hsp-arrow:active,
.hsp-arrow:focus-visible {
	outline: none;
	box-shadow: none;
}

.hsp-prev { left: 30px; }
.hsp-next { right: 30px; }

/* ---------------- Entrance animation (replays on every slide change) ---------------- */
.hsp-wrapper[data-entrance="true"] .hsp-entrance-item {
	opacity: 0;
	transform: translateX(-40px);
}

.hsp-wrapper[data-entrance="true"] .hsp-content-slide.active .hsp-entrance-item.hsp-in-view {
	animation-name: hspSlideInLeft;
	animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
	animation-fill-mode: forwards;
}

@keyframes hspSlideInLeft {
	from { opacity: 0; transform: translateX(-40px); }
	to   { opacity: 1; transform: translateX(0); }
}

/* ---------------- Responsive ---------------- */
/* !important is used throughout this section deliberately: Elementor
   prints its own per-widget CSS (from color/typography/etc. controls)
   into the page, and depending on load order that can otherwise win over
   these plain media-query rules even though the media condition is
   correct for the visitor's screen. Since these rules only ever apply
   inside a matching @media block, !important here is safe — it cannot
   affect desktop layout. */

/* Tablet (landscape tablets, small laptops) */
@media (max-width: 991px) {
	.hsp-title { font-size: 46px !important; }
	.hsp-content-slide { padding-left: 90px !important; padding-right: 90px !important; }
	.hsp-subtitle { font-size: 18px !important; }
	.hsp-description { font-size: 14px !important; }
}

/* Tablets portrait / large phones */
@media (max-width: 767px) {
	.hsp-content-slides { padding-top: 40px !important; padding-bottom: 40px !important; }
	.hsp-title { font-size: 38px !important; }
	.hsp-content-slide { padding-left: 64px !important; padding-right: 64px !important; }
	.hsp-eyebrow { font-size: 12px !important; margin-bottom: 14px !important; }
	.hsp-subtitle { font-size: 17px !important; margin-bottom: 12px !important; }
	.hsp-description { margin-bottom: 24px !important; }
	.hsp-arrow { width: 42px !important; height: 42px !important; font-size: 15px !important; }
	.hsp-prev { left: 12px !important; }
	.hsp-next { right: 12px !important; }
}

/* Phones */
@media (max-width: 600px) {
	.hsp-content-slides { padding-top: 90px !important; padding-bottom: 90px !important; }
	.hsp-title { font-size: 30px !important; margin-bottom: 16px !important; }
	.hsp-subtitle { font-size: 16px !important; }
	.hsp-description { font-size: 13px !important; max-width: 100% !important; }
	.hsp-content-slide { padding-left: 56px !important; padding-right: 56px !important; }
	.hsp-eyebrow { letter-spacing: 2px !important; }

	/* Full-width stacked buttons — guarantees no overflow regardless of
	   button label length, and is easier to tap on a phone. */
	.hsp-buttons {
		flex-direction: column !important;
		gap: 12px !important;
		margin-bottom: 24px !important;
	}
	.hsp-btn {
		width: 100% !important;
		justify-content: center !important;
		white-space: normal !important;
		padding: 14px 20px !important;
		font-size: 14px !important;
		box-sizing: border-box !important;
	}

	.hsp-features { gap: 12px 20px !important; }
	.hsp-feature { font-size: 13px !important; }

	.hsp-arrow { width: 38px !important; height: 38px !important; font-size: 14px !important; }
	.hsp-prev { left: 8px !important; }
	.hsp-next { right: 8px !important; }
}

/* Small phones (SE, older Android widths) */
@media (max-width: 380px) {
	.hsp-content-slide { padding-left: 48px !important; padding-right: 48px !important; }
	.hsp-title { font-size: 26px !important; }
	.hsp-subtitle { font-size: 15px !important; }
	.hsp-eyebrow { font-size: 11px !important; letter-spacing: 1.5px !important; }
	.hsp-arrow { width: 34px !important; height: 34px !important; font-size: 13px !important; }
	.hsp-prev { left: 6px !important; }
	.hsp-next { right: 6px !important; }
}

/* Short/landscape phones — vh-based min-height can be too tall when the
   viewport itself is short; let content size the banner more naturally. */
@media (max-height: 480px) and (orientation: landscape) {
	.hsp-content-slides { min-height: 0 !important; padding-top: 40px !important; padding-bottom: 40px !important; }
}
