@font-face {
	font-family: 'Jost';
	src: url('../fonts/Jost-Light.eot');
	src: url('../fonts/Jost-Lightd41d.eot?#iefix') format('embedded-opentype'),
		url('../fonts/Jost-Light.woff2') format('woff2'),
		url('../fonts/Jost-Light.woff') format('woff'),
		url('../fonts/Jost-Light.ttf') format('truetype');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Jost';
	src: url('../fonts/Jost-Regular.eot');
	src: url('../fonts/Jost-Regulard41d.eot?#iefix') format('embedded-opentype'),
		url('../fonts/Jost-Regular.woff2') format('woff2'),
		url('../fonts/Jost-Regular.woff') format('woff'),
		url('../fonts/Jost-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'NanumMyeongjo';
	src: url('../fonts/NanumMyeongjo.eot');
	src: url('../fonts/NanumMyeongjod41d.eot?#iefix') format('embedded-opentype'),
		url('../fonts/NanumMyeongjo.woff2') format('woff2'),
		url('../fonts/NanumMyeongjo.woff') format('woff'),
		url('../fonts/NanumMyeongjo.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

:root {
	--c1: #F2F1ED;
	--c2: #DCCBB3;
	--c3: #141414;
	--c4: #152621;
	--c5: #F3EAE1;
	--sage-line: #a9cbb82e;
	--g1: linear-gradient(180deg, #152621 0%, #000 99.48%);
	--g2: linear-gradient(180deg, #152621 18.75%, #000 99.48%);
	--h1: max(40px, 120rem);
	--h2: max(32px, 96rem);
	--high: max(32px, 96rem);
	--sub: max(16px, 18rem);
	--btn: max(16px, 20rem);
	--body: max(16px, 18rem);

	--p1: max(16px, 40rem);

	--ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

/************************* reset *************************/
html {
	height: 100%;
	margin: 0;
	padding: 0;
	width: 100%;
	background: var(--c4);
	font-size: 0.052vw;
}

body {
	min-height: 100%;
	width: 100%;
	position: relative;
	margin: 0;
	color: var(--c1);
	font-size: var(--body);
	font-weight: 300;
	font-family: 'Jost', Arial, Helvetica, sans-serif;
	line-height: 130%;
	min-width: 320px;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	background: var(--c4);
}

h1,
h2,
h3,
h4,
p,
ul,
li,
a,
span,
div,
input,
textarea,
select,
form,
fieldset,
button,
dl,
dd,
dt,
figure,
figcaption,
blockquote,
caption,
aside,
section {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	box-sizing: border-box;
}

img {
	margin: 0;
	padding: 0;
	border-style: none;
	vertical-align: bottom;
}

input,
textarea,
select,
button {
	font-weight: 400;
	font-family: 'Jost', Arial, Helvetica, sans-serif;
	vertical-align: middle;
	border: 0;
	outline: 0;
	background: none;
}

a:hover {
	text-decoration: none;
}

ul li {
	list-style: none;
}

/************************* common styles *************************/
.holder1 {
	padding: 0px 16px;
}

h1 {
	text-align: center;
	font-family: 'NanumMyeongjo';
	font-size: var(--h1);
	font-weight: 400;
	line-height: 93.5%;
	letter-spacing: -3.84rem;
}

h2 {
	font-family: 'NanumMyeongjo';
	font-size: var(--h2);
	font-weight: 400;
	line-height: 100%;
	letter-spacing: -2.88px;
}

a {
	transition: color .3s linear, background .3s linear;
}

p {
	margin: 0 0 28px;
}

.center {
	text-align: center;
}

.upper {
	text-transform: uppercase;
}

.button-holder {
	text-align: center;
}

.button {
	position: relative;
	display: inline-flex;
	padding: 11rem 38rem;
	color: var(--c2);
	font-size: max(14px, 16rem);
	font-weight: 400;
	line-height: 106%;
	letter-spacing: 1.6px;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	border-radius: 0px;
	background: transparent;
	border: 1px solid var(--c2);
	transition: color .3s linear, background .3s linear;
}

.button:hover {
	color: var(--c4);
	background: var(--c2);
}

::selection {
	background-color: #8A7960;
}
.diff-bg{
	background: #bbad99;
	padding: 3.5em 1em;
}

/************************* form-block *************************/
.input-item {
	margin: 0 0 max(24px, 80rem);
}

.input-item input {
	display: block;
	width: 100%;
	height: max(30px, 40rem);
	padding: 0 0 max(11px, 15rem);
	margin: 0;
	font-size: max(14px, 16rem);
	font-weight: 400;
	color: var(--c1);
	text-transform: uppercase;
	background: transparent;
	border-radius: 0;
	border-bottom: 0.5px solid var(--c1);
}

.textarea {
	display: block;
	width: 100%;
	height: 170px;
	padding: 10px 11px;
	margin: 0 0 40px;
	font-size: 16px;
	resize: vertical;
	color: rgba(0, 0, 0, 0.9);
	background: transparent;
	border-radius: 4px;
	border: 1px solid rgba(0, 0, 0, 0.56);
}

::-webkit-input-placeholder {
	color: rgba(242, 241, 237, 0.3);
}

:-moz-placeholder {
	color: rgba(242, 241, 237, 0.3);
	opacity: 1;
}

::-moz-placeholder {
	color: rgba(242, 241, 237, 0.3);
	opacity: 1;
}

:-ms-input-placeholder {
	color: rgba(242, 241, 237, 0.3);
}

.form-button {
	text-align: center;
}

/************************* wrapper *************************/
body::before {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	content: '';
	height: 56%;
	max-height: 1227px;
	background: var(--g1);
	pointer-events: none;
	z-index: -1;
}

#wrapper {
	position: relative;
	padding: 110rem 0 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

body.is-loader {
	overflow: hidden;
}

.loader {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 500;
}

.loader::before {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 110%;
	content: '';
	background: url(../images/uploads/villa-banner.jpg) 50% 50% no-repeat;
	background-size: cover;
}

.loader-bg {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url(../images/key-bg.svg) 50% 50% no-repeat;
	background-size: cover;
	transition: transform 2s ease-in;
}

.loader.animate .loader-bg {
	transform: scale(22);
}

.loader.hide {
	display: none;
}

.loader-box {
	position: fixed;
	left: 50%;
	transform: translateX(-50%);
	bottom: 120rem;
	width: max(350px, 440rem);
	text-align: center;
	font-size: var(--sub);
	font-weight: 400;
	line-height: 150%;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	transition: transform 2s ease-in;
}

.loader-key-wrap {
	overflow: hidden;
	margin: 40rem 0 0;
}

.loader-key {
	width: 126rem;
	height: 40rem;
	margin: 0 auto;
	background: url(../images/key.svg) 50% 50% no-repeat;
	background-size: contain;
	transition: transform 0.5s cubic-bezier(0.12, 0, 0.39, 0);
}

.line {
	overflow: hidden;
}

.line-inner {
	transition: transform 0.5s cubic-bezier(0.12, 0, 0.39, 0);
}

.loader.animate .line-inner,
.loader.animate .loader-key {
	transform: translateY(100%);
}

/************************* header *************************/
.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 300;
	padding: 36rem 0 0;
	transition: all 0.4s ease-out;
}

.header::before {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	content: '';
	height: 356rem;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.50) 12.29%, rgba(0, 0, 0, 0.00) 77.62%);
	pointer-events: none;
}

.header-block {
	position: relative;
	min-height: 74rem;
}

.header-logo {
	position: absolute;
	z-index: 20;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
}

.header-logo img {
	height: 100rem;
}

.header-nav {
	display: flex;
	justify-content: space-between;
	padding: 4rem 0 0;
}

.header-nav-list {
	display: flex;
	gap: 36rem;
}

.header-nav-list:first-child {
	margin-right: auto;
}

.header-phone {
	margin-left: 36rem;
}

.header-nav li {
	font-size: max(14px, 16rem);
	font-weight: 400;
	line-height: 150%;
	letter-spacing: 1.6px;
	text-transform: uppercase;
}

.header-nav a {
	position: relative;
	color: var(--c1);
	text-decoration: none;
}

.header-nav a::before {
	position: absolute;
	content: "";
	left: 0;
	bottom: -3rem;
	display: block;
	width: 100%;
	height: 1px;
	background: var(--c1);
	transition: 1.1s var(--ease-out-expo);
	transform: scaleX(0);
	transform-origin: left;
}

.header-nav a:hover::before {
	transform: scaleX(1);
}

.header-nav .current-menu-item a {
	color: var(--c2);
}

.header-nav .current-menu-item a::before {
	display: none;
}

.mob-nav-icon {
	position: absolute;
	top: 10px;
	right: 0px;
	z-index: 250;
	padding: 0 0 8px;
	display: none;
}

.mob-nav-block {
	position: relative;
	display: block;
	width: 32px;
	height: 1px;
	margin: 8px 0 0;
	background: var(--c1);
	transition: all .3s linear;
}

.mob-nav-block:after {
	content: "";
	position: absolute;
	top: -8px;
	left: 0;
	width: 19px;
	height: 1px;
	background: var(--c1);
	transition: all .3s linear;
}

.mob-nav-block:before {
	content: "";
	position: absolute;
	top: 8px;
	right: 0;
	width: 19px;
	height: 1px;
	background: var(--c1);
	transition: all .3s linear;
}

.mob-nav-icon.active .mob-nav-block {
	background: none;
}

.mob-nav-icon.active .mob-nav-block:before {
	top: 0;
	transform: rotate(45deg);
	width: 32px;
}

.mob-nav-icon.active .mob-nav-block:after {
	top: 0;
	transform: rotate(-45deg);
	width: 32px;
}

/************************* main page *************************/
/************************* banner *************************/

.banner-video {
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.banner-overlay {
    z-index: 10;
    height: 440rem;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.80) 12.29%, rgba(0, 0, 0, 0.00) 77.62%);
    pointer-events: none;
}

@media screen and (max-width: 1023px) {
    .banner-overlay {
        height: 320px;
    }
}

.banner {
	margin-top: -110rem;
	height: 100vh;
	position: relative;
	overflow: hidden;
}

.banner-float {
	overflow: hidden;
	height: 100vh;
}

.banner-slide img {
	width: 100%;
	height: 110%;
	object-fit: cover;
}

.banner-slider::before {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 10;
	content: '';
	height: 440rem;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.80) 12.29%, rgba(0, 0, 0, 0.00) 77.62%);
	pointer-events: none;
}

.slick-arrow {
	position: absolute;
	bottom: 55rem;
	left: 50%;
	z-index: 20;
	display: block;
	width: 14px;
	height: 21px;
	font-size: 0;
	cursor: pointer;
	background: url(../images/arrow.svg) 50% 50% no-repeat;
	background-size: contain;
	transition: all 0.3s linear;
}

.slick-arrow::after {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	content: '';
	background: url(../images/arrow-hover.svg) 50% 50% no-repeat;
	background-size: contain;
	opacity: 0;
	transition: all 0.3s linear;
}

.slick-arrow:hover::after {
	opacity: 1;
}

.slick-prev {
	margin-left: -41rem;
	transform: scale(-1, 1);
}

.slick-next {
	margin-left: 27rem;
}

.banner-main {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 100rem;
	z-index: 10;
}

.banner-block {
	display: flex;
	align-items: flex-end;
	opacity: 0;
	visibility: hidden;
	transform: translateY(50%);
	transition: transform 0.8s cubic-bezier(0.46, 0.03, 0.52, 0.96), opacity 0.5s ease;
}

.banner-block.vis {
	opacity: 1;
	visibility: visible;
	transform: translateY(0%);
}

.banner-block h1 {
	text-align: left;
}

.banner-block .subheading {
	width: 430rem;
	margin: 0 30rem 7rem -90rem;
	text-align: left;
}

.banner-block .button {
	margin: 0 0 16rem;
}

/************************* main-wrap *************************/
.main-wrap {
	padding: 166rem 0 0;
}

.main-wrap .about-team {
	margin-bottom: 0;
	padding-bottom: 100rem;
}

.main-wrap .slogan {
	/* margin-bottom: 160rem; */
}

.info {
	position: relative;
}

.info-bg {
	position: absolute;
	top: 0;
	right: -40rem;
	width: 834rem;
	height: 500rem;
	min-height: 480px;
}

.info-bg img {
	width: 100%;
}

.info-top {
	position: relative;
	max-width: 900rem;
	margin: 0 0 78rem;
}

.info-top h2 {
	margin: 0 0 16rem;
	text-align: left;
}

.info-top .subheading {
	text-align: left;
}

.info-content {
	position: relative;
}

.info-content .line-wrap {
	left: 215rem;
}

.info-block {
	position: relative;
	max-width: 900rem;
	margin: 0 auto 240rem;
}

.info-text {
	max-width: 430rem;
	margin: 0 0 36rem;
	opacity: 0.8;
}

.info-img {
	position: relative;
	max-width: 900rem;
	/* height: 627rem; */
	/* min-height: 320px; */
	margin: 0 auto 40rem;
}

.info-img img {
	width: 100%;
}

.main-wrap .invest-info {
	max-width: 1220rem;
	margin-bottom: 120rem;
}

.main-wrap .invest-info-text {
	max-width: 430rem;
}

.main-wrap .invest-info-img {
	height: 390rem;
	min-height: 240px;
}

.main-wrap .invest-info-img img {
	object-position: 50% 50%;
}

/************************* other pages *************************/
/************************* main *************************/
.main {
	padding: 115rem 0 0;
}

.top {
	max-width: 1140rem;
	margin: 0 auto 60rem;
}

.top h1 {
	margin: 0 0 24rem;
}

.top h1:last-child {
	margin: 0;
}

.subheading {
	text-align: center;
	font-size: var(--sub);
	line-height: 150%;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	opacity: 0.8;
}

.img-float {
	overflow: hidden;
}

.img-float img {
	height: 100%;
	object-fit: cover;
}

.reveal {
	padding: 1px 0;
}

.reveal.holder {
	padding: 1px var(--p1);
}

.text-wrap {
	overflow: hidden;
	padding: 15px 0;
	margin: -15px 0;
}

.text-inner {
	transition: transform 0.8s cubic-bezier(0.46, 0.03, 0.52, 0.96);
	transform: translateY(calc(100% + 20px));
}

.reveal.animate .text-inner {
	transform: translateY(0%);
}

.key-wrap {
	overflow: hidden;
	margin: 0 0 49rem;
}

.key {
	display: block;
	width: 82rem;
	height: 27rem;
	background: url(../images/key.svg) 50% 50% no-repeat;
	background-size: contain;
}

.reveal .key {
	transition: transform 0.8s cubic-bezier(0.46, 0.03, 0.52, 0.96);
	transform: translateY(calc(100% + 20px));
}

.reveal.animate .key {
	transform: translateY(0%);
}

/************************* about *************************/
.about-top-img {
	max-width: 980rem;
	height: 356rem;
	margin: 0 auto 110rem;
}

.about-top-img img {
	width: 100%;
}

.about-top {
	position: relative;
	max-width: 1080rem;
	margin: 0 auto 160rem;
	padding-bottom: 74rem;
}

.about-top::before {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	content: '';
	width: 82rem;
	height: 27rem;
	background: url(../images/key.svg) 50% 50% no-repeat;
	background-size: contain;
}

.about-top h2 {
	margin: 0 0 48rem;
	line-height: 120%;
}

.about-top-text {
	max-width: 650rem;
	margin: 0 auto;
	opacity: 0.8;
	text-align: center;
}

.about-team {
	max-width: 80%;
	margin: 0 auto 330rem;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
}

.about-team-col {
	width: calc(50% - 20rem);
	margin: 0 0 60rem;
}

.about-team-col:last-child {
	margin-left: auto;
}

.about-team-col.img-float {
	height: 540rem;
	min-height: 360px;
}

.about-team-col img {
	width: 100%;
}

.about-team-text {
	width: 100%;
	margin: 0 0 36rem;
	opacity: 0.8;
}

.about-team-col h2 {
	width: 100%;
	position: relative;
	z-index: 10;
	margin: 0 0 16rem;
	text-align: left;
}

.about-team-col .subheading {
	text-align: left;
}

.history {
	display: flex;
	justify-content: space-between;
	margin: 0 0 230rem;
}

.history-col {
	position: relative;
	width: calc(50% - 40rem);
	padding: 0 0 78rem;
}

.history-col:first-child::after {
	position: absolute;
	top: 0;
	bottom: 0;
	right: -20rem;
	content: '';
	width: 1px;
	background: var(--c1);
}

.history-title {
	position: sticky;
	top: 150rem;
	left: 0;
	z-index: 10;
}

.history-title::after {
	position: absolute;
	top: 42rem;
	right: -30rem;
	content: '';
	width: 20rem;
	height: 20rem;
	background: var(--c2);
	border-radius: 50%;
}

.history-title h2 {
	margin: 0 0 16rem;
	text-align: left;
}

.history-title .subheading {
	text-align: left;
}

.history-item {
	max-width: 430rem;
	margin: 0 0 460rem;
}

.history-item:last-child {
	margin: 0;
}

.history-year {
	margin: 0 0 16rem;
	color: var(--c2);
	font-family: 'NanumMyeongjo';
	font-size: max(28px, 64rem);
	font-weight: 400;
	line-height: 130%;
}

.history-text {
	opacity: 0.8;
}

/************************* invest *************************/
.invest-top {
	max-width: 900rem;
	margin: 0 auto 80rem;
}

.invest-top-img {
	height: 356rem;
	min-height: 240px;
	margin: 0 0 60rem;
}

.invest-top-img img {
	width: 100%;
}

.invest-top-block {
	display: flex;
	justify-content: space-between;
	position: relative;
}

.invest-top-col {
	position: relative;
	width: calc(50% - 20rem);
	padding-bottom: 160px;
}

.invest-top-col:last-child {
	padding-top: 140rem;
}

.invest-top-text {
	opacity: 0.8;
}

.invest-form {
	margin: 0 0 165rem;
}

.invest-form h2 {
	margin: 0 0 40rem;
}

.invest-info {
	max-width: 940rem;
	margin: 0 auto 165rem;
}

.invest-info-top {
	max-width: 900rem;
	margin: 0 auto 80rem;
}

.invest-info-top h2 {
	margin: 0 0 16rem;
	text-align: left;
}

.invest-info-top .subheading {
	text-align: left;
}

.invest-info-block {
	display: flex;
}

.invest-info-img {
	width: 50%;
	height: 550rem;
	min-height: 240px;
}

.invest-info-img img {
	width: 100%;
	object-position: 0 50%;
}

.invest-info-content {
	width: 50%;
	padding: 0 0 0 40rem;
}

.invest-info-text {
	margin: 0 0 36rem;
	opacity: 0.8;
}

.link-flash {
	position: relative;
	font-size: max(14px, 16rem);
	font-weight: 400;
	line-height: 106%;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: var(--c2);
	text-decoration: none;
}

.link-flash::before,
.link-flash::after {
	position: absolute;
	content: "";
	left: 0;
	bottom: -3rem;
	display: block;
	width: 100%;
	height: 1px;
	background: var(--c2);
	transition: 1.1s var(--ease-out-expo);
}

.link-flash::before {
	transform: scaleX(0);
	transform-origin: left;
}

.link-flash::after {
	transform-origin: right;
	transition-delay: 0.25s;
}

.link-flash:hover::before {
	transform: scaleX(1);
	transition-delay: 0.25s;
}

.link-flash:hover::after {
	transform: scaleX(0);
	transition-delay: 0s;
}

.slogan {
	margin: 0 auto 165rem;
	position: relative;
}

.slogan-text {
	text-align: center;
	font-family: 'NanumMyeongjo';
	font-size: 2.2em;
	font-weight: 400;
	line-height: 120%;
	letter-spacing: -2.88rem;
}

.slogan-line {
	position: relative;
	white-space: nowrap;
	color: #15262124;                   /*rgba(242, 241, 237, 0.10)*/
	display: inline-block;
}

.slogan-cover {
	position: absolute;
	left: 0;
	top: 0;
	color: var(--c4);
	overflow: hidden;
	width: 0%;
}

.slogan-text.active .slogan-cover {
	width: 100%;
}

.line-mob {
	display: none;
}

/************************* team *************************/
.box {
	display: flex;
	justify-content: space-between;
	position: relative;
	max-width: 1525rem;
	margin: 0 auto 80rem;
}

.box-col {
	position: relative;
	width: calc(50% - 20rem);
	padding-right: 1.5em;
}

.line-wrap {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 1px;
}

.line-dash {
	width: 1px;
	height: 0%;
	background: var(--c1);
	transition: height 1.5s cubic-bezier(0.46, 0.03, 0.52, 0.96);
}

.line-dash.animate {
	height: 100%;
}

.box-img {
	margin: 0 0 24rem;
	height: 720rem;
	min-height: 425px;
}

.box-img img {
	width: 100%;
}

.box-text {
	margin: 0 0 24rem;
	opacity: 0.8;
}

.box-text:last-child,
.box-img:last-child {
	margin: 0;
}

.team .box-col {
	padding-bottom: 156rem;
}

.invest-box .box-img {
	margin: 0 0 24rem;
	height: 470rem;
	min-height: 240px;
}

/************************* contacts *************************/
.contacts-info,
.contacts-info a {
	max-width: 800rem;
	margin: 0 auto 48rem;
	color: var(--c2);
	text-align: center;
	font-size: var(--sub);
	line-height: 180%;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	opacity: 0.8;
}

.contacts .join-form {
	margin-bottom: 144rem;
}

.contacts-bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0 0 120rem;
}

.contacts-keyhole {
	width: 230rem;
	margin: 0 0 98rem;
}

.contacts-keyhole img {
	width: 100%;
}

.contacts-bottom-text {
	max-width: max(320px, 430rem);
	text-align: center;
	font-size: var(--sub);
	line-height: 150%;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	opacity: 0.8;
}

/************************* join *************************/
.join {
	padding: 60px 0 100rem;
	background: #2b433c;
}

.join h2 {
	margin: 0 0 35rem;
}

.join-form {
	position: relative;
	max-width: 900rem;
	margin: 0 auto;
}

.join-form .key-wrap {
	margin: 0 0 88rem;
}

.join-form .key {
	margin: 0 auto;
}

.input-box {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.input-box .input-item {
	width: calc(50% - 20rem);
}

/************************* 404 *************************/
.page-404 {
	flex: 1;
	display: flex;
	align-items: center;
	padding: 165rem 0 15rem;
}

.page-404 .holder {
	width: 100%;
}

.page-404-block {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.page-404-num {
	display: flex;
	margin: 0 0 40rem;
}

.page-404-num img:nth-child(1),
.page-404-num img:nth-child(3) {
	width: 187rem;
}

.page-404-num img:nth-child(2) {
	width: 148rem;
	margin: 0 20rem 0 30rem;
}

.page-404-text {
	margin: 0 0 60rem;
	text-align: center;
	font-size: var(--sub);
	line-height: 150%;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	opacity: 0.8;
}

/************************* thanks *************************/
.thanks {
	text-align: center;
}

.thanks h2 {
	margin: 0 0 16rem;
}

.thanks .subheading {
	margin: 0 0 80rem;
}

/************************* footer *************************/
.footer {
	margin: auto 0 0;
	padding: 30px 0 30rem;
	font-weight: 400;
}

.footer-top {
	position: relative;
}

.footer-logo {
	width: 300rem;
	position: absolute;
	left: 0;
	top: 22rem;
}

.footer-logo img {
	width: 100%;
}

.footer-top {
	display: flex;
	justify-content: center;
	padding: 75rem 0 25rem;
}

.footer-nav {
	display: flex;
	justify-content: space-between;
	width: 100%;
	max-width: 65%;
}

.footer-nav li {
	font-size: max(14px, 16rem);
	line-height: 150%;
	letter-spacing: 1.6px;
	text-transform: uppercase;
}

.footer-nav a {
	position: relative;
	color: var(--c1);
	text-decoration: none;
}

.footer-nav a::before {
	position: absolute;
	content: "";
	left: 0;
	bottom: -3rem;
	display: block;
	width: 100%;
	height: 1px;
	background: var(--c1);
	transition: 1.1s var(--ease-out-expo);
	transform: scaleX(0);
	transform-origin: left;
}

.footer-nav a:hover::before {
	transform: scaleX(1);
}

.footer-text {
	margin: 0 0 24rem;
	color: var(--c1);
	font-size: max(12px, 14rem);
	line-height: 110%;
	letter-spacing: 0.7px;
	opacity: 0.5;
}

.footer-text p {
	margin: 0 0 16rem;
}

.footer-text p:last-child {
	margin: 0;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
}

.footer-copy {
	color: var(--c1);
	font-size: max(14px, 16rem);
	line-height: 150%;
	opacity: 0.5;
}

.footer-studio {
	color: var(--c1);
	font-size: max(14px, 16rem);
	line-height: 150%;
}

.footer-studio a {
	color: var(--c1);
	text-decoration: none;
}

.footer-studio a:hover {
	color: var(--c2)
}

.mob-hidden {
	display: none;
}

/************************* popups *************************/
.popup {
	display: none;
	width: 524px;
	border-radius: 20px;
}

.popup.fancybox-content {
	padding: 72px 40px 48px;
	color: rgba(0, 0, 0, 0.82);
	background: #D4D4D4;
}

/************************* media *************************/
@media screen and (max-width: 1500px) {
	.banner-block .subheading {
		width: 460rem;
	}

	.button {
		padding: 13rem 38rem 11rem;
	}
}

@media screen and (max-width: 1399px) {
	.banner-block .subheading {
		width: 320px;
		margin: 0 30rem 7rem -100rem;
		text-align: left;
	}
}

@media screen and (max-width: 1299px) {

	.box,
	.invest-top,
	.join-form,
	.invest-info,
	.about-top-img,
	.about-top,
	.about-team,
	.info-block,
	.info-img {
		max-width: 640px;
	}
	.about-team{
		max-width: 90%;
	}

	.about-top-img {
		min-height: 240px;
	}

	.about-top-text {
		max-width: 480px;
	}

	.history-item {
		max-width: 320px;
	}

	.about-team-text {
		width: 100%;
	}

	.info-text {
		max-width: 320px;
	}

	.main-wrap .invest-info-text {
		max-width: none;
	}

}

@media screen and (max-width: 1023px) {
	:root {
		--body: max(14px, 18rem);
		--sub: max(14px, 18rem);
	}

	#wrapper {
		padding: 60px 0 0;
	}

	.pinned-wrap {
		padding: 60px 0 0;
	}

	.header {
		padding: 24px 0 0;
		transition: all 0.4s ease-out;
	}

	.header::before {
		height: 155px;
	}

	.header-block {
		min-height: 36px;
	}

	.header-logo img {
		height: 55px;
	}

	.mob-nav-icon {
		display: block;
	}

	.header-nav {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: var(--g2);
		flex-direction: column;
		justify-content: center;
		align-items: center;
		padding: 60px 0 0;
	}

	.header-nav.vis {
		display: flex;
	}

	.header-nav-list {
		flex-direction: column;
		align-items: center;
		gap: 36px;
		position: relative;
	}

	.header-nav-list:first-child {
		margin: 0 0 36px;
	}

	.header-nav-list:nth-child(2) {
		padding: 0 0 75px;
	}

	.header-nav-list:nth-child(2)::after {
		position: absolute;
		bottom: 0;
		left: 50%;
		transform: translateX(-50%);
		content: '';
		width: 50px;
		height: 45px;
		background: url(../images/uploads/favicon.png) 50% 50% no-repeat;
		background-size: contain;
	}

	.header-nav li {
		font-family: 'NanumMyeongjo';
		font-size: 18px;
		font-weight: 400;
		line-height: 50%;
		letter-spacing: -1.2px;
		text-transform: capitalize;
	}

	.header-nav a {
		color: var(--c5);
	}

	.header-phone {
		display: none;
	}

	.page-404 {
		padding: 104px 0 80px;
	}

	.page-404-num {
		margin: 0 0 26px;
	}

	.page-404-num img:nth-child(1),
	.page-404-num img:nth-child(3) {
		width: 110px;
	}

	.page-404-num img:nth-child(2) {
		width: 87px;
		margin: 0 10px 0 17px;
	}

	.page-404-text {
		max-width: 280px;
		margin: 0 auto 110px;
	}

	.button {
		padding: 13px 38px;
		font-size: max(12px, 16rem);
		letter-spacing: 1.2px;
	}

	.footer {
		padding: 35px 0 16px;
	}

	.footer-logo {
		width: 275px;
		margin: 0 auto 34px;
		position: relative;
		left: auto;
		top: auto;
	}

	.footer-top {
		flex-direction: column;
		padding: 0 0 16px;
	}

	.footer-nav {
		max-width: none;
	}

	.footer-nav li {
		font-size: max(12px, 16rem);
		letter-spacing: 1.2px;
	}

	.footer-text {
		margin: 0 0 17px;
		font-size: max(10px, 14rem);
		letter-spacing: 0.5px;
	}

	.footer-text p {
		margin: 0 0 11px;
	}

	.footer-text p:last-child {
		margin: 0;
	}

	.footer-bottom {
		flex-direction: column-reverse;
	}

	.footer-copy {
		font-size: max(12px, 16rem);
		line-height: 130%
	}

	.footer-studio {
		margin: 0 0 8px;
		font-size: max(12px, 16rem);
		line-height: 130%
	}

	.input-box .input-item {
		width: 100%;
	}

	.main {
		padding: 35px 0 0;
	}

	.top {
		max-width: none;
		margin: 0 0 24px;
	}

	.top h1 {
		margin: 0 0 16px;
	}

	.contacts-info {
		max-width: none;
		margin: 0 auto 16px;
	}

	.join-form {
		max-width: 480px;
		padding: 36px 0 0;
	}

	.contacts .join-form {
		margin-bottom: 45px;
	}

	.join-form::before {
		width: 48px;
		height: 15px;
	}

	.form-button {
		padding: 16px 0 0;
	}

	.contacts-bottom {
		margin: 0 0 60px;
	}

	.contacts-keyhole {
		width: 115px;
		margin: 0 0 37px;
	}

	.box {
		position: relative;
		flex-direction: column;
		margin: 0 auto 36px;
		padding: 0 0 190px;
	}

	.line-wrap {
		top: auto;
		height: 173px;
	}

	.box-col {
		width: 100%;
	}

	.box-col:first-child::after {
		display: none;
	}

	.box-img {
		margin: 0 0 28px;
	}

	.box-text {
		margin: 0 0 24px;
	}

	.team .box-col {
		padding-bottom: 0;
	}

	.team .box-col:not(:last-child) {
		margin: 0 0 28px;
		text-align: center;
	}

	.mob-hidden {
		display: block;
	}

	.mob-hide {
		display: none;
	}

	.join {
		padding: 0 0 80px;
	}

	.join h2 {
		margin: 0 0 16px;
	}

	.join .join-form {
		padding: 10px 0 0;
	}

	.invest-box {
		flex-direction: column-reverse;
	}

	.invest-box .box-col:first-child {
		margin: 0;
		text-align: left;
	}

	.invest-box .box-col:last-child {
		margin: 0 0 24px;
	}

	.invest-top {
		margin: 0 auto;
		padding: 0 0 96px;
	}

	.invest-top-img {
		position: relative;
		margin: 0 0 30px;
	}

	.line-mob {
		position: relative;
		overflow: hidden;
		display: block;
		width: 1px;
		height: 60px;
		margin: 0 auto 28px;
		background: rgba(242, 241, 237, 0.2);
	}

	.line-mob::after {
		position: absolute;
		top: 0;
		left: 0;
		content: '';
		width: 1px;
		height: 0%;
		background: var(--c1);
		animation: line 1.5s infinite ease-in;
	}

	@keyframes line {
		0% {
			height: 0%;
		}

		45% {
			height: 100%;
		}

		55% {
			top: 0%;
			height: 100%;
		}

		100% {
			top: 100%;
			height: 100%;
		}
	}

	.invest-top-block {
		flex-direction: column;
	}

	.invest-top-col {
		width: 100%;
		padding-bottom: 0;
	}

	.invest-top-block .line-wrap {
		display: none;
	}

	.invest-top-col:last-child {
		padding-top: 0;
	}

	.invest-top-text {
		margin: 0 0 24px;
	}

	.invest-top-highliht {
		display: block;
		margin: 0 0 24px;
		text-align: center;
		font-family: 'NanumMyeongjo';
		font-size: 32px;
		font-weight: 400;
		line-height: 130%;
		letter-spacing: -0.96px;
	}

	.invest-form {
		margin: 0 0 80px;
	}

	.invest-form h2 {
		margin: 0 0 24px;
	}

	.invest-info {
		margin: 0 auto 80px;
	}

	.invest-info-top {
		max-width: none;
		margin: 0 auto 28px;
	}

	.invest-info-top h2 {
		margin: 0 0 12px;
	}

	.invest-info-block {
		flex-direction: column;
	}

	.invest-info-block .invest-info-img {
		display: none;
	}

	.invest-info-img {
		width: 100%;
		margin: 0 0 24px;
	}

	.invest-info-content {
		width: 100%;
		padding: 0;
	}

	.invest-info-text {
		margin: 0 0 10px;
	}

	.slogan {
		margin: 0 auto 80px;
	}

	.slogan-text {
		line-height: 130%;
		letter-spacing: -0.96px;
	}

	.about-top-img {
		position: relative;
		margin: 0 auto 28px;
		padding: 0;
	}

	.about-top {
		margin: 0 auto 80px;
		padding-bottom: 40px;
	}

	.about-top::before {
		width: 48px;
		height: 15px;
	}

	.about-top h2 {
		margin: 0 0 16px;
		line-height: 130%;
	}

	body {
		line-height: 140%;
	}

	h1 {
		line-height: 110%;
		letter-spacing: -1.2px;
	}

	h2 {
		letter-spacing: -0.96px;
		line-height: 110%;
	}

	.about-team {
		margin: 0 auto 80px;
		flex-direction: column;
		align-items: flex-start;
	}

	.about-team-col {
		width: 100%;
		margin: 0 0 28px;
	}

	.about-team-col:last-child {
		margin-left: auto;
	}

	.about-team-text {
		width: auto;
		/* margin: 0 0 36px; */
	}

	.about-team-col h2 {
		width: auto;
		margin: 0 0 16px;
	}

	.about-team-text.mob-hidden {
		margin: 28px 0 0;
	}

	.history {
		flex-direction: column;
		margin: 0 0 80px;
	}

	.history-col {
		width: 100%;
		padding: 0 0 24px;
	}

	.history-col:first-child::after {
		display: none;
	}

	.history-title {
		position: relative;
		top: auto;
		left: auto;
	}

	.history-title::after {
		display: none;
	}

	.history-title h2 {
		margin: 0 0 16px;
	}

	.history-item {
		display: flex;
		justify-content: space-between;
		max-width: none;
		margin: 0;
		padding: 0 0 80px;
	}

	.history-item::after {
		position: absolute;
		top: 0;
		bottom: 0;
		left: 46%;
		content: '';
		width: 1px;
		background: var(--c1);
	}

	.history-year {
		position: relative;
		width: calc(46% - 15px);
		margin: 0;
	}

	.history-year::after {
		position: absolute;
		top: 15px;
		right: -20px;
		z-index: 10;
		content: '';
		width: 9px;
		height: 9px;
		background: var(--c2);
		border-radius: 50%;
	}

	.history-text {
		width: calc(54% - 20px);
	}

	.banner {
		margin-top: -60px;
	}

	.banner-slider::before {
		height: 320px;
	}

	.slick-arrow {
		bottom: 65px;
		left: auto;
		right: 16px;
		width: 12px;
		height: 24px;
	}

	.slick-prev {
		margin-right: 70px;
		margin-left: 0;
	}

	.slick-next {
		margin-left: 0;
	}

	.banner-main {
		bottom: 52px;
	}

	.banner-block {
		flex-direction: column;
		align-items: flex-start;
	}

	.banner-block h1 {
		width: 103%;
		margin: 0 0 16px;
	}

	.banner-block .subheading {
		width: auto;
		margin: 0 0 34px;
	}

	.banner-block .button {
		margin: 0;
	}

	.main-wrap {
		padding: 48px 0 0;
	}

	.main-wrap .about-team {
		padding-bottom: 40px;
	}

	.key-wrap {
		margin: 0 0 16px;
	}

	.key {
		width: 48px;
		height: 15px;
	}

	.main-wrap .slogan {
		margin-bottom: 80px;
	}

	.info-bg {
		position: relative;
		top: auto;
		right: auto;
		width: auto;
		max-width: 640px;
		margin: 0 auto 24px;
	}

	.info-bg img {
		width: 100%;
	}

	.info-top {
		max-width: 640px;
		margin: 0 auto 28px;
	}

	.info-top h2 {
		margin: 0 0 12px;
	}

	.info-block {
		margin: 0 auto 80px;
	}

	.info-text {
		max-width: none;
		/* margin: 0 0 36px; */
	}

	.info-img {
		margin: 0 auto 24px;
	}

	.main-wrap .invest-info {
		position: relative;
		max-width: 640px;
		margin-bottom: 36px;
		padding: 0 0 160px
	}

	.main-wrap .invest-info-text {
		max-width: none;
	}

	.info-content .line-wrap {
		left: 50%;
		height: 181px;
		top: auto;
	}

	.loader.animate .loader-bg {
		transform: scale(12);
	}

	.loader-box {
		bottom: 70px;
	}

	.loader-key-wrap {
		margin: 16px 0 0;
	}

	.loader-key {
		width: 48px;
		height: 15px;
	}

	.link-flash {
		font-size: max(12px, 16rem);
	}

	.input-item input {
		font-size: max(12px, 16rem);
	}

	.thanks h2 {
		margin: 0 0 16px;
	}

	.thanks .subheading {
		margin: 0 0 40px;
	}

}

@media screen and (max-width: 768px) {
	.loader::before {
		background: url(../images/uploads/villa-banner.jpg) 50% 50% no-repeat;
		background-size: cover;
	}
	.footer-logo img {
		width: 80%;
	}
}

@media screen and (max-width: 576px) {
	.contacts-info {
		max-width: 300px;
		margin: 0 auto 16px;
	}

	.about-top-img {
		min-height: 200px;
	}

	.about-team-col.img-float {
		min-height: 450px;
	}

	.invest-top-img {
		min-height: 200px;
	}

	.info-bg {
		min-height: 240px;
	}
	.line-dash{
		display: none;
	}

}

.holder.min-holder {
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}

.content-privacy {
	margin-top: 50rem;
}

.content-privacy h3 {
	font-weight: 300;
	margin-bottom: 12rem;
	text-transform: uppercase;
}

.footer-copy {
	display: flex;
	gap: 10rem;
}

.privacy {
	display: flex;
	gap: 20px;
	margin-bottom: 30rem;
}

.privacy a {
	color: #fff;
}

@media (min-width:1024px) {
	.footer-copy {
		gap: 40rem;
	}

	.privacy {
		gap: 20rem;
	}
}

@media (max-width:1024px) {
	.footer-copy {
		flex-direction: column;
	}
}

/************************* integration helpers *************************/
/* Lock background scroll while the full-screen mobile menu is open */
body.nav-open {
	overflow: hidden;
}

/* Ensure the Slick-wrapped banner keeps full-viewport height */
.banner-slider .slick-list,
.banner-slider .slick-track {
	height: 100%;
}

.banner-slider .slick-slide {
	height: 100vh;
}

.banner-slider .slick-slide>div {
	height: 100%;
}

.banner-slider .slick-slide:focus {
	outline: none;
}

/* Dropdown Menu */
.header-nav-list .has-dropdown {
	position: relative;
}

.header-nav-list .has-dropdown .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	list-style: none;
	padding: 10px 0;
	margin: 0;
	display: none;
	box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
	border-radius: 8px;
	z-index: 999;
}

@media screen and (min-width: 1024px) {
	.header-nav-list .has-dropdown:hover .sub-menu {
		display: block;
	}
}

.header-nav-list .has-dropdown .sub-menu li {
	margin: 0;
}

.header-nav-list .has-dropdown .sub-menu li a {
	display: block;
	padding: 10px 20px;
	color: #ffffff;
	text-decoration: none;
	transition: .3s;
	white-space: nowrap;
}

.header-nav-list .has-dropdown .sub-menu li a:hover,
.header-nav-list .has-dropdown .sub-menu li.current-menu-item a {
	color: var(--c2);
}

@media screen and (max-width: 1023px) {

	/* On mobile there's no hover, so tapping "Properties" toggles the
	   .sub-open class (see main.js). Shown inline (not absolutely
	   positioned) to avoid overlapping Blogs/Contact. */
	.header-nav-list .has-dropdown .sub-menu {
		position: static;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 18px;
		width: auto;
		min-width: 0;
		padding: 0;
		margin: 0;
		box-shadow: none;
		border-radius: 0;
		z-index: auto;
		max-height: 0;
		opacity: 0;
		overflow: hidden;
		transition: max-height .35s ease, opacity .3s ease, padding .35s ease;
	}

	.header-nav-list .has-dropdown.sub-open .sub-menu {
		max-height: 200px;
		opacity: 1;
		padding: 16px 0 5px;
	}

	.header-nav-list .has-dropdown .sub-menu li a {
		padding: 0;
		font-size: 15px;
		white-space: nowrap;
		letter-spacing: 0.02em;
	}
}


/* ==========================================================================
   1 · TESTIMONIALS
   ========================================================================== */
.es-testimonials {
    padding: 3em 0em 0.5em;
}

.es-testimonials::before {
	/* faint signature grid echo */
	/* content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: .6;
	background-image: linear-gradient(var(--sage-line) 1px, transparent 1px),
		linear-gradient(90deg, var(--sage-line) 1px, transparent 1px);
	background-size: 44px 44px;
	-webkit-mask-image: radial-gradient(120% 70% at 85% 0%, #000 0%, transparent 60%);
	mask-image: radial-gradient(120% 70% at 85% 0%, #000 0%, transparent 60%); */
}

.es-testimonials .es-inner {
	position: relative;
}

.es-t-head {
	text-align: center;
}

.es-t-head .es-rule {
	margin: 18px auto 0;
}

.es-t-viewport {
	position: relative;
}

.es-t-track {
	display: flex;
	transition: transform .7s cubic-bezier(.22, .61, .36, 1);
	will-change: transform;
}

.es-t-slide {
	min-width: 100%;
	padding: 4px;
}

.es-t-card {
	border: 1px solid var(--hair);
	border-radius: 14px;
	padding: clamp(30px, 5vw, 56px);
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 52px);
	align-items: center;
	box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .6);
}

.es-t-card.es-quote-only {
	grid-template-columns: 1fr;
	max-width: 820px;
	margin: 20px auto 0;
	text-align: center;
}

.es-t-quotemark {
	font-family: var(--serif);
	font-size: 96px;
	line-height: .6;
	color: var(--quote);
	height: 42px;
	display: block;
	margin-bottom: 6px;
}

.es-t-quote {
	font-family: var(--serif);
	letter-spacing: 0.02em;
	/* font-weight: 400;
	font-style: italic; */
	line-height: 1.5;
	color: var(--white);
	margin: 0 0 26px;
}

.es-t-by {
	display: flex;
	align-items: center;
	gap: 14px;
}

.es-quote-only .es-t-by {
	justify-content: center;
}

.es-t-avatar {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	flex: 0 0 auto;
	background: var(--panel-2);
	color: var(--terracotta);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--serif);
	font-weight: 600;
	font-size: 19px;
	border: 1px solid var(--hair);
}

.es-t-name {
	font-weight: 600;
	font-size: 15px;
	color: var(--ink);
	letter-spacing: .02em;
}

.es-t-role {
	font-size: 13px;
	color: var(--muted);
	margin-top: 2px;
}

/* featured video slot */
.es-t-video {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	aspect-ratio: 4/5;
	background: var(--forest-deep);
	display: flex;
	align-items: center;
	justify-content: center;
}

.es-t-video video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.es-t-video .es-video-ph {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	text-align: center;
	color: #dfeae2;
	padding: 24px;
	background:
		radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, .07), transparent 60%),
		linear-gradient(160deg, #214437, #0E1B16);
}

.es-play {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .14);
	backdrop-filter: blur(2px);
	border: 1px solid rgba(255, 255, 255, .35);
	display: flex;
	align-items: center;
	justify-content: center;
}

.es-play svg {
	margin-left: 3px;
}

.es-video-cap {
	font-family: var(--serif);
	font-style: italic;
	font-size: 17px;
	opacity: .92;
}

/* controls */
.es-t-controls {
	display: flex;
	align-items: center;
	justify-content: center;
}

.es-arrow {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid var(--hair);
	color: var(--ink);
	cursor: pointer;
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.es-arrow:hover {
	background: var(--terracotta);
	color: var(--forest-deep);
	border-color: var(--terracotta);
}

.es-arrow:focus-visible {
	outline: 2px solid var(--terracotta);
	outline-offset: 3px;
}

.es-dots {
	display: flex;
	gap: 9px;
}

.es-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	border: 0;
	padding: 0;
	cursor: pointer;
	background: var(--sage-line);
	transition: width .3s ease, background .3s ease;
}

.es-dot.es-active {
	width: 16px;
	border-radius: 6px;
}

.es-dot:focus-visible {
	outline: 2px solid var(--terracotta);
	outline-offset: 3px;
}

/* ==========================================================================
   2 · PARTNERS  (auto-scrolling carousel)
   ========================================================================== */
.es-partners {
	background:#bbad99;
	text-align: center;
	padding: 60rem 0rem 100rem;
}

.es-partners .es-inner {
	text-align: center;
}

.es-partners .es-eyebrow {
	margin-bottom: 14px;
	text-align: center;
}

.es-partners .es-h2 {
	margin-bottom: clamp(38px, 5vw, 56px);
	text-align: center;
}

.es-partners .es-rule {
	margin: 18px auto clamp(38px, 5vw, 56px);
}

.es-marquee {
	position: relative;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.es-marquee+.es-marquee {
	margin-top: clamp(20px, 2.5vw, 34px);
}

.es-marquee-track {
	display: flex;
	width: max-content;
	align-items: center;
	gap: clamp(40px, 6vw, 84px);
	animation: es-scroll 46s linear infinite;
}

.es-marquee--rev .es-marquee-track {
	animation-direction: reverse;
	animation-duration: 52s;
}

.es-marquee:hover .es-marquee-track {
	animation-play-state: paused;
}

@keyframes es-scroll {
	from {
		transform: translateX(0)
	}

	to {
		transform: translateX(-50%)
	}
}

.es-logo {
	flex: 0 0 auto;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.es-logo img {
	max-height: 135px;
	max-width: 150px;
	width: auto;
	object-fit: contain;
	/* filter: brightness(0) invert(1); */
	/* opacity: .55; */
	/* white silhouette on dark */
	transition: opacity .3s ease;
}

.es-logo:hover img {
	opacity: 1;
}

/* text fallback shown until you drop a real logo file in */
.es-logo-fb {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 42px;
	font-family: var(--sans);
	font-weight: 600;
	letter-spacing: .02em;
	font-size: 27px;
	color: var(--c4);
	white-space: nowrap;
	transition: color .3s ease;
}

.es-logo:hover .es-logo-fb {
	color: var(--mint);
}

/* master plan section */

.master-plan{
	padding: 60rem 15px 120rem;
}

.master-plan h2{
	margin-bottom: 0.5em;
}

/* ==========================================================================
   3 · LOCATION
   ========================================================================== */
.es-location {
	background: var(--paper);
	padding: 30rem 0 140rem;
}

.es-loc-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
	gap: clamp(36px, 5vw, 72px);
	align-items: center;
}

.es-loc-copy .es-rule {
	margin: 24px 0;
}

.es-loc-h {
	margin-bottom: 0;
}

.es-loc-lead {
	font-size: clamp(16px, 1.5vw, 18px);
	line-height: 1.7;
	color: #C6D4CC;
	max-width: 46ch;
	margin: 0 0 clamp(30px, 4vw, 42px);
}

.es-loc-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.es-loc-item {
	display: flex;
	align-items: baseline;
	gap: 14px;
	padding: 16px 0;
	border-bottom: 1px solid var(--hair);
}

.es-loc-item:first-child {
	border-top: 1px solid var(--hair);
}

.es-loc-bullet {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--terracotta);
	flex: 0 0 auto;
	transform: translateY(-2px);
}

.es-loc-place {
	font-size: 16px;
	color: var(--ink);
}

.es-loc-lead-fill {
	flex: 1 1 auto;
	border-bottom: 1px dotted var(--sage-line);
	transform: translateY(-4px);
	min-width: 18px;
}


/* stylised map panel (dark grid + pins) */
.es-map {
	position: relative;
	overflow: hidden;
	border-radius:18px;
  background:var(--sage-bg);
  aspect-ratio:16/13;min-height:320px;
  border:1px solid var(--sage-line);
  box-shadow:0 36px 80px -50px rgba(0,0,0,.7);
}

.es-map img {
	display: block;
	width: 100%;
	height: auto;
}

.es-map::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image: linear-gradient(var(--sage-line) 1px, transparent 1px),
		linear-gradient(90deg, var(--sage-line) 1px, transparent 1px);
	background-size: 6.25% 6.25%;
	opacity: .7;
}

.es-map::after {
	/* soft depth bloom */
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(80% 60% at 60% 45%, rgba(169, 203, 184, .08), transparent 70%);
}

.es-poi {
	position: absolute;
	transform: translate(-50%, -50%);
	text-align: center;
}

.es-poi-dot {
	display: none;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--mint);
	margin: 0 auto 5px;
	box-shadow: 0 0 0 4px rgba(169, 203, 184, .16);
}

.es-poi-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
	color: var(--muted);
	text-transform: capitalize;
	white-space: nowrap;
}

/* helpers for POIs that need the label above the dot (e.g. Taj Alibaug) */
.es-poi-label-block {
	display: block;
	margin-bottom: 4px;
}

.es-poi-dot-below {
	margin: 0 auto;
}

/* main pin */
.es-pin {
	position: absolute;
	transform: translate(-50%, -100%);
	text-align: center;
	z-index: 3;
}

.es-pin svg {
	display: block;
	margin: 0 auto;
	filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .5));
}

.es-pin-tag {
	display: inline-block;
	margin-top: 8px;
	background: #ECF2EE;
	color: var(--forest-deep);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: .04em;
	padding: 6px 13px;
	border-radius: 8px;
	transform: translateY(-4px);
}

.es-pin-pulse {
	position: absolute;
	left: 50%;
	top: 0;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	transform: translate(-50%, -100%);
	box-shadow: 0 0 0 0 rgba(214, 154, 110, .5);
	animation: es-pulse 2.6s ease-out infinite;
}

@keyframes es-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(214, 154, 110, .45)
	}

	70% {
		box-shadow: 0 0 0 22px rgba(214, 154, 110, 0)
	}

	100% {
		box-shadow: 0 0 0 0 rgba(214, 154, 110, 0)
	}
}

.es-map-addr {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 18px;
	text-align: center;
	font-size: 11px;
	letter-spacing: .22em;
	color: var(--muted);
	text-transform: uppercase;
}

@media screen and (max-width: 576px) {
	.es-poi-label {
		font-size: 9px;
		white-space: normal;
		max-width: 74px;
		line-height: 1.3;
		display: inline-block;
	}
}

.es-loc-cta {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-top: 26px;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--c2);
	text-decoration: none;
	border-bottom: 1px solid var var(--c2);
	padding-bottom: 5px;
	transition: gap .25s ease;
}

.es-loc-cta:hover {
	gap: 15px;
}

.es-loc-cta:focus-visible {
	outline: 2px solid var(--terracotta);
	outline-offset: 4px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width:880px) {
	.es-t-card {
		grid-template-columns: 1fr;
		text-align: left;
	}

	.es-t-card .es-t-video {
		/* order: 1; */
		aspect-ratio: 16/10;
		max-height: 300px;
	}

	.es-loc-grid {
		grid-template-columns: 1fr;
	}

	.es-map {
		order: 1;
	}
}

@media (max-width:560px) {
	.es-t-quote {
		font-size: 20px;
	}

	.es-loc-dist {
		font-size: 18px;
	}

	.es-logo-fb {
		font-size: 17px;
	}

	.es-logo img {
		max-height: 34px;
		max-width: 120px;
	}
}

@media (prefers-reduced-motion:reduce) {
	.es-marquee-track {
		animation: none;
	}

	.es-t-track {
		transition: none;
	}

	.es-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.es-pin-pulse {
		animation: none;
	}
}



/* ==========================================================================
   RESPONSIVE FIXES — HOME PAGE
   All additions below; original rules above are untouched.
   Breakpoints:
     ≤1299px  large tablet / small desktop
     ≤1023px  tablet   (already had rules — enhanced below)
     ≤768px   landscape phone / small tablet
     ≤576px   portrait phone   (already had rules — enhanced below)
     ≤400px   very small phone
   ========================================================================== */

/* ---------- 1. fluid font-size on tiny viewports -------------------------- */
@media screen and (max-width: 480px) {
	html {
		font-size: 0.065vw;
	}

	/* slightly larger rem base on small screens */
}

/* ---------- 2. make .holder never overflow --------------------------------- */
.holder {
	box-sizing: border-box;
	max-width: 100%;
}

/* ---------- 3. banner — small phones --------------------------------------- */
@media screen and (max-width: 768px) {
	.banner-block h1 {
		font-size: clamp(32px, 10vw, 64px);
		letter-spacing: -0.5px;
		width: 100%;
	}

	.banner-block .subheading {
		font-size: clamp(12px, 3.5vw, 16px);
		width: 100%;
		margin: 0 0 24px;
	}

	.banner-main {
		bottom: 32px;
	}
}

@media screen and (max-width: 480px) {
	.banner-block {
		gap: 12px;
	}

	.banner-block h1 {
		font-size: clamp(28px, 9vw, 48px);
		margin: 0 0 10px;
	}

	.banner-main {
		bottom: 24px;
	}

	.slick-arrow {
		bottom: 44px;
	}
}

/* ---------- 4. about-team section ----------------------------------------- */
@media screen and (max-width: 1023px) {

	/* already stacks to column — just tighten image height */
	.about-team-col.img-float {
		/* height: auto;
		min-height: 280px; */
		max-height: 500px;
	}

	.about-team-col.img-float img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}

@media screen and (max-width: 576px) {
	.about-team-col.img-float {
		/* min-height: 220px; */
	}
}

/* ---------- 5. slogan ----------------------------------------------------- */
@media screen and (max-width: 768px) {
	.slogan-text {
		font-size: clamp(20px, 5.5vw, 32px);
		letter-spacing: -0.5px;
	}

	.main-wrap .slogan {
		margin-bottom: 60px;
	}
}

@media screen and (max-width: 480px) {
	.slogan-text {
		font-size: clamp(18px, 5vw, 24px);
	}
}

/* ---------- 6. info / two-ways-to-live section ----------------------------- */
@media screen and (max-width: 1023px) {
	.info-bg {
		height: auto;
		min-height: 200px;
	}

	.main-wrap .invest-info {
		padding-bottom: 80px;
	}
}

@media screen and (max-width: 768px) {
	.info-bg {
		min-height: 180px;
	}

	.info-top h2 {
		font-size: clamp(24px, 7vw, 48px);
	}

	.invest-info-top .subheading,
	.info-top .subheading {
		font-size: clamp(12px, 3vw, 16px);
	}

	.main-wrap .invest-info {
		padding-bottom: 25px;
	}
}

@media screen and (max-width: 480px) {
	.info-bg {
		min-height: 160px;
	}

	.info-block {
		margin-bottom: 15px;
	}
}

/* ---------- 7. testimonials ----------------------------------------------- */
@media screen and (max-width: 768px) {
	.es-testimonials {
		/* padding: 10px 16px; */
	}

	.es-t-card {
		padding: clamp(20px, 5vw, 40px);
	}

	.es-t-quotemark {
		font-size: 64px;
		height: 32px;
	}

	.es-t-quote {
		font-size: clamp(16px, 4vw, 22px);
		margin-bottom: 20px;
	}

	.es-t-controls {
		margin-top: 2px;
	}

	.es-arrow {
		width: 32px;
		height: 32px;
	}
}

@media screen and (max-width: 480px) {
	.es-t-head .es-h2 {
		font-size: clamp(22px, 7vw, 36px);
	}

	.es-t-card.es-quote-only {
		padding: 24px 20px;
	}

	.es-t-quote {
		font-size: clamp(15px, 4vw, 20px);
	}

	.es-t-name {
		font-size: 13px;
	}

	.es-t-role {
		font-size: 11px;
	}

	.es-t-avatar {
		width: 38px;
		height: 38px;
		font-size: 15px;
	}
}

/* ---------- 8. partners marquee ------------------------------------------- */
@media screen and (max-width: 768px) {
	.es-partners {
		padding: 25px 0;
	}

	.es-partners .es-h2 {
		font-size: clamp(22px, 6vw, 40px);
		padding: 0 16px;
	}

	.es-partners .es-eyebrow {
		padding: 0 16px;
	}

	.es-logo img {
		max-height: 32px;
		max-width: 100px;
	}

	.es-logo-fb {
		font-size: 15px;
	}

	.es-marquee-track {
		gap: clamp(28px, 5vw, 60px);
	}
}

/* ---------- 9. location grid ---------------------------------------------- */
@media screen and (max-width: 1023px) {
	.es-location {
		padding: 40px 0 80px;
	}

	.es-loc-grid {
		gap: 32px;
	}
}

@media screen and (max-width: 880px) {

	/* already switches to 1-col via existing rule; improve spacing */
	.es-loc-grid {
		gap: 24px;
	}

	.es-map {
		width: 100%;
		max-width: 100%;
	}

	.es-map img {
		width: 100%;
		height: auto;
		border-radius: 12px;
	}

	.es-loc-lead {
		max-width: 100%;
	}
}

@media screen and (max-width: 576px) {
	.es-location {
		padding: 32px 15px 60px;
	}

	.es-loc-h {
		font-size: clamp(24px, 7vw, 40px);
	}

	.es-loc-lead {
		font-size: 15px;
	}

	.es-loc-place {
		font-size: 14px;
	}

	.es-loc-dist {
		font-size: 14px;
		white-space: nowrap;
	}

	.es-loc-item {
		padding: 12px 0;
		gap: 8px;
	}

	.link-flash {
		margin-top: 12px;
		display: inline-block;
	}
}

/* ---------- 10. header — ensure logo never overflows ----------------------- */
@media screen and (max-width: 400px) {
	.header-logo img {
		height: 45px;
	}

	.holder {
		padding: 0 16px;
	}
}

/* ---------- 11. h2 / heading sizes on mobile ------------------------------- */
@media screen and (max-width: 768px) {
	h2 {
		font-size: clamp(24px, 7vw, 48px);
		letter-spacing: -0.5px;
	}
}

@media screen and (max-width: 480px) {
	h2 {
		font-size: clamp(22px, 6.5vw, 36px);
	}
}

/* ---------- 12. main-wrap padding on small screens ------------------------ */
@media screen and (max-width: 480px) {
	.main-wrap {
		padding: 32px 0 0;
	}

	.main-wrap .about-team {
		padding-bottom: 24px;
	}

	.key-wrap {
		margin: 0 0 12px;
	}
}

/* ---------- 13. join / contact form --------------------------------------- */
@media screen and (max-width: 768px) {
	.join {
		padding: 0 0 60px;
	}

	.join-form .key-wrap {
		margin: 0 0 40px;
	}

	.input-item {
		margin: 0 0 20px;
	}
}

@media screen and (max-width: 480px) {
	.join {
		padding: 40px 0 45px;
	}

	.join-form {
		max-width: 100%;
		padding: 40px 0 0;
	}
}

/* ---------- 14. footer on very small screens ------------------------------ */
@media screen and (max-width: 400px) {
	.footer-logo {
		width: 220px;
	}

	.footer-nav {
		gap: 12px;
		align-items: center;
		text-align: center;
	}
}

/* ---------- 15. prevent horizontal scroll globally ------------------------ */
html,
body {
	overflow-x: hidden;
}

.holder,
.main-wrap,
.banner-main,
.es-inner {
	max-width: 100%;
}

/* ---------- 16. images always responsive ---------------------------------- */
img {
	max-width: 100%;
}

/* ---------- 17. es-section base padding on mobile ------------------------- */
@media screen and (max-width: 768px) {

	.es-inner {
		padding-left: 16px;
		padding-right: 16px;
	}
}

/* ---------- 18. es-h2 responsive ------------------------------------------ */
@media screen and (max-width: 768px) {
	.es-h2 {
		font-size: clamp(22px, 6vw, 40px);
	}
}

/* ---------- 19. es-eyebrow / es-script sizing ----------------------------- */
@media screen and (max-width: 480px) {
	.es-eyebrow {
		font-size: 11px;
	}

	.es-script {
		font-size: inherit;
	}
}

.social-icons li a {
	padding: 0em 10em;
}

/* ---------- 20. Owl Carousel (property/gallery slider) -------------------- */
.owl-carousel {
	margin: 60rem 0 0;
}

.owl-carousel .item {
	overflow: hidden;
	border-radius: 12px;
}

.owl-carousel .item img {
	display: block;
	width: 100%;
	height: 320px;
	object-fit: cover;
	border-radius: 12px;
}

/* themed nav arrows */
.owl-carousel .owl-nav {
	margin-top: 20px;
	text-align: center;
}

.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
	width: 30px;
	height: 30px;
	margin: 0 6px;
	border-radius: 50%;
	border: 1px solid var(--c2);
	color: var(--c2);
	background: transparent;
	font-size: 22px!important;
	line-height: 38px;
	transition: all .3s ease;
}

.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
	background: var(--c2);
	color: var(--c4);
}

.owl-carousel .owl-nav button.owl-prev.disabled,
.owl-carousel .owl-nav button.owl-next.disabled {
	opacity: .4;
}

/* themed dots */
.owl-carousel .owl-dots {
	margin-top: 14px;
	text-align: center;
}

.owl-carousel .owl-dots .owl-dot span {
	width: 9px;
	height: 9px;
	margin: 5px;
	background: rgba(220, 203, 179, 0.35);
	transition: all .3s ease;
}

.owl-carousel .owl-dots .owl-dot.active span,
.owl-carousel .owl-dots .owl-dot:hover span {
	background: var(--c2);
}

@media screen and (max-width: 768px) {
	.owl-carousel .item img {
		/* height: 240px; */
	}
}

/* ---------- 21. Footer nav: multi-column on mobile ----------------------- */
@media screen and (max-width: 768px) {
	.footer-nav {
		display: grid;
		grid-template-columns: repeat(2, auto);
		justify-content: center;
		column-gap: 28px;
		row-gap: 14px;
		max-width: none;
	}

	.footer-nav li {
		text-align: center;
	}
}

/* very small screens: 2 columns is more comfortable for longer labels */
@media screen and (max-width: 400px) {
	.footer-nav {
		grid-template-columns: repeat(2, auto);
		column-gap: 36px;
	}
}

.subhead {
	letter-spacing: 1.8px;
	text-transform: uppercase;
	color: var(--c1);
	margin-bottom: 12px;
}

/* ==========================================================================
   PROPERTY PAGES (Villa & Apartment) + shared es- token/base back-fill
   Appended for villa.php / apartment.php. Uses the existing fluid rem scale
   (1rem ≈ 1px @1920) and brand palette. Also defines es- tokens & base
   classes that the homepage references but the original sheet never declared,
   so those sections render consistently site-wide.
   ========================================================================== */

/* ---- 1. Missing design tokens (referenced across the original sheet) ---- */
:root {
    --paper:        #152621;            /* forest, matches --c4 */
    --paper-warm:   #182c26;
    --forest-deep:  #0f1d18;
    --sage-bg:      #1b322b;
    --panel:        #1d342d;
    --panel-2:      #21392f;
    --hair:         rgba(220, 203, 179, 0.18);
    --ink:          var(--c1);
    --muted:        rgba(242, 241, 237, 0.7);
    --quote:        var(--c2);
    --mint:         #cfe3d6;
    --white:        #ffffff;
    --terracotta:   #D69A6E;
    --serif:        'NanumMyeongjo', Georgia, serif;
    --sans:         'Jost', Arial, Helvetica, sans-serif;
}

/* ---- 2. Base es- typographic classes (used on homepage & property pages) - */
.es-h2 {
    line-height: 110%;
    letter-spacing: -1.5px;
}

.es-script {
    /* font-family: 'NanumMyeongjo', Georgia, serif;
    font-style: italic; */
    color: var(--c2);
}

.es-eyebrow {
    font-size: max(12px, 14rem);
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: var(--c2);
    opacity: .9;
}

.es-rule {
    width: 60rem;
    max-width: 80px;
    height: 1px;
    border: 0;
    background: var(--c2);
    opacity: .6;
}

/* reveal-on-scroll (driven by IntersectionObserver adding .es-in) */
.es-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
    will-change: opacity, transform;
}

.es-reveal.es-in {
    opacity: 1;
    transform: none;
	margin-top: 2em;
}

@media (prefers-reduced-motion: reduce) {
    .es-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- 3. Property hero ---------------------------------------------------- 
.es-phero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    margin-top: -110rem;        
    padding: 0 0 90rem;
}

.es-phero-bg {
    position: absolute;
    inset: 0;
    height: 100%;
    z-index: 0;
}

.es-phero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.es-phero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(15, 29, 24, 0.55) 0%, rgba(15, 29, 24, 0.15) 40%, rgba(15, 29, 24, 0.85) 100%);
}

.es-phero .holder {
    position: relative;
    z-index: 2;
    width: 100%;
}

.es-phero-inner {
    max-width: 1000rem;
}

.es-phero .subheading {
    text-align: left;
    color: var(--c2);
    margin: 0 0 22rem;
}

.es-phero h1 {
    text-align: left;
    margin: 0 0 28rem;
    line-height: 100%;
}

.es-phero-lead {
    max-width: 620rem;
    margin: 0 0 40rem;
    font-size: var(--sub);
    line-height: 165%;
    opacity: .9;
} 
	*/

/* ---- 4. Property main wrap ---------------------------------------------- */
.es-prop {
    padding-top: 65rem;
}

.es-prop .top {
    max-width: 975rem;
}

.es-prop .top .key-wrap {
    display: flex;
    justify-content: center;
}

.es-prop .top .subheading {
    margin: 0 0 24rem;
}

.es-prop-intro {
    max-width: 720rem;
    margin: 28rem auto 0;
    text-align: center;
    opacity: .82;
    line-height: 165%;
}

/* ---- 5. Quick stat strip ------------------------------------------------- */
.es-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin: 90rem 0 60rem;
    background: var(--hair);
    /* border: 1px solid var(--hair); */
    /* border-radius: 14px; */
    overflow: hidden;
}

.es-stat {
    background: var(--panel);
    padding: 48rem 24rem;
    text-align: center;
}

.es-stat-num {
    display: block;
    font-family: var(--serif);
    font-size: max(34px, 60rem);
    line-height: 1;
    color: var(--c2);
    margin: 0 0 14rem;
}

.es-stat-label {
    display: block;
    font-size: max(11px, 15rem);
    letter-spacing: 1.4px;
    text-transform: uppercase;
    opacity: .75;
}

/* ---- 6. Feature tag pills ----------------------------------------------- */
.es-prop-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14rem;
    margin: 0 0 90rem;
}

.es-tag {
    padding: 10rem 26rem;
    border: 1px solid var(--hair);
    border-radius: 999px;
    font-size: max(13px, 15rem);
    letter-spacing: .7px;
    color: var(--c1);
    background: var(--panel);
	margin: 0.3em;
}

/* ---- 7. Plan article ----------------------------------------------------- */
.es-plan {
    padding: 35rem 0 60rem;
    border-top: 1px solid var(--hair);
    scroll-margin-top: 130rem;
}

.es-plan:first-of-type {
    border-top: 0;
}

/* Villa Type B — diff-bg segregated section (matches Home page rhythm) */
.es-plan--alt {
    border-top: 0;
}

.es-plan--alt .es-floor-img {
    background: #fff;
    border-color: rgba(255, 255, 255, 0.18);
}

.es-plan-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
    gap: 32rem;
    margin: 0 0 50rem;
}

.es-plan-head-text .es-eyebrow {
    margin: 0 0 20rem;
}

.es-plan-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18rem 60rem;
}

.es-meta-item {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.es-meta-k {
    font-size: max(14px, 13rem);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--c2);
    opacity: .85;
}

.es-meta-v {
    font-size: max(14px, 17rem);
    color: var(--c1);
}

/* render + spec grid */
.es-plan-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 50rem;
    align-items: stretch;
}

.es-plan-render {
    border-radius: 14px;
    min-height: 420rem;
}

.es-plan-render img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.es-plan-spec {
    padding: 48rem 44rem;
    display: flex;
    flex-direction: column;
}

.es-plan-spec-title {
    font-family: var(--serif);
    font-size: max(20px, 30rem);
    font-weight: 400;
    margin: 0 0 40rem;
    color: var(--c1);
}

.es-feature-list {
    margin: 0 0 65rem;
    display: grid;
    gap: 16rem;
	grid-template-columns: repeat(2, 1fr);
}

.es-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 14rem;
    font-size: max(14px, 17rem);
    line-height: 140%;
    opacity: .9;
}

.es-feature-tick {
    flex: 0 0 auto;
    width: 18rem;
    height: 18rem;
    min-width: 14px;
    min-height: 14px;
    margin-top: 3rem;
    border-radius: 50%;
    border: 1px solid var(--c2);
    position: relative;
}

.es-feature-tick::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 7rem;
    height: 7rem;
    min-width: 5px;
    min-height: 5px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--c2);
}

.es-plan-note {
    font-size: max(12px, 14rem);
    opacity: .6;
    margin: 20px 0 50rem;
    line-height: 150%;
}

.es-plan-spec .link-flash {
    margin-top: auto;
    align-self: flex-start;
}

/* apartment layout: single plan image beside spec */
.es-plan-grid--apt {
    grid-template-columns: 1.15fr 1fr;
    align-items: start;
}

.es-floor--apt {
    margin: 0;
}

/* ---- 8. Floor plans ------------------------------------------------------ */
.es-floors {
    margin: 60rem 0 0;
}

.es-floors-title {
    font-family: var(--serif);
    font-size: max(24px, 30rem);
    font-weight: 400;
    margin: 36rem 0 30rem;
    color: var(--c1);
}

.es-floor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30rem;
}

.es-floor-grid--two {
    grid-template-columns: repeat(2, 1fr);
}

.es-floor {
    margin: 0;
}

.es-floor-img {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--hair);
}

.es-floor-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 1.1s var(--ease-out-expo);
	filter:blur(5px);
}

.es-floor-img:hover img {
    transform: scale(1.03);
}

.es-floor-zoom {
    position: absolute;
    inset: auto 0 0 0;
    padding: 14rem 18rem;
    font-size: max(11px, 13rem);
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--c1);
    background: linear-gradient(0deg, rgba(15, 29, 24, 0.9), transparent);
    opacity: 0;
    transition: opacity .4s ease;
}

.es-floor-img:hover .es-floor-zoom {
    opacity: 1;
}

.es-floor figcaption {
    margin: 18rem 0 0;
    font-size: max(13px, 16rem);
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--c2);
    text-align: center;
}

.es-plan--building .es-plan-note {
    max-width: 900rem;
    margin: 30rem auto 0;
    text-align: center;
}

/* ---- 9. Cross-link banner ------------------------------------------------ */
.es-crosslink {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60rem;
    align-items: center;
    margin-bottom: 3em;
    padding: 120rem 3em 0;
    border-top: 1px solid var(--hair);
	margin-top:0em!important;
}

.es-crosslink-text h2 {
    margin: 16rem 0 22rem;
}

.es-crosslink-text p {
    max-width: 520rem;
    opacity: .85;
    line-height: 160%;
    margin: 0 0 36rem;
}

.es-crosslink-img {
    height: 480rem;
    min-height: 320px;
    /* border-radius: 14px; */
}

.es-crosslink-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---- 10. Tablet -------------------------------------------------------- */
@media screen and (max-width: 1023px) {
    .es-plan-grid,
    .es-plan-grid--apt {
        grid-template-columns: 1fr;
        gap: 36rem;
    }

    .es-plan-render {
        min-height: 360rem;
    }

    .es-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .es-crosslink {
        grid-template-columns: 1fr;
        gap: 40rem;
    }

    .es-crosslink-img {
        height: 380rem;
        order: -1;
    }
}

/* ---- 11. Mobile -------------------------------------------------------- */
@media screen and (max-width: 768px) {
    .es-phero {
        min-height: 86vh;
        margin-top: -110rem;
        padding: 0 0 64rem;
    }

    .es-phero h1 {
        font-size: clamp(30px, 9vw, 56px);
    }

    .es-phero-lead {
        font-size: 15px;
    }

    .es-prop {
        padding-top: 80rem;
    }

    .es-stats {
        margin: 56rem 0 40rem;
    }

    .es-stat {
        padding: 55rem 14rem;
    }

    .es-floor-grid,
    .es-floor-grid--two {
        grid-template-columns: 1fr;
        gap: 28rem;
    }

    .es-plan {
        padding: 60rem 0;
    }

    .es-plan-head {
        margin: 0 0 36rem;
    }

    .es-plan-spec {
        padding: 36rem 55rem;
    }

    .es-floor-zoom {
        opacity: 1;            /* no hover on touch — always show hint */
    }
}

@media screen and (max-width: 480px) {
    .es-stats {
        grid-template-columns: 1fr 1fr;
    }

    .es-stat-num {
        font-size: 24px;
    }
}

/* modal */
.modal-h{
	font-size: 1.8em;
    letter-spacing: 0.0em;
	padding: 10rem;
	color: var(--c2);
}
.modal-header{
	border-bottom: 0px;
}
.modal-input{
	display: block!important;
}
.modal-input-item input{
	    padding: 40px 0 max(11px, 15rem)!important;
}
/* ---- Footer legal/project-info dropdown (QR + RERA + registration no.) --- */
.es-legal-dropdown {
    display: inline-block;
	margin-top:1em;
}

.es-legal-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--c1);
    border: 1px solid var(--sage-line, rgba(220,203,179,.35));
    border-radius: 999px;
    padding: 12px 22px;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-family: var(--sans, 'Jost', sans-serif);
    transition: border-color .3s ease, color .3s ease, background .3s ease;
}

.es-legal-toggle:hover,
.es-legal-toggle:focus {
    color: var(--c4);
    background: var(--c2);
    border-color: var(--c2);
}

.es-legal-toggle::after {
    margin-left: 2px;
    vertical-align: 1px;
}

.es-legal-menu {
    background: var(--c4);
    border: 1px solid var(--sage-line, rgba(220,203,179,.25));
    border-radius: 14px;
    padding: 18px;
    min-width: 260px;
    max-width: min(320px, calc(100vw - 32px));
    box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}

.es-legal-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 4px;
    border-bottom: 1px solid var(--hair, rgba(242,241,237,.12));
}

.es-legal-item:last-child {
    border-bottom: 0;
    padding-bottom: 4px;
}

.es-legal-item:first-child {
    padding-top: 4px;
}

.es-legal-qr {
    align-items: center;
}

.es-legal-qr img {
    width: 96px;
    height: 96px;
    border-radius: 6px;
    background: #fff;
    padding: 6px;
}

.es-legal-label {
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--c2);
    opacity: .85;
}

.es-legal-value {
    font-size: 14px;
    color: var(--c1);
    word-break: break-word;
}

@media screen and (max-width: 576px) {
    .es-legal-toggle {
        width: 100%;
        justify-content: center;
    }

    .es-legal-menu {
        min-width: 0;
        width: calc(100vw - 32px);
    }
}

/* ============ About page ============ */
.about-verticals {
	/* max-width: 1300rem; */
	margin: 0 auto 160rem;
}

.vertical-card {
	padding: 40rem 20rem;
	border: 1px solid var(--sage-line);
	transition: border-color .3s linear, background .3s linear;
}

.vertical-card:hover {
	border-color: var(--c2);
	background: rgba(220, 203, 179, 0.06);
}

.vertical-card h3 {
	margin: 0 0 25rem;
	font-family: 'NanumMyeongjo';
	font-size: max(17px, 20rem);
	font-weight: 400;
	line-height: 120%;
	color: var(--c5);
}

.vertical-card p {
	margin: 0;
	font-size: max(13px, 14rem);
	line-height: 150%;
	opacity: 0.75;
}

.about-stats {
	max-width: 80%;
	margin: 0 auto 160rem;
}

.about-stats .stat-num {
	margin: 0 0 8rem;
	font-family: 'NanumMyeongjo';
	font-size: max(28px, 56rem);
	font-weight: 400;
	line-height: 120%;
	color: var(--c2);
}

.about-stats .stat-label {
	font-size: max(11px, 14rem);
	letter-spacing: 1.6px;
	text-transform: uppercase;
	opacity: 0.75;
}
@media screen and (max-width: 1299px) {
	.box{
        max-width:80%;
	}	
}