body{margin:0}img{max-width:100%}[hidden]{display:none!important}

  /* Bảng màu SÁNG cố định — không đổi theo chế độ tối của điện thoại,
     để khách luôn thấy đúng một giao diện sáng như thiết kế. */
  :root {
    color-scheme: light;
    --paper: #FBFDFE;
    --paper-raise: #F0F7FB;
    --ink: #0C2531;
    --ink-soft: #59737F;
    --deep: #14506E;
    --deep-2: #0C3A52;
    --deep-ink: #F2FAFD;
    --deep-ink-soft: #C3DEEC;
    --accent: #1B79A8;          /* dùng trên nền SÁNG */
    --accent-on-dark: #A6D6EF;  /* dùng trên nền TỐI (hero, ký gửi, footer) */
    --accent-soft: #E4F2FA;
    --line: rgba(18,48,60,0.13);
    --line-deep: rgba(242,250,253,0.22);
    --shadow: 0 18px 40px -24px rgba(12,58,82,0.28);
    --radius: 3px;
    --brand-teal: #0E4B57;
    --brand-teal-dark: #082F38;
    --brand-gold: #E3A94A;
    /* Vàng đồng lấy từ logo — dùng xen kẽ với xanh cho trang đỡ đơn điệu.
       Ba sắc: đậm cho chữ trên nền sáng, tươi cho nền tối, nhạt cho nền nhãn. */
    --gold: #D8B76F;
    --gold-ink: #A2701A;
    --gold-on-dark: #E8CB94;
    --gold-soft: #FBF0DC;
    --gold-line: rgba(227,169,74,0.42);
    --cta: #1F6FA3;
    --cta-hover: #2A82BB;
    --card-bg: #FFFFFF;
    --cta-text: #FFFFFF;
    /* Cả 3 font đều có đầy đủ dấu tiếng Việt VÀ bảng chữ Nga (Cyrillic) trên mọi thiết bị */
    /* Hai bộ chữ, xếp theo thứ tự ưu tiên trong CÙNG một danh sách:
       Be Vietnam Pro — font do người Việt làm, dấu thanh đặt chuẩn. Không có chữ Nga.
       Onest — đỡ phần chữ Nga. Trình duyệt tự chọn theo từng ký tự, nên khách Việt
       thấy Be Vietnam Pro, khách Nga thấy Onest, không cần xử lý gì thêm. */
    --sans: "Be Vietnam Pro", "Onest", "Segoe UI", ui-sans-serif, system-ui, -apple-system, Arial, sans-serif;
    --serif: "Be Vietnam Pro", "Onest", "Segoe UI", ui-sans-serif, system-ui, -apple-system, Arial, sans-serif;
    --mono: "Be Vietnam Pro", "Onest", "Segoe UI", ui-sans-serif, system-ui, -apple-system, Arial, sans-serif;
  }

  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  img, svg, canvas { display: block; max-width: 100%; }
  a { color: inherit; }
  .fill { display: none; } /* placeholder utility, unused */

  .wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
  @media (max-width: 640px) { .wrap { padding: 0 20px; } }

  h1, h2, h3 { font-family: var(--serif); font-weight: 600; text-wrap: balance; margin: 0; letter-spacing: 0.005em; }
  p { margin: 0; line-height: 1.65; }
  .eyebrow {
    font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--accent); display: flex; align-items: center; gap: 10px;
  }
  .eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); display: inline-block; }

  .btn {
    display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 0.95rem;
    font-weight: 600; padding: 13px 24px; border-radius: var(--radius); text-decoration: none;
    border: 1px solid transparent; cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  }
  .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
  .btn-primary { background: var(--cta); color: var(--cta-text); font-weight: 700; box-shadow: 0 4px 14px rgba(31,111,163,0.35); }
  .btn-primary:hover { transform: translateY(-1px); background: var(--cta-hover); }
  .btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
  .btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
  .btn-ghost-deep { background: transparent; color: var(--deep-ink, #EAF1EE); border-color: var(--line-deep); }
  .btn-ghost-deep:hover { border-color: var(--accent-on-dark); color: var(--accent-on-dark); }

  /* ---------- Header ---------- */
  header.site {
    position: sticky; top: 0; z-index: 40;
    background: color-mix(in srgb, #FFFFFF 92%, var(--accent-soft));
    backdrop-filter: saturate(1.4) blur(6px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 18px rgba(12,58,82,0.10);
  }
  header.site .row { display: flex; align-items: center; justify-content: space-between; padding: 18px 32px; max-width: 1180px; margin: 0 auto; }
  .wordmark { display: flex; align-items: center; gap: 12px; }
  .wordmark .logo-mark { width: 38px; height: 38px; flex-shrink: 0; }
  .wordmark .word-text { font-family: var(--serif); font-weight: 700; font-size: 1.24rem; letter-spacing: 0.02em; display: flex; flex-direction: column; line-height: 1.05; color: var(--ink); }
  .wordmark small { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.2em; color: var(--ink-soft); text-transform: uppercase; margin-top: 4px; }
  footer .wordmark .logo-mark { width: 46px; height: 46px; }
  footer .wordmark .word-text { font-size: 1.4rem; }
  nav.primary { display: flex; align-items: center; gap: 18px; }
  nav.primary a { font-size: 0.84rem; font-weight: 700; text-decoration: none; color: var(--ink-soft); position: relative; white-space: nowrap; }
  nav.primary a:hover { color: var(--accent); }
  nav.primary a.dang-mo, .nav-mobile-panel a.dang-mo { color: var(--accent); }
  nav.primary a.dang-mo::after { transform: scaleX(1); }
  header.site .wordmark { cursor: pointer; }
  /* Nút CTA trong nav: phải thắng quy tắc "nav.primary a" ở trên, nếu không chữ bị tối trên nền xanh */
  nav.primary a.btn-primary,
  nav.primary a.btn-primary:hover { color: var(--cta-text); letter-spacing: 0.01em; }
  nav.primary a.btn::after { display: none; }
  nav.primary a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--accent); transform: scaleX(0); transition: transform .2s ease; }
  nav.primary a:hover::after { transform: scaleX(1); }
  .nav-links { display: flex; align-items: center; gap: 18px; }
  @media (max-width: 980px) { .nav-links { display: none; } }

  .nav-burger {
    display: none; width: 40px; height: 40px; border-radius: var(--radius); border: 1px solid var(--line);
    background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    margin-left: 12px;
  }
  .nav-burger span { display: block; width: 18px; height: 2px; background: var(--ink); }
  @media (max-width: 980px) { .nav-burger { display: flex; } }

  .nav-mobile-panel {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: #FFFFFF;
    border-bottom: 1px solid var(--line); box-shadow: 0 12px 28px rgba(12,58,82,0.16);
    flex-direction: column; padding: 8px 32px 20px;
  }
  .nav-mobile-panel.open { display: flex; }
  .nav-mobile-panel a {
    font-family: var(--sans); font-weight: 700; font-size: 0.98rem; color: var(--ink); text-decoration: none;
    padding: 14px 0; border-bottom: 1px solid var(--line);
  }
  .nav-mobile-panel a:hover { color: var(--accent); }
  .nav-mobile-panel a:last-child { border-bottom: none; }

  /* ---------- Hero ---------- */
  /* Ảnh thương hiệu đầu trang — giữ đúng tỉ lệ gốc 1672×942, không cắt mất chữ */
  .hero { position: relative; overflow: hidden; background-color: #143A57; line-height: 0; padding: 0; }
  .hero-anh { display: block; width: 100%; height: auto; }
  /* Không phủ lớp tối lên ảnh: đây là ảnh thiết kế sẵn, phủ tối sẽ làm đục chữ trên ảnh */
  .hero-overlay { display: none; }

  /* H1 giữ cho công cụ tìm kiếm — không hiển thị trên màn hình */
  .hero-seo { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

  /* ---------- Section scaffolding ---------- */
  section { padding: 88px 0; }
  @media (max-width: 640px) { section { padding: 60px 0; } }
  .section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
  .section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
  .section-head p { color: var(--ink-soft); max-width: 40ch; }

  /* ---------- Pillars ---------- */
  .pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
  @media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }
  .pillar { background: var(--paper); padding: 40px 34px; display: flex; flex-direction: column; gap: 16px; }
  .pillar:nth-child(2) { background: var(--paper-raise); }
  .pillar-mark { width: 34px; height: 34px; }
  .pillar h3 { font-size: 1.28rem; }
  .pillar p.desc { color: var(--ink-soft); font-size: 0.95rem; flex: 1; }
  .pillar a.more { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; }
  .pillar a.more:hover { gap: 12px; }

  /* ---------- Listings ---------- */
  .listing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
  @media (max-width: 1080px) { .listing-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
  @media (max-width: 820px)  { .listing-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
  .card { border: 1px solid var(--line); background: var(--paper-raise); box-shadow: var(--shadow); display: flex; flex-direction: column; }
  .card canvas { width: 100%; height: 156px; }
  .card-body { padding: 13px 15px 15px; display: flex; flex-direction: column; gap: 5px; }
  .card-code { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; color: var(--accent); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .card-type { font-family: var(--serif); font-size: 1.15rem; }
  .card-spec { font-size: 0.79rem; line-height: 1.45; color: var(--ink-soft); }
  .card-spec b { color: var(--accent); font-weight: 600; }
  .card-cta { margin-top: 8px; font-size: 0.79rem; font-weight: 600; text-decoration: none; color: var(--ink); border-top: 1px solid var(--line); padding-top: 9px; display: flex; justify-content: space-between; align-items: center; gap: 6px; }
  .card-cta:hover { color: var(--accent); }
  @media (max-width: 820px) {
    .card canvas { height: 132px; }
    .card-body { padding: 11px 12px 13px; }
    .card-spec { font-size: 0.75rem; }
    .card-cta { font-size: 0.75rem; }
  }
  .listing-more { text-align: center; margin-top: 44px; }

  /* ---------- Why us ---------- */
  .why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
  @media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }
  .why-item { border-top: 2px solid var(--accent); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
  .why-item h3 { font-size: 1.05rem; font-family: var(--sans); font-weight: 700; }
  .why-item p { color: var(--ink-soft); font-size: 0.92rem; }

  /* ---------- Consign banner ---------- */
  .consign { background: linear-gradient(180deg, #0F4462 0%, #0B3348 100%); color: var(--deep-ink); position: relative; overflow: hidden; }
  .consign-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; position: relative; z-index: 2; }
  @media (max-width: 900px) { .consign-inner { grid-template-columns: 1fr; gap: 40px; } }
  .consign h2 { color: var(--deep-ink); font-size: clamp(1.7rem, 3vw, 2.5rem); }
  .consign .lede { color: #DCEEF7; margin-top: 18px; max-width: 42ch; }
  .steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; counter-reset: step; }
  .steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid rgba(242,250,253,0.28); }
  .steps li:last-child { border-bottom: 1px solid rgba(242,250,253,0.28); }
  .steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--mono); color: #8FCBEA; font-size: 1.05rem; font-weight: 700; padding-top: 2px; }
  .steps h4 { font-family: var(--sans); font-weight: 700; font-size: 1rem; color: var(--deep-ink); margin: 0 0 4px; }
  .steps p { color: #D3E8F3; font-size: 0.88rem; }
  .consign .btn-primary { margin-top: 28px; }



  /* ---------- Footer ---------- */
  footer.site { background: var(--deep-2); color: var(--deep-ink-soft); padding: 70px 0 34px; }
  .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid var(--line-deep); }
  @media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
  footer.site .wordmark { color: var(--deep-ink); }
  footer.site .wordmark .word-text { color: var(--deep-ink); }
  footer.site .wordmark small { color: var(--deep-ink-soft); }
  footer.site p.lede { margin-top: 16px; max-width: 32ch; font-size: 0.88rem; }
  footer h5 { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--deep-ink); margin: 0 0 16px; }
  footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; font-size: 0.9rem; }
  footer a { text-decoration: none; }
  footer a:hover { color: var(--accent-on-dark); }
  .fill-in { color: var(--accent); font-style: italic; }
  .foot-bottom { display: flex; justify-content: space-between; padding-top: 26px; font-size: 0.78rem; flex-wrap: wrap; gap: 10px; }

  @media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

  /* ---------- Language gate ---------- */
  .lang-gate {
    position: fixed; inset: 0; z-index: 999; display: flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--accent-on-dark) 16%, transparent), transparent 55%), var(--deep-2);
    padding: 24px;
  }
  .lang-gate-inner { max-width: 420px; width: 100%; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
  .lang-gate-inner .logo-mark { width: 56px; height: 56px; }
  .lang-gate-title { font-family: var(--serif); font-size: 1.3rem; color: var(--deep-ink); line-height: 1.4; }
  .lang-gate-title span { display: block; color: var(--deep-ink-soft); font-family: var(--sans); font-size: 0.86rem; margin-top: 4px; }
  .lang-gate-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; }
  .lang-btn {
    font-family: var(--sans); font-size: 1rem; font-weight: 700; padding: 18px 12px; border-radius: var(--radius);
    border: 1px solid var(--line-deep); background: transparent; color: var(--deep-ink); cursor: pointer;
    display: flex; flex-direction: column; align-items: center; gap: 6px; transition: border-color .18s ease, background .18s ease, transform .18s ease;
  }
  .lang-btn:hover { border-color: var(--accent-on-dark); background: color-mix(in srgb, var(--accent-on-dark) 14%, transparent); transform: translateY(-2px); }
  .lang-btn .flag { font-size: 1.6rem; }
  .lang-gate-foot { font-size: 0.76rem; color: var(--deep-ink-soft); }

  /* ---------- Logo splash (entry animation) ---------- */
  .logo-splash {
    position: fixed; inset: 0; z-index: 1000;
    background: radial-gradient(circle at 50% 42%, #FBF8F2 0%, #EFE7D8 72%);
    display: flex; align-items: center; justify-content: center;
    transition: opacity .55s ease;
  }
  .logo-splash.fade-out { opacity: 0; pointer-events: none; }
  .logo-splash-stack { display: flex; flex-direction: column; align-items: center; }
  .logo-splash-mark {
    width: clamp(220px, 30vw, 320px); height: auto; display: block;
    clip-path: inset(100% 0 0 0);
    animation: logoMarkReveal .8s cubic-bezier(.16,.84,.32,1) .1s forwards;
  }
  .logo-splash-text {
    width: clamp(270px, 38vw, 400px); height: auto; display: block; margin-top: 6px;
    opacity: 0; transform: translateY(-30px);
    animation: logoTextDrop .6s cubic-bezier(.22,.9,.32,1) .78s forwards;
  }
  @keyframes logoMarkReveal { to { clip-path: inset(0 0 0 0); } }
  @keyframes logoTextDrop { to { opacity: 1; transform: translateY(0); } }
  @media (prefers-reduced-motion: reduce) {
    .logo-splash-mark { clip-path: none; animation: none; }
    .logo-splash-text { opacity: 1; transform: none; animation: none; }
  }

  .lang-switch { display: flex; align-items: center; gap: 2px; border: 1px solid var(--line); border-radius: var(--radius); padding: 2px; margin-left: 14px; flex-shrink: 0; }
  .lang-switch-btn {
    font-family: var(--mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; padding: 6px 9px;
    border-radius: 2px; border: none; background: transparent; color: var(--ink-soft); cursor: pointer;
  }
  .lang-switch-btn.active { background: var(--cta); color: #FFFFFF; }
  .lang-switch-btn:hover:not(.active) { color: var(--accent); }
  .nav-mobile-panel .lang-switch { margin: 14px 0 0; align-self: flex-start; }

  /* ---------- Listing tabs ---------- */
  .listing-tabs { display: flex; gap: 8px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
  .listing-tab {
    font-family: var(--sans); font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); background: none;
    border: none; padding: 10px 4px 14px; cursor: pointer; position: relative; margin-right: 20px;
  }
  .listing-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; }
  .listing-tab.active { color: var(--ink); }
  .listing-tab.active::after { background: var(--accent); }
  .card[hidden] { display: none; }

  /* ---------- FAQ ---------- */
  .faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); max-width: 780px; }
  .faq-item { border-bottom: 1px solid var(--line); }
  .faq-q {
    width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 22px 0;
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    font-family: var(--serif); font-size: 1.08rem; color: var(--ink);
  }
  .faq-q .plus { font-family: var(--mono); font-size: 1.2rem; color: var(--accent); flex-shrink: 0; transition: transform .2s ease; }
  .faq-item.open .faq-q .plus { transform: rotate(45deg); }
  .faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .faq-a p { padding: 0 0 22px; color: var(--ink-soft); font-size: 0.94rem; max-width: 62ch; }

  /* ---------- Contact form ---------- */
  .contact-form { display: flex; flex-direction: column; gap: 16px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  @media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
  .field { display: flex; flex-direction: column; gap: 6px; }
  .field label { font-size: 0.82rem; color: var(--ink-soft); }
  .field input, .field select, .field textarea {
    font-family: var(--sans); font-size: 0.95rem; padding: 12px 14px; border: 1px solid var(--line);
    background: var(--paper); color: var(--ink); border-radius: var(--radius); outline: none;
  }
  .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
  .field textarea { resize: vertical; min-height: 80px; }
  .form-note { font-size: 0.78rem; color: var(--ink-soft); }
  .form-success { display: none; padding: 14px 16px; background: var(--accent-soft); border: 1px solid var(--line); font-size: 0.9rem; color: var(--ink); }
  .form-success.show { display: block; }

  /* ---------- Quick-contact modal ---------- */
  .modal-overlay {
    display: none; position: fixed; inset: 0; z-index: 900; background: rgba(3,9,13,0.6);
    align-items: center; justify-content: center; padding: 20px;
  }
  .modal-overlay.open { display: flex; }
  .modal-card {
    background: var(--paper); border-radius: 10px; max-width: 460px; width: 100%; padding: 32px;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5); position: relative; max-height: 90vh; overflow-y: auto;
  }
  .modal-close {
    position: absolute; top: 18px; right: 18px; width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid var(--line); background: transparent; color: var(--ink-soft); cursor: pointer; font-size: 1.1rem; line-height: 1;
  }
  .modal-close:hover { border-color: var(--accent); color: var(--accent); }
  .modal-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
  .modal-card .modal-sub { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 22px; }

  /* ---------- Thẻ căn hộ (dữ liệu thật) ---------- */
  .card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
  .card-badge {
    font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase;
    padding: 3px 8px; border-radius: 2px; background: var(--accent-soft); color: var(--deep); flex-shrink: 0;
  }
  /* Giá tiền: font sans đậm + chữ số đều cột (tabular) — kiểu trình bày số liệu chuyên nghiệp */
  .card-price {
    font-family: var(--sans); font-weight: 700; font-size: clamp(1rem, 1.35vw, 1.16rem); color: var(--ink);
    font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; letter-spacing: -0.015em; margin-top: 2px;
  }
  .card-view { font-size: 0.86rem; font-weight: 600; color: var(--accent); }

  /* Ảnh thật của từng căn */
  .card-photo { width: 100%; height: 156px; object-fit: cover; display: block; background: var(--paper-raise); transition: transform .55s cubic-bezier(.2,.7,.3,1); }
  .card:hover .card-photo { transform: scale(1.07); }

  /* Nhãn trạng thái thuê */
  .card.is-rented .card-photo, .card.is-rented canvas { filter: grayscale(0.55) opacity(0.82); }
  .card.is-rented .card-price { color: var(--ink-soft); }

  /* Ảnh bấm được + dấu hiệu có thư viện ảnh */
  .card-media { position: relative; cursor: zoom-in; display: block; border: 0; padding: 0; width: 100%; background: none; }
  .card-media .shot-count {
    position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px;
    background: rgba(6,32,45,0.72); color: #fff; font-family: var(--mono); font-size: 0.68rem;
    padding: 5px 9px; border-radius: 20px; backdrop-filter: blur(4px);
  }

  /* Cửa sổ xem ảnh */
  .lb { display: none; position: fixed; inset: 0; z-index: 1200; background: rgba(4,20,30,0.94); }
  .lb.open { display: flex; flex-direction: column; }
  .lb-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 20px; color: #fff; }
  .lb-title { font-family: var(--serif); font-size: 1.06rem; }
  .lb-title span { font-family: var(--mono); font-size: 0.74rem; opacity: 0.75; display: block; margin-top: 3px; }
  .lb-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); background: transparent; color: #fff; cursor: pointer; font-size: 1.1rem; flex-shrink: 0; }
  .lb-close:hover { background: rgba(255,255,255,0.12); }
  .lb-stage { flex: 1; display: flex; align-items: center; justify-content: center; position: relative; padding: 0 8px; min-height: 0; }
  .lb-img { max-width: min(100%, 820px); max-height: 100%; object-fit: contain; border-radius: 6px; }
  .lb-nav {
    position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3); background: rgba(4,20,30,0.5); color: #fff; cursor: pointer; font-size: 1.3rem;
  }
  .lb-nav:hover { background: rgba(255,255,255,0.18); }
  .lb-prev { left: 12px; } .lb-next { right: 12px; }
  .lb-thumbs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; padding: 14px 20px 20px; }
  .lb-thumbs img { width: 64px; height: 44px; object-fit: cover; border-radius: 4px; cursor: pointer; opacity: 0.5; border: 2px solid transparent; }
  .lb-thumbs img.active { opacity: 1; border-color: var(--accent-on-dark); }
  .lb-foot { text-align: center; padding: 0 20px 22px; }
  .lb-foot .btn { display: inline-flex; margin: 0 5px; }
  .lb-foot .btn-ghost { background: transparent; color: var(--deep-ink); border-color: rgba(255,255,255,0.35); }
  .lb-foot .btn-ghost:hover { background: rgba(255,255,255,0.12); }
  @media (max-width: 760px) {
    .lb-nav { width: 40px; height: 40px; }
    .lb-thumbs img { width: 54px; height: 38px; }
    .lb-title { font-size: 0.95rem; }
  }


  /* Bản rút gọn dùng cho điện thoại */
  .card-spec-min, .cta-min { display: none; }

  @media (max-width: 560px) {
    /* 3 thẻ một hàng, chữ rút gọn để không vỡ dòng */
    .listing-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .card canvas, .card-photo { height: 86px; }
    .card-body { padding: 7px 7px 8px; gap: 2px; }
    .card-top { display: block; }
    .card-badge { display: none; }
    .card-code { font-size: 0.53rem; letter-spacing: 0.02em; }
    .card-price { font-size: 0.76rem !important; }
    .card-spec { display: none; }
    .card-spec-min { display: block; font-size: 0.6rem; line-height: 1.35; color: var(--ink-soft); }
    .cta-full { display: none; }
    .cta-min { display: inline; }
    .card-cta { font-size: 0.62rem; padding-top: 6px; margin-top: 5px; gap: 3px; }
    .card-media .shot-count { font-size: 0.52rem; padding: 2px 5px; right: 4px; bottom: 4px; gap: 3px; }
  }
  @media (max-width: 360px) {
    .listing-grid { grid-template-columns: repeat(2, 1fr); }
    .card canvas, .card-photo { height: 104px; }
  }

  .tower-tabs { margin-top: -10px; }
  .tower-chip { font-family: var(--mono); }
  .card-price.is-ask { font-family: var(--sans); font-size: 0.86rem; font-weight: 600; color: var(--accent); }
  .card-price-sub { display: block; font-family: var(--sans); font-size: 0.74rem; font-weight: 500; color: var(--ink-soft); margin-top: 1px; letter-spacing: 0; }
  .card.is-hot { border-color: #E23D2E; box-shadow: 0 4px 16px rgba(226,61,46,0.16); }
  .card.is-hot:hover { box-shadow: 0 12px 28px rgba(226,61,46,0.26); }
  .card.is-hot .card-media::after {
    content: "HOT"; position: absolute; left: 0; top: 10px; z-index: 2;
    font-family: var(--sans); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em;
    background: #E23D2E; color: #fff; padding: 4px 9px 4px 8px; border-radius: 0 3px 3px 0;
    line-height: 1.3; box-shadow: 0 2px 8px rgba(226,61,46,0.4);
  }
  @media (max-width: 560px) {
    .tower-tabs { margin-top: -6px; }
    .card-price-sub { font-size: 0.58rem; }
    .card.is-hot .card-media::after { font-size: 0.55rem; padding: 3px 6px; top: 6px; letter-spacing: 0.08em; }
  }

  /* ---------- Chế độ tối ----------
     Chỉ bật khi khách tự bấm nút 🌙. KHÔNG tự chạy theo chế độ tối của điện thoại
     (trước đây để tự động thì máy khách bật chế độ tối làm cả trang tối sầm, khó đọc). */
  html[data-theme="dark"] {
    color-scheme: dark;
    --card-bg: #17242C;
    --paper: #101A20;
    --paper-raise: #17242C;
    --ink: #E9F2F6;
    --ink-soft: #9DB4C0;
    --deep: #0E3A50;
    --deep-2: #071F2B;
    --deep-ink: #F2FAFD;
    --deep-ink-soft: #BCD7E5;
    --accent: #79C4E8;
    --accent-on-dark: #A6D6EF;
    --accent-soft: #14303D;
    --line: rgba(233,242,246,0.15);
    --line-deep: rgba(242,250,253,0.20);
    --shadow: 0 18px 44px -26px rgba(0,0,0,0.8);
    --cta: #2A82BB;
    --cta-hover: #3E9AD3;
    --cta-text: #FFFFFF;
    --gold-ink: #F0C173;
    --gold-on-dark: #F2C271;
    --gold-soft: #382C15;
    --gold-line: rgba(242,194,113,0.38);
  }
  html[data-theme="dark"] body { background: var(--paper); }
  html[data-theme="dark"] .nav-links-drop { background: var(--paper-raise); }
  html[data-theme="dark"] .contact-form input,
  html[data-theme="dark"] .contact-form select,
  html[data-theme="dark"] .contact-form textarea {
    background: var(--paper); color: var(--ink); border-color: var(--line);
  }
  html[data-theme="dark"] .modal-card { background: var(--paper-raise); }
  html[data-theme="dark"] .lang-gate-inner .logo-splash-bg { filter: none; }

  /* Nút chuyển sáng / tối */
  .theme-btn {
    width: 34px; height: 34px; flex: none; border-radius: 50%;
    border: 1px solid var(--line); background: var(--paper);
    cursor: pointer; font-size: 0.95rem; line-height: 1;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
  }
  .theme-btn:hover { background: var(--accent-soft); border-color: var(--accent); transform: rotate(-12deg); }
  .nav-mobile-panel .theme-btn { width: 100%; border-radius: 6px; height: 40px; gap: 8px; }
  .nav-mobile-panel .theme-btn::after { content: attr(data-label); font-family: var(--sans); font-size: 0.84rem; font-weight: 700; color: var(--ink); }

  /* ---------- Thanh tìm kiếm nổi dưới ảnh hero ---------- */
  .searchbar-wrap { position: relative; z-index: 5; margin-top: -38px; margin-bottom: 26px; }
  /* Ô tìm căn phù hợp */
  .searchbar.tim-can { display: block; border-radius: 18px; padding: 18px 20px 16px; max-width: 1040px; overflow: visible; }
  .tc-dau { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
  .tc-dau strong { font-size: 1.12rem; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; }
  .tc-dau span { font-size: 0.84rem; color: var(--ink-soft); }
  .tc-luoi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 10px; align-items: end; }
  .tc-o { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
  .tc-o > span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
  .tc-o select {
    width: 100%; appearance: none; -webkit-appearance: none; font: inherit; font-size: 0.95rem; font-weight: 600; color: var(--ink);
    background: var(--paper-raise) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2359737F' stroke-width='1.8' fill='none'/%3E%3C/svg%3E") no-repeat right 12px center;
    border: 1px solid var(--line); border-radius: 10px; padding: 11px 32px 11px 12px; cursor: pointer;
  }
  .tc-o select:disabled { opacity: 0.55; cursor: default; }
  .tc-o select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
  .tim-can .sb-go { border-radius: 10px; padding: 12px 26px; margin: 0; height: 45px; }
  .tim-can .tc-ma { display: flex; align-items: center; gap: 8px; margin-top: 10px; border-top: 1px dashed var(--line); padding-top: 10px; }
  .tim-can .tc-ma .sb-input { flex: 1; border: 0; background: transparent; font: inherit; font-size: 0.9rem; color: var(--ink); padding: 6px 0; outline: none; }
  @media (max-width: 860px) {
    .tc-luoi { grid-template-columns: 1fr 1fr; }
    .tim-can .sb-go { grid-column: 1 / -1; width: 100%; }
  }
  .searchbar {
    display: flex; align-items: stretch; gap: 0;
    background: var(--card-bg); border: 1px solid var(--line); border-radius: 999px;
    box-shadow: 0 18px 44px -22px rgba(12,58,82,0.45);
    overflow: hidden; max-width: 860px; margin: 0 auto;
  }
  .sb-toa {
    border: 0; background: transparent; color: var(--ink); cursor: pointer;
    font-family: var(--sans); font-size: 0.9rem; font-weight: 600;
    padding: 0 16px 0 22px; flex: none; min-width: 152px;
    appearance: none; -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
    background-position: right 20px center, right 15px center;
    background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
    padding-right: 34px;
  }
  .sb-sep { width: 1px; background: var(--line); flex: none; margin: 12px 0; }
  .sb-field { flex: 1; display: flex; align-items: center; gap: 9px; padding: 0 8px 0 16px; min-width: 0; }
  .sb-ico { flex: none; color: var(--ink-soft); display: flex; }
  .sb-input {
    flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink);
    font-family: var(--sans); font-size: 0.94rem; padding: 17px 0;
  }
  .sb-input::placeholder { color: var(--ink-soft); }
  .sb-input:focus { outline: none; }
  .sb-go {
    flex: none; border: 0; cursor: pointer; margin: 7px; border-radius: 999px;
    background: var(--cta); color: var(--cta-text);
    font-family: var(--sans); font-weight: 700; font-size: 0.9rem;
    padding: 0 30px; transition: background .2s ease, transform .2s ease;
  }
  .sb-go:hover { background: var(--cta-hover); transform: translateY(-1px); }
  .sb-hit { text-align: center; margin-top: 12px; font-size: 0.84rem; color: var(--ink-soft); min-height: 20px; }
  .sb-hit b { color: var(--accent); font-family: var(--mono); }
  @media (max-width: 700px) {
    .searchbar-wrap { margin-top: -26px; }
    .searchbar { flex-wrap: wrap; border-radius: 16px; padding: 6px; gap: 4px; }
    .sb-toa { min-width: 0; width: 100%; padding: 12px 34px 12px 14px; border-radius: 10px; background-color: var(--paper-raise); }
    .sb-sep { display: none; }
    .sb-field { width: 100%; background: var(--paper-raise); border-radius: 10px; padding: 0 12px; }
    .sb-input { padding: 12px 0; font-size: 0.9rem; }
    .sb-go { width: 100%; margin: 2px 0 0; padding: 13px 0; border-radius: 10px; }
  }

  /* ---------- Bản đồ Google ---------- */
  .gmap { position: relative; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--paper-raise); }
  .gmap-link { display: block; position: relative; line-height: 0; text-decoration: none; }
  .gmap-svg { display: block; width: 100%; height: 420px; }
  .gmap-open {
    position: absolute; right: 12px; top: 12px; z-index: 2; line-height: 1.25;
    background: var(--cta); color: var(--cta-text); font-family: var(--sans); font-size: 0.8rem;
    font-weight: 600; padding: 8px 15px; border-radius: 999px; box-shadow: 0 3px 12px rgba(0,0,0,0.2);
  }
  .gmap-link:hover .gmap-open { background: var(--cta-hover); }
  .gmap-credit { position: absolute; right: 10px; bottom: 8px; z-index: 2; font-family: var(--sans); font-size: 0.65rem; color: #5A7683; background: rgba(255,255,255,0.78); padding: 3px 8px; border-radius: 999px; line-height: 1.3; }
  html[data-theme="dark"] .gmap-credit { color: #9FBECB; background: rgba(16,26,32,0.7); }
  /* --- Bản đồ vẽ từ dữ liệu OpenStreetMap --- */
  .m-land { fill: #E9F1F4; }
  .m-sea { fill: #B7DCEE; }
  .m-coast { fill: none; stroke: #8FC4DC; stroke-width: 2; }
  .m-blds path { fill: #D6E3EA; stroke: #C3D5DF; stroke-width: 1; }
  .m-hls path { fill: #1B79A8; fill-opacity: 0.3; stroke: #1B79A8; stroke-width: 1.6; }
  .m-parks path { fill: #E3E9EC; stroke: #CFDBE2; stroke-width: 1; }
  .m-toa text { font-family: var(--mono); font-size: 15px; font-weight: 700; fill: #10586F; text-anchor: middle; dominant-baseline: middle; paint-order: stroke; stroke: rgba(255,255,255,0.88); stroke-width: 3.2; stroke-linejoin: round; }
  .m-svcs path { fill: none; stroke: #FFFFFF; stroke-width: 2.4; stroke-linecap: round; }
  .m-mids-case path { fill: none; stroke: #C7DAE4; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
  .m-mids path { fill: none; stroke: #FFFFFF; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
  .m-majors-case path { fill: none; stroke: #DFBB71; stroke-width: 15; stroke-linecap: round; stroke-linejoin: round; }
  .m-majors path { fill: none; stroke: #FBE4A8; stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; }
  .m-sands path { fill: #F3E7C9; stroke: none; }
  .m-greens path { fill: #CFE6C8; stroke: none; }
  .m-labels text { font-family: var(--sans); font-size: 10.5px; font-weight: 600; fill: #56727F; text-anchor: middle; paint-order: stroke; stroke: #FFFFFF; stroke-width: 2.8; stroke-linejoin: round; }
  .m-lb-big { font-size: 12px; fill: #44606D; }
  .m-lb-sea { font-size: 14px; font-weight: 600; font-style: italic; fill: #3C7C9C; letter-spacing: 0.05em; stroke: rgba(255,255,255,0.7); stroke-width: 2.4; }
  .m-pin-t { font-family: var(--sans); font-size: 15.5px; font-weight: 700; fill: #12303C; text-anchor: start; paint-order: stroke; stroke: rgba(255,255,255,0.92); stroke-width: 4; stroke-linejoin: round; }
  .m-pin-sh { fill: rgba(0,0,0,0.22); }
  .m-pin-b { fill: #E23D2E; }
  .m-pin-d { fill: #FFFFFF; }
  html[data-theme="dark"] .m-land { fill: #17323E; }
  html[data-theme="dark"] .m-sea { fill: #0D2A38; }
  html[data-theme="dark"] .m-coast { stroke: #2A5B72; }
  html[data-theme="dark"] .m-blds path { fill: #1E3F4E; stroke: #27505F; }
  html[data-theme="dark"] .m-hls path { fill: #A6D6EF; fill-opacity: 0.32; stroke: #A6D6EF; }
  html[data-theme="dark"] .m-svcs path { stroke: #27505F; }
  html[data-theme="dark"] .m-parks path { fill: #22333B; stroke: #2C444E; }
  html[data-theme="dark"] .m-toa text { fill: #BEE6F8; stroke: rgba(16,26,32,0.85); }
  html[data-theme="dark"] .m-mids-case path { stroke: #1B3D4B; }
  html[data-theme="dark"] .m-mids path { stroke: #33606F; }
  html[data-theme="dark"] .m-majors-case path { stroke: #46402A; }
  html[data-theme="dark"] .m-majors path { stroke: #7C6D3E; }
  html[data-theme="dark"] .m-labels text { fill: #C3D9E3; stroke: #12303C; }
  html[data-theme="dark"] .m-lb-big { fill: #DCEBF2; }
  html[data-theme="dark"] .m-sands path { fill: #3B3524; }
  html[data-theme="dark"] .m-greens path { fill: #1D3A2A; }
  html[data-theme="dark"] .m-pin-t { fill: #EAF5FA; stroke: rgba(16,26,32,0.9); }
  html[data-theme="dark"] .m-lb-sea { fill: #7FBBD8; stroke: rgba(13,42,56,0.65); }
  @media (max-width: 700px) { .gmap-svg { height: 320px; } .gmap-open { font-size: 0.72rem; padding: 7px 12px; right: 8px; top: 8px; } }

  /* ---------- Dải số liệu ---------- */
  .stats { background: var(--deep); color: var(--deep-ink); }
  .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 210px)); justify-content: center; gap: 20px 34px; text-align: center; }
  @media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(4, minmax(0, 200px)); } }
  @media (min-width: 621px) and (max-width: 899px) { .stats-grid { grid-template-columns: repeat(2, minmax(0, 220px)); } }
  .stats-note { text-align: center; color: var(--deep-ink-soft); font-size: 0.8rem; line-height: 1.6; max-width: 62ch; margin: 22px auto 0; }

  .stat-n { font-family: var(--mono); font-weight: 700; font-size: clamp(1.6rem, 4vw, 2.5rem); color: var(--accent-on-dark); letter-spacing: -0.02em; }
  .stat-l { font-size: 0.82rem; color: var(--deep-ink-soft); margin-top: 4px; }
  @media (max-width: 620px) { .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 10px; } .stats-note { font-size: 0.75rem; } }

  /* ---------- Lọc theo mức giá ---------- */
  .price-tabs { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin-top: -8px; }
  .price-chip {
    font-family: var(--mono); font-size: 0.76rem; font-weight: 700; cursor: pointer;
    padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line);
    background: var(--paper); color: var(--ink-soft); transition: all .2s ease;
  }
  .price-chip:hover { background: var(--accent-soft); color: var(--accent); }
  .price-chip.active { background: var(--cta); color: var(--cta-text); border-color: var(--cta); }

  /* ---------- Khách hàng đánh giá ---------- */
  .fb-sec { background: linear-gradient(180deg, var(--accent-soft) 0%, var(--paper) 100%); }
  .fb-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
  .fb-src { font-family: var(--sans); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
  .gg-box { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 26px 34px;
    background: var(--card-bg); border: 1px solid var(--line); border-radius: 14px; padding: 22px 26px; margin-bottom: 26px; }
  .gg-score { text-align: center; }
  .gg-n { font-family: var(--serif); font-size: 2.9rem; font-weight: 700; line-height: 1; color: var(--ink); }
  .gg-stars { color: #F0A500; font-size: 1.05rem; letter-spacing: 0.14em; margin-top: 6px; }
  .gg-c { font-size: 0.8rem; color: var(--ink-soft); margin-top: 6px; }
  .gg-bars { display: grid; gap: 5px; min-width: 160px; }
  .gg-row { display: grid; grid-template-columns: 26px 1fr 26px; align-items: center; gap: 9px; font-size: 0.76rem; color: var(--ink-soft); font-family: var(--mono); }
  .gg-track { display: block; height: 7px; border-radius: 4px; background: var(--accent-soft); overflow: hidden; }
  .gg-fill { display: block; height: 100%; border-radius: 4px; background: #F0A500; min-width: 2px; }
  .gg-act { text-align: center; }
  .gg-note { font-size: 0.72rem; color: var(--ink-soft); margin: 9px 0 0; }
  @media (max-width: 760px) { .gg-box { grid-template-columns: 1fr; gap: 18px; text-align: center; padding: 20px; } .gg-bars { max-width: 320px; margin: 0 auto; } }
  .fb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; }
  @media (max-width: 900px) { .fb-grid { grid-template-columns: 1fr; } }
  .fb-card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px; }
  .fb-stars { color: #F0A22E; letter-spacing: 2px; font-size: 0.95rem; }
  .fb-text { color: var(--ink); font-size: 0.94rem; line-height: 1.65; flex: 1; }
  .fb-who { display: flex; align-items: center; gap: 10px; }
  .fb-ava { width: 36px; height: 36px; border-radius: 50%; background: var(--cta); color: #fff; display: grid; place-items: center; font-family: var(--mono); font-size: 0.76rem; font-weight: 700; flex: none; }
  .fb-name { display: block; font-weight: 700; font-size: 0.88rem; line-height: 1.35; }
  .fb-meta { display: block; font-size: 0.76rem; color: var(--ink-soft); line-height: 1.35; }
  .fb-empty { text-align: center; color: var(--ink-soft); padding: 26px 20px; border: 1px dashed var(--line); border-radius: 12px; margin-bottom: 28px; font-size: 0.92rem; }

  .fb-guidi { margin-top: 16px; padding: 18px; border: 1px solid var(--gold-line); background: var(--gold-soft); border-radius: 12px; }
  .fb-guidi-lead { margin: 0 0 12px; font-size: 0.88rem; line-height: 1.55; color: var(--ink); font-weight: 600; }
  .fb-guidi-text { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 12px; font-family: var(--sans); font-size: 0.86rem; line-height: 1.5; color: var(--ink); background: var(--paper); resize: vertical; }
  .fb-guidi-acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
  .fb-guidi-note { margin: 12px 0 0; font-size: 0.8rem; color: var(--ink-soft); line-height: 1.55; }
  @media (max-width: 560px) { .fb-guidi-acts .btn { width: 100%; justify-content: center; } }
  .fb-card.la-cho { border-color: var(--gold-line); background: var(--gold-soft); position: relative; }
  .fb-nhan-cho { position: absolute; top: 12px; right: 12px; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-ink); background: var(--paper); border: 1px solid var(--gold-line); border-radius: 999px; padding: 3px 9px; }
  .fb-cho-note { max-width: 620px; margin: 0 auto 18px; font-size: 0.84rem; line-height: 1.6; color: var(--ink-soft); background: var(--gold-soft); border: 1px solid var(--gold-line); border-radius: 12px; padding: 14px 18px; }
  .fb-cho-note button { background: none; border: 0; padding: 0; margin-top: 6px; color: var(--gold-ink); font-family: var(--sans); font-size: 0.82rem; font-weight: 700; cursor: pointer; text-decoration: underline; }
  .fb-form-wrap { max-width: 620px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 26px 26px 28px; }
  .fb-form-wrap h3 { font-family: var(--serif); font-size: 1.25rem; margin: 0 0 4px; }
  .fb-form-wrap .modal-sub { color: var(--ink-soft); font-size: 0.9rem; margin: 0 0 18px; }
  .fb-rate { display: flex; gap: 6px; margin-bottom: 4px; }
  .fb-star {
    background: none; border: 0; padding: 0; cursor: pointer; font-size: 1.65rem; line-height: 1;
    color: var(--line); transition: transform .15s ease, color .15s ease;
  }
  .fb-star:hover { transform: scale(1.15); }
  .fb-star.on { color: #F0A22E; }
  .fb-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  @media (max-width: 560px) { .fb-row2 { grid-template-columns: 1fr; } }
  .fb-form-wrap textarea {
    width: 100%; min-height: 96px; resize: vertical; font-family: var(--sans); font-size: 0.94rem;
    padding: 11px 13px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--ink);
  }
  .fb-form-wrap textarea:focus, .fb-form-wrap input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
  .fb-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
  .fb-note { font-size: 0.78rem; color: var(--ink-soft); margin-top: 12px; line-height: 1.6; }

  /* ---------- Tầm nhìn · Sứ mệnh · Giá trị ---------- */
  .vision { background: linear-gradient(180deg, var(--accent-soft) 0%, var(--paper) 100%); }
  .vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  @media (max-width: 860px) { .vm-grid { grid-template-columns: 1fr; } }
  .vm-card {
    border: 1px solid var(--line); border-radius: 12px; padding: 30px 30px 32px;
    background-color: var(--card-bg); box-shadow: 0 14px 34px -26px rgba(12,58,82,0.4);
  }
  .vm-card .vm-label { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
  /* Sứ mệnh & Tầm nhìn dùng font sans (không phải serif) cho dễ đọc ở đoạn dài */
  .vm-card p { margin-top: 14px; color: var(--ink); font-family: var(--sans); font-weight: 500; font-size: clamp(0.98rem, 1.5vw, 1.08rem); line-height: 1.68; }
  .values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 34px; }
  @media (max-width: 860px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px) { .values-grid { grid-template-columns: 1fr; } }
  .value-item { background-color: var(--card-bg); padding: 26px 24px; display: flex; flex-direction: column; gap: 9px; }
  .value-item .vnum { font-family: var(--mono); font-size: 0.72rem; color: var(--accent); }
  .value-item h3 { font-family: var(--sans); font-weight: 700; font-size: 1.04rem; color: var(--ink); }
  .value-item p { font-size: 0.9rem; color: var(--ink-soft); }

  .featured-note { display: flex; align-items: center; gap: 12px; background: var(--accent-soft); border: 1px solid var(--line); padding: 14px 20px; font-size: 0.86rem; color: var(--ink-soft); margin-bottom: 34px; }
  .featured-note strong { color: var(--ink); font-weight: 700; }
  @media (max-width: 640px) { .featured-note { margin-bottom: 24px; padding: 12px 16px; font-size: 0.82rem; align-items: flex-start; } }
  .news-feed { display: flex; flex-direction: column; }
  .news-item { display: grid; grid-template-columns: 130px 1fr; gap: 32px; padding: 30px 0; border-top: 1px solid var(--line); transition: background .25s ease, padding-left .25s ease; }
  .news-feed .news-item:last-child { border-bottom: 1px solid var(--line); }
  .news-item:hover { background: var(--accent-soft); padding-left: 10px; }
  .news-date { font-family: var(--mono); font-size: 0.82rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; padding-top: 4px; }
  .news-cat { display: inline-block; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--deep); background: var(--accent-soft); padding: 3px 8px; margin-bottom: 10px; }
  .news-title { font-family: var(--serif); font-size: 1.28rem; line-height: 1.35; font-weight: 600; }
  .news-excerpt { color: var(--ink-soft); font-size: 0.95rem; margin-top: 8px; max-width: 62ch; }
  @media (max-width: 640px) { .news-item { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; } .news-title { font-size: 1.12rem; } .news-excerpt { font-size: 0.92rem; } }

  /* ---------- Bảng tình trạng căn ---------- */
  .tt-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 22px; font-size: 0.85rem; color: var(--ink-soft); }
  .tt-key { display: inline-flex; align-items: center; gap: 7px; }
  .tt-dot { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
  .tt-dot.is-trong { background: #1E9E5A; }
  .tt-dot.is-giu { background: #E8A33D; }
  .tt-dot.is-khach { background: #7F97A3; }
  .tt-group { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; overflow: hidden; background: var(--card-bg); }
  .tt-head { width: 100%; display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: none; border: 0; cursor: pointer; text-align: left; font-family: var(--sans); }
  .tt-head:hover { background: var(--accent-soft); }
  .tt-caret { transition: transform .2s ease; font-size: 0.7rem; color: var(--ink-soft); }
  .tt-group.mo .tt-caret { transform: rotate(90deg); }
  .tt-name { font-weight: 700; font-size: 1.05rem; color: var(--ink); }
  .tt-count { color: var(--ink-soft); font-size: 0.88rem; margin-left: 6px; }
  .tt-sub { display: block; color: var(--ink-soft); font-size: 0.82rem; margin-top: 3px; }
  .tt-badges { margin-left: auto; display: flex; gap: 6px; flex-shrink: 0; }
  .tt-badges i { font-style: normal; font-size: 0.76rem; font-weight: 700; color: #fff; border-radius: 999px; padding: 3px 10px; font-variant-numeric: tabular-nums; }
  .tt-badges .b-trong { background: #1E9E5A; }
  .tt-badges .b-giu { background: #E8A33D; }
  .tt-badges .b-khach { background: #7F97A3; }
  .tt-body { display: none; grid-template-columns: repeat(auto-fill, minmax(126px, 1fr)); gap: 10px; padding: 4px 20px 20px; }
  .tt-group.mo .tt-body { display: grid; }
  .tt-card { display: flex; flex-direction: column; gap: 3px; padding: 12px 10px; border-radius: 8px; text-decoration: none; color: #fff; text-align: center; transition: transform .16s ease, box-shadow .16s ease; }
  .tt-card:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(12,37,49,0.2); }
  .tt-card.is-trong { background: #1E9E5A; }
  .tt-card.is-giu { background: #E8A33D; }
  .tt-card.is-khach { background: #7F97A3; }
  .tt-ma { font-weight: 700; font-size: 0.95rem; letter-spacing: -0.01em; }
  .tt-tt { font-size: 0.72rem; opacity: 0.95; }
  .tt-toa { font-size: 0.68rem; opacity: 0.8; font-variant-numeric: tabular-nums; }
  @media (max-width: 560px) {
    .tt-body { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; padding: 4px 14px 16px; }
    .tt-head { padding: 14px; gap: 10px; }
    .tt-ma { font-size: 0.86rem; }
    .tt-tt { font-size: 0.64rem; }
  }

  .tt-gal { margin-top: 26px; padding: 22px; background: var(--paper-raise); border: 1px solid var(--line); border-radius: 12px; }
  .tt-gal-lead { margin: 0 0 14px; font-weight: 600; color: var(--ink); text-align: center; font-size: 0.95rem; }
  .tt-gal-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
  .tt-gal-links a { display: flex; flex-direction: column; gap: 3px; text-align: center; text-decoration: none; padding: 13px 12px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 0.9rem; transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease; }
  .tt-gal-links a:hover { transform: translateY(-3px); background: var(--cta); color: var(--cta-text); box-shadow: 0 10px 22px rgba(20,80,110,0.22); }
  .tt-gal-links a small { font-size: 0.76rem; font-weight: 500; opacity: 0.85; font-variant-numeric: tabular-nums; }
  html[data-theme="dark"] .tt-gal-links a { background: var(--accent-soft); }

  /* ---------- Bản đồ vị trí ---------- */
  .map-wrap { display: block; }
  .tower-row {
    display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 16px;
    background: var(--paper); border: none; width: 100%; text-align: left; cursor: pointer; font-family: var(--sans);
  }
  .tower-row:hover, .tower-row.active { background: var(--accent-soft); }

  /* ---------- Về chúng tôi ---------- */
  .about-h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-top: 18px; max-width: 20ch; }
  .about-body { display: flex; flex-direction: column; gap: 18px; margin-top: 26px; max-width: 66ch; }
  .about-body p { color: var(--ink-soft); font-size: 1rem; }
  .about-list { list-style: none; margin: -6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
  .about-list li {
    position: relative; padding-left: 20px; color: var(--ink); font-size: 1rem; font-weight: 500;
  }
  .about-list li::before {
    content: "·"; position: absolute; left: 4px; top: -1px;
    color: var(--accent); font-weight: 700; font-size: 1.25rem; line-height: 1.35;
  }
  .tl-h3 { font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 700; margin: 44px 0 0; color: var(--ink); }
  .timeline { list-style: none; margin: 24px 0 0; padding: 0 0 0 26px; position: relative; }
  .timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
  .tl-item { position: relative; display: grid; grid-template-columns: 150px 1fr; gap: 10px 26px; padding-bottom: 26px; }
  .tl-item:last-child { padding-bottom: 0; }
  .tl-item::before { content: ""; position: absolute; left: -26px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--paper); }
  .tl-year { font-family: var(--mono); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); padding-top: 3px; white-space: nowrap; }
  .tl-body h4 { font-size: 1rem; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
  .tl-body p { font-size: 0.94rem; color: var(--ink-soft); margin: 0; max-width: 62ch; }
  @media (max-width: 700px) {
    .timeline { padding-left: 22px; }
    .tl-item { grid-template-columns: 1fr; gap: 4px; padding-bottom: 22px; }
    .tl-item::before { left: -22px; top: 4px; width: 10px; height: 10px; }
    .tl-year { padding-top: 0; font-size: 0.72rem; }
    .tl-body h4 { font-size: 0.96rem; }
    .tl-body p { font-size: 0.9rem; }
  }
  .about-quote {
    margin: 40px 0 0; padding: 24px 0 4px 26px; border-left: 3px solid var(--accent); max-width: 62ch;
  }
  .about-quote p { font-family: var(--serif); font-size: clamp(1.05rem, 2vw, 1.32rem); font-style: italic; line-height: 1.5; color: var(--ink); }
  .about-quote cite { display: block; margin-top: 14px; font-style: normal; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }

  /* ================= HIỆU ỨNG ĐỘNG ================= */

  /* Cuộn mượt + chừa chỗ cho thanh nav dính trên cùng (nếu không, mục sẽ nhảy nấp dưới thanh nav) */
  html { scroll-behavior: smooth; }
  section[id], footer[id] { scroll-margin-top: 92px; }

  /* Hiện dần khi cuộn tới. Class .reveal do JS gắn, nên nếu tắt JS nội dung vẫn hiện bình thường. */
  .reveal { opacity: 0; transform: translateY(20px); transition: opacity .75s cubic-bezier(.2,.7,.3,1), transform .75s cubic-bezier(.2,.7,.3,1); }
  .reveal.in { opacity: 1; transform: none; }

  /* Chữ trong hero hiện lần lượt sau khi màn hình logo mở đầu biến mất */
  @keyframes heroIn { to { opacity: 1; transform: none; } }

  /* Thanh nav thu gọn lại khi cuộn xuống */
  header.site { transition: box-shadow .28s ease, background .28s ease; }
  header.site .row { transition: padding .28s ease; }
  header.site.scrolled .row { padding-top: 10px; padding-bottom: 10px; }
  header.site.scrolled { box-shadow: 0 6px 26px rgba(12,58,82,0.16); }

  /* Thẻ căn hộ: nhấc lên và ảnh phóng nhẹ khi rê chuột */
  .card { overflow: hidden; transition: transform .32s cubic-bezier(.2,.7,.3,1), box-shadow .32s ease, border-color .32s ease; }
  .card:hover { transform: translateY(-6px); box-shadow: 0 28px 52px -30px rgba(12,58,82,0.55); border-color: color-mix(in srgb, var(--accent) 42%, transparent); }
  .card canvas { transition: transform .55s cubic-bezier(.2,.7,.3,1); }
  .card:hover canvas { transform: scale(1.07); }
  .card-cta span:last-child { transition: transform .26s ease; flex: none; }
  .card:hover .card-cta span:last-child { transform: translateX(6px); }

  /* Ba mảng dịch vụ + 6 giá trị: đổi nền nhẹ khi rê chuột */
  .pillar { transition: background .28s ease; }
  .pillar:hover { background: var(--accent-soft); }
  .value-item { transition: background-color .28s ease; }
  .value-item:hover { background-color: var(--accent-soft); }
  .vm-card { transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease; }
  .vm-card:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -28px rgba(12,58,82,0.45); }

  /* Gạch nhấn phía trên mỗi cam kết chạy dài ra khi cuộn tới */
  .why-item { border-top: 0; padding-top: 20px; position: relative; }
  .why-item::before {
    content: ""; position: absolute; top: 0; left: 0; height: 2px; width: 100%;
    background: var(--accent); transform: scaleX(0); transform-origin: left;
    transition: transform .7s cubic-bezier(.2,.7,.3,1) .15s;
  }
  .why-item.in::before { transform: scaleX(1); }

  /* Nút bấm: lún xuống khi nhấn cho có phản hồi */
  .btn:active { transform: translateY(1px); }

  /* Toà nhà trên sơ đồ: nhấc nhẹ khi rê chuột */

  /* Tôn trọng thiết lập "giảm chuyển động" của máy: tắt hết, giữ nội dung luôn hiện */
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
    .why-item::before { transform: scaleX(1) !important; }
  }

  /* Chữ hiện lên theo TỪNG TỪ (JS tự cắt tiêu đề thành các từ) */
  .split .w {
    display: inline-block;
    opacity: 0; transform: translateY(0.5em);
    transition: opacity .6s cubic-bezier(.2,.75,.3,1), transform .6s cubic-bezier(.2,.75,.3,1);
  }
  .split.in .w { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) {
    .split .w { opacity: 1 !important; transform: none !important; transition: none !important; }
  }

  /* ---------- Tối ưu màn hình điện thoại ---------- */
  @media (max-width: 760px) {
    html { -webkit-text-size-adjust: 100%; }

    /* Thanh trên cùng: gọn lại để không bị chật */
    header.site .row { padding: 12px 20px; }
    .wordmark { gap: 9px; }
    .wordmark .logo-mark { width: 32px; height: 32px; }
    .wordmark .word-text { font-size: 1rem; }
    .wordmark small { display: none; }
    nav.primary { gap: 8px; }
    header.site .btn-primary { display: none; }   /* nút CTA đã có sẵn trong menu ☰, tránh chật */
    .lang-switch { margin-left: 6px; }
    .lang-switch-btn { padding: 6px 8px; font-size: 0.66rem; }
    .nav-burger { margin-left: 6px; }
    .nav-mobile-panel { padding: 6px 20px 18px; }

    /* Hero */
    .hero-sub { font-size: 0.96rem; margin-top: 16px; }
    .hero-actions { gap: 10px; margin-top: 24px; }
    .hero-actions .btn { width: 100%; justify-content: center; }

    /* Khoảng cách chung giữa các mục */
    section { padding: 46px 0; }
    .section-head { margin-bottom: 26px; gap: 10px; }
    .section-head h2 { font-size: 1.5rem; }
    .section-head p { font-size: 0.94rem; max-width: none; }

    .pillar { padding: 26px 22px; gap: 12px; }
    .pillar h3 { font-size: 1.15rem; }

    .listing-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 24px; }
    .listing-tab { margin-right: 14px; font-size: 0.86rem; white-space: nowrap; }
    .card canvas, .card-photo { height: 190px; }
    .listing-more { margin-top: 30px; }
    .listing-more .btn { width: 100%; justify-content: center; }

    .about-h2 { max-width: none; }
    .about-body { margin-top: 20px; gap: 14px; }
    .about-body p { font-size: 0.96rem; }
    .about-quote { margin-top: 30px; padding: 16px 0 4px 18px; }
    .why-item h3 { font-size: 1rem; }

    .steps li { grid-template-columns: 30px 1fr; gap: 12px; padding: 16px 0; }
    .consign .btn-primary { width: 100%; justify-content: center; }

    .faq-q { font-size: 0.98rem; padding: 18px 0; gap: 12px; }
    .faq-a p { font-size: 0.92rem; padding-bottom: 18px; }

    .modal-card { padding: 26px 20px; }
    .modal-card h3 { font-size: 1.22rem; }

    .foot-bottom { flex-direction: column; gap: 8px; }

    /* Logo mở đầu: co theo bề ngang màn hình, không tràn */
    .logo-splash-mark { width: clamp(150px, 46vw, 320px); }
    .logo-splash-text { width: clamp(190px, 58vw, 400px); }
  }

  /* ---------- Vàng đồng: chỉ dùng trên NỀN TỐI, như một chi tiết kim loại ----------
     Trên nền sáng, vàng đậm trông như màu mù tạt nên bỏ hẳn. */
  .stat-n { color: var(--gold-on-dark); }
  .steps li::before { color: var(--gold-on-dark); }
  .consign .btn-primary { background: var(--gold); color: #23180A; box-shadow: 0 6px 20px rgba(216,183,111,0.28); }
  .consign .btn-primary:hover { background: #E6C989; }

  /* ---------- Phân cấp chữ ----------
     Tiêu đề viết thường, siết chữ lại, độ đậm vừa phải. Chữ hoa giãn rộng nhìn rẻ tiền. */
  h1, h2, h3, h4, .news-title, .gg-n, .wordmark .word-text, .tl-h3 { font-family: var(--sans); }
  h1, h2, .about-h2, .consign h2, .tl-h3 {
    font-weight: 700; text-transform: none; letter-spacing: -0.016em; line-height: 1.14;
  }
  h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
  h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
  .about-h2 { font-size: clamp(1.65rem, 3.5vw, 2.55rem); }
  .consign h2 { font-size: clamp(1.55rem, 3.2vw, 2.35rem); }
  .tl-h3 { font-size: clamp(1.1rem, 2.1vw, 1.45rem); letter-spacing: -0.015em; }
  h3, h4, .news-title { font-weight: 700; letter-spacing: -0.008em; }
  .news-title { font-size: 1.16rem; }
  .wordmark .word-text { font-weight: 700; letter-spacing: -0.008em; font-size: 1.2rem; }
  .wordmark small { letter-spacing: 0.16em; font-weight: 500; }
  .stat-n { font-weight: 800; font-size: clamp(3rem, 7.4vw, 4.6rem); letter-spacing: -0.035em; line-height: 1; }
  .stat-l { font-weight: 600; letter-spacing: 0.01em; font-size: 0.92rem; margin-top: 10px; color: var(--deep-ink); opacity: 0.92; }
  .gg-n { font-weight: 700; letter-spacing: -0.02em; }
  .steps li::before { font-weight: 700; }
  .card-code, .stat-n, .news-date, .tcount, .gg-row, .tl-year,
  .steps li::before, .price-tabs, .card-price, .gg-n { font-variant-numeric: tabular-nums; }
  .eyebrow, .card-code, .tl-year, .news-cat, .about-quote cite { letter-spacing: 0.09em; font-weight: 600; }
  .about-quote p { font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
  body { font-weight: 400; letter-spacing: -0.004em; }
  @media (max-width: 560px) { .wordmark .word-text { font-size: 1rem; } }
  /* Chừa khoảng hở giữa tên thương hiệu và thanh menu, tránh dính nhau ở màn hình vừa */
  header.site .row { gap: 22px; }
  header.site .wordmark { flex-shrink: 0; }
  @media (max-width: 1120px) and (min-width: 981px) { nav.primary { gap: 13px; } .nav-links { gap: 13px; } nav.primary a { font-size: 0.79rem; } }
  /* ---------- Giá tiền ----------
     Trên thẻ nền trắng: đen sâu, nét đậm, siết chữ — nhìn đắt hơn hẳn màu vàng.
     Trên nền tối thì mới chuyển sang vàng kim loại. */
  .card-price { color: var(--ink); font-weight: 700; letter-spacing: -0.03em; }
  .card-price.is-ask { color: var(--ink-soft); font-weight: 600; letter-spacing: -0.01em; }
  .card.is-rented .card-price { color: var(--ink-soft); font-weight: 600; }
  html[data-theme="dark"] .card-price { color: var(--gold-on-dark); }
  /* ---------- Chữ Nga ----------
     Be Vietnam Pro không có bảng chữ Nga. Khi khách bật tiếng Nga thì đổi thẳng
     cả trang sang Onest — chắc chắn, không trông chờ trình duyệt tự đỡ từng ký tự. */
  html[lang="ru"] {
    --sans: "Onest", "Segoe UI", ui-sans-serif, system-ui, -apple-system, Arial, sans-serif;
    --serif: "Onest", "Segoe UI", ui-sans-serif, system-ui, -apple-system, Arial, sans-serif;
    --mono: "Onest", "Segoe UI", ui-sans-serif, system-ui, -apple-system, Arial, sans-serif;
  }
  /* ---------- Sửa chế độ tối: thanh đầu trang trước đây khoá nền trắng ----------
     nên chữ sáng nằm trên nền trắng, không đọc được tên thương hiệu. */
  html[data-theme="dark"] header.site {
    background: color-mix(in srgb, var(--paper-raise) 94%, var(--accent-soft));
    border-bottom-color: var(--line);
    box-shadow: 0 2px 18px rgba(0,0,0,0.35);
  }
  html[data-theme="dark"] header.site.scrolled { box-shadow: 0 6px 26px rgba(0,0,0,0.5); }
  html[data-theme="dark"] .nav-mobile-panel {
    background: var(--paper-raise);
    box-shadow: 0 12px 28px rgba(0,0,0,0.45);
  }
  /* ---------- Dải số liệu: cho con số thật to và nổi ---------- */
  .stats { padding: 96px 0; }
  .stats-grid { gap: 34px 28px; }
  @media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(4, minmax(0, 250px)); } }
  @media (max-width: 620px) {
    .stats { padding: 60px 0; }
    .stat-n { font-size: clamp(2.4rem, 12vw, 3.2rem); }
    .stat-l { font-size: 0.8rem; margin-top: 7px; }
    .stats-grid { gap: 26px 12px; }
  }
  /* ---------- Cho con số nổi bật bằng màu ----------
     Nền đậm hơn + vàng tươi hơn + ánh sáng nhẹ quanh chữ. */
  .stats { background: linear-gradient(180deg, #0F4462 0%, #0A2E42 100%); }
  .stat-n {
    color: #FFC55A;                                  /* dự phòng nếu máy không đổ được màu chuyển sắc */
    background: linear-gradient(180deg, #FFE3A7 0%, #FFC44F 46%, #E39A2B 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 34px rgba(255,197,90,0.22);
    filter: drop-shadow(0 2px 10px rgba(255,183,60,0.28));
  }
  .stat-l { color: #EAF4FA; opacity: 1; }
  html[data-theme="dark"] .stats { background: linear-gradient(180deg, #10394F 0%, #08222F 100%); }
  @media (prefers-reduced-motion: reduce) { .stat-n { filter: none; } }
  /* ---------- Nhãn Bán / Thuê dán lên ảnh ----------
     Đặt ngay trên ảnh, màu cam và vàng để khách nhận ra ngay loại căn. */
  .card { position: relative; }
  .loai-badge {
    position: absolute; top: 10px; right: 10px; z-index: 3; pointer-events: none;
    font-family: var(--sans); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.09em;
    text-transform: uppercase; color: #241704; padding: 4px 11px; border-radius: 999px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.28); line-height: 1.3;
  }
  .loai-badge.la-ban { background: linear-gradient(180deg, #FFA53C 0%, #F07C10 100%); color: #2B1503; }
  .loai-badge.la-thue { background: linear-gradient(180deg, #FFD979 0%, #F2B93C 100%); color: #2E2205; }
  .loai-badge.la-da-thue { background: linear-gradient(180deg, #4C606C 0%, #2C3C46 100%); color: #FFFFFF; box-shadow: 0 3px 12px rgba(0,0,0,0.4); }
  .loai-badge.la-giu { background: linear-gradient(180deg, #C9762A 0%, #A85A14 100%); color: #FFFFFF; }
  @media (max-width: 560px) {
    .loai-badge { top: 6px; right: 6px; font-size: 0.54rem; padding: 3px 7px; letter-spacing: 0.05em; }
  }
  /* ---------- Nút lọc theo toà ----------
     Trước đây chữ thừa hưởng màu trắng xám trên nền trắng nên gần như không đọc được. */
  .tower-tabs { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 0; }
  .tower-chip {
    width: auto; display: inline-flex; align-items: center; justify-content: center;
    background: var(--paper); color: var(--ink); border: 1px solid var(--line);
    border-radius: 999px; padding: 9px 18px; font-family: var(--sans); font-size: 0.86rem;
    font-weight: 600; letter-spacing: 0.01em; cursor: pointer; white-space: nowrap;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  }
  .tower-chip:hover { border-color: var(--cta); color: var(--cta); transform: translateY(-1px); }
  .tower-chip.active {
    background: var(--cta); color: var(--cta-text); border-color: var(--cta); font-weight: 700;
    box-shadow: 0 4px 12px rgba(31,111,163,0.3);
  }
  .tower-chip.active:hover { background: var(--cta-hover); color: var(--cta-text); border-color: var(--cta-hover); }
  html[data-theme="dark"] .tower-chip { background: var(--paper-raise); color: var(--ink); border-color: var(--line); }
  html[data-theme="dark"] .tower-chip.active { background: var(--cta); color: #FFFFFF; border-color: var(--cta); }
  @media (max-width: 560px) { .tower-chip { padding: 7px 13px; font-size: 0.78rem; } .tower-tabs { gap: 6px; } }
  /* ---------- Hỏi đáp: tách thành từng thẻ cho đỡ đơn điệu ----------
     Trước đây 6 câu hỏi nằm chung một khối trắng, chỉ ngăn nhau bằng một vạch mảnh. */
  .faq-list { border-top: 0; gap: 12px; max-width: 820px; margin: 0 auto; counter-reset: hoi; }
  .faq-item {
    counter-increment: hoi;
    border: 1px solid var(--line); border-bottom: 1px solid var(--line);
    border-radius: 12px; background: var(--card-bg); overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  }
  .faq-item:hover { border-color: var(--accent); box-shadow: 0 6px 18px rgba(12,37,49,0.08); }
  .faq-q { padding: 18px 20px; gap: 16px; font-family: var(--sans); font-weight: 700; font-size: 1rem; letter-spacing: -0.008em; }
  /* Số thứ tự câu hỏi, màu vàng đồng — điểm nhấn duy nhất của trang này */
  .faq-q::before {
    content: counter(hoi, decimal-leading-zero);
    font-family: var(--sans); font-size: 0.82rem; font-weight: 800; color: var(--gold-ink);
    background: var(--gold-soft); border-radius: 8px; padding: 5px 9px; flex-shrink: 0;
    font-variant-numeric: tabular-nums; line-height: 1.2;
  }
  .faq-q span:not(.plus) { flex: 1; text-align: left; }
  .faq-q .plus { font-size: 1.35rem; font-weight: 700; }
  .faq-a p { padding: 0 20px 20px 61px; }
  /* Câu đang mở: nền ngả vàng nhạt + vạch vàng bên trái */
  .faq-item.open { background: var(--gold-soft); border-color: var(--gold-line); box-shadow: inset 3px 0 0 var(--gold); }
  .faq-item.open .faq-q { color: var(--ink); }
  .faq-item.open .faq-q::before { background: var(--gold); color: #2B1503; }
  html[data-theme="dark"] .faq-item { background: var(--paper-raise); }
  html[data-theme="dark"] .faq-item.open { background: var(--gold-soft); }
  @media (max-width: 560px) {
    .faq-q { padding: 15px 14px; gap: 11px; font-size: 0.94rem; }
    .faq-q::before { font-size: 0.72rem; padding: 4px 7px; }
    .faq-a p { padding: 0 14px 16px 46px; }
    .faq-list { gap: 9px; }
  }
  /* ---------- Tin tức: một bài nổi bật + danh sách đều bên dưới ----------
     Bỏ cách tô vạch màu xen kẽ vì nhìn lộn xộn, không có trọng tâm. */
  .news-feed { gap: 12px; }

  /* Bài đầu: thẻ lớn nền tối, là điểm nhấn duy nhất của trang */
  .news-feed .news-item:first-child {
    grid-template-columns: 1fr; gap: 0; border: 0; border-radius: 14px;
    background: linear-gradient(135deg, #0F4462 0%, #0A2E42 100%);
    padding: 30px 32px 32px; margin-bottom: 10px;
    box-shadow: 0 16px 40px -22px rgba(10,46,66,0.75);
  }
  .news-feed .news-item:first-child .news-date {
    color: #BCD9E8; background: transparent; border: 1px solid rgba(242,250,253,0.28);
    border-radius: 999px; padding: 4px 12px; justify-self: start; margin-bottom: 14px;
    font-size: 0.74rem; font-weight: 600; letter-spacing: 0.05em;
  }
  .news-feed .news-item:first-child .news-cat {
    background: var(--gold); color: #2B1503; font-weight: 800;
  }
  .news-feed .news-item:first-child .news-title {
    color: #FFFFFF; font-size: clamp(1.3rem, 2.6vw, 1.75rem); line-height: 1.28; margin-top: 4px;
  }
  .news-feed .news-item:first-child .news-excerpt {
    color: #D3E8F3; font-size: 1rem; margin-top: 10px; max-width: 64ch;
  }
  .news-feed .news-item:first-child:hover { transform: none; }

  /* Các bài còn lại: đều nhau, cùng một kiểu */
  .news-item {
    grid-template-columns: 104px 1fr; gap: 20px; align-items: start;
    border: 1px solid var(--line); border-top: 1px solid var(--line); border-radius: 12px;
    background: var(--card-bg); padding: 17px 20px;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  }
  .news-feed .news-item:last-child { border-bottom: 1px solid var(--line); }
  .news-item:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(12,37,49,0.1); border-color: var(--accent); padding-left: 20px; background: var(--card-bg); }
  .news-date {
    padding: 6px 8px; text-align: center; line-height: 1.35; border-radius: 8px;
    font-size: 0.74rem; font-weight: 700; letter-spacing: 0.02em;
    color: var(--ink-soft); background: var(--paper); border: 1px solid var(--line);
  }
  .news-cat { color: var(--deep); background: var(--accent-soft); }
  .news-title { font-size: 1.06rem; font-weight: 700; letter-spacing: -0.012em; }
  .news-excerpt { margin-top: 6px; }
  html[data-theme="dark"] .news-item { background: var(--paper-raise); }
  html[data-theme="dark"] .news-date { background: var(--paper); }
  @media (max-width: 640px) {
    .news-feed .news-item:first-child { padding: 22px 20px 24px; }
    .news-item { grid-template-columns: 1fr; gap: 9px; padding: 15px; }
    .news-date { justify-self: start; }
    .news-title { font-size: 1rem; }
  }

  /* ---------- Hộp thoại liên hệ: thêm dải đầu màu ---------- */
  .modal-card { padding: 0; overflow: hidden; max-width: 480px; }
  .modal-dau {
    background: linear-gradient(135deg, #0F4462 0%, #0A2E42 100%);
    padding: 26px 30px 22px; position: relative;
  }
  .modal-dau::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, #F2C271 50%, var(--gold) 100%);
  }
  .modal-card h3 { color: #FFC55A; margin: 0 0 6px; font-size: 1.35rem; }
  .modal-card .modal-sub { color: #DCEEF7; margin: 0; font-size: 0.88rem; line-height: 1.55; }
  .modal-than { padding: 24px 30px 28px; }
  .modal-close {
    top: 16px; right: 16px; border-color: rgba(255,255,255,0.35); color: #FFFFFF; z-index: 2;
    background: rgba(255,255,255,0.08);
  }
  .modal-close:hover { border-color: var(--gold); color: var(--gold); background: rgba(255,255,255,0.16); }
  .field label { font-weight: 600; color: var(--ink); font-size: 0.84rem; }
  .field input, .field select, .field textarea { transition: border-color .18s ease, box-shadow .18s ease; }
  .field input:focus, .field select:focus, .field textarea:focus { box-shadow: 0 0 0 3px rgba(31,111,163,0.16); }
  .modal-than .btn-primary { width: 100%; justify-content: center; margin-top: 4px; }
  @media (max-width: 560px) { .modal-dau { padding: 22px 20px 18px; } .modal-than { padding: 20px 20px 24px; } }

  /* ---------- Trang bài viết ---------- */
  #bai-viet { padding: 54px 0 88px; }
  .bv-wrap { max-width: 820px; }
  .bv-quaylai {
    display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
    font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-soft);
    border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; margin-bottom: 26px;
    transition: color .2s ease, border-color .2s ease;
  }
  .bv-quaylai:hover { color: var(--accent); border-color: var(--accent); }
  .bv-dau { border-bottom: 1px solid var(--line); padding-bottom: 26px; margin-bottom: 28px; }
  .bv-dau .news-cat { background: var(--gold-soft); color: var(--gold-ink); font-weight: 800; }
  .bv-h1 {
    font-family: var(--sans); font-size: clamp(1.62rem, 4vw, 2.5rem); line-height: 1.2;
    font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin: 12px 0 0;
  }
  .bv-lede { font-size: 1.06rem; line-height: 1.65; color: var(--ink-soft); margin-top: 16px; }
  .bv-tacgia { display: flex; align-items: center; gap: 13px; margin-top: 22px; }
  .bv-anh {
    width: 44px; height: 44px; border-radius: 50%; flex: none;
    background: linear-gradient(135deg, #0F4462 0%, #0A2E42 100%); color: var(--gold-on-dark);
    display: grid; place-items: center; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em;
  }
  .bv-tacgia strong { display: block; font-size: 0.95rem; color: var(--ink); }
  .bv-tacgia span { display: block; font-size: 0.8rem; color: var(--ink-soft); margin-top: 2px; }
  .bv-tomtat {
    background: var(--gold-soft); border: 1px solid var(--gold-line);
    border-radius: 12px; padding: 20px 24px; margin-bottom: 34px;
  }
  .bv-tomtat strong {
    display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--gold-ink); font-weight: 800; margin-bottom: 10px;
  }
  .bv-tomtat ul { margin: 0; padding-left: 18px; }
  .bv-tomtat li { font-size: 0.94rem; line-height: 1.6; color: var(--ink); margin-bottom: 6px; }
  .bv-tomtat li:last-child { margin-bottom: 0; }
  .bv-noidung h2 {
    font-size: clamp(1.24rem, 2.6vw, 1.58rem); font-weight: 800; letter-spacing: -0.015em;
    color: var(--ink); margin: 42px 0 4px; padding-top: 14px; border-top: 2px solid var(--gold);
  }
  .bv-noidung h2:first-child { margin-top: 0; }
  .bv-noidung h3 {
    font-size: 1.06rem; font-weight: 700; color: var(--deep); margin: 26px 0 0;
  }
  .bv-noidung p { font-size: 1rem; line-height: 1.75; color: var(--ink); margin-top: 12px; }
  .bv-noidung a { color: var(--accent); font-weight: 600; }
  .bv-bang { width: 100%; border-collapse: collapse; margin-top: 16px; }
  .bv-bang th, .bv-bang td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 0.94rem; }
  .bv-bang th { width: 46%; color: var(--ink-soft); font-weight: 600; background: var(--paper-raise); }
  .bv-ghi-chu { font-size: 0.84rem !important; color: var(--ink-soft) !important; }
  .bv-ds { margin: 14px 0 0; padding-left: 20px; }
  .bv-ds li { font-size: 1rem; line-height: 1.7; margin-bottom: 12px; }
  .bv-ds li strong { color: var(--ink); }
  .bv-cong-thuc {
    background: var(--accent-soft); border-left: 4px solid var(--accent);
    border-radius: 0 10px 10px 0; padding: 16px 20px; margin-top: 18px;
  }
  .bv-cong-thuc p { margin: 0 !important; font-size: 0.98rem !important; line-height: 1.6 !important; }
  .bv-trich {
    margin: 20px 0 0; padding: 22px 26px; border-radius: 12px;
    background: linear-gradient(135deg, #0F4462 0%, #0A2E42 100%); color: #FFFFFF;
    font-size: clamp(1.05rem, 2.2vw, 1.3rem); line-height: 1.5; font-weight: 600;
    border-left: 4px solid var(--gold);
  }
  .bv-faq h3 {
    background: var(--paper-raise); border: 1px solid var(--line); border-radius: 10px;
    padding: 12px 16px; margin-top: 16px;
  }
  .bv-faq p { margin-top: 10px; padding-left: 16px; }
  .bv-chan {
    margin-top: 46px; padding: 22px 24px; border: 1px solid var(--line);
    border-radius: 12px; background: var(--card-bg);
  }
  .bv-chan strong {
    display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--gold-ink); font-weight: 800; margin-bottom: 8px;
  }
  .bv-chan p { font-size: 0.94rem; line-height: 1.65; color: var(--ink-soft); margin: 0; }
  html[data-theme="dark"] .bv-chan { background: var(--paper-raise); }
  a.news-item { text-decoration: none; color: inherit; }
  @media (max-width: 640px) {
    #bai-viet { padding: 34px 0 62px; }
    .bv-noidung p, .bv-ds li { font-size: 0.96rem; }
    .bv-bang th, .bv-bang td { padding: 9px 10px; font-size: 0.88rem; }
    .bv-trich { padding: 18px 18px; }
  }


  /* ---------- Ảnh minh hoạ trong Tin tức ---------- */
  .news-anh {
    display: block; width: 100%; height: 100%; object-fit: cover;
    border-radius: 10px; background: var(--paper-raise);
  }
  /* Bài nổi bật: ảnh chiếm cột phải */
  .news-feed .news-item:first-child {
    grid-template-columns: 1fr 286px;
    grid-template-areas: "ngay anh" "chu anh";
    gap: 0 30px; align-items: start;
  }
  .news-feed .news-item:first-child .news-date { grid-area: ngay; }
  .news-feed .news-item:first-child > div { grid-area: chu; }
  .news-feed .news-item:first-child .news-anh {
    grid-area: anh; height: 100%; min-height: 196px; border-radius: 12px;
    box-shadow: 0 10px 26px -14px rgba(4,22,33,0.6);
  }
  /* Các bài còn lại: ảnh nhỏ bên phải */
  .news-feed .news-item:not(:first-child) { grid-template-columns: 96px 1fr 142px; gap: 18px; }
  .news-feed .news-item:not(:first-child) .news-anh { height: 96px; }
  @media (max-width: 860px) {
    .news-feed .news-item:first-child { grid-template-columns: 1fr; grid-template-areas: "anh" "ngay" "chu"; gap: 0; }
    .news-feed .news-item:first-child .news-anh { min-height: 0; aspect-ratio: 16 / 9; margin-bottom: 16px; }
  }
  @media (max-width: 640px) {
    .news-feed .news-item:not(:first-child) { grid-template-columns: 1fr; }
    .news-feed .news-item:not(:first-child) .news-anh { height: auto; aspect-ratio: 16 / 9; order: -1; margin-bottom: 4px; }
  }

  .news-feed .news-item.khong-anh { grid-template-columns: 96px 1fr; }

  /* ---------- Ảnh trong trang bài viết ---------- */
  .bv-hinh { margin: 20px 0 0; }
  .bv-hinh img {
    display: block; width: 100%; border-radius: 12px; object-fit: cover;
    aspect-ratio: 16 / 9; background: var(--paper-raise);
  }
  .bv-hinh figcaption {
    font-size: 0.84rem; line-height: 1.55; color: var(--ink-soft);
    margin-top: 9px; padding-left: 13px; border-left: 3px solid var(--gold);
  }
  .bv-hinh-to { margin: 0 0 30px; }
  .bv-hinh-to img { aspect-ratio: 21 / 9; box-shadow: 0 16px 38px -24px rgba(4,22,33,0.55); }
  @media (max-width: 640px) {
    .bv-hinh-to img { aspect-ratio: 16 / 9; }
  }


  /* ---------- Bài viết khác ở cuối bài ---------- */
  .bv-khac { margin-top: 40px; padding-top: 26px; border-top: 2px solid var(--gold); }
  .bv-khac h3 { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); font-weight: 800; margin: 0 0 16px; }
  .bv-khac-ds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .bv-khac-the {
    display: flex; flex-direction: column; gap: 9px; text-decoration: none;
    border: 1px solid var(--line); border-radius: 12px; padding: 15px 16px;
    background: var(--card-bg); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  }
  .bv-khac-the:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(12,37,49,0.1); }
  .bv-khac-the .news-cat { align-self: flex-start; margin: 0; }
  .bv-khac-t { font-size: 0.95rem; font-weight: 700; line-height: 1.35; color: var(--ink); letter-spacing: -0.01em; }
  html[data-theme="dark"] .bv-khac-the { background: var(--paper-raise); }
  @media (max-width: 760px) { .bv-khac-ds { grid-template-columns: 1fr; } }


/* ================================================================
   Phần thêm cho website thật: bản đồ Google, trang bài viết, trang căn hộ
   ================================================================ */

/* Bản đồ Google nhúng thật */
.gmap-frame { display: block; width: 100%; height: 420px; border: 0; }
a.gmap-open { text-decoration: none; }
a.gmap-open:hover { background: var(--cta-hover); }
@media (max-width: 640px) { .gmap-frame { height: 320px; } }

/* Trang phụ: thanh đầu trang không có menu thu gọn */
.trang-phu header.site .wordmark { text-decoration: none; color: inherit; }
.trang-phu main { min-height: 60vh; }
.tp-lang { display: inline-flex; margin-left: 14px; }
.tp-lang a { text-decoration: none; }
.tp-lang a.active { pointer-events: none; }
@media (max-width: 980px) {
  .trang-phu .tp-lang { display: none; }
}
.tp-duong-dan { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 18px; }
.tp-duong-dan a { color: var(--ink-soft); text-decoration: none; }
.tp-duong-dan a:hover { color: var(--accent); }
.tp-h1 {
  font-family: var(--sans); font-size: clamp(1.5rem, 3.6vw, 2.25rem); line-height: 1.22;
  font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin: 10px 0 0;
}
.trang-phu #tin-tuc, .trang-phu #bai-viet { padding: 44px 0 80px; }
.trang-phu .news-title { margin: 0; }
.trang-phu .news-item { text-decoration: none; color: inherit; }

/* ---------- Trang căn hộ ---------- */
.tpc { padding: 40px 0 80px; }
.tpc-dau { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.tpc-nhan { position: static !important; display: inline-block; }
.tpc-gia { font-size: 1.35rem; font-weight: 800; color: var(--gold-ink); margin: 8px 0 0; }
.tpc-luoi {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; border-radius: 14px; overflow: hidden;
}
.tpc-o { display: block; position: relative; background: var(--paper-raise); aspect-ratio: 4 / 3; overflow: hidden; }
.tpc-o img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.tpc-o:hover img { transform: scale(1.04); }
.tpc-o:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 860px) { .tpc-luoi { grid-template-columns: repeat(2, 1fr); } }
.tpc-than { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; margin-top: 30px; align-items: start; }
@media (max-width: 860px) { .tpc-than { grid-template-columns: 1fr; } }
.tpc-bang { margin-top: 0 !important; }
.tpc-hop {
  border: 1px solid var(--gold-line); background: var(--gold-soft); border-radius: 14px; padding: 22px 24px;
  position: sticky; top: 90px;
}
.tpc-hop strong { font-size: 1.05rem; color: var(--ink); }
.tpc-hop p { font-size: 0.93rem; line-height: 1.6; color: var(--ink); margin: 10px 0 14px; }
.tpc-hop .btn { width: 100%; justify-content: center; }
.tpc-ghi { font-size: 0.8rem !important; color: var(--ink-soft) !important; margin-top: 14px !important; }
.tpc-h2 { font-size: 1.25rem; font-weight: 800; margin: 44px 0 14px; color: var(--ink); }
.tpc-lqs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 860px) { .tpc-lqs { grid-template-columns: repeat(2, 1fr); } }
.tpc-lq { text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card-bg); }
.tpc-lq img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tpc-lq span { display: block; padding: 10px 12px; font-size: 0.86rem; color: var(--gold-ink); font-weight: 700; }
.tpc-lq strong { display: block; color: var(--ink); font-size: 0.95rem; }

/* Xem ảnh toàn màn hình */
.tpc-xem { position: fixed; inset: 0; z-index: 1000; background: rgba(6, 18, 26, 0.94); display: flex; align-items: center; justify-content: center; }
.tpc-xem[hidden] { display: none !important; }
.tpc-xem img { max-width: min(1200px, 92vw); max-height: 86vh; object-fit: contain; border-radius: 6px; }
.tpc-xem button {
  position: absolute; background: rgba(255,255,255,0.12); color: #fff; border: 0; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; line-height: 1;
}
.tpc-xem button:hover { background: rgba(255,255,255,0.24); }
.tpc-dong { top: 16px; right: 16px; }
.tpc-lui { left: 16px; top: 50%; transform: translateY(-50%); }
.tpc-toi { right: 16px; top: 50%; transform: translateY(-50%); }
.tpc-dem { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 0.85rem; opacity: 0.8; }

/* Chính sách bảo mật */
.tp-van-ban { max-width: 780px; }
.tp-van-ban h2 { font-size: 1.15rem; font-weight: 800; margin: 30px 0 6px; color: var(--ink); }
.tp-van-ban p, .tp-van-ban li { line-height: 1.7; color: var(--ink); }

/* ---------- (1) Nút liên hệ nổi ---------- */
.lh-noi { position: fixed; right: 18px; bottom: 18px; z-index: 900; display: flex; flex-direction: column; gap: 10px; }
.lh-nut {
  display: flex; align-items: center; gap: 8px; text-decoration: none; color: #fff; font-weight: 700; font-size: 0.86rem;
  height: 52px; padding: 0 18px 0 13px; border-radius: 999px; box-shadow: 0 8px 22px -6px rgba(0,0,0,0.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.lh-nut:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -6px rgba(0,0,0,0.4); }
.lh-zalo { background: #0068FF; }
.lh-goi { background: #1FA35C; }
.lh-goi svg { margin-left: 3px; }
@media (max-width: 640px) {
  .lh-noi { right: 12px; bottom: 12px; gap: 8px; }
  .lh-nut { width: 52px; padding: 0; justify-content: center; }
  .lh-nut span { display: none; }
}
body.tpc-mo .lh-noi, .modal-overlay.open ~ .lh-noi { display: none; }

/* ---------- (4) Pháp lý & liên kết chân trang ---------- */
.foot-links a { color: inherit; }
.foot-phap-ly { font-size: 0.78rem; opacity: 0.75; margin: 14px 0 0; line-height: 1.6; }

/* ---------- (5–7) Trang Về chúng tôi ---------- */
.vct-lien-ket { margin: 0 0 18px; font-weight: 700; }
.vct-lien-ket a { color: var(--accent); text-decoration: none; }
.vct-dau { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; }
.vct-dau .tp-h1 { font-size: clamp(1.5rem, 3.2vw, 2.15rem); }
.vct-chu { color: var(--ink-soft); line-height: 1.7; }
.vct-anh-chinh { margin: 0; }
.vct-anh-chinh img { width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: 16px; box-shadow: 0 20px 44px -26px rgba(4,22,33,0.6); }
@media (max-width: 860px) { .vct-dau { grid-template-columns: 1fr; } .vct-anh-chinh img { max-height: 420px; } }
.vct-h2 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); font-weight: 800; color: var(--ink); margin: 56px 0 14px; padding-top: 14px; border-top: 2px solid var(--gold); }
.vct-moc { list-style: none; margin: 0; padding: 0; position: relative; }
.vct-moc::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--gold-line); }
.vct-moc li { position: relative; padding: 0 0 20px 38px; }
.vct-moc li::before { content: ""; position: absolute; left: 1px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.vct-moc-nam { display: block; font-weight: 800; color: var(--gold-ink); font-size: 0.95rem; }
.vct-moc p { margin: 4px 0 0; line-height: 1.7; color: var(--ink); max-width: 72ch; }
.vct-so { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 860px) { .vct-so { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .vct-so { grid-template-columns: 1fr; } }
.vct-so-o { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: var(--card-bg); display: flex; flex-direction: column; gap: 4px; }
.vct-so-o strong { font-size: 1.55rem; font-weight: 800; color: var(--deep); letter-spacing: -0.02em; }
.vct-so-o span { font-size: 0.92rem; color: var(--ink); line-height: 1.45; }
.vct-so-o em { font-style: normal; font-size: 0.76rem; color: var(--ink-soft); margin-top: 4px; }
.vct-doi { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 16px; align-items: start; }
.vct-doi figure { margin: 0; }
.vct-doi img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; }
.vct-doi-chu p { line-height: 1.7; margin: 0 0 12px; }
.vct-vitri { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.vct-vitri li { background: var(--accent-soft); color: var(--deep); font-weight: 700; font-size: 0.84rem; padding: 6px 12px; border-radius: 999px; }
@media (max-width: 860px) { .vct-doi { grid-template-columns: 1fr 1fr; } .vct-doi-chu { grid-column: 1 / -1; } }
.vct-tru { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px) { .vct-tru { grid-template-columns: 1fr; } }
.vct-tru-o { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; background: var(--card-bg); transition: border-color .2s ease, transform .2s ease; }
.vct-tru-o:hover { border-color: var(--accent); transform: translateY(-2px); }
.vct-tru-o strong { font-size: 1.05rem; color: var(--ink); }
.vct-tru-o p { margin: 0; font-size: 0.92rem; line-height: 1.6; color: var(--ink-soft); }
.vct-tru-o span { color: var(--accent); font-weight: 700; font-size: 0.86rem; margin-top: auto; }
.vct-cuoi { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 48px; padding: 22px 24px; border-radius: 14px; background: var(--gold-soft); border: 1px solid var(--gold-line); }
.vct-cuoi strong { flex: 1 1 260px; font-size: 1.05rem; color: var(--ink); }
html[data-theme="dark"] .vct-so-o, html[data-theme="dark"] .vct-tru-o { background: var(--paper-raise); }

/* ---------- (8) Trang tư vấn ---------- */
.ld-wrap { max-width: 900px; }
.ld-bang th, .ld-bang td { vertical-align: top; }
.ld-bang thead th { background: var(--deep); color: #fff; font-weight: 700; width: auto; }
.ld-bang tbody th { width: auto; }
.ld-cuon { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ld-cuon .ld-bang { min-width: 640px; }
.ld-luoi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
@media (max-width: 860px) { .ld-luoi { grid-template-columns: 1fr 1fr; } }
.ld-the { display: flex; flex-direction: column; text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card-bg); transition: border-color .2s ease, transform .2s ease; }
.ld-the:hover { border-color: var(--accent); transform: translateY(-2px); }
.ld-the img, .ld-khong-anh { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--paper-raise); }
.ld-the-than { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; }
.ld-the-than strong { color: var(--ink); font-size: 0.95rem; }
.ld-the-than span { font-size: 0.8rem; color: var(--ink-soft); }
.ld-the-than em { font-style: normal; font-weight: 800; color: var(--gold-ink); font-size: 0.9rem; margin-top: 3px; }
html[data-theme="dark"] .ld-the { background: var(--paper-raise); }
