/* WhiteGlove Hero Slider */
.wg-hero {
	--wg-c1: #1fc8ea;
	--wg-c2: #2f6bf0;
	--wg-c3: #d62be0;
	--wg-grad: linear-gradient(90deg, var(--wg-c1) 0%, var(--wg-c2) 50%, var(--wg-c3) 100%);
	--wg-border: rgba(255, 255, 255, .14);
	--wg-ink: #ffffff;
	--wg-ov: .15;
	font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
	color: var(--wg-ink);
	position: relative;
	padding: 72px 0 48px;
	box-sizing: border-box;
	background: #040714;
	overflow: hidden;
	isolation: isolate;
}
.wg-hero__inner { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; padding: 0 28px; }

/* ---------- Background layers ---------- */
.wg-hero__bgs { position: absolute; inset: 0; z-index: 0; }
.wg-hero__bg {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	opacity: 0; transform: scale(1.06);
	transition: opacity 1.1s ease, transform 8s ease-out;
}
.wg-hero__bg.is-active { opacity: 1; transform: scale(1); }
.wg-hero__shade {
	position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(4, 7, 20, calc(var(--wg-ov) + .32)) 0%, rgba(4, 7, 20, calc(var(--wg-ov) + .06)) 55%, rgba(4, 7, 20, var(--wg-ov)) 100%),
		linear-gradient(180deg, rgba(4, 7, 20, 0) 60%, rgba(4, 7, 20, .55) 100%);
}
.wg-hero *, .wg-hero *::before, .wg-hero *::after { box-sizing: border-box; }

.wg-hero__top {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: 48px;
	align-items: start;
}

/* ---------- Slides ---------- */
.wg-hero__slides { position: relative; min-height: 330px; }
.wg-hero__slide {
	position: absolute;
	inset: 0 auto auto 0;
	width: 100%;
	opacity: 0;
	visibility: hidden;
	transform: translateY(14px);
	transition: opacity .55s ease, transform .55s ease, visibility 0s linear .55s;
}
.wg-hero__slide.is-active {
	position: relative;
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity .55s ease, transform .55s ease;
}

.wg-hero__eyebrow {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	background: var(--wg-grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	margin-bottom: 14px;
}
.wg-hero__title {
	font-size: 46px;
	line-height: 1.12;
	font-weight: 700;
	letter-spacing: -.02em;
	margin: 0 0 20px;
	color: #fff;
	max-width: 15em;
	text-shadow: 0 2px 30px rgba(0, 0, 0, .35);
}
.wg-hero__text {
	font-size: 16px;
	line-height: 1.7;
	color: #c9d0e6;
	margin: 0 0 26px;
	max-width: 27em;
}
.wg-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Buttons ---------- */
.wg-hero__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 24px;
	border-radius: 999px;
	font: 600 13px/1 'Poppins', sans-serif;
	text-decoration: none;
	cursor: pointer;
	border: 1px solid transparent;
	transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.wg-hero__btn--primary {
	background: var(--wg-grad);
	color: #fff;
	box-shadow: 0 10px 24px -10px var(--wg-c3);
}
.wg-hero__btn--primary:hover { transform: translateY(-2px); filter: brightness(1.05); color: #fff; }
.wg-hero__btn--ghost {
	background: rgba(255, 255, 255, .08);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	color: #fff;
	border-color: rgba(255, 255, 255, .22);
	font-weight: 600;
}
.wg-hero__btn--ghost:hover { border-color: var(--wg-c1); background: rgba(255, 255, 255, .14); color: #fff; }

/* ---------- Dots ---------- */
.wg-hero__dots { display: flex; gap: 6px; margin-top: 26px; }
.wg-hero__dot {
	width: 8px; height: 8px;
	padding: 0; border: 0; border-radius: 999px;
	background: rgba(255, 255, 255, .3);
	cursor: pointer;
	transition: width .3s ease, background .3s ease;
}
.wg-hero__dot.is-active { width: 26px; background: var(--wg-grad); }

/* ---------- Form card ---------- */
.wg-hero__card {
	background: linear-gradient(160deg, rgba(18, 26, 62, .72), rgba(8, 12, 32, .72));
	-webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
	border: 1px solid var(--wg-border);
	border-radius: 22px;
	padding: 22px;
	box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8), 0 0 60px -20px rgba(47, 107, 240, .45);
}
.wg-hero__card-title { font-size: 15px; font-weight: 600; margin: 0 0 16px; color: var(--wg-ink); }
.wg-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.wg-hero__field label { display: block; font-size: 11px; font-weight: 500; margin-bottom: 6px; color: var(--wg-ink); }
.wg-hero__field input,
.wg-hero__field select {
	width: 100%;
	height: 36px;
	padding: 0 12px;
	font: 400 12px 'Poppins', sans-serif;
	color: #fff;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 10px;
	outline: none;
	transition: border-color .2s, box-shadow .2s;
	appearance: none;
	-webkit-appearance: none;
}
.wg-hero__field select {
	padding-right: 30px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 11px center;
}
.wg-hero__field input:focus,
.wg-hero__field select:focus { border-color: var(--wg-c2); box-shadow: 0 0 0 3px rgba(47, 107, 240, .14); }
.wg-hero__field select option { background: #0b1230; color: #fff; }
.wg-hero__field.has-error input,
.wg-hero__field.has-error select { border-color: #e5484d; }

.wg-hero__consent { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 16px; font-size: 10px; line-height: 1.6; color: #aab2cc; cursor: pointer; }
.wg-hero__consent input { margin: 3px 0 0; flex: none; accent-color: var(--wg-c2); }
.wg-hero__consent a { color: var(--wg-c1); text-decoration: none; }
.wg-hero__consent a:hover { text-decoration: underline; }

.wg-hero__submit { width: 100%; padding: 15px 24px; font-size: 12px; }
.wg-hero__submit[disabled] { opacity: .7; cursor: wait; }
.wg-hero__msg { margin-top: 10px; font-size: 12px; min-height: 0; text-align: center; }
.wg-hero__msg.is-ok { color: #4ade80; }
.wg-hero__msg.is-err { color: #ff7b81; }
.wg-hero__hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; }

/* ---------- Stats bar ---------- */
.wg-hero__stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
	margin-top: 56px;
	background: rgba(10, 16, 40, .55);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	border: 1px solid var(--wg-border);
	border-radius: 18px;
	overflow: hidden;
}
.wg-hero__stat { padding: 22px 16px; text-align: center; border-left: 1px solid var(--wg-border); }
.wg-hero__stat:first-child { border-left: 0; }
.wg-hero__stat-num { font-size: 20px; font-weight: 700; color: #7eb0ff; margin-bottom: 4px; }
.wg-hero__stat-num.is-gradient {
	background: var(--wg-grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}
.wg-hero__stat-label { font-size: 12px; color: #aab2cc; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.wg-hero__top { grid-template-columns: 1fr; gap: 32px; }
	.wg-hero__title { font-size: 38px; }
	.wg-hero__slides { min-height: 0; display: grid; }
	.wg-hero__slide { position: relative; grid-area: 1 / 1; }
}
@media (max-width: 640px) {
	.wg-hero { padding: 40px 0 28px; }
	.wg-hero__inner { padding: 0 18px; }
	.wg-hero__title { font-size: 30px; }
	.wg-hero__text { font-size: 14px; }
	.wg-hero__grid { grid-template-columns: 1fr; }
	.wg-hero__stats { grid-template-columns: 1fr 1fr; margin-top: 36px; }
	.wg-hero__stat:nth-child(3) { border-left: 0; }
	.wg-hero__stat:nth-child(n+3) { border-top: 1px solid var(--wg-border); }
}
@media (prefers-reduced-motion: reduce) {
	.wg-hero__slide, .wg-hero__dot, .wg-hero__btn, .wg-hero__bg { transition: none; }
}
