/* =====================================================================
   ERA CITY – Landing page
   Cấu trúc file:
   1. Biến màu / font        6. Các section (theo thứ tự trên trang)
   2. Reset & chung          7. Lightbox / Modal / Toast / Nút nổi
   3. Hiệu ứng (reveal)      8. Responsive (tablet, mobile)
   4. Header & Menu
   5. Tiêu đề, nút dùng chung
   ===================================================================== */

/* ---------- 1. BIẾN ---------- */
:root {
    --olive-900: #353616;   /* nền xanh rêu đậm */
    --olive-800: #3e3e1a;
    --olive-700: #4a4a22;
    --olive-400: #9f9e68;   /* nền xanh rêu nhạt (tiện ích, thư viện) */
    --olive-300: #b9b88a;
    --cream:     #fcfcf0;   /* nền kem (bản đồ) */
    --gold:      #cba964;   /* vàng logo */
    --gold-2:    #e3cf98;
    --beige:     #c9bd8e;   /* chữ tiêu đề trên nền tối */
    --terra:     #c47d57;   /* cam đất (số phút, điểm tiện ích) */
    --terra-2:   #a8573a;
    --ink:       #2d2e14;   /* chữ tiêu đề tối */
    --text:      #7c7b6f;   /* chữ nội dung xám */
    --white:     #fff;

    --f-serif: 'Playfair Display', 'Times New Roman', serif;
    --f-sans:  'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    --ease:      cubic-bezier(.22, .61, .36, 1);
    --ease-out:  cubic-bezier(.16, 1, .3, 1);
    --header-h:  76px;
    --container: 1200px;
}

/* ---------- 2. RESET & CHUNG ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
    margin: 0;
    font-family: var(--f-sans);
    font-size: 15px;
    line-height: 1.65;
    color: var(--text);
    background: var(--olive-900);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
section { position: relative; overflow: hidden; }
::selection { background: var(--gold); color: var(--olive-900); }

/* Họa tiết chữ "ER" mờ làm nền (dùng cho các khối nền tối) */
.ec-watermark { position: relative; isolation: isolate; }
.ec-watermark::before {
    content: 'ER';
    position: absolute; z-index: -1; pointer-events: none;
    right: -2%; top: 50%;
    transform: translateY(-50%);
    font-family: var(--f-serif);
    font-size: clamp(260px, 34vw, 640px);
    line-height: .8; letter-spacing: -.08em;
    color: rgba(255, 255, 255, .035);
    -webkit-text-stroke: 1px rgba(203, 169, 100, .10);
}
.ec-watermark--light::before { color: rgba(255,255,255,.06); -webkit-text-stroke-color: rgba(255,255,255,.12); left: -10%; right: auto; top: 18%; }

/* ---------- 3. HIỆU ỨNG XUẤT HIỆN KHI CUỘN ---------- */
/* Gắn data-reveal vào phần tử – JS sẽ thêm class .is-in khi phần tử vào màn hình */
[data-reveal] {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
    transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
    transition-delay: var(--d, 0ms);
    will-change: opacity, transform;
}
[data-reveal="right"] { transform: translate3d(40px, 0, 0); }
[data-reveal="zoom"]  { transform: scale(.94); }
[data-reveal="clip-left"] {
    opacity: 1; transform: none;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.6s var(--ease-out);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="clip-left"].is-in { clip-path: inset(0 0 0 0); }

/* Tiêu đề tách chữ: mỗi từ trượt lên từ dưới mặt nạ */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span {
    display: inline-block;
    transform: translate3d(0, 105%, 0);
    transition: transform 1.1s var(--ease-out);
    transition-delay: calc(var(--wi) * 45ms);
}
[data-split].is-in .w > span { transform: none; }

/* ---------- 4. HEADER & MENU ---------- */
.ec-header {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    height: var(--header-h);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 clamp(16px, 3vw, 44px);
    transition: transform .6s var(--ease), background .4s, box-shadow .4s;
    transform: translateY(-100%);
}
.ec-header.is-visible { transform: none; }
.ec-header.is-hidden  { transform: translateY(-100%); }
.ec-header.is-solid   { background: rgba(53, 54, 22, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(203,169,100,.18); }
.ec-header__logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: 0; transition: opacity .4s; }
.ec-header.is-solid .ec-header__logo { opacity: 1; }
.ec-header__logo img { height: 46px; width: auto; }
.ec-header__right { display: flex; gap: 10px; align-items: center; }

.ec-burger {
    width: 42px; height: 42px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.7);
    display: grid; place-content: center; gap: 4px;
    transition: background .3s, border-color .3s;
}
.ec-burger span { display: block; width: 16px; height: 1px; background: #fff; transition: width .3s var(--ease); }
.ec-burger span:nth-child(2) { width: 11px; }
.ec-burger:hover { background: rgba(255,255,255,.15); }
.ec-burger:hover span:nth-child(2) { width: 16px; }

.ec-pill {
    display: inline-flex; align-items: center; height: 30px; padding: 0 16px;
    border: 1px solid rgba(255,255,255,.8); border-radius: 30px;
    color: #fff; font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
    transition: background .3s, color .3s;
}
.ec-pill:hover { background: #fff; color: var(--olive-900); }
.ec-circle-btn {
    width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
    border: 1px solid rgba(255,255,255,.8); color: #fff; transition: background .3s, color .3s;
}
.ec-circle-btn:hover { background: #fff; color: var(--olive-900); }

/* Menu trượt từ trái */
.ec-menu { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.ec-menu__panel {
    position: absolute; inset: 0 auto 0 0; width: min(420px, 86vw);
    background: var(--olive-900);
    padding: 90px 50px 40px;
    display: flex; flex-direction: column;
    transform: translateX(-100%);
    transition: transform .8s var(--ease-out);
    overflow-y: auto; z-index: 2;
}
.ec-menu__panel::before {
    content: 'ER'; position: absolute; left: -30px; bottom: -40px; pointer-events: none;
    font-family: var(--f-serif); font-size: 340px; line-height: .8;
    color: transparent; -webkit-text-stroke: 1px rgba(203,169,100,.12);
}
.ec-menu__backdrop { position: absolute; inset: 0; background: rgba(20,20,8,.5); opacity: 0; transition: opacity .6s; }
.ec-menu.is-open { pointer-events: auto; }
.ec-menu.is-open .ec-menu__panel { transform: none; }
.ec-menu.is-open .ec-menu__backdrop { opacity: 1; }
.ec-menu__close { position: absolute; right: 22px; top: 22px; color: var(--beige); width: 40px; height: 40px; display: grid; place-items: center; transition: transform .4s var(--ease); }
.ec-menu__close:hover { transform: rotate(90deg); }
.ec-menu__list li {
    opacity: 0; transform: translateX(-20px);
    transition: opacity .5s, transform .6s var(--ease-out);
}
.ec-menu.is-open .ec-menu__list li { opacity: 1; transform: none; transition-delay: calc(.15s + var(--i) * 45ms); }
.ec-menu__list a {
    display: inline-block; padding: 7px 0;
    font-family: var(--f-serif); font-size: clamp(22px, 2vw, 27px); line-height: 1.25;
    color: var(--olive-300);
    position: relative; transition: color .3s, transform .4s var(--ease);
}
.ec-menu__list a::after { content: ''; position: absolute; left: 0; bottom: 6px; height: 1px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.ec-menu__list a:hover, .ec-menu__list a.is-active { color: #fff; transform: translateX(6px); }
.ec-menu__list a:hover::after { transform: scaleX(1); }
.ec-menu__foot { margin-top: auto; padding-top: 30px; font-size: 13px; color: var(--gold); }

/* ---------- 5. TIÊU ĐỀ & NÚT ---------- */
.ec-title {
    font-family: var(--f-serif); font-weight: 500;
    font-size: clamp(26px, 2.5vw, 46px); line-height: 1.12;
    text-transform: uppercase; letter-spacing: .01em;
}
.ec-title--gold  { color: #a8823c; }
.ec-title--beige { color: var(--beige); }
.ec-title--dark  { color: var(--ink); }
.ec-title--olive { color: var(--olive-900); }
.ec-center { text-align: center; }

.ec-btn {
    position: relative; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center;
    height: 36px; padding: 0 20px; border-radius: 3px;
    background: var(--gold); color: var(--olive-900); font-size: 12px; font-weight: 500;
    transition: transform .3s var(--ease), box-shadow .3s;
}
.ec-btn::before { content: ''; position: absolute; inset: 0; background: var(--gold-2); transform: translateX(-101%); transition: transform .5s var(--ease); }
.ec-btn span { position: relative; }
.ec-btn:hover::before { transform: none; }
.ec-btn:hover { box-shadow: 0 8px 24px rgba(203,169,100,.3); }
.ec-btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- 6. CÁC SECTION ---------- */

/* Màn chờ */
.ec-loader {
    position: fixed; inset: 0; z-index: 100; background: var(--olive-900);
    display: grid; place-content: center; justify-items: center; gap: 26px;
    transition: opacity .9s var(--ease), visibility .9s;
}
.ec-loader__logo { width: 120px; opacity: 0; animation: ecFadeUp 1.2s var(--ease-out) .1s forwards; }
.ec-loader__bar { width: 120px; height: 1px; background: rgba(203,169,100,.2); overflow: hidden; }
.ec-loader__bar i { display: block; height: 100%; background: var(--gold); transform-origin: left; animation: ecBar 1.4s var(--ease) forwards; }

@keyframes ecFadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ecBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Hero */
.ec-hero { height: 100vh; min-height: 560px; display: grid; place-items: center; background: var(--olive-900); }
.ec-hero__pattern { position: absolute; inset: -12% 0; background-size: cover; background-position: center; animation: ecDrift 40s linear infinite alternate; }
@keyframes ecDrift { from { background-position: 45% 40%; } to { background-position: 55% 60%; } }
.ec-hero__logo { position: relative; z-index: 1; }
.ec-hero__logo img { width: clamp(120px, 11vw, 190px); height: auto; opacity: 0; transform: scale(.9); filter: blur(6px); transition: opacity 1.6s var(--ease-out), transform 2s var(--ease-out), filter 1.6s; }
body.is-ready .ec-hero__logo img, .is-in .ec-hero__logo img { opacity: 1; transform: none; filter: none; }
.ec-hero__logo::after { /* vệt sáng lướt qua logo */
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(110deg, transparent 35%, rgba(255,240,200,.55) 50%, transparent 65%);
    background-size: 250% 100%; background-position: 150% 0;
    -webkit-mask: var(--logo) center/contain no-repeat; mask: var(--logo) center/contain no-repeat;
    animation: ecShine 4.5s 1.8s var(--ease) infinite;
}
@keyframes ecShine { 0% { background-position: 150% 0; } 40%, 100% { background-position: -50% 0; } }
.ec-hero__scroll { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); width: 24px; height: 40px; border: 1px solid rgba(203,169,100,.6); border-radius: 14px; }
.ec-hero__scroll span { position: absolute; left: 50%; top: 8px; width: 2px; height: 7px; margin-left: -1px; border-radius: 2px; background: var(--gold); animation: ecWheel 1.8s infinite; }
@keyframes ecWheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Video */
.ec-video { height: min(52vw, 100vh); min-height: 380px; display: grid; place-items: center; }
.ec-video__media, .ec-overview__bg { position: absolute; inset: 0; }
.ec-video__media img, .ec-overview__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--zoom, 1.15)); will-change: transform; }
.ec-play {
    position: relative; z-index: 1; width: 66px; height: 66px; border-radius: 50%;
    display: grid; place-items: center; background: #fff; color: var(--olive-900);
    box-shadow: 0 0 0 8px rgba(255,255,255,.25);
    transition: transform .4s var(--ease), box-shadow .4s;
}
.ec-play:not(.is-static):hover { transform: scale(1.08); box-shadow: 0 0 0 14px rgba(255,255,255,.2); }
.ec-play__ring { position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); animation: ecRipple 2.4s var(--ease) infinite; }
.ec-play svg { margin-left: 3px; }
@keyframes ecRipple { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }

/* Chào mừng */
.ec-welcome { min-height: max(100vh, 60vw); color: #fff; text-align: center; display: flex; }
.ec-welcome__bg { position: absolute; inset: -10% 0; background-size: cover; background-position: center 60%; }
.ec-welcome::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,40,80,.25), transparent 40%); pointer-events: none; }
.ec-welcome__inner { position: relative; z-index: 1; width: 100%; padding: calc(var(--header-h) + 20px) 20px 0; }
.ec-welcome__lead, .ec-welcome__text { max-width: 700px; margin: 0 auto; font-size: clamp(14px, 1.05vw, 17px); text-shadow: 0 1px 12px rgba(0,30,60,.35); }
.ec-welcome__text { margin-top: 28px; }
.ec-welcome__hello { margin-top: clamp(40px, 6vw, 100px); font-family: var(--f-sans); font-weight: 600; font-size: clamp(22px, 2.3vw, 40px); }
.ec-welcome__big {
    font-family: var(--f-sans); font-weight: 200;
    font-size: clamp(80px, 17.5vw, 340px); line-height: .9; letter-spacing: -.02em;
    white-space: nowrap; margin-top: -.02em;
    background: linear-gradient(180deg, #fff 45%, rgba(255,255,255,.0) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    display: flex; justify-content: center;
}
.ec-welcome__big span {
    display: inline-block; background: inherit; -webkit-background-clip: text; background-clip: text;
    opacity: 0; transform: translateY(40%) scale(1.06); filter: blur(10px);
    transition: opacity 1.4s var(--ease-out), transform 1.6s var(--ease-out), filter 1.4s;
    transition-delay: calc(var(--k) * 80ms);
}
.ec-welcome__big.is-in span { opacity: 1; transform: none; filter: none; }

/* Tuyên ngôn */
.ec-manifesto { min-height: 37vw; display: flex; align-items: center; background: #f4ecdd; }
.ec-manifesto__bg { position: absolute; inset: -8% 0; background-size: cover; background-position: center; }
.ec-manifesto__content { position: relative; z-index: 1; width: min(560px, 90%); margin-left: clamp(20px, 6vw, 120px); padding: 80px 0; text-align: center; }
.ec-manifesto__sub { font-size: clamp(18px, 1.6vw, 26px); color: #54502f; margin: 6px 0 22px; }
.ec-manifesto__text { font-size: 13.5px; color: #8d7b5f; }

/* The Eracy */
.ec-eracy { display: grid; grid-template-columns: 50% 50%; min-height: 51vw; background: var(--olive-900); }
.ec-eracy__media { position: relative; overflow: hidden; }
.ec-eracy__media img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.ec-eracy__panel { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 80px clamp(24px, 4vw, 80px); color: #e9e6d4; }
.ec-eracy__sub { font-size: clamp(20px, 1.9vw, 32px); color: #fff; margin: 8px 0 26px; }
.ec-eracy__p { font-size: 14px; max-width: 620px; margin-top: 18px; color: #e3e0cc; }

/* Trung tâm thương mại – sticky + chuyển phác thảo → màu */
.ec-commercial { height: 190vh; background: #fff; overflow: visible; }
.ec-commercial__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.ec-commercial__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.ec-commercial__img--color { clip-path: inset(0 calc(100% - var(--p, 0) * 100%) 0 0); }
.ec-commercial__line { position: absolute; top: 0; bottom: 0; left: calc(var(--p, 0) * 100%); width: 1px; background: linear-gradient(transparent, rgba(255,255,255,.9), transparent); box-shadow: 0 0 18px 2px rgba(255,255,255,.7); opacity: calc(1 - (var(--p, 0) - .9) * 10); }
.ec-commercial__content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; padding: clamp(60px, 7vw, 110px) 20px 0; text-align: center; }
.ec-commercial__content p { margin-top: 16px; font-size: 14px; color: #8f8e86; transition: color .6s; }
.ec-commercial__content .ec-title { transition: color .6s, text-shadow .6s; }
.ec-commercial.is-color .ec-commercial__content p { color: #fff; text-shadow: 0 1px 10px rgba(0,30,60,.5); }
.ec-commercial.is-color .ec-commercial__content .ec-title { color: #fff; text-shadow: 0 2px 20px rgba(0,30,60,.4); }

/* Tổng quan */
.ec-overview { min-height: 55.6vw; }
.ec-overview__inner { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 40px; padding: clamp(40px, 3.5vw, 70px) clamp(24px, 5.5vw, 110px); }
.ec-overview__title { color: #3a4a2a; }
.ec-overview__table { width: min(640px, 55%); }
.ec-overview__row { display: grid; grid-template-columns: 210px 1fr; padding: 9px 0; border-bottom: 1px solid rgba(40,50,30,.18); font-size: 13px; }
.ec-overview__row dt { text-transform: uppercase; color: #54604a; font-size: 12px; letter-spacing: .03em; }
.ec-overview__row dd { color: #232a14; font-weight: 600; }

/* Bản đồ */
.ec-location { display: grid; grid-template-columns: 1fr minmax(320px, 24%); background: var(--cream); align-items: center; }
.ec-location__map { position: relative; }
.ec-location__map img { width: 100%; }
.ec-location__pin { position: absolute; width: 18px; height: 18px; transform: translate(-50%, -50%); }
.ec-location__pin i { position: absolute; inset: 0; border-radius: 50%; background: var(--terra); }
.ec-location__pin i:nth-child(1) { inset: 4px; box-shadow: 0 0 0 3px rgba(255,255,255,.8); }
.ec-location__pin i:nth-child(2), .ec-location__pin i:nth-child(3) { opacity: .5; animation: ecPulse 3s var(--ease) infinite; }
.ec-location__pin i:nth-child(3) { animation-delay: 1.5s; }
@keyframes ecPulse { from { transform: scale(1); opacity: .55; } to { transform: scale(7); opacity: 0; } }
.ec-location__info { padding: 50px clamp(24px, 3vw, 60px) 50px 10px; }
.ec-location__info .ec-title { font-size: clamp(28px, 2.6vw, 48px); line-height: 1.05; }
.ec-location__text { margin-top: 18px; font-size: 13.5px; color: #7b7a52; text-align: justify; }
.ec-time { margin-top: 32px; }
.ec-time__panes { display: grid; }
.ec-time__pane { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.ec-time__pane.is-active { opacity: 1; visibility: visible; }
.ec-time__head { display: flex; align-items: flex-end; gap: 6px; line-height: 1; }
.ec-time__head strong { font-family: var(--f-serif); font-weight: 500; font-size: 64px; color: var(--terra); line-height: .8; }
.ec-time__head span { display: flex; flex-direction: column; font-size: 17px; text-transform: uppercase; color: var(--ink); }
.ec-time__head small { font-size: 12px; color: var(--terra); margin-bottom: 4px; }
.ec-time__list { margin: 18px 0 0 10px; border-left: 1px solid #b7b48a; padding-left: 18px; }
.ec-time__list li {
    position: relative; font-size: 11.5px; text-transform: uppercase; color: #8a8a62; padding: 8px 0;
    opacity: 0; transform: translateX(-10px); transition: opacity .5s, transform .5s var(--ease-out);
}
.ec-time__pane.is-active .ec-time__list li { opacity: 1; transform: none; transition-delay: calc(.15s + var(--k) * 90ms); }
.ec-time__list li::before { content: ''; position: absolute; left: -23px; top: 13px; width: 9px; height: 9px; border-radius: 50%; background: var(--cream); border: 1px solid #8f8d5c; box-shadow: inset 0 0 0 2px var(--cream); background-color: #8f8d5c; }
.ec-time__dots { display: flex; gap: 12px; margin-top: 26px; }
.ec-time__dots button { width: 16px; height: 16px; border-radius: 50%; border: 1px solid #8f8d5c; position: relative; transition: border-color .3s; }
.ec-time__dots button::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: #8f8d5c; transition: background .3s, transform .3s; }
.ec-time__dots button.is-active { border-color: var(--terra); }
.ec-time__dots button.is-active::after { background: var(--terra); }
.ec-time__dots button:hover::after { transform: scale(1.2); }

/* Tiện ích */
.ec-amenities { display: grid; grid-template-columns: 20.4% 1fr; background: var(--olive-400); }
.ec-amenities__side { padding: clamp(40px, 4vw, 80px) 0 40px; color: #fff; overflow: hidden; }
.ec-amenities__title { font-family: var(--f-serif); font-weight: 500; font-size: clamp(30px, 2.5vw, 46px); line-height: 1.05; margin: 0 clamp(20px, 2.3vw, 44px); padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.25); }
.ec-amenities__list { margin-top: 26px; }
.ec-amenities__list > li > button {
    display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
    padding: 8px clamp(20px, 2.3vw, 44px); font-size: 13px; text-transform: uppercase; letter-spacing: .02em;
    position: relative; transition: color .3s;
}
.ec-amenities__list > li > button::before { content: ''; position: absolute; inset: 0; background: var(--olive-900); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); z-index: -1; }
.ec-amenities__list > li > button:hover::before, .ec-amenities__list > li > button.is-active::before { transform: none; }
.ec-amenities__list > li > button { z-index: 0; }
.ec-amenities__list ul { padding: 2px 0 6px calc(clamp(20px, 2.3vw, 44px) + 38px); }
.ec-amenities__list ul li { font-size: 12.5px; text-transform: uppercase; padding: 5px 0; color: rgba(255,255,255,.92); }
.ec-num { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--terra-2); color: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.75); }
.ec-amenities__legend { margin: 60px clamp(20px, 2.3vw, 44px) 0; }
.ec-amenities__legend h3 { font-weight: 400; font-size: 13px; text-transform: uppercase; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.25); margin-bottom: 14px; }
.ec-amenities__legend p { display: flex; align-items: center; gap: 12px; font-size: 12.5px; text-transform: uppercase; padding: 4px 0; }
.ec-amenities__legend i { width: 18px; height: 18px; border-radius: 50%; }
.ec-amenities__plan { position: relative; overflow: hidden; }
.ec-amenities__canvas { position: relative; }
.ec-amenities__canvas > img { width: 100%; }
.ec-hotspot { position: absolute; width: 30px; height: 30px; transform: translate(-50%, -50%); border-radius: 50%; z-index: 2; }
.ec-hotspot span { position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: #fff; background: var(--terra-2); box-shadow: 0 0 0 2px rgba(255,255,255,.9), 0 4px 10px rgba(0,0,0,.3); transition: transform .3s var(--ease); }
.ec-hotspot::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #fff; opacity: 0; }
.ec-hotspot:hover span, .ec-hotspot.is-active span { transform: scale(1.18); }
.ec-hotspot.is-active::before { animation: ecRipple 1.8s var(--ease) infinite; }
.ec-amenity-card {
    position: absolute; z-index: 3; width: clamp(220px, 25%, 360px);
    left: clamp(0%, calc(var(--x) + 3%), 72%); top: clamp(4%, calc(var(--y) - 10%), 62%);
    padding: 10px 10px 12px; border-radius: 16px;
    background: rgba(255,255,255,.22); backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2);
    box-shadow: 0 20px 50px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.45);
    opacity: 0; visibility: hidden; transform: translateY(16px) scale(.96);
    transition: opacity .5s var(--ease), transform .6s var(--ease-out), visibility .5s;
    pointer-events: none;
}
.ec-amenity-card.is-active { opacity: 1; visibility: visible; transform: none; }
.ec-amenity-card img { border-radius: 10px; aspect-ratio: 16/9; width: 100%; object-fit: cover; }
.ec-amenity-card figcaption { text-align: center; color: #fff; font-size: 12px; margin-top: 8px; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.ec-amenity-card strong { display: block; font-size: 14px; text-transform: uppercase; letter-spacing: .03em; }

/* Đặc quyền độc bản */
.ec-features { background: var(--olive-900); padding: clamp(60px, 6vw, 110px) clamp(24px, 6vw, 120px); color: #e9e6d4; }
.ec-features::before { left: auto; right: -4%; top: 10%; transform: none; }
.ec-features__grid {
    max-width: 1500px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1.1fr 1fr; grid-template-rows: auto auto auto;
    grid-template-areas: ". top ." "left star right" "bl . br";
    column-gap: 40px; row-gap: 30px; align-items: center;
}
.ec-feature--top { grid-area: top; }
.ec-feature--left { grid-area: left; }
.ec-feature--right { grid-area: right; }
.ec-feature--bottom-left { grid-area: bl; margin-left: 20%; margin-top: -60px; }
.ec-feature--bottom-right { grid-area: br; margin-left: -40%; margin-top: -60px; }
.ec-features__star { grid-area: star; position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: center; }
.ec-features__star img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: screen; -webkit-mask: radial-gradient(circle, #000 52%, transparent 70%); mask: radial-gradient(circle, #000 52%, transparent 70%); animation: ecStar 14s ease-in-out infinite; }
@keyframes ecStar { 0%, 100% { transform: rotate(0) scale(1); filter: brightness(1); } 50% { transform: rotate(45deg) scale(1.06); filter: brightness(1.25); } }
.ec-orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(201,189,142,.3); left: 50%; top: 50%; transform: translate(-50%, -50%); }
.ec-orbit--1 { width: 72%; height: 72%; }
.ec-orbit--2 { width: 46%; height: 46%; }
.ec-orbit::after { content: ''; position: absolute; top: -3px; left: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.ec-orbit--1 { animation: ecSpin 24s linear infinite; }
.ec-orbit--2 { animation: ecSpin 16s linear infinite reverse; }
@keyframes ecSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.ec-feature__head { display: flex; align-items: center; gap: 14px; }
.ec-feature__no {
    font-family: var(--f-serif); font-size: clamp(54px, 4.4vw, 84px); line-height: 1;
    background: linear-gradient(180deg, #e8cf8d, #a9823b); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ec-feature__icon { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(232,207,141,.7); display: grid; place-items: center; color: var(--gold-2); transition: transform .6s var(--ease), background .4s; }
.ec-feature:hover .ec-feature__icon { transform: rotate(360deg); background: rgba(203,169,100,.12); }
.ec-feature h3 { margin: 14px 0 12px; font-family: var(--f-serif); font-weight: 500; font-size: clamp(20px, 1.7vw, 30px); line-height: 1.1; text-transform: uppercase; color: var(--olive-300); }
.ec-feature p { font-size: 13px; color: #e1decb; max-width: 470px; }
.ec-feature--left { text-align: left; }

/* Mặt bằng */
.ec-plans { display: grid; grid-template-columns: 1fr 32%; background: #fff; }
.ec-plans__main { padding: clamp(40px, 3.5vw, 70px) clamp(24px, 3vw, 60px); display: grid; }
.ec-plans__pane { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.ec-plans__pane.is-active { opacity: 1; visibility: visible; }
.ec-plans__note { grid-row: 2; margin-top: 30px; font-size: 10.5px; color: #b8b7ae; }
.ec-plans__desc { margin: 14px 0 34px; font-size: 13.5px; color: #8d8c84; }
.ec-plans__floors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: end; }
.ec-plans__floors figure { opacity: 0; transform: translateY(30px); transition: opacity .7s, transform .8s var(--ease-out); }
.ec-plans__pane.is-active .ec-plans__floors figure { opacity: 1; transform: none; transition-delay: calc(.1s + var(--f) * 100ms); }
.ec-plans__floors a { display: block; overflow: hidden; cursor: zoom-in; }
.ec-plans__floors img { width: 100%; transition: transform .8s var(--ease); }
.ec-plans__floors a:hover img { transform: scale(1.05); }
.ec-plans__floors figcaption { text-align: center; margin-top: 14px; font-size: 13px; color: #8d8c84; }
.ec-plans__side { background: linear-gradient(180deg, #3e3e1a, #353616); color: #fff; padding: clamp(40px, 3.5vw, 60px) clamp(24px, 3vw, 54px); }
.ec-plans__logo { width: 76px; margin: 0 auto 50px; }
.ec-plans__label { display: block; font-size: 12.5px; text-transform: uppercase; color: var(--gold-2); margin-bottom: 10px; }
.ec-select { position: relative; }
.ec-select__btn { width: 100%; height: 50px; padding: 0 18px; border: 1px solid rgba(232,207,141,.5); border-radius: 4px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 500; text-transform: uppercase; transition: border-color .3s; }
.ec-select__btn:hover { border-color: var(--gold-2); }
.ec-select__btn i { width: 0; height: 0; border: 6px solid transparent; border-top: 8px solid var(--olive-300); border-bottom: 0; transition: transform .4s var(--ease); }
.ec-select.is-open .ec-select__btn i { transform: rotate(180deg); }
.ec-select__list {
    position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 5;
    border: 1px solid rgba(232,207,141,.5); border-radius: 4px; background: var(--olive-900); overflow: hidden;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .35s, transform .45s var(--ease-out), visibility .35s;
}
.ec-select.is-open .ec-select__list { opacity: 1; visibility: visible; transform: none; }
.ec-select__list li { padding: 15px 18px; font-size: 13px; font-weight: 500; text-transform: uppercase; cursor: pointer; transition: background .3s; }
.ec-select__list li + li { border-top: 1px solid rgba(232,207,141,.35); }
.ec-select__list li:hover { background: rgba(159,158,104,.35); }
.ec-select__list li.is-active { background: linear-gradient(90deg, #8f8d5c, #6d6c3e); }
.ec-plans__info { margin-top: 70px; }
.ec-plans__info h3 { font-family: var(--f-serif); font-weight: 500; font-size: 22px; text-transform: uppercase; color: var(--gold-2); margin-bottom: 14px; }
.ec-plans__info p { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: 13.5px; text-transform: uppercase; }
.ec-plans__info p span::before { content: '✦'; margin-right: 8px; color: var(--gold-2); font-size: 10px; }
.ec-plans__info b { color: var(--gold-2); font-weight: 600; white-space: nowrap; transition: opacity .3s; }

/* Thư viện + tin tức */
.ec-media { background: var(--olive-400); padding: clamp(40px, 3.5vw, 64px) 0 clamp(60px, 5vw, 90px); }
.ec-media .ec-title { margin-bottom: 26px; }
.ec-slider { position: relative; }
.ec-slider__track { display: flex; gap: 12px; cursor: grab; user-select: none; will-change: transform; transition: transform .8s var(--ease-out); }
.ec-slider__track.is-dragging { cursor: grabbing; transition: none; }
.ec-gallery__item { flex: 0 0 calc((100% - 36px) / 4.0); overflow: hidden; aspect-ratio: 1.8; cursor: zoom-in; }
.ec-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; pointer-events: none; }
.ec-gallery__item:hover img { transform: scale(1.07); }
.ec-arrows { display: flex; gap: 14px; justify-content: center; margin-top: 22px; }
.ec-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.85); color: #fff; display: grid; place-items: center; transition: background .3s, color .3s, opacity .3s; }
.ec-arrow:hover { background: #fff; color: var(--olive-900); }
.ec-arrow[disabled] { opacity: .35; pointer-events: none; }

.ec-news { margin-top: clamp(40px, 4vw, 70px); padding: 0 clamp(20px, 4vw, 40px); }
.ec-news__grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 34% 1fr; gap: 34px; }
.ec-news__label { font-weight: 400; font-size: 14px; color: #fff; margin-bottom: 10px; }
.ec-news__label--line { display: flex; align-items: center; gap: 20px; }
.ec-news__label--line::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.4); }
.ec-news__hero { position: relative; display: block; overflow: hidden; aspect-ratio: 1.16; }
.ec-news__hero img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ec-news__hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(0,0,0,.6)); }
.ec-news__hero:hover img { transform: scale(1.06); }
.ec-news__hero-text { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 20px; color: #fff; }
.ec-news__hero-text strong { display: block; font-weight: 400; font-size: 15px; line-height: 1.35; }
.ec-news__hero-text small { display: block; margin-top: 10px; font-size: 11px; opacity: .75; }
.ec-slider--news { display: flex; align-items: center; gap: 0; position: relative; }
.ec-slider__viewport { overflow: hidden; flex: 1; }
.ec-slider--news .ec-slider__track { gap: 24px; }
.ec-arrow--side { position: absolute; top: 34%; z-index: 2; width: 34px; height: 34px; border-color: rgba(255,255,255,.7); }
.ec-arrow--l { left: -52px; } .ec-arrow--r { right: -52px; }
.ec-news__card { flex: 0 0 calc((100% - 24px) / 2); color: #fff; }
.ec-news__thumb { display: block; overflow: hidden; aspect-ratio: 1.6; }
.ec-news__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); pointer-events: none; }
.ec-news__card:hover .ec-news__thumb img { transform: scale(1.07); }
.ec-news__card time { display: block; margin-top: 12px; font-size: 10.5px; }
.ec-news__card h4 { margin-top: 8px; font-weight: 400; font-size: 15px; line-height: 1.3; }
.ec-news__card p { margin-top: 8px; font-size: 11px; line-height: 1.5; color: rgba(255,255,255,.88); }
.ec-news__more { display: inline-block; margin-top: 16px; font-size: 11px; color: rgba(255,255,255,.65); transition: color .3s, letter-spacing .4s; }
.ec-news__more:hover { color: #fff; letter-spacing: .04em; }

/* Đội ngũ */
.ec-team { background: #393a1a; padding: clamp(40px, 3.5vw, 64px) 20px clamp(50px, 4vw, 70px); }
.ec-team::before { content: 'ERA'; right: auto; left: -2%; font-size: clamp(200px, 22vw, 400px); }
.ec-team__grid { max-width: 1080px; margin: 30px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.ec-team__item h3 { font-weight: 400; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--beige); margin-bottom: 16px; }
.ec-team__item img { height: 90px; width: auto; margin: 0 auto; object-fit: contain; transition: transform .6s var(--ease), filter .6s; }
.ec-team__item:hover img { transform: translateY(-6px); filter: drop-shadow(0 10px 18px rgba(203,169,100,.25)); }

/* Liên hệ */
.ec-contact { min-height: 34vw; display: flex; align-items: center; }
.ec-contact__bg { position: absolute; inset: -10% 0; background-size: cover; background-position: center; }
.ec-contact::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,20,8,.1), rgba(20,20,8,.35)); }
.ec-contact__inner { position: relative; z-index: 1; width: 100%; display: flex; justify-content: flex-start; padding: 50px 0 50px 57%; }
.ec-form { width: min(420px, 100%); background: rgba(53,54,22,.94); border-radius: 6px; padding: 38px 36px 32px; color: #fff; box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.ec-form h2 { font-weight: 400; font-size: 26px; line-height: 1.2; margin-bottom: 14px; }
.ec-field { position: relative; margin-top: 22px; }
.ec-field input { width: 100%; height: 40px; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.3); color: #fff; font: inherit; font-size: 14px; padding: 12px 0 0; outline: none; }
.ec-field label { position: absolute; left: 0; top: 14px; font-size: 12px; color: rgba(255,255,255,.8); pointer-events: none; transition: transform .3s var(--ease), color .3s; transform-origin: left; }
.ec-field::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.ec-field:focus-within::after { transform: none; }
.ec-field input:focus + label, .ec-field input:not(:placeholder-shown) + label { transform: translateY(-16px) scale(.85); color: var(--gold-2); }
.ec-field__err { display: block; min-height: 0; font-size: 11px; color: #ffb4a0; margin-top: 4px; }
.ec-field__err:empty { display: none; }
.ec-check { display: flex; gap: 10px; margin-top: 26px; font-size: 11.5px; line-height: 1.5; color: rgba(255,255,255,.85); cursor: pointer; }
.ec-check input { position: absolute; opacity: 0; }
.ec-check span { flex: none; width: 13px; height: 13px; margin-top: 2px; border: 1px solid rgba(255,255,255,.7); position: relative; transition: background .3s; }
.ec-check input:checked + span { background: var(--gold); border-color: var(--gold); }
.ec-check input:checked + span::after { content: ''; position: absolute; left: 3px; top: 0; width: 4px; height: 8px; border: solid var(--olive-900); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ec-check input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.ec-form .ec-btn { margin-top: 20px; }
.ec-form__msg { font-size: 12.5px; margin-top: 14px; }
.ec-form__msg:empty { display: none; }
.ec-form__msg.is-ok { color: var(--gold-2); }
.ec-form__msg.is-err { color: #ffb4a0; }

/* Footer */
.ec-footer { background: var(--olive-900); color: #fff; }
.ec-footer::before { font-size: 300px; right: 2%; top: 30%; }
.ec-footer__top { max-width: 1500px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.6fr 1.2fr; gap: 30px; padding: 50px clamp(24px, 5vw, 90px) 40px; }
.ec-footer__logo img { width: 116px; margin: 10px auto 0; }
.ec-footer__col h3 { font-weight: 400; font-size: 15px; color: rgba(255,255,255,.55); margin-bottom: 14px; }
.ec-footer__col p { display: flex; align-items: center; gap: 10px; font-size: 15px; margin-bottom: 6px; }
.ec-footer__col a:hover { color: var(--gold-2); }
.ec-footer__social { display: flex; gap: 12px; align-items: center; }
.ec-footer__social a { transition: color .3s, transform .3s var(--ease); }
.ec-footer__social a:hover { transform: translateY(-3px); }
.ec-footer__bottom { border-top: 1px solid rgba(203,169,100,.45); max-width: 100%; display: grid; grid-template-columns: 1fr 2.8fr; gap: 30px; padding: 18px clamp(24px, 5vw, 90px) 26px; }
.ec-footer__bottom p { font-size: 10.5px; line-height: 1.55; color: rgba(255,255,255,.85); }
.ec-footer__bottom p:first-child { padding-left: clamp(0px, 7vw, 120px); }
.ec-footer__disclaimer { max-width: 780px; }

/* ---------- 7. NÚT NỔI / LIGHTBOX / MODAL / TOAST ---------- */
.ec-floating { position: fixed; right: clamp(14px, 2.6vw, 44px); bottom: 34px; z-index: 40; display: grid; gap: 16px; }
.ec-fab { width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--olive-900); display: grid; place-items: center; box-shadow: 0 0 0 5px rgba(255,255,255,.35), 0 8px 20px rgba(0,0,0,.25); transition: transform .4s var(--ease), opacity .4s, visibility .4s; }
.ec-fab:hover { transform: translateY(-4px); }
.ec-fab--top { opacity: 0; visibility: hidden; transform: translateY(10px); }
.ec-fab--top.is-show { opacity: 1; visibility: visible; transform: none; }
.ec-fab--call { position: relative; }
.ec-fab--call::before, .ec-fab--call::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid #fff; animation: ecRipple 2.2s var(--ease) infinite; }
.ec-fab--call::after { animation-delay: 1.1s; }
.ec-fab--call svg { animation: ecRing 2.2s ease-in-out infinite; }
@keyframes ecRing { 0%, 60%, 100% { transform: rotate(0); } 65%, 75%, 85% { transform: rotate(-14deg); } 70%, 80% { transform: rotate(14deg); } }

.ec-lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(42,42,42,.96); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.ec-lightbox.is-open { opacity: 1; visibility: visible; }
.ec-lightbox__figure { max-width: min(76vw, 1400px); text-align: center; }
.ec-lightbox__figure img { max-height: 78vh; width: auto; margin: 0 auto; transform: scale(.94); opacity: 0; transition: transform .7s var(--ease-out), opacity .5s; }
.ec-lightbox.is-open .ec-lightbox__figure img.is-loaded { transform: none; opacity: 1; }
.ec-lightbox__figure figcaption { margin-top: 18px; color: #fff; font-size: 14px; }
.ec-lightbox__nav { position: absolute; top: 50%; width: 42px; height: 42px; margin-top: -21px; border-radius: 50%; background: var(--olive-400); color: #fff; display: grid; place-items: center; transition: transform .3s var(--ease), background .3s; }
.ec-lightbox__nav:hover { background: var(--gold); transform: scale(1.1); }
.ec-lightbox__nav--prev { left: clamp(10px, 4vw, 70px); }
.ec-lightbox__nav--next { right: clamp(10px, 4vw, 70px); }
.ec-lightbox__close { position: absolute; top: 20px; right: 24px; color: #fff; width: 44px; height: 44px; display: grid; place-items: center; transition: transform .4s var(--ease); }
.ec-lightbox__close:hover { transform: rotate(90deg); }

.ec-modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.ec-modal.is-open { opacity: 1; visibility: visible; }
.ec-modal__backdrop { position: absolute; inset: 0; background: rgba(15,15,5,.88); }
.ec-modal__box { position: relative; width: min(1100px, 92vw); transform: scale(.94); transition: transform .6s var(--ease-out); }
.ec-modal.is-open .ec-modal__box { transform: none; }
.ec-modal__video { aspect-ratio: 16/9; background: #000; }
.ec-modal__video iframe { width: 100%; height: 100%; border: 0; display: block; }
.ec-modal__close { position: absolute; right: 0; top: -46px; color: #fff; width: 40px; height: 40px; display: grid; place-items: center; }

.ec-toast { position: fixed; left: 50%; bottom: 30px; z-index: 99; transform: translate(-50%, 30px); max-width: 90vw; padding: 14px 22px; border-radius: 6px; background: var(--gold); color: var(--olive-900); font-size: 14px; box-shadow: 0 14px 40px rgba(0,0,0,.3); opacity: 0; visibility: hidden; transition: opacity .4s, transform .5s var(--ease-out), visibility .4s; }
.ec-toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- 8. RESPONSIVE ---------- */
@media (max-width: 1100px) {
    .ec-features__grid { grid-template-columns: 1fr 1fr; grid-template-areas: "star star" "top top" "left right" "bl br"; row-gap: 50px; }
    .ec-features__star { max-width: 380px; }
    .ec-feature--bottom-left, .ec-feature--bottom-right { margin: 0; }
    .ec-feature--top { max-width: 620px; justify-self: center; text-align: center; }
    .ec-feature--top .ec-feature__head { justify-content: center; }
    .ec-feature--top p { margin: 0 auto; }
    .ec-plans { grid-template-columns: 1fr; }
    .ec-plans__side { order: -1; }
    .ec-plans__logo { display: none; }
    .ec-plans__info { margin-top: 30px; }
    .ec-amenities { grid-template-columns: 1fr; }
    .ec-amenities__list { display: flex; flex-wrap: wrap; }
    .ec-amenities__list > li > button { width: auto; }
    .ec-amenities__list ul, .ec-amenities__legend { display: none; }
    .ec-location { grid-template-columns: 1fr; }
    .ec-location__info { padding: 10px 24px 60px; }
    .ec-contact__inner { padding: 60px 20px; justify-content: center; }
}
@media (max-width: 860px) {
    :root { --header-h: 64px; }
    body { font-size: 14px; }
    .ec-pill { display: none; }
    .ec-welcome { min-height: 100vh; }
    .ec-welcome__big { font-size: 19vw; }
    .ec-manifesto { min-height: 0; }
    .ec-manifesto__bg { background-position: 70% center; }
    .ec-manifesto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(250,240,225,.92), rgba(250,240,225,.6)); }
    .ec-manifesto__content { margin: 0 auto; }
    .ec-eracy { grid-template-columns: 1fr; }
    .ec-eracy__media { aspect-ratio: 1; }
    .ec-commercial { height: 150vh; }
    .ec-commercial__img { object-position: 30% bottom; }
    .ec-overview { min-height: 0; }
    .ec-overview__bg img { transform: none; }
    .ec-overview__bg { position: relative; height: 70vw; }
    .ec-overview__inner { flex-direction: column; background: #eef4f8; }
    .ec-overview__table { width: 100%; }
    .ec-overview__row { grid-template-columns: 130px 1fr; }
    .ec-features__grid { grid-template-columns: 1fr; grid-template-areas: "star" "top" "left" "right" "bl" "br"; }
    .ec-features__star { max-width: 300px; }
    .ec-feature, .ec-feature--top { text-align: left; justify-self: stretch; }
    .ec-feature--top .ec-feature__head { justify-content: flex-start; }
    .ec-plans__floors { grid-template-columns: repeat(2, 1fr); }
    .ec-gallery__item { flex-basis: 78%; }
    .ec-news__grid { grid-template-columns: 1fr; }
    .ec-news__card { flex-basis: 82%; }
    .ec-arrow--side { display: none; }
    .ec-team__grid { grid-template-columns: 1fr; gap: 40px; }
    .ec-footer__top, .ec-footer__bottom { grid-template-columns: 1fr; text-align: left; }
    .ec-footer__logo img { margin: 0; }
    .ec-footer__bottom p:first-child { padding: 0; }
    .ec-floating { bottom: 20px; }
    .ec-fab { width: 44px; height: 44px; }
    .ec-lightbox__figure { max-width: 92vw; }
    .ec-lightbox__nav { top: auto; bottom: 30px; }
}

/* Người dùng bật "giảm chuyển động" trong hệ điều hành → tắt hiệu ứng */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
    [data-reveal], [data-split] .w > span, .ec-welcome__big span { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
}

/* Lớp phủ nhẹ phía trên ảnh màu để chữ trắng dễ đọc */
.ec-commercial__sticky::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 55%; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(10,30,50,.35), transparent); opacity: 0; transition: opacity .8s; }
.ec-commercial.is-color .ec-commercial__sticky::before { opacity: 1; }
.ec-commercial__content { z-index: 2; }
@media (max-width: 860px) {
    .ec-amenity-card { width: 48%; padding: 6px; border-radius: 10px; }
    .ec-amenity-card figcaption { font-size: 10px; }
    .ec-amenity-card strong { font-size: 11px; }
    .ec-hotspot { width: 22px; height: 22px; }
    .ec-hotspot span { font-size: 11px; }
}


/* =====================================================================
   9. CUỘN TỪNG MÀN HÌNH (FULLPAGE) – trang chủ
   - Máy tính / máy tính bảng ngang (rộng ≥ 1024px, cao ≥ 560px): body có class .fp-on
     → mỗi <section class="fp-sec"> cao đúng 1 màn hình, lăn chuột chuyển 1 màn.
   - Điện thoại: cuộn bình thường, mỗi màn hình cao tối thiểu bằng màn hình.
   ===================================================================== */
.ec-home .fp-sec { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; }
.fp-on, .fp-on body { overflow: hidden; height: 100%; }
.fp-on .fp { position: fixed; inset: 0; will-change: transform; transition: transform 1.15s cubic-bezier(.77, 0, .18, 1); }
.fp-on .fp-sec { height: 100vh; min-height: 0; }
.fp-on .fp-bg { transition: transform 1.15s cubic-bezier(.77, 0, .18, 1); }
.fp-on .fp-sec.is-above .fp-bg { transform: translate3d(0, 35%, 0); }   /* hiệu ứng parallax khi chuyển màn */
.fp-on .fp-sec.is-below .fp-bg { transform: translate3d(0, -35%, 0); }
.fp-on .fp-scroll { max-height: 100%; overflow-y: auto; scrollbar-width: none; overscroll-behavior: contain; }
.fp-on .fp-scroll::-webkit-scrollbar { display: none; }

/* Chấm điều hướng bên phải */
.fp-dots { position: fixed; right: 26px; top: 50%; transform: translateY(-50%); z-index: 45; display: none; flex-direction: column; gap: 12px; }
.fp-on .fp-dots { display: flex; }
.fp-dots button { position: relative; width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(255,255,255,.75); transition: transform .4s var(--ease), background .3s, border-color .3s; }
.fp-dots button.is-active { background: var(--gold); border-color: var(--gold); transform: scale(1.35); }
.fp-dots button:hover { transform: scale(1.35); }
.fp-dots button span { position: absolute; right: 22px; top: 50%; transform: translate(8px, -50%); white-space: nowrap; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: #fff; background: rgba(53,54,22,.85); padding: 4px 10px; border-radius: 3px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.fp-dots button:hover span { opacity: 1; transform: translate(0, -50%); }
.is-theme-light .fp-dots button { border-color: rgba(53,54,22,.55); }
.is-theme-light .fp-dots button.is-active { border-color: var(--gold); }
.fp-on .ec-floating { right: 60px; }

/* Header theo màn hình */
.ec-home .ec-header { transform: none; opacity: 1; transition: opacity .5s, transform .6s var(--ease), background .4s; }
.ec-home.is-header-hide .ec-header { opacity: 0; transform: translateY(-100%); pointer-events: none; }
.ec-home .ec-header.is-solid { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.is-theme-light .ec-burger { border-color: rgba(53,54,22,.6); }
.is-theme-light .ec-burger span { background: var(--olive-900); }
.is-theme-light .ec-pill, .is-theme-light .ec-circle-btn { color: var(--olive-900); border-color: rgba(53,54,22,.6); }
.is-theme-light .ec-pill:hover, .is-theme-light .ec-circle-btn:hover { background: var(--olive-900); color: #fff; }
.ec-header__logo { opacity: 0; }

/* ----- Từng màn hình ở chế độ fullpage ----- */
.ec-hero { height: auto; }
.ec-video { height: auto; }
.ec-video__media img { transform: scale(1.15); transition: transform 2.6s cubic-bezier(.16,1,.3,1); }
.fp-sec.is-in .ec-video__media img, .fp-sec.is-in .ec-overview__bg img { transform: scale(1); }
.ec-overview__bg img { transform: scale(1.15); transition: transform 2.6s cubic-bezier(.16,1,.3,1); }
.ec-welcome { min-height: 100vh; }
.ec-welcome__bg { inset: -6% 0; }
.ec-manifesto, .ec-eracy, .ec-overview, .ec-contact { min-height: 0; }
.ec-manifesto { display: flex; align-items: center; }
.ec-eracy { display: grid; }
.ec-eracy__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ec-eracy__panel { padding-top: calc(var(--header-h) + 10px); padding-bottom: 40px; }
.ec-eracy__panel .fp-scroll { width: 100%; }
.ec-eracy__text p { font-size: 14px; max-width: 620px; margin: 18px auto 0; color: #e3e0cc; }

/* Màn trung tâm thương mại: tự chuyển phác thảo → ảnh màu khi tới màn */
.ec-commercial { height: auto; background: #fff; }
.ec-commercial__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.ec-commercial__img--color { clip-path: inset(0 100% 0 0); transition: clip-path 3s cubic-bezier(.65,0,.35,1) .9s; }
.ec-commercial__line { left: 0; opacity: 0; transition: left 3s cubic-bezier(.65,0,.35,1) .9s, opacity .4s; }
.ec-commercial.is-in .ec-commercial__img--color { clip-path: inset(0 0 0 0); }
.ec-commercial.is-in .ec-commercial__line { left: 100%; opacity: 1; }
.ec-commercial__sticky { display: none; }
.ec-commercial .ec-title, .ec-commercial__content p { transition: color 1s 2.4s, text-shadow 1s 2.4s; }
.ec-commercial.is-in .ec-title { color: #fff; text-shadow: 0 2px 20px rgba(0,30,60,.4); }
.ec-commercial.is-in .ec-commercial__content p { color: #fff; text-shadow: 0 1px 10px rgba(0,30,60,.55); }
.ec-commercial::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 55%; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(10,30,50,.4), transparent); opacity: 0; transition: opacity 1s 2.4s; }
.ec-commercial.is-in::before { opacity: 1; }
.ec-commercial__content { z-index: 2; padding-top: calc(var(--header-h) + 3vh); }

.ec-overview__inner { padding-top: calc(var(--header-h) + 10px); }

/* Khung giữ đúng tỉ lệ ảnh (bản đồ, mặt bằng) để các điểm % luôn đúng vị trí */
.ec-fit { position: relative; width: 100%; aspect-ratio: var(--r, 1.42); }
.ec-fit > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fp-on .ec-fit { width: min(100%, calc(100vh * var(--r, 1.42))); max-height: 100vh; margin: auto; }

.ec-location { height: auto; }
.fp-on .ec-location { grid-template-columns: 1fr minmax(320px, 25%); }
.fp-on .ec-location__map { height: 100vh; display: flex; align-items: center; justify-content: center; }
.ec-location__map .ec-fit { --r: 1.466; }
.ec-location__info { padding-top: calc(var(--header-h) + 10px); }
.fp-on .ec-location__info { max-height: 100vh; }

.fp-on .ec-amenities { grid-template-columns: minmax(260px, 20.4%) 1fr; }
.ec-amenities__plan { background: #2d3a1f; display: flex; align-items: center; justify-content: center; }
.ec-amenities__plan .ec-fit { --r: 1.422; }
.fp-on .ec-amenities__side { max-height: 100vh; padding-top: calc(var(--header-h) + 10px); }
.ec-amenity-card { left: calc(var(--x) + 3%); top: clamp(4%, calc(var(--y) - 14%), 60%); }
.ec-amenity-card.is-left { left: auto; right: calc(100% - var(--x) + 3%); }

.ec-features { height: auto; padding: 0 clamp(24px, 5vw, 100px); display: flex; align-items: center; }
.fp-on .ec-features__grid { width: 100%; max-height: 100vh; padding: calc(var(--header-h) + 4px) 0 30px; column-gap: 30px; row-gap: 10px; }
.fp-on .ec-features__star { max-width: min(40vh, 420px); }
.fp-on .ec-feature__no { font-size: clamp(44px, 6vh, 74px); }
.fp-on .ec-feature__icon { width: 42px; height: 42px; }
.fp-on .ec-feature h3 { font-size: clamp(18px, 2.5vh, 26px); margin: 8px 0; }
.fp-on .ec-feature p { font-size: clamp(12px, 1.45vh, 13.5px); line-height: 1.55; }
.fp-on .ec-feature--bottom-left, .fp-on .ec-feature--bottom-right { margin-top: -4vh; }

.ec-plans { height: auto; }
.fp-on .ec-plans__main { max-height: 100vh; padding-top: calc(var(--header-h) + 4px); padding-bottom: 30px; }
.fp-on .ec-plans__floors img { max-height: calc(100vh - 380px); width: auto; margin: 0 auto; }
.fp-on .ec-plans__side { display: flex; flex-direction: column; justify-content: center; }
.ec-plans__note { grid-row: 2; margin-top: 24px; font-size: 10.5px; color: #b8b7ae; }

/* Thư viện & tin tức: 2 màn riêng */
.ec-gallery, .ec-news { background: var(--olive-400); display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 10px) 0 50px; }
.ec-gallery .ec-title, .ec-news .ec-title { margin-bottom: 4vh; }
.ec-gallery__item { position: relative; aspect-ratio: auto; height: min(52vh, 460px); flex-basis: calc((100% - 24px) / 3); }
.ec-gallery__item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 18px 14px; color: #fff; font-size: 13px; background: linear-gradient(transparent, rgba(0,0,0,.6)); opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s var(--ease); }
.ec-gallery__item:hover span { opacity: 1; transform: none; }
.ec-news { padding-left: 4vw; padding-right: 4vw; }
.ec-news .ec-news__grid { width: 100%; }
.ec-news__label--line a { order: 3; font-size: 12px; color: rgba(255,255,255,.75); }
.ec-news__label--line a:hover { color: #fff; }

.ec-team { display: flex; align-items: center; justify-content: center; height: auto; padding: 60px 20px; }
.ec-team__inner { width: 100%; }
.ec-team__grid { margin-top: 8vh; }
.ec-team__item img { height: clamp(80px, 14vh, 150px); }
.ec-team__item h3 { font-size: 14px; margin-bottom: 24px; }

/* Màn cuối: form + chân trang */
.ec-last { display: flex; flex-direction: column; background: var(--olive-900); }
.ec-last .ec-contact { flex: 1; display: flex; align-items: center; position: relative; overflow: hidden; }
.ec-last .ec-footer__top { padding-top: 34px; padding-bottom: 26px; }
.ec-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Phần tử hiện dần: ở trang chủ chạy lại mỗi khi tới màn hình */
.ec-welcome__big[data-reveal] { opacity: 1; transform: none; }
.ec-welcome__big span { opacity: 0; transform: translateY(40%) scale(1.06); filter: blur(10px); transition: opacity 1.4s var(--ease-out), transform 1.6s var(--ease-out), filter 1.4s; transition-delay: calc(400ms + var(--k) * 80ms); }
.ec-welcome__big.is-in span { opacity: 1; transform: none; filter: none; }

.ec-alert { margin: 10px 0; padding: 10px 14px; font-size: 13px; border-radius: 4px; }
.ec-alert.is-ok { background: rgba(203,169,100,.2); color: var(--gold-2); }
.ec-alert.is-err { background: rgba(255,120,100,.15); color: #ffb4a0; }

/* Điện thoại / màn hình thấp: cuộn bình thường */
@media (max-width: 1023px), (max-height: 559px) {
    .ec-home .fp-sec { min-height: 0; }
    .ec-hero, .ec-welcome { min-height: 100vh; min-height: 100svh; }
    .ec-video { height: 62vw; min-height: 300px; }
    .ec-commercial { height: 100vw; min-height: 560px; }
    .ec-eracy__panel { padding-top: 60px; }
    .ec-gallery__item { flex-basis: 78%; height: 56vw; }
    .ec-last .ec-contact { padding: 60px 0; }
    .ec-amenities__plan { padding: 0; }
}

/* ---------- TRANG TIN TỨC (danh sách + chi tiết) ---------- */
.ec-page { background: var(--cream); }
.ec-page .ec-header { transform: none; background: rgba(53,54,22,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ec-page .ec-header__logo { opacity: 1; }
.ec-page-hero { position: relative; min-height: 46vh; display: flex; align-items: flex-end; color: #fff; background-size: cover; background-position: center; }
.ec-page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(53,54,22,.35), rgba(53,54,22,.88)); }
.ec-page-hero--article { min-height: 60vh; }
.ec-page-hero__inner { position: relative; z-index: 1; width: min(1100px, 90%); margin: 0 auto; padding: 130px 0 48px; }
.ec-page-hero .ec-title { color: #fff; margin-top: 12px; max-width: 900px; }
.ec-page-hero__meta { margin-top: 12px; font-size: 13px; color: var(--gold-2); }
.ec-page-hero__meta a:hover { text-decoration: underline; }
.ec-crumb { font-size: 12.5px; color: rgba(255,255,255,.75); display: flex; flex-wrap: wrap; gap: 8px; }
.ec-crumb a:hover { color: #fff; }
.ec-crumb b { color: var(--gold-2); font-weight: 500; }
.ec-page-body { padding: 50px max(5%, calc((100% - 1100px) / 2)) 70px; }
.ec-page-body--olive { background: var(--olive-400); }
.ec-page-body .ec-title { margin-bottom: 30px; }
.ec-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.ec-tabs a { padding: 7px 18px; border: 1px solid rgba(255,255,255,.6); border-radius: 30px; color: #fff; font-size: 13px; transition: background .3s, color .3s; }
.ec-tabs a:hover, .ec-tabs a.is-active { background: #fff; color: var(--olive-900); }
.ec-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 26px; }
.ec-empty { text-align: center; color: #fff; padding: 40px; }
.ec-pagination { margin-top: 40px; }
.ec-pagination .pagination { display: flex; justify-content: center; gap: 6px; list-style: none; padding: 0; }
.ec-pagination .page-link { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); color: #fff; font-size: 13px; }
.ec-pagination .active .page-link, .ec-pagination .page-link:hover { background: #fff; color: var(--olive-900); }
.ec-pagination .disabled .page-link { opacity: .4; }
.ec-article { background: var(--cream); padding: 50px max(5%, calc((100% - 820px) / 2)) 70px; color: #4b4a3a; font-size: 16px; line-height: 1.8; }
.ec-article__lead { font-size: 18px; color: var(--ink); font-weight: 500; margin-bottom: 26px; }
.ec-article__body p { margin-bottom: 18px; }
.ec-article__body img { margin: 26px auto; border-radius: 4px; height: auto; }
.ec-article__body h2, .ec-article__body h3 { font-family: var(--f-serif); color: var(--ink); font-weight: 600; margin: 30px 0 12px; }
.ec-article__body a { color: var(--terra-2); text-decoration: underline; }
.ec-article__body ul, .ec-article__body ol { padding-left: 22px; margin-bottom: 18px; list-style: disc; }
.ec-article__body table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.ec-article__body td, .ec-article__body th { border: 1px solid #ddd8c4; padding: 8px 10px; }
.ec-article__share { display: flex; gap: 10px; align-items: center; margin-top: 34px; padding-top: 20px; border-top: 1px solid #e5e2cf; font-size: 13px; }
.ec-article__share a { padding: 6px 16px; border-radius: 20px; background: var(--olive-900); color: #fff; }
.ec-article__share a:hover { background: var(--gold); color: var(--olive-900); }
.ec-error { min-height: 80vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 120px 20px 60px; }
.ec-error__code { font-family: var(--f-serif); font-size: 120px; line-height: 1; color: var(--gold); }
.ec-error .ec-btn { margin-top: 10px; }
@media (max-width: 860px) {
    .ec-news-grid { grid-template-columns: 1fr; }
    .fp-dots { display: none !important; }
}

/* Sửa: các màn hình không có khoảng cách ngoài, để chuyển màn chính xác */
.ec-home .fp-sec { margin: 0; }
.fp-on .ec-features__grid { grid-template-rows: auto minmax(0, 1fr) auto; align-content: center; }
.fp-on .ec-features__star { max-width: min(34vh, 400px); }
@media (max-height: 950px) {
    .fp-on .ec-feature p { font-size: 12px; line-height: 1.5; max-width: 430px; }
    .fp-on .ec-feature__no { font-size: 46px; }
    .fp-on .ec-feature h3 { font-size: 19px; margin: 6px 0; }
    .fp-on .ec-feature__icon { width: 36px; height: 36px; }
    .fp-on .ec-feature--bottom-left, .fp-on .ec-feature--bottom-right { margin-top: 0; }
    .fp-on .ec-features__star { max-width: 30vh; }
}
.ec-plans__info b { text-transform: none; }
.ec-article__body .news-source { margin-top: 30px; padding-top: 14px; border-top: 1px dashed #d8d4bd; font-size: 13px; color: #8a8875; }
.ec-article__body .news-source a { color: #8a8875; }
.ec-news__card h4 a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ec-news__card p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }


/* =====================================================================
   10. FONT CHỮ: Playfair Display (tiêu đề) + Montserrat (nội dung)
   Playfair rộng hơn font cũ nên cỡ chữ tiêu đề được giảm nhẹ cho cân đối
   ===================================================================== */
body { letter-spacing: .01em; }
.ec-title { font-weight: 400; font-size: clamp(24px, 2.15vw, 40px); letter-spacing: .04em; line-height: 1.22; }
.ec-menu__list a { font-size: clamp(19px, 1.65vw, 23px); letter-spacing: .01em; padding: 8px 0; }
.ec-pill { font-weight: 600; letter-spacing: .1em; font-size: 10.5px; }

/* Màn chào mừng: dòng chào nghiêng, chữ ERA CITY mảnh & giãn rộng */
.ec-welcome__lead, .ec-welcome__text { font-weight: 400; line-height: 1.75; }
.ec-welcome__hello { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: clamp(24px, 2.4vw, 42px); letter-spacing: .02em; }
.ec-welcome__big { font-family: var(--f-sans); font-weight: 200; letter-spacing: .14em; font-size: clamp(64px, 13.5vw, 270px); margin-right: -.14em; }

.ec-manifesto__sub, .ec-eracy__sub { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
.ec-manifesto__text, .ec-eracy__text p, .ec-commercial__content p, .ec-location__text { font-weight: 400; line-height: 1.8; }
.ec-overview__row dt { font-weight: 500; letter-spacing: .08em; font-size: 11px; }
.ec-overview__row dd { font-weight: 600; }
.ec-location__info .ec-title { font-size: clamp(24px, 2.2vw, 40px); line-height: 1.15; }
.ec-time__head strong { font-family: var(--f-serif); font-weight: 400; font-size: 60px; }
.ec-time__head span { font-weight: 500; font-size: 15px; letter-spacing: .04em; }
.ec-time__list li { font-weight: 500; letter-spacing: .05em; font-size: 10.5px; }
.ec-amenities__title { font-weight: 400; font-size: clamp(26px, 2.2vw, 40px); line-height: 1.15; }
.ec-amenities__list > li > button { font-weight: 500; letter-spacing: .05em; font-size: 12px; }
.ec-amenities__list ul li, .ec-amenities__legend p { font-size: 11.5px; letter-spacing: .04em; }
.ec-feature__no { font-family: var(--f-serif); font-weight: 400; }
.ec-feature h3 { font-weight: 400; letter-spacing: .03em; line-height: 1.25; font-size: clamp(17px, 1.45vw, 25px); }
.ec-feature p { line-height: 1.7; }
.fp-on .ec-feature h3 { font-size: clamp(16px, 2.2vh, 23px); }
.fp-on .ec-feature p { font-size: clamp(11.5px, 1.4vh, 13px); }
@media (max-height: 950px) {
    .fp-on .ec-feature p { font-size: 11.5px; line-height: 1.55; }
    .fp-on .ec-feature h3 { font-size: 17px; }
}
.ec-plans__info h3 { font-weight: 400; font-size: 19px; letter-spacing: .04em; }
.ec-plans__desc p, .ec-plans__floors figcaption { font-weight: 400; }
.ec-select__btn, .ec-select__list li { font-weight: 500; letter-spacing: .05em; font-size: 12px; }
.ec-news__card h4, .ec-news__hero-text strong { font-family: var(--f-serif); font-weight: 400; font-size: 16px; line-height: 1.4; }
.ec-news__card time, .ec-news__more { letter-spacing: .06em; }
.ec-team__item h3 { font-weight: 500; letter-spacing: .12em; font-size: 12px; }
.ec-form h2 { font-family: var(--f-serif); font-weight: 400; font-size: 28px; letter-spacing: .01em; }
.ec-btn { font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 11px; }
.ec-footer__col h3 { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 17px; }
.ec-footer__col p { font-size: 14px; }
.ec-page-hero .ec-title { font-size: clamp(24px, 2.6vw, 42px); }
.ec-article { font-size: 15.5px; line-height: 1.9; }
.ec-article__lead { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 20px; line-height: 1.6; }
.ec-article__body h2, .ec-article__body h3 { font-weight: 500; letter-spacing: .01em; }
.ec-error__code { font-weight: 400; }
