/* ============ TT GENESIS — Minimal flat design ============ */
:root {
  --navy: #14235a;
  --accent: #e04e56;
  --ink: #22283a;
  --muted: #6b7280;
  --line: #e5e9f2;
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --radius: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { width: min(1140px, 92%); margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 6px;
  font-weight: 600; font-size: 15px; cursor: pointer;
  border: none; transition: background .25s, color .25s, border-color .25s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #c93f47; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #0e1a45; }
.btn-outline { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s, border-color .3s, padding .3s;
  padding: 18px 0; border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: #fff; border-bottom-color: var(--line); padding: 12px 0; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand img { height: 36px; width: auto; }
.brand .logo-dark { display: none; }
.site-header.scrolled .logo-dark { display: block; }
.site-header.scrolled .logo-light { display: none; }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: #fff; padding: 4px 0; border-bottom: 2px solid transparent; transition: border-color .25s, color .25s; }
.site-header.scrolled .nav-links a { color: var(--ink); }
.nav-links a:hover, .nav-links a.active { border-bottom-color: var(--accent); }
.nav-cta { white-space: nowrap; padding: 10px 20px; font-size: 14px; }
.header-hotline {
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
  color: #fff; transition: color .3s;
}
.site-header.scrolled .header-hotline { color: var(--navy); }
.header-hotline .hotline-ico {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.5); font-size: 14px; flex-shrink: 0; transition: border-color .3s;
}
.site-header.scrolled .header-hotline .hotline-ico { border-color: var(--line); }
.header-hotline .hotline-info { display: flex; flex-direction: column; line-height: 1.25; }
.header-hotline .hotline-info small { font-size: 10.5px; font-weight: 500; color: inherit; opacity: .75; text-transform: uppercase; letter-spacing: .04em; }
.header-hotline .hotline-info { font-size: 15px; font-weight: 700; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 6px 0; background: #fff; transition: .3s; }
.site-header.scrolled .nav-toggle span { background: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  background: url("../assets/img/hero-towers.jpg") center/cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(14, 22, 52, .72); }
.hero-inner { position: relative; z-index: 2; padding: 150px 0 90px; }
.hero-badge {
  display: inline-block; 
  color: #fff; font-size: 12.5px; font-weight: 500; letter-spacing: .14em;
  padding: 8px 18px; text-transform: uppercase;
}
.hero h1 {
  margin: 26px 0 14px; color: #fff; font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.12; font-weight: 700; letter-spacing: -0.01em;
}
.hero .tagline { color: #d4ddf0; font-size: clamp(16px, 2vw, 19px); font-weight: 400; max-width: 620px; }
.hero .tagline strong { color: #fff; font-weight: 600; }
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 870px;
}
.stat-card { padding: 20px 22px; color: #fff; }
.stat-card:last-child { border-right: none; }
.stat-card .num { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; }
.stat-card .num span { font-size: .55em; font-weight: 500; margin-left: 3px; color: #c3cde8; }
.stat-card .lbl { font-size: 12.5px; color: #aab7d9; margin-top: 2px; }

/* ---------- Section scaffolding ---------- */
section { padding: 96px 0; position: relative; }
.sec-alt { background: var(--bg-alt); }
.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.kicker {
  display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.sec-title { font-size: clamp(26px, 3.6vw, 40px); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; color: var(--navy); }
.sec-desc { margin-top: 16px; color: var(--muted); font-size: 16px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

/* ---------- Overview table ---------- */
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.overview-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.overview-table th, .overview-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.overview-table th { color: var(--muted); font-weight: 500; width: 38%; white-space: nowrap; }
.overview-table td { color: var(--ink); font-weight: 500; }
.overview-table tr:first-child th, .overview-table tr:first-child td { border-top: 2px solid var(--navy); }
.pillar-list { display: grid; gap: 0; border-top: 2px solid var(--navy); }
.pillar { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; gap: 18px; }
.pillar .no { font-size: 14px; font-weight: 600; color: var(--accent); padding-top: 3px; }
.pillar h3 { font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 5px; }
.pillar p { font-size: 14.5px; color: var(--muted); }
.towers-grid { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tower-card { border: 1px solid var(--line); background: #fff; }
.tower-card .tower-img { height: 240px; overflow: hidden; }
.tower-card .tower-img img { width: 100%; height: 100%; object-fit: cover; }
.tower-card .tower-body { padding: 26px 28px; }
.tower-card .tower-name { font-size: 22px; font-weight: 700; color: var(--navy); }
.tower-card .tower-name em { font-style: normal; font-weight: 400; font-size: 14px; color: var(--muted); margin-left: 10px; }
.tower-card p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }
.jv-band { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.jv-band img { border: 1px solid var(--line); }
.jv-band h3 { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 18px; }
.jv-list { list-style: none; border-top: 2px solid var(--navy); }
.jv-list li { display: flex; gap: 14px; font-size: 14.5px; color: var(--muted); padding: 13px 0; border-bottom: 1px solid var(--line); }
.jv-list li strong { color: var(--ink); }
.jv-list .jv-logo { min-width: 92px; display: flex; align-items: center; }
.jv-list .jv-logo img { max-width: 88px; max-height: 34px; width: auto; object-fit: contain; }

/* ---------- Location ---------- */
.location-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.map-frame { position: relative; border: 1px solid var(--line); }
.map-frame img { width: 100%; }
.map-chip {
  position: absolute; left: 0; bottom: 0;
  background: var(--navy); color: #fff; font-weight: 500; font-size: 13px;
  padding: 10px 18px;
}
.quote-strip {
  padding: 18px 22px; border-left: 3px solid var(--accent);
  background: var(--bg-alt);
  font-weight: 600; font-size: 16.5px; color: var(--navy);
}
.minute-list { display: grid; gap: 0; margin-top: 26px; border-top: 2px solid var(--navy); }
.minute-card { display: flex; gap: 22px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.minute-num { min-width: 78px; font-size: 30px; font-weight: 700; color: var(--navy); line-height: 1.1; }
.minute-num small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--accent); }
.minute-card p { font-size: 14.5px; color: var(--muted); }
.minute-card p strong { color: var(--ink); }
.infra { margin-top: 30px; }
.infra h3 { font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 12px; }
.infra ul { list-style: none; display: grid; gap: 9px; }
.infra li { font-size: 14px; color: var(--muted); padding-left: 18px; position: relative; }
.infra li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.infra li strong { color: var(--ink); font-weight: 600; }

/* ---------- Amenities ---------- */
.amenity-meta { display: flex; gap: 0; margin: 0 auto 40px; max-width: 720px; border: 1px solid var(--line); }
.meta-pill { flex: 1; text-align: center; padding: 18px 12px; border-right: 1px solid var(--line); background: #fff; }
.meta-pill:last-child { border-right: none; }
.meta-pill b { display: block; font-size: 24px; font-weight: 700; color: var(--navy); }
.meta-pill span { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.amenity-tabs { display: flex; gap: 10px; margin-bottom: 34px; flex-wrap: wrap; justify-content: center; }
.amenity-tab {
  padding: 11px 26px; font-weight: 600; font-size: 14px;
  background: #fff; color: var(--muted); border: 1px solid var(--line); cursor: pointer; transition: .25s;
  border-radius: 6px;
}
.amenity-tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.amenity-panel { display: none; }
.amenity-panel.active { display: block; animation: fadeUp .45s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
.amenity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.amenity-card { background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--navy); padding: 28px; }
.amenity-card .no { font-size: 13px; font-weight: 600; color: var(--accent); }
.amenity-card h3 { font-size: 16.5px; font-weight: 600; color: var(--navy); margin: 10px 0 8px; }
.amenity-card p { font-size: 14px; color: var(--muted); }
.gallery { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 175px; gap: 12px; }
.g-item { position: relative; overflow: hidden; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.g-item:hover img { transform: scale(1.05); }
.g-item .cap {
  position: absolute; left: 0; bottom: 0; padding: 8px 14px;
  background: rgba(14,22,52,.85); color: #fff; font-size: 12px; font-weight: 500;
}
.g-item.wide { grid-column: span 2; }
.g-item.tall { grid-row: span 2; }

/* ---------- Apartments ---------- */
.apt-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 56px; }
.hl-card { border: 1px solid var(--line); border-top: 2px solid var(--accent); padding: 28px; background: #fff; }
.hl-card b { font-size: 26px; display: block; margin-bottom: 6px; color: var(--navy); font-weight: 700; }
.hl-card span { font-size: 14px; color: var(--muted); }
.plan-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.plan-tab {
  padding: 10px 22px; font-weight: 600; font-size: 14px; border-radius: 6px;
  background: #fff; border: 1px solid var(--line); color: var(--muted); cursor: pointer; transition: .25s;
}
.plan-tab.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.plan-view { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.plan-img { border: 1px solid var(--line); background: #fff; }
.plan-img img { display: none; }
.plan-img img.active { display: block; animation: fadeUp .4s ease; }
.plan-info h3 { font-size: 24px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.plan-info .area { font-size: 14.5px; color: var(--muted); margin-bottom: 20px; }
.plan-info .area b { color: var(--accent); font-size: 17px; }
.plan-feats { list-style: none; display: grid; gap: 10px; }
.plan-feats li { font-size: 14px; color: var(--muted); padding-left: 20px; position: relative; }
.plan-feats li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.handover { margin-top: 72px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.handover-img { border: 1px solid var(--line); }
.handover h3 { font-size: clamp(22px, 2.6vw, 30px); }
.brand-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.brand-tags span {
  border: 1px solid var(--line); padding: 7px 16px;
  font-weight: 600; font-size: 13px; color: var(--navy); background: #fff;
}

/* ---------- Pricing ---------- */
.price-table-wrap { overflow-x: auto; margin-bottom: 18px; }
.price-table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: #fff; }
.price-table th {
  background: var(--navy); color: #fff; font-weight: 600; text-align: left;
  padding: 14px 16px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
}
.price-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--ink); }
.price-table td:first-child { font-weight: 600; color: var(--navy); }
.price-table td .hl { color: var(--accent); font-weight: 700; }
.price-note { font-size: 13px; color: var(--muted); font-style: italic; }
.pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.pay-card { border: 1px solid var(--line); border-top: 2px solid var(--navy); padding: 26px; background: #fff; }
.pay-card .no { font-size: 13px; font-weight: 600; color: var(--accent); }
.pay-card h4 { font-size: 16px; font-weight: 600; color: var(--navy); margin: 10px 0 8px; }
.pay-card p { font-size: 14px; color: var(--muted); }
.process { margin-top: 56px; }
.process h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 26px; }
.process-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border-top: 2px solid var(--navy); }
.process-step { padding: 20px 16px 0 0; border-right: 1px solid var(--line); padding-right: 16px; }
.process-step:last-child { border-right: none; }
.process-step .no { font-size: 13px; font-weight: 700; color: var(--accent); }
.process-step h5 { font-size: 14px; font-weight: 600; color: var(--navy); margin: 6px 0 4px; }
.process-step p { font-size: 12.5px; color: var(--muted); }

/* ---------- Roadmap ---------- */
.legal-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-bottom: 72px; border: 1px solid var(--line); }
.legal-step { padding: 24px 20px; border-right: 1px solid var(--line); background: #fff; }
.legal-step:last-child { border-right: none; }
.legal-step .no { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.legal-step h4 { font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.4; margin-bottom: 12px; min-height: 40px; }
.legal-step .tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border: 1px solid var(--navy); color: var(--navy); }
.legal-step.hot { background: var(--navy); }
.legal-step.hot .no { color: rgba(255,255,255,.6); }
.legal-step.hot h4 { color: #fff; }
.legal-step.hot .tag { border-color: var(--accent); background: var(--accent); color: #fff; }
/* ---------- News / press section ---------- */
.news-section { margin-top: 8px; }
.news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.news-title { font-size: 24px; font-weight: 700; color: var(--navy); margin-top: 8px; }
.see-all { font-size: 14px; font-weight: 600; color: var(--accent); white-space: nowrap; transition: opacity .25s; }
.see-all:hover { opacity: .7; }

.news-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin-bottom: 24px; }

.news-featured { display: block; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: box-shadow .3s, transform .3s; }
.news-featured:hover { box-shadow: 0 20px 40px rgba(20,35,90,.1); transform: translateY(-3px); }
.news-featured-img { position: relative; height: 260px; overflow: hidden; }
.news-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-featured:hover .news-featured-img img { transform: scale(1.06); }
.news-featured-body { padding: 26px 28px 28px; }
.news-featured-body h4 { font-size: 21px; font-weight: 700; color: var(--navy); line-height: 1.35; margin: 8px 0 10px; transition: color .25s; }
.news-featured:hover .news-featured-body h4 { color: var(--accent); }
.news-featured-body p { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
.news-link { font-size: 13.5px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.news-link i { font-style: normal; transition: transform .25s; }
.news-featured:hover .news-link i { transform: translateX(4px); }

.news-side { display: flex; flex-direction: column; gap: 24px; }

.news-grid-bottom { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.news-card { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: box-shadow .3s, transform .3s; }
.news-side .news-card { flex: 1; }
.news-grid-bottom .news-card { flex-direction: column; }
.news-card:hover { box-shadow: 0 16px 32px rgba(20,35,90,.09); transform: translateY(-3px); }
.news-card-img { position: relative; overflow: hidden; flex-shrink: 0; }
.news-side .news-card-img { width: 130px; }
.news-grid-bottom .news-card-img { height: 160px; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-card-img img { transform: scale(1.08); }
.news-card-body { padding: 14px 16px 14px 0; display: flex; flex-direction: column; justify-content: center; }
.news-grid-bottom .news-card-body { padding: 16px 18px 20px; }
.news-card-body h4 { font-size: 14.5px; font-weight: 600; color: var(--navy); line-height: 1.4; margin: 6px 0 8px; transition: color .25s; }
.news-card:hover .news-card-body h4 { color: var(--accent); }

.news-tag {
  display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; background: var(--accent); padding: 4px 10px; border-radius: 3px;
}
.news-featured-img .news-tag { position: absolute; left: 16px; bottom: 16px; }
.news-tag.alt { background: var(--navy); color: #fff; }
.news-date { font-size: 11.5px; color: var(--muted); font-weight: 500; }
.wow-banner { margin-top: 72px; position: relative; min-height: 280px; display: flex; align-items: center; background: center/cover no-repeat; }
.wow-banner::before { content: ""; position: absolute; inset: 0; background: rgba(14,22,52,.78); }
.wow-inner { position: relative; z-index: 2; padding: 48px; max-width: 520px; }
.wow-inner h3 { font-size: 26px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.wow-inner p { color: #c3cde8; font-size: 14.5px; margin-bottom: 22px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact-info h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; color: var(--navy); line-height: 1.25; margin-bottom: 16px; }
.contact-info h2 em { font-style: normal; color: var(--accent); }
.contact-info p { color: var(--muted); margin-bottom: 28px; }
.contact-points { list-style: none; border-top: 2px solid var(--navy); }
.contact-points li { font-size: 14.5px; color: var(--muted); padding: 13px 0; border-bottom: 1px solid var(--line); }
.contact-points li strong { color: var(--ink); font-weight: 600; }
.contact-form { background: #fff; border: 1px solid var(--line); padding: 38px; }
.contact-form h3 { font-size: 21px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.contact-form .sub { font-size: 13.5px; color: var(--muted); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input:not([type=checkbox]), .contact-form select {
  width: 100%; padding: 12px 15px; margin-bottom: 14px;
  border: 1px solid var(--line); border-radius: 6px; font-size: 14.5px;
  font-family: inherit; color: var(--ink); background: #fff; transition: border-color .25s;
}
.contact-form input:focus, .contact-form select:focus { outline: none; border-color: var(--navy); }
.contact-form .btn { width: 100%; justify-content: center; }
.form-note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 12px; }
.form-response { display: none; margin-top: 12px; padding: 10px 14px; border-radius: 6px; font-size: 13px; text-align: center; }
.form-response.show { display: block; }
.form-response.success { background: #e6f4ea; color: #1e7e34; }
.form-response.error { background: #fdecea; color: #b3261e; }

/* ---------- Form checkbox chips (multi-select interest) ---------- */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.checkbox-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-check { position: relative; cursor: pointer; display: inline-flex; }
.chip-check input { position: absolute; opacity: 0; width: 0; height: 0; margin: 0; }
.chip-check span {
  display: inline-flex; align-items: center; padding: 8px 15px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--ink);
  background: #fff; transition: background .2s, border-color .2s, color .2s;
}
.chip-check input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip-check input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #9fadd3; padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 44px; align-items: start; margin-bottom: 40px; }
.site-footer img { height: 38px; margin-bottom: 18px; }
.site-footer p { font-size: 13.5px; line-height: 1.7; }
.site-footer h4 { color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer li { font-size: 13.5px; }
.site-footer a { transition: color .25s; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding-top: 22px; font-size: 12.5px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.footer-contact { margin-top: 18px; gap: 11px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.footer-contact .ico { flex-shrink: 0; opacity: .85; }
.footer-contact a { color: #fff; font-weight: 600; }
.footer-social { margin-top: 20px; display: flex; gap: 10px; }
.social-ico {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px;
  background: #0068ff; color: #fff !important; font-size: 13px; font-weight: 700;
  border-radius: 999px; transition: background .25s, transform .25s;
}
.social-ico:hover { background: #0052cc; transform: translateY(-2px); }
.social-ico::before { font-family: "Font Awesome 6 Free"; font-weight: 900; content: "\f4ad"; font-size: 13px; }

/* ---------- Floating support (call / zalo / messenger) ---------- */
.floating-support {
  position: fixed; right: 24px; bottom: 96px; z-index: 90;
  display: flex; flex-direction: column; gap: 12px;
}
.fs-btn {
  position: relative; width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 8px 20px rgba(20,35,70,.25);
  transition: transform .25s;
}
.fs-btn:hover { transform: scale(1.08); }
.fs-icon { font-size: 18px; }
.fs-call { background: var(--navy); }
.fs-zalo { background: #0068ff; }
.fs-zalo .fs-icon, .fs-messenger .fs-icon { font-size: 13px; }
.fs-messenger { background: #0084ff; }
.fs-tip {
  position: absolute; right: 62px; top: 50%; transform: translateY(-50%) translateX(6px);
  background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 500;
  padding: 7px 14px; border-radius: 6px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.fs-btn:hover .fs-tip { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ---------- Lightbox (gallery viewer) ---------- */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(10,14,28,.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.lightbox-overlay.open { opacity: 1; pointer-events: auto; }
.lb-stage { position: relative; max-width: min(1100px, 88vw); max-height: 84vh; display: flex; flex-direction: column; align-items: center; }
.lb-stage img {
  max-width: 100%; max-height: 74vh; object-fit: contain; border-radius: 4px;
  opacity: 0; transform: scale(.97); transition: opacity .25s ease, transform .25s ease;
}
.lb-stage img.loaded { opacity: 1; transform: none; }
.lb-caption { color: #fff; font-size: 15px; font-weight: 500; margin-top: 16px; text-align: center; }
.lb-counter { color: #8b96b8; font-size: 12.5px; margin-top: 6px; letter-spacing: .04em; }
.lb-close {
  position: absolute; top: 22px; right: 24px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
  background: transparent; color: #fff; font-size: 16px; cursor: pointer; transition: .25s;
}
.lb-close:hover { background: rgba(255,255,255,.12); }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
  background: transparent; color: #fff; font-size: 24px; cursor: pointer; transition: background .25s;
}
.lb-nav:hover { background: rgba(255,255,255,.12); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
@media (max-width: 600px) {
  .lb-nav { width: 38px; height: 38px; font-size: 19px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-close { top: 12px; right: 12px; width: 36px; height: 36px; }
  .lb-stage { max-width: 94vw; }
}

/* ---------- Contact modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(14,22,52,.6); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-box {
  position: relative; background: #fff; border-radius: 14px; max-width: 460px; width: 100%;
  padding: 40px 34px 30px; box-shadow: 0 30px 70px rgba(14,22,52,.35);
  transform: translateY(16px) scale(.98); transition: transform .3s ease;
  max-height: 90vh; overflow-y: auto;
}
.modal-overlay.open .modal-box { transform: none; }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 14px; color: var(--muted);
  transition: .25s;
}
.modal-close:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.modal-logo { height: 34px; margin-bottom: 18px; }
.modal-box h3 { font-size: 21px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.modal-box .sub { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.modal-box input:not([type=checkbox]), .modal-box select {
  width: 100%; padding: 12px 15px; margin-bottom: 14px;
  border: 1px solid var(--line); border-radius: 6px; font-size: 14.5px;
  font-family: inherit; color: var(--ink); background: #fff; transition: border-color .25s;
}
.modal-box input:focus, .modal-box select:focus { outline: none; border-color: var(--navy); }
.modal-box .btn { width: 100%; justify-content: center; }
.modal-box .form-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 12px; }

/* ---------- Back to top ---------- */
#toTop {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 46px; height: 46px; border: 1px solid var(--navy); border-radius: 6px; cursor: pointer;
  background: #fff; color: var(--navy); font-size: 18px;
  opacity: 0; pointer-events: none; transition: .3s;
}
#toTop:hover { background: var(--navy); color: #fff; }
#toTop.show { opacity: 1; pointer-events: auto; }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  position: relative; padding: 168px 0 56px; background: var(--navy) center/cover no-repeat;
  color: #fff;
}
.page-banner::before { content: ""; position: absolute; inset: 0; background: rgba(14,22,52,.72); }
.page-banner .container { position: relative; z-index: 2; }
.breadcrumb { font-size: 13px; color: #c3cde8; margin-bottom: 14px; }
.breadcrumb a { color: #c3cde8; transition: color .2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 8px; opacity: .6; }
.page-banner h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; }
.page-banner p { margin-top: 10px; color: #c3cde8; font-size: 15.5px; max-width: 600px; }

/* ---------- Filter tabs (reuse amenity-tab look) ---------- */
.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-tab {
  padding: 10px 22px; font-weight: 600; font-size: 14px; border-radius: 6px;
  background: #fff; border: 1px solid var(--line); color: var(--muted); cursor: pointer; transition: .25s;
}
.filter-tab.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Uniform news grid (category listing) ---------- */
.news-grid-uniform { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-grid-uniform .news-card { flex-direction: column; }
.news-grid-uniform .news-card-img { height: 190px; }
.news-grid-uniform .news-card-body { padding: 18px 20px 22px; }
.news-grid-uniform .news-card-body p { font-size: 13px; color: var(--muted); margin: 6px 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 48px; }
.pagination a, .pagination span {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 6px;
  border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--navy); transition: .25s;
}
.pagination a:hover { background: var(--bg-alt); }
.pagination .active, .pagination .current { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination .dots { border-color: transparent; }
.pagination .arrow { border-color: transparent; }

/* ---------- Article (single post) ---------- */
.article-header { max-width: 780px; }
.article-header .news-tag { margin-bottom: 14px; }
.article-header h1 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 700; color: var(--navy); line-height: 1.35; margin-bottom: 16px; }
.article-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.article-meta span { display: flex; align-items: center; gap: 6px; }
.article-cover { margin: 32px 0 44px; border-radius: 10px; overflow: hidden; }
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
.article-body h2 { font-size: 22px; font-weight: 700; color: var(--navy); margin: 32px 0 14px; }
.article-body h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin: 26px 0 12px; }
.article-body p { font-size: 15.5px; color: var(--ink); line-height: 1.85; margin-bottom: 18px; }
.article-body ul { margin: 0 0 18px 20px; }
.article-body li { font-size: 15px; color: var(--ink); line-height: 1.8; margin-bottom: 6px; }
.article-body img { border-radius: 8px; margin: 8px 0 24px; }
.article-quote {
  border-left: 3px solid var(--accent); background: var(--bg-alt); padding: 20px 24px;
  font-size: 17px; font-weight: 600; color: var(--navy); margin: 28px 0; line-height: 1.6;
}
.article-share { display: flex; align-items: center; gap: 12px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.article-share span { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.article-share a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-alt); color: var(--navy); font-size: 13px; font-weight: 700; transition: .25s;
}
.article-share a:hover { background: var(--navy); color: #fff; }

.sidebar { display: flex; flex-direction: column; gap: 28px; position: sticky; top: 100px; }
.sidebar-card { background: var(--bg-alt); padding: 26px; border-radius: 10px; }
.sidebar-card h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 18px; text-transform: uppercase; letter-spacing: .04em; }
.sidebar-cta { background: var(--navy); color: #fff; padding: 30px 26px; border-radius: 10px; text-align: center; }
.sidebar-cta h4 { color: #fff; font-size: 17px; margin-bottom: 8px; }
.sidebar-cta p { font-size: 13.5px; color: #c3cde8; margin-bottom: 18px; }
.sidebar-cta .btn { width: 100%; justify-content: center; }
.sidebar-posts { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.sidebar-posts li { display: flex; gap: 12px; }
.sidebar-posts img { width: 64px; height: 52px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.sidebar-posts a { font-size: 13.5px; font-weight: 600; color: var(--navy); line-height: 1.4; transition: color .2s; }
.sidebar-posts a:hover { color: var(--accent); }
.sidebar-posts .sp-date { display: block; font-size: 11.5px; color: var(--muted); font-weight: 400; margin-top: 4px; }

.related-heading { font-size: 20px; font-weight: 700; color: var(--navy); margin: 64px 0 24px; }

/* ---------- Generic page content (page.html template) ---------- */
.page-content { max-width: 820px; margin: 0 auto; }
.page-content .lead { font-size: 18px; color: var(--navy); font-weight: 500; line-height: 1.7; margin-bottom: 28px; }
.page-content h2 { font-size: 24px; font-weight: 700; color: var(--navy); margin: 40px 0 16px; }
.page-content h3 { font-size: 19px; font-weight: 700; color: var(--navy); margin: 28px 0 12px; }
.page-content p { font-size: 15.5px; color: var(--ink); line-height: 1.85; margin-bottom: 18px; }
.page-content ul { margin: 0 0 18px 20px; }
.page-content li { font-size: 15px; color: var(--ink); line-height: 1.8; margin-bottom: 8px; }
.page-content img { border-radius: 10px; margin: 28px 0; }
.page-content .article-quote { margin: 32px 0; }

/* ---------- Contact page ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 64px; }
.contact-card { border: 1px solid var(--line); border-top: 2px solid var(--navy); padding: 26px 24px; background: #fff; text-align: center; transition: transform .25s, box-shadow .25s; }
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(20,35,90,.08); }
.contact-card .cc-ico {
  width: 48px; height: 48px; border-radius: 50%; background: var(--bg-alt); color: var(--navy);
  display: grid; place-items: center; font-size: 19px; margin: 0 auto 16px;
}
.contact-card h4 { font-size: 14.5px; font-weight: 700; color: var(--navy); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .03em; }
.contact-card p { font-size: 14px; color: var(--muted); }
.contact-card a { color: var(--muted); transition: color .2s; }
.contact-card a:hover { color: var(--accent); }
.contact-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
.contact-page-form { background: var(--bg-alt); padding: 40px; }
.contact-page-form h3 { font-size: 21px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.contact-page-form .sub { font-size: 13.5px; color: var(--muted); margin-bottom: 24px; }
.contact-map { position: relative; min-height: 320px; border: 1px solid var(--line); overflow: hidden; }
.contact-map img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.contact-map .map-chip { position: relative; z-index: 2; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .amenity-grid, .apt-highlights, .pay-grid { grid-template-columns: 1fr 1fr; }
  .legal-steps { grid-template-columns: repeat(3, 1fr); }
  .legal-step { border-bottom: 1px solid var(--line); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .process-step { border-bottom: 1px solid var(--line); padding-bottom: 16px; }
}
@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: 0 0 auto 0; top: 62px; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .35s;
  }
  .nav-links.open { max-height: 480px; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links a { display: block; padding: 15px 24px; color: var(--ink) !important; border-bottom: none !important; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .header-hotline .hotline-info { display: none; }
  .header-hotline .hotline-ico { width: 38px; height: 38px; font-size: 15px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stat-card { border-bottom: 1px solid rgba(255,255,255,.25); }
  .overview-grid, .location-grid, .towers-grid, .jv-band, .plan-view, .handover,
  .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .amenity-grid, .apt-highlights, .pay-grid { grid-template-columns: 1fr; }
  .legal-steps { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  section { padding: 64px 0; }
  .form-row { grid-template-columns: 1fr; }

  .news-grid { grid-template-columns: 1fr; }
  .news-side { flex-direction: row; }
  .news-grid-bottom { grid-template-columns: 1fr 1fr; }

  .floating-support { right: 19px; bottom: 82px; gap: 10px; }
  .fs-btn { width: 44px; height: 44px; }
  .fs-tip { display: none; }

  .page-banner { padding: 130px 0 44px; }
  .news-grid-uniform { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .contact-page-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .news-side { flex-direction: column; }
  .news-side .news-card { flex-direction: row; }
  .news-grid-bottom { grid-template-columns: 1fr; }
  .news-featured-img { height: 200px; }

  .news-grid-uniform { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .filter-tabs { gap: 8px; }
  .filter-tab { padding: 8px 16px; font-size: 13px; }
  .article-meta { gap: 10px; font-size: 12.5px; }
  .breadcrumb { font-size: 12px; }
}
