/* ---------- Font Gilroy (SVN-Gilroy) ---------- */
@font-face {
  font-family: "Gilroy";
  src: url("Gilroy/Gilroy/SVN-GILROY%20LIGHT.OTF") format("opentype");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("Gilroy/Gilroy/SVN-GILROY%20REGULAR.OTF") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("Gilroy/Gilroy/SVN-GILROY%20MEDIUM.OTF") format("opentype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("Gilroy/Gilroy/SVN-GILROY%20SEMIBOLD.OTF") format("opentype");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("Gilroy/Gilroy/SVN-GILROY%20BOLD.OTF") format("opentype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("Gilroy/Gilroy/SVN-GILROY%20XBOLD.OTF") format("opentype");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("Gilroy/Gilroy/SVN-GILROY%20BLACK.OTF") format("opentype");
  font-weight: 900; font-style: normal; font-display: swap;
}

:root {
    --brand: #fed47e; /* dark  — nav, hero, footer, tiêu đề, badge */
    --brand-2: #272625; /* mid   — hover, gradient */
    --brand-3: #1a7a4e; /* action— nút CTA */
    --brand-tint: #e8f5ee; /* nền xanh nhạt cho trạng thái chọn/thành công */
    /* Nhấn ấm — một tông vàng duy nhất */
    --gold: #f5a623;
    --gold-soft: #fff5e5; /* = màu kem, dùng cho chip/nền nhấn */
    /* Bề mặt (warm rhythm: kem ↔ trắng) */
    --surface: #ffffff;
    --surface-cream: #fff5e5;
    --bg-soft: #f6f9f7; /* trung tính lạnh — chỉ dùng cho back-office (admin/portal) */
    /* Chữ & đường kẻ */
    --ink: #1f2937;
    --muted: #6b7280;
    --line: #e5e7eb;
    --line-brand: rgba(11, 60, 38, .12);
    /* Thang bo góc */
    --r-sm: .2rem;
    --r-md: 0.5rem;
    --r-lg: 1rem;
    --r-xl: 1.5rem;
    --r-pill: 999px;
    /* Đổ bóng */
    --shadow-sm: 0 8px 24px rgba(11, 60, 38, .07);
    --shadow-md: 0 18px 48px rgba(11, 60, 38, .12);
}

/* Chiều cao thanh nav sticky — được JS cập nhật lại theo thực tế (xem landing.js) */
:root { --nav-h: 76px; }

html {
  font-size: 16px; scroll-behavior: smooth; position: relative; min-height: 100%;
  /* Chừa chỗ cho .site-nav sticky khi nhảy tới anchor (#tongquan, #tienich...) */
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
body { font-family: "Gilroy", "Segoe UI", system-ui, -apple-system, sans-serif; color: var(--ink); background: #fff; }
a { text-decoration: none; }

/* ---------- Buttons ---------- */
.btn-emerald { background: var(--brand-3); border-color: var(--brand-3); color: #fff; }
.btn-emerald:hover { background: var(--brand-2); border-color: var(--brand-2); color: #fff; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #3b2a00; font-weight: 600; }
.btn-gold:hover { filter: brightness(0.95); color: #3b2a00; background: var(--gold);}
.btn-outline-emerald { color: var(--brand-3); border-color: var(--brand-3); }
.btn-outline-emerald:hover { background: var(--brand-3); color: #fff; }

.text-emerald { color: var(--brand-3) !important; }
.bg-forest { background: var(--brand) !important; }
.bg-soft { background: var(--bg-soft) !important; }
.bg-cream { background: var(--surface-cream) !important; }

/* ---------- Announcement bar ---------- */
.announce-bar { background: var(--brand); color: #000; font-size: 1rem; padding: .4rem 0; }
.announce-bar .marquee { white-space: nowrap; overflow: hidden; }
.announce-bar .marquee span { display: inline-block; animation: scroll-left 22s linear infinite; }
@keyframes scroll-left { 0% { transform: translateX(60%);} 100% { transform: translateX(-100%);} }

/* ---------- Sticky nav ---------- */
.site-nav { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.06); position: sticky; top: 0; z-index: 1030; }
.site-nav .brand { font-weight: 800; color: var(--brand); letter-spacing: .3px; }
.site-nav .nav-link { color: var(--ink); font-weight: 500; }
.site-nav .nav-link:hover { color: var(--brand-3); }
.site-nav .nav-link.highlight { color: var(--gold); font-weight: 700; }

/* ---------- Mega-menu (hover dropdown) ---------- */
.mega-nav { gap: .35rem; }
.mega-item { position: relative; }
.mega-trigger { display: inline-flex; align-items: center; gap: .3rem; cursor: pointer; user-select: none; padding: .4rem .65rem; white-space: nowrap; }
.mega-caret { width: .5rem; height: .5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .18s ease; opacity: .7; }
.mega-item:hover .mega-trigger { color: var(--brand-3); }
.mega-item:hover .mega-caret { transform: rotate(-135deg) translateY(-2px); opacity: 1; }

.mega-panel {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  padding: .5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 1040;
}
/* Invisible bridge so hover doesn't drop when moving from trigger to panel */
.mega-panel::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.mega-item:hover .mega-panel { opacity: 1; visibility: visible; transform: translateY(4px); }

.mega-link { display: block; padding: .5rem .75rem; border-radius: 8px; color: var(--ink); font-weight: 500; text-decoration: none; white-space: nowrap; }
.mega-link:hover { background: var(--bg-soft); color: var(--brand-3); }

/* ---------- Hamburger + mobile drawer ---------- */
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; background: transparent; border: 1px solid var(--line); border-radius: 10px; color: var(--brand); }
.nav-toggle:hover, .nav-toggle[aria-expanded="true"] { background: var(--bg-soft); }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; }
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.mobile-nav { --bs-offcanvas-width: min(320px, 86vw); }
.mobile-nav .offcanvas-header { border-bottom: 1px solid var(--line); }
.mobile-nav .offcanvas-title { color: var(--brand); }
.mnav-group + .mnav-group { border-top: 1px solid var(--line); }
.mnav-trigger { display: flex; align-items: center; justify-content: space-between; gap: .5rem; width: 100%; padding: .75rem .25rem; background: none; border: 0; text-align: left; font-weight: 600; color: var(--ink); }
.mnav-trigger .mega-caret { transform: rotate(45deg) translateY(-2px); }
.mnav-trigger.collapsed .mega-caret { transform: rotate(45deg) translateY(-2px); }
.mnav-trigger:not(.collapsed) { color: var(--brand-3); }
.mnav-trigger:not(.collapsed) .mega-caret { transform: rotate(-135deg) translateY(2px); }
.mnav-link { display: block; padding: .5rem .25rem .5rem .9rem; color: var(--muted); font-weight: 500; text-decoration: none; }
.mnav-link:hover { color: var(--brand-3); }
.mnav-actions { display: grid; gap: .5rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }

/* Contact icon */
.nav-contact { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); color: var(--brand); transition: background .15s ease, color .15s ease; }
.nav-contact svg { width: 20px; height: 20px; }
.nav-contact:hover { background: var(--brand); color: #fff; }

/* Brand block: logo badge + two-line title */
.brand-block { color: inherit; }
.brand-logo { display: inline-flex; align-items: center; background: var(--brand); border-radius: 10px; padding: .35rem .6rem; font-weight: 800; font-size: 1.15rem; line-height: 1; letter-spacing: .2px; }
.brand-logo .bl-bim { color: #fff; }
.brand-logo .bl-land { color: var(--gold); }
.brand-titles { display: flex; flex-direction: column; line-height: 1.1; }
.brand-overline { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.brand-name { font-weight: 800; color: var(--brand); font-size: 1.05rem; }

/* White login pill needs a visible thin border */
.brand-login { border: 1px solid var(--line); color: var(--brand-2); }
.brand-login:hover { background: var(--bg-soft); color: var(--brand-2); }

/* ---------- Hero (banner có ảnh nền) ---------- */
:root { --hero-img: url('/images/tòa nhà.jpg'); }
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(520px, 72vh, 700px);
  padding: 4.5rem 0;
  color: #fff;
  background-color: var(--brand);
  background-image:
    linear-gradient(90deg, rgba(3,24,15,.98) 0%, rgba(5,34,22,.82) 35%, rgba(7,44,29,.55) 65%, rgba(7,44,29,.34) 100%),
    linear-gradient(0deg, rgba(6,40,26,.55) 0%, rgba(6,40,26,0) 42%),
    var(--hero-img);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 { font-weight: 800; font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.12; text-shadow: 0 2px 18px rgba(0,0,0,.38); }
.hero .subtitle { color: var(--gold); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.hero .lead { text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.countdown-box { background: rgba(8,46,30,.55); border: 1px solid rgba(255,255,255,.28); border-radius: var(--r-lg); padding: 1.35rem; backdrop-filter: blur(10px); box-shadow: 0 18px 48px rgba(0,0,0,.28); }
.cd-block { text-align: center; min-width: 64px; }
.cd-block .num { font-size: 2.5rem; font-weight: 800; line-height: 1; }
.cd-block .lbl { font-size: 1rem; text-transform: uppercase; opacity: .85; }
.stat-pill { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); border-radius: var(--r-md); padding: .8rem 1rem; }
.stat-pill .v { font-size: 1.4rem; font-weight: 800; }

@media (max-width: 991px) {
  .hero {
    min-height: auto;
    padding: 3.25rem 0;
    background-image:
      linear-gradient(180deg, rgba(6,40,26,.88) 0%, rgba(7,44,29,.74) 100%),
      var(--hero-img);
  }
}

/* ---------- Tiện ích: tab Nội/Ngoại khu + danh sách 2 cột + ảnh lớn (bố cục Aria Bay) ---------- */
.v2-amen-tabs {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.v2-amen-tab {
  background: none;
  border: 0;
  padding: .4rem .25rem .7rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: color .3s ease;
}
.v2-amen-tab:hover { color: var(--brand); }
.v2-amen-tab.active { color: var(--brand); font-weight: 700; }
.v2-amen-underline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: left .3s ease, width .3s ease;
}

.v2-amen-pane { display: none; }
.v2-amen-pane.active {
  display: flex;
  align-items: center;
  gap: 2.75rem;
}

.v2-amen-list {
  flex: 0 0 35%;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2.5rem;
  row-gap: .35rem;
  align-self: stretch;
  align-content: center;
}
.v2-amen-item { width: fit-content; }
.v2-amen-item button {
  background: none;
  border: 0;
  padding: .35rem 0;
  text-align: left;
  color: var(--brand-2);
  font-size: 1rem;
  line-height: 1.35;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .3s ease;
}
.v2-amen-item button:hover { opacity: .65; }
.v2-amen-item.active button { font-weight: 700; }
.v2-amen-ul {
  display: block;
  width: 0;
  height: 1px;
  background: var(--brand);
  transition: width .5s ease;
}
.v2-amen-item.active .v2-amen-ul { width: 100%; }

.v2-amen-divider {
  align-self: stretch;
  width: 2px;
  background: var(--brand);
  opacity: .35;
}

.v2-amen-figure {
  flex: 1;
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  /*box-shadow: var(--shadow-md);*/
}
.v2-amen-figure img {
  display: block;
  width: 100%;
  height: min(60vh, 520px);
  object-fit: cover;
  object-position: center;
  transition: opacity .4s ease, transform .6s ease;
}
.v2-amen-figure img.is-swapping { opacity: 0; }
.v2-amen-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,60,38,.28) 0%, rgba(11,60,38,0) 45%);
  pointer-events: none;
}

@media (max-width: 991px) {
  .v2-amen-pane.active { flex-direction: column-reverse; gap: 1.5rem; }
  .v2-amen-divider { display: none; }
  .v2-amen-list { flex: 1 1 auto; width: 100%; min-width: 0; column-gap: 1.25rem; }
  /* Tên tiện ích dài phải xuống dòng, nếu không sẽ tràn ra ngoài khung */
  .v2-amen-item { width: auto; }
  .v2-amen-item button { white-space: normal; }
  .v2-amen-figure { width: 100%; }
  .v2-amen-figure img { height: 45vh; }
}

@media (max-width: 575px) {
  .v2-amen-list { grid-template-columns: 1fr; row-gap: .15rem; }
  .v2-amen-tabs { gap: 1.5rem; margin-bottom: 1.75rem; }
  .v2-amen-tab { font-size: 1rem; }
}

/* ---------- Section ---------- */
section { padding: 3.5rem 0; }
.kicker { color: var(--brand-3); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: .85rem; }
.section-title { font-weight: 800; color: var(--brand); }

/* ---------- Cards / grids ---------- */
.lift { transition: transform .25s ease, box-shadow .25s ease; }
.lift:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(11,60,38,.15); }

.stat-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem; height: 100%; }
.stat-card .big { font-size: 1.8rem; font-weight: 800; color: var(--brand); }

.elig-card { border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem; height: 100%; background: #fff; }
.elig-num { width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; }
.elig-note { border-top: 1px dashed var(--line); margin-top: 1rem; padding-top: .8rem; color: var(--muted); font-size: .9rem; }

.proc-card { border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem; height: 100%; background:#fff; }
.proc-num { width: 34px; height: 34px; border-radius: 50%; background: var(--brand-3); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; }

/* ---------- Floor plan ---------- */
.unit-cell { border: 1px solid var(--line); border-radius: 10px; padding: .8rem; text-align:center; background:#f3f4f6; }
.unit-cell.sample { background: var(--brand-tint); border-color: var(--brand-3); color: var(--brand); font-weight: 700; }
.room-chip { border:1px solid var(--line); border-radius: 8px; padding:.5rem .7rem; margin:.25rem; display:inline-block; }
.v2-plan-img { width:100%; height:auto; display:block; border:1px solid var(--line-brand); border-radius:1rem; background:#f8fafc; box-shadow: inset 0 2px 8px rgba(11,60,38,.06); }
.v2-plan-spec { font-size:.8rem; color:var(--muted); line-height:1.7; margin-top:.9rem; }

/* ---------- Floor plan split (primabay-style tower carousel) ---------- */
.v2-floorplan-section { padding: 0; }
.v2-floorplan-section::before { display: none; }
.v2-floorplan-split {
  display: grid; grid-template-columns: minmax(0,38%) minmax(0,62%); align-items: stretch;
  min-height: 620px;
}
.v2-fp-left {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3.5rem clamp(1.5rem, 4vw, 4rem);
    background-color: #fff5e5;
    background-image: url('../images/pattern.png');
    background-repeat: no-repeat;
    background-position: top right;
    background-size: 20% auto;
}
.v2-fp-ornament {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
}
.v2-fp-ornament path { fill: none; stroke: var(--brand); stroke-width: 1; opacity: .10; }
.v2-fp-inner {
  position: relative; z-index: 1; max-width: 420px; width: 100%; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
}
.v2-fp-name {
  font-family: "Gilroy", "Segoe UI", sans-serif; font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; color: var(--brand-2);
  margin: 0 0 1.75rem;
}
.v2-fp-thumb {
  background: var(--surface); border: 1px solid var(--line-brand); border-radius: var(--r-md);
  padding: .65rem; box-shadow: 0 18px 40px rgba(11,60,38,.16); max-width: 380px; width: 100%;
  margin: 0 auto;
}
.v2-fp-thumb img { display: block; width: 100%; height: auto; border-radius: var(--r-sm); }
.v2-fp-nav { display: flex; gap: .6rem; margin-top: 1.75rem; justify-content: center; }
.v2-fp-arrow {
  width: 3rem; height: 3rem; display: grid; place-items: center;
  border: 1px solid var(--line-brand); background: transparent; color: var(--brand-2);
  line-height: 1; border-radius: var(--r-sm); cursor: pointer; transition: .15s;
}
.v2-fp-arrow:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.v2-fp-right { position: relative; overflow: hidden; min-height: 620px; }
.v2-fp-right img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v2-fp-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .7rem 1.15rem;
    border-radius: var(--r-sm);
    background: var(--brand-3);
    color: #fff;
    font-weight: 800;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    backdrop-filter: blur(3px);
    box-shadow: 0 10px 26px rgba(0,0,0,.28);
    border: 0;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    transition: .15s;
}
.v2-fp-badge:hover, .v2-fp-badge:focus-visible {
  background: rgba(11,60,38,.95); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0,0,0,.34);
}
.v2-fp-badge:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.v2-fp-badge-chevron { opacity: .75; flex: none; }
.v2-fp-badge:hover .v2-fp-badge-chevron { opacity: 1; }

/* Popup mặt bằng */
.v2-fp-select { max-width: 220px; }
.v2-fp-viewer-wrap { padding: 0; background: var(--surface, #f6f4ef); }
.v2-fp-viewer { display: block; width: 100%; height: 75vh; border: 0; }

@media (max-width: 991px) {
  .v2-floorplan-split { grid-template-columns: 1fr; min-height: 0; }
  .v2-fp-right { min-height: 320px; order: -1; }
    .v2-fp-left {
        align-items: center;
        text-align: center;
        padding: 2.5rem 1.5rem;
        background-image: url(../images/pattern.png);
        background-repeat: no-repeat;
        background-position: top right;
        background-size: 10% auto;
    }
  .v2-fp-thumb { margin: 0 auto; }
  .v2-fp-nav { justify-content: center; }
  .v2-fp-badge { top: 1rem; left: 1rem; right: 1rem; padding: .6rem .9rem; font-size: .72rem; gap: .4rem; }
  .v2-fp-viewer-wrap { flex: 1 1 auto; }
  .v2-fp-viewer { height: 100%; min-height: 60vh; }
  .v2-fp-select { max-width: 150px; }
}

/* ---------- Đội ngũ kiến tạo (creators tabs) ---------- */
@keyframes v2CreatorFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.v2-partners-section { background: var(--surface); }
.v2-title-accent { color: var(--gold); }

.v2-creators { max-width: 1040px; margin: 0 auto; }

/* Tabs */
.v2-creator-tabs {
  display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem 2.5rem;
  border-bottom: 1px solid var(--line-brand); overflow-x: auto;
  -ms-overflow-style: none; scrollbar-width: none;
}
.v2-creator-tabs::-webkit-scrollbar { display: none; }
.v2-creator-tab {
  flex: 0 0 auto; padding: .35rem .25rem 1rem; border: 0; background: transparent; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: .3rem; text-align: center;
  position: relative; transition: .15s;
}
.v2-creator-tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: var(--gold); border-radius: var(--r-pill); transform: scaleX(0); transition: transform .2s ease;
}
.v2-creator-tab.active::after { transform: scaleX(1); }
.v2-creator-tab-name {
  font-weight: 800; font-size: clamp(1rem, 1.6vw, 1.15rem); letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted); transition: color .15s;
}
.v2-creator-tab-role { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); opacity: .8; }
.v2-creator-tab:hover .v2-creator-tab-name { color: var(--brand-2); }
.v2-creator-tab.active .v2-creator-tab-name { color: var(--brand); }
.v2-creator-tab.active .v2-creator-tab-role { color: var(--brand-2); opacity: 1; }

/* Panels */
.v2-creator-panel { display: none; padding-top: 2.5rem; }
.v2-creator-panel.active { display: block; animation: v2CreatorFade .25s ease; }
.v2-creator-role {
    text-align: center;
    color: var(--brand-2);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: 1.1rem;
    margin-bottom: 1.75rem;
}

.v2-creator-main { display: grid; grid-template-columns: 200px 1fr; gap: 2.5rem; align-items: start; }
.v2-creator-logo { border-radius: var(--r-md); overflow: hidden; display: grid; place-items: center;
  background-size: cover; background-position: center;
}
.v2-creator-logo span {
  color: #fff; font-weight: 800; font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.15;
  text-align: center; padding: 0 .75rem; text-shadow: 0 2px 14px rgba(0,0,0,.45);
}
.v2-creator-desc p { color: var(--muted); line-height: 1.8; margin: 0 0 1rem; }
.v2-creator-desc p:last-child { margin-bottom: 0; }

/* Project cards */
.v2-creator-projects {
  display: flex; gap: 1.25rem; margin-top: 2.5rem; padding-bottom: .35rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -ms-overflow-style: none; scrollbar-width: none;
}
.v2-creator-projects::-webkit-scrollbar { display: none; }
/* Không có thanh cuộn -> gợi ý kéo bằng chuột (xem landing.js) */
.v2-creator-projects { cursor: grab; }
.v2-creator-projects.is-dragging { cursor: grabbing; user-select: none; }
.v2-creator-project { flex: 0 0 auto; width: clamp(230px, 24vw, 300px); margin: 0; scroll-snap-align: start; }
.v2-creator-project-img {
  aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden;
  background-size: cover; background-position: center;
}
.v2-creator-project figcaption {
  margin-top: .75rem; text-align: center; color: var(--muted); font-size: .82rem; letter-spacing: .02em;
}

@media (max-width: 600px) {
  /* Cuộn ngang thay vì xuống dòng: flex-wrap mới là thứ vô hiệu hoá overflow-x ở trên */
  .v2-creator-tabs {
    justify-content: flex-start; flex-wrap: nowrap; gap: 1.5rem;
    overscroll-behavior-x: contain;
  }
  .v2-creator-tab-name, .v2-creator-tab-role { white-space: nowrap; }
  .v2-creator-main { grid-template-columns: 1fr; gap: 1.5rem; }
  .v2-creator-logo { max-width: 220px; margin: 0 auto; width: 100%; }
}

/* ---------- Survey wizard ---------- */
.survey-wrap { background: var(--bg-soft); border:1px solid var(--line); border-radius: 18px; padding: 1.8rem; }
.progress-seg { height: 8px; border-radius: 6px; background: var(--line); flex:1; }
.progress-seg.on { background: var(--brand-3); }
.choice-card { border: 2px solid var(--line); border-radius: 12px; padding: 1rem; cursor: pointer; transition: .15s; }
.choice-card:hover { border-color: var(--brand-3); }
.choice-card.selected { border-color: var(--brand-3); background: var(--brand-tint); }
.result-banner { border-radius: var(--r-md); padding: 1rem 1.25rem; font-weight: 600; }
.result-pending { background:#fff7e6; color:#8a6d3b; border:1px solid #ffe7a3; }
.result-ok { background:#e8f5ee; color:#137a44; border:1px solid #a7e0c0; }
.result-fail { background:#fdecea; color:#b42318; border:1px solid #f4b9b3; }

/* ==================================================================
   V2 LOOK — ported from bimnoxh reference (pure CSS, no Tailwind/FA)
   ================================================================== */
.v2-section-shell { position: relative; overflow: hidden; }
/*.v2-section-shell::before {
  content: ''; position: absolute; inset: 1.5rem; border-radius: 3rem; pointer-events: none; z-index: 0;
  background: radial-gradient(circle at 12% 12%, rgba(16,185,129,.14), transparent 24rem),
              radial-gradient(circle at 88% 72%, rgba(217,119,6,.09), transparent 22rem);
}*/
.v2-section-shell > .container { position: relative; z-index: 1; }

.v2-kicker {
  display: inline-flex; align-items: center; gap: .45rem; padding: .48rem .85rem;
  border-radius: var(--r-pill); background: var(--gold-soft); border: 1px solid rgba(245,166,35,.4);
  color: var(--brand); font-weight: 800; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em;
}
.v2-title {
  color: var(--brand-2); letter-spacing: -.038em; line-height: 1.08; font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem); margin: 1.5rem 0;
}
/* Gạch vàng thống nhất dưới mọi tiêu đề section (căn giữa theo header .text-center) */
/*.text-center > .v2-title::after {
  content: ""; display: block; width: 64px; height: 4px; margin: 1rem auto 0;
  border-radius: var(--r-pill); background: var(--gold);
}*/
/* Tổng quan: tông nâu ấm hợp nền kem (chỉ trong #tongquan, các section khác giữ xanh) */
/*#tongquan .v2-title { color: #3d2b23; }
#tongquan .v2-overview-lead { color: #7a6a5f; }*/

/* Stat cards (Tổng quan) */
.v2-stat-card {
  position: relative; overflow: hidden; min-height: 168px; height: 100%; padding: 1.45rem 1.55rem;
  border-radius: var(--r-xl); background: linear-gradient(145deg,var(--surface) 0%,var(--gold-soft) 100%);
  border: 1px solid var(--line-brand); box-shadow: var(--shadow-sm);
}
.v2-stat-card::after {
  content: ''; position: absolute; right: -2.4rem; top: -2.4rem; width: 7rem; height: 7rem;
  border-radius: var(--r-pill); background: rgba(245,166,35,.12);
}
.v2-stat-icon { font-size: 1.4rem; position: relative; z-index: 1; }
.v2-stat-number {
  display: flex; align-items: baseline; flex-wrap: wrap; column-gap: .28rem; position: relative; z-index: 1;
  font-size: clamp(1rem, 3vw, 1.5rem); line-height: .98; font-weight: 900; letter-spacing: -.045em;
  color: var(--brand); font-variant-numeric: tabular-nums;
}
.v2-num-unit { font-size: clamp(0.8rem, 2vw, 1rem); font-weight: 800; letter-spacing: -.02em; }
.v2-stat-label { margin-top: 1rem; font-size: .82rem; line-height: 1.55; font-weight: 700; color: var(--muted); position: relative; z-index: 1; }

/* Overview media (ảnh dự án bên phải) */
.v2-overview-media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line-brand); box-shadow: var(--shadow-md); transition: transform .5s ease; }
.v2-overview-media:hover { transform: rotate(0); }
.v2-overview-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.v2-overview-media:hover img { transform: scale(1.05); }
.v2-overview-fallback { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; text-align: center; padding: 1.5rem; color: #eafff3; background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 60%, var(--brand-3) 100%); }
@media (max-width: 991px) { .v2-overview-media { transform: none; } }

/* Overview facts grid (Tổng quan — lưới chỉ số có đường kẻ ngăn) */
.v2-overview-lead { max-width: 60rem; font-size: 1.02rem; line-height: 1.75; }
/* Lưới chỉ số phẳng, chỉ có đường kẻ dọc ngăn giữa các cột (không khung thẻ) */
.v2-facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
}
.v2-fact {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .55rem;
  text-align: center; padding: 2.4rem 1.6rem; min-height: 150px;
  background: transparent; border-left: 1px solid var(--line-brand);
}
.v2-fact:nth-child(3n+1) { border-left: none; }
.v2-fact-value {
  font-size: clamp(1.05rem, 2vw, 1.2rem); line-height: 1.25; font-weight: 600; letter-spacing: .01em;
  text-transform: uppercase; color: var(--brand-2);
}
.v2-fact-label {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
}
@media (max-width: 991px) {
  .v2-facts { grid-template-columns: repeat(2, 1fr); }
  .v2-fact { border-left: 1px solid var(--line-brand); }
  .v2-fact:nth-child(3n+1) { border-left: 1px solid var(--line-brand); }
  .v2-fact:nth-child(2n+1) { border-left: none; }
}
@media (max-width: 575px) {
  .v2-facts { grid-template-columns: 1fr; }
  .v2-fact { border-left: none; border-top: 1px solid var(--line-brand); }
  .v2-fact:first-child { border-top: none; }
}
/* Tổng quan: lưới chỉ số nằm trong cột 8 → giữ 3 cột, thu gọn padding cho vừa */
@media (min-width: 992px) {
  #tongquan .v2-fact { padding: 2rem 1rem; min-height: 130px; }
  #tongquan .v2-fact-value { font-size: clamp(.95rem, 1.35vw, 1.08rem); }
}

/* Vị trí kết nối — tab dọc bên trái + thẻ ảnh cuộn ngang bên phải */
.v2-loc-fluid { width: 100%; padding-inline: clamp(1rem, 4vw, 3rem); }
.v2-loc-wrap { display: flex; gap: 1.5rem; align-items: stretch; }

/* Cột tab dọc */
.v2-loc-tabs {
  list-style: none; padding: 0; margin: 0; border: 0;
  flex: 0 0 360px; display: flex; flex-direction: column;
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  background: var(--surface); align-self: flex-start;
}
.v2-loc-tabs .nav-item { margin: 0; }
.v2-loc-tab {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  text-align: left; border: 0; border-bottom: 1px solid var(--line-brand); background: var(--surface);
  color: var(--brand-2); font-weight: 800; font-size: .92rem; text-transform: uppercase; letter-spacing: .02em;
  padding: 1.35rem 1.4rem; cursor: pointer; transition: background .25s ease, color .25s ease;
}
.v2-loc-tabs .nav-item:last-child .v2-loc-tab { border-bottom: 0; }
.v2-loc-tab:hover { background: var(--gold-soft); }
.v2-loc-tab.active {
    background: var(--gold);
    color: var(--brand-2);
}
.v2-loc-chev { font-size: 1.3rem; line-height: 1; opacity: .55; transition: transform .25s ease; }
.v2-loc-tab.active .v2-loc-chev { opacity: 1; transform: translateX(3px); }

/* Vùng panes + hàng cuộn ngang */
.v2-loc-panes { flex: 1 1 auto; min-width: 0; }
.v2-loc-scroll {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(82vw, 440px);
  gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .2rem .2rem 1rem;
  scrollbar-width: thin; scroll-padding-inline: .2rem;
}
.v2-loc-card {
  position: relative; scroll-snap-align: start; aspect-ratio: 16 / 9;
  border-radius: var(--r-lg); overflow: hidden; /*box-shadow: var(--shadow-md);*/ background-color: #2a2f36;
  background-image: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.28) 42%, rgba(0,0,0,0) 100%), var(--loc-img);
  background-size: cover; background-position: center; transition: transform .5s ease;
}
.v2-loc-card:hover { transform: translateY(-4px); }
.v2-loc-overlay {
  position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column;
  align-items: flex-start; justify-content: flex-end; gap: .35rem; padding: 1.4rem 1.4rem; color: #fff;
}
.v2-loc-time { display: flex; align-items: baseline; gap: .35rem; line-height: 1; }
.v2-loc-num { font-size: 2.8rem; font-weight: 300; letter-spacing: -.02em; text-shadow: 0 2px 14px rgba(0,0,0,.4); }
.v2-loc-unit { font-size: 1rem; font-weight: 500; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.v2-loc-time--label .v2-loc-unit { font-size: 1.5rem; font-weight: 600; }
.v2-loc-name {
  margin: 0; font-size: 1rem; font-weight: 700; line-height: 1.3; text-transform: uppercase;
  letter-spacing: .02em; text-shadow: 0 2px 12px rgba(0,0,0,.45);
}
@media (max-width: 767px) {
  .v2-loc-wrap { flex-direction: column; }
  .v2-loc-tabs { flex-basis: auto; width: 100%; }
}
/* Desktop: ẩn thanh cuộn nhưng vẫn cuộn được */
@media (min-width: 768px) {
  .v2-loc-wrap .v2-loc-scroll {
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: .2rem;
  }
  .v2-loc-wrap .v2-loc-scroll::-webkit-scrollbar { width: 0; height: 0; display: none; }
  .v2-loc-wrap .v2-loc-scroll::-webkit-scrollbar-track,
  .v2-loc-wrap .v2-loc-scroll::-webkit-scrollbar-thumb { background: transparent; }
  /* Không còn thanh cuộn -> gợi ý kéo bằng chuột (xem landing.js) */
  .v2-loc-wrap .v2-loc-scroll { cursor: grab; }
  .v2-loc-wrap .v2-loc-scroll.is-dragging { cursor: grabbing; user-select: none; }
  .v2-loc-wrap .v2-loc-scroll.is-dragging .v2-loc-card { transform: none; }
}

/* Banner vị trí — ảnh tràn viền, chữ chồng lên phía trên */
.v2-loc-banner {
  position: relative;
  min-height: clamp(1090px, 58vh, 860px);
  background-image:
    linear-gradient(to bottom, rgba(0,0,0,.45) 0%, rgba(0,0,0,.18) 38%, rgba(0,0,0,0) 70%),
    var(--loc-banner);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-start;
}
.v2-loc-banner-inner {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 2.5rem;
  align-items: start;
  padding-top: 3rem;
  color: #fff;
}
.v2-loc-banner-title {
  margin: 0;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: .01em;
  text-shadow: 0 2px 16px rgba(0,0,0,.5);
}
.v2-loc-banner-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  text-shadow: 0 1px 10px rgba(0,0,0,.55);
}
@media (max-width: 767px) {
  .v2-loc-banner { min-height: 0; }
  .v2-loc-banner-inner { grid-template-columns: 1fr; gap: 1.25rem; padding-top: 2rem; padding-bottom: 2rem; }
}

/* Tầm nhìn — cột chữ bên trái, ảnh phối cảnh bên phải */
.v2-view-lead { font-size: 1.05rem; line-height: 1.7; color: var(--ink); }
.v2-view-list { margin: 0; padding-left: 1.25rem; color: var(--ink); }
.v2-view-list li { margin-bottom: .55rem; line-height: 1.55; }
.v2-view-list li::marker { color: var(--brand); }
.v2-view-figure { border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-md); }
.v2-view-figure img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Thiết kế + Tầm nhìn — bố cục full-width, ảnh tràn viền, hai hàng so le */
#thietke { padding: 0; }
#thietke .thietke-figure, #tamnhin .thietke-figure { height: 100%; overflow: hidden; aspect-ratio:16/9 }
#thietke .thietke-figure img, #tamnhin .thietke-figure img { display: block; width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
#thietke .thietke-content, #tamnhin .thietke-content { max-width: 55rem; padding: 3rem 1.5rem; }
@media (min-width: 992px) {
  /* Ảnh cao hơn để tạo nhịp so le giữa hai hàng */
  #thietke .thietke-figure img, #tamnhin .thietke-figure img { min-height: 440px; }
  #thietke .thietke-content, #tamnhin .thietke-content { padding: 3.5rem 4.5rem; }
  /* Hàng 2 lùi xuống, so le với hàng 1 */
  #thietke .thietke-row--offset { margin-top: 3rem; }
}

/* Soft card (Mặt bằng) */
.v2-soft-card { background: var(--surface); border: 1px solid var(--line-brand); border-radius: var(--r-xl); box-shadow: var(--shadow-sm); padding: 1.5rem; height: 100%; }

/* Conditions — horizontal swipe */
.v2-swipe-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: .4rem .2rem 1.2rem;
}
.v2-swipe-card {
  scroll-snap-align: start; min-height: 300px; display: flex; flex-direction: column; justify-content: space-between;
  border-radius: var(--r-lg); padding: 1.6rem; border: 1px solid var(--line-brand);
  background: var(--surface); box-shadow: var(--shadow-sm);
}
.v2-case-index { width: 3.25rem; height: 3.25rem; border-radius: var(--r-md); display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 900; font-size: 1.15rem; }
.v2-case-highlight { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .8rem; border-radius: var(--r-pill); background: var(--gold-soft); color: var(--brand-2); font-size: .72rem; font-weight: 800; border: 1px solid rgba(245,166,35,.4); }
.v2-case-title { color: var(--brand-2); font-size: 1.3rem; line-height: 1.1; font-weight: 900; letter-spacing: -.03em; }
.v2-swipe-hint { display: flex; align-items: center; justify-content: center; gap: .45rem; color: var(--muted); font-size: .78rem; font-weight: 700; }
.v2-swipe-hint span { width: 2rem; height: 1px; background: currentColor; opacity: .5; }

/* Process flow — 5-col grid (10 cards = 2 rows x 5) */
.v2-flow { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 1rem; }
.v2-flow-card { position: relative; padding: 1rem; min-height: 168px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-brand); box-shadow: var(--shadow-sm); }
.v2-flow-step { display: flex; align-items: center; justify-content: space-between; margin-bottom: .9rem; }
.v2-flow-num { width: 2.55rem; height: 2.55rem; display: grid; place-items: center; border-radius: var(--r-md); background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 900; }
.v2-flow-chip { font-size: .6rem; font-weight: 800; color: var(--brand); background: var(--brand-tint); border: 1px solid var(--line-brand); padding: .3rem .48rem; border-radius: var(--r-pill); }
.v2-flow-card h5 { font-size: .9rem; line-height: 1.22; color: var(--brand-2); font-weight: 800; margin: 0; }
.v2-flow-card p { font-size: .72rem; line-height: 1.5; color: var(--muted); margin-top: .45rem; margin-bottom: 0; }

/* Amenity card upgrade */
.custom-card { border-radius: var(--r-lg); transition: transform .3s ease, box-shadow .3s ease; }
.custom-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* Survey wizard — v2 polish (giữ nguyên id/class/data-attr cho landing.js) */
.survey-wrap {
  background: var(--surface);
  border: 1px solid var(--line-brand); border-radius: var(--r-xl); box-shadow: var(--shadow-md);
  padding: clamp(1.2rem, 2.4vw, 2.2rem);
}
.progress-seg { height: .55rem; border-radius: var(--r-pill); background: var(--line); }
.progress-seg.on { background: linear-gradient(90deg, var(--brand), var(--brand-3)); }
.choice-card { border: 1px solid var(--line-brand); border-radius: var(--r-md); padding: 1rem; background: var(--surface); display: flex; align-items: center; gap: .65rem; cursor: pointer; }
.choice-card .form-check-input { pointer-events: none; flex-shrink: 0; margin: 0; }
.choice-card .form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.choice-card:hover { border-color: var(--brand-3); background: var(--brand-tint); }
.choice-card.selected { border-color: var(--brand); background: var(--brand-tint); box-shadow: 0 6px 18px rgba(11,60,38,.1); }

/* V2 responsive */
@media (max-width: 1200px) { .v2-flow { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 1023px) {
  .v2-section-shell::before { inset: .75rem; border-radius: 2rem; }
  .v2-flow { grid-template-columns: repeat(2, minmax(0,1fr)); gap: .75rem; }
  .v2-swipe-row { grid-auto-columns: minmax(82vw, 86vw); }
}
@media (max-width: 640px) {
  .v2-flow { grid-template-columns: 1fr; }
  .v2-flow-card { min-height: auto; }
  .v2-kicker { white-space: normal; text-align: center; }
}

/* ---------- Tin tức (news) ---------- */
.v2-news-head { margin-bottom: 2.5rem; }
.v2-news-head .v2-title { margin-top: 0; }

.v2-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }

.v2-news-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-brand); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.v2-news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.v2-news-thumb { aspect-ratio: 16 / 10; background-size: cover; background-position: center; }

.v2-news-body { flex: 1; display: flex; flex-direction: column; gap: .65rem; padding: 1.25rem 1.35rem 1.5rem; }

.v2-news-meta { display: flex; align-items: center; gap: .6rem; font-size: .72rem; }
.v2-news-date { color: var(--muted); }
.v2-news-chip { color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }

.v2-news-title {
  margin: 0; color: var(--brand-2); font-weight: 700; font-size: 1.15rem; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.v2-news-excerpt {
  margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.v2-news-more { margin-top: auto; align-self: flex-start; color: var(--gold); font-weight: 700; font-size: .8rem; letter-spacing: .03em; transition: color .15s; }
.v2-news-more:hover { color: var(--brand-2); }

@media (max-width: 1023px) { .v2-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .v2-news-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background-color: #faa33f; background-image: url('../images/pattern.png'), linear-gradient(to top, #faa33f, #fff8a9); background-repeat: no-repeat, no-repeat; background-position: top right, center; background-size: 10% auto, cover; color: rgba(255,255,255,.82); padding: 3rem 0 1.5rem; }
@media (max-width: 767px) { .site-footer { background-size: 130px auto, cover; } }
.site-footer a {
    color: #7f4a27;
    text-decoration: none;
}
.site-footer a:hover { text-decoration: underline; }

.footer-logo { max-height: 72px; width: auto; margin-bottom: 1.25rem; }

.footer-heading {
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .8rem;
    font-weight: 700;
    color: #7f4a27;
    padding-top: .75rem;
    margin-bottom: 1.1rem;
    position: relative;
}
.footer-heading::before { content: ""; position: absolute; top: 0; left: 0; width: 40px; height: 3px; background: var(--brand-2); }

.footer-info-row { display: flex; gap: 1rem; margin-bottom: .9rem; font-size: .95rem; line-height: 1.5; }
.footer-label {
    flex: 0 0 88px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .72rem;
    font-weight: 600;
    color: #7f4a27;
    padding-top: .12rem;
}
.footer-value {
    flex: 1 1 auto;
    color: #7f4a27;
}
.footer-hotline { font-weight: 700; font-size: 1.05rem; letter-spacing: .02em; }

.footer-social-row { display: flex; gap: .6rem; }
.footer-social { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; background: rgba(255,255,255,.1); color: #fff; transition: background .15s ease; }
.footer-social:hover { background: var(--brand-3); text-decoration: none; }
.footer-social svg { width: 18px; height: 18px; }

.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.15); font-size: .82rem; color: #000; }

/* Ẩn hộp validation summary khi không có lỗi */
.validation-summary-valid { display: none; }

/* Lỗi validation cấp field của ASP.NET */
.field-validation-error { color: #dc2626; font-size: .85rem; font-weight: 600; display: block; margin-top: .25rem; }
.input-validation-error { border-color: #fca5a5 !important; background: #fef2f2 !important; }

/* ---------- Auth ---------- */
.auth-card { max-width: 560px; margin: 2.5rem auto; border:1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 40px rgba(11,60,38,.1); }
.idcard-preview { max-height: 220px; border-radius: 10px; border:1px solid var(--line); }
/* Overlay phải nổi trên modal (z-index 1055) + backdrop (1050) của Bootstrap. */
.auth-loading-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; }

/* ---------- Portal ---------- */
.portal-nav { background: var(--brand-3); color:#fff; }
.portal-nav a, .portal-nav .nav-link { color:#eafff3; }
.portal-nav-logo { width: 80px; }
.portal-nav-brand { margin-left: 20px; }
.portal-nav-title { font-weight: 700; }
.portal-nav-toggler { color:#eafff3; border:1px solid rgba(255,255,255,.35); line-height: 1; }
.portal-nav-toggler:hover { color:#fff; background: rgba(255,255,255,.12); }
.portal-notif-menu { width: min(340px, calc(100vw - 1.5rem)); max-height: 420px; overflow: auto; }
.portal-offcanvas { background: var(--brand-2); color:#eafff3; }
.portal-offcanvas .nav-link { color:#cfe9dc; padding: .6rem .25rem; }
.portal-offcanvas .nav-link:hover { color:#fff; }
@media (max-width: 991px) {
  .portal-nav .container { gap: .5rem; }
  .portal-nav-logo { width: 52px; }
  .portal-nav-brand { margin-left: 0; min-width: 0; }
  .portal-nav-title { font-size: .9rem; line-height: 1.25; }
}
@media (max-width: 575px) {
  .portal-nav-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}
.stage-card { border:1px solid var(--line); border-radius: 12px; padding: 1rem; background:#fff; opacity:.5; height:100%; }
.stage-card.active { opacity:1; border-color: var(--brand-3); box-shadow: 0 8px 20px rgba(11,60,38,.12); }
.stage-card.done { opacity:1; }
.stage-card.failed { opacity:1; border-color:#e11d48; }
.stage-num { width:34px;height:34px;border-radius:50%;background:#cbd5e1;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;}
.stage-card.active .stage-num, .stage-card.done .stage-num { background: var(--brand-3); }
.stage-card.failed .stage-num { background:#e11d48; }
.step-menu .list-group-item.active { background: var(--brand-3); border-color: var(--brand-3); }
.step-menu .step-locked { cursor: not-allowed; opacity: .6; }

/* ---------- Portal: Bước 7 - Danh mục hồ sơ ---------- */
.doc-table th { font-size: .85rem; text-transform: uppercase; letter-spacing: .3px; color: var(--muted); }
.doc-name { font-weight: 600; color: var(--ink); }
.doc-file-list { display: flex; flex-direction: column; gap: .4rem; }
.doc-file-chip { display: flex; align-items: center; gap: .4rem; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; padding: .3rem .55rem; }
.doc-file-name { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .82rem; color: var(--ink); }
.doc-file-action { border: 0; background: none; padding: 0; line-height: 1; font-size: .95rem; color: var(--muted); }
.doc-file-action:hover { color: var(--brand-3); }
.doc-file-action-danger:hover { color: #dc2626; }
.doc-upload-input:focus-visible + label,
.doc-upload-input:focus + label { outline: 2px solid var(--brand-3); outline-offset: 2px; }

/* ---------- Back-office (Admin) ---------- */
.admin-wrap { display: flex; min-height: 100vh; }
.admin-sidebar { width: 250px; flex-shrink: 0; background: var(--brand-2); color: #eafff3; }
.admin-sidebar .brand { padding: 1rem 1.1rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.admin-sidebar .nav-link { color: #cfe9dc; padding: .6rem 1.1rem; border-radius: 0; display: flex; gap: .55rem; align-items: center; }
.admin-sidebar .nav-link:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-sidebar .nav-link.active { background: var(--brand-3); color: #fff; font-weight: 600; }
.admin-sidebar .nav-section { padding: .8rem 1.1rem .3rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .6px; color: rgba(255,255,255,.45); }
.admin-main { flex: 1; min-width: 0; background: var(--bg-soft); display: flex; flex-direction: column; }
.admin-topbar { background: #fff; border-bottom: 1px solid var(--line); padding: .65rem 1.25rem; }
.admin-content { padding: 1.25rem; }
.admin-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.admin-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; }

/* Thẩm định: card hồ sơ kéo-thả */
.ap-card { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: .7rem .85rem; cursor: grab; }
.ap-card:active { cursor: grabbing; }
.ap-card.selected { border-color: var(--brand-3); box-shadow: 0 6px 16px rgba(11,60,38,.12); }
.ap-card.dragging { opacity: .5; }

/* ============================================================
   Trang "Về Marina Living" (VeMarinaLiving)
   ============================================================ */

/* Hero — dùng chung layout .hero của trang chủ, chỉ đổi ảnh nền */
.vml-hero { --hero-img: url('/images/gettyimages_medium_1135403746.jpg'); }

/* Giới thiệu */
.vml-body-text { font-size: 1.02rem; line-height: 1.85; color: #4b4038; }
.vml-body-text + .vml-body-text { margin-top: 1.1rem; }

/* Sidebar tin */
.vml-news { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.vml-news-tabs { display: flex; gap: 1.25rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.vml-news-tab { font-weight: 800; color: var(--muted); font-size: .95rem; cursor: default; }
.vml-news-tab.is-active { color: var(--brand-2); border-bottom: 3px solid var(--gold); padding-bottom: .35rem; }
.vml-news-list { display: flex; flex-direction: column; }
.vml-news-item { display: flex; gap: .85rem; padding: 1rem 1.25rem; text-decoration: none; border-top: 1px solid var(--line); transition: background .15s; }
.vml-news-item:first-child { border-top: 0; }
.vml-news-item:hover { background: var(--brand-tint); }
.vml-news-thumb { flex: 0 0 84px; width: 84px; height: 64px; border-radius: var(--r-sm); background-size: cover; background-position: center; }
.vml-news-info { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.vml-news-title { font-size: .9rem; font-weight: 600; line-height: 1.35; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vml-news-item:hover .vml-news-title { color: var(--brand-2); }
.vml-news-meta { font-size: .74rem; color: var(--muted); }

/* Tầm nhìn — dải ảnh Vịnh Hạ Long có chữ đè */
.vml-vision {
    position: relative;
    background-image: url('/images/dl.beatsnoop.com-final-PsFbDROh5n.jpg');
    background-size: cover;
    background-position: center;
    min-height: clamp(920px, 90vh, 840px);
}
.vml-vision-overlay { padding: 3.5rem 0; }
.vml-vision-text {
  max-width: 56rem; margin: 0 auto; text-align: center;
  font-size: 1.05rem; line-height: 1.85; color: #2b2620; font-weight: 500;
}

/* Hệ giá trị MARINA — mosaic so le, tràn màn hình */
.vml-giatri-inner { padding-inline: clamp(1rem, 4vw, 4rem); }
.vml-values-grid { column-count: 2; column-gap: 1.75rem; }
.vml-value-card {
  break-inside: avoid; margin: 0 0 1.75rem; overflow: hidden;
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm); background: #fff;
}
.vml-value-card.vml-tone-cream { background: var(--surface-cream); }
.vml-value-card.vml-tone-mint { background: #d7ebe0; }
.vml-value-card.vml-tone-olive { background: #dfe4bf; }
.vml-value-figure { height: 200px; background-size: cover; background-position: center; }
.vml-value-body { padding: 3rem 1.6rem; }
.vml-value-head { display: flex; align-items: baseline; gap: .4rem; margin-bottom: .6rem; }
.vml-value-letter { font-size: 3rem; font-weight: 900; line-height: 1; color: var(--ink); }
.vml-value-name { font-size: 1.15rem; font-weight: 800; color: var(--ink); }
.vml-value-heading { font-size: 1.02rem; font-weight: 700; color: var(--brand-2); margin: 0 0 .5rem; }
.vml-value-text { font-size: .92rem; line-height: 1.7; color: #4b4038; margin: 0; }

/* Thẻ feature — ảnh trên, chữ dưới (cao) */
.vml-value-card--feature .vml-value-figure { height: clamp(220px, 22vw, 380px); }

/* Thẻ đầu tiên — chữ trên, ảnh dưới; nội dung căn lề phải */
.vml-values-grid > .vml-value-card:first-child { display: flex; flex-direction: column-reverse; }
.vml-values-grid > .vml-value-card:first-child .vml-value-head { justify-content: flex-end; }
.vml-values-grid > .vml-value-card:first-child .vml-value-heading,
.vml-values-grid > .vml-value-card:first-child .vml-value-text { text-align: right; }

/* Thẻ compact — chữ trái, ảnh nhỏ phải (thấp) */
.vml-value-card--compact { display: grid; grid-template-columns: 1fr minmax(38%, 42%); }
.vml-value-card--compact .vml-value-figure { height: 100%; min-height: 190px; }
.vml-value-card--compact .vml-value-body { order: -1; }

/* Biến thể compact — ảnh nhỏ trái, chữ phải */
.vml-value-card--img-left { grid-template-columns: minmax(38%, 42%) 1fr; }
.vml-value-card--img-left .vml-value-body { order: 0; }

@media (max-width: 991px) {
  .vml-values-grid { column-count: 1; }
  .vml-value-card--compact { grid-template-columns: 1fr; }
  .vml-value-card--compact .vml-value-figure { min-height: 200px; }
  .vml-value-card--compact .vml-value-body { order: 0; }
  .vml-vision { min-height: auto; }
}

/* Slideshow tự động */
.vml-gallery { padding-bottom: 2.5rem; background: #fff; }
.vml-gallery-stage { position: relative; width: 100%; aspect-ratio: 16 / 7; background: #0b1c14; overflow: hidden; }
.vml-gallery-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.vml-gallery-slide.is-active { opacity: 1; }
.vml-gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: 1.5rem; }
.vml-gallery-thumb { padding: 0; border: 0; background: none; border-radius: var(--r-md); overflow: hidden; cursor: pointer; line-height: 0; box-shadow: var(--shadow-sm); position: relative; transition: transform .15s; }
.vml-gallery-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; opacity: .72; transition: opacity .2s; }
.vml-gallery-thumb:hover img { opacity: 1; }
.vml-gallery-thumb.is-active { outline: 3px solid var(--gold); outline-offset: 0; }
.vml-gallery-thumb.is-active img { opacity: 1; }
@media (max-width: 640px) {
  .vml-gallery-stage { aspect-ratio: 4 / 3; }
  .vml-gallery-thumbs { grid-template-columns: repeat(3, 1fr); gap: .6rem; }
}

/* Một mái nhà an tâm */
.vml-antam-title { font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.3; color: var(--ink); margin-bottom: 1.4rem; }
.vml-antam-actions { margin-top: 1.75rem; }
.vml-antam-btn { display: inline-flex; flex-direction: column; align-items: center; gap: .15rem; line-height: 1.25; text-align: center; padding: .85rem 2rem; }
.vml-antam-btn-sub { font-size: .95rem; font-weight: 600; }
.vml-antam-btn-main { font-size: 1.15rem; font-weight: 800; letter-spacing: .02em; }
.vml-antam-home { display: inline-block; margin-top: 1.1rem; color: var(--brand-2); font-weight: 600; text-decoration: none; }
.vml-antam-home:hover { color: var(--gold); text-decoration: underline; }

.vml-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.vml-collage-col { display: flex; flex-direction: column; gap: 1rem; }
.vml-collage-col--offset { margin-top: 2.5rem; }
.vml-collage-item { width: 100%; border-radius: var(--r-md); background-size: cover; background-position: center; box-shadow: var(--shadow-sm); aspect-ratio: 4 / 3; }
.vml-collage-col .vml-collage-item:nth-child(2) { aspect-ratio: 3 / 4; }
@media (max-width: 575px) {
  .vml-collage-col--offset { margin-top: 0; }
}

/* Nút lên đầu trang — cố định góc phải dưới */
.back-to-top {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 1030;
  width: 46px; height: 46px; padding: 0; border: 0; border-radius: var(--r-pill);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-2); color: var(--brand); box-shadow: var(--shadow-sm);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background-color .2s ease;
}
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top:hover { background: var(--gold); color: #fff; }
.back-to-top:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
@media (max-width: 575px) {
  .back-to-top { right: 1rem; bottom: 1rem; width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: none; }
}
