/* NFC Hero Slider — matches the original Slider Revolution design (Grevo theme). */
.nfc-hero {
	--nfc-green: var(--thsn-grevo-global-color, #78b948);
	--nfc-dark: #716f5b;
	position: relative;
	height: 825px;
	overflow: hidden;
	background: #e7e7e7;
}
.nfc-hero__track { position: absolute; inset: 0; }

.nfc-hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1s ease, visibility 0s linear 1s;
}
.nfc-hero__slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
	transition: opacity 1s ease, visibility 0s;
}
.nfc-hero .nfc-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	border-radius: 0;
}

.nfc-hero__inner {
	position: relative;
	height: 100%;
	max-width: 1230px;
	margin: 0 auto;
	padding: 0 30px;
	display: flex;
	align-items: center;
	box-sizing: border-box;
}

.nfc-hero__card {
	width: 550px;
	min-height: 450px;
	margin-top: 70px;
	padding: 60px 64px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 50px 0 50px 0;
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s ease 0.35s, transform 0.7s ease 0.35s;
}
.nfc-hero__slide.is-active .nfc-hero__card { opacity: 1; transform: none; }

.nfc-hero .nfc-hero__title {
	margin: 0;
	max-width: 421px;
	font-family: Cabin, sans-serif;
	font-size: 50px;
	line-height: 55px;
	font-weight: 700;
	letter-spacing: 0;
	color: var(--nfc-dark);
	text-transform: none;
}
.nfc-hero .nfc-hero__title .thsn-globalcolor { color: var(--nfc-green); }

.nfc-hero .nfc-hero__sub {
	margin: 22px 0 0;
	font-family: "Nunito Sans", Nunito, sans-serif;
	font-size: 24px;
	line-height: 30px;
	color: #666;
}

.nfc-hero .nfc-hero__btn {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-top: 34px;
	padding: 0 38px;
	line-height: 60px;
	font-family: Quicksand, sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
	background: var(--nfc-dark);
	border-radius: 20px 0 20px 0;
	transition: background-color 0.25s ease, border-radius 0.25s ease;
}
.nfc-hero .nfc-hero__btn:hover,
.nfc-hero .nfc-hero__btn:focus-visible {
	color: #fff;
	background: var(--nfc-green);
	border-radius: 0 20px 0 20px;
}
.nfc-hero__arrow {
	position: relative;
	display: inline-block;
	width: 26px;
	height: 1px;
	background: currentColor;
}
.nfc-hero__arrow::after {
	content: "";
	position: absolute;
	right: 0;
	top: -3px;
	border-left: 6px solid currentColor;
	border-top: 3.5px solid transparent;
	border-bottom: 3.5px solid transparent;
}

.nfc-hero__dots {
	position: absolute;
	left: 50%;
	bottom: 26px;
	z-index: 2;
	display: flex;
	gap: 10px;
	transform: translateX(-50%);
}
.nfc-hero__dot {
	width: 12px;
	height: 12px;
	padding: 0;
	border: 2px solid #fff;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
	transition: background-color 0.25s ease, transform 0.25s ease;
}
.nfc-hero__dot:hover { transform: scale(1.15); }
.nfc-hero__dot.is-active { background: var(--nfc-green); border-color: var(--nfc-green); }
.nfc-hero__dot:focus-visible { outline: 2px solid var(--nfc-dark); outline-offset: 2px; }

/* Same breakpoints as the original slider (825 / 740 / 600 px tall). */
@media (max-width: 1240px) {
	.nfc-hero { height: 740px; }
}
@media (max-width: 1024px) {
	.nfc-hero { height: 600px; }
	.nfc-hero__card { width: 480px; min-height: 0; margin-top: 40px; padding: 48px 52px; }
	.nfc-hero .nfc-hero__title { font-size: 40px; line-height: 46px; }
	.nfc-hero .nfc-hero__sub { font-size: 20px; line-height: 27px; }
}
@media (max-width: 767px) {
	.nfc-hero { height: auto; min-height: 520px; }
	.nfc-hero__track { position: relative; display: grid; min-height: 520px; }
	.nfc-hero__slide { position: relative; grid-area: 1 / 1; }
	.nfc-hero__inner { min-height: 520px; padding: 40px 18px 64px; justify-content: center; }
	.nfc-hero__card { width: 100%; max-width: 440px; margin-top: 0; padding: 34px 30px; border-radius: 34px 0 34px 0; }
	.nfc-hero .nfc-hero__title { font-size: 30px; line-height: 36px; }
	.nfc-hero .nfc-hero__sub { margin-top: 14px; font-size: 18px; line-height: 24px; }
	.nfc-hero .nfc-hero__btn { margin-top: 24px; line-height: 50px; padding: 0 28px; }
	.nfc-hero__dots { bottom: 22px; }
}

@media (prefers-reduced-motion: reduce) {
	.nfc-hero__slide,
	.nfc-hero__slide.is-active,
	.nfc-hero__card { transition: none; }
	.nfc-hero__card { transform: none; }
}
