/* ==========================================================================
   FENICA — Hệ thống thiết kế "Tuyến Kết Nối" (Connection Line)
   Ngôn ngữ thị giác lấy cảm hứng từ chính lợi thế cốt lõi của dự án:
   vị trí nút giao trên hành lang TOD — tuyến Metro số 1 & Vành đai 3.
   Tông màu graphite hiện đại + đồng thau tinh tế, đường kẻ mảnh kiểu
   bản vẽ quy hoạch, không gian thoáng — hướng phân khúc B+.
   ========================================================================== */

:root {
  /* Bảng màu — graphite hiện đại + xanh thép tín hiệu + đồng thau cao cấp */
  --glaze-white: #F5F6F8;      /* nền chính — trắng xám mát */
  --glaze-white-2: #ECEEF1;    /* nền phụ — xám nhạt */
  --kiln-ink: #12161C;         /* graphite gần đen — chữ chính, nền tối */
  --celadon: #2D5F7C;          /* xanh thép tín hiệu — accent cấu trúc, liên kết, hover */
  --celadon-light: #4A7B98;
  --celadon-pale: #ECEEF1;     /* nền phụ xám nhạt */
  --clay: #A8834A;             /* đồng thau — accent CTA / cao cấp */
  --clay-dark: #7C5F35;        /* đồng thau đậm — dùng cho chữ, đủ tương phản */
  --ochre: #B8912A;            /* vàng đồng sáng — nhấn giá / số liệu */
  --line: #DDE1E6;             /* viền mảnh, chia section */
  --paper: #FFFFFF;

  /* Typography — display hiện đại kiểu kiến trúc + body chuẩn dấu tiếng Việt */
  --font-display: 'Bricolage Grotesque', -apple-system, sans-serif;
  --font-body: 'Be Vietnam Pro', -apple-system, sans-serif;
  --font-mono: 'Be Vietnam Pro', -apple-system, sans-serif; /* không dùng monospace — thiếu bộ dấu tiếng Việt đầy đủ */

  --radius: 2px;
  --shadow-soft: 0 12px 32px rgba(18,22,28,0.10);
  --shadow-card: 0 1px 2px rgba(18,22,28,0.04);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--kiln-ink);
  background: var(--glaze-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}
p { margin: 0 0 1em; }
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 88px 0; position: relative; }
@media (max-width: 720px) { section { padding: 56px 0; } }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--celadon);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay-dark);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--celadon);
  box-shadow: 0 0 0 3px var(--celadon-pale);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,243,236,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; max-width: 1180px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.brand .glaze-mark, .brand .brand-logo { width: 34px; height: 34px; flex-shrink: 0; border-radius: 6px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 14.5px; font-weight: 500; }
.nav-links a:hover { color: var(--celadon); }
.nav-cta {
  background: var(--clay); color: var(--kiln-ink) !important;
  padding: 10px 20px; border-radius: var(--radius); font-weight: 700 !important;
}
.nav-cta:hover { background: var(--clay-dark); color: var(--paper) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
@media (max-width: 860px) {
  .nav-links { position: fixed; top: 65px; left: 0; right: 0; background: var(--glaze-white);
    flex-direction: column; padding: 20px 24px; border-bottom: 1px solid var(--line);
    display: none; gap: 18px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}

/* ---------- Hero (glaze pour signature) ---------- */
.hero {
  padding: 64px 0 0;
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(34px, 4.6vw, 58px); }
.hero .lede { font-size: 18px; max-width: 46ch; color: #3A4A5C; }
.hero-stats { display: flex; gap: 28px; margin: 30px 0; flex-wrap: wrap; }
.hero-stat .num { font-family: var(--font-body); font-weight: 700; font-size: 22px; color: var(--celadon); }
.hero-stat .label { font-size: 12.5px; color: #64748B; text-transform: uppercase; letter-spacing: 0.06em; }
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: var(--radius);
  font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-large { padding: 18px 28px; font-size: 16px; width: 100%; justify-content: center; }
.btn-primary { background: var(--clay); color: var(--kiln-ink); }
.btn-primary:hover { background: var(--clay-dark); color: var(--paper); }
.btn-ghost { background: transparent; border-color: var(--kiln-ink); color: var(--kiln-ink); }
.btn-ghost:hover { background: var(--kiln-ink); color: var(--paper); }
.hero-visual { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--celadon-pale); border: 1px solid var(--line); box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px var(--line); }
.hero-visual .placeholder-note {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 24px; font-size: 13px; color: var(--celadon); font-family: var(--font-body);
  background: var(--celadon-pale);
}

/* Tuyến kết nối — divider mô tả vị trí Fenica trên hành lang TOD (dấu ấn riêng) */
.route-divider { padding: 40px 0; }
.route-divider .track { position: relative; display: flex; align-items: center; justify-content: space-between; max-width: 900px; margin: 0 auto; }
.route-divider .track::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px;
  background: var(--line); transform: translateY(-50%); z-index: 0;
}
.route-divider .stop { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; background: var(--paper); padding: 0 12px; }
.route-divider .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--paper); border: 2px solid var(--celadon-light); }
.route-divider .stop.is-here .dot { width: 16px; height: 16px; background: var(--clay); border-color: var(--clay); box-shadow: 0 0 0 4px var(--celadon-pale); }
.route-divider .label { font-size: 12px; font-weight: 600; color: #64748B; text-align: center; white-space: nowrap; }
.route-divider .stop.is-here .label { color: var(--kiln-ink); font-weight: 700; }
@media (max-width: 720px) { .route-divider .label { font-size: 10.5px; } }

.bg-paper { background: var(--paper); }
.bg-celadon-pale { background: var(--celadon-pale); }
.bg-ink { background: var(--kiln-ink); color: var(--glaze-white); }
.bg-ink h2, .bg-ink h3 { color: var(--glaze-white); }

/* ---------- Section headings ---------- */
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 38px); }
.section-head p { color: #48586B; font-size: 16px; }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-card); transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--celadon-light); transform: translateY(-2px); }
.card .icon-mark { width: 34px; height: 34px; color: var(--celadon); margin-bottom: 16px; }
.card h3 { font-size: 18px; }
.card p { font-size: 14.5px; color: #48586B; margin-bottom: 0; }

/* ---------- Timeline (tiến độ — thứ tự thực có ý nghĩa) ---------- */
.timeline { position: relative; margin-left: 12px; border-left: 1px solid var(--line); padding-left: 32px; }
.timeline-item { position: relative; padding-bottom: 44px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: attr(data-stage);
  position: absolute; left: -47px; top: 0;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--paper); color: var(--celadon); border: 2px solid var(--celadon);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
}
.timeline-item.is-done::before { background: var(--celadon); color: var(--glaze-white); border-color: var(--celadon); }
.timeline-item .t-date { font-family: var(--font-body); font-weight: 700; font-size: 12.5px; color: var(--clay-dark); text-transform: uppercase; letter-spacing: 0.08em; }
.timeline-item h3 { font-size: 18px; margin: 6px 0; }
.timeline-item p { color: #48586B; font-size: 14.5px; }

/* ---------- Table (bảng giá / mặt bằng) ---------- */
.data-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.data-table th, .data-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.data-table th { font-family: var(--font-body); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: #64748B; }
.data-table td.num { font-family: var(--font-body); color: var(--ochre); font-weight: 700; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }

.badge-tbd {
  display: inline-block; font-size: 11.5px; font-weight: 700; font-family: var(--font-body);
  background: var(--celadon-pale); color: var(--celadon); padding: 3px 8px; border-radius: 2px;
}

/* ---------- FAQ accordion ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 0; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--kiln-ink);
}
.faq-q .plus { font-family: var(--font-body); font-weight: 400; font-size: 20px; color: var(--clay); transition: transform 0.2s; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; font-size: 14.5px; color: #48586B; }
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 20px; }

/* ---------- Contact / form ---------- */
.form-grid { display: grid; gap: 16px; }
.form-grid label { font-size: 13px; font-weight: 600; display: block; margin-bottom: 6px; }
.form-grid input, .form-grid textarea, .form-grid select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 14.5px; background: var(--paper);
}
.form-note { font-size: 12.5px; color: #64748B; margin-top: 10px; }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--kiln-ink); color: #CBD5E1; padding: 56px 0 28px; }
footer.site-footer h4 { color: var(--glaze-white); font-size: 15px; }
footer.site-footer a { color: #CBD5E1; font-size: 14px; }
footer.site-footer a:hover { color: var(--ochre); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-bottom { border-top: 1px solid #3A4A5C; padding-top: 20px; font-size: 12.5px; color: #8C9AAC; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Sticky hotline (mobile CTA) ---------- */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--clay); color: var(--paper);
  display: none; align-items: center; justify-content: center;
  padding: 14px; font-weight: 700; font-size: 15px; gap: 8px;
}
@media (max-width: 720px) { .sticky-cta { display: flex; } body { padding-bottom: 54px; } }

/* ---------- Scroll reveal effect: xem khai báo đầy đủ (kèm reduced-motion) ở cuối file ---------- */

/* ---------- Floor plan tab selector ---------- */
.floorplan-selector { margin-bottom: 12px; }
.floorplan-panes { position: relative; }
.floorplan-pane { display: none; }
.floorplan-pane.active { display: block; animation: fadeInPane 0.35s ease; }
@keyframes fadeInPane { from { opacity: 0; } to { opacity: 1; } }
.floorplan-empty {
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  background: var(--celadon-pale); border-radius: var(--radius);
}

/* ---------- Coming-soon badge ---------- */
.badge-soon {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700;
  background: var(--celadon); color: var(--glaze-white); padding: 5px 12px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.04em;
}

/* ---------- Handover equipment brand tag ---------- */
.brand-tag {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.03em;
  color: var(--clay); border: 1px solid var(--clay); border-radius: 3px; padding: 2px 8px; margin-top: 6px;
}
.equip-list { list-style: none; padding: 0; margin: 0; }
.equip-list li { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }

/* Breadcrumb */
.breadcrumb { font-size: 13px; color: #64748B; padding: 18px 0 0; }
.breadcrumb a:hover { color: var(--celadon); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.gallery-tab {
  padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13.5px; font-weight: 600; cursor: pointer; background: var(--paper);
}
.gallery-tab.active { background: var(--celadon); color: var(--glaze-white); border-color: var(--celadon); }
.gallery-tab { transition: border-color 0.15s ease; }
.gallery-tab:hover { border-color: var(--celadon-light); }

/* ---------- Legal / prose pages ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 21px; margin-top: 36px; }
.prose h3 { font-size: 16.5px; margin-top: 22px; }
.prose p, .prose li { font-size: 14.5px; color: #3A4A5C; }
.prose ul { padding-left: 20px; }
.prose .updated { font-family: var(--font-body); font-weight: 600; font-size: 12.5px; color: #64748B; }

/* ---------- Legal notice pages ---------- */
.legal-quicklinks { display: flex; gap: 16px; flex-wrap: wrap; margin: 20px 0 36px; }
.legal-quicklinks a {
  font-size: 13px; font-weight: 600; padding: 8px 16px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--paper);
}
.legal-quicklinks a:hover { border-color: var(--celadon); color: var(--celadon); }

/* Stat strip (tong quan) */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 860px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }
.stat-item { border-left: 2px solid var(--clay); padding-left: 16px; }
.stat-item .v { font-family: var(--font-body); font-size: 20px; font-weight: 700; color: var(--kiln-ink); }
.stat-item .l { font-size: 12.5px; color: #64748B; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }

/* Distance list (vi tri / tien ich ngoai khu) */
.dist-group h3 { font-size: 15.5px; color: var(--celadon); margin-bottom: 10px; }
.dist-list { list-style: none; padding: 0; margin: 0 0 28px; }
.dist-list li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.dist-list li .t { font-family: var(--font-body); font-weight: 700; font-size: 12.5px; color: var(--clay-dark); white-space: nowrap; padding-left: 12px; }


/* ---------- Scroll reveal effect ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(.2,.7,.3,1), transform 0.7s cubic-bezier(.2,.7,.3,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-1.in-view { transition-delay: 0.08s; }
.reveal-2.in-view { transition-delay: 0.16s; }
.reveal-3.in-view { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Mặt bằng tab switcher ---------- */
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-group-label { font-family: var(--font-body); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--celadon); margin: 28px 0 12px; }
.tab-group-label:first-child { margin-top: 0; }

/* ---------- Coming-soon badge ---------- */
.coming-soon-badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700;
  background: var(--clay); color: var(--kiln-ink); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}

/* ---------- Equipment / thiết bị bàn giao ---------- */
.equip-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.equip-card img { width: 100%; display: block; }
.equip-card .equip-label { padding: 14px 18px; font-size: 14px; font-weight: 600; }

/* ==========================================================================
   Bố cục tham khảo phong cách Serena Riverside — hero full-màn hình,
   danh sách sự kiện đánh số, khối liên hệ có avatar, timeline gọn.
   ========================================================================== */

/* ---------- Hero full-bleed ---------- */
.hero-full {
  position: relative; min-height: 92vh; display: flex; align-items: flex-end;
  padding: 0; overflow: hidden; color: var(--glaze-white);
}
.hero-full .hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-full .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-full .hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,22,28,0.30) 0%, rgba(18,22,28,0.55) 55%, rgba(18,22,28,0.94) 100%);
}
.hero-full .hero-content { position: relative; z-index: 1; padding: 140px 0 72px; width: 100%; }
.hero-full .eyebrow { color: var(--clay); }
.hero-full .eyebrow::before { box-shadow: 0 0 0 3px rgba(255,255,255,0.15); }
.hero-full h1 { color: var(--glaze-white); font-size: clamp(34px, 5.2vw, 64px); max-width: 17ch; }
.hero-full h1 em { font-style: italic; color: var(--clay); font-weight: 500; }
.hero-full .lede { color: #C7CCD3; font-size: 17.5px; max-width: 52ch; margin-top: 18px; }
.hero-full .hero-cta-row { margin-top: 28px; }
.hero-full .hero-stats {
  border-top: 1px solid rgba(255,255,255,0.15); margin-top: 44px; padding-top: 28px;
  display: flex; gap: 40px; flex-wrap: wrap;
}
.hero-full .hero-stat .num { color: var(--glaze-white); }
.hero-full .hero-stat .label { color: #9AA3AD; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; color: rgba(255,255,255,0.75);
  animation: scrollCue 2s ease-in-out infinite;
}
.scroll-cue::after { content: ""; width: 1px; height: 26px; background: rgba(255,255,255,0.5); }
@keyframes scrollCue { 0%,100% { transform: translate(-50%, 0); opacity: .6; } 50% { transform: translate(-50%, 8px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue { animation: none; } }
@media (max-width: 720px) { .hero-full { min-height: 100vh; } .hero-full .hero-content { padding-top: 110px; } }

/* ---------- Fact grid — danh sách sự kiện đánh số "01 · 02 ·" ---------- */
.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px; }
@media (max-width: 860px) { .fact-grid { grid-template-columns: repeat(2, 1fr); } }
.fact-item .fact-num { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--clay-dark); margin-bottom: 8px; }
.fact-item .fact-title { font-family: var(--font-display); font-weight: 700; font-size: 19px; margin-bottom: 4px; }
.fact-item .fact-desc { font-size: 13.5px; color: #64748B; }

/* ---------- Timeline gọn — chỉ ngày + mô tả ---------- */
.timeline-compact { display: flex; flex-direction: column; gap: 0; }
.timeline-compact .tc-item { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.timeline-compact .tc-item:first-child { padding-top: 0; }
.timeline-compact .tc-item:last-child { border-bottom: none; }
.timeline-compact .tc-date { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--celadon); }
.timeline-compact .tc-desc { font-size: 14.5px; color: #48586B; }
@media (max-width: 640px) { .timeline-compact .tc-item { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Payment card kiểu Serena — icon-nhãn / tiêu đề / mô tả / bullet ---------- */
.payment-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.payment-card .pc-tag { font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--clay-dark); }
.payment-card h3 { font-size: 18px; margin: 0; }
.payment-card .pc-sub { font-size: 13.5px; font-weight: 600; color: var(--celadon); margin-bottom: 4px; }
.payment-card p { font-size: 14px; color: #48586B; margin-bottom: 6px; }
.payment-card ul { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 6px; }
.payment-card ul li { font-size: 13.5px; color: #48586B; padding-left: 16px; position: relative; }
.payment-card ul li::before { content: "—"; position: absolute; left: 0; color: var(--clay); }

/* ---------- Khối liên hệ có avatar NVKD ---------- */
.agent-block { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.agent-avatar {
  width: 56px; height: 56px; border-radius: 50%; background: var(--celadon); color: var(--glaze-white);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display);
  font-weight: 800; font-size: 22px; flex-shrink: 0;
}
.agent-block .agent-name { font-weight: 700; font-size: 15.5px; }
.agent-block .agent-role { font-size: 13px; color: #64748B; }

/* CTA banner cuối trang — kiểu "KẾT NỐI NGAY" */
.cta-banner { background: var(--kiln-ink); color: var(--glaze-white); text-align: center; padding: 64px 0; }
.cta-banner .eyebrow { color: var(--clay); justify-content: center; }
.cta-banner h2 { color: var(--glaze-white); }
.cta-banner p { color: #9AA3AD; max-width: 560px; margin: 0 auto 28px; }
.cta-banner .cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Popup tư vấn (kích hoạt khi cuộn 50% trang) + Form đăng ký (Netlify Forms)
   ========================================================================== */

/* ---------- Popup / modal ---------- */
.promo-popup-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(18,22,28,0.6);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.promo-popup-overlay.open { display: flex; }
.promo-popup {
  position: relative; background: var(--paper); border-radius: var(--radius);
  max-width: 420px; width: 100%; padding: 0 0 32px; overflow: hidden;
  box-shadow: var(--shadow-soft);
  animation: popupIn 0.35s cubic-bezier(.2,.8,.3,1);
}
.promo-popup .popup-image { aspect-ratio: 16/9; }
.promo-popup .popup-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.promo-popup .popup-body-pad { padding: 24px 32px 0; }
@keyframes popupIn { from { opacity: 0; transform: translateY(16px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.promo-popup .popup-close {
  position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; z-index: 2;
  border: none; background: rgba(18,22,28,0.55); border-radius: 50%; cursor: pointer;
  font-size: 15px; color: #fff; display: flex; align-items: center; justify-content: center;
  line-height: 1; backdrop-filter: blur(2px);
}
.promo-popup .popup-close:hover { background: rgba(18,22,28,0.8); }
.promo-popup .eyebrow { margin-bottom: 10px; }
.promo-popup h3 { font-size: 22px; margin-bottom: 8px; }
.promo-popup p.desc { font-size: 14px; color: #48586B; margin-bottom: 20px; }
@media (prefers-reduced-motion: reduce) { .promo-popup { animation: none; } }

/* ---------- Lead form (Netlify Forms) ---------- */
.lead-form { display: grid; gap: 12px; }
.lead-form .lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .lead-form .lf-row { grid-template-columns: 1fr; } }
.lead-form input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 14.5px; background: var(--paper);
}
.lead-form input:focus { outline: 2px solid var(--celadon); outline-offset: 1px; }
.lead-form .lf-success { display: none; color: var(--celadon); font-weight: 600; font-size: 14.5px; padding: 10px 0; }
.lead-form.is-sent .lf-fields { display: none; }
.lead-form.is-sent .lf-success { display: block; }

/* ---------- Footer subscribe section ---------- */
.footer-subscribe { background: var(--celadon-pale); padding: 48px 0; }
.footer-subscribe .fs-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-subscribe .fs-text h3 { font-size: 21px; margin-bottom: 4px; }
.footer-subscribe .fs-text p { font-size: 14px; color: #48586B; margin: 0; }
.footer-subscribe .lead-form { min-width: 320px; flex: 1; max-width: 480px; }
.footer-subscribe .lead-form .lf-row { grid-template-columns: 1fr 1fr auto; }
@media (max-width: 720px) { .footer-subscribe .lead-form .lf-row { grid-template-columns: 1fr; } .footer-subscribe .lead-form { min-width: 100%; } }
