/* =========================================================
   MMDeco – Hero Carousel
   ========================================================= */
.mmdeco-hc {
	--mmdeco-hc-speed: 700ms;
	--mmdeco-hc-nav: #1e1e1e;
	--mmdeco-hc-serif: 'Cormorant Garamond', Georgia, serif;
	--mmdeco-hc-sans: 'Plus Jakarta Sans', -apple-system, sans-serif;
	position: relative;
	font-family: var(--mmdeco-hc-sans);
}

.mmdeco-hc *,
.mmdeco-hc *::before,
.mmdeco-hc *::after {
	box-sizing: border-box;
}

.mmdeco-hc__viewport {
	overflow: hidden;
	width: 100%;
}

.mmdeco-hc__track {
	display: flex;
	transition: transform var(--mmdeco-hc-speed) cubic-bezier(0.65, 0, 0.35, 1);
	touch-action: pan-y;
	will-change: transform;
}

.mmdeco-hc__slide {
	--mmdeco-hc-title: #1e1e1e;
	--mmdeco-hc-text: #6e6a66;
	flex: 0 0 100%;
	min-width: 0;
	min-height: 580px;
	position: relative;
	display: flex;
	align-items: center;
}

.mmdeco-hc__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 70px 24px;
}

/* ---------- Text ---------- */
.mmdeco-hc .mmdeco-hc__eyebrow {
	display: inline-block;
	margin: 0 0 12px;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--mmdeco-hc-text);
}

.mmdeco-hc .mmdeco-hc__title {
	margin: 0 0 20px;
	font-family: var(--mmdeco-hc-serif);
	font-size: clamp(2.6rem, 4.5vw, 4rem);
	font-weight: 600;
	line-height: 1.15;
	color: var(--mmdeco-hc-title);
}

.mmdeco-hc .mmdeco-hc__desc {
	margin: 0 0 32px;
	max-width: 420px;
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--mmdeco-hc-text);
}

/* ---------- Button ---------- */
.mmdeco-hc .mmdeco-hc__btn {
	display: inline-block;
	padding: 12px 28px;
	border-radius: 50px;
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
	transition: background-color 0.25s ease, color 0.25s ease;
}

.mmdeco-hc .mmdeco-hc__btn--dark {
	border: 1px solid #1e1e1e;
	color: #1e1e1e;
	background: transparent;
}

.mmdeco-hc .mmdeco-hc__btn--dark:hover,
.mmdeco-hc .mmdeco-hc__btn--dark:focus-visible {
	background-color: #1e1e1e;
	color: #fff;
}

.mmdeco-hc .mmdeco-hc__btn--light {
	border: 1px solid rgba(255, 255, 255, 0.75);
	color: #fff;
	background: transparent;
}

.mmdeco-hc .mmdeco-hc__btn--light:hover,
.mmdeco-hc .mmdeco-hc__btn--light:focus-visible {
	background-color: #fff;
	color: #1e1e1e;
}

/* ---------- Split slide ---------- */
.mmdeco-hc__slide--split {
	background-color: #f8f5f1;
}

.mmdeco-hc__slide--split .mmdeco-hc__inner {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	align-items: center;
	gap: 48px;
}

.mmdeco-hc__visual {
	position: relative;
}

.mmdeco-hc__media {
	width: 100%;
	height: 440px;
	border-radius: 12px;
	overflow: hidden;
	background-color: #ede9e4;
}

.mmdeco-hc__media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.mmdeco-hc__badge {
	position: absolute;
	top: -16px;
	right: 24px;
	z-index: 2;
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background-color: #c69c53;
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	line-height: 1.1;
	text-align: center;
}

.mmdeco-hc__badge span {
	font-size: 0.65rem;
	letter-spacing: 0.08em;
}

.mmdeco-hc__badge strong {
	font-family: var(--mmdeco-hc-serif);
	font-size: 1.5rem;
	font-weight: 700;
}

/* ---------- Background slide ---------- */
.mmdeco-hc__slide--background {
	--mmdeco-hc-title: #fff;
	--mmdeco-hc-text: rgba(255, 255, 255, 0.88);
	background-color: #684b36;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.mmdeco-hc__overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(30, 30, 30, 0.35);
}

.mmdeco-hc__slide--background .mmdeco-hc__inner {
	display: flex;
}

.mmdeco-hc__slide--background .mmdeco-hc__content {
	max-width: 560px;
}

.mmdeco-hc__slide--align-center .mmdeco-hc__inner { justify-content: center; text-align: center; }
.mmdeco-hc__slide--align-center .mmdeco-hc__desc  { margin-left: auto; margin-right: auto; }
.mmdeco-hc__slide--align-right .mmdeco-hc__inner  { justify-content: flex-end; text-align: right; }
.mmdeco-hc__slide--align-right .mmdeco-hc__desc   { margin-left: auto; }

/* ---------- Arrows (override Hello Elementor's button reset) ---------- */
.mmdeco-hc .mmdeco-hc__arrow {
	position: absolute;
	top: 50%;
	z-index: 5;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(30, 30, 30, 0.12);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	color: var(--mmdeco-hc-nav);
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.25s ease, color 0.25s ease;
}

.mmdeco-hc .mmdeco-hc__arrow:hover,
.mmdeco-hc .mmdeco-hc__arrow:focus-visible {
	background: var(--mmdeco-hc-nav);
	color: #fff;
	border-color: var(--mmdeco-hc-nav);
}

.mmdeco-hc .mmdeco-hc__arrow[disabled] {
	opacity: 0.35;
	cursor: default;
}

.mmdeco-hc .mmdeco-hc__arrow--prev { left: 16px; }
.mmdeco-hc .mmdeco-hc__arrow--next { right: 16px; }

/* ---------- Dots ---------- */
.mmdeco-hc__dots {
	position: absolute;
	left: 50%;
	bottom: 22px;
	z-index: 5;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
}

.mmdeco-hc .mmdeco-hc__dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 50px;
	background: var(--mmdeco-hc-nav);
	opacity: 0.35;
	cursor: pointer;
	transition: width 0.3s ease, opacity 0.3s ease;
}

.mmdeco-hc .mmdeco-hc__dot:hover,
.mmdeco-hc .mmdeco-hc__dot:focus-visible {
	background: var(--mmdeco-hc-nav);
	opacity: 0.7;
}

.mmdeco-hc .mmdeco-hc__dot.is-active {
	width: 28px;
	opacity: 1;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.mmdeco-hc__slide--split .mmdeco-hc__inner {
		gap: 32px;
	}
}

@media (max-width: 767px) {
	.mmdeco-hc__slide--split .mmdeco-hc__inner {
		grid-template-columns: 1fr;
		padding: 48px 16px 64px;
	}

	.mmdeco-hc__slide--background .mmdeco-hc__inner {
		padding: 48px 16px 64px;
	}

	.mmdeco-hc .mmdeco-hc__arrow {
		display: none; /* swipe + dots on mobile */
	}
}

@media (prefers-reduced-motion: reduce) {
	.mmdeco-hc__track {
		transition: none;
	}
}
