/**
 * AIWTG Hero
 */
.aiwtg-hero {
	position: relative;
	overflow: hidden;
	padding: 78px 0 82px;
	background-color: #fff;
}

/* Decorative glow lives on a pseudo-element so it never fights the
   Elementor background control. */
.aiwtg-hero-glow-yes .aiwtg-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(circle at 8% 20%, rgba(1, 74, 251, 0.08), transparent 28%),
		radial-gradient(circle at 92% 70%, rgba(2, 197, 205, 0.08), transparent 28%);
}

.aiwtg-hero > .aiwtg-container {
	position: relative;
}

.aiwtg-hero__grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 70px;
	align-items: center;
}

.aiwtg-hero__grid--single {
	grid-template-columns: 1fr !important; /* no visual column: ignore ratio control */
}

.aiwtg-hero__content {
	min-width: 0;
	text-align: var(--aiwtg-hero-align, left);
}

.aiwtg-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--aiwtg-primary);
}

.aiwtg-hero__eyebrow-icon {
	display: inline-flex;
	font-size: 10px;
}

.aiwtg-hero__title {
	max-width: 760px;
	margin: 0 0 20px;
	font-size: clamp(42px, 5.5vw, 68px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.045em;
	color: var(--aiwtg-navy);
}

.aiwtg-hero__highlight {
	color: var(--aiwtg-primary);
}

.aiwtg-hero__text {
	max-width: 650px;
	margin-bottom: 28px;
	font-size: 17px;
	color: var(--aiwtg-muted);
}

/* Alignment control sets --aiwtg-hero-ml / --aiwtg-hero-mr */
.aiwtg-hero__content,
.aiwtg-hero__title,
.aiwtg-hero__text,
.aiwtg-hero__search {
	margin-left: var(--aiwtg-hero-ml, 0);
	margin-right: var(--aiwtg-hero-mr, auto);
}

/* Search box (optional) */
.aiwtg-hero__search {
	display: flex;
	gap: 8px;
	max-width: 560px;
	margin-bottom: 20px;
}

.aiwtg-hero__search .aiwtg-hero__search-input {
	flex: 1;
	min-width: 0;
	height: 48px;
	padding: 0 16px;
	font-family: inherit;
	font-size: 14px;
	color: var(--aiwtg-text);
	background: #fff;
	border: 1px solid var(--aiwtg-border);
	border-radius: 9px;
}

.aiwtg-hero__search .aiwtg-hero__search-input:focus {
	border-color: var(--aiwtg-primary);
	outline: none;
	box-shadow: 0 0 0 3px rgba(1, 74, 251, 0.12);
}

.aiwtg-hero .aiwtg-hero__search-submit {
	border: 0;
}

.aiwtg-hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: var(--aiwtg-hero-justify, flex-start);
	gap: 12px;
}

.aiwtg-hero__note {
	margin-top: 20px;
	font-size: 12px;
	color: #7a8495;
}

/* Visual */
.aiwtg-hero__visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 390px;
}

.aiwtg-hero__circle {
	display: grid;
	place-items: center;
	width: 310px;
	height: 310px;
	font-size: 92px;
	color: var(--aiwtg-primary);
	background: linear-gradient(145deg, #eef4ff, #f7ffff);
	border: 1px solid #e0e9ff;
	border-radius: 50%;
	box-shadow: 0 25px 70px rgba(2, 22, 77, 0.08);
}

.aiwtg-hero__image {
	width: 420px;
	max-width: 100%;
}

.aiwtg-hero__image img {
	width: 100%;
	height: auto;
	border-radius: 20px;
}

.aiwtg-hero__float {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 12px 15px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	white-space: nowrap;
	color: var(--aiwtg-navy);
	background: #fff;
	border: 1px solid var(--aiwtg-border);
	border-radius: 11px;
	box-shadow: 0 12px 35px rgba(2, 22, 77, 0.09);
}

.aiwtg-hero__float-icon {
	display: inline-flex;
	font-size: 17px;
	color: var(--aiwtg-primary);
}

.aiwtg-hero__float--top-left     { top: 30px; left: 5px; }
.aiwtg-hero__float--top-right    { top: 30px; right: 5px; }
.aiwtg-hero__float--middle-left  { top: 45%; left: 0; }
.aiwtg-hero__float--middle-right { top: 115px; right: 0; }
.aiwtg-hero__float--bottom-left  { bottom: 45px; left: 35px; }
.aiwtg-hero__float--bottom-right { bottom: 45px; right: 35px; }

/* Tablet */
@media (max-width: 1024px) {
	.aiwtg-hero__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.aiwtg-hero__visual {
		min-height: 340px;
	}
}

/* Mobile */
@media (max-width: 767px) {
	.aiwtg-hero {
		padding: 55px 0 60px;
	}

	.aiwtg-hero__title {
		font-size: 42px;
	}

	.aiwtg-hero__text {
		font-size: 15px;
	}

	.aiwtg-hero__search {
		flex-direction: column;
	}

	.aiwtg-hero-stack-yes .aiwtg-hero__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.aiwtg-hero-stack-yes .aiwtg-hero__actions .aiwtg-btn {
		width: 100%;
	}

	.aiwtg-hero__visual {
		min-height: 290px;
	}

	.aiwtg-hero__circle {
		width: 235px;
		height: 235px;
		font-size: 65px;
	}

	.aiwtg-hero__float--top-left     { top: 0; left: 0; }
	.aiwtg-hero__float--top-right    { top: 0; right: 0; }
	.aiwtg-hero__float--middle-right { top: 75px; right: 0; }
	.aiwtg-hero__float--bottom-left  { bottom: 5px; left: 0; }
	.aiwtg-hero__float--bottom-right { bottom: 5px; right: 0; }

	.aiwtg-hero-floats-hide-yes .aiwtg-hero__float {
		display: none;
	}
}
