/*
 * Deni Estate widgets — structure and layout.
 * Colors, typography and spacing are Elementor control defaults (see includes/widgets/*.php).
 * Breakpoints follow Elementor defaults: tablet ≤ 1024px, mobile ≤ 767px.
 */

/* ---------- Shared ---------- */

/* Elementor sets flex-wrap: wrap on mobile containers; in a wrapping column Chrome sizes
   the widget at min-content width (phantom extra line). Deni Estate widgets never wrap. */
.e-con.e-flex:has(> [class*="elementor-widget-de-"]) {
	--flex-wrap: nowrap;
}

.de-section {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

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

.de-section :is(h1, h2, h3, h4, p, ul, ol, address, figure) {
	margin: 0;
	padding: 0;
}

.de-section a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s, background-color 0.2s;
}

.de-section {
	--de-gutter: 44px;
}

.de-wrap {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: min(var(--de-wrap, 1212px), 100% - var(--de-gutter));
	margin-inline: auto;
}

@media (max-width: 767px) {
	.de-section {
		--de-gutter: 42px;
	}
}

.de-center {
	text-align: center;
}

/* {m} in text = line break on mobile only; mobile-only / desktop-only text variants. */
.de-br-m,
.de-show-m {
	display: none;
}

@media (max-width: 767px) {
	.de-br-m {
		display: inline;
	}

	.de-show-m {
		display: block;
	}

	.de-hide-m {
		display: none;
	}
}

.de-center .de-title,
.de-center .de-desc {
	margin-inline: auto;
}

.de-icon {
	display: inline-block;
	flex: none;
	width: 24px;
	height: 24px;
	background-color: currentColor;
	-webkit-mask: var(--de-icon) center / contain no-repeat;
	mask: var(--de-icon) center / contain no-repeat;
}

.de-line {
	display: block;
	height: 1px;
}

.de-grad {
	position: absolute;
	left: 0;
	right: 0;
	z-index: 0;
	pointer-events: none;
}

.de-grad--top {
	top: 0;
}

.de-grad--bottom {
	bottom: 0;
}

/* Decorative outlines: coordinates from the 1440px (desktop) and 393px (mobile) frames. */
.de-deco {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}

.de-deco__box {
	position: absolute;
	top: 0;
	left: 50%;
	width: 1440px;
	height: 100%;
	margin-left: -720px;
}

.de-deco span {
	position: absolute;
	border: 1px solid currentColor;
}

/* ---------- Header ---------- */

.de-header {
	z-index: 50;
	overflow: visible;
}

.de-header__top .de-wrap,
.de-header__bar .de-wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
}

.de-header__group {
	display: flex;
	align-items: center;
}

.de-header__top a,
.de-header__social-link {
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
}

.de-section .de-header__logo img {
	display: block;
	height: auto;
}

.de-header__menu {
	display: flex;
	gap: var(--de-menu-gap, 44px);
	list-style: none;
}

.de-header__burger {
	display: none;
	position: relative;
	width: 22px;
	height: 16px;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}

.de-header__burger span,
.de-header__burger::before,
.de-header__burger::after {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	border-radius: 1px;
	background: currentColor;
	transition: transform 0.2s, opacity 0.2s;
}

.de-header__burger::before {
	top: 0;
}

.de-header__burger span {
	top: 7px;
}

.de-header__burger::after {
	top: 14px;
}

.de-header.is-open .de-header__burger::before {
	transform: translateY(7px) rotate(45deg);
}

.de-header.is-open .de-header__burger span {
	opacity: 0;
}

.de-header.is-open .de-header__burger::after {
	transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1024px) {
	.de-header__bar {
		position: relative;
	}

	/* The dropdown spans the full bar, not just the content column. */
	.de-header__bar .de-wrap {
		position: static;
	}

	.de-header__burger {
		display: block;
	}

	/* Menu panel: the header stays in place; the panel slides in from the side and fills the screen below it. */
	.de-header__nav {
		position: fixed;
		top: var(--de-menu-top, 128px);
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 1000;
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: 8px 22px 32px;
		border-top: 1px solid var(--de-menu-divider, rgba(245, 245, 245, 0.1));
		visibility: hidden;
		transform: translateX(100%);
		transition: transform 0.3s ease, visibility 0s linear 0.3s;
	}

	.de-header--menu-left .de-header__nav {
		transform: translateX(-100%);
	}

	.de-header.is-open .de-header__nav {
		visibility: visible;
		transform: none;
		transition: transform 0.3s ease, visibility 0s;
	}

	html.de-menu-open,
	html.de-menu-open body {
		overflow: hidden;
	}

	/* Touch screens keep a "sticky" hover on the item under the finger; only the current page is gold. */
	@media (hover: none) {
		.de-header__menu a:not(.is-active):hover {
			color: inherit !important;
		}
	}



	.de-header__menu {
		flex-direction: column;
		gap: 0;
	}

	.de-header__menu li + li {
		border-top: 1px solid var(--de-menu-divider, rgba(245, 245, 245, 0.1));
	}

	.de-header__menu a,
	.de-header__menu span {
		display: block;
		padding: 13px 0;
	}
}

@media (max-width: 767px) {
	.de-header__group {
		flex-direction: column;
		align-items: flex-start;
	}
}

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

.de-hero__main {
	position: relative;
}

.de-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}

.de-section .de-hero__img {
	position: absolute;
	left: 0;
	max-width: none;
	object-fit: cover;
}

.de-hero__overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 0;
	background-image: linear-gradient(var(--de-angle, 45.33deg), var(--de-overlay, #000) 26.342%, rgba(0, 0, 0, 0) 64.921%);
}

.de-hero__content {
	position: static;
	z-index: auto;
}

.de-hero__content > :not(.de-hero__bar) {
	position: relative;
	z-index: 2;
}

.de-hero__line {
	height: 1px;
}

.de-hero__bar {
	position: absolute;
	z-index: 2;
	bottom: 0;
	left: 50%;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	width: min(var(--de-wrap, 1212px), 100% - var(--de-gutter));
	transform: translateX(-50%);
}

.de-hero__badge {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	flex: none;
}

.de-hero__cta {
	display: flex;
	align-items: center;
	flex: none;
}

.de-stats {
	display: grid;
	grid-template-columns: repeat(var(--de-cols, 4), var(--de-item, 112px));
	justify-content: center;
}

.de-stat__num,
.de-stat__label {
	display: block;
}

.de-hero .de-deco span {
	transform: rotate(-45deg);
}

.de-hero .de-deco span:nth-child(1) { left: 885.26px; top: 1043.26px; width: 542.05px; height: 542.05px; }
.de-hero .de-deco span:nth-child(2) { left: -409.46px; top: 784.78px; width: 758.47px; height: 542.05px; }
.de-hero .de-deco span:nth-child(3) { left: 419.51px; top: 722.89px; width: 1417.82px; height: 463.51px; }
.de-hero .de-deco span:nth-child(4) { left: 419.24px; top: 722.4px; width: 1417.82px; height: 463.51px; }

@media (max-width: 1024px) {
	.de-hero__bar {
		flex-wrap: wrap;
		row-gap: 24px;
	}
}

@media (max-width: 767px) {
	.de-hero__bar {
		position: relative;
		left: auto;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: auto;
		transform: none;
	}

	.de-hero__cta {
		grid-column: 1 / -1;
	}

	.de-hero .de-deco span:nth-child(1) { left: 104.67px; top: 938.28px; width: 420.61px; height: 420.61px; }
	.de-hero .de-deco span:nth-child(2) { left: -256.75px; top: 689.68px; width: 1100.18px; height: 359.67px; }
	.de-hero .de-deco span:nth-child(3) { left: -256.96px; top: 689.3px; width: 1100.18px; height: 359.67px; }
	.de-hero .de-deco span:nth-child(4) { display: none; }
}

/* ---------- Services ---------- */

.de-services__grid {
	display: grid;
	grid-template-columns: repeat(var(--de-cols, 3), minmax(0, 1fr));
}

.de-service {
	display: block;
}

.de-section .de-service__icon {
	display: block;
	max-width: none;
	height: auto;
}

/* ---------- Categories ---------- */

.de-cats {
	display: grid;
	grid-template-columns: repeat(var(--de-cols, 3), minmax(0, 1fr));
}

.de-cat {
	position: relative;
	display: block;
	overflow: hidden;
	isolation: isolate;
}

.de-section .de-cat__img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transition: transform 0.6s;
}

.de-section a.de-cat:hover .de-cat__img {
	transform: scale(1.03);
}

.de-cat__shade-top,
.de-cat__shade-right {
	position: absolute;
	top: 0;
	z-index: -1;
}

.de-cat__shade-top {
	left: 0;
	right: 0;
}

.de-cat__shade-right {
	right: 0;
	bottom: 0;
}

.de-cat::before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	width: var(--de-sep-width, 1.5px);
	background: linear-gradient(var(--de-sep-from, #f5f5f5), var(--de-sep-to, rgba(245, 245, 245, 0.6)));
}

.de-cat:not(:nth-child(3n + 1))::before {
	content: "";
}

.de-cat__arrow {
	position: absolute;
}

@media (max-width: 767px) {
	.de-cat:not(:nth-child(3n + 1))::before {
		content: none;
	}

	.de-cat:nth-child(2n)::before {
		content: "";
	}
}

/* ---------- Why us ---------- */

.de-why__row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}

.de-why__text {
	flex: none;
}

.de-section .de-why__img {
	display: block;
	flex: none;
	max-width: 100%;
	object-fit: cover;
}

.de-why__features {
	display: grid;
}

.de-feature__icon {
	display: flex;
	align-items: flex-end;
}

.de-why .de-deco span {
	transform: rotate(45deg);
}

.de-why .de-deco span:nth-child(1) { left: -27.74px; top: 881.77px; width: 542.05px; height: 542.05px; }
.de-why .de-deco span:nth-child(2) { left: 1050.57px; top: 623.29px; width: 758.47px; height: 542.05px; }
.de-why .de-deco span:nth-child(3) { left: -437.76px; top: 561.4px; width: 1417.82px; height: 463.51px; }

@media (min-width: 768px) and (max-width: 1024px) {
	.de-section .de-why__img {
		flex: 1 1 0;
		min-width: 0;
		width: auto;
	}

	.de-section .de-why__text {
		flex: 0 1 379px;
	}

	.de-section .de-why__row {
		gap: 40px;
	}

	.de-section .de-why__features {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		row-gap: 40px;
	}
}

@media (max-width: 767px) {
	.de-why__row {
		flex-direction: column;
	}

	.de-why .de-deco span:nth-child(1) { left: 8.2px; top: 758.76px; width: 340.69px; height: 340.69px; }
	.de-why .de-deco span:nth-child(2) { display: none; }
	.de-why .de-deco span:nth-child(3) { left: -249.5px; top: 557.4px; width: 891.12px; height: 291.32px; }
}

/* ---------- Process ---------- */

.de-steps {
	position: relative;
	left: 50%;
	display: grid;
	grid-template-columns: repeat(var(--de-cols, 4), minmax(0, 1fr));
	width: min(var(--de-steps-w, 1253px), 100vw - var(--de-gutter));
	translate: -50% 0;
	list-style: none;
	padding: 0;
}

.de-steps::before,
.de-step::after {
	position: absolute;
	top: calc(var(--de-circle, 88px) / 2);
	height: 1px;
	background: linear-gradient(90deg, var(--de-line-edge, rgba(204, 178, 106, 0.3)), var(--de-line, #ccb26a) 50.48%, var(--de-line-edge, rgba(204, 178, 106, 0.3)));
}

.de-steps::before {
	content: "";
	left: calc(50% / var(--de-cols, 4));
	right: calc(50% / var(--de-cols, 4));
}

.de-step {
	position: relative;
	display: flex;
	min-width: 0;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.de-section .de-step__desc {
	margin-inline: auto;
}

.de-step__num {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--de-circle, 88px);
	height: var(--de-circle, 88px);
	border: 1px solid;
	border-radius: 50%;
}

@media (max-width: 767px) {
	.de-steps::before {
		content: none;
	}

	.de-step:nth-child(odd):not(:last-child)::after {
		content: "";
		left: 50%;
		width: calc(100% + var(--de-gap, 0px));
	}
}

/* ---------- Testimonials ---------- */

.de-reviews {
	display: grid;
	grid-template-columns: 1fr;
	grid-auto-columns: var(--de-card, 288px);
	grid-auto-flow: column;
	align-items: center;
}

.de-gsum {
	display: flex;
	align-items: flex-start;
}

.de-section .de-gsum__img {
	display: block;
	flex: none;
	max-width: none;
	object-fit: cover;
	object-position: 47% 50%;
}

.de-gsum__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.de-review {
	align-self: stretch;
}

.de-review__head {
	display: flex;
	align-items: flex-start;
}

.de-section .de-review__avatar {
	display: block;
	flex: none;
	border-radius: 50%;
	object-fit: cover;
}

@media (max-width: 1024px) {
	.de-reviews {
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		grid-template-columns: max-content;
	}

	.de-reviews > * {
		scroll-snap-align: start;
	}
}

@media (max-width: 767px) {
	.de-reviews {
		margin-right: -22px;
		padding-right: 22px;
	}
}

/* ---------- FAQ ---------- */

.de-faq__row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 40px;
}

.de-faq__intro {
	flex: 0 1 475px;
}

.de-faq__list {
	display: flex;
	flex-direction: column;
	flex-grow: 0;
	flex-shrink: 1;
	min-width: 0;
}

.de-faq__item {
	border: 1px solid;
}

.de-faq__q {
	display: flex;
	align-items: flex-start;
	list-style: none;
	cursor: pointer;
}

.de-faq__q-text {
	flex: 1 1 auto;
	min-width: 0;
}

.de-faq__q::-webkit-details-marker {
	display: none;
}

.de-faq__arrow {
	flex: none;
	width: 8.36px;
	height: 14.73px;
	margin-left: 3px;
	transform: rotate(90deg);
	transition: transform 0.2s;
}

.de-faq__item[open] .de-faq__arrow {
	transform: rotate(-90deg);
}

.de-faq__q:focus-visible {
	outline: 2px solid #ccb26a;
	outline-offset: -2px;
}

@media (max-width: 767px) {
	.de-faq__row {
		flex-direction: column;
		gap: 0;
	}

	.de-faq__intro {
		flex-basis: auto;
	}

	.de-faq__list {
		width: 100%;
	}
}

/* ---------- CTA ---------- */

.de-cta__line {
	display: block;
}

.de-cta__btns {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.de-btn {
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
}

.de-partners__list {
	display: flex;
	justify-content: flex-start;
}

.de-partner {
	display: block;
	flex-grow: 0;
	flex-shrink: 0;
	text-align: center;
}

.de-partner:first-child {
	margin-left: auto;
}

.de-partner:last-child {
	margin-right: auto;
}

.de-section .de-partner img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	object-fit: contain;
}

@media (max-width: 1024px) {
	.de-partners__list {
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.de-partner {
		scroll-snap-align: start;
	}
}

@media (max-width: 767px) {
	.de-cta__btns {
		flex-direction: column;
		align-items: center;
	}
}

/* ---------- Footer ---------- */

.de-footer__row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}

.de-section .de-footer__logo img {
	display: block;
	height: auto;
}

.de-footer__contacts {
	font-style: normal;
	white-space: nowrap;
}

.de-footer__contact {
	display: flex;
	align-items: center;
}

.de-footer__ic {
	display: flex;
	justify-content: center;
	flex-grow: 0;
	flex-shrink: 0;
}

/* .de-section prefix: must outrank the shared p { margin: 0 } reset to stay centered. */
.de-section .de-footer__copy {
	margin-inline: auto;
	text-align: center;
}

@media (max-width: 767px) {
	.de-footer__row {
		flex-direction: column;
		align-items: center;
	}

	.de-footer__contacts {
		white-space: normal;
	}

	.de-footer__contact {
		align-items: flex-start;
	}

	/* One text line tall, so rows keep Figma's 21.6px pitch; icons may overhang the line. */
	.de-footer__ic {
		height: 1.8em;
		align-items: center;
	}
}

/* ---------- Services: card variant ---------- */

.de-service {
	background-image: linear-gradient(0deg, var(--de-card-from, rgba(0, 0, 0, 0)), var(--de-card-to, rgba(0, 0, 0, 0)));
}

.de-service.is-highlight,
.de-services--cards a.de-service:is(:hover, :focus-visible) {
	--de-card-from: var(--de-card-hl, #ccb26a);
}

/* ---------- FAQ: stacked layout ---------- */

.de-faq--stacked .de-faq__row {
	flex-direction: column;
	align-items: center;
	gap: 0;
}

.de-faq--stacked .de-faq__intro {
	flex: none;
	text-align: center;
}

.de-faq--stacked .de-faq__intro .de-title,
.de-faq--stacked .de-faq__intro .de-desc {
	margin-inline: auto;
}

.de-faq--stacked .de-faq__list {
	flex-basis: auto !important;
	width: 100%;
	max-width: var(--de-faq-w, 704px);
}

/* ---------- Page heading ---------- */

.de-page-heading .de-wrap > :last-child {
	margin-bottom: 0 !important;
}

.de-page-heading .de-desc p {
	margin: 0;
}

/* Figma's mobile page titles span the full screen width (no side gutter). */
@media (max-width: 767px) {
	.de-section.de-page-heading .de-eyebrow {
		margin-inline: 0;
		width: 100vw;
		max-width: 100vw;
		position: relative;
		left: 50%;
		transform: translateX(-50%);
	}
}

/* ---------- Text + image columns ---------- */

.de-cols {
	display: flex;
	align-items: flex-start;
}

.de-cols__col {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
}

.de-cols__col--left {
	flex-shrink: 0;
}

.de-cols__col--right {
	flex: 1 1 0;
	min-width: 0;
}

.de-cols__item {
	max-width: 100%;
}

.de-section .de-cols__img {
	display: block;
	width: 100%;
	max-width: none;
	object-fit: cover;
}

.de-cols__body p,
.de-detail__desc ul,
.de-cols__body ul {
	margin: 0;
}

.de-cols__body ul,
.de-detail__desc ul {
	padding-left: 1.5em;
}

.de-cols__body a {
	text-decoration: underline;
}

@media (max-width: 1024px) {
	.de-cols__col--left {
		flex-shrink: 1;
	}
}

@media (max-width: 767px) {
	.de-cols {
		flex-direction: column;
	}

	.de-cols__col {
		display: contents;
	}

	/* The left inset (--de-off) is mirrored on the right, so the gaps stay equal on every phone width. */
	.de-cols__item {
		max-width: calc(100% - 2 * var(--de-off, 0px));
	}
}

/* ---------- Spec table ---------- */

.de-specs {
	margin: 0;
}

.de-specs__row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	border-bottom: 1px solid;
}

.de-specs dt {
	white-space: nowrap;
}

.de-specs dd {
	margin: 0;
	text-align: right;
}

/* ---------- Property grid ---------- */

.de-props,
.de-catgrid,
.de-videos,
.de-team {
	display: grid;
	grid-template-columns: repeat(var(--de-cols, 3), minmax(0, 1fr));
}

.de-prop {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.de-section .de-prop__img,
.de-section .de-catcard__img,
.de-section .de-member__photo,
.de-section .de-video__img,
.de-section .de-detail__img {
	display: block;
	width: 100%;
	max-width: none;
	object-fit: cover;
}

.de-prop__title,
.de-prop .de-specs {
	width: 100%;
}

.de-prop__btn,
.de-video__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	white-space: nowrap;
}

/* ---------- Category grid ---------- */

.de-catcard {
	display: flex;
	flex-direction: column;
}

.de-catcard__bar {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.de-catcard__arrow {
	transition: color 0.2s;
}

/* ---------- Video grid ---------- */

.de-video__thumb {
	overflow: hidden;
}

.de-section .de-video__img {
	height: 100%;
}

.de-video__row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

@media (max-width: 767px) {
	.de-video__row {
		flex-direction: column;
		gap: 0;
	}
}

/* ---------- Property / video detail ---------- */

.de-detail__top {
	display: flex;
	align-items: flex-start;
}

.de-detail__media,
.de-detail__info {
	flex: none;
	max-width: 100%;
}

.de-detail__frame {
	position: relative;
	overflow: hidden;
}

.de-detail__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.3s;
}

.de-detail__slide.is-active {
	opacity: 1;
}

.de-section .de-detail__img {
	height: 100%;
}

.de-detail__media .de-detail__frame.de-detail__frame--file {
	width: min(405px, 100%);
	height: auto !important; /* Elementor sets a fixed landscape height on the frame. */
	aspect-ratio: 9 / 16;
	max-width: 100%;
	margin: 0 auto;
	background: #000;
}

.de-detail__frame--file .de-detail__video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #000;
}

.de-detail__frame--video iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.de-detail__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 3px;
	cursor: pointer;
	transform: translateY(-50%);
	transition: background-color 0.2s, color 0.2s;
}

.de-detail__nav .de-icon {
	width: 9px;
	height: 15px;
}

.de-detail__nav--prev {
	left: 12px;
}

.de-detail__nav--prev .de-icon {
	transform: rotate(180deg);
}

.de-detail__nav--next {
	right: 12px;
}

/* Touch screens swipe instead. */
@media (hover: none) {
	.de-detail__nav {
		display: none;
	}
}

.de-detail__frame {
	touch-action: pan-y;
}

.de-detail__dots {
	display: flex;
	justify-content: center;
	gap: 4px;
}

.de-detail__dots button {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 1px solid var(--de-dot, #ccb26a);
	border-radius: 50%;
	background: var(--de-dot-fill, #282929);
	cursor: pointer;
}

.de-detail__dots button.is-active {
	background: var(--de-dot, #ccb26a);
}

.de-detail__desc-title {
	text-align: center;
}

.de-detail__desc p {
	margin: 0;
}

/* Deco outlines, from the NT objektas frame (desktop 1440, mobile 393). */
.de-detail .de-deco span {
	transform: rotate(-45deg);
}

.de-detail .de-deco span:nth-child(1) { left: 472.1px; top: 1406.25px; width: 1417.82px; height: 463.51px; }
.de-detail .de-deco span:nth-child(2) { left: -356.2px; top: 1469px; width: 758.47px; height: 542.05px; }
.de-detail .de-deco span:nth-child(3) { left: 938.5px; top: 1727.5px; width: 542.05px; height: 542.05px; }

@media (max-width: 1024px) {
	.de-detail__top {
		flex-wrap: wrap;
	}
}

@media (max-width: 767px) {
	.de-detail__top {
		flex-direction: column;
	}

	.de-detail .de-deco span:nth-child(1) { left: -255.75px; top: 1443.3px; width: 995.5px; height: 325.4px; }
	.de-detail .de-deco span:nth-child(2) { left: -837.3px; top: 1487.7px; width: 532.6px; height: 380.6px; }
	.de-detail .de-deco span:nth-child(3) { left: 71.9px; top: 1668.9px; width: 380.2px; height: 380.2px; }
}

/* ---------- Team ---------- */

.de-member__line {
	display: block;
	height: 1px;
	width: calc(100% - 11px);
	margin-left: 6px;
}

.de-member__body {
	padding-left: 3px;
}

.de-member__bio {
	padding-left: 5px;
	padding-right: 12px;
}

.de-member__contacts {
	margin-left: 6px;
}

.de-member__contacts a {
	display: flex;
	align-items: center;
	height: 1.5em;
	white-space: nowrap;
}

/* ---------- Form ---------- */

.de-form {
	display: flex;
	flex-direction: column;
	margin-inline: auto;
}

.de-form__input,
.de-form__option {
	display: flex;
	align-items: center;
	height: calc(var(--de-field-h, 55px) + 1px);
	padding: 0 var(--de-field-pad, 23px);
	border: 0;
	border-bottom: 1px solid var(--de-field-line, #ccb26a);
	border-radius: var(--de-field-r, 3px);
	background: var(--de-field-bg, #282929);
	box-shadow: none;
}

.de-form__input {
	width: 100%;
	outline: none;
}

.de-form__input:focus {
	box-shadow: inset 0 0 0 1px var(--de-field-line, #ccb26a);
}

.de-form__group {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.de-form__legend {
	padding: 0;
	padding-left: var(--de-field-pad, 23px);
}

@media (min-width: 768px) {
	.de-form__legend {
		white-space: nowrap;
	}
}

.de-form__options {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.de-form__option {
	cursor: pointer;
}

.de-form__option input {
	appearance: none;
	flex: none;
	width: var(--de-radio, 18px);
	height: var(--de-radio, 18px);
	margin: 0;
	border: 1px solid var(--de-field-line, #ccb26a);
	border-radius: 50%;
	background: var(--de-field-bg, #282929);
	cursor: pointer;
}

.de-form__option input:checked {
	background: radial-gradient(var(--de-field-line, #ccb26a) 45%, var(--de-field-bg, #282929) 50%);
}

.de-form__option input:focus-visible {
	outline: 2px solid var(--de-field-line, #ccb26a);
	outline-offset: 2px;
}

.de-form__submit {
	align-self: flex-start;
	border: 0;
	border-radius: 3px;
	cursor: pointer;
}

.de-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.de-form__notice {
	text-align: center;
}

/* ---------- Image crop: focal point + zoom (from Figma image transforms) ---------- */

.de-section .de-crop {
	object-position: var(--de-px, 50%) var(--de-py, 50%);
	transform: scale(var(--de-zoom, 1));
	transform-origin: var(--de-px, 50%) var(--de-py, 50%);
}

.de-crop-box,
.de-cols__item--image {
	display: block;
	overflow: hidden;
}

.de-crop-box {
	align-self: stretch;
	width: 100%;
}

/* ★ glyphs come from a fallback font with taller metrics; keep the line at its Figma height. */
.de-stars {
	height: 1.22em;
	overflow: hidden;
}

/* ---------- Tablet (768–1024px): Figma has no tablet frames; keep free layouts inside the viewport ---------- */

@media (min-width: 768px) and (max-width: 1024px) {
	.de-cols {
		gap: 40px;
	}

	.de-cols__col--left {
		flex-basis: calc(50% - 20px) !important;
	}

	.de-section .de-cols__item {
		width: 100% !important;
		margin-left: 0 !important;
	}

	.de-footer__contacts {
		width: auto !important;
		white-space: normal;
	}
}

/* ---------- Click-to-load map (text + image widget) ---------- */

.de-map {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	overflow: hidden;
	background: #282929;
}

.de-map .de-cols__img {
	position: absolute;
	inset: 0;
	height: 100%;
}

.de-map__btn {
	position: relative;
	z-index: 1;
	padding: 10px 22px;
	border: 0;
	border-radius: 3px;
	cursor: pointer;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.de-map__btn:focus-visible {
	outline: 2px solid #f5f5f5;
	outline-offset: 2px;
}

.de-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

@media (prefers-reduced-motion: reduce) {
	.de-header__nav {
		transition: none !important;
	}
}

/* Image followed by text in the same column: keep air between them (desktop/tablet; phones use the row gap). */
@media (min-width: 768px) {
	.de-cols__item--image + .de-cols__item--text {
		margin-top: 40px;
	}
}

/* ---------- Motion (2026-10-28) ---------- */

.de-rv {
	opacity: 0;
	transform: translate3d(0, 28px, 0);
	transition: opacity 0.75s cubic-bezier(0.2, 0.65, 0.3, 1), transform 0.75s cubic-bezier(0.2, 0.65, 0.3, 1);
}

.de-rv.is-in {
	opacity: 1;
	transform: none;
}

@keyframes de-hero-zoom {
	from { transform: scale(1.08); }
	to { transform: scale(1); }
}

@keyframes de-hero-up {
	from { opacity: 0; transform: translate3d(0, 24px, 0); }
	to { opacity: 1; transform: none; }
}

/* The H1 only slides (no fade) so it still counts as painted right away for LCP. */
@keyframes de-hero-slide {
	from { transform: translate3d(0, 18px, 0); }
	to { transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
	.de-hero__img {
		transform-origin: 60% 40%;
		animation: de-hero-zoom 2.2s cubic-bezier(0.2, 0.65, 0.3, 1) both;
	}
	.de-hero__title {
		animation: de-hero-slide 0.9s cubic-bezier(0.2, 0.65, 0.3, 1) both;
	}
	.de-hero__content > :not(.de-hero__title):not(.de-hero__bar) {
		animation: de-hero-up 0.9s cubic-bezier(0.2, 0.65, 0.3, 1) 0.15s both;
	}
	.de-hero__content > .de-hero__cta,
	.de-hero__content > :last-child {
		animation-delay: 0.3s;
	}

	/* Hover lift on cards (desktop pointers only). */
	@media (hover: hover) {
		.de-service,
		.de-review,
		.de-step,
		.de-prop,
		.de-catcard,
		.de-member {
			transition: transform 0.3s cubic-bezier(0.2, 0.65, 0.3, 1), box-shadow 0.3s;
		}
		.de-service:hover,
		.de-review:hover,
		.de-step:hover,
		.de-prop:hover,
		.de-catcard:hover,
		.de-member:hover {
			transform: translateY(-6px);
			box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
		}
		.de-btn {
			transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s, color 0.2s;
		}
		.de-btn:hover {
			transform: translateY(-2px);
			box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
		}
	}
}

@media (prefers-reduced-motion: reduce) {
	.de-rv {
		opacity: 1 !important;
		transform: none !important;
	}
}

/* Page heading on phones: keep longer H1 labels off the screen edges. */
@media (max-width: 767px) {
	.de-page-heading .de-eyebrow {
		max-width: calc(100% - 32px);
		margin-inline: auto;
		overflow-wrap: anywhere;
	}
}
