/* VieHouse — dựng lại từ scaleupvn.com/house/ */
:root { --ink: #080b0f; --muted: #4b5b63; --soft: #f4f4f4; --wrap: 1256px; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: "Inter", system-ui, sans-serif; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
svg { fill: currentColor; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 8px 0 16px; border-radius: 8px; font-size: 14px; font-weight: 500; white-space: nowrap; transition: translate .3s cubic-bezier(.34, 1.56, .64, 1); }
.btn:hover { translate: 0 -2px; }
.btn i { width: 28px; height: 28px; border-radius: 6px; display: grid; place-items: center; }
.btn i svg { width: 15px; height: 15px; }
.btn--dark { background: var(--ink); color: #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, .18); }
.btn--dark i { background: #fff; color: var(--ink); }
.btn--line { padding: 0 20px; border: 1px solid var(--ink); background: rgba(255, 255, 255, .15); }
.btn--white { height: 36px; padding: 0 5px 0 12px; background: #fff; color: var(--ink); font-size: 12px; }
.btn--white i { width: 24px; height: 24px; background: var(--ink); color: #fff; }
.btn--sm { height: 38px; font-size: 12px; padding-left: 12px; }
.btn--sm i { width: 24px; height: 24px; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(255, 255, 255, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav__inner { height: 84px; display: flex; align-items: center; gap: 26px; }
.logo { display: inline-flex; align-items: center; gap: 4px; font-size: 22px; font-weight: 700; letter-spacing: -.4px; margin-right: auto; }
.logo svg { width: 26px; height: 26px; }
.nav__menu { display: flex; gap: 25px; font-size: 14px; }

/* hero */
.hero { height: 1460px; padding-top: 180px; text-align: center; background: linear-gradient(180deg, rgba(206, 238, 252, .96) 0%, rgba(206, 238, 252, .7) 22%, rgba(206, 238, 252, 0) 36%), url(img/hero.jpg) center bottom / max(100%, 1440px) auto no-repeat, #fff; }
.hero__content { display: flex; flex-direction: column; align-items: center; padding-inline: 20px; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px 0 8px; border-radius: 999px; background: rgba(255, 255, 255, .55); font-size: 14px; color: var(--muted); }
.pill__avatars { display: flex; }
.pill__avatars img { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; }
.pill__avatars img:first-child { margin-left: 0; }
.hero__title { margin-top: 14px; font-size: clamp(42px, 6.2vw, 88px); line-height: 1.1; font-weight: 700; letter-spacing: -1px; }
.hero__text { max-width: 620px; margin-top: 18px; font-size: 18px; line-height: 1.6; font-weight: 500; color: var(--muted); }
.hero__ctas { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; justify-content: center; }

.hero [data-fx] { --dur: 1.1s; --ease: cubic-bezier(.22, 1, .36, 1); }

/* section heads */
.sec { padding-top: 140px; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.tag svg { width: 14px; height: 14px; }
.h2 { margin-top: 14px; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.4; font-weight: 600; letter-spacing: -.5px; }
.head__text { max-width: 300px; margin-right: 64px; font-size: 18px; line-height: 1.6; font-weight: 500; color: var(--muted); }
.head__text .btn { margin-top: 14px; }

/* stats */
.stats { margin-top: 60px; display: grid; grid-template-columns: 314px 1fr 314px; gap: 10px; align-items: center; }
.stats__img { width: 100%; height: 338px; object-fit: cover; border-radius: 15px; }
.stats__list { display: grid; gap: 6px; }
.stat { height: 114px; padding: 0 25px; border-radius: 12px; background: var(--soft); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.stat strong { font-size: 48px; font-weight: 600; letter-spacing: -.5px; }
.stat span { font-size: 22px; font-weight: 500; }

/* focus */
.focus { margin-top: 80px; height: 220vh; }
.focus__sticky { position: sticky; top: 84px; height: calc(100vh - 84px); padding: 0 20px; background: url(img/light.jpg) center/cover; display: grid; place-items: center; }
.focus .fx-w { transition: none; will-change: opacity, filter; }
.focus__text { max-width: 980px; text-align: center; font-size: clamp(26px, 2.9vw, 42px); line-height: 1.4; font-weight: 500; letter-spacing: -1.5px; }
.focus__text em { font-weight: 800; font-style: italic; }

/* slides */
.slides { margin-top: 70px; }
.slide { position: sticky; top: 84px; height: calc(100vh - 84px); min-height: 560px; background-size: cover; background-position: center; display: grid; place-items: center; padding: 20px; }
.slide__card { width: min(420px, 100%); padding: 24px 24px 22px; border-radius: 16px; text-align: center; color: #fff; background: rgba(40, 40, 40, .28); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.slide__price { font-size: 16px; font-weight: 500; }
.slide__card h3 { font-size: 32px; font-weight: 500; letter-spacing: -.5px; }
.slide__addr { font-size: 14px; }
.slide__card .btn { margin-top: 10px; }

/* services */
.services { margin-top: 60px; display: grid; grid-template-columns: 1.95fr .82fr .82fr; gap: 10px; }
.svc { min-height: 552px; border-radius: 15px; background: var(--soft); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; }
.svc__num { font-size: 96px; font-weight: 500; letter-spacing: -4px; line-height: 1; color: #b9b9b9; align-self: flex-end; }
.svc__kicker { font-size: 13px; color: #4b4b4b; }
.svc h3 { margin-top: 8px; font-size: 26px; font-weight: 500; line-height: 1.2; letter-spacing: -.5px; }
.svc--main { background: #0b0d10; color: #fff; padding: 0; overflow: hidden; }
.svc--main .svc__top { display: flex; justify-content: space-between; padding: 24px 24px 0; }
.svc--main .svc__kicker { color: #c9c9c9; }
.svc--main .svc__num { color: #fff; align-self: flex-start; }
.svc--main img { width: 78%; margin: 0 auto; }

/* listings */
.listings { margin-top: 50px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lcard { position: relative; height: 420px; border-radius: 16px; overflow: hidden; background-size: cover; background-position: center; color: #fff; }
.lcard::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .55)); }
.lcard__badge { position: absolute; top: 18px; right: 18px; display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 10px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 500; z-index: 1; }
.lcard__badge svg { width: 12px; height: 12px; }
.lcard__body { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 1; }
.lcard__body p { font-size: 14px; }
.lcard__body h3 { margin-top: 6px; font-size: 26px; font-weight: 600; letter-spacing: -.3px; }
.lcard__body ul { margin-top: 12px; display: flex; gap: 14px; font-size: 13px; }
.lcard__body li { display: inline-flex; align-items: center; gap: 6px; }
.lcard__body li + li { padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .5); }
.lcard__body li svg { width: 15px; height: 15px; }

/* modern living */
.modern { margin-top: 70px; height: 300vh; }
.modern__sticky { position: sticky; top: 84px; height: calc(100vh - 84px); overflow: hidden; display: grid; place-items: center; }
.marquee { position: absolute; left: 0; right: 0; top: 50%; translate: 0 -50%; overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: mq 30s linear infinite; }
.marquee__track span { font-size: 64px; font-weight: 700; color: #4b5b63; white-space: pre; letter-spacing: -1px; }
@keyframes mq { to { transform: translateX(-50%); } }
.modern__img { position: relative; z-index: 1; width: 304px; height: 210px; object-fit: cover; border-radius: 16px; }

/* reviews */
.reviews { margin-top: 60px; display: grid; grid-template-columns: 1fr 350px; gap: 30px; }
.reviews__belt { display: flex; gap: 30px; padding-right: 30px; width: max-content; animation: belt var(--belt-dur, 37s) linear infinite; }
@keyframes belt { to { transform: translateX(-50%); } }
.reviews__track { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 85%, transparent); }
.rv { flex: 0 0 400px; height: 500px; padding: 32px; border-radius: 15px; background: var(--soft); display: flex; flex-direction: column; justify-content: space-between; }
.rv p { font-size: 18px; line-height: 1.6; font-weight: 500; color: #3a4348; }
.rv__who { display: flex; align-items: center; gap: 12px; }
.rv__who img { width: 50px; height: 50px; border-radius: 7px; object-fit: cover; }
.rv__who strong { display: block; font-size: 20px; font-weight: 500; }
.rv__who span { font-size: 14px; color: var(--muted); }
.agent { height: 500px; border-radius: 15px; background-size: cover; background-position: center top; color: #fff; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; }
.agent strong { font-size: 34px; font-weight: 500; letter-spacing: -.5px; }
.agent span { font-size: 18px; }

/* faq */
.faq { display: grid; grid-template-columns: 400px 1fr; gap: 80px; align-items: start; }
.faq__text { margin-top: 18px; font-size: 18px; line-height: 1.6; font-weight: 500; color: var(--muted); }
.faq__list { display: grid; gap: 6px; padding-top: 30px; }
.faq details { border-radius: 10px; background: var(--soft); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 20px; font-size: 16px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; line-height: 1; transition: rotate .3s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 20px 18px; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* cta */
.cta { position: relative; overflow: hidden; margin: 140px 8px 8px; min-height: 840px; padding: 44px 20px 0; border-radius: 24px; text-align: center; display: flex; flex-direction: column; align-items: center;
  background: linear-gradient(180deg, rgba(206, 238, 252, .55), rgba(206, 238, 252, 0) 60%), url(img/sky.jpg) center top / cover no-repeat; }
.cta::after { content: ""; position: absolute; inset: 50% 0 0; background: url(img/footer.jpg) center top / max(100%, 1100px) auto no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%); mask-image: linear-gradient(180deg, transparent, #000 22%); }
.cta > * { position: relative; z-index: 1; }
.cta .h2 { margin-top: 10px; }
.cta__text { max-width: 600px; margin: 10px 0 18px; font-size: 16px; line-height: 1.6; font-weight: 500; color: var(--muted); }


/* responsive */
@media (max-width: 1100px) {
  .head__text { margin-right: 0; }
  .stats { grid-template-columns: 1fr; }
  .stats__img { display: none; }
  .services { grid-template-columns: 1fr 1fr; }
  .svc--main { grid-column: 1 / -1; }
  .reviews { grid-template-columns: 1fr; }
  .agent { display: none; }
  .faq { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 760px) {
  .nav__menu { display: none; }
  .nav__inner { height: 68px; }
  .hero { height: 1060px; padding-top: 120px; background-size: auto, 900px auto, auto;
    background-image: linear-gradient(180deg, rgba(206, 238, 252, .97) 0%, rgba(206, 238, 252, .8) 30%, rgba(206, 238, 252, 0) 45%), url(img/hero.jpg); }
  .hero__text { font-size: 15px; }
  .sec { padding-top: 90px; }
  .head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .head__text { font-size: 15px; max-width: none; }
  .h2 { font-size: 30px; line-height: 1.3; }
  .stat { height: 88px; }
  .stat strong { font-size: 32px; }
  .stat span { font-size: 14px; text-align: right; }
  .focus { padding: 90px 20px; }
  .slide { top: 68px; height: calc(100vh - 68px); min-height: 480px; }
  .focus__sticky, .modern__sticky { top: 68px; height: calc(100vh - 68px); }
  .slide__card h3 { font-size: 24px; }
  .services { grid-template-columns: 1fr; }
  .svc { min-height: 260px; }
  .svc__num { font-size: 64px; }
  .listings { grid-template-columns: 1fr; }
  .lcard { height: 340px; }
  .lcard__body h3 { font-size: 22px; }
  .marquee__track span { font-size: 36px; }
  .rv { flex-basis: 290px; height: 380px; padding: 24px; }
  .rv p { font-size: 15px; }
  .faq summary { font-size: 15px; }
  .cta { margin-top: 90px; min-height: 620px; }
  .cta::after { inset: 55% 0 0; background-size: 700px auto; }
}
