﻿:root {
  --navy: #1f2527;
  --navy-2: #2d3639;
  --gold: #c0302b;
  --gold-soft: #ef6a62;
  --ink: #1b2433;
  --muted: #5b6678;
  --line: #e6e6e4;
  --bg: #f6f6f5;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(31, 37, 39, 0.08);
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; color: var(--ink); background: var(--white);
  font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 99; }

/* ---------- header ---------- */
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: .2px; color: var(--navy); }
.brand img { height: 30px; width: auto; }
.brand small { display: block; font-weight: 500; font-size: 11px; color: var(--muted); letter-spacing: .6px; text-transform: uppercase; margin-top: -3px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: #3a4245; }
.nav a:hover { color: var(--navy); }
.nav a.btn { color: #fff; } .nav a.btn:hover { color: #fff; background: var(--navy-2); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 6px 18px rgba(192,48,43,.35); }
.btn-gold:hover { background: #a82722; }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-navy { background: var(--navy); color: #fff; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; height: 2px; width: 22px; background: var(--navy); margin: auto; position: relative; content: ""; }
.menu-toggle span::before { position: absolute; top: -7px; left: 0; } .menu-toggle span::after { position: absolute; top: 7px; left: 0; }

/* ---------- hero ---------- */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(192,48,43,.38) 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 84px 0 96px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto -80px -120px auto; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(239,106,98,.28); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; position: relative; z-index: 2; }
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; margin-bottom: 14px; }
h1 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.12; margin: 0 0 18px; letter-spacing: -.5px; }
h1 em { font-style: normal; color: var(--gold-soft); }
.lead { font-size: 18px; color: #d6d9db; max-width: 56ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.principles { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 20px; padding: 28px; backdrop-filter: blur(6px); }
.principles h3 { margin: 0 0 14px; font-size: 17px; color: var(--gold-soft); }
.principles li { list-style: none; display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.12); color: #eceeef; font-size: 15px; }
.principles li:first-child { border-top: 0; }
.principles ul { margin: 0; padding: 0; }
.tick { width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; margin-top: 2px; }

.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; z-index: 0; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31,37,39,.92) 0%, rgba(31,37,39,.55) 100%); z-index: 1; }
.banner img { width: 100%; height: 340px; object-fit: cover; object-position: center 35%; border-radius: 20px; box-shadow: var(--shadow); }
@media (max-width: 760px) { .banner img { height: 200px; } }

/* ---------- sections ---------- */
section { padding: 84px 0; }
.sec-head { max-width: 680px; margin-bottom: 40px; }
.sec-head .eyebrow { color: var(--gold); }
h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.2; margin: 0 0 12px; color: var(--navy); letter-spacing: -.3px; }
.sec-head p { color: var(--muted); margin: 0; font-size: 17px; }
.alt { background: var(--bg); }
.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); border-color: #d6d2d1; }
.icon { width: 48px; height: 48px; border-radius: 12px; background: #f8eceb; color: var(--gold); display: grid; place-items: center; margin-bottom: 16px; }
.icon svg { width: 24px; height: 24px; }
.card h3 { margin: 0 0 8px; font-size: 18px; color: var(--navy); }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card a.more { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 14px; color: var(--navy-2); text-decoration: none; }
.card a.more:hover { text-decoration: underline; }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-size: 34px; font-weight: 800; color: #ecdedd; display: block; line-height: 1; margin-bottom: 14px; }
.step h3 { margin: 0 0 6px; font-size: 17px; color: var(--navy); } .step p { margin: 0; color: var(--muted); font-size: 15px; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about p { color: var(--muted); font-size: 17px; }
.panel { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; border-radius: 22px; padding: 34px; box-shadow: var(--shadow); }
.panel h3 { color: var(--gold-soft); margin: 0 0 10px; }
.panel p { color: #dcdfe0; font-size: 16px; margin: 0 0 12px; }
.todo { background: #fff7e0; color: #7a5b00; border: 1px dashed #d9b64a; border-radius: 6px; padding: 1px 6px; font-size: .92em; }

.post { display: flex; flex-direction: column; }
.tag { font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }

.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.info li { list-style: none; display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.info ul { margin: 18px 0 0; padding: 0; } .info b { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { font-size: 14px; font-weight: 600; color: var(--navy); display: grid; gap: 6px; }
input, textarea, select { font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
input:focus, textarea:focus, select:focus { outline: 0; border-color: var(--navy-2); box-shadow: 0 0 0 4px rgba(192,48,43,.12); }
textarea { min-height: 120px; resize: vertical; }
.note { font-size: 13px; color: var(--muted); }
.ok { display: none; background: #e9f7ef; color: #14532d; padding: 12px 14px; border-radius: 10px; font-size: 14px; }

/* ---------- giới thiệu / tầm nhìn / giá trị ---------- */
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
.vm .panel p { font-size: 15.5px; }
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 22px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.value b { display: block; color: var(--navy); margin-bottom: 6px; font-size: 16px; }
.value b::before { content: ""; display: block; width: 28px; height: 3px; background: var(--gold); border-radius: 3px; margin-bottom: 12px; }
.value span { color: var(--muted); font-size: 14px; }
.facts { margin: 22px 0 0; display: grid; grid-template-columns: 170px 1fr; gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 14px; }
.facts dt, .facts dd { margin: 0; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.facts dt { background: var(--bg); color: var(--muted); font-weight: 600; }
.facts dt:last-of-type, .facts dd:last-of-type { border-bottom: 0; }
.story { max-width: 820px; }
.story p { color: var(--muted); font-size: 17px; }

/* ---------- trang giới thiệu ---------- */
.page-hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 76px 0 64px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31,37,39,.94) 0%, rgba(31,37,39,.6) 100%); z-index: 1; }
.page-hero .hero-bg { opacity: .45; }
.page-hero .wrap { position: relative; z-index: 2; max-width: var(--max); }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { max-width: 60ch; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.toc a { text-decoration: none; font-size: 14px; font-weight: 500; color: #e6e8e9; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 7px 14px; }
.toc a:hover { background: rgba(255,255,255,.12); }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about p { color: var(--muted); font-size: 17px; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--line); display: grid; gap: 26px; margin-left: 8px; }
.timeline li { position: relative; padding-left: 26px; display: grid; gap: 4px; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--gold); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.timeline b { color: var(--navy); font-size: 17px; }
.timeline span { color: var(--muted); max-width: 70ch; }
.member .avatar { width: 84px; height: 84px; border-radius: 50%; background: #ece7e5; border: 1px dashed #bdb5b2; margin-bottom: 14px; }
.member .role-line { color: var(--gold); font-weight: 600; font-size: 14px; margin: -2px 0 8px; }
.cta-band { background: linear-gradient(160deg, var(--navy), var(--navy-2)); border-radius: 22px; padding: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band > div { min-width: 0; flex: 1 1 320px; }
@media (max-width: 980px) { .about { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- sản phẩm mẫu ---------- */
.sample { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: start; }
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; min-height: 340px; }
.ph { border-radius: 16px; background: linear-gradient(135deg, #e9e6e4, #d8d3d0); display: grid; place-items: center; text-align: center; color: #7b7371; font-size: 13px; padding: 12px; border: 1px dashed #bdb5b2; }
.ph:first-child { grid-row: 1 / span 2; }
.spec { list-style: none; margin: 18px 0 0; padding: 0; }
.spec li { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec b { color: var(--muted); font-weight: 600; }
.disclaimer { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* ---------- đối tác ---------- */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.partner { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.partner::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--gold); }
.partner .role { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); }
.partner h3 { margin: 0; font-size: 20px; color: var(--navy); line-height: 1.3; }
.partner .where { color: var(--muted); font-size: 14px; margin: -6px 0 0; }
.partner p { margin: 0; color: var(--muted); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 0; padding: 0; list-style: none; }
.chips li { background: #f5f1f0; color: #4a3f3e; border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 500; }
.partner .fit { border-top: 1px dashed var(--line); padding-top: 14px; font-size: 14px; color: var(--ink); }
.partner .fit b { color: var(--navy); }
.partner a.visit { margin-top: auto; align-self: flex-start; font-weight: 600; font-size: 14px; color: var(--navy-2); text-decoration: none; border-bottom: 1.5px solid var(--gold); padding-bottom: 2px; }
.partner a.visit:hover { color: var(--gold); }
.partners-note { margin-top: 18px; font-size: 13px; color: var(--muted); }
@media (max-width: 1100px) { .partners { grid-template-columns: 1fr 1fr; } .values { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 980px) { .sample, .vm { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .partners, .values { grid-template-columns: 1fr; } .facts { grid-template-columns: 1fr; } .facts dt { border-bottom: 0; padding-bottom: 0; background: #fff; } .spec li { grid-template-columns: 1fr; gap: 2px; } .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; min-height: 0; } .ph:first-child { grid-row: auto; grid-column: 1 / span 2; min-height: 180px; } .ph { min-height: 110px; } }

/* ---------- footer ---------- */
footer { background: var(--navy); color: #bfc4c6; padding: 56px 0 28px; font-size: 14px; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
footer h4 { color: #fff; margin: 0 0 12px; font-size: 15px; }
footer a { text-decoration: none; display: block; padding: 3px 0; } footer a:hover { color: #fff; }
.risk { margin-top: 32px; padding: 16px 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; font-size: 13px; line-height: 1.6; color: #aeb4b7; }
.copy { margin-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: #8e9598; }

/* ---------- reveal ---------- */
.reveal { animation: rise .6s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; } html { scroll-behavior: auto; } .btn, .card { transition: none; } }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap, .about, .contact { grid-template-columns: 1fr; gap: 36px; }
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px; border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; }
  section { padding: 60px 0; }
  .hero { padding: 56px 0 64px; }
  .grid-4, .grid-3, .steps, .row { grid-template-columns: 1fr; }
  footer .cols { grid-template-columns: 1fr; }
}






/* ====== Trang chủ gọn hơn (ít chữ, banner lớn) ====== */
section { padding: 64px 0; }
.sec-head { margin-bottom: 28px; }
.hero { padding: 120px 0 110px; min-height: 560px; display: flex; align-items: center; }
.hero .hero-inner { display: block; width: min(var(--max), 100% - 40px); }
.hero .hero-bg { opacity: .9; }
.hero::before { background: linear-gradient(90deg, rgba(20,24,26,.80) 0%, rgba(20,24,26,.38) 55%, rgba(20,24,26,.12) 100%); }
.hero .eyebrow { color: #fff; letter-spacing: 2px; font-size: 13px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(36px, 6vw, 68px); line-height: 1.08; margin: 0 0 20px; }
.hero .lead { max-width: 34ch; font-size: 19px; color: #e8eaeb; margin: 0 0 30px; }
.btn-lg { padding: 18px 28px; border-radius: 4px; min-width: 280px; justify-content: space-between; gap: 28px; font-size: 15px; }
.points { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; padding: 0; margin: 36px 0 0; }
.points li { display: flex; align-items: center; gap: 9px; color: #eceeef; font-size: 15px; font-weight: 500; }
.card { padding: 22px; }
.card p { font-size: 14.5px; }
.step { padding: 20px; }
.post h3 { font-size: 17px; margin-bottom: 4px; }
.partner { padding: 24px; gap: 10px; }
.partner h3 { font-size: 19px; }
.plogo { height: 64px; display: flex; align-items: center; }
.plogo img { max-height: 56px; max-width: 70%; width: auto; height: auto; object-fit: contain; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: #e9e6e4; }
.credit { color: var(--muted); font-size: 11.5px; line-height: 1.4; }
.about { align-items: center; }
@media (max-width: 760px) {
  section { padding: 48px 0; }
  .hero { padding: 84px 0 72px; min-height: 0; }
  .btn-lg { width: 100%; min-width: 0; }
}
/* ====== MayHome + ảnh minh họa ====== */
.gallery img { width: 100%; height: 100%; min-height: 150px; object-fit: cover; border-radius: 16px; background: #e9e6e4; display: block; }
.gallery img:first-child { grid-row: 1 / span 2; }
.partners { grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .partners { grid-template-columns: 1fr; } .gallery img:first-child { grid-row: auto; grid-column: 1 / span 2; } }

/* ====== WOW-BLOCK: hiệu ứng nổi bật ====== */
.hero-bg { animation: kb 24s ease-in-out infinite alternate; transform-origin: 60% 40%; }
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.09); } }
.hero h1 .grad { background: linear-gradient(90deg, #fff 0%, #ffc7c2 55%, #ef6a62 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.points li { background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 9px 16px 9px 10px; border-radius: 999px; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; z-index: 3; width: 44px; height: 44px; margin-left: -22px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.08); text-decoration: none; animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
.sec-head h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; background: var(--gold); margin-top: 14px; }
.card { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.card:hover { box-shadow: 0 18px 40px rgba(31,37,39,.14); }
.btn-gold { background: linear-gradient(135deg, #d6382f, #a82722); }
.btn-gold:hover { background: linear-gradient(135deg, #e0453c, #b32c26); }

/* Đối tác: nền tối, thẻ kính */
#doi-tac { background: radial-gradient(900px 420px at 88% 0%, rgba(192,48,43,.32), transparent 62%), radial-gradient(700px 400px at 0% 100%, rgba(239,106,98,.12), transparent 60%), linear-gradient(160deg, #181d1f, #262e31); color: #fff; }
#doi-tac .sec-head h2 { color: #fff; }
#doi-tac .eyebrow { color: var(--gold-soft); }
#doi-tac .partners-note { color: #9aa3a6; }
.partner.pc { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 20px 50px rgba(0,0,0,.28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .3s ease, border-color .3s ease; }
.partner.pc:hover { transform: translateY(-6px); border-color: rgba(239,106,98,.65); }
.partner.pc::before { background: linear-gradient(180deg, var(--gold-soft), var(--gold)); }
.partner.pc h3 { color: #fff; font-size: 22px; }
.partner.pc .role { color: var(--gold-soft); }
.partner.pc p { color: #cfd4d6; }
.partner.pc .credit { color: #8d979a; }
.partner.pc .thumbs { overflow: hidden; border-radius: 12px; }
.partner.pc .thumbs img { transition: transform .5s ease, filter .3s; border-radius: 0; filter: saturate(1.05); }
.partner.pc:hover .thumbs img { transform: scale(1.05); }
.pc-fill { height: 120px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(120deg, rgba(192,48,43,.65), rgba(20,24,26,.55)), url(architecture-900.webp) center / cover; background-image: linear-gradient(120deg, rgba(192,48,43,.65), rgba(20,24,26,.55)), url("../assets/architecture-900.webp"); }
.pc-foot { margin-top: auto; padding-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.partner.pc a.visit { margin-top: 0; color: #fff; border-bottom-color: var(--gold-soft); }
.partner.pc a.visit:hover { color: var(--gold-soft); }
.pc-logo { background: #fff; border-radius: 8px; padding: 5px 9px; display: inline-flex; align-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.pc-logo img { height: 24px; width: auto; max-width: 92px; object-fit: contain; display: block; }
@media (prefers-reduced-motion: reduce) { .hero-bg, .scroll-cue { animation: none; } .partner.pc, .partner.pc .thumbs img, .card { transition: none; } }

/* ====== Tin tức ====== */
.news-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.news-card > :not(.news-thumb) { margin-left: 22px; margin-right: 22px; }
.news-card > .tag { margin-top: 18px; align-self: flex-start; }
.news-card > .news-meta { margin-bottom: 20px; }
.news-thumb { display: block; aspect-ratio: 16 / 9; background: var(--bg); overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.news-card:hover .news-thumb img { transform: scale(1.04); }
.news-thumb.no-img { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, var(--gold) 140%); position: relative; }
.news-thumb.no-img::after { content: ""; position: absolute; inset: 0; background: url("logo-wordmark-light.png") center / 46% auto no-repeat; opacity: .55; }
@media (prefers-reduced-motion: reduce) { .news-thumb img { transition: none; } }
.news-card h3 { font-size: 17px; line-height: 1.4; margin: 4px 0 8px; }
.news-card h3 a { color: var(--navy); text-decoration: none; }
.news-card h3 a:hover { color: var(--gold); text-decoration: underline; }
.news-card p { flex: 1; }
.news-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.news-meta span:first-child { min-width: 0; overflow-wrap: anywhere; }
.news-empty { color: var(--muted); grid-column: 1 / -1; }
.news-tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
#news-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip { font: inherit; font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.fchip:hover { border-color: var(--gold); }
.fchip.on { background: var(--gold); border-color: var(--gold); color: #fff; }
#news-search { font: inherit; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; min-width: 240px; max-width: 100%; background: #fff; color: var(--ink); }
.news-note { margin-top: 26px; font-size: 13px; color: var(--muted); }
.news-status { display: flex; gap: 14px; color: var(--muted); font-size: 14px; margin-bottom: 14px; }
@media (max-width: 760px) { #news-search { width: 100%; } }

/* ====== trang pháp lý + liên kết ở chân trang ====== */
.legal { max-width: 820px; }
.legal h2 { font-size: 20px; margin: 30px 0 8px; color: var(--navy); }
.legal h2::after { display: none; }
.legal p, .legal li { color: #3a4245; font-size: 16px; line-height: 1.75; }
.legal ul { padding-left: 22px; }
.copy a { display: inline; padding: 0; text-decoration: underline; }

/* touch-target: nút/liên kết đủ cao để bấm bằng ngón tay (>= 44px) */
.partner a.visit, .card a.more, .news-card h3 a { display: inline-flex; align-items: center; min-height: 44px; }
.news-card h3 a { min-height: 0; display: inline; }
.card a.more { padding: 6px 0; }
.brand { padding: 6px 0; }
@media (max-width: 760px) { .fchip { min-height: 44px; } .toc a { min-height: 40px; display: inline-flex; align-items: center; } }

/* ---------- tin tức: nổi bật, nhãn tác động, số liệu ---------- */
.news-card { position: relative; }
.news-card > .impact { position: absolute; top: 12px; left: 12px; margin: 0; z-index: 2; box-shadow: 0 4px 14px rgba(0,0,0,.22); }
.impact { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.2; letter-spacing: .2px; background: #fff; color: var(--ink); }
.impact i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: currentColor; }
.impact-pos { color: #14703f; background: #e6f6ec; }
.impact-neg { color: #b3261e; background: #fdeceb; }
.impact-neu { color: #4c5666; background: #eef0f3; }
.impact-note { font-size: 13px; color: var(--muted); border-left: 3px solid var(--line); padding-left: 10px; margin-top: 10px; }
.news-card > .impact-note { margin-left: 22px; margin-right: 22px; }
.news-feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 44px rgba(31,37,39,.12); transition: box-shadow .25s ease, transform .25s ease; }
.news-feature:hover { transform: translateY(-3px); box-shadow: 0 24px 54px rgba(31,37,39,.16); }
.news-feature .news-thumb { aspect-ratio: auto; min-height: 320px; height: 100%; }
.news-feature .news-thumb img { position: absolute; inset: 0; }
.news-feature .news-thumb { position: relative; }
.nf-body { display: flex; flex-direction: column; justify-content: center; padding: 30px 32px; gap: 2px; }
.nf-body .impact { align-self: flex-start; margin-bottom: 14px; }
.nf-body .tag { margin-bottom: 6px; }
.nf-body h3 { font-size: 26px; line-height: 1.3; margin: 0 0 12px; }
.nf-body h3 a { color: var(--navy); text-decoration: none; }
.nf-body h3 a:hover { color: var(--gold); }
.nf-body p { font-size: 16px; color: var(--muted); margin: 0; }
.nf-body .news-meta { margin-top: 18px; }
.hl-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 4px 0 14px; }
.hl-head h2 { font-size: 22px; margin: 0; color: var(--navy); }
.hl-head span { font-size: 13px; color: var(--muted); }
#news-highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 34px; }
.hl { display: flex; flex-direction: column; gap: 6px; padding: 20px 20px 16px; border-radius: var(--radius); text-decoration: none; color: #fff; background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 70%, #3a2a2a 100%); border: 1px solid rgba(255,255,255,.06); position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.hl::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, rgba(239,106,98,.35), transparent 70%); }
.hl:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(31,37,39,.25); }
.hl-label { font-size: 13px; color: rgba(255,255,255,.78); line-height: 1.4; min-height: 36px; }
.hl-value { font-size: 30px; line-height: 1.1; font-weight: 800; letter-spacing: -.5px; color: #fff; }
.hl-note { font-size: 12.5px; color: rgba(255,255,255,.7); line-height: 1.45; flex: 1; }
.hl-src { font-size: 11.5px; color: var(--gold-soft); font-weight: 600; margin-top: 4px; }
@media (max-width: 980px) { #news-highlights { grid-template-columns: repeat(2, 1fr); } .news-feature { grid-template-columns: 1fr; } .news-feature .news-thumb { min-height: 0; aspect-ratio: 16 / 9; } .nf-body { padding: 22px; } .nf-body h3 { font-size: 21px; } }
@media (max-width: 560px) { #news-highlights { grid-template-columns: 1fr; } .hl-value { font-size: 26px; } .hl-head { flex-direction: column; gap: 2px; } }
@media (prefers-reduced-motion: reduce) { .news-feature, .hl { transition: none; } }

/* Dải lãi suất SBV trên đầu trang Tin tức */
.rates { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; border-radius: 18px; padding: 18px 20px 14px; margin-bottom: 34px; box-shadow: var(--shadow); }
.rates[hidden] { display: none; }
.rates-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; margin-bottom: 12px; }
.rates-head strong { font-size: 15px; letter-spacing: .8px; text-transform: uppercase; color: var(--gold-soft); }
.rates-head span { font-size: 13px; color: rgba(255,255,255,.7); }
.rates-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rate { display: block; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 12px 14px; color: #fff; text-decoration: none; transition: border-color .2s; }
.rate:hover { border-color: var(--gold-soft); }
.rate-t { display: flex; justify-content: space-between; gap: 8px; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.rate-t em { font-style: normal; font-weight: 500; font-size: 12px; color: rgba(255,255,255,.6); }
.rate ul { list-style: none; margin: 0; padding: 0; }
.rate li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: 14px; border-top: 1px dashed rgba(255,255,255,.12); }
.rate li:first-child { border-top: 0; }
.rate li span { color: rgba(255,255,255,.8); }
.rate li b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.rates-note { margin: 10px 0 0; font-size: 12px; color: rgba(255,255,255,.6); }
@media (max-width: 760px) { .rates-grid { grid-template-columns: 1fr; } .rates { padding: 16px; } }

/* Trang Giới thiệu: giao dịch đã chốt + thư viện ảnh đội ngũ */
.deals { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.deals b { color: var(--navy); font-size: 15px; }
.deals ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.deals li { padding: 6px 12px; border-radius: 999px; background: #f8eceb; color: var(--gold); font-weight: 600; font-size: 14px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 16px; background: var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; font-size: 13px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.gallery .g-wide { grid-column: span 2; grid-row: span 2; }
.gallery .g-tall { grid-row: span 2; }
.gallery .g-span2 { grid-column: span 2; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; } .gallery .g-wide, .gallery .g-tall, .gallery .g-span2 { grid-column: auto; grid-row: auto; } .gallery .g-tall { grid-row: span 2; } }

/* Nút gọi + Zalo nổi */
.fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: grid; gap: 10px; }
.fab a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; text-decoration: none; box-shadow: 0 8px 22px rgba(0,0,0,.22); transition: transform .2s; }
.fab a:hover { transform: scale(1.06); }
.fab-zalo { background: #0068ff; font-weight: 800; font-size: 13px; letter-spacing: .2px; }
.fab-call { background: var(--gold); animation: fab-pulse 2.4s ease-out infinite; }
@keyframes fab-pulse { 0% { box-shadow: 0 0 0 0 rgba(192,48,43,.45), 0 8px 22px rgba(0,0,0,.22); } 70% { box-shadow: 0 0 0 14px rgba(192,48,43,0), 0 8px 22px rgba(0,0,0,.22); } 100% { box-shadow: 0 0 0 0 rgba(192,48,43,0), 0 8px 22px rgba(0,0,0,.22); } }

/* Trang chủ: ảnh đội ngũ */
.about-photo { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.about-photo img { width: 100%; height: auto; display: block; aspect-ratio: 4 / 3; object-fit: cover; }
.about-photo figcaption { padding: 10px 14px; font-size: 13px; color: var(--muted); background: #fff; }
.fab-fb { background: #1877f2; }
.btn-fb { background: #1877f2; color: #fff; }
.btn-fb:hover { background: #0f63d1; }

/* Đầu trang trên điện thoại: thoáng, chữ rõ, nút gọn (chủ duyệt 2026-10-22) */
@media (max-width: 760px) {
  .hero { padding: 44px 0 52px; }
  .hero::before { background: linear-gradient(180deg, rgba(20,24,26,.55) 0%, rgba(20,24,26,.82) 55%, rgba(20,24,26,.94) 100%); }
  .hero .eyebrow { font-size: 11px; letter-spacing: 1.6px; margin-bottom: 14px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); }
  .hero h1 { font-size: 36px; line-height: 1.12; letter-spacing: -.6px; margin-bottom: 14px; }
  .hero .lead { font-size: 16px; line-height: 1.55; margin-bottom: 24px; }
  .btn-lg { padding: 15px 20px; font-size: 15px; border-radius: 12px; box-shadow: 0 10px 24px rgba(192,48,43,.35); }
  .points { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 22px; }
  .points li { font-size: 13px; padding: 8px 10px 8px 8px; gap: 7px; white-space: nowrap; }
  .points .tick { width: 20px; height: 20px; font-size: 11px; margin-top: 0; flex: none; }
  .scroll-cue { display: none; }
  .fab { right: 12px; gap: 8px; }
  .fab a { width: 46px; height: 46px; }
  .fab a svg { width: 19px; height: 19px; }
  .fab-zalo { font-size: 11px; }
}
/* Số đối tác lẻ: thẻ cuối trải hết hàng cho khỏi hụt một ô */
@media (min-width: 761px) { .partners > .partner:last-child:nth-child(odd) { grid-column: 1 / -1; } .partners > .partner:last-child:nth-child(odd) .thumbs img { height: 220px; aspect-ratio: auto; object-fit: cover; } }

/* Nút nổi nháy động: vòng sóng lan ra lần lượt từng nút + icon điện thoại rung nhẹ (chủ yêu cầu 2026-10-22) */
.fab a { position: relative; isolation: isolate; }
.fab a::before, .fab a::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; z-index: -1; opacity: .55; animation: fab-wave 2.4s ease-out infinite; }
.fab a::after { animation-delay: 1.2s; }
.fab-zalo::before { animation-delay: .4s; } .fab-zalo::after { animation-delay: 1.6s; }
.fab-call::before { animation-delay: .8s; } .fab-call::after { animation-delay: 2s; }
.fab-call { animation: none; }
.fab-call svg { animation: fab-ring 2.4s ease-in-out infinite; transform-origin: 50% 50%; }
.fab-zalo span, .fab-fb svg { animation: fab-pop 2.4s ease-in-out infinite; }
.fab-zalo span { animation-delay: .4s; }
@keyframes fab-wave { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.75); opacity: 0; } }
@keyframes fab-ring { 0%, 50%, 100% { transform: rotate(0); } 5%, 15%, 25% { transform: rotate(-18deg); } 10%, 20%, 30% { transform: rotate(18deg); } 35% { transform: rotate(0); } }
@keyframes fab-pop { 0%, 60%, 100% { transform: scale(1); } 70% { transform: scale(1.15); } 80% { transform: scale(.95); } 90% { transform: scale(1.05); } }

/* ===== Sản phẩm đang bán (scripts/tao-san-pham.mjs, 03/11/2026) ===== */
.sp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sp-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.sp-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(31,37,39,.14); }
.sp-thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.sp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.sp-card:hover .sp-thumb img { transform: scale(1.04); }
.sp-tag { position: absolute; left: 12px; top: 12px; background: var(--gold); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .4px; padding: 5px 10px; border-radius: 999px; }
.sp-da-ban .sp-tag { background: #5b6678; }
.sp-da-ban .sp-thumb img { filter: grayscale(.6); }
.sp-body { display: grid; gap: 6px; padding: 16px 18px 18px; }
.sp-gia { font-size: 22px; font-weight: 800; color: var(--gold); }
.sp-gia small { font-size: 13px; font-weight: 500; color: var(--muted); }
.sp-ten { font-weight: 700; color: var(--navy); font-size: 16px; line-height: 1.35; }
.sp-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); }
.sp-kv { font-size: 13px; color: var(--muted); }
.sp-note { margin-top: 22px; color: var(--muted); }
.sp-detail { padding-top: 28px; }
.sp-crumb { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.sp-crumb a { color: var(--muted); }
.sp-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 32px; align-items: start; }
.sp-main { margin: 0; position: relative; border-radius: 18px; overflow: hidden; background: #111; }
.sp-main img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.sp-main figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 14px 10px; color: #fff; font-size: 13px; background: linear-gradient(transparent, rgba(0,0,0,.6)); }
.sp-tag-lg { font-size: 15px; padding: 8px 14px; }
.sp-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px; }
.sp-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; aspect-ratio: 4 / 3; }
.sp-thumbs button.on { border-color: var(--gold); }
.sp-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-info { position: sticky; top: 90px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.sp-h1 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; margin: 4px 0 10px; color: var(--navy); }
.sp-price { font-size: 32px; font-weight: 800; color: var(--gold); margin: 0 0 14px; }
.sp-price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.sp-chips { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.sp-chips li { background: #f8eceb; color: var(--gold); font-weight: 600; font-size: 13px; padding: 6px 11px; border-radius: 999px; }
.sp-spec { display: grid; grid-template-columns: 110px 1fr; margin: 0 0 18px; border-top: 1px solid var(--line); font-size: 14px; }
.sp-spec dt, .sp-spec dd { margin: 0; padding: 9px 0; border-bottom: 1px solid var(--line); }
.sp-spec dt { color: var(--muted); }
.sp-spec dd { color: var(--navy); font-weight: 600; }
.sp-cta { display: grid; gap: 10px; }
.sp-cta .btn { justify-content: center; }
.sp-small { font-size: 13px; color: var(--muted); margin-top: 12px; }
.sp-desc { max-width: 760px; margin-top: 36px; }
.sp-desc h2 { font-size: 24px; }
.sp-desc p { color: var(--ink, #2d3639); font-size: 16px; line-height: 1.7; }
@media (max-width: 980px) { .sp-grid { grid-template-columns: 1fr 1fr; } .sp-layout { grid-template-columns: 1fr; } .sp-info { position: static; } }
@media (max-width: 620px) { .sp-grid { grid-template-columns: 1fr; } .sp-thumbs { grid-template-columns: repeat(5, 1fr); gap: 6px; } .sp-price { font-size: 28px; } }
/* Chỉ có 1 sản phẩm: thẻ nằm ngang trải hết hàng cho khỏi trống */
@media (min-width: 621px) {
  .sp-grid > .sp-card:only-child { grid-column: 1 / -1; flex-direction: row; }
  .sp-grid > .sp-card:only-child .sp-thumb { flex: 0 0 52%; aspect-ratio: 16 / 10; }
  .sp-grid > .sp-card:only-child .sp-body { align-content: center; padding: 28px 32px; gap: 10px; }
  .sp-grid > .sp-card:only-child .sp-gia { font-size: 30px; }
  .sp-grid > .sp-card:only-child .sp-ten { font-size: 21px; }
  .sp-grid > .sp-card:only-child .sp-meta, .sp-grid > .sp-card:only-child .sp-kv { font-size: 15px; }
}

/* Danh mục sản phẩm (03/11/2026) */
.sp-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.sp-tabs button { font: inherit; font-size: 14px; font-weight: 600; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.sp-tabs button span { display: inline-block; min-width: 22px; margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: var(--line); font-size: 12px; }
.sp-tabs button:hover { border-color: var(--gold); }
.sp-tabs button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.sp-tabs button.on span { background: var(--gold); color: #fff; }
.sp-dm { margin-bottom: 40px; scroll-margin-top: 90px; }
.sp-dm-h { font-size: 24px; color: var(--navy); margin: 0 0 14px; }
.sp-dm-h span { font-size: 14px; font-weight: 600; color: var(--muted); }
.sp-dm-p { color: var(--muted); margin: -6px 0 16px; }
.sp-trong { background: #fff; border: 1px dashed var(--line); border-radius: 18px; padding: 22px; color: var(--muted); margin: 0; }
.sp-tag-mau { background: var(--navy); }
.sp-dm-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.sp-dm-links a { font-size: 14px; font-weight: 600; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; text-decoration: none; }
.sp-dm-links a:hover { border-color: var(--gold); color: var(--gold); }
@media (max-width: 620px) {
  .sp-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 22px; padding: 0 16px 4px; scrollbar-width: none; }
  .sp-tabs::-webkit-scrollbar { display: none; }
  .sp-tabs button { flex: 0 0 auto; padding: 8px 13px; }
}
/* Khối liên hệ không được đẩy rộng trang trên điện thoại */
.contact > * { min-width: 0; }
.contact .info li span, .contact .info li a { overflow-wrap: anywhere; }
.row > *, .row input, .row select, form input, form select, form textarea { min-width: 0; max-width: 100%; }

/* Sản phẩm cốt lõi / Ký gửi (03/11/2026) */
.sp-sang { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 34px; padding: 24px 26px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.sp-sang h2 { font-size: 22px; margin: 0 0 6px; color: var(--navy); }
.sp-sang p { margin: 0; color: var(--muted); max-width: 560px; }
.sp-sang-nut { display: flex; flex-wrap: wrap; gap: 10px; }
.kg-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.kg-wrap > * { min-width: 0; }
.kg-intro h2 { margin: 6px 0 10px; }
.kg-intro p { color: var(--muted); }
.kg-buoc { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 12px; }
.kg-buoc li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; }
.kg-buoc b { width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; }
.kg-xem { display: flex; flex-wrap: wrap; gap: 8px; }
.kg-xem:empty { display: none; }
.kg-xem span { position: relative; width: 78px; height: 78px; border-radius: 10px; overflow: hidden; background: var(--line); }
.kg-xem img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kg-xem button { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border: 0; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; line-height: 1; padding: 0; }
@media (max-width: 900px) { .kg-wrap { grid-template-columns: 1fr; gap: 24px; } }

/* Rà soát 03/11: trang Sản phẩm, lưới 2 thẻ, ảnh mẫu trang chủ */
.sp-mohinh { margin-top: 40px; }
.sp-mohinh h2 { font-size: 26px; color: var(--navy); margin: 0 0 8px; }
.sp-mohinh > p { color: var(--muted); margin: 0 0 18px; }
@media (min-width: 621px) { .sp-grid.sp-n2 { grid-template-columns: repeat(2, 1fr); } .sp-grid.sp-n2 .sp-thumb { aspect-ratio: 16 / 10; } }
.sample .gallery { grid-template-columns: 2fr 1fr; grid-template-rows: none; grid-auto-rows: 170px; min-height: 0; }
.sample .gallery img { min-height: 0; }
.sample .gallery img:first-child { grid-row: span 2; grid-column: auto; }
@media (max-width: 760px) {
  .sample .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
  .sample .gallery img:first-child { grid-column: 1 / -1; grid-row: span 2; height: 100%; }
}

/* Khối Giám đốc trang Giới thiệu (03/11/2026) */
.ceo { display: grid; grid-template-columns: 320px 1fr; gap: 36px; align-items: center; margin-top: 44px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); }
.ceo > * { min-width: 0; }
.ceo-anh { margin: 0; border-radius: 16px; overflow: hidden; background: #4a4f52; aspect-ratio: 4 / 5; }
.ceo-anh img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; display: block; }
.ceo-noi-dung h2 { margin: 6px 0 4px; }
.ceo-chuc { color: var(--gold); font-weight: 600; margin: 0 0 16px; }
.ceo blockquote { margin: 0 0 16px; padding: 4px 0 4px 16px; border-left: 3px solid var(--gold); font-size: 19px; font-weight: 600; color: var(--navy); }
.ceo-noi-dung > p { color: var(--muted); }
@media (max-width: 760px) { .ceo { grid-template-columns: 1fr; gap: 20px; padding: 18px; } .ceo-anh { max-width: 300px; } }

/* Lighthouse 03/11: chữ đủ tương phản, tiêu đề chân trang */
footer .f-h { color: #fff; margin: 0 0 12px; font-size: 15px; font-weight: 700; }
main section:not(.hero):not(.page-hero):not(#doi-tac) .eyebrow { color: var(--gold); }
.btn-fb { background: #1565d8; }
.btn-fb:hover { background: #0f55b8; }

/* Tin tức: giữ chỗ cho bảng lãi suất và số liệu nổi bật để trang không bị xô khi tải (03/11/2026) */
.news-page #rates-band[hidden] { display: block !important; visibility: hidden; min-height: 300px; }
.news-page #news-highlights:empty { min-height: 185px; }
@media (max-width: 620px) { .news-page #rates-band[hidden] { min-height: 790px; } .news-page #news-highlights:empty { min-height: 760px; } }

/* Trang chủ: Quy trình gộp vào Giải pháp thành một hàng 4 bước (03/11/2026) */
.flow { margin-top: 34px; padding: 26px 28px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.flow-h { margin: 0 0 18px; font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold); }
.flow ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: b; position: relative; }
.flow ol::before { content: ""; position: absolute; left: 17px; right: 17px; top: 17px; height: 2px; background: #ecdedd; }
.flow li { position: relative; display: grid; gap: 4px; padding-top: 48px; }
.flow li::before { counter-increment: b; content: counter(b); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: #fff; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 5px var(--bg); }
.flow b { color: var(--navy); font-size: 16px; }
.flow span { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) {
  .flow { padding: 22px 18px; }
  .flow ol { grid-template-columns: 1fr; gap: 16px; }
  .flow ol::before { left: 17px; right: auto; top: 18px; bottom: 18px; width: 2px; height: auto; }
  .flow li { padding: 6px 0 0 52px; min-height: 36px; }
}

/* Trang Bản đồ (03/11/2026) */
.bd { display: grid; grid-template-columns: 400px 1fr; height: calc(100vh - 69px); height: calc(100dvh - 69px); min-height: 520px; border-bottom: 1px solid var(--line); }
.bd-panel { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--line); background: #fff; }
.bd-head { padding: 18px 18px 10px; }
.bd-head h1 { font-size: 22px; margin: 0 0 12px; color: var(--navy); }
.bd-head h1 em { color: var(--gold); font-style: normal; }
.bd-head input { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: 14px; background: var(--bg); }
.bd-loc { padding: 0 18px 10px; display: grid; gap: 10px; }
.bd-seg { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--bg); border-radius: 999px; padding: 3px; }
.bd-seg button { border: 0; background: none; font: inherit; font-size: 13px; font-weight: 600; padding: 7px 4px; border-radius: 999px; cursor: pointer; color: var(--navy); }
.bd-seg button.on { background: var(--navy); color: #fff; }
.bd-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.bd-chips::-webkit-scrollbar { display: none; }
.bd-chips button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 11px; font: inherit; font-size: 13px; color: var(--navy); cursor: pointer; }
.bd-chips button.on { border-color: var(--gold); color: var(--gold); background: #fbeeed; }
.bd-hang { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bd-hang select { padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 13px; background: #fff; min-width: 0; }
.bd-dem { margin: 0; padding: 8px 18px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
.bd-list { flex: 1; overflow-y: auto; padding: 4px 12px 12px; }
.bd-item { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 10px 6px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; border-radius: 12px; }
.bd-item:hover { background: var(--bg); }
.bd-item img { width: 112px; height: 84px; object-fit: cover; border-radius: 10px; background: var(--line); }
.bd-item > span { display: grid; gap: 3px; align-content: start; min-width: 0; }
.bd-item strong { color: var(--gold); font-size: 16px; }
.bd-ten { font-weight: 600; color: var(--navy); font-size: 14px; line-height: 1.35; }
.bd-item small { color: var(--muted); font-size: 12px; }
.bd-trong { color: var(--muted); font-size: 14px; padding: 12px 6px; }
.bd-note { margin: 0; padding: 10px 18px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); }
.bd-pop-tag { display: inline-flex; align-items: center; gap: 4px; width: max-content; font-size: 11px; font-weight: 700; color: #fff; padding: 3px 8px; border-radius: 999px; background: var(--gold); }
.bd-pop-tag svg { stroke: #fff; width: 12px; height: 12px; }
.bd-pop-tag.bd-thue, .bd-pin.bd-thue { background: #1565d8; }
.bd-pop-tag.bd-cot-loi, .bd-pin.bd-cot-loi { background: #1f2527; }
.bd-map-wrap { position: relative; min-height: 0; }
#bd-map { position: absolute; inset: 0; background: #e8ecef; }
.bd-pin-wrap { background: none; border: 0; }
.bd-pin { position: absolute; transform: translate(-50%, -100%); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; background: var(--gold); color: #fff; font-weight: 700; font-size: 13px; padding: 5px 10px 5px 8px; border-radius: 999px; box-shadow: 0 3px 10px rgba(0,0,0,.28); border: 2px solid #fff; transition: transform .15s; }
.bd-pin::after { content: ""; position: absolute; left: 50%; bottom: -7px; margin-left: -6px; border: 6px solid transparent; border-top-color: inherit; border-bottom: 0; border-top: 7px solid #fff; }
.bd-pin.bd-da-ban { background: #7b8487; }
.bd-pin-wrap:hover .bd-pin, .bd-noi .bd-pin { transform: translate(-50%, -100%) scale(1.12); z-index: 2; }
.bd-noi { z-index: 1000 !important; }
.bd-pop { display: block; text-decoration: none; color: inherit; }
.bd-pop img { width: 100%; height: 140px; object-fit: cover; border-radius: 10px 10px 0 0; display: block; }
.bd-pop-b { display: grid; gap: 4px; padding: 10px 12px 12px; }
.bd-pop-b strong { color: var(--gold); font-size: 16px; }
.bd-pop-b > span:not(.bd-pop-tag) { color: var(--navy); font-weight: 600; font-size: 13.5px; line-height: 1.35; }
.bd-pop-b small { color: var(--muted); font-size: 12px; }
.bd-pop-b em { font-style: normal; color: var(--gold); font-weight: 700; font-size: 13px; }
.leaflet-popup-content { margin: 0; width: 240px !important; }
.leaflet-popup-content-wrapper { padding: 0; border-radius: 12px; overflow: hidden; }
.bd-legend { position: absolute; left: 12px; bottom: 14px; z-index: 500; background: rgba(255,255,255,.95); border-radius: 12px; padding: 10px 12px; box-shadow: 0 4px 14px rgba(0,0,0,.15); font-size: 12px; display: grid; gap: 8px; max-width: calc(100% - 80px); }
.bd-mau { display: flex; gap: 6px; }
.bd-mau span { color: #fff; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--gold); }
.bd-mau .bd-thue { background: #1565d8; } .bd-mau .bd-cot-loi { background: #1f2527; }
.bd-chu-thich { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; color: var(--navy); }
.bd-chu-thich span { display: inline-flex; align-items: center; gap: 5px; }
.bd-toi { position: absolute; right: 10px; top: 84px; z-index: 500; width: 36px; height: 36px; border-radius: 8px; border: 2px solid rgba(0,0,0,.2); background: #fff; font-size: 18px; cursor: pointer; }
.trang-ban-do .fab { bottom: 24px; }
@media (max-width: 860px) {
  .bd { grid-template-columns: 1fr; grid-template-rows: 58vh auto; height: auto; }
  .bd-map-wrap { grid-row: 1; height: 58vh; }
  .bd-panel { grid-row: 2; border-right: 0; }
  .bd-list { overflow: visible; }
  .bd-legend { left: 8px; bottom: 8px; padding: 8px 10px; }
  .bd-chu-thich { grid-template-columns: 1fr 1fr; }
  .trang-ban-do .fab { bottom: 16px; }
}
.bd-pin svg, .bd-chips svg, .bd-chu-thich svg, .bd-pop-tag svg { display: block; flex: 0 0 auto; width: 16px; height: 16px; }
.bd-pin svg { width: 15px; height: 15px; }
.bd-pin::after { border: 0; width: 10px; height: 10px; background: inherit; bottom: -6px; margin-left: -5px; transform: rotate(45deg); border-right: 2px solid #fff; border-bottom: 2px solid #fff; z-index: -1; }
section.bd { padding: 0; }
@media (max-width: 860px) {
  .bd-chu-thich { display: none; }
  .bd-legend { padding: 6px 8px; }
}

/* Bản đồ: vệ tinh + hiệu ứng (03/11/2026) */
@keyframes bd-roi { 0% { opacity: 0; transform: translate(-50%, -260%) scale(.6); } 70% { opacity: 1; transform: translate(-50%, -88%) scale(1.06); } 100% { opacity: 1; transform: translate(-50%, -100%) scale(1); } }
@keyframes bd-song { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.75), 0 6px 16px rgba(0,0,0,.35); } 100% { box-shadow: 0 0 0 16px rgba(255,255,255,0), 0 6px 16px rgba(0,0,0,.35); } }
.bd-pin { opacity: 0; animation: bd-roi .7s cubic-bezier(.2,.9,.3,1.2) forwards; padding: 4px 11px 4px 4px; gap: 6px; font-size: 13.5px; letter-spacing: .2px; }
.bd-pin i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.22); font-style: normal; }
.bd-pin i svg { width: 14px; height: 14px; }
.bd-chon .bd-pin { animation: bd-song 1.4s ease-out infinite; transform: translate(-50%, -100%) scale(1.15); opacity: 1; }
.bd-chon { z-index: 1000 !important; }
.bd-sat .bd-pin { box-shadow: 0 4px 14px rgba(0,0,0,.55); }
.bd-nen { position: absolute; left: 12px; top: 12px; z-index: 500; display: flex; padding: 3px; gap: 2px; border-radius: 999px; background: rgba(20,24,26,.72); backdrop-filter: blur(8px); box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.bd-nen button { border: 0; background: none; color: #fff; font: inherit; font-size: 13px; font-weight: 600; padding: 7px 13px; border-radius: 999px; cursor: pointer; }
.bd-nen button.on { background: #fff; color: var(--navy); }
.bd-tm { top: 128px !important; font-size: 16px; }
.bd-fb { position: absolute; right: 10px; bottom: 26px; z-index: 500; display: inline-flex; align-items: center; gap: 7px; background: #1565d8; color: #fff; font-size: 12.5px; font-weight: 600; padding: 8px 13px; border-radius: 999px; text-decoration: none; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.bd-fb:hover { background: #0f55b8; }
.bd-sat .bd-legend { background: rgba(20,24,26,.72); backdrop-filter: blur(8px); color: #fff; }
.bd-sat .bd-chu-thich { color: #fff; }
.bd-sat .leaflet-control-attribution { background: rgba(20,24,26,.6); color: #cfd5d7; }
.bd-sat .leaflet-control-attribution a { color: #fff; }
.bd-pop-anh { position: relative; display: block; }
.bd-pop-anh img { width: 100%; height: 160px; object-fit: cover; display: block; }
.bd-pop-anh .bd-pop-tag { position: absolute; left: 10px; top: 10px; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.bd-pop-b { display: grid; gap: 4px; padding: 11px 13px 13px; }
.bd-pop-b strong { color: var(--gold); font-size: 18px; }
.bd-pop-ten { color: var(--navy); font-weight: 700; font-size: 14px; line-height: 1.35; text-decoration: none; }
.bd-pop-nut { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.bd-pop-nut a { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; padding: 6px 10px; border-radius: 999px; text-decoration: none; color: var(--navy); background: var(--bg); border: 1px solid var(--line); }
.bd-pop-nut .bd-n-chinh { background: var(--gold); border-color: var(--gold); color: #fff; }
.bd-pop-nut .bd-n-fb { background: #1565d8; border-color: #1565d8; color: #fff; }
.leaflet-popup-content { width: 270px !important; }
.bd-item:hover strong { text-decoration: underline; }
.bd.bd-full { position: fixed; inset: 0; z-index: 200; height: 100vh; height: 100dvh; background: #fff; }
.bd-khoa, .bd-khoa body { overflow: hidden; }
@media (max-width: 860px) {
  .bd.bd-full { grid-template-rows: 1fr; }
  .bd.bd-full .bd-panel { display: none; }
  .bd.bd-full .bd-map-wrap { height: 100%; }
  .bd-fb { bottom: 30px; right: 8px; font-size: 11.5px; padding: 6px 10px; }
  .bd-nen button { padding: 6px 10px; font-size: 12px; }
  .bd-legend { bottom: 30px; }
}
@media (prefers-reduced-motion: reduce) { .bd-pin { animation: none; opacity: 1; } .bd-chon .bd-pin { animation: none; } }
.bd-map-wrap { isolation: isolate; }
.bd-fb { right: auto; left: 12px; bottom: auto; top: 58px; }
@media (max-width: 860px) { .bd-fb { left: 8px; top: 52px; bottom: auto; right: auto; } }

/* Bản đồ: lớp Tin thị trường (03/11/2026) */
.bd-pin.bd-tt { background: #fff; color: var(--gold); border: 2px solid var(--gold); padding: 3px 9px 3px 3px; font-size: 12.5px; animation: none; opacity: 1; transform: translate(-50%, -100%); }
.bd-pin.bd-tt i { background: var(--gold); width: 22px; height: 22px; }
.bd-pin.bd-tt i svg { stroke: #fff; }
.bd-pin.bd-tt.bd-thue { color: #1565d8; border-color: #1565d8; background: #fff; }
.bd-pin.bd-tt.bd-thue i { background: #1565d8; }
.bd-pin.bd-tt::after { border-color: inherit; background: #fff; }
.bd-cum-wrap { background: none; border: 0; }
.bd-cum { position: absolute; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; display: grid; place-content: center; text-align: center; line-height: 1; color: #fff; background: radial-gradient(circle at 30% 30%, #ef6a62, #c0302b); border: 3px solid rgba(255,255,255,.9); box-shadow: 0 0 0 6px rgba(192,48,43,.28), 0 6px 16px rgba(0,0,0,.35); }
.bd-cum b { font-size: 15px; } .bd-cum small { font-size: 9.5px; opacity: .9; }
.bd-tt-bat { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-size: 13px; font-weight: 600; color: var(--navy); cursor: pointer; }
.bd-tt-bat input { width: 16px; height: 16px; accent-color: var(--gold); }
.bd-tt-bat span { background: var(--bg); border-radius: 999px; padding: 1px 8px; font-size: 12px; }
.bd-tt-bat small { flex-basis: 100%; padding-left: 24px; font-weight: 400; color: var(--muted); font-size: 11.5px; }
.bd-mau .bd-tt-mau { background: #fff; color: var(--gold); border: 1.5px solid var(--gold); }
.bd-item-ic { width: 112px; height: 84px; border-radius: 10px; display: grid; place-items: center; background: #fbeeed; color: var(--gold); }
.bd-item-ic.bd-thue { background: #e8f0fc; color: #1565d8; }
.bd-item-ic svg { width: 34px; height: 34px; }
.bd-item-tt .bd-ten { font-weight: 500; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bd-pop-luu { display: block; margin-top: 8px; font-size: 11px !important; line-height: 1.4; color: var(--muted); }

/* Bản đồ: bộ lọc giá tự nhập, ghim tin ký gửi mới (03/11/2026) */
.bd-gia-tu { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 6px; }
.bd-gia-tu select, .bd-gia-tu input { padding: 8px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 13px; min-width: 0; background: #fff; }
.bd-gia-tu button { border: 0; border-radius: 10px; background: var(--gold); color: #fff; font: inherit; font-size: 13px; font-weight: 700; padding: 0 12px; cursor: pointer; }
.bd-pin.bd-tt.bd-kg { border-style: dashed; box-shadow: 0 0 0 3px rgba(255,255,255,.7), 0 4px 14px rgba(0,0,0,.45); }

/* ====== Mục bản đồ trang chủ + menu (04/11/2026, bản tiết chế: một màu nhấn đỏ) ====== */
@keyframes bdSong { 0% { transform: translate(-50%, -50%) scale(.4); opacity: .8; } 100% { transform: translate(-50%, -50%) scale(2.6); opacity: 0; } }
@keyframes bdBat { 0% { opacity: 0; transform: translate(-50%, -80%); } 100% { opacity: 1; transform: translate(-50%, -100%); } }
.nav a[href*="ban-do"]:not(.btn) { display: inline-flex; align-items: center; gap: 6px; }
.nav a[href*="ban-do"]:not(.btn)::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
.hero .scroll-cue { display: none; }
.bd-moi-luoi { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.bd-moi-chu h2 { margin: 6px 0 14px; }
.bd-moi-chu p { color: var(--muted); margin: 0 0 16px; }
.bd-moi-chu p b { color: var(--ink); }
.bd-moi-ds { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 9px; }
.bd-moi-ds li { position: relative; padding-left: 22px; color: #3a4245; font-size: 15px; }
.bd-moi-ds li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--gold); }
.bd-moi-anh { position: relative; display: block; aspect-ratio: 2 / 1; border-radius: 16px; overflow: hidden; background: #1d2a2e; box-shadow: 0 18px 44px rgba(27,36,51,.16); }
.bd-moi-anh img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.bd-moi-anh:hover img { transform: scale(1.04); }
.bd-moi-song { position: absolute; left: 57%; top: 52%; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); border: 2px solid #fff; transform: translate(-50%, -50%); z-index: 2; }
.bd-moi-song::before { content: ""; position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85); animation: bdSong 2.6s ease-out infinite; }
.bd-gh { position: absolute; z-index: 3; transform: translate(-50%, -100%); padding: 5px 10px; border-radius: 8px; background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 700; white-space: nowrap; box-shadow: 0 4px 12px rgba(0,0,0,.3); opacity: 0; }
.bd-gh::after { content: ""; position: absolute; left: 50%; bottom: -5px; transform: translateX(-50%); border: 6px solid transparent; border-bottom: 0; border-top-color: #fff; }
.bd-moi-anh.chay .bd-gh { animation: bdBat .5s ease-out var(--d, 0s) forwards; }
.bd-moi-mo { position: absolute; right: 12px; bottom: 12px; z-index: 3; padding: 7px 12px; border-radius: 8px; background: rgba(20,24,26,.72); color: #fff; font-size: 13px; font-weight: 600; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .2s; }
.bd-moi-anh:hover .bd-moi-mo { background: var(--gold); }
.bd-moi-nguon { position: absolute; left: 10px; bottom: 8px; z-index: 3; font-size: 10.5px; color: rgba(255,255,255,.75); text-shadow: 0 1px 2px rgba(0,0,0,.8); }
@media (max-width: 900px) {
  .bd-moi-luoi { grid-template-columns: 1fr; gap: 24px; }
  .bd-moi-anh { order: -1; }
}
@media (max-width: 760px) { .bd-moi-chu .btn { width: 100%; justify-content: center; } .bd-gh { font-size: 11.5px; padding: 4px 8px; } }
@media (prefers-reduced-motion: reduce) { .bd-moi-song::before { animation: none; } .bd-moi-anh .bd-gh { animation: none !important; opacity: 1; } }
.kg-bao-mat { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #fff4ee; border: 1px solid #ffd9c7; color: #6a3b2b; font-size: 14px; }
.kg-qua-cty { margin: 12px 0 0; padding: 10px 12px; border-left: 3px solid var(--gold); background: #fbf6f4; border-radius: 0 10px 10px 0; font-size: 13.5px; color: #4a5260; }
@media (max-width: 760px) { .bd-moi-mo { display: none; } }
/* ====== Khung bản đồ trong hero (04/11/2026) ====== */
@keyframes heroBdNoi { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes heroBdVao { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.hero-bd { display: flex; flex-direction: column; background: #fff; border-radius: 20px; padding: 10px; color: var(--ink); text-decoration: none; box-shadow: 0 30px 70px rgba(0,0,0,.45); animation: heroBdVao .8s ease-out .3s both; transition: box-shadow .25s; }
.hero-bd:hover { box-shadow: 0 34px 80px rgba(0,0,0,.55), 0 0 0 3px rgba(192,48,43,.55); }
.hero-bd-anh { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #1d2a2e; }
.hero-bd-anh img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.hero-bd:hover .hero-bd-anh img { transform: scale(1.05); }
.hero-bd-anh.chay .bd-gh { animation: bdBat .5s ease-out var(--d, 0s) forwards; }
.hero-bd-nhan { position: absolute; left: 10px; top: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; background: rgba(20,24,26,.7); color: #fff; font-size: 12px; font-weight: 600; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-bd-nhan i { width: 7px; height: 7px; border-radius: 50%; background: #ff4d42; box-shadow: 0 0 0 3px rgba(255,77,66,.3); }
.hero-bd-chu { display: flex; flex-direction: column; gap: 3px; padding: 14px 64px 8px 8px; position: relative; }
.hero-bd-h { font-size: 18px; font-weight: 800; }
.hero-bd-p { font-size: 14px; color: var(--muted); }
.hero-bd-p b { color: var(--gold); }
.hero-bd { position: relative; }
.hero-bd-nut { position: absolute; right: 18px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #fff; font-size: 20px; font-weight: 700; box-shadow: 0 8px 20px rgba(192,48,43,.45); transition: transform .2s; }
.hero-bd:hover .hero-bd-nut { transform: translateX(4px); }
@media (min-width: 1000px) {
  .hero .hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; align-items: center; }
  .hero-bd { animation: heroBdVao .8s ease-out .3s both, heroBdNoi 6s ease-in-out 1.2s infinite; }
}
@media (max-width: 999px) {
  .hero-bd { flex-direction: row; align-items: center; gap: 12px; margin-top: 22px; padding: 8px; border-radius: 16px; max-width: 460px; }
  .hero-bd-anh { width: 96px; flex: none; aspect-ratio: 1; border-radius: 10px; }
  .hero-bd-anh .bd-gh, .hero-bd-nhan { display: none; }
  .hero-bd-chu { padding: 0 52px 0 0; }
  .hero-bd-h { font-size: 16px; }
  .hero-bd-p { font-size: 13px; }
  .hero-bd-nut { right: 12px; top: 50%; bottom: auto; transform: translateY(-50%); width: 40px; height: 40px; font-size: 18px; }
  .hero-bd:hover .hero-bd-nut { transform: translate(4px, -50%); }
}
@media (prefers-reduced-motion: reduce) { .hero-bd { animation: none !important; } }
@media (min-width: 1000px) {
  .hero .hero-inner { grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; }
  .hero h1 { font-size: clamp(40px, 4.4vw, 60px); }
  .hero-bd-anh { aspect-ratio: 16 / 11; }
}
@media (max-width: 999px) {
  .hero-bd-nut { display: none; }
  .hero-bd-chu { padding-right: 58px; }
  .hero-bd .hero-bd-xem { display: block; margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--gold); }
}
.hero-bd-xem { display: none; }
/* 04/11: khung bản đồ hero bản hoàn chỉnh: chữ lợi ích, nút có chữ, ghim sáng luân phiên */
.bd-gh { transition: background .35s, color .35s, box-shadow .35s; }
.bd-gh.sang { background: var(--gold); color: #fff; box-shadow: 0 6px 18px rgba(192,48,43,.55); z-index: 4; }
.bd-gh.sang::after { border-top-color: var(--gold); }
.hero-bd-chu { padding: 14px 8px 6px; gap: 6px; }
.hero-bd-h { font-size: 19px; line-height: 1.25; }
.hero-bd-h b { color: var(--gold); }
.hero-bd-p { font-size: 13.5px; line-height: 1.5; }
.hero-bd-p b { color: inherit; }
.hero-bd-nut { display: none !important; }
.hero-bd-cta { position: relative; overflow: hidden; align-self: stretch; margin-top: 8px; display: flex; justify-content: center; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 12px; background: var(--gold); color: #fff; font-weight: 800; font-size: 15px; box-shadow: 0 8px 20px rgba(192,48,43,.35); transition: background .2s; }
.hero-bd-cta::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 35%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent); transform: translateX(-150%) skewX(-20deg); animation: heroBdLoe 4.5s ease-in-out 2s infinite; }
@keyframes heroBdLoe { 0%, 75% { transform: translateX(-150%) skewX(-20deg); } 100% { transform: translateX(330%) skewX(-20deg); } }
.hero-bd-cta span { transition: transform .2s; }
.hero-bd:hover .hero-bd-cta { background: #a82722; }
.hero-bd:hover .hero-bd-cta span { transform: translateX(4px); }
.hero-bd-xem { display: none !important; }
@media (max-width: 999px) {
  .hero-bd { flex-direction: row; align-items: stretch; }
  .hero-bd-anh { width: 104px; aspect-ratio: auto; min-height: 104px; }
  .hero-bd-chu { padding: 2px 52px 0 0; gap: 4px; }
  .hero-bd-h { font-size: 15.5px; }
  .hero-bd-p { display: none; }
  .hero-bd-cta { align-self: flex-start; margin-top: 6px; padding: 8px 14px; font-size: 13.5px; border-radius: 10px; }
}
@media (prefers-reduced-motion: reduce) { .hero-bd-cta::after { animation: none; } }
/* Thẻ tin thị trường chưa có ảnh: khung mời nhận ảnh thật (04/11/2026) */
.bd-pop-chua { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 150px; padding: 14px 18px; text-align: center; text-decoration: none; color: #fff;
  background: linear-gradient(135deg, rgba(20,24,26,.78), rgba(20,24,26,.9)), url("ban-do-trung-tam-560.webp") center / cover; }
.bd-pop-chua i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #fff; }
.bd-pop-chua i svg { width: 20px; height: 20px; }
.bd-pop-chua b { font-size: 14.5px; }
.bd-pop-chua small { font-size: 12px; color: #d5dbe0; line-height: 1.4; }
.bd-pop-chua:hover i { transform: scale(1.08); }
/* Bong bóng khu vực cho tin chỉ biết phường/quận (04/11/2026) */
.bd-vung-wrap { background: none; border: 0; }
.bd-vung { display: inline-flex; flex-direction: column; align-items: center; transform: translate(-50%, -50%); padding: 6px 12px; border-radius: 12px; background: rgba(255,255,255,.96); border: 1.5px dashed var(--gold); box-shadow: 0 4px 14px rgba(0,0,0,.35); cursor: pointer; white-space: nowrap; line-height: 1.15; }
.bd-vung b { font-size: 13px; color: var(--gold); }
.bd-vung small { font-size: 11px; color: #3a4245; }
.bd-vung:hover { background: #fff; transform: translate(-50%, -50%) scale(1.06); }
.bd-pop-vung .bd-pop-tag { background: #fbeceb; color: var(--gold); }
.bd-vung-ds { list-style: none; margin: 8px 0; padding: 0; max-height: 210px; overflow: auto; display: grid; gap: 7px; }
.bd-vung-ds li { display: grid; gap: 1px; padding: 7px 9px; border-radius: 8px; background: #f6f4f2; font-size: 12.5px; }
.bd-vung-ds li b { color: var(--ink); font-size: 13px; }
.bd-vung-ds li small { color: var(--muted); font-size: 11px; }
.leaflet-popup-content a.bd-pop-chua, .leaflet-popup-content a.bd-pop-chua b { color: #fff; }
/* 04/11: bong bóng khu vực thu gọn thành chấm số nhỏ, tên khu hiện khi rê chuột / trong thẻ */
.bd-vung { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border-radius: 50%; transform: translate(-50%, -50%); background: rgba(255,255,255,.92); border: 1.5px dashed var(--gold); color: var(--gold); font-size: 11.5px; font-weight: 800; line-height: 1; box-shadow: 0 2px 8px rgba(0,0,0,.35); flex-direction: row; }
.bd-vung:hover { transform: translate(-50%, -50%) scale(1.15); }
.bd-vung-tip { font-size: 12px; font-weight: 600; }
.bd-vung-mau { display: inline-flex; align-items: center; gap: 5px; }
.bd-vung-mau i { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; border: 1.5px dashed var(--gold); background: #fff; color: var(--gold); font-style: normal; font-size: 9.5px; font-weight: 800; }
.bd-mau .bd-vung-mau { background: #fff; color: var(--gold); border: 1.5px dashed var(--gold); }

/* ====== Trang bản đồ: giao diện làm lại gọn, có hệ thống (04/11/2026) ====== */
.bd { grid-template-columns: 380px 1fr; }
.bd-panel { background: #fff; }
.bd-head { padding: 18px 18px 12px; }
.bd-head h1 { font-size: 21px; margin: 0; letter-spacing: -.2px; }
.bd-sub { margin: 2px 0 12px; font-size: 12.5px; color: var(--muted); }
.bd-tim { display: flex; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: #f7f6f5; color: var(--muted); transition: border-color .2s, background .2s; }
.bd-tim:focus-within { border-color: var(--navy); background: #fff; }
.bd-tim input { flex: 1; border: 0 !important; background: none !important; padding: 10px 0 !important; border-radius: 0 !important; font-size: 14px; outline: none; min-width: 0; }
.bd-loc { padding: 0 18px 14px; gap: 12px; border-bottom: 1px solid var(--line); }
.bd-o { display: grid; gap: 6px; min-width: 0; }
.bd-nhan { font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--muted); }
.bd-seg { border-radius: 10px; background: #f1efee; }
.bd-seg button { border-radius: 8px; padding: 7px 4px; }
.bd-seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.bd-chips { flex-wrap: wrap; overflow: visible; gap: 6px; }
.bd-chips button { border-radius: 8px; padding: 5px 9px; font-size: 12.5px; }
.bd-chips button.on { border-color: var(--ink); color: #fff; background: var(--ink); }
.bd-chips button.on svg { stroke: #fff; }
.bd-hang { gap: 10px; }
.bd-hang select { border-radius: 10px; padding: 9px 10px; background: #fff; }
.bd-tt-bat { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 10px; font-weight: 600; position: relative; }
.bd-tt-bat input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bd-cong { grid-row: span 2; width: 36px; height: 20px; border-radius: 999px; background: #cfd3d6 !important; position: relative; transition: background .2s; padding: 0 !important; }
.bd-cong::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .2s; }
.bd-tt-bat input:checked + .bd-cong { background: var(--ink) !important; }
.bd-tt-bat input:checked + .bd-cong::after { transform: translateX(16px); }
.bd-tt-bat input:focus-visible + .bd-cong { outline: 2px solid var(--gold); outline-offset: 2px; }
.bd-tt-bat span:not(.bd-cong) { background: none; padding: 0; font-size: 13px; }
.bd-tt-bat b { color: var(--muted); font-weight: 600; }
.bd-tt-bat small { padding-left: 0; grid-column: 2; }
.bd-kq { display: flex; align-items: center; gap: 8px; padding: 10px 18px; border-bottom: 1px solid var(--line); background: #faf9f8; }
.bd-kq .bd-dem { flex: 1; padding: 0; border: 0; font-size: 13px; color: var(--muted); }
.bd-kq .bd-dem b { color: var(--ink); }
.bd-kq select { border: 1px solid var(--line); border-radius: 8px; padding: 5px 8px; font: inherit; font-size: 12.5px; background: #fff; }
.bd-xoa, .bd-xoa-l { border: 0; background: none; color: var(--gold); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; padding: 4px 2px; }
.bd-xoa[hidden] { display: none; }
.bd-list { padding: 4px 10px 12px; }
.bd-item { grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 8px; border-radius: 10px; }
.bd-item img, .bd-item-ic { width: 96px; height: 72px; border-radius: 8px; }
.bd-item-ic, .bd-item-ic.bd-thue { background: #f1efee; color: #7a8288; }
.bd-item-ic svg { width: 28px; height: 28px; }
.bd-item-tren { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.bd-item-tren strong { color: var(--ink); font-size: 15.5px; }
.bd-item-tren em { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 6px; color: var(--gold); background: #fbeceb; flex: none; }
.bd-item-tren em.bd-thue { color: #1565d8; background: #e8f0fc; }
.bd-item-tren em.bd-cot-loi { color: #fff; background: var(--ink); }
.bd-item .bd-ten, .bd-item-tt .bd-ten { font-weight: 500; font-size: 13.5px; color: #2a3138; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bd-item small { font-size: 12px; }
.bd-item .bd-nguon { font-size: 11px; color: #9aa1a6; }
.bd-note { font-size: 12px; text-align: center; }
/* Trên bản đồ: chỉ còn kiểu nền (trái trên), nhóm nút (phải), chú thích thu gọn (trái dưới) */
.bd-nen { background: #fff !important; box-shadow: 0 2px 10px rgba(0,0,0,.25); border-radius: 10px; padding: 3px; }
.bd-nen button { color: var(--ink); border-radius: 8px; padding: 6px 12px; font-size: 12.5px; }
.bd-nen button.on { background: var(--ink); color: #fff; }
.bd-fb { display: none; }
.bd-cong-cu { position: absolute; right: 10px; top: 84px; z-index: 500; display: grid; background: #fff; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,.25); overflow: hidden; }
.bd-cong-cu button { width: 34px; height: 34px; display: grid; place-items: center; border: 0; background: #fff; color: var(--ink); cursor: pointer; }
.bd-cong-cu button + button { border-top: 1px solid var(--line); }
.bd-cong-cu button:hover, .bd-cong-cu button.on { background: #f1efee; }
.bd-cong-cu button[hidden] { display: none; }
.trang-ban-do .leaflet-touch .leaflet-bar { border: 0; box-shadow: 0 2px 10px rgba(0,0,0,.25); border-radius: 8px; overflow: hidden; }
.bd-legend { left: 12px; bottom: 14px; padding: 0; background: #fff !important; color: var(--ink) !important; backdrop-filter: none !important; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.25); max-width: 300px; display: block; }
.bd-legend summary { list-style: none; cursor: pointer; padding: 7px 12px; font-size: 12.5px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.bd-legend summary::-webkit-details-marker { display: none; }
.bd-legend summary::before { content: "i"; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 10.5px; font-style: italic; font-family: Georgia, serif; }
.bd-legend[open] { padding-bottom: 10px; }
.bd-legend[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.bd-legend .bd-mau { flex-wrap: wrap; padding: 0 12px; }
.bd-legend .bd-chu-thich { display: grid; padding: 8px 12px 0; color: var(--ink) !important; }
.bd-mau .bd-cum-mau, .bd-mau .bd-vung-mau { display: inline-flex; align-items: center; gap: 5px; background: none; color: var(--ink); border: 0; padding: 2px 0; font-weight: 600; }
.bd-cum-mau i { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); color: #fff; font-style: normal; font-size: 9px; font-weight: 800; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--ink); }
/* Cụm: màu trung tính, không trùng màu ghim Bán */
.bd-cum { width: 40px; height: 40px; background: var(--ink); border: 2px solid #fff; box-shadow: 0 0 0 5px rgba(27,36,51,.22), 0 4px 12px rgba(0,0,0,.35); }
.bd-cum b { font-size: 14px; } .bd-cum small { font-size: 8.5px; }
/* Trang bản đồ: ẩn nút nổi Facebook/Zalo để không đè nút bản đồ; giữ nút gọi */
.trang-ban-do .fab-fb, .trang-ban-do .fab-zalo { display: none; }
.trang-ban-do .fab { bottom: 22px; right: 60px; }
@media (max-width: 860px) {
  .bd-legend { max-width: calc(100% - 24px); }
  .trang-ban-do .fab { right: 12px; bottom: 12px; }
  .bd-kq { position: sticky; top: 0; z-index: 2; }
}
.bd-tt-bat small { display: none; }
.bd-loc { gap: 10px; }
.bd-chips { gap: 5px; }
.bd-chips button { padding: 4px 8px; font-size: 12px; }
.bd-chips button svg { width: 14px; height: 14px; }
@media (max-width: 860px) { .bd { grid-template-columns: minmax(0, 1fr); } .bd-chips { flex-wrap: wrap; overflow: visible; } .bd-chips button { flex: 0 0 auto; } }

/* ====== Cân đối trang chủ (04/11/2026) ====== */
/* Tiêu đề không lẻ một chữ ở dòng cuối */
h1, h2, h3, .bd-moi-h, .hero-bd-h { text-wrap: balance; }
p, .lead { text-wrap: pretty; }
/* Hero: 4 điểm nổi bật nằm gọn một hàng trên máy tính */
@media (min-width: 1000px) {
  .hero .points { flex-wrap: nowrap; gap: 8px; }
  .hero .points li { padding: 7px 12px 7px 8px; font-size: 14px; white-space: nowrap; }
}
/* Đối tác: 3 cột, ảnh thấp lại để mục không quá dài */
@media (min-width: 1100px) {
  #doi-tac .partners { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  #doi-tac .partner { padding: 20px; }
  #doi-tac .partner h3 { font-size: 18px; }
  #doi-tac .partner p { font-size: 13.5px; }
  #doi-tac .thumbs img { aspect-ratio: 1 / 1; border-radius: 8px; }
  #doi-tac .partner .credit { display: none; }
}
/* Liên hệ: 3 nút một hàng */
.lh-nut { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 1100px) { #doi-tac .partners > .partner:last-child:nth-child(odd) { grid-column: span 2; } #doi-tac .partners > .partner:last-child:nth-child(odd) .thumbs img { height: 150px; aspect-ratio: auto; } }
