/* Home hero — ported from project-1 hero.module.css */

.elementor-widget-cb_home_hero .elementor-widget-container {
	overflow: visible;
}

.cb-home-hero {
	position: relative;
	min-height: calc(100vh - var(--header-height));
	padding: var(--space-16) 0 var(--space-24);
	overflow-x: clip;
	overflow-y: visible;
	isolation: isolate;
}

.cb-home-hero__gradient {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 80% 20%, rgba(243, 184, 155, 0.45), transparent 55%),
		radial-gradient(ellipse at 10% 80%, rgba(184, 92, 122, 0.18), transparent 55%),
		linear-gradient(180deg, var(--color-bg) 0%, var(--color-beige) 48%, var(--color-bg) 100%);
	z-index: -2;
}

.cb-home-hero__inner {
	position: relative;
	z-index: 2;
	max-width: var(--cb-content-max);
	margin-inline: auto;
	padding-inline: var(--space-6);
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	align-items: center;
	gap: var(--space-12);
}

.cb-home-hero__text {
	display: flex;
	flex-direction: column;
	gap: var(--space-6);
	animation: cb-hero-fade-up 0.9s ease both;
}

.cb-home-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	background: rgba(255, 255, 255, 0.65);
	backdrop-filter: blur(6px);
	padding: 0.5rem 1rem;
	border-radius: var(--radius-pill);
	border: 1px solid rgba(255, 255, 255, 0.6);
	color: var(--color-primary);
	font-weight: 600;
	font-size: var(--text-sm);
	width: fit-content;
	box-shadow: var(--shadow-xs);
}

.cb-home-hero__title {
	font-family: var(--family-display);
	font-size: clamp(2.4rem, 5.4vw, 4.6rem);
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--color-text);
	margin: 0;
}

.cb-home-hero__title em {
	font-style: normal;
	background: var(--gradient-rose);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-weight: 800;
}

.cb-home-hero__lead {
	font-size: var(--text-lg);
	color: var(--color-text-muted);
	line-height: 2;
	max-width: 540px;
	margin: 0;
}

.cb-home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-4);
	margin-top: var(--space-2);
}

.cb-home-hero__play-row,
a.cb-home-hero__play-row {
	display: inline-flex;
	align-items: center;
	gap: var(--space-3);
	color: var(--color-text);
	text-align: start;
	background: transparent;
	border: none;
	cursor: pointer;
	font-family: inherit;
	padding: 0;
	text-decoration: none;
}

a.cb-home-hero__play-row:hover {
	color: var(--color-text);
}

.cb-home-hero__play-btn {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--color-bg-elevated);
	color: var(--color-primary);
	display: grid;
	place-items: center;
	box-shadow: var(--shadow-md);
	transition: transform 0.3s ease;
	animation: cb-hero-glow-pulse 2.6s ease-in-out infinite;
}

.cb-home-hero__play-row:hover .cb-home-hero__play-btn {
	transform: scale(1.08);
}

.cb-home-hero__play-row strong {
	display: block;
	font-weight: 700;
	font-size: var(--text-sm);
}

.cb-home-hero__play-row em {
	display: block;
	font-style: normal;
	font-size: var(--text-xs);
	color: var(--color-text-muted);
	margin-top: 2px;
}

.cb-home-hero__stats {
	display: grid;
	grid-template-columns: repeat(3, auto);
	gap: var(--space-8);
	margin-top: var(--space-8);
	padding-top: var(--space-6);
	border-top: 1px dashed var(--color-border);
	justify-content: start;
}

.cb-home-hero__stats > div {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.cb-home-hero__stats strong {
	font-family: var(--family-display);
	font-size: var(--text-3xl);
	font-weight: 800;
	color: var(--color-text);
}

.cb-home-hero__stats span {
	font-size: var(--text-sm);
	color: var(--color-text-muted);
}

.cb-home-hero__visual {
	position: relative;
	height: 580px;
}

.cb-home-hero__main-plate {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 460px;
	height: 460px;
	max-width: 100%;
	border-radius: 50%;
	display: grid;
	place-items: center;
	overflow: hidden;
	filter: drop-shadow(0 40px 60px rgba(110, 50, 70, 0.35));
	animation: cb-hero-float-y 7s ease-in-out infinite;
	will-change: transform;
}

.cb-home-hero__plate-rim {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background:
		radial-gradient(circle at 30% 25%, #fff 0%, transparent 45%),
		linear-gradient(135deg, #ffffff 0%, #f6ede5 55%, #ead9c8 100%);
	box-shadow:
		inset 0 8px 22px rgba(255, 255, 255, 0.9),
		inset 0 -12px 36px rgba(173, 130, 110, 0.3);
}

/*
 * Pin the hero image to a centered square inside the plate. Explicit
 * width/height (not auto + insets) keeps it from rendering at intrinsic size and
 * spilling outside the circle. elementor-canvas-fixes.css re-asserts these for
 * the Elementor canvas reset defense.
 */
.cb-home-hero .cb-home-hero__main-plate img {
	position: absolute;
	z-index: 1;
	top: 7%;
	left: 7%;
	display: block;
	width: 86%;
	height: 86%;
	max-width: 86%;
	max-height: 86%;
	aspect-ratio: 1;
	margin: 0;
	border-radius: 50%;
	object-fit: cover;
	object-position: center;
	box-shadow:
		inset 0 0 0 5px rgba(255, 255, 255, 0.85),
		inset 0 8px 18px rgba(110, 50, 70, 0.15);
}

.cb-home-hero__mini {
	position: absolute;
	border-radius: 50%;
	overflow: hidden;
	box-shadow:
		0 18px 30px rgba(110, 50, 70, 0.28),
		inset 0 0 0 4px rgba(255, 255, 255, 0.85);
	border: 6px solid #fff;
	background: #fff;
	will-change: transform;
}

.cb-home-hero .cb-home-hero__mini img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	border-radius: 50%;
}

.cb-home-hero__mini--1 {
	width: 160px;
	height: 160px;
	top: 10%;
	inset-inline-start: -20px;
	animation: cb-hero-float-y 5.5s ease-in-out infinite;
}

.cb-home-hero__mini--2 {
	width: 140px;
	height: 140px;
	bottom: 8%;
	inset-inline-end: -10px;
	animation: cb-hero-float-y-slow 8s ease-in-out infinite;
}

.cb-home-hero__badge {
	position: absolute;
	bottom: 4%;
	inset-inline-start: 8%;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(12px);
	padding: 0.65rem 1rem;
	border-radius: var(--radius-pill);
	font-size: var(--text-sm);
	font-weight: 600;
	color: var(--color-text);
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	box-shadow: var(--shadow-md);
}

.cb-home-hero__badge-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--color-success);
	box-shadow: 0 0 0 4px rgba(110, 158, 122, 0.2);
	animation: cb-hero-glow-pulse 2s ease-in-out infinite;
	flex-shrink: 0;
}

.cb-home-hero__marquee {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: var(--space-4) 0;
	background: linear-gradient(180deg, transparent, rgba(255, 248, 242, 0.6));
	overflow: hidden;
	z-index: 3;
}

.cb-home-hero__marquee-track {
	display: flex;
	animation: cb-hero-marquee-x 28s linear infinite;
	width: max-content;
	direction: ltr;
}

.cb-home-hero__marquee-content {
	display: inline-flex;
	align-items: center;
	gap: var(--space-6);
	padding-inline-end: var(--space-6);
	font-family: var(--family-display);
	font-size: var(--text-lg);
	font-weight: 600;
	color: var(--color-primary);
}

@keyframes cb-hero-fade-up {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes cb-hero-float-y {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-14px);
	}
}

@keyframes cb-hero-float-y-slow {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-10px);
	}
}

@keyframes cb-hero-glow-pulse {
	0%,
	100% {
		box-shadow: var(--shadow-md);
	}
	50% {
		box-shadow: 0 0 0 8px rgba(184, 92, 122, 0.12), var(--shadow-md);
	}
}

@keyframes cb-hero-marquee-x {
	to {
		transform: translateX(-50%);
	}
}

@media (max-width: 980px) {
	.cb-home-hero__inner {
		grid-template-columns: 1fr;
	}

	.cb-home-hero__visual {
		height: 460px;
		order: -1;
		overflow: visible;
	}

	.cb-home-hero__mini--1 {
		inset-inline-start: 0;
	}

	.cb-home-hero__mini--2 {
		inset-inline-end: 0;
	}

	.cb-home-hero__main-plate {
		width: 380px;
		height: 380px;
	}

	.cb-home-hero__stats {
		grid-template-columns: repeat(3, 1fr);
		gap: var(--space-4);
	}

	.cb-home-hero__stats strong {
		font-size: var(--text-2xl);
	}
}

@media (max-width: 767px) {
	.cb-home-hero__inner {
		padding-inline: var(--cb-mobile-gutter);
	}
}

@media (max-width: 560px) {
	.cb-home-hero__main-plate {
		width: 280px;
		height: 280px;
	}

	.cb-home-hero__mini--1,
	.cb-home-hero__mini--2 {
		width: 110px;
		height: 110px;
	}

	.cb-home-hero__badge {
		font-size: var(--text-xs);
		inset-inline-start: 50%;
		transform: translateX(50%);
	}
}
