/*
 * Compatibility and visual refinements for the current header, search and
 * service-card markup. Loaded after main.min.css.
 */
.este-header__logo .este-logo-link {
	display: inline-flex;
	align-items: center;
	color: inherit;
	font-family: var(--ep-font-heading, Georgia, serif);
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
}

.este-header__logo .este-logo-link img {
	display: block;
	max-width: min(180px, 42vw);
	height: auto;
}

.este-header--transparent .este-header__logo .este-logo-link {
	color: #fff;
}

.este-header.is-scrolled .este-header__logo .este-logo-link,
.este-header--solid .este-header__logo .este-logo-link,
.este-header--minimal .este-header__logo .este-logo-link {
	color: var(--ep-color-text-primary, #1a1a2e);
}

.este-header__cta {
	white-space: nowrap;
}

.este-search-form {
	display: flex;
	align-items: center;
	gap: .5rem;
	width: 100%;
	padding: .5rem .5rem .5rem 1.25rem;
	border-radius: 999px;
	background: #fff;
}

.este-search-form__input {
	width: 100%;
	min-width: 0;
	padding: .55rem 0;
	border: 0;
	background: transparent;
	color: #1a1a2e;
	font-size: 1rem;
	outline: 0;
}

.este-search-form__submit,
.este-search-form__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	flex: 0 0 auto;
	border: 0;
	border-radius: 50%;
	background: var(--ep-color-primary, #c9a96e);
	color: #fff;
	cursor: pointer;
}

.este-search-form__label {
	display: block;
	margin: 0 0 .75rem;
	color: #fff;
	font-size: .875rem;
	font-weight: 600;
}

.este-search-overlay__popular {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem;
	margin-top: 1.25rem;
	color: rgba(255, 255, 255, .75);
}

.este-search-overlay__popular-label {
	margin-right: .25rem;
	font-size: .8125rem;
}

.este-search-overlay__popular-item {
	padding: .45rem .75rem;
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 999px;
	background: transparent;
	color: #fff;
	cursor: pointer;
	font-size: .8rem;
}

.este-services-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

.este-service-card {
	min-width: 0;
	border: 1px solid var(--ep-color-border, #e5e7eb);
	border-radius: var(--ep-border-radius-lg, 24px);
	background: #fff;
	box-shadow: 0 8px 28px rgba(20, 26, 43, .06);
	overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.este-service-card:hover {
	border-color: color-mix(in srgb, var(--ep-color-primary, #c9a96e) 58%, #e5e7eb);
	box-shadow: 0 18px 42px rgba(20, 26, 43, .12);
	transform: translateY(-5px);
}

.este-service-card__inner {
	display: flex;
	height: 100%;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
}

.este-service-card__img {
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.este-service-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.este-service-card:hover .este-service-card__img img {
	transform: scale(1.045);
}

.este-service-card__icon {
	display: grid;
	width: 72px;
	height: 72px;
	place-items: center;
	margin: 1.6rem 1.6rem .25rem;
	border-radius: 20px;
	background: color-mix(in srgb, var(--ep-color-primary, #c9a96e) 14%, #fff);
	color: var(--ep-color-primary-dark, #b8935a);
}

.este-service-card__body {
	display: flex;
	height: 100%;
	flex-direction: column;
	padding: 1.35rem 1.6rem 1.55rem;
}

.este-service-card__title {
	margin: 0;
	color: var(--ep-color-text-primary, #1a1a2e);
	font-size: 1.2rem;
	line-height: 1.25;
}

.este-service-card__excerpt {
	margin: .75rem 0 1.1rem;
	color: var(--ep-color-text-secondary, #6b7280);
	line-height: 1.65;
}

.este-service-card__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin-top: auto;
	border-radius: 50%;
	background: var(--ep-color-bg-secondary, #f8f4ef);
	color: var(--ep-color-primary-dark, #b8935a);
	transition: background .2s ease, color .2s ease, transform .2s ease;
}

.este-service-card:hover .este-service-card__arrow {
	background: var(--ep-color-primary, #c9a96e);
	color: #fff;
	transform: translateX(3px);
}

.este-social-icons {
	display: flex;
	flex-wrap: wrap;
	gap: .55rem;
}

.este-social-icons a {
	display: inline-flex;
	width: 36px;
	height: 36px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, .09);
	color: inherit;
	transition: background .2s ease, color .2s ease;
}

.este-social-icons a:hover {
	background: var(--ep-color-primary, #c9a96e);
	color: #fff;
}

@media (max-width: 900px) {
	.este-services-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.este-header__phone-link {
		display: none;
	}
}

@media (max-width: 600px) {
	.este-services-grid {
		grid-template-columns: 1fr;
	}

	.este-header__cta {
		display: none;
	}
}

/* Single treatment page: the two-column inline layout needs a mobile override. */
@media (max-width: 900px) {
	.este-treatment-single__layout {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 2rem !important;
		padding-top: 2.5rem !important;
		padding-bottom: 2.5rem !important;
	}

	.este-treatment-single__sidebar {
		position: static !important;
	}
}

/* ================================================================
 * Este Palace visual system — 1.0.5
 * A cohesive modern layer for the homepage, Gutenberg pages,
 * treatment detail pages, forms, navigation and footer.
 * ================================================================ */
:root {
	--ep-ui-ink: #171722;
	--ep-ui-muted: #656575;
	--ep-ui-soft: #f7f4ee;
	--ep-ui-soft-2: #eee7dc;
	--ep-ui-line: rgba(26, 26, 46, .1);
	--ep-ui-gold-soft: rgba(201, 169, 110, .14);
	--ep-ui-shadow-sm: 0 10px 30px rgba(23, 23, 34, .07);
	--ep-ui-shadow: 0 24px 70px rgba(23, 23, 34, .11);
	--ep-ui-shadow-lg: 0 36px 100px rgba(13, 13, 26, .18);
	--ep-ui-radius: 22px;
	--ep-ui-radius-lg: 34px;
}

body.este-palace {
	background: #fff;
	color: var(--ep-ui-ink);
}

body.este-palace ::selection {
	background: var(--ep-color-primary, #c9a96e);
	color: #fff;
}

.este-container {
	padding-right: clamp(20px, 3vw, 40px);
	padding-left: clamp(20px, 3vw, 40px);
}

/* Header and navigation. */
.este-header {
	border-bottom: 1px solid rgba(26, 26, 46, .07);
	background: rgba(255, 255, 255, .92);
	box-shadow: 0 8px 30px rgba(23, 23, 34, .04);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	backdrop-filter: blur(18px) saturate(140%);
}

.este-header__inner {
	height: 80px;
	gap: clamp(1rem, 2.5vw, 2.5rem);
}

.este-header.is-scrolled .este-header__inner {
	height: 68px;
}

.este-header__logo .este-logo-link {
	font-size: clamp(1.25rem, 2vw, 1.65rem);
	letter-spacing: -.025em;
}

.este-nav__list {
	justify-content: center;
	gap: .35rem;
}

.este-nav__list > li > a {
	padding: .65rem .85rem;
	font-size: .82rem;
	font-weight: 650;
	letter-spacing: .025em;
	text-transform: none;
}

.este-nav__list > li > a::after {
	position: absolute;
	right: .85rem;
	bottom: .35rem;
	left: .85rem;
	height: 2px;
	border-radius: 99px;
	background: var(--ep-color-primary, #c9a96e);
	content: "";
	opacity: 0;
	transform: scaleX(.3);
	transition: opacity .2s ease, transform .2s ease;
}

.este-nav__list > li > a:hover::after,
.este-nav__list > li.current-menu-item > a::after {
	opacity: 1;
	transform: scaleX(1);
}

.este-header__search-toggle {
	border: 1px solid var(--ep-ui-line);
	background: #fff;
}

.este-header__cta {
	min-height: 44px;
	padding-right: 1.25rem;
	padding-left: 1.25rem;
	box-shadow: 0 10px 25px rgba(201, 169, 110, .23);
}

/* Homepage hero. */
.este-homepage .este-hero {
	min-height: clamp(640px, 78vh, 820px);
	isolation: isolate;
}

.este-homepage .este-hero__fallback-bg {
	width: 100%;
	height: 100%;
	background:
		radial-gradient(circle at 76% 24%, rgba(201, 169, 110, .24), transparent 30%),
		radial-gradient(circle at 90% 80%, rgba(111, 84, 147, .23), transparent 34%),
		linear-gradient(125deg, #0d0d1a 0%, #1a1a2e 48%, #2a2440 100%);
}

.este-homepage .este-hero__overlay {
	background:
		linear-gradient(90deg, rgba(7, 7, 14, .72) 0%, rgba(10, 10, 20, .43) 52%, rgba(10, 10, 20, .12) 100%),
		linear-gradient(0deg, rgba(7, 7, 14, .28), transparent 45%);
}

.este-homepage .este-hero::before,
.este-homepage .este-hero::after {
	position: absolute;
	z-index: 1;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

.este-homepage .este-hero::before {
	top: -160px;
	right: -110px;
	width: 520px;
	height: 520px;
}

.este-homepage .este-hero::after {
	right: 14%;
	bottom: -220px;
	width: 430px;
	height: 430px;
}

.este-homepage .este-hero__content {
	max-width: 800px;
	padding: clamp(5rem, 9vw, 8rem) 0;
}

.este-homepage .este-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .65rem;
	margin-bottom: 1.5rem;
	padding: .55rem .9rem;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 999px;
	background: rgba(255, 255, 255, .08);
	color: rgba(255, 255, 255, .88);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .13em;
	text-transform: uppercase;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.este-homepage .este-hero__eyebrow::before {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--ep-color-primary, #c9a96e);
	box-shadow: 0 0 0 5px rgba(201, 169, 110, .13);
	content: "";
}

.este-homepage .este-hero__title {
	max-width: 790px;
	margin: 0 0 1.5rem;
	font-size: clamp(3.15rem, 6.4vw, 5.65rem);
	font-weight: 500;
	line-height: .98;
	letter-spacing: -.045em;
	text-wrap: balance;
}

.este-homepage .este-hero__title em {
	color: #dfc08e;
	font-weight: 400;
}

.este-homepage .este-hero__subtitle {
	max-width: 650px;
	margin-bottom: 2.25rem;
	color: rgba(255, 255, 255, .76);
	font-size: clamp(1.05rem, 1.7vw, 1.25rem);
	line-height: 1.75;
}

.este-homepage .este-hero__actions {
	gap: .8rem;
}

.este-homepage .este-hero__actions .este-btn {
	min-height: 52px;
	padding-right: 1.5rem;
	padding-left: 1.5rem;
	border-radius: 999px;
}

.este-homepage .este-hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem 1.5rem;
	margin-top: 2.35rem;
	padding-top: 1.4rem;
	border-top: 1px solid rgba(255, 255, 255, .13);
}

.este-homepage .este-hero__trust-item {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	color: rgba(255, 255, 255, .72);
	font-size: .78rem;
	font-weight: 600;
}

.este-homepage .este-hero__trust-item svg {
	color: #dfc08e;
}

.este-hero__scroll-indicator {
	position: absolute;
	z-index: 3;
	right: clamp(1.5rem, 4vw, 4rem);
	bottom: 2.5rem;
	display: flex;
	align-items: center;
	gap: .8rem;
	color: rgba(255, 255, 255, .55);
	font-size: .65rem;
	font-weight: 700;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.este-hero__scroll-line {
	width: 52px;
	height: 1px;
	background: linear-gradient(90deg, #dfc08e, transparent);
}

/* Homepage sections and headings. */
.este-homepage .este-section {
	position: relative;
	padding: clamp(82px, 9vw, 128px) 0;
}

.este-section-heading {
	max-width: 760px;
	margin: 0 auto clamp(2.5rem, 5vw, 4.5rem);
	text-align: center;
}

.este-section-heading__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .65rem;
	margin-bottom: 1rem;
	color: var(--ep-color-primary-dark, #b8935a);
	font-size: .7rem;
	font-weight: 750;
	letter-spacing: .15em;
	text-transform: uppercase;
}

.este-section-heading__eyebrow::before,
.este-section-heading__eyebrow::after {
	width: 24px;
	height: 1px;
	background: currentColor;
	content: "";
	opacity: .55;
}

.este-section-heading__title {
	margin: 0;
	font-size: clamp(2.35rem, 4.5vw, 4rem);
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: -.035em;
	text-wrap: balance;
}

.este-section-heading__title em {
	color: #9c9d9d;
	font-weight: 400;
}

.este-section-heading__desc {
	max-width: 620px;
	margin: 1.2rem auto 0;
	color: var(--ep-ui-muted);
	font-size: 1.02rem;
	line-height: 1.75;
}

.este-section-heading__line {
	display: none;
}

/* Homepage about card: intentionally removes unverifiable demo metrics. */
.este-section--about {
	overflow: hidden;
	background:
		radial-gradient(circle at 8% 20%, rgba(201, 169, 110, .12), transparent 24%),
		linear-gradient(180deg, #faf8f4 0%, #f5f0e8 100%);
}

.este-section--about .este-about__image,
.este-section--about .este-about__stats {
	display: none;
}

.este-section--about .este-about-grid {
	display: grid;
	grid-template-columns: minmax(0, 920px);
	justify-content: center;
}

.este-section--about .este-about__content {
	position: relative;
	width: 100%;
	padding: clamp(2.5rem, 6vw, 5.5rem);
	border: 1px solid rgba(201, 169, 110, .22);
	border-radius: var(--ep-ui-radius-lg);
	background: rgba(255, 255, 255, .88);
	box-shadow: var(--ep-ui-shadow);
	text-align: left;
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.este-section--about .este-about__content::after {
	position: absolute;
	top: 1.25rem;
	right: 1.35rem;
	width: 72px;
	height: 72px;
	border-top: 1px solid rgba(201, 169, 110, .42);
	border-right: 1px solid rgba(201, 169, 110, .42);
	border-radius: 0 22px 0 0;
	content: "";
}

.este-section--about .este-about__title {
	max-width: 700px;
	margin: .35rem 0 1.35rem;
	font-size: clamp(2.5rem, 5vw, 4.2rem);
	font-weight: 500;
	line-height: 1.02;
	letter-spacing: -.035em;
}

.este-section--about .este-about__lead {
	max-width: 760px;
	margin: 0 0 2rem;
	color: var(--ep-ui-muted);
	font-size: clamp(1.02rem, 1.6vw, 1.18rem);
	line-height: 1.85;
}

.este-section--about .este-btn {
	border-radius: 999px;
}

/* Homepage treatment grid and current card markup. */
.este-section--treatments {
	background: #fff;
}

.este-treatment-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 390px));
	justify-content: center;
	gap: 2rem;
}

.este-treatment-grid__item {
	display: flex;
	min-width: 0;
}

.este-treatment-grid .este-treatment-card,
.este-treatment-carousel .este-treatment-card {
	width: 100%;
	min-height: 100%;
	border: 1px solid rgba(26, 26, 46, .09);
	border-radius: 28px;
	box-shadow: var(--ep-ui-shadow-sm);
}

.este-treatment-grid .este-treatment-card:hover,
.este-treatment-carousel .este-treatment-card:hover {
	border-color: rgba(201, 169, 110, .48);
	box-shadow: 0 28px 65px rgba(23, 23, 34, .14);
	transform: translateY(-8px);
}

.este-treatment-card__link,
.este-treatment-card__img {
	display: block;
	width: 100%;
}

.este-treatment-card__img {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--ep-ui-soft);
}

.este-treatment-card__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .65s cubic-bezier(.2, .7, .2, 1);
}

.este-treatment-card:hover .este-treatment-card__img img {
	transform: scale(1.055);
}

.este-treatment-grid .este-treatment-card__body,
.este-treatment-carousel .este-treatment-card__body {
	padding: 1.65rem 1.7rem 1.75rem;
}

/* Homepage treatment carousel: five newest items, three visible on desktop. */
.este-treatment-carousel {
	width: 100%;
	margin-top: 2.4rem;
	padding: .75rem .4rem 1.1rem;
	overflow: hidden;
}

.este-treatment-carousel .swiper-wrapper {
	align-items: stretch;
}

.este-treatment-carousel.is-native-carousel .swiper-wrapper {
	display: flex;
	gap: 28px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.este-treatment-carousel.is-native-carousel .swiper-wrapper::-webkit-scrollbar {
	display: none;
}

.este-treatment-carousel__slide {
	display: flex;
	flex: 0 0 calc((100% - 56px) / 3);
	height: auto;
	padding: 0 .15rem .6rem;
	scroll-snap-align: start;
}

.este-treatment-carousel .este-treatment-card {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.este-treatment-carousel .este-treatment-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
}

.este-treatment-carousel .este-treatment-card__cta {
	margin-top: auto;
}

.este-treatment-carousel__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.1rem;
	margin-top: 1.65rem;
}

.este-treatment-carousel__prev,
.este-treatment-carousel__next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid rgba(26, 26, 46, .12);
	border-radius: 50%;
	background: #fff;
	color: var(--ep-ui-ink);
	box-shadow: 0 8px 24px rgba(23, 23, 34, .08);
	cursor: pointer;
	transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease;
}

.este-treatment-carousel__prev:hover,
.este-treatment-carousel__next:hover {
	border-color: var(--ep-color-primary, #c9a96e);
	background: var(--ep-color-primary, #c9a96e);
	color: #fff;
	transform: translateY(-2px);
}

.este-treatment-carousel__prev.swiper-button-lock,
.este-treatment-carousel__next.swiper-button-lock {
	display: none;
}

.este-treatment-carousel .swiper-pagination {
	position: static;
	display: flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 72px;
	transform: none;
}

.este-treatment-carousel .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	margin: 0 5px !important;
	background: rgba(26, 26, 46, .26);
	opacity: 1;
	transition: width .25s ease, background .25s ease;
}

.este-treatment-carousel .swiper-pagination-bullet-active {
	width: 25px;
	border-radius: 999px;
	background: var(--ep-color-primary, #c9a96e);
}

.este-treatment-card__title {
	margin-bottom: .75rem;
	font-size: 1.55rem;
	letter-spacing: -.02em;
}

.este-treatment-card__excerpt {
	font-size: .93rem;
	line-height: 1.75;
}

.este-treatment-card__meta {
	gap: .6rem;
	margin-bottom: 1.3rem;
}

.este-treatment-card__meta-item {
	padding: .45rem .7rem;
	border-radius: 999px;
	background: var(--ep-ui-soft);
	color: var(--ep-ui-muted);
}

.este-treatment-card__cta {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	margin-top: auto;
	color: var(--ep-color-primary-dark, #b8935a);
	font-size: .86rem;
	font-weight: 700;
}

.este-treatment-card__cta svg {
	transition: transform .2s ease;
}

.este-treatment-card__cta:hover svg {
	transform: translateX(4px);
}

.este-section__cta .este-btn {
	min-height: 50px;
	padding-right: 1.5rem;
	padding-left: 1.5rem;
	border-radius: 999px;
}

/* Standard Gutenberg pages: About, Contact and future pages. */
body.page:not(.home) .este-main {
	position: relative;
	overflow: hidden;
	padding: clamp(1.5rem, 4vw, 3.5rem) 0 1px;
	background:
		radial-gradient(circle at 8% 8%, rgba(201, 169, 110, .13), transparent 24%),
		radial-gradient(circle at 96% 46%, rgba(42, 36, 64, .08), transparent 30%),
		#f6f3ed;
}

body.page:not(.home) article.page > .este-container--narrow {
	width: min(1040px, calc(100% - 40px));
	max-width: none;
	margin: 0 auto clamp(4rem, 8vw, 7rem);
	padding: clamp(3rem, 7vw, 6.5rem) clamp(1.5rem, 7vw, 6rem) !important;
	border: 1px solid rgba(26, 26, 46, .08);
	border-radius: clamp(24px, 4vw, 38px);
	background: rgba(255, 255, 255, .96);
	box-shadow: var(--ep-ui-shadow);
}

body.page:not(.home) article.page > .este-container--narrow > h1:first-child {
	position: relative;
	max-width: 760px;
	margin: 0 0 2rem;
	padding-top: 1.8rem;
	font-size: clamp(3rem, 6.4vw, 5.3rem);
	font-weight: 500;
	line-height: .98;
	letter-spacing: -.045em;
	text-wrap: balance;
}

body.page:not(.home) article.page > .este-container--narrow > h1:first-child::before {
	position: absolute;
	top: 0;
	left: 0;
	color: var(--ep-color-primary-dark, #b8935a);
	content: "ESTE PALACE";
	font-family: var(--ep-font-body, Inter, sans-serif);
	font-size: .68rem;
	font-weight: 750;
	letter-spacing: .18em;
}

body.page:not(.home) .has-large-font-size {
	max-width: 800px;
	margin-bottom: 2.25rem;
	color: #464655;
	font-size: clamp(1.18rem, 2vw, 1.45rem) !important;
	line-height: 1.72;
}

body.page:not(.home) article.page h2 {
	margin: clamp(2.8rem, 6vw, 5rem) 0 1.15rem;
	font-size: clamp(2rem, 4vw, 3.15rem);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -.03em;
}

body.page:not(.home) article.page h3 {
	margin: 0 0 .75rem;
	font-size: clamp(1.3rem, 2vw, 1.65rem);
	line-height: 1.25;
}

body.page:not(.home) article.page p,
body.page:not(.home) article.page li {
	color: var(--ep-ui-muted);
	font-size: 1rem;
	line-height: 1.85;
}

body.page:not(.home) .wp-block-separator {
	width: 100%;
	margin: clamp(2.5rem, 5vw, 4rem) 0;
	border: 0;
	border-top: 1px solid var(--ep-ui-line);
}

body.page:not(.home) .wp-block-columns {
	gap: 1.4rem;
	margin: 2rem 0 3rem;
}

body.page:not(.home) .wp-block-column {
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border: 1px solid rgba(201, 169, 110, .2);
	border-radius: var(--ep-ui-radius);
	background: linear-gradient(145deg, #fff, #faf7f1);
	box-shadow: 0 14px 38px rgba(23, 23, 34, .06);
}

body.page:not(.home) .wp-block-column h3::before {
	display: block;
	width: 38px;
	height: 3px;
	margin-bottom: 1.2rem;
	border-radius: 99px;
	background: var(--ep-gradient, linear-gradient(135deg, #c9a96e, #b8935a));
	content: "";
}

.wp-block-buttons {
	gap: .75rem;
	margin-top: 2rem;
}

.wp-block-button__link {
	min-height: 48px;
	padding: .8rem 1.35rem;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--ep-gradient, linear-gradient(135deg, #c9a96e, #b8935a));
	box-shadow: 0 10px 24px rgba(201, 169, 110, .22);
	font-size: .88rem;
	font-weight: 700;
	line-height: 1.5;
}

.wp-block-button.is-style-outline .wp-block-button__link {
	border-color: rgba(201, 169, 110, .58);
	background: transparent;
	box-shadow: none;
	color: var(--ep-color-primary-dark, #b8935a);
}

.wp-block-button__link:hover {
	color: #fff;
	transform: translateY(-2px);
}

/* Contact / appointment form. */
.este-appointment-form {
	position: relative;
	margin: 2rem 0 3rem;
	padding: clamp(1.5rem, 5vw, 3.5rem);
	border: 1px solid rgba(201, 169, 110, .24);
	border-radius: 28px;
	background:
		radial-gradient(circle at 100% 0%, rgba(201, 169, 110, .14), transparent 30%),
		#fbf9f5;
	box-shadow: var(--ep-ui-shadow-sm);
}

.este-appointment-form__title {
	margin: 0 0 .65rem !important;
	font-size: clamp(1.8rem, 3.5vw, 2.75rem) !important;
}

.este-appointment-form__subtitle {
	max-width: 680px;
	margin-bottom: 2rem;
}

.este-appointment-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.2rem;
}

.este-form-group {
	margin-bottom: 1.2rem;
}

.este-form-label {
	margin-bottom: .55rem;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .02em;
}

.este-form-input,
.este-form-select,
.este-form-textarea {
	width: 100%;
	min-height: 52px;
	padding: .85rem 1rem;
	border: 1px solid rgba(26, 26, 46, .13);
	border-radius: 14px;
	background: rgba(255, 255, 255, .95);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
	color: var(--ep-ui-ink);
	font: inherit;
	outline: 0;
	transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.este-form-textarea {
	min-height: 132px;
	resize: vertical;
}

.este-form-input:focus,
.este-form-select:focus,
.este-form-textarea:focus {
	border-color: var(--ep-color-primary, #c9a96e);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(201, 169, 110, .14);
}

.este-appointment-form .este-btn--full {
	min-height: 54px;
	margin-top: .5rem;
	box-shadow: 0 14px 30px rgba(201, 169, 110, .25);
}

.este-form-error {
	margin-bottom: 1rem;
	padding: .9rem 1rem;
	border: 1px solid #fecaca;
	border-radius: 12px;
	background: #fef2f2;
	color: #991b1b;
}

body.page:not(.home) .wp-block-group.has-background {
	margin-top: 2.5rem;
	padding: clamp(1.5rem, 4vw, 2.5rem) !important;
	border: 1px solid rgba(26, 26, 46, .08);
	border-radius: var(--ep-ui-radius);
	background: #f5f1e9 !important;
}

body.page:not(.home) .wp-block-list {
	margin: 1rem 0 0;
	padding-left: 1.25rem;
}

body.page:not(.home) .wp-block-list li {
	margin-bottom: .55rem;
	padding-left: .35rem;
}

/* Treatment detail page. */
#main-content {
	background: #fff;
}

#main-content > section:first-child {
	min-height: clamp(520px, 63vh, 700px) !important;
}

#main-content > section:first-child .este-container {
	padding-bottom: clamp(3rem, 6vw, 5.5rem) !important;
}

.este-breadcrumbs {
	display: inline-flex;
	align-items: center;
	gap: .65rem;
	padding: .48rem .75rem;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 999px;
	background: rgba(12, 12, 22, .2);
	color: rgba(255, 255, 255, .76);
	font-size: .76rem;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.este-breadcrumbs a {
	color: #fff;
}

.este-breadcrumbs__separator {
	color: #dfc08e;
}

.este-treatment-single__layout {
	gap: clamp(2.5rem, 5vw, 5rem) !important;
	padding-top: clamp(3.5rem, 6vw, 6rem) !important;
	padding-bottom: clamp(4rem, 8vw, 7rem) !important;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 360px) !important;
}

.este-post-content {
	color: var(--ep-ui-muted);
	font-size: 1.04rem;
	line-height: 1.9;
}

.este-post-content > * + * {
	margin-top: 1.25rem;
}

.este-post-content h2 {
	margin: 3.2rem 0 1.15rem;
	color: var(--ep-ui-ink);
	font-size: clamp(2rem, 3.6vw, 3rem);
	font-weight: 500;
	line-height: 1.12;
	letter-spacing: -.03em;
}

.este-post-content h3 {
	margin: 2.25rem 0 .9rem;
	font-size: clamp(1.4rem, 2.5vw, 1.85rem);
}

.este-post-content ul,
.este-post-content ol {
	padding-left: 1.3rem;
}

.este-post-content li {
	margin-bottom: .55rem;
	padding-left: .35rem;
}

.este-post-content blockquote {
	margin: 2rem 0;
	padding: 1.5rem 1.75rem;
	border-left: 3px solid var(--ep-color-primary, #c9a96e);
	border-radius: 0 18px 18px 0;
	background: var(--ep-ui-soft);
}

.este-treatment-single__sidebar > div {
	border: 1px solid rgba(26, 26, 46, .09) !important;
	border-radius: 26px !important;
	background: linear-gradient(145deg, #fff, #f8f4ed) !important;
	box-shadow: var(--ep-ui-shadow-sm);
}

.este-treatment-single__sidebar > div:first-child {
	background:
		radial-gradient(circle at 100% 0%, rgba(201, 169, 110, .17), transparent 35%),
		#f7f3eb !important;
}

.este-treatment-single__sidebar .este-btn {
	min-height: 48px;
}

/* Footer. */
.este-footer {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 12% 0%, rgba(201, 169, 110, .13), transparent 28%),
		linear-gradient(145deg, #0d0d1a 0%, #171728 58%, #11111e 100%);
}

.este-footer::before {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(201, 169, 110, .55), transparent);
	content: "";
}

.este-footer__main,
.este-footer__top {
	padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.este-footer__grid {
	gap: clamp(2rem, 5vw, 4rem);
}

.este-footer__logo .este-logo-link,
.este-footer__brand .este-logo-link {
	color: #fff;
	font-size: 1.7rem;
}

.este-footer__about,
.este-footer__tagline {
	max-width: 430px;
	margin-top: 1.25rem;
	color: rgba(255, 255, 255, .58);
	line-height: 1.8;
}

.este-footer__bottom {
	padding: 1.35rem 0;
	border-top-color: rgba(255, 255, 255, .09);
}

.este-footer__legal-nav {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.este-footer__legal-nav a {
	color: rgba(255, 255, 255, .55);
	font-size: .8rem;
}

.este-footer__legal-nav a:hover {
	color: #dfc08e;
}

.este-footer-logo {
	display: flex;
	align-items: flex-start;
}

.este-footer-logo img {
	display: block;
	width: min(210px, 100%);
	height: auto;
}

.este-footer-contact {
	display: grid;
	gap: .9rem;
}

.este-footer-contact__item {
	display: flex;
	align-items: flex-start;
	gap: .75rem;
	margin: 0;
	color: rgba(255,255,255,.78);
	font-size: .9rem;
	line-height: 1.55;
}

.este-footer-contact__icon {
	display: grid;
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	place-items: center;
	border: 1px solid rgba(201,169,110,.35);
	border-radius: 50%;
	color: #dfc08e;
}

.este-footer-contact__icon svg {
	width: 16px;
	height: 16px;
}

.este-footer-contact__item strong {
	display: block;
	margin-bottom: .1rem;
	color: #fff;
	font-size: .72rem;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.este-footer-contact__item a {
	color: rgba(255,255,255,.78);
	text-decoration: none;
}

.este-footer-contact__item a:hover { color: #dfc08e; }

/* Refined floating controls and cookie banner. */
#este-back-to-top {
	border-color: rgba(26, 26, 46, .09);
	box-shadow: var(--ep-ui-shadow-sm);
}

.este-cookie-bar {
	background: rgba(13, 13, 26, .96);
	box-shadow: 0 -16px 50px rgba(13, 13, 26, .17);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
}

/* Responsive layout. */
@media (max-width: 1024px) {
	.este-treatment-carousel__slide {
		flex-basis: calc((100% - 24px) / 2);
	}

	.este-homepage .este-hero {
		min-height: 680px;
	}

	.este-treatment-single__layout {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.este-treatment-single__sidebar {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.25rem;
	}
}

@media (max-width: 767px) {
	.este-container {
		padding-right: 20px;
		padding-left: 20px;
	}

	.este-header__inner,
	.este-header.is-scrolled .este-header__inner {
		height: 68px;
	}

	.este-header__search-toggle {
		display: none;
	}

	.este-homepage .este-hero {
		min-height: 650px;
	}

	.este-homepage .este-hero__content {
		padding: 5.5rem 0 6rem;
	}

	.este-homepage .este-hero__title {
		font-size: clamp(2.65rem, 13vw, 4.15rem);
	}

	.este-homepage .este-hero__subtitle {
		font-size: 1rem;
	}

	.este-homepage .este-hero__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.este-homepage .este-hero__actions .este-btn {
		justify-content: center;
	}

	.este-homepage .este-hero__trust {
		gap: .65rem 1rem;
	}

	.este-hero__scroll-indicator {
		display: none;
	}

	.este-section--about .este-about__content {
		padding: 2.15rem 1.4rem;
		border-radius: 24px;
	}

	.este-section--about .este-about__content::after {
		display: none;
	}

	.este-treatment-carousel {
		margin-top: 1.5rem;
		padding-right: 0;
		padding-left: 0;
	}

	.este-treatment-carousel__slide {
		flex-basis: 100%;
	}

	.este-treatment-carousel__controls {
		gap: .8rem;
		margin-top: 1.15rem;
	}

	.este-treatment-carousel__prev,
	.este-treatment-carousel__next {
		width: 42px;
		height: 42px;
	}

	body.page:not(.home) article.page > .este-container--narrow {
		width: calc(100% - 28px);
		padding: 2.5rem 1.25rem 3rem !important;
		border-radius: 24px;
	}

	body.page:not(.home) article.page > .este-container--narrow > h1:first-child {
		font-size: clamp(2.5rem, 13vw, 3.8rem);
	}

	body.page:not(.home) .wp-block-columns {
		gap: 1rem;
	}

	.este-appointment-form {
		padding: 1.5rem 1.1rem;
		border-radius: 20px;
	}

	.este-appointment-form__grid,
	.este-treatment-single__sidebar {
		grid-template-columns: 1fr;
	}

	#main-content > section:first-child {
		min-height: 500px !important;
	}

	.este-footer__bottom-inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.este-cookie-bar__inner {
		align-items: stretch;
		flex-direction: column;
	}

	.este-cookie-bar__actions {
		width: 100%;
	}

	.este-cookie-bar__actions .este-btn {
		flex: 1;
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* Unified WordPress footer system. */
.este-footer {
	background:
		radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--ep-footer-link, #c9a96e) 15%, transparent), transparent 30%),
		var(--ep-footer-bg, #0d0d1a) !important;
	color: var(--ep-footer-text, #9ca3af);
}

.este-footer :is(h2, h3, h4, h5, h6, .widget-title, .este-widget__title, .este-footer-widget__title, .este-footer__col-title) {
	color: var(--ep-footer-heading, #fff);
}

.este-footer :is(a, button) {
	color: var(--ep-footer-text, #9ca3af);
}

.este-footer a:hover,
.este-footer a:focus-visible,
.este-footer .current-menu-item > a {
	color: var(--ep-footer-link, #c9a96e);
}

.este-footer .este-footer-widget,
.este-footer .widget {
	margin: 0;
}

.este-footer :is(.menu, .este-footer__nav-list, .widget_nav_menu ul) {
	display: flex;
	flex-direction: column;
	gap: .65rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.este-footer :is(.menu, .este-footer__nav-list, .widget_nav_menu ul) a {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	font-size: .92rem;
	transition: color .2s ease, transform .2s ease;
}

.este-footer :is(.menu, .este-footer__nav-list, .widget_nav_menu ul) a:hover {
	transform: translateX(4px);
}

.este-footer__col-title,
.este-footer-widget__title,
.este-footer .widget-title {
	margin: 0 0 1.1rem;
	font-family: var(--ep-font-body, "Inter", sans-serif);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.este-footer__newsletter {
	width: min(100%, 440px);
}

.este-footer__newsletter-text {
	margin: 0 0 1rem;
	color: var(--ep-footer-text, #9ca3af);
	font-size: .9rem;
	line-height: 1.7;
}

.este-footer .este-newsletter-form__group {
	display: flex;
	overflow: hidden;
	min-height: 48px;
	border: 1px solid color-mix(in srgb, var(--ep-footer-text, #9ca3af) 28%, transparent);
	border-radius: 999px;
	background: rgba(255, 255, 255, .06);
}

.este-footer .este-newsletter-form__input {
	flex: 1;
	min-width: 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--ep-footer-heading, #fff);
}

.este-footer .este-newsletter-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	border: 0;
	background: var(--ep-footer-link, #c9a96e);
	color: #fff;
}

.este-footer__copyright,
.este-footer__bottom-inner {
	color: var(--ep-footer-text, #9ca3af);
}

/* Style 1: classic four columns. */
.este-footer--style-1 .este-footer__grid--4col {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.este-footer--style-1 .este-footer__col--1 {
	grid-column: auto;
}

/* Style 2: centered, spacious and symmetrical. */
.este-footer--style-2 {
	text-align: center;
}

.este-footer--style-2 .este-footer__center-brand {
	display: flex;
	justify-content: center;
	margin: 0 auto 2.75rem;
}

.este-footer--style-2 .este-footer__brand,
.este-footer--style-2 .este-footer__about,
.este-footer--style-2 .este-footer__newsletter {
	margin-right: auto;
	margin-left: auto;
}

.este-footer--style-2 .este-footer__social,
.este-footer--style-2 .este-footer__center-widgets {
	justify-content: center;
}

.este-footer--style-2 .este-footer__center-widgets {
	display: grid;
	grid-template-columns: repeat(4, minmax(150px, 1fr));
	gap: 2rem;
	margin-bottom: 2.75rem;
}

.este-footer--style-2 :is(.menu, .este-footer__nav-list, .widget_nav_menu ul) {
	align-items: center;
}

/* Style 3: compact/minimal. */
.este-footer--style-3 .este-footer__main {
	padding: 2.25rem 0;
}

.este-footer--style-3 .este-footer__minimal-brand {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding-bottom: 1.75rem;
}

.este-footer--style-3 .este-footer__brand {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	gap: 1.5rem;
}

.este-footer--style-3 .este-footer__about {
	margin: 0;
}

.este-footer--style-3 .este-footer__minimal-widgets {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, .08);
}

.este-footer--style-3 .este-footer__minimal-widgets :is(.menu, .este-footer__nav-list, .widget_nav_menu ul) {
	flex-direction: row;
	flex-wrap: wrap;
}

.este-footer--style-3 .este-footer__minimal-widgets :is(.widget-title, .este-footer-widget__title) {
	display: none;
}

/* Style 4: full-width map and content panel. */
.este-footer--style-4 .este-footer__main {
	padding-top: 0;
}

.este-footer__map {
	position: relative;
	width: 100%;
	height: clamp(280px, 36vw, 480px);
	background: rgba(255, 255, 255, .06);
}

.este-footer__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	filter: grayscale(.85) contrast(1.05);
}

.este-footer__map-content {
	display: grid;
	grid-template-columns: minmax(230px, .8fr) minmax(0, 1.7fr);
	gap: 3rem;
	padding-top: clamp(3rem, 6vw, 5rem);
}

.este-footer__map-widgets {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2.25rem;
}

.este-footer--style-4 .este-footer__newsletter {
	grid-column: 2;
}

@media (max-width: 1024px) {
	.este-footer--style-1 .este-footer__grid--4col,
	.este-footer--style-2 .este-footer__center-widgets {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.este-footer__map-content {
		grid-template-columns: 1fr;
	}

	.este-footer--style-4 .este-footer__newsletter {
		grid-column: auto;
	}
}

@media (max-width: 640px) {
	.este-footer--style-1 .este-footer__grid--4col,
	.este-footer--style-2 .este-footer__center-widgets,
	.este-footer__map-widgets {
		grid-template-columns: 1fr;
	}

	.este-footer--style-2 {
		text-align: left;
	}

	.este-footer--style-2 :is(.menu, .este-footer__nav-list, .widget_nav_menu ul) {
		align-items: flex-start;
	}

	.este-footer--style-3 .este-footer__brand,
	.este-footer--style-3 .este-footer__minimal-brand {
		align-items: flex-start;
		flex-direction: column;
	}
}

/* ================================================================
 * Ana sayfa modül sistemi — 1.0.9
 * Tüm modüller için ortak ritim, boş durumlar ve çalışan slider/ticker.
 * ================================================================ */
.este-homepage > .este-section:not(.este-section--counters):not(.este-section--cta) {
	padding-block: clamp(4.75rem, 8vw, 7.5rem);
}

.este-homepage .este-section-heading {
	margin-bottom: clamp(2.25rem, 4vw, 3.75rem);
}

.este-homepage .este-section__cta {
	margin-top: 2.5rem;
	text-align: center;
}

.este-section--services,
.este-section--blog {
	background: #fff;
}

.este-section--services .este-services-grid {
	gap: clamp(1.25rem, 2vw, 2rem);
}

.este-service-card__link-text {
	display: inline-flex;
	align-items: center;
	margin-top: auto;
	padding-top: 1rem;
	color: var(--ep-color-primary-dark, #b8935a);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.este-service-card__link-text + .este-service-card__arrow {
	position: absolute;
	right: 1.5rem;
	bottom: 1.35rem;
}

.este-service-card__body {
	position: relative;
}

/* Hakkımızda: görsel ve metni tekrar dengeli iki sütuna al. */
.este-section--about .este-about__image {
	position: relative;
	display: block;
	min-height: 560px;
	overflow: hidden;
	border-radius: 32px;
	background: linear-gradient(145deg, #e8dfd1, #c9a96e);
	box-shadow: var(--ep-ui-shadow);
}

.este-section--about .este-about__image > img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 560px;
	object-fit: cover;
}

.este-section--about .este-about-grid {
	display: grid;
	grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 5rem);
}

.este-section--about .este-about__content {
	padding: clamp(2rem, 4.5vw, 4.25rem);
}

.este-section--about .este-about__title em {
	color: var(--ep-color-primary-dark, #b8935a);
	font-weight: 400;
}

.este-about__visual-fallback {
	display: grid;
	height: 100%;
	min-height: 560px;
	place-content: center;
	background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.48), transparent 28%), linear-gradient(145deg, #e8dfd1, #b8935a);
	color: #fff;
	text-align: center;
}

.este-about__visual-fallback span {
	font-family: var(--ep-font-heading, Georgia, serif);
	font-size: clamp(5rem, 10vw, 8rem);
	font-weight: 300;
	line-height: 1;
}

.este-about__visual-fallback small {
	margin-top: .75rem;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .24em;
	text-transform: uppercase;
}

.este-about__badge {
	position: absolute;
	right: 1.25rem;
	bottom: 1.25rem;
	display: flex;
	align-items: center;
	gap: .7rem;
	max-width: calc(100% - 2.5rem);
	padding: .85rem 1.1rem;
	border: 1px solid rgba(255,255,255,.45);
	border-radius: 999px;
	background: rgba(18,18,29,.72);
	color: #fff;
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.este-about__badge-icon {
	color: var(--ep-color-primary, #c9a96e);
	font-size: 1.2rem;
}

.este-about__badge-label {
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .05em;
}

.este-about__highlights {
	display: grid;
	gap: .75rem;
	margin: 0 0 2rem;
	padding: 0;
	list-style: none;
	color: var(--ep-ui-ink, #171722);
}

.este-about__highlights li {
	display: flex;
	align-items: flex-start;
	gap: .7rem;
	line-height: 1.55;
}

.este-about__highlights span {
	display: inline-grid;
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
	place-items: center;
	border-radius: 50%;
	background: rgba(201,169,110,.16);
	color: var(--ep-color-primary-dark, #b8935a);
	font-size: .75rem;
}

/* Sayaç çubuğu. */
.este-section--counters {
	padding-block: clamp(3.5rem, 6vw, 5.5rem);
	background: radial-gradient(circle at 18% 20%, rgba(201,169,110,.18), transparent 28%), #151520;
}

.este-counters-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.este-stat-item {
	position: relative;
	display: grid;
	gap: .55rem;
	place-items: center;
	padding: 1.5rem;
	color: #fff;
}

.este-stat-item:not(:last-child)::after {
	position: absolute;
	top: 12%;
	right: 0;
	width: 1px;
	height: 76%;
	background: rgba(255,255,255,.12);
	content: "";
}

.este-stat-item__number {
	font-family: var(--ep-font-heading, Georgia, serif);
	font-size: clamp(2.6rem, 5vw, 4.5rem);
	font-weight: 400;
	line-height: 1;
	color: #fff;
}

.este-stat-item__label {
	color: rgba(255,255,255,.72);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .07em;
	text-align: center;
	text-transform: uppercase;
}

/* Öncesi / sonrası. */
.este-section--before-after {
	background: linear-gradient(180deg, #f8f5ef, #fff);
}

.este-ba-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.75rem;
}

.este-ba-slider-wrap {
	overflow: hidden;
	border: 1px solid rgba(26,26,46,.1);
	border-radius: 28px;
	background: #fff;
	box-shadow: var(--ep-ui-shadow-sm);
}

.este-ba-slider {
	position: relative;
	min-height: 420px;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	cursor: ew-resize;
	touch-action: none;
	user-select: none;
}

.este-ba-before,
.este-ba-after {
	position: absolute;
	inset: 0;
}

.este-ba-before img,
.este-ba-after img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.este-ba-after {
	transition: clip-path .04s linear;
}

.este-ba-handle {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	z-index: 3;
	width: 3px;
	border: 0;
	outline: 0;
	background: #fff;
	box-shadow: 0 0 8px rgba(0,0,0,.2);
	transform: translateX(-50%);
}

.este-ba-handle:focus-visible .este-ba-handle-btn {
	outline: 3px solid rgba(201,169,110,.5);
	outline-offset: 3px;
}

.este-ba-handle-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	width: 46px;
	height: 46px;
	place-items: center;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 5px 18px rgba(0,0,0,.24);
	color: var(--ep-color-primary-dark, #b8935a);
	transform: translate(-50%, -50%);
}

.este-ba-label {
	position: absolute;
	bottom: 1rem;
	z-index: 2;
	padding: .4rem .7rem;
	border-radius: 999px;
	background: rgba(14,14,26,.72);
	color: #fff;
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.este-ba-label--before { left: 1rem; }
.este-ba-label--after { right: 1rem; }

.este-ba-info {
	display: grid;
	gap: .3rem;
	padding: 1.2rem 1.4rem 1.35rem;
}

.este-ba-title { color: var(--ep-ui-ink); }
.este-ba-treatment { color: var(--ep-color-primary-dark, #b8935a); font-size: .84rem; }
.este-ba-disclaimer { color: var(--ep-ui-muted); font-size: .72rem; }

/* Danışan yorumları ve Swiper. */
.este-section--reviews {
	overflow: hidden;
	background: radial-gradient(circle at 82% 15%, rgba(201,169,110,.17), transparent 24%), #151520;
}

.este-section--reviews .este-section-heading__eyebrow,
.este-section--reviews .este-section-heading__title {
	color: #fff;
}

.este-section--reviews .este-section-heading__desc {
	color: rgba(255,255,255,.66);
}

.este-reviews-slider {
	padding: .5rem .3rem 3.5rem;
	overflow: hidden;
}

.este-reviews-slider .swiper-wrapper {
	align-items: stretch;
}

.este-reviews-slider .swiper-slide {
	display: flex;
	height: auto;
}

.este-review-card {
	display: flex;
	width: 100%;
	min-height: 290px;
	flex-direction: column;
	padding: clamp(1.5rem, 2.5vw, 2rem);
	border: 1px solid rgba(255,255,255,.18);
	border-radius: 24px;
	background: rgba(255,255,255,.08);
	box-shadow: 0 20px 55px rgba(0,0,0,.18);
	backdrop-filter: blur(16px);
}

.este-review-card__stars {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	gap: 4px;
	margin-bottom: 1rem;
	color: #e3b64b;
}

.este-review-card__stars .este-star {
	display: block;
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	margin: 0;
}

.este-review-card__content {
	flex: 1;
	margin: 0 0 1.5rem;
	color: #fff;
	font-size: 1rem;
	font-style: italic;
	line-height: 1.75;
}

.este-review-card__content p { margin: 0; }

.este-review-card__author {
	display: flex;
	align-items: center;
	gap: .85rem;
}

.este-review-card__avatar,
.este-review-card__avatar-placeholder {
	display: grid;
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	place-items: center;
	border-radius: 50%;
	background: linear-gradient(135deg, #c9a96e, #9a7741);
	color: #fff;
	font-weight: 700;
	object-fit: cover;
}

.este-review-card__name {
	display: block;
	color: #fff;
	font-weight: 700;
}

.este-review-card__meta {
	display: block;
	margin-top: .2rem;
	color: #fff;
	font-size: .76rem;
}

.este-reviews-slider .swiper-button-prev,
.este-reviews-slider .swiper-button-next {
	top: auto;
	bottom: 0;
}

.este-reviews-slider .swiper-button-prev { left: calc(50% - 60px); }
.este-reviews-slider .swiper-button-next { right: calc(50% - 60px); }
.este-reviews-slider .swiper-pagination { bottom: .9rem; }

/* Native fallback when the optional Swiper vendor bundle is unavailable. */
.este-reviews-slider.is-native-review-carousel {
	position: relative;
	overflow: hidden;
	padding-inline: .25rem;
}

.este-reviews-slider.is-native-review-carousel .swiper-wrapper {
	display: flex;
	align-items: stretch;
	gap: 24px;
	transition: transform .65s cubic-bezier(.22, .61, .36, 1);
	will-change: transform;
}

.este-reviews-slider.is-native-review-carousel .swiper-slide {
	display: flex;
	min-width: 0;
	flex: 0 0 calc((100% - 48px) / 3);
}

.este-reviews-slider.is-native-review-carousel .este-review-card { height: 100%; }

.este-reviews-slider.is-native-review-carousel .swiper-pagination {
	display: flex;
	right: 0;
	left: 0;
	justify-content: center;
	gap: 8px;
}

.este-reviews-slider.is-native-review-carousel .swiper-pagination-bullet {
	display: block;
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255,255,255,.4);
	cursor: pointer;
	transition: width .25s, background .25s;
}

.este-reviews-slider.is-native-review-carousel .swiper-pagination-bullet-active {
	width: 24px;
	border-radius: 10px;
	background: #c9a96e;
}

@media (max-width: 1023px) {
	.este-reviews-slider.is-native-review-carousel .swiper-slide {
		flex-basis: calc((100% - 24px) / 2);
	}
}

@media (max-width: 639px) {
	.este-reviews-slider.is-native-review-carousel .swiper-slide { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.este-reviews-slider.is-native-review-carousel .swiper-wrapper { transition: none; }
}

/* Blog. */
.este-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.75rem;
}

.este-blog-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	border: 1px solid rgba(26,26,46,.09);
	border-radius: 26px;
	box-shadow: var(--ep-ui-shadow-sm);
}

.este-blog-card__img,
.este-blog-card__placeholder {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: linear-gradient(145deg, #eee7dc, #c9a96e);
}

.este-blog-card__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}

.este-blog-card:hover .este-blog-card__img img { transform: scale(1.05); }

.este-blog-card__placeholder {
	display: grid;
	place-items: center;
	color: rgba(255,255,255,.88);
	font-family: var(--ep-font-heading, Georgia, serif);
	font-size: 3rem;
}

.este-blog-card__cat {
	display: inline-flex;
	margin-bottom: .7rem;
	color: var(--ep-color-primary-dark, #b8935a);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.este-blog-card__read-more {
	margin-left: auto;
	color: var(--ep-color-primary-dark, #b8935a);
	font-weight: 700;
}

/* Marka şeridi. */
.este-section--partners {
	overflow: hidden;
	background: #f8f5ef;
}

.este-partners-track {
	display: block;
	width: 100%;
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.este-partners-ticker {
	display: flex;
	width: max-content;
	align-items: center;
	gap: 1.25rem;
	animation: este-partners-scroll 28s linear infinite;
}

.este-partners-track:hover .este-partners-ticker { animation-play-state: paused; }

.este-partner-logo {
	display: grid;
	width: 190px;
	height: 90px;
	max-height: none;
	flex: 0 0 190px;
	place-items: center;
	padding: 1rem 1.25rem;
	border: 1px solid rgba(26,26,46,.08);
	border-radius: 18px;
	background: #fff;
	filter: grayscale(1);
	opacity: .72;
}

.este-partner-logo img {
	display: block;
	width: 100%;
	height: 54px;
	object-fit: contain;
}

.este-partner-names {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
}

.este-partner-name {
	display: inline-flex;
	min-width: 170px;
	min-height: 70px;
	align-items: center;
	justify-content: center;
	padding: 1rem 1.5rem;
	border: 1px solid rgba(26,26,46,.09);
	border-radius: 18px;
	background: #fff;
	box-shadow: var(--ep-ui-shadow-sm);
	color: var(--ep-ui-ink);
	font-weight: 700;
}

@keyframes este-partners-scroll {
	to { transform: translateX(calc(-50% - .625rem)); }
}

/* CTA. */
.este-section--cta {
	position: relative;
	overflow: hidden;
	padding-block: clamp(4.5rem, 8vw, 7rem);
	background-color: #0c0c12;
	background-image: linear-gradient(90deg, rgba(7,7,12,.86) 0%, rgba(8,8,14,.72) 45%, rgba(7,7,12,.84) 100%), url('../images/backgrounds/este-cta-luxury-background.webp');
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	color: #fff;
	isolation: isolate;
}

.este-cta-bg {
	display: none;
}

.este-section--cta .este-container { position: relative; z-index: 1; }

.este-cta__inner {
	position: relative;
	z-index: 1;
	max-width: 860px;
	margin-inline: auto;
	text-align: center;
}

.este-cta__title {
	margin: .8rem 0 1.25rem;
	color: #fff;
	font-size: clamp(2.45rem, 5vw, 4.5rem);
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: -.035em;
}

.este-cta__title em { color: #9c9d9d; font-weight: 400; }

.este-cta__subtitle {
	max-width: 680px;
	margin: 0 auto 2rem;
	color: #fff;
	font-size: 1.06rem;
	line-height: 1.75;
}

.este-section--cta .este-section-heading__eyebrow { color: #fff; }

.este-cta__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
}

/* İçerik bulunmadığında modülü gizlemek yerine güvenli boş durum göster. */
.este-home-empty {
	display: flex;
	max-width: 820px;
	align-items: center;
	gap: 1.25rem;
	margin-inline: auto;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border: 1px solid rgba(26,26,46,.1);
	border-radius: 24px;
	background: rgba(255,255,255,.82);
	box-shadow: var(--ep-ui-shadow-sm);
	text-align: left;
}

.este-home-empty__icon {
	display: grid;
	width: 64px;
	height: 64px;
	flex: 0 0 64px;
	place-items: center;
	border-radius: 20px;
	background: rgba(201,169,110,.16);
	color: var(--ep-color-primary-dark, #b8935a);
}

.este-home-empty h3 {
	margin: 0 0 .35rem;
	font-size: 1.25rem;
}

.este-home-empty p {
	margin: 0;
	color: var(--ep-ui-muted);
	line-height: 1.65;
}

.este-home-empty--dark {
	border-color: rgba(255,255,255,.12);
	background: rgba(255,255,255,.07);
}

.este-home-empty--dark h3 { color: #fff; }
.este-home-empty--dark p { color: rgba(255,255,255,.66); }

@media (prefers-reduced-motion: reduce) {
	.este-partners-ticker { animation: none; }
}

@media (max-width: 960px) {
	.este-section--about .este-about-grid {
		grid-template-columns: 1fr;
	}

	.este-section--about .este-about__image,
	.este-section--about .este-about__image > img,
	.este-about__visual-fallback {
		min-height: 440px;
	}

	.este-counters-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.este-stat-item:nth-child(2)::after { display: none; }

	.este-stat-item:nth-child(-n+2) {
		border-bottom: 1px solid rgba(255,255,255,.1);
	}

	.este-blog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.este-ba-grid,
	.este-blog-grid {
		grid-template-columns: 1fr;
	}

	.este-ba-slider { min-height: 340px; }

	.este-home-empty {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 520px) {
	.este-counters-grid {
		grid-template-columns: 1fr;
	}

	.este-stat-item:not(:last-child)::after { display: none; }
	.este-stat-item:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,.1); }

	.este-section--about .este-about__image,
	.este-section--about .este-about__image > img,
	.este-about__visual-fallback {
		min-height: 360px;
	}

	.este-section--about .este-about__content { padding: 1.6rem; }
	.este-about__badge { right: .8rem; bottom: .8rem; left: .8rem; justify-content: center; }
	.este-home-empty__icon { width: 54px; height: 54px; flex-basis: 54px; }
}

/* Mobile header: keep the brand at the left edge and the menu controls at the right. */
@media (max-width: 1024px) {
	#este-header .este-header__inner {
		justify-content: space-between;
	}

	#este-header .este-header__actions {
		margin-left: auto;
	}
}

/* Treatments archive: compact, accessible pagination instead of the browser's default list. */
.este-treatments-grid + .este-pagination {
	display: flex;
	justify-content: center;
	margin: clamp(2.5rem, 5vw, 4rem) auto 0;
}

.este-treatments-grid + .este-pagination > .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: .5rem;
	margin: 0;
	padding: .4rem;
	list-style: none;
	border: 1px solid rgba(26, 26, 46, .09);
	border-radius: 999px;
	background: rgba(255, 255, 255, .88);
	box-shadow: 0 12px 32px rgba(20, 20, 35, .08);
}

.este-treatments-grid + .este-pagination > .page-numbers > li {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

.este-treatments-grid + .este-pagination a.page-numbers,
.este-treatments-grid + .este-pagination span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-inline-size: 2.75rem;
	min-height: 2.75rem;
	padding: 0 .85rem;
	border: 1px solid transparent;
	border-radius: 999px;
	background: transparent;
	box-shadow: none;
	color: var(--ep-color-text-primary, #1a1a2e);
	font-size: .875rem;
	font-weight: 650;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.este-treatments-grid + .este-pagination a.page-numbers:hover,
.este-treatments-grid + .este-pagination a.page-numbers:focus-visible {
	border-color: var(--ep-color-primary, #c9a96e);
	background: rgba(201, 169, 110, .11);
	color: var(--ep-color-primary, #c9a96e);
	transform: translateY(-2px);
}

.este-treatments-grid + .este-pagination a.page-numbers:focus-visible {
	outline: 3px solid rgba(201, 169, 110, .32);
	outline-offset: 3px;
}

.este-treatments-grid + .este-pagination .page-numbers.current {
	border-color: var(--ep-color-primary, #c9a96e);
	background: var(--ep-color-primary, #c9a96e);
	box-shadow: 0 8px 18px rgba(201, 169, 110, .3);
	color: #fff;
}

.este-treatments-grid + .este-pagination .page-numbers.dots {
	min-inline-size: auto;
	padding-inline: .25rem;
	color: var(--ep-color-text-muted, #6b7280);
}

.este-treatments-grid + .este-pagination .page-numbers.prev,
.este-treatments-grid + .este-pagination .page-numbers.next {
	gap: .4rem;
	padding-inline: 1rem;
}

/* Header dropdowns: support nested menus, pointer/keyboard access and a correctly aligned chevron. */
@media (min-width: 1025px) {
	#este-header .este-nav__list li.menu-item-has-children {
		position: relative;
	}

	#este-header .este-nav__arrow {
		display: block;
		width: 14px;
		height: 14px;
		flex: 0 0 14px;
		margin-left: .15rem;
		transform-origin: center;
		transition: transform .2s ease;
	}

	#este-header .este-nav__list > li.menu-item-has-children > .sub-menu {
		top: calc(100% + .35rem);
		left: 50%;
		transform: translateX(-50%) translateY(-8px);
		min-width: 235px;
		padding: .55rem;
		border: 1px solid rgba(26, 26, 46, .1);
		border-top: 3px solid var(--ep-color-primary, #c9a96e);
		border-radius: 16px;
		box-shadow: 0 18px 44px rgba(20, 20, 35, .16);
	}

	#este-header .este-nav__list .sub-menu > li.menu-item-has-children > .sub-menu {
		top: -.55rem;
		left: calc(100% + .35rem);
		transform: translateX(-8px);
		min-width: 220px;
		padding: .55rem;
		border: 1px solid rgba(26, 26, 46, .1);
		border-top: 3px solid var(--ep-color-primary, #c9a96e);
		border-radius: 16px;
		box-shadow: 0 18px 44px rgba(20, 20, 35, .16);
	}

	#este-header .este-nav__list > li.menu-item-has-children::after {
		position: absolute;
		top: 100%;
		left: -.75rem;
		width: calc(100% + 1.5rem);
		height: .5rem;
		content: '';
	}

	#este-header .este-nav__list .sub-menu > li.menu-item-has-children::after {
		position: absolute;
		top: -.55rem;
		left: 100%;
		width: .55rem;
		height: calc(100% + 1.1rem);
		content: '';
	}

	#este-header .este-nav__list li.menu-item-has-children:hover > .sub-menu,
	#este-header .este-nav__list li.menu-item-has-children:focus-within > .sub-menu,
	#este-header .este-nav__list li.menu-item-has-children.is-open > .sub-menu {
		opacity: 1;
		pointer-events: auto;
		z-index: 1200;
	}

	#este-header .este-nav__list > li.menu-item-has-children:hover > .sub-menu,
	#este-header .este-nav__list > li.menu-item-has-children:focus-within > .sub-menu,
	#este-header .este-nav__list > li.menu-item-has-children.is-open > .sub-menu {
		transform: translateX(-50%) translateY(0);
	}

	#este-header .este-nav__list .sub-menu > li.menu-item-has-children:hover > .sub-menu,
	#este-header .este-nav__list .sub-menu > li.menu-item-has-children:focus-within > .sub-menu,
	#este-header .este-nav__list .sub-menu > li.menu-item-has-children.is-open > .sub-menu {
		transform: translateX(0);
	}

	#este-header .este-nav__list li.menu-item-has-children:hover > .este-nav__link .este-nav__arrow,
	#este-header .este-nav__list li.menu-item-has-children:focus-within > .este-nav__link .este-nav__arrow,
	#este-header .este-nav__list li.menu-item-has-children.is-open > .este-nav__link .este-nav__arrow {
		transform: rotate(180deg);
	}
}

/* The mobile script places the link and toggle into a row; keep both controls cleanly aligned. */
@media (max-width: 1024px) {
	#este-mobile-menu .este-mobile-nav__list > li > div {
		display: flex;
		align-items: center;
	}

	#este-mobile-menu .este-mobile-nav__list > li > div > a {
		display: flex;
		align-items: center;
		flex: 1;
		min-width: 0;
		padding: .875rem 0;
		border-bottom: 1px solid var(--ep-color-border, #e5e7eb);
		color: var(--ep-color-text-primary, #1a1a2e);
		font-size: 1rem;
		font-weight: 600;
		text-decoration: none;
	}

	#este-mobile-menu .este-mobile-submenu-toggle {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		margin-left: .35rem;
		padding: 0 !important;
		border: 1px solid rgba(26, 26, 46, .12) !important;
		border-radius: 50%;
		background: rgba(201, 169, 110, .1) !important;
		color: var(--ep-color-text-primary, #1a1a2e) !important;
		transition: background .2s ease, color .2s ease, transform .2s ease;
	}

	#este-mobile-menu .este-mobile-submenu-toggle.is-active,
	#este-mobile-menu .este-mobile-submenu-toggle[aria-expanded='true'] {
		background: var(--ep-color-primary, #c9a96e) !important;
		color: #fff !important;
	}

	#este-mobile-menu .este-mobile-submenu-toggle svg {
		display: block;
		transition: transform .2s ease;
	}

	#este-mobile-menu .este-mobile-submenu-toggle.is-active svg,
	#este-mobile-menu .este-mobile-submenu-toggle[aria-expanded='true'] svg {
		transform: rotate(180deg);
	}
}

@media (max-width: 520px) {
	.este-treatments-grid + .este-pagination > .page-numbers {
		gap: .3rem;
		padding: .3rem;
	}

	.este-treatments-grid + .este-pagination a.page-numbers,
	.este-treatments-grid + .este-pagination span.page-numbers {
		min-inline-size: 2.45rem;
		min-height: 2.45rem;
		padding-inline: .65rem;
	}

	.este-treatments-grid + .este-pagination .page-numbers.prev,
	.este-treatments-grid + .este-pagination .page-numbers.next {
		padding-inline: .75rem;
	}
}
