/* Elementor's widget wrapper can inherit a boxed width and page gutter. */
body:has(.elementor-widget-cancon-hero) {
	margin: 0 !important;
	padding: 0 !important;
}

.elementor-widget-cancon-hero {
	position: relative !important;
	left: 50% !important;
	width: 100vw !important;
	max-width: 100vw !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
	transform: translateX(-50%) !important;
}

.cc-hero {
	--cc-black: #050505;
	--cc-orange: #E0701B;
	--cc-orange-deep: #B85410;
	--cc-orange-soft: #F0913F;
	--cc-white: #FFFFFF;
	--cc-overlay: 50%;
	--cc-video-opacity: 75%;
	position: relative;
	isolation: isolate;
	width: 100%;
	max-width: none;
	height: 100vh;
	height: 100svh;
	min-height: 560px;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	color: var(--cc-white);
	background: var(--cc-black);
}

.cc-hero,
.cc-hero *,
.cc-hero *::before,
.cc-hero *::after { box-sizing: border-box; }

.cc-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
	z-index: 0;
	opacity: var(--cc-video-opacity);
	pointer-events: none;
	background: var(--cc-black);
}

.cc-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.35) 50%, rgba(0,0,0,.65) 100%);
	opacity: var(--cc-overlay);
	pointer-events: none;
}

.cc-hero__content {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 980px;
	padding: 130px 24px 56px;
	text-align: center;
}

.cc-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 20px;
	padding: 8px 18px;
	font-family: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: .02em;
	color: var(--cc-orange-soft);
	background: rgba(224,112,27,.15);
	border: 1px solid rgba(240,145,63,.4);
	border-radius: 999px;
}

.cc-hero__badge::before {
	content: "";
	width: 7px;
	height: 7px;
	flex: 0 0 7px;
	border-radius: 50%;
	background: var(--cc-orange);
}

.cc-hero__title {
	margin: 0;
	font-family: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: clamp(2.25rem, 5.6vw, 4.5rem);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -.01em;
	color: var(--cc-white);
	text-shadow: 0 2px 10px rgba(0,0,0,.5);
}

.cc-hero__title span { display: block; }

.cc-hero__bar {
	display: block;
	width: 56px;
	height: 6px;
	margin: 24px auto 20px;
	background: var(--cc-orange);
	border-radius: 2px;
}

.cc-hero__text {
	max-width: 680px;
	margin: 0 auto 30px;
	font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: clamp(.95rem, 1.4vw, 1.125rem);
	font-weight: 400;
	line-height: 1.65;
	color: #F3F4F6;
	text-shadow: 0 1px 6px rgba(0,0,0,.5);
}

.cc-hero__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 32px;
	font-family: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	color: var(--cc-white);
	background: var(--cc-orange-deep);
	border: 2px solid transparent;
	border-radius: 999px;
	text-decoration: none;
	transition: background-color .2s ease, transform .2s ease;
}

.cc-hero__btn:hover { color: var(--cc-white); background: #9E440A; transform: translateY(-2px); }
.cc-hero__btn:focus-visible { outline: 3px solid var(--cc-white); outline-offset: 3px; }

.cc-hero__marquee {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	z-index: 3;
	padding: 14px 0;
	overflow: hidden;
	background: rgba(5,5,5,.85);
	border-top: 1px solid rgba(255,255,255,.12);
}

.cc-hero__track {
	display: flex;
	width: max-content;
	animation: cc-hero-scroll 32s linear infinite;
	will-change: transform;
}

.cc-hero__item {
	display: inline-flex;
	align-items: center;
	gap: 28px;
	margin-right: 28px;
	font-family: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	color: var(--cc-white);
	white-space: nowrap;
}

.cc-hero__item::after {
	content: "";
	width: 6px;
	height: 6px;
	flex: 0 0 6px;
	border-radius: 50%;
	background: var(--cc-orange);
}

@keyframes cc-hero-scroll {
	from { transform: translate3d(0,0,0); }
	to { transform: translate3d(-50%,0,0); }
}

@media (prefers-reduced-motion: reduce) {
	.cc-hero__track { animation: none; will-change: auto; }
	.cc-hero__btn { transition: none; }
}

@media (max-width: 768px) {
	.cc-hero { height: 75vh; height: 75svh; min-height: 520px; }
	.cc-hero__content { padding: 110px 18px 48px; }
	.cc-hero__badge { margin-bottom: 14px; padding: 5px 12px; font-size: 11px; }
	.cc-hero__bar { width: 42px; height: 4px; margin: 16px auto 14px; }
	.cc-hero__text { margin-bottom: 22px; font-size: .875rem; line-height: 1.6; }
	.cc-hero__btn { min-height: 46px; padding: 0 24px; font-size: 13px; }
	.cc-hero__marquee { padding: 10px 0; }
	.cc-hero__item { gap: 18px; margin-right: 18px; font-size: 12px; }
	.cc-hero--no-mobile-video .cc-hero__video { display: none; }
}
