/* Taneet Elementor widgets */

/* --------------------------------------------------------------------------
   Hero slider
   -------------------------------------------------------------------------- */

.taneet-hero-slider {
	position: relative;
	min-height: 620px;
	overflow: hidden;
	background: #1c1916;
	border-radius: 0;
	isolation: isolate;
}

.taneet-slides { position: absolute; inset: 0; }

.taneet-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity .75s ease, visibility .75s;
	will-change: opacity;
}
.taneet-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }

.taneet-slide__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transform: scale(1);
	transition: transform 8s ease-out;
}
.taneet-slide.is-active .taneet-slide__img { transform: scale(1.06); }

.taneet-slide__overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(20, 16, 12, .48);
	background-image: linear-gradient(180deg, rgba(20, 16, 12, .1) 0%, rgba(20, 16, 12, .55) 100%);
}

.taneet-slide__content {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	height: 100%;
	min-height: inherit;
	padding-block: clamp(90px, 11vw, 150px);
}

.taneet-slide__text { width: 100%; max-width: 720px; min-width: 0; }
.taneet-hero-slider.is-align-center .taneet-slide__text { margin-inline: auto; text-align: center; }
.taneet-hero-slider.is-align-right .taneet-slide__text { margin-left: auto; text-align: right; }

.taneet-slide__eyebrow {
	display: inline-block;
	margin: 0 0 1rem;
	font-family: 'Inter', system-ui, sans-serif;
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: #c9a86a;
}

.taneet-slide__title {
	margin: 0 0 .6em;
	font-family: 'Fraunces', Georgia, serif;
	font-size: clamp(2.6rem, 5.6vw, 4.8rem);
	font-weight: 600;
	line-height: 1.02;
	letter-spacing: -.02em;
	color: #fff;
	text-wrap: balance;
}

.taneet-slide__desc {
	max-width: 62ch;
	margin: 0 0 1.6rem;
	font-family: 'Inter', system-ui, sans-serif;
	font-size: clamp(1rem, 1.3vw, 1.15rem);
	line-height: 1.65;
	color: rgba(255, 255, 255, .86);
	overflow-wrap: anywhere;
}
.taneet-hero-slider.is-align-center .taneet-slide__desc { margin-inline: auto; }

.taneet-slide__btn {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: 15px 30px;
	border-radius: 999px;
	background: #b08850;
	color: #fff;
	font-family: 'Inter', system-ui, sans-serif;
	font-size: .92rem;
	font-weight: 600;
	letter-spacing: .01em;
	text-decoration: none;
	transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.taneet-slide__btn:hover { transform: translateY(-2px); background: #211d19; color: #fff; }
.taneet-slide__btn svg { transition: transform .2s ease; }
.taneet-slide__btn:hover svg { transform: translateX(4px); }

.taneet-hero__arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-top: -26px;
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 50%;
	background: rgba(20, 16, 12, .25);
	color: #fff;
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.taneet-hero__arrow:hover { background: #b08850; border-color: #b08850; transform: scale(1.05); }
.taneet-hero__arrow--prev { left: clamp(14px, 3vw, 40px); }
.taneet-hero__arrow--next { right: clamp(14px, 3vw, 40px); }

.taneet-hero__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: clamp(20px, 3vw, 34px);
	z-index: 3;
	display: flex;
	justify-content: center;
	gap: 10px;
}
.taneet-hero__dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, .45);
	cursor: pointer;
	transition: width .25s ease, background-color .25s ease;
}
.taneet-hero__dot.is-active { width: 30px; background: #c9a86a; }
.taneet-hero__dot:hover { background: rgba(255, 255, 255, .8); }

/* --------------------------------------------------------------------------
   Section heading
   -------------------------------------------------------------------------- */

.taneet-heading {
	max-width: 840px;
	margin: 0 auto clamp(28px, 3vw, 44px);
}
.taneet-heading.is-align-left { margin-left: 0; text-align: left; }
.taneet-heading.is-align-center { text-align: center; }
.taneet-heading.is-align-right { margin-right: 0; text-align: right; }

.taneet-heading__eyebrow {
	display: inline-block;
	margin: 0 0 .9rem;
	font-family: 'Inter', system-ui, sans-serif;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: #b08850;
}

.taneet-heading__title {
	margin: 0;
	font-family: 'Fraunces', Georgia, serif;
	font-size: clamp(2rem, 3.4vw, 3.1rem);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -.02em;
	color: #211d19;
	text-wrap: balance;
}

.taneet-heading__rule {
	display: block;
	width: 54px;
	height: 2px;
	margin: 18px auto 0;
	background: #b08850;
	border-radius: 2px;
}
.taneet-heading.is-align-left .taneet-heading__rule { margin-left: 0; }
.taneet-heading.is-align-right .taneet-heading__rule { margin-right: 0; }

.taneet-heading__subtitle {
	max-width: 66ch;
	margin: 1.1rem auto 0;
	font-family: 'Inter', system-ui, sans-serif;
	font-size: 1.05rem;
	line-height: 1.7;
	color: #4a443d;
}
.taneet-heading.is-align-left .taneet-heading__subtitle { margin-left: 0; }
.taneet-heading.is-align-right .taneet-heading__subtitle { margin-right: 0; }
.taneet-heading__subtitle p { margin: 0 0 .6em; }
.taneet-heading__subtitle p:last-child { margin-bottom: 0; }
.taneet-heading.is-lead-only .taneet-heading__subtitle { font-size: clamp(1.15rem, 1.7vw, 1.4rem); color: #4a443d; }

/* --------------------------------------------------------------------------
   Service card
   -------------------------------------------------------------------------- */

.elementor-widget-taneet_service_card,
.elementor-widget-taneet_service_card > .elementor-widget-container { height: 100%; }

.taneet-service-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	background-color: var(--card-bg, #fff);
	border: 1px solid #e8e0d4;
	border-radius: 20px;
	box-shadow: 0 10px 30px -20px rgba(33, 29, 25, .3);
	color: inherit;
	text-decoration: none;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.taneet-service-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 40px -22px rgba(33, 29, 25, .35);
	border-color: var(--card-accent, #b08850);
}

.taneet-service-card__media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background-image: linear-gradient(140deg, #ecdfce, #e3d1ba);
}
.taneet-service-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s ease;
}
.taneet-service-card:hover .taneet-service-card__img { transform: scale(1.06); }
.taneet-service-card__placeholder { display: block; width: 100%; height: 100%; }

.taneet-service-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 22px 24px 24px;
}
.taneet-service-card__title {
	margin: 0;
	font-family: 'Fraunces', Georgia, serif;
	font-size: 1.28rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -.01em;
	color: #211d19;
}
.taneet-service-card__desc {
	margin: .5rem 0 0;
	font-family: 'Inter', system-ui, sans-serif;
	font-size: .92rem;
	line-height: 1.6;
	color: #4a443d;
}
.taneet-service-card__link {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	margin-top: auto;
	padding-top: 1rem;
	font-family: 'Inter', system-ui, sans-serif;
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--card-accent, #b08850);
}
.taneet-service-card__link svg { transition: transform .2s ease; }
.taneet-service-card:hover .taneet-service-card__link svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 782px) {
	.taneet-hero-slider { min-height: 560px; }
	.taneet-hero__arrow { width: 44px; height: 44px; margin-top: -22px; }
	.taneet-hero__arrow--prev { left: 10px; }
	.taneet-hero__arrow--next { right: 10px; }
}

@media (max-width: 560px) {
	.taneet-hero-slider { min-height: 520px; }
	.taneet-slide__content { padding-block: 76px 80px; }
	.taneet-slide__title { font-size: clamp(2.1rem, 9vw, 2.6rem); }
	.taneet-slide__desc { font-size: 16px; line-height: 1.6; }
	.taneet-hero__arrow { display: none; }
	.taneet-slide__btn { padding: 13px 24px; }
}

@media (prefers-reduced-motion: reduce) {
	.taneet-slide,
	.taneet-slide__img,
	.taneet-service-card,
	.taneet-service-card__img { transition: none !important; }
	.taneet-slide.is-active .taneet-slide__img { transform: none; }
}
