﻿/* =====================================================================
   VLASTA PREMIER PHÚ HỘI - giao diện theo mẫu vlasta-premier.vn
   Font: Playfair Display (tiêu đề) + Montserrat (nội dung) - hỗ trợ đủ tiếng Việt
   ===================================================================== */
:root {
    --navy: #002B5C;
    --navy-2: #002e47;
    --navy-3: #004256;
    --gold: #C5A25D;
    --gold-dark: #866e3f;
    --beige: #F2E6D8;
    --light: #f9f9f9;
    --text: #444;
    --muted: #6b7280;
    --line: #E5DED0;
    --serif: 'Playfair Display', 'Times New Roman', Georgia, serif;
    --sans: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    --header-h: 85px;
    --shadow: 0 15px 35px rgba(0, 43, 92, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.7; color: var(--text); background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s, background .2s, border-color .2s; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.3; color: var(--navy); }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 960px; }
.text-center { text-align: center; }
.gold { color: var(--gold); }
section[id] { scroll-margin-top: 70px; }

/* ---------- Tiêu đề ---------- */
.title-serif { font-family: var(--serif); font-weight: 700; text-transform: uppercase; font-size: clamp(1.6rem, 3.4vw, 2.4rem); color: var(--navy); letter-spacing: .5px; }
.title-serif.light { color: #fff; }
.title-sans { font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--navy); }
.line-gold { width: 50px; height: 2px; background: var(--gold); margin: 6px auto 25px; }
.line-gold.sm { width: 40px; margin: 15px auto 30px; }
.lead-text { font-size: 17px; color: var(--text); max-width: 900px; margin: 0 auto 30px; }
.title-box { font-family: var(--serif); font-weight: 700; text-transform: uppercase; font-size: 22px; color: var(--navy);
    border: 1px solid var(--gold); padding: 8px 15px; margin-bottom: 25px; line-height: 1.3; }

/* ---------- Nút ---------- */
.btn-gold { display: inline-block; background: var(--gold); color: #fff; border: 1px solid var(--gold); padding: 12px 30px;
    font-family: var(--sans); font-weight: 700; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; border-radius: 4px; cursor: pointer; }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.btn-gold:disabled { opacity: .6; cursor: wait; }
.btn-outline-gold { display: inline-block; border: 1px solid var(--gold); color: var(--gold); padding: 10px 22px; font-size: 13px;
    font-weight: 700; letter-spacing: 1px; text-transform: uppercase; border-radius: 4px; }
.btn-outline-gold:hover { background: var(--gold); color: #fff; }

/* ---------- Header ---------- */
/* Header trong suốt đè lên banner (giống web mẫu); khi cuộn chuyển nền trắng */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: transparent; transition: background .3s, box-shadow .3s; }
.hero-header .site-header:not(.stuck) { background: linear-gradient(180deg, rgba(0, 0, 0, .35), transparent); }
.hero-header .site-header:not(.stuck) .main-nav a { color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .35); }
.hero-header .site-header:not(.stuck) .main-nav a + a { border-left-color: rgba(255, 255, 255, .35); }
.hero-header .site-header:not(.stuck) .nav-toggle span { background: #fff; }
.site-header.stuck, .solid-header .site-header { background: #fff; box-shadow: 0 2px 18px rgba(0, 0, 0, .1); }
.solid-header main { padding-top: var(--header-h); }
.header-inner { max-width: 1240px; margin: 0 auto; padding: 0 16px; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; transition: height .3s; }
.site-header.stuck .header-inner { height: 64px; }
.logo img { height: 64px; width: auto; transition: height .3s; }
.site-header.stuck .logo img { height: 50px; }
.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav a { position: relative; color: var(--navy-2); font-weight: 600; font-size: 14px; text-transform: uppercase; padding: 2px 11px; letter-spacing: .3px; white-space: nowrap; line-height: 1.2; }
.main-nav a + a { border-left: 1px solid rgba(0, 46, 71, .2); }
.main-nav a::after { content: ''; position: absolute; left: 11px; right: 11px; bottom: -8px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
.main-nav a:hover, .main-nav a.active { color: var(--gold); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; margin: 5px 0; background: var(--navy); transition: .3s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-backdrop { display: none; }

/* ---------- Banner ---------- */
.hero-banner { position: relative; width: 100%; aspect-ratio: 1920 / 860; overflow: hidden; background: var(--navy); }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.hero-slide.active { opacity: 1; }
.hero-empty { position: absolute; inset: 0; background: linear-gradient(135deg, var(--navy), #1d5a8c); }

/* ---------- Section chung ---------- */
.section { padding: 80px 0; background: #fff; }
.section-navy { background: var(--navy); color: #e6ebf2; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-light { background: var(--light); }
.section-beige { background: var(--beige); }

/* ---------- Tổng quan ---------- */
.ov-head { text-align: center; max-width: 1000px; margin: 0 auto 50px; }
.ov-head h1 { font-family: var(--serif); font-weight: 700; text-transform: uppercase; color: var(--navy); font-size: clamp(1.9rem, 4.6vw, 3.1rem); margin-bottom: 10px; letter-spacing: 1px; }
.ov-head h2 { font-family: var(--serif); font-style: italic; font-weight: 500; color: #836c3f; font-size: clamp(1.05rem, 2.4vw, 1.6rem); margin-bottom: 22px; }
.ov-head p { font-size: 17px; }
.ov-row { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: stretch; }
.img-border { position: relative; height: 100%; padding: 0 15px 15px 0; }
.img-border::before { content: ''; position: absolute; top: 15px; left: 15px; right: 0; bottom: 0; border: 2px solid var(--gold); }
.img-border img { position: relative; width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.info-card { background: #fff; padding: 30px; border-radius: 15px; border: 1px solid var(--line); box-shadow: var(--shadow); height: 100%; }
.info-row { display: flex; flex-wrap: wrap; gap: 6px 15px; border-bottom: 1px dashed #ddd; padding: 12px 0; }
.info-row:last-child { border-bottom: 0; }
.info-k { color: var(--gold-dark); font-weight: 700; width: 140px; font-size: 15px; text-transform: uppercase; letter-spacing: .5px; flex-shrink: 0; }
.info-v { color: var(--navy); font-weight: 700; flex: 1; min-width: 200px; }

/* ---------- Chủ đầu tư ---------- */
.section-dev { position: relative; background: var(--navy) center/cover no-repeat; color: #fff; text-align: center; }
.dev-overlay { position: absolute; inset: 0; background: rgba(0, 30, 64, .82); }
.dev-content { position: relative; z-index: 1; max-width: 1000px; }
.section-dev h2 { color: #fff; font-size: clamp(1.5rem, 3.6vw, 2.25rem); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 30px; }
.section-dev h2 span { color: var(--gold); }
.dev-box { border: 1px solid rgba(197, 162, 93, .6); padding: 34px 30px; }
.dev-box p { font-size: 17px; color: #e8edf3; }
.dev-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.dev-stat { background: rgba(255, 255, 255, .06); border: 1px solid rgba(197, 162, 93, .35); padding: 22px 10px; }
.dev-stat strong { display: block; font-family: var(--serif); color: var(--gold); font-size: 2rem; line-height: 1.2; }
.dev-stat span { font-size: 14px; color: #dfe5ec; }

/* ---------- Dự án khác ---------- */
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.project-card { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; background: #ccc; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.project-card:hover img { transform: scale(1.08); }
.project-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 20, 45, .85)); }
.project-text { position: absolute; left: 5%; right: 5%; bottom: 8%; z-index: 1; }
.project-text h3 { color: #fff; margin: 0; font-size: clamp(1.1rem, 2.2vw, 1.5rem); }
.project-text p { color: var(--gold); text-transform: uppercase; font-size: 15px; letter-spacing: 1px; margin: 4px 0 0; }

/* ---------- Vị trí ---------- */
.loc-map { position: relative; width: 100%; aspect-ratio: 1020 / 471; background: #e9edf2; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 60px; }
.loc-map iframe, .loc-map img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.loc-connect { max-width: 1060px; margin: 0 auto; }
.loc-connect-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.loc-connect-list .title-box { grid-column: 1 / -1; justify-self: start; }
.conn-item { display: flex; align-items: flex-start; gap: 18px; padding: 12px 0; border-bottom: 1px dashed #e2dccf; }
.conn-item:last-child { border-bottom: 0; }
.conn-time { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--gold); min-width: 64px; line-height: 1.2; }
.conn-text strong { display: block; color: var(--navy); font-size: 17px; }
.conn-text span { color: var(--muted); font-size: 15px; }
.loc-connect-img { margin-top: 40px; }
.loc-connect-img img { width: 100%; height: auto; }
.loc-map img { object-fit: contain; background: #fff; }
.product-img { background: #fff; }
.product-img img { object-fit: contain; }
.logo img { max-width: 240px; object-fit: contain; }
.note-gold { margin: 40px auto 0; max-width: 1000px; background: #faf6ee; border-left: 3px solid var(--gold); padding: 16px 20px; }
.note-gold span { color: var(--gold); }

/* ---------- Tiện ích ---------- */
.img-wide { margin: 10px 0 40px; overflow: hidden; }
.img-wide img { width: 100%; max-height: 560px; object-fit: cover; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.feature-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: 28px 24px; box-shadow: var(--shadow); }
.feature-card .fc-num { color: var(--gold); font-weight: 700; font-size: 14px; letter-spacing: 1px; }
.feature-card h4 { font-family: var(--serif); font-size: 1.25rem; margin: 6px 0 10px; }
.feature-card p { margin: 0; font-size: 15px; color: var(--muted); }
.am-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.am-side img { width: 100%; box-shadow: 0 20px 40px rgba(0, 0, 0, .15); }
.am-item { margin-bottom: 22px; }
.am-item h3 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 6px; }
.am-item h3 span { color: var(--gold); }
.am-item p { margin: 0; color: var(--muted); }

/* ---------- Sản phẩm ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card { text-align: center; display: flex; flex-direction: column; align-items: center; }
.product-card .btn-outline-gold { margin-top: auto; }
.product-img { overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); margin-bottom: 20px; }
.product-img img { width: 100%; aspect-ratio: 1020 / 560; object-fit: cover; transition: transform .6s; }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-card h3 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 4px; }
.product-area { color: var(--gold); font-weight: 600; margin-bottom: 8px; }
.product-card p { color: #c9d3df; font-size: 15px; }
.floor-list { display: grid; gap: 30px; margin-top: 60px; max-width: 1060px; margin-left: auto; margin-right: auto; }
.floor-item { margin: 0; text-align: center; }
.floor-item img { width: 100%; background: #fff; }
.floor-item figcaption { display: inline-block; margin-top: 14px; color: var(--gold); font-family: var(--serif); font-weight: 700; font-size: 1.5rem; letter-spacing: 2px; border-bottom: 1px solid var(--gold); }
.banner-wide img { width: 100%; max-height: 720px; object-fit: cover; }

/* ---------- Thanh toán ---------- */
.tabs { max-width: 1000px; margin: 0 auto; }
.tab-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 30px; }
.tab-nav button { background: #fff; border: 2px solid var(--navy); color: var(--navy); padding: 12px 22px; font-family: var(--sans);
    font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; cursor: pointer; border-radius: 4px; transition: .2s; }
.tab-nav button:hover { border-color: var(--gold); color: var(--gold); }
.tab-nav button.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.tab-pane { display: none; animation: fadeIn .4s; }
.tab-pane.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pay-table { width: 100%; border-collapse: collapse; background: #fff; box-shadow: var(--shadow); font-size: 15px; }
.pay-table th { background: var(--navy); color: #fff; text-align: left; padding: 14px 16px; font-weight: 700; text-transform: uppercase; font-size: 14px; }
.pay-table td { padding: 13px 16px; border-bottom: 1px solid #eee; vertical-align: top; }
.pay-table tr:nth-child(even) td { background: #fbf9f5; }
.pay-table td:first-child { font-weight: 700; color: var(--gold-dark); white-space: nowrap; }
.pay-table td:last-child { font-weight: 700; color: var(--navy); white-space: nowrap; }
.pay-highlight { margin-top: 24px; background: #faf6ee; border-left: 4px solid var(--gold); padding: 18px 22px; color: var(--navy); }
.pay-highlight strong { color: var(--gold-dark); font-size: 1.15rem; }
.pay-loan { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; background: var(--navy); color: #fff; padding: 22px; }
.pay-loan-rate { font-size: 15px; }
.pay-loan-rate span { font-family: var(--serif); font-size: 2.6rem; color: var(--gold); font-weight: 700; margin-right: 6px; }
.pay-loan-rate small { display: block; color: #c9d3df; }
.pay-banks { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-banks span { background: #fff; color: var(--navy); font-weight: 700; padding: 6px 14px; border-radius: 30px; font-size: 13px; }

/* ---------- Chính sách ---------- */
.policy-sub { color: #c9d3df; margin-top: 10px; }
.policy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.policy-card { border: 1px solid rgba(197, 162, 93, .5); background: rgba(255, 255, 255, .04); padding: 28px 18px; text-align: center; border-radius: 6px; transition: .3s; }
.policy-card:hover { background: rgba(197, 162, 93, .12); transform: translateY(-4px); }
.pc-title { color: var(--gold); text-transform: uppercase; font-weight: 700; font-size: 14px; letter-spacing: 1px; }
.pc-value { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); color: #fff; font-weight: 700; margin: 10px 0 2px; line-height: 1.2; }
.pc-unit { color: #fff; font-weight: 600; }
.pc-note { color: #c9d3df; font-size: 14px; margin-top: 8px; }

/* ---------- Pháp lý ---------- */
.legal-intro { max-width: 1000px; margin: 0 auto 40px; border: 1px solid var(--gold); padding: 24px 28px; font-size: 17px; text-align: center; }
.legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; max-width: 1000px; margin: 0 auto; }
.legal-item { display: flex; gap: 16px; align-items: flex-start; }
.legal-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; }
.legal-item strong { display: block; color: var(--navy); font-size: 17px; margin-bottom: 2px; }
.legal-item p { margin: 0; color: var(--muted); }

/* ---------- Tư vấn & form ---------- */
.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.reg-img img { width: 100%; box-shadow: 0 20px 40px rgba(0, 0, 0, .35); }
.reg-box h3 { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); color: #fff; }
.reg-box p { color: #dce3ec; }
.reg-box strong { color: var(--gold); }
.lead-form .lf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-form input[type=text], .lead-form input[type=tel], .lead-form input[type=email], .lead-form select {
    width: 100%; padding: 13px 14px; border: 1px solid #d9d9d9; border-radius: 4px; font-family: var(--sans); font-size: 15px; background: #fff; color: #333; }
.lead-form input:focus, .lead-form select:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.lead-form .lf-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; margin: 12px 0 16px; cursor: pointer; }
.lead-form .lf-consent input { margin-top: 3px; accent-color: var(--gold); }
.section-navy .lf-consent { color: #c9d3df; }
.lead-form .lf-submit { width: 100%; }
.form-msg { margin-top: 10px; font-size: 14px; font-weight: 600; }
.form-msg.ok { color: #1f9d55; }
.section-navy .form-msg.ok { color: #7fe0a6; }
.form-msg.err { color: #e5484d; }
.lead-form.compact .lf-grid { grid-template-columns: 1fr; }

/* ---------- FAQ ---------- */
.accordion { margin-top: 10px; }
.acc-item { background: #fff; border: 1px solid #e6e6e6; border-radius: 6px; margin-bottom: 12px; overflow: hidden; }
.acc-q { width: 100%; text-align: left; background: none; border: 0; padding: 18px 50px 18px 20px; font-family: var(--sans); font-size: 16px; font-weight: 700; color: var(--navy); cursor: pointer; position: relative; }
.acc-q::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; line-height: 1; }
.acc-item.open .acc-q::after { content: '−'; }
.acc-item.open .acc-q { color: var(--gold-dark); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-a-inner { padding: 0 20px 18px; color: var(--text); }

/* ---------- Tin tức ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.news-card { display: block; background: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .06); transition: .3s; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(0, 0, 0, .12); }
.news-img { position: relative; overflow: hidden; }
.news-img img { width: 100%; aspect-ratio: 300 / 170; object-fit: cover; transition: transform .6s; }
.news-card:hover .news-img img { transform: scale(1.06); }
.date-badge { position: absolute; top: 12px; left: 12px; background: var(--gold); color: #fff; width: 52px; text-align: center; padding: 6px 0; line-height: 1.1; }
.date-badge b { display: block; font-size: 20px; }
.date-badge span { font-size: 12px; text-transform: uppercase; }
.news-text { padding: 18px 20px 22px; text-align: center; }
.news-text h3 { font-family: var(--sans); font-size: 16px; font-weight: 700; color: var(--navy); margin: 0; line-height: 1.45; }
.news-card:hover h3 { color: var(--gold-dark); }
.news-divider { width: 30px; height: 2px; background: rgba(0, 0, 0, .15); margin: 12px auto 0; }
.news-divider.left { margin: 10px 0; }

/* ---------- Trang con ---------- */
.page-header { position: relative; background: var(--navy) center/cover no-repeat; color: #fff; text-align: center; padding: 150px 0 70px; }
.page-header::before { content: ''; position: absolute; inset: 0; background: rgba(0, 30, 64, .72); }
.page-header-inner { position: relative; z-index: 1; }
.page-header h1 { color: #fff; font-family: var(--serif); text-transform: uppercase; font-size: clamp(1.7rem, 4vw, 2.8rem); }
.page-header p { max-width: 820px; margin: 0 auto 14px; color: #dce3ec; }
.breadcrumb { font-size: 14px; color: #c9d3df; }
.breadcrumb a { color: var(--gold); }
.breadcrumb span { margin: 0 6px; opacity: .6; }
.breadcrumb.dark { color: var(--muted); margin-bottom: 14px; }

.blog-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 40px; }
.post-row { display: grid; grid-template-columns: 300px 1fr; gap: 24px; padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid #eee; color: var(--text); }
.post-img { position: relative; overflow: hidden; }
.post-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s; }
.post-row:hover .post-img img { transform: scale(1.05); }
.post-text h3 { font-family: var(--sans); font-size: 19px; font-weight: 700; color: var(--navy); }
.post-row:hover h3 { color: var(--gold-dark); }
.post-text p { color: var(--muted); font-size: 15px; }
.search-info { color: var(--muted); }

.sidebar .sb-search { display: flex; margin-bottom: 30px; }
.sidebar .sb-search input { flex: 1; padding: 11px 12px; border: 1px solid #ddd; border-right: 0; font-family: var(--sans); min-width: 0; }
.sidebar .sb-search button { border: 0; background: var(--navy); color: #fff; padding: 0 14px; cursor: pointer; }
.sb-block { margin-bottom: 32px; }
.sb-block h4 { font-family: var(--sans); font-size: 15px; text-transform: uppercase; letter-spacing: 1px; color: var(--navy); border-bottom: 2px solid var(--gold); padding-bottom: 8px; margin-bottom: 14px; }
.sb-project { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; color: var(--text); }
.sb-project img { width: 84px; height: 60px; object-fit: cover; flex-shrink: 0; }
.sb-project strong { display: block; font-size: 14px; color: var(--navy); line-height: 1.3; }
.sb-project small { color: var(--muted); font-size: 12.5px; }
.sb-list { list-style: none; margin: 0; padding: 0; }
.sb-list li { padding: 9px 0; border-bottom: 1px dashed #e5e5e5; font-size: 14px; line-height: 1.45; }
.sb-list small { display: block; color: var(--muted); font-size: 12px; }
.sb-cta { background: var(--navy); color: #dce3ec; padding: 20px; }
.sb-html p { margin: 0; padding: 10px 0; border-bottom: 1px dashed #e5e5e5; font-size: 14px; line-height: 1.5; }
.sb-html a { color: var(--navy); }
.sb-html a:hover { color: var(--gold); }
.page-article img { width: 100%; margin: 20px 0; }
.page-article h2 { text-transform: uppercase; color: var(--navy); }
.page-article h3 { color: var(--gold-dark); }
.site-footer .fcol p { margin-bottom: .8em; }
.sb-cta h4 { color: #fff; }

.article-body { font-size: 16.5px; }
.article-body h1 { font-family: var(--serif); font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.article-body h2 { font-family: var(--serif); font-size: 1.6rem; margin-top: 1.2em; }
.article-body h3 { font-size: 1.25rem; margin-top: 1em; }
.article-body img { margin: 16px auto; }
.article-meta { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.article-cover { width: 100%; margin: 0 0 20px !important; }
.article-summary { font-weight: 600; color: var(--navy); }
.article-cta { margin-top: 30px; background: #faf6ee; border-left: 4px solid var(--gold); padding: 16px 20px; }

/* ---------- Footer (3 cột như web mẫu) ---------- */
.site-footer { color: #c3ced8; font-size: 14px; }
.footer-main { background: #022b40; padding: 50px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; align-items: start; }
.site-footer strong { color: #fff; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--gold); }
.f-title { font-family: var(--sans); color: var(--gold); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin: 0 0 18px; }
.f-about p { margin-bottom: .3em; }
.f-sep { height: 1px; background: rgba(255, 255, 255, .15); margin: 16px 0; }
.f-company { line-height: 1.6; }
.fcol-dev { border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; background: rgba(255, 255, 255, .03); padding: 26px 24px; text-align: center; }
.f-logo { display: inline-block; background: #fff; border-radius: 10px; padding: 10px 18px; margin-bottom: 26px; }
.f-logo img { height: 30px; width: auto; }
.f-lines { display: flex; align-items: center; gap: 12px; justify-content: center; }
.f-lines::before, .f-lines::after { content: ''; width: 28px; height: 1px; background: var(--gold); }
.f-dev-body { font-family: var(--serif); font-size: 14px; line-height: 1.9; }
.f-dev-body p { margin: 0 0 .4em; }
.f-dev-body strong { color: var(--gold); }
.f-dev-body p + p { font-style: italic; }
.fcol-links { text-align: center; }
.f-under::after { content: ''; display: block; width: 30px; height: 1px; background: var(--gold); margin: 12px auto 0; }
.footer-links { list-style: none; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; text-align: left; }
.footer-links a { color: #fff; }
.footer-bottom { background: #004256; padding: 16px 0; font-size: 13px; text-align: center; color: #c3ced8; }
.footer-bottom .fb-links { margin-top: 4px; }
.footer-bottom .fb-links a { color: #c3ced8; }
.footer-bottom .fb-links span { margin: 0 8px; opacity: .6; }

/* ---------- Nút liên hệ nổi (bên phải, vòng tròn trắng như web mẫu) ---------- */
.float-contact { position: fixed; right: 16px; bottom: 24px; z-index: 900; display: flex; flex-direction: column; gap: 12px; }
.fc-item { display: flex; align-items: center; color: var(--navy); }
.fc-icon { width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 2px solid var(--navy); color: var(--navy);
    display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); transition: transform .2s; }
.fc-item:hover .fc-icon { transform: scale(1.08); }
.fc-icon svg { width: 20px; height: 20px; }
.fc-zalo .fc-icon { border-color: #0068ff; color: #0068ff; font-weight: 700; font-size: 12px; }
.fc-label { display: none; }

/* ---------- Trang Vị trí (bố cục như web mẫu) ---------- */
.vt-section .container { max-width: 1370px; }
.vt-hero { position: relative; height: clamp(360px, 49vw, 700px); background: var(--navy) center 12%/cover no-repeat; display: flex; align-items: flex-end; justify-content: center; }
.vt-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .35) 100%); }
.vt-hero-text { position: relative; z-index: 1; text-align: center; color: #fff; padding: 0 16px 40px; }
.vt-hero-text h1 { color: #fff; font-family: var(--sans); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px; text-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
.vt-hero-text p { margin: 0; font-size: 15px; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.vt-section { padding: 70px 0; }
.vt-gray { background: #f1f5f9; }
.vt-head { text-align: center; max-width: 820px; margin: 0 auto 40px; }
.vt-head h2 { font-family: var(--sans); font-weight: 700; color: var(--navy); font-size: clamp(1.3rem, 2.4vw, 1.75rem); text-transform: uppercase; }
.vt-head p { text-align: justify; }
.vt-head p.vt-left { text-align: left; }
.vt-map-row { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: center; margin-bottom: 40px; }
.vt-map img { width: 100%; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); }
.vt-times { display: flex; flex-direction: column; gap: 18px; }
.vt-time { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid #e5e7eb; border-radius: 6px; padding: 12px 18px; box-shadow: 0 2px 8px rgba(0, 0, 0, .04); }
.vt-time-num { text-align: center; min-width: 50px; padding-right: 16px; border-right: 1px solid #e5e7eb; line-height: 1.1; }
.vt-time-num b { display: block; font-size: 24px; color: var(--navy); }
.vt-time-num span { font-size: 11px; font-weight: 700; color: var(--gold-dark); letter-spacing: 1px; }
.vt-time-text { font-size: 14.5px; color: #333; }
.vt-block h3 { font-family: var(--sans); font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.vt-block p { text-align: justify; }
.vt-big { margin: 30px 0; border-top: 3px solid var(--gold); }
.vt-big img { width: 100%; }
.vt-line { border: 0; height: 2px; background: var(--navy); margin: 30px 0 0; }
.vt-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; align-items: start; }
.vt-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 6px; padding: 24px 22px; }
.vt-card h4 { text-align: center; color: var(--gold-dark); font-family: var(--sans); font-size: 1.05rem; font-weight: 700; text-transform: uppercase; margin-bottom: 12px; }
.vt-card p { text-align: justify; font-size: 14px; margin: 0; }
.vt-figure { margin: 0; text-align: center; }
.vt-figure img { width: 100%; box-shadow: 0 12px 30px rgba(0, 0, 0, .2); }
.vt-figure figcaption { font-style: italic; font-size: 13px; color: var(--muted); margin-top: 12px; }
.vt-eco-wrap { padding: 20px 0; }
.vt-eco { max-width: 1060px; margin: 0 auto; background: linear-gradient(135deg, #002B5C 0%, #004a7c 100%); border-radius: 18px; padding: 44px 40px 50px; color: #fff; text-align: center; box-shadow: 0 20px 40px rgba(0, 43, 92, .25); }
.vt-eco h2 { color: var(--gold); font-family: var(--sans); font-weight: 700; font-size: clamp(1.2rem, 2.2vw, 1.6rem); text-transform: uppercase; }
.vt-eco-sub { color: #e6ebf2; margin-bottom: 30px; }
.vt-eco-cols { display: grid; grid-template-columns: repeat(3, 1fr); text-align: left; }
.vt-eco-col { padding: 0 24px; }
.vt-eco-col + .vt-eco-col { border-left: 1px solid rgba(255, 255, 255, .25); }
.vt-eco-col h4 { color: var(--gold); text-align: center; font-family: var(--sans); font-size: 1.05rem; margin-bottom: 12px; }
.vt-eco-col p { font-size: 14px; text-align: justify; margin: 0; color: #fff; }
.vt-inner-title { text-align: center; font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 40px; }
.vt-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; align-items: start; }
.vt-inner-left p { color: var(--navy); }
.vt-note { background: #faf6ee; border: 1px solid #f0e6d2; padding: 12px 14px; margin-bottom: 10px; color: var(--navy); font-size: 14.5px; }
.vt-btn { display: block; text-align: center; margin-top: 16px; padding: 12px; color: #fff; font-weight: 700; letter-spacing: .5px; background: linear-gradient(180deg, #2c5a8c, #002B5C); border-bottom: 3px solid #001a38; }
.vt-btn:hover { color: var(--gold); }
.vt-inner-img img { width: 100%; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); }

/* ---------- Popup ---------- */
.popup { position: fixed; inset: 0; z-index: 2000; background: rgba(0, 15, 35, .65); display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; visibility: hidden; transition: .3s; }
.popup.show { opacity: 1; visibility: visible; }
.popup-box { position: relative; background: #fff; width: 100%; max-width: 460px; padding: 34px 28px 26px; border-top: 4px solid var(--gold); border-radius: 6px; transform: translateY(20px); transition: .3s; max-height: 92vh; overflow-y: auto; }
.popup.show .popup-box { transform: none; }
.popup-box h3 { font-family: var(--serif); font-size: 1.5rem; text-align: center; margin-bottom: 6px; }
.popup-sub { text-align: center; color: var(--muted); font-size: 14.5px; }
.popup-close { position: absolute; top: 8px; right: 12px; background: none; border: 0; font-size: 30px; line-height: 1; color: #999; cursor: pointer; }
.popup-close:hover { color: var(--navy); }

/* ---------- Hiệu ứng ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1199px) {
    .main-nav a { font-size: 13px; padding: 8px 8px; }
    .main-nav a::after { left: 8px; right: 8px; }
}
@media (max-width: 991px) {
    :root { --header-h: 70px; }
    .logo img { height: 52px; }
    .nav-toggle { display: block; }
    .main-nav { position: fixed; top: 0; right: 0; bottom: 0; width: 82%; max-width: 330px; background: #fff; flex-direction: column; align-items: stretch;
        gap: 0; padding: 80px 0 20px; transform: translateX(100%); transition: transform .35s ease; z-index: 1001; overflow-y: auto; box-shadow: -10px 0 30px rgba(0, 0, 0, .15); }
    .main-nav.open { transform: none; }
    .main-nav a { padding: 14px 24px; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
    .main-nav a::after { display: none; }
    .main-nav a.active { background: #faf6ee; }
    .hero-header .site-header:not(.stuck) .main-nav a { color: var(--navy-2); text-shadow: none; }
    .main-nav a + a { border-left: 0; }
    .vt-map-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .nav-toggle { position: relative; z-index: 1002; }
    .nav-backdrop { display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, .4); z-index: 999; opacity: 0; visibility: hidden; transition: .3s; }
    .nav-backdrop.show { opacity: 1; visibility: visible; }

    .section { padding: 60px 0; }
    .ov-row, .loc-connect, .am-groups, .reg-grid { grid-template-columns: 1fr; gap: 30px; }
    .img-border img { min-height: 0; aspect-ratio: 4 / 3; }
    .feature-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr 1fr; }
    .policy-grid { grid-template-columns: 1fr 1fr; }
    .news-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .blog-layout { grid-template-columns: 1fr; }
    .hero-banner { aspect-ratio: 16 / 10; }
}
@media (max-width: 767px) {
    body { font-size: 15px; }
    .container { padding: 0 16px; }
    .section { padding: 48px 0; }
    .hero-banner { aspect-ratio: 4 / 3; }
    .ov-head p, .lead-text, .dev-box p, .legal-intro { font-size: 15.5px; }
    .info-card { padding: 20px 16px; }
    .info-k { width: 100%; }
    .info-v { min-width: 0; }
    .title-box { font-size: 18px; }
    .dev-box { padding: 22px 16px; }
    .dev-stats { grid-template-columns: 1fr; }
    .project-grid, .product-grid, .news-grid, .legal-grid, .footer-grid { grid-template-columns: 1fr; }
    .policy-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .policy-card { padding: 20px 10px; }
    .loc-map { aspect-ratio: 4 / 3; margin-bottom: 40px; }
    .conn-time { font-size: 22px; min-width: 52px; }
    .loc-connect-list { grid-template-columns: 1fr; }
    .tab-nav { flex-direction: column; }
    .tab-nav button { width: 100%; font-size: 14px; }
    .pay-table { font-size: 13.5px; }
    .pay-table th, .pay-table td { padding: 10px 8px; }
    .pay-table td:first-child, .pay-table td:last-child { white-space: normal; }
    .lead-form .lf-grid { grid-template-columns: 1fr; }
    .reg-img { display: none; }
    .post-row { grid-template-columns: 1fr; gap: 14px; }
    .footer-bottom .container { flex-direction: column; text-align: center; }
    .page-header { padding: 60px 0 46px; }

    .float-contact { right: 10px; bottom: 16px; gap: 10px; }
    .fc-icon { width: 42px; height: 42px; }
    .vt-map-row, .vt-inner { grid-template-columns: 1fr; gap: 24px; }
    .vt-cards { grid-template-columns: 1fr; }
    .vt-eco { padding: 30px 18px; border-radius: 12px; }
    .vt-eco-cols { grid-template-columns: 1fr; gap: 20px; }
    .vt-eco-col { padding: 0; }
    .vt-eco-col + .vt-eco-col { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .25); padding-top: 20px; }
    .vt-section { padding: 46px 0; }
    .footer-links { grid-template-columns: 1fr 1fr; }

}
@media (max-width: 400px) {
    .policy-grid { grid-template-columns: 1fr; }
    .logo img { height: 46px; }
}
