/* ==========================================================================
   NHÀ ĐẤT ECOPARK - giao diện website
   Màu sắc và cỡ chữ chỉnh ở khối :root ngay bên dưới. Phần còn lại ít khi phải sửa.
   ========================================================================== */
:root {
  --forest: #0c3b2e;      /* xanh rừng đậm (nền tối, nút chính) */
  --forest-2: #145240;
  --leaf: #2f8f5b;        /* xanh lá (điểm nhấn) */
  --mint: #e8f3ec;        /* xanh bạc hà nhạt (nền khối) */
  --sand: #f6f4ee;        /* nền kem */
  --lime: #c9e86a;        /* màu nút kêu gọi hành động */
  --water: #2a9bb8;
  --ink: #0d1f18;         /* màu chữ */
  --muted: #55685e;
  --line: #dde7e0;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(12, 59, 46, .10);
  --shadow-lg: 0 24px 60px rgba(12, 59, 46, .18);
  --head-h: 68px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 56px); }
body { margin: 0; font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--white); line-height: 1.65; font-size: 16.5px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest-2); }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; font-weight: 800; color: var(--forest); }
h1 { font-size: clamp(30px, 4.6vw, 52px); }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; margin-top: 32px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--forest); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--water); outline-offset: 2px; border-radius: 6px; }
.hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ---------- Nút ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font: 700 15.5px/1 "Be Vietnam Pro", sans-serif; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 11px 18px; font-size: 14.5px; }
.btn-block { width: 100%; }
.btn-lime { background: var(--lime); color: var(--forest); box-shadow: 0 6px 18px rgba(201, 232, 106, .45); }
.btn-lime:hover { background: #d6f07f; }
.btn-line { background: transparent; color: var(--forest); box-shadow: inset 0 0 0 2px var(--forest); }
.btn-line:hover { background: var(--forest); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .24); }
.btn[disabled] { opacity: .6; cursor: wait; }
.contacts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--leaf); margin-bottom: 14px; }
.eyebrow.light { color: var(--lime); }

/* ---------- Đầu trang ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.site-header .bar { display: flex; align-items: center; gap: 28px; height: var(--head-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest); font-weight: 600; font-size: 17px; white-space: nowrap; }
.brand b { font-weight: 800; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .has-sub > a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15.5px; }
.nav > a:hover, .has-sub > a:hover, .nav a.on { background: var(--mint); color: var(--forest); }
.has-sub { position: relative; }
.has-sub .sub { position: absolute; top: 100%; left: 0; min-width: 270px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub .sub a { display: flex; flex-direction: column; padding: 10px 14px; border-radius: 10px; text-decoration: none; color: var(--forest); }
.has-sub .sub a:hover { background: var(--mint); }
.has-sub .sub span { font-size: 13px; color: var(--muted); font-weight: 400; }
.actions { display: flex; align-items: center; gap: 12px; }
.phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; color: var(--forest); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: var(--mint); border-radius: 12px; cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--forest); border-radius: 2px; transition: .2s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded=true] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded=true] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded=true] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Trang chủ: hero ---------- */
.hero { position: relative; color: #fff; padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 110px); background: linear-gradient(100deg, rgba(8, 40, 30, .94) 0%, rgba(8, 40, 30, .78) 48%, rgba(8, 40, 30, .45) 100%), var(--hero-img) center/cover no-repeat, var(--forest); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { color: #fff; max-width: 17ch; font-size: clamp(34px, 5.2vw, 58px); margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero .lead { font-size: 18px; color: rgba(255, 255, 255, .9); max-width: 56ch; }
.hero-points { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; }
.hero-points li { position: relative; padding-left: 30px; color: rgba(255, 255, 255, .92); }
.hero-points li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230c3b2e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.picks { display: flex; flex-wrap: wrap; gap: 12px; }
.pick { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 14px; padding: 14px 18px; min-width: 150px; border-radius: 16px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(8px); color: #fff; text-decoration: none; transition: .2s; }
.pick:hover { background: rgba(255, 255, 255, .22); transform: translateY(-3px); }
.pick b { font-size: 17px; } .pick span { grid-column: 1; font-size: 13px; opacity: .8; } .pick i { grid-row: 1 / 3; grid-column: 2; font-style: normal; font-size: 20px; color: var(--lime); }

/* ---------- Form thu khách ---------- */
.lead-card { background: #fff; color: var(--ink); border-radius: 24px; padding: 28px; box-shadow: var(--shadow-lg); }
.lead-card h2 { font-size: 24px; margin-bottom: 6px; }
.lead-card .sub { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--forest); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--leaf); box-shadow: 0 0 0 4px rgba(47, 143, 91, .15); }
.field .err { display: block; color: #b3261e; font-size: 13px; min-height: 0; margin-top: 4px; }
.field.invalid input { border-color: #b3261e; }
.privacy { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }
.demo-note { display: none; margin: 10px 0 0; font-size: 12.5px; color: #8a5a00; background: #fff6df; padding: 8px 10px; border-radius: 8px; }
.form-msg { margin: 12px 0 0; font-size: 14.5px; }
.form-msg.ok { color: #176b3a; font-weight: 600; } .form-msg.fail { color: #b3261e; }

/* ---------- Dải tin cậy ---------- */
.trust { background: var(--forest); color: #fff; }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 22px 0; }
.trust p { margin: 0; display: flex; flex-direction: column; border-left: 2px solid rgba(201, 232, 106, .5); padding-left: 14px; }
.trust b { font-size: 17px; } .trust span { font-size: 14px; opacity: .8; }

/* ---------- Khối chung ---------- */
section { padding: clamp(48px, 7vw, 92px) 0; }
section.alt { background: var(--sand); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 18px; }
.pagehead { padding: 40px 0 34px; background: linear-gradient(180deg, var(--mint), #fff); }
.pagehead h1 { margin-bottom: 10px; max-width: 24ch; font-size: clamp(28px, 4vw, 44px); }
.pagehead p { color: var(--muted); font-size: 18px; max-width: 60ch; margin: 0; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--forest); text-decoration: underline; }
.crumbs.light, .crumbs.light a { color: rgba(255, 255, 255, .8); }
.meta { color: var(--muted); font-size: 14.5px; }

/* ---------- Thẻ (dự án, tin) ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 2px 6px rgba(12, 59, 46, .04); transition: transform .22s, box-shadow .22s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card .pic { position: relative; aspect-ratio: 16 / 10; background: var(--mint); overflow: hidden; }
.card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .pic img { transform: scale(1.06); }
.ph { width: 100%; height: 100%; background: linear-gradient(135deg, var(--forest-2), var(--leaf)); }
.badge { position: absolute; top: 14px; left: 14px; background: var(--lime); color: var(--forest); font-weight: 800; font-size: 12px; padding: 5px 12px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.card .txt { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card .kind { font-size: 12.5px; font-weight: 700; color: var(--leaf); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.card h3 { margin-bottom: 8px; color: var(--forest); }
.card p { color: var(--muted); font-size: 15px; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .more { margin-top: auto; font-weight: 700; color: var(--forest-2); } .card .more i { font-style: normal; display: inline-block; transition: transform .2s; }
.card:hover .more i { transform: translateX(5px); }
.card.news .meta b { color: var(--leaf); }
.card.news h3 { font-size: 17.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Bộ lọc ---------- */
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.seg button, .seg a { padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--forest); font: 600 14.5px "Be Vietnam Pro", sans-serif; cursor: pointer; text-decoration: none; transition: .15s; }
.seg button:hover, .seg a:hover { border-color: var(--leaf); }
.seg [aria-pressed=true] { background: var(--forest); color: #fff; border-color: var(--forest); }
.card[hidden] { display: none; }

/* ---------- Khoáng nóng Onsen ---------- */
.onsen { background: radial-gradient(1200px 500px at 90% 0%, #1b6b56 0%, transparent 60%), var(--forest); color: #fff; }
.onsen .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.onsen h2 { color: #fff; font-size: clamp(26px, 3.4vw, 40px); }
.onsen p { color: rgba(255, 255, 255, .85); font-size: 17.5px; }
.onsen-news { display: grid; gap: 14px; }
.onsen .card { flex-direction: row; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; box-shadow: none; }
.onsen .card .pic { width: 150px; aspect-ratio: auto; flex-shrink: 0; }
.onsen .card h3 { color: #fff; font-size: 16px; -webkit-line-clamp: 3; }
.onsen .card .txt { padding: 14px 16px; } .onsen .card .meta { color: rgba(255, 255, 255, .65); } .onsen .card.news .meta b { color: var(--lime); }

/* ---------- Bảng giá ---------- */
.prices { background: var(--sand); }
.table-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
table { border-collapse: collapse; width: 100%; min-width: 560px; }
th, td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
thead th { background: var(--forest); color: #fff; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; } tbody td:first-child { font-weight: 700; color: var(--forest); } td strong { color: var(--forest); font-size: 18px; }
.price-note { color: var(--muted); font-size: 14px; margin-top: 14px; }

/* ---------- Video ---------- */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vid .frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--forest); }
.vid iframe, .vid .frame img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.vid .play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(8, 40, 30, .25); border: 0; cursor: pointer; }
.vid .play span { width: 64px; height: 64px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); transition: transform .2s; }
.vid .play:hover span { transform: scale(1.1); }
.vid .soon { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .7); font-weight: 600; background: linear-gradient(135deg, var(--forest-2), var(--leaf)); }
.vid .tag { display: inline-block; margin-top: 12px; font-size: 12.5px; font-weight: 700; color: var(--leaf); text-transform: uppercase; letter-spacing: .06em; }
.vid h3 { margin-top: 4px; font-size: 17px; }
.yt { position: relative; aspect-ratio: 16 / 9; margin: 24px 0; border-radius: var(--radius); overflow: hidden; background: var(--forest); }
.yt img { width: 100%; height: 100%; object-fit: cover; } .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt .play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: rgba(8, 40, 30, .25); cursor: pointer; }
.yt .play span { width: 64px; height: 64px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; }

/* ---------- Quy trình, dịch vụ ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps > div { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.steps b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--forest); color: var(--lime); font-size: 20px; margin-bottom: 16px; }
.steps p { color: var(--muted); margin: 0; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc { padding: 28px; border-radius: var(--radius); background: var(--mint); border: 1px solid var(--line); }
.svc p { margin: 0; color: var(--muted); }

/* ---------- Kêu gọi cuối trang ---------- */
.final { background: radial-gradient(900px 400px at 0% 100%, #1b6b56 0%, transparent 60%), var(--forest); color: #fff; }
.final .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.final .wrap > div:first-child h2 { color: #fff; font-size: clamp(26px, 3.4vw, 40px); }
.final .wrap > div:first-child p { color: rgba(255, 255, 255, .88); font-size: 18px; }

/* ---------- Trang dự án ---------- */
.project-hero { position: relative; color: #fff; padding: clamp(40px, 6vw, 72px) 0 clamp(44px, 7vw, 88px); background: linear-gradient(180deg, rgba(8, 40, 30, .55), rgba(8, 40, 30, .92)), var(--hero-img) center/cover no-repeat, var(--forest); min-height: 360px; display: flex; align-items: flex-end; }
.project-hero .wrap { width: min(1200px, 100% - 40px); }
.project-hero h1 { color: #fff; max-width: 20ch; margin-bottom: 14px; }
.project-hero .lead { max-width: 62ch; font-size: 18px; color: rgba(255, 255, 255, .9); margin: 0; }
.toc { position: sticky; top: var(--head-h); z-index: 20; background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.toc .wrap { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.toc a { white-space: nowrap; padding: 8px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600; text-decoration: none; color: var(--forest); background: var(--mint); }
.toc a:hover { background: var(--lime); }
.detail { padding-top: 40px; }
.detail .two { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.side { position: sticky; top: calc(var(--head-h) + 70px); display: grid; gap: 14px; }
.side .lead-card { box-shadow: var(--shadow); border: 1px solid var(--line); }
.quick { display: grid; gap: 10px; }
.facts { background: var(--mint); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 32px; }
.facts h2, .prose .facts h2 { font-size: 18px; margin: 0 0 10px; padding: 0; }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.facts li { padding-left: 22px; position: relative; font-size: 15.5px; }
.facts li::before { content: ""; position: absolute; left: 0; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--leaf); }

/* ---------- Nội dung bài (prose) ---------- */
.prose { font-size: 17.5px; line-height: 1.8; min-width: 0; }
.prose.wide { max-width: 860px; }
.prose h2 { margin-top: 1.8em; font-size: clamp(22px, 2.6vw, 30px); padding-top: .2em; }
.prose h3 { margin-top: 1.5em; } .prose h4 { margin-top: 1.2em; color: var(--forest-2); }
.prose img { border-radius: 14px; margin: 22px 0; width: 100%; box-shadow: var(--shadow); cursor: zoom-in; }
.prose ul, .prose ol { padding-left: 1.3em; } .prose li { margin-bottom: .45em; }
.prose a { color: var(--forest-2); font-weight: 600; text-underline-offset: 3px; }
.prose table { min-width: 0; font-size: 15.5px; display: block; overflow-x: auto; } .prose td, .prose th { padding: 10px 14px; border: 1px solid var(--line); }
.prose .gal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 24px 0; }
.prose .gal img { margin: 0; aspect-ratio: 4 / 3; object-fit: cover; }
.prose .stat { display: flex; align-items: baseline; gap: 14px; padding: 14px 18px; background: var(--mint); border-radius: 12px; margin: 10px 0; }
.prose .stat b { font-size: 26px; color: var(--forest); font-weight: 800; }
.prose .cap { text-align: center; color: var(--muted); font-size: 14.5px; margin-top: -10px; }
.share { display: flex; gap: 10px; align-items: center; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; }
.share a { padding: 8px 16px; border-radius: 999px; background: var(--mint); text-decoration: none; font-weight: 600; }

/* ---------- Liên hệ ---------- */
.contact-info { display: grid; gap: 14px; align-content: start; }
.ci { display: flex; flex-direction: column; padding: 18px 22px; border-radius: 16px; background: var(--mint); text-decoration: none; color: var(--forest); transition: .15s; }
a.ci:hover { background: var(--lime); transform: translateX(4px); }
.ci b { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--leaf); } .ci span { font-size: 19px; font-weight: 700; }
.map { width: 100%; height: 320px; border: 0; border-radius: var(--radius); margin-top: 6px; }

/* ---------- Chân trang ---------- */
.site-footer { background: #072a20; color: rgba(255, 255, 255, .78); padding: 56px 0 28px; font-size: 15px; }
.site-footer .grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; display: block; margin-bottom: 8px; } .site-footer a:hover { color: var(--lime); }
.site-footer p a { display: inline; }
.site-footer .brand { color: #fff; margin-bottom: 14px; } .site-footer .brand svg rect { fill: var(--leaf); } .site-footer .brand svg path:last-child { stroke: var(--leaf); }
.site-footer .small { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; opacity: .7; }

/* ---------- Nút liên hệ nổi ---------- */
.float-contact { position: fixed; right: 18px; bottom: 22px; z-index: 60; display: grid; gap: 12px; }
.float-contact a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 13px; text-decoration: none; box-shadow: 0 8px 22px rgba(0, 0, 0, .28); transition: transform .18s; position: relative; }
.float-contact a:hover { transform: scale(1.1); }
.float-contact .zalo { background: #0068ff; } .float-contact .mess { background: linear-gradient(135deg, #00b2ff, #a033ff 55%, #ff5280); } .float-contact .call { background: #e03131; animation: ring 2.6s infinite; }
@keyframes ring { 0%, 100% { box-shadow: 0 8px 22px rgba(0, 0, 0, .28), 0 0 0 0 rgba(224, 49, 49, .5); } 60% { box-shadow: 0 8px 22px rgba(0, 0, 0, .28), 0 0 0 16px rgba(224, 49, 49, 0); } }
.mbar { display: none; }

/* ---------- Hiệu ứng xuất hiện ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } .rv { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* ---------- Hộp xem ảnh lớn ---------- */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(5, 20, 15, .94); display: none; place-items: center; padding: 20px; cursor: zoom-out; }
.lb.open { display: grid; } .lb img { max-width: 100%; max-height: 92vh; border-radius: 10px; }

/* ---------- Màn hình nhỏ ---------- */
@media (max-width: 1020px) {
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .hero .wrap, .onsen .wrap, .final .wrap, .detail .two { grid-template-columns: 1fr; }
  .side { position: static; }
  .trust .wrap { grid-template-columns: 1fr 1fr; }
  .site-footer .grid { grid-template-columns: 1fr 1fr; }
  .phone span { display: none; }
}
@media (max-width: 820px) {
  .nav { position: fixed; inset: var(--head-h) 0 auto 0; flex-direction: column; align-items: stretch; background: #fff; padding: 12px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(-120%); visibility: hidden; transition: .25s; max-height: calc(100vh - var(--head-h)); overflow-y: auto; }
  .nav.open { transform: none; visibility: visible; }
  .nav > a, .has-sub > a { padding: 14px 6px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .has-sub .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; }
  .burger { display: block; margin-left: 4px; }
  .site-header .bar { gap: 12px; } .actions { margin-left: auto; }
  .actions .btn { display: none; }
  .steps, .svc-grid, .videos { grid-template-columns: 1fr; }
  .facts ul { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .grid-cards, .grid-cards.three { grid-template-columns: 1fr; gap: 18px; }
  .wrap { width: min(1200px, 100% - 32px); }
  .float-contact { display: none; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0, 0, 0, .1); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .mbar a { display: grid; place-items: center; padding: 12px 6px; border-radius: 12px; background: var(--mint); color: var(--forest); font-weight: 700; font-size: 14.5px; text-decoration: none; }
  .mbar a.hl { background: var(--lime); }
  .prose .gal { grid-template-columns: 1fr; }
  .onsen .card { flex-direction: column; } .onsen .card .pic { width: 100%; aspect-ratio: 16 / 9; }
  .lead-card { padding: 22px; }
  .site-footer .grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
}
