.estat {
	--estat-accent: #703bf7;
	--estat-accent-hover: #5a2fd4;
	--estat-bg: #0a0a0a;
	--estat-surface: #141414;
	--estat-surface-2: #1a1a1a;
	--estat-border: #262626;
	--estat-border-strong: #333333;
	--estat-text: #ffffff;
	--estat-muted: #999999;
	--estat-star: #ffc633;
	--estat-radius: 10px;
	--estat-radius-lg: 12px;
	--estat-gap: 24px;
	--estat-cols: 3;

	color: var(--estat-text);
	font-family: "Urbanist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	line-height: 1.6;
}

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

.estat-container {
	width: 100%;
	max-width: 1920px;
	margin: 0 auto;
	padding: 20px var(--estat-gutter);
}
.estat-icon {
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.estat-sparkle {
	display: block;
	margin-bottom: 10px;
	color: var(--estat-muted);
	font-size: 18px;
	line-height: 1;
}

/* Section heading
------------------------------------------------------------------ */
.estat-section-head h2 {
	margin: 0 0 12px;
	font-size: clamp(28px, 3.4vw, 44px);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.estat-section-head p {
	max-width: 92ch;
	margin: 0;
	color: var(--estat-muted);
	font-size: 18px;
}

.estat-section-head--split {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 40px;
}

/* Buttons
------------------------------------------------------------------ */
.estat-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 22px;
	border: 1px solid transparent;
	border-radius: var(--estat-radius);
	background: transparent;
	color: var(--estat-text);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.estat-btn--primary {
	background: var(--estat-accent);
	border-color: var(--estat-accent);
}

.estat-btn--primary:hover,
.estat-btn--primary:focus-visible {
	background: var(--estat-accent-hover);
	border-color: var(--estat-accent-hover);
	color: #fff;
}

.estat-btn--ghost {
	background: var(--estat-surface);
	border-color: var(--estat-border);
}

.estat-btn--ghost:hover,
.estat-btn--ghost:focus-visible {
	border-color: var(--estat-accent);
	color: #fff;
}

.estat-btn--sm {
	padding: 9px 16px;
	font-size: 14px;
}

.estat-btn:focus-visible,
.estat-round:focus-visible,
.estat-card__title a:focus-visible {
	outline: 2px solid var(--estat-accent);
	outline-offset: 3px;
}

.estat-round {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--estat-border);
	border-radius: 50%;
	background: var(--estat-surface);
	color: var(--estat-text);
	cursor: pointer;
	transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.estat-round:hover {
	border-color: var(--estat-accent);
	transform: translateY(-2px);
}

.estat-round--solid {
	background: var(--estat-surface-2);
	border-color: var(--estat-border-strong);
}

.estat-round.is-disabled,
.estat-round[disabled] {
	opacity: 0.35;
	pointer-events: none;
}

/* Slider
------------------------------------------------------------------ */
.estat-slider__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - (var(--estat-cols) - 1) * var(--estat-gap)) / var(--estat-cols));
	gap: var(--estat-gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding-bottom: 4px;
}

.estat-slider__track::-webkit-scrollbar {
	display: none;
}

.estat-slider__item {
	scroll-snap-align: start;
	min-width: 0;
}

.estat-slider--static .estat-slider__track {
	grid-auto-flow: row;
	grid-template-columns: repeat(var(--estat-cols), minmax(0, 1fr));
	grid-auto-columns: auto;
	overflow: visible;
}

.estat-slider__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 36px;
	padding-top: 26px;
	border-top: 1px solid var(--estat-border);
}

.estat-pager {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 40px;
	padding-top: 26px;
	border-top: 1px solid var(--estat-border);
}

.estat-pager__count {
	margin: 0;
	color: var(--estat-muted);
	font-size: 15px;
}

.estat-pager__count strong {
	color: var(--estat-text);
	font-weight: 600;
}

.estat-pager__nav {
	display: flex;
	gap: 10px;
}

/* Property card
------------------------------------------------------------------ */
.estat-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 24px;
	border: 1px solid var(--estat-border);
	border-radius: var(--estat-radius-lg);
	background: var(--estat-surface);
	transition: border-color 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

.estat-card:hover {
	border-color: var(--estat-accent);
	background: var(--estat-surface-2);
	transform: translateY(-4px);
}

.estat-card__media {
	display: block;
	overflow: hidden;
	border-radius: var(--estat-radius);
	aspect-ratio: 16 / 11;
	background: var(--estat-surface-2);
}

.estat-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.estat-card:hover .estat-card__img {
	transform: scale(1.06);
}

.estat-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 14px;
	padding-top: 22px;
}

.estat-card__badge {
	align-self: flex-start;
	padding: 8px 14px;
	border: 1px solid var(--estat-border-strong);
	border-radius: 999px;
	background: var(--estat-surface-2);
	color: var(--estat-text);
	font-size: 13px;
}

.estat-card__title {
	margin: 0;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.3;
}

.estat-card__title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.25s ease;
	font-size: 24px !important;
}

.estat-card__title a:hover {
	color: var(--estat-accent);
}

.estat-card__text {
	margin: 0;
	color: var(--estat-muted);
	font-size: 18px;
}

.estat-card__more {
	color: var(--estat-text);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.estat-card__more:hover {
	color: var(--estat-accent);
}

.estat-card__specs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.estat-card__specs li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 13px;
	border: 1px solid var(--estat-border-strong);
	border-radius: 999px;
	background: var(--estat-surface-2);
	color: var(--estat-text);
	font-size: 18px;
	white-space: nowrap;
}

.estat-card__specs .estat-icon {
	width: 22px;
	height: 22px;
	color: #fff;
}

.estat-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: auto;
	padding-top: 8px;
}

.estat-card__price span {
	display: block;
	color: var(--estat-muted);
	font-size: 18px;
}

.estat-card__price strong {
	font-size: 24px;
	font-weight: 600;
}

.estat-card__cta {
	flex: 1;
	max-width: 350px;
	font-size: 18px !important;
}

/* Testimonials
------------------------------------------------------------------ */
.estat-quote {
	display: flex;
	flex-direction: column;
	gap: 14px;
	height: 100%;
	margin: 0;
	padding: 26px;
	border: 1px solid var(--estat-border);
	border-radius: var(--estat-radius-lg);
	background: var(--estat-surface);
	transition: border-color 0.3s ease, transform 0.3s ease;
}

.estat-quote:hover {
	border-color: var(--estat-accent);
	transform: translateY(-4px);
}

.estat-stars {
	display: flex;
	gap: 4px;
}

.estat-star svg {
	display: block;
	width: 18px;
	height: 18px;
	fill: var(--estat-border-strong);
	transition: fill 0.25s ease;
}

.estat-star.is-on svg {
	fill: var(--estat-star);
}

.estat-quote__title {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
}

.estat-quote__text {
	flex: 1;
	margin: 0;
	color: var(--estat-muted);
	font-size: 14px;
}

.estat-quote__author {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 6px;
}

.estat-quote__author img,
.estat-quote__initial {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	background: var(--estat-surface-2);
	font-weight: 600;
}

.estat-quote__author strong {
	display: block;
	font-size: 15px;
}

.estat-quote__author em {
	color: var(--estat-muted);
	font-size: 13px;
	font-style: normal;
}

/* FAQ
------------------------------------------------------------------ */
.estat-faq__card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	height: 100%;
	padding: 26px;
	border: 1px solid var(--estat-border);
	border-radius: var(--estat-radius-lg);
	background: var(--estat-surface);
	transition: border-color 0.3s ease, transform 0.3s ease;
}

.estat-faq__card:hover {
	border-color: var(--estat-accent);
	transform: translateY(-4px);
}

.estat-faq__card h3 {
	margin: 0;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
}

.estat-faq__card p {
	flex: 1;
	margin: 0;
	color: var(--estat-muted);
	font-size: 14px;
}

.estat-faq__card .estat-btn {
	align-self: flex-start;
}

/* Search
------------------------------------------------------------------ */
.estat-search {
	margin: 0 0 60px;
}

.estat-search__bar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px;
	border: 1px solid var(--estat-border);
	border-radius: var(--estat-radius-lg);
	background: var(--estat-surface);
}

.estat-search__bar input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 12px 14px;
	border: 0;
	background: transparent;
	color: var(--estat-text);
	font-size: 15px;
	font-family: inherit;
}

.estat-search__bar input[type="search"]:focus {
	outline: none;
}

.estat-search__bar input::placeholder {
	color: var(--estat-muted);
}

.estat-search__filters {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 14px;
	margin-top: 18px;
}

.estat-select {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 14px;
	border: 1px solid var(--estat-border);
	border-radius: var(--estat-radius);
	background: var(--estat-surface);
	transition: border-color 0.25s ease;
}

.estat-select:hover,
.estat-select:focus-within {
	border-color: var(--estat-accent);
}

.estat-select select {
	flex: 1;
	min-width: 0;
	padding: 14px 0;
	border: 0;
	background: transparent;
	color: var(--estat-text);
	font-size: 14px;
	font-family: inherit;
	appearance: none;
	cursor: pointer;
}

.estat-select select:focus {
	outline: none;
}

.estat-select select option {
	background: #141414;
	color: #fff;
}

.estat-select .estat-icon {
	color: var(--estat-muted);
	pointer-events: none;
}

.estat-select .estat-icon--chevron {
	width: 16px;
	height: 16px;
}

/* Archive
------------------------------------------------------------------ */
.estat-archive {
	padding: 70px 0 100px;
	background: var(--estat-bg);
}

.estat-archive__head {
	margin-bottom: 36px;
}

.estat-archive__head h1 {
	margin: 0 0 12px;
	font-size: clamp(30px, 4vw, 48px);
	font-weight: 600;
	line-height: 1.15;
}

.estat-archive__head p {
	max-width: 70ch;
	margin: 0;
	color: var(--estat-muted);
}

.estat-grid-cards {
	display: grid;
	gap: var(--estat-gap);
}

.estat-grid-cards--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.estat-empty {
	padding: 40px 0;
	color: var(--estat-muted);
}

/* Single property
------------------------------------------------------------------ */
.estat-single {
	padding: 60px 0 100px;
	background: var(--estat-bg);
}

.estat-single__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 30px;
}

.estat-single__title {
	margin: 0 0 8px;
	font-size: clamp(26px, 3.2vw, 38px);
	font-weight: 600;
	line-height: 1.2;
}

.estat-single__location {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--estat-muted);
	font-size: 15px;
}

.estat-single__price {
	text-align: right;
}

.estat-single__price span {
	display: block;
	color: var(--estat-muted);
	font-size: 14px;
}

.estat-single__price strong {
	font-size: 24px;
	font-weight: 600;
}

.estat-gallery-view {
	padding: 20px;
	border: 1px solid var(--estat-border);
	border-radius: var(--estat-radius-lg);
	background: var(--estat-surface);
}

.estat-gallery-view__thumbs {
	display: flex;
	gap: 10px;
	margin: 0 0 16px;
	padding: 0 0 4px;
	overflow-x: auto;
	list-style: none;
	scrollbar-width: none;
}

.estat-gallery-view__thumbs::-webkit-scrollbar {
	display: none;
}

.estat-gallery-view__thumb {
	display: block;
	width: 92px;
	padding: 0;
	overflow: hidden;
	border: 1px solid transparent;
	border-radius: 8px;
	background: none;
	cursor: pointer;
	opacity: 0.55;
	transition: opacity 0.25s ease, border-color 0.25s ease;
}

.estat-gallery-view__thumb img {
	display: block;
	width: 100%;
	height: 62px;
	object-fit: cover;
}

.estat-gallery-view__thumb:hover,
.estat-gallery-view__thumb.is-active {
	border-color: var(--estat-accent);
	opacity: 1;
}

.estat-gallery-view__stage {
	position: relative;
	overflow: hidden;
	border-radius: var(--estat-radius);
	aspect-ratio: 16 / 9;
	background: var(--estat-surface-2);
}

.estat-gallery-view__slide {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease;
}

.estat-gallery-view__slide.is-active {
	opacity: 1;
	visibility: visible;
}

.estat-gallery-view__slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.estat-gallery-view__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 18px;
}

.estat-gallery-view__dots {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.estat-dot {
	width: 22px;
	height: 4px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: var(--estat-border-strong);
	cursor: pointer;
	transition: background-color 0.25s ease, width 0.25s ease;
}

.estat-dot.is-active {
	width: 30px;
	background: var(--estat-accent);
}

.estat-single__columns {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 24px;
	margin-top: 40px;
}

.estat-box {
	padding: 26px;
	border: 1px solid var(--estat-border);
	border-radius: var(--estat-radius-lg);
	background: var(--estat-surface);
}

.estat-box h2 {
	margin: 0 0 14px;
	font-size: 18px;
	font-weight: 600;
}

.estat-box__content {
	color: var(--estat-muted);
	font-size: 14px;
}

.estat-box__content p {
	margin: 0 0 12px;
}

.estat-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 22px 0 0;
	padding: 22px 0 0;
	border-top: 1px solid var(--estat-border);
	list-style: none;
}

.estat-stats__label {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--estat-muted);
	font-size: 13px;
}

.estat-stats strong {
	display: block;
	margin-top: 6px;
	font-size: 18px;
	font-weight: 600;
}

.estat-features {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.estat-features li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 13px 16px;
	border: 1px solid var(--estat-border);
	border-radius: var(--estat-radius);
	background: var(--estat-surface-2);
	color: var(--estat-text);
	font-size: 14px;
	transition: border-color 0.25s ease, transform 0.25s ease;
}

.estat-features li:hover {
	border-color: var(--estat-accent);
	transform: translateX(3px);
}

.estat-features .estat-icon {
	width: 18px;
	height: 18px;
	color: var(--estat-accent);
}

/* Pricing details
------------------------------------------------------------------ */
.estat-pricing {
	margin-top: 70px;
}

.estat-pricing .estat-section-head {
	margin-bottom: 28px;
}

.estat-pricing__note {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 18px 22px;
	border: 1px solid var(--estat-border);
	border-radius: var(--estat-radius-lg);
	background: var(--estat-surface);
}

.estat-pricing__note span {
	font-weight: 600;
}

.estat-pricing__note p {
	margin: 0;
	color: var(--estat-muted);
	font-size: 14px;
}

.estat-pricing__layout {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 24px;
	margin-top: 24px;
	align-items: start;
}

.estat-pricing__headline {
	position: sticky;
	top: 24px;
	padding: 24px;
	border: 1px solid var(--estat-border);
	border-radius: var(--estat-radius-lg);
	background: var(--estat-surface);
}

.estat-pricing__headline span {
	display: block;
	margin-bottom: 6px;
	color: var(--estat-muted);
	font-size: 14px;
}

.estat-pricing__headline strong {
	font-size: 28px;
	font-weight: 600;
}

.estat-pricing__panels {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.estat-pricing .estat-panel {
	padding: 24px;
	border: 1px solid var(--estat-border);
	border-radius: var(--estat-radius-lg);
	background: var(--estat-surface);
	transition: border-color 0.3s ease;
}

.estat-pricing .estat-panel:hover {
	border-color: var(--estat-border-strong);
}

.estat-panel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.estat-panel__head h3 {
	margin: 0;
	font-size: 17px;
	font-weight: 600;
}

.estat-panel__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	overflow: hidden;
	border: 1px solid var(--estat-border);
	border-radius: var(--estat-radius);
	background: var(--estat-border);
}

.estat-panel__grid[hidden] {
	display: none;
}

.estat-panel__row {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px;
	background: var(--estat-surface-2);
}

.estat-panel__label {
	color: var(--estat-muted);
	font-size: 13px;
}

.estat-panel__value {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 10px;
}

.estat-panel__value strong {
	font-size: 17px;
	font-weight: 600;
}

.estat-panel__value em {
	color: var(--estat-muted);
	font-size: 13px;
	font-style: normal;
}

/* Responsive
------------------------------------------------------------------ */
@media (max-width: 1024px) {
	.estat-grid-cards--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.estat-pricing__layout {
		grid-template-columns: 1fr;
	}

	.estat-pricing__headline {
		position: static;
	}
}

@media (max-width: 900px) {
	.estat-single__columns {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 782px) {
	.estat-section-head--split {
		flex-direction: column;
		align-items: flex-start;
	}

	.estat-single__head {
		flex-direction: column;
	}

	.estat-single__price {
		text-align: left;
	}

	.estat-search__bar {
		flex-direction: column;
		align-items: stretch;
	}

	.estat-search__bar .estat-btn {
		width: 100%;
	}

	.estat-panel__grid {
		grid-template-columns: 1fr;
	}

	.estat-card__foot {
		flex-direction: column;
		align-items: stretch;
	}

	.estat-card__cta {
		max-width: none;
	}
}

@media (max-width: 640px) {
	.estat-grid-cards--3 {
		grid-template-columns: 1fr;
	}

	.estat-stats {
		grid-template-columns: 1fr;
	}

	.estat-gallery-view {
		padding: 14px;
	}

	.estat-round {
		width: 40px;
		height: 40px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.estat *,
	.estat *::before,
	.estat *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}

	.estat-slider__track {
		scroll-behavior: auto;
	}
}
