/* ==========================================================================
   PHÚC BĐS — giao diện website
   Màu chủ đạo: xanh dương · xanh lá · xám
   ========================================================================== */
:root {
  --blue: #1f5fae; --blue-600: #1a5197; --blue-800: #133c72; --blue-900: #0d2a52; --blue-50: #eef4fb; --blue-100: #dbe7f6;
  --green: #2e9e4f; --green-600: #258342; --green-50: #eaf6ee; --green-300: #5fd27f;
  --gray-900: #1f2329; --gray-800: #2f3338; --gray-700: #58595b; --gray-500: #7d8288; --gray-400: #a5abb2;
  --gray-200: #e3e7ec; --gray-100: #f2f4f7; --gray-50: #f8f9fb; --white: #fff;
  --radius: 14px; --radius-sm: 10px; --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16,38,70,.06), 0 1px 3px rgba(16,38,70,.08);
  --shadow: 0 6px 24px -6px rgba(16,38,70,.14);
  --shadow-lg: 0 24px 60px -18px rgba(16,38,70,.28);
  --container: 1200px; --header-h: 76px;
  --font: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.22,.8,.26,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--gray-800); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green); }
h1, h2, h3, h4 { color: var(--gray-900); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 8px; color: #fff; }
:focus-visible { outline: 3px solid rgba(46,158,79,.55); outline-offset: 2px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .95rem; cursor: pointer; transition: all .25s var(--ease); white-space: nowrap; line-height: 1.2; text-align: center; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(31,95,174,.6); }
.btn-primary:hover { background: var(--blue-800); color: #fff; transform: translateY(-1px); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 8px 20px -8px rgba(46,158,79,.6); }
.btn-green:hover { background: var(--green-600); color: #fff; transform: translateY(-1px); }
.btn-outline { border-color: var(--gray-200); color: var(--gray-900); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--blue); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 14px; font-size: .85rem; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 90; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.site-header.scrolled { border-color: var(--gray-200); box-shadow: 0 6px 20px -12px rgba(16,38,70,.25); }
.topbar { background: var(--blue-900); color: #cfdbea; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 36px; gap: 16px; }
.topbar a { color: #fff; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 14px; height: 14px; flex: none; }
.header-inner { display: flex; align-items: center; height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav a { display: block; white-space: nowrap; padding: 10px 14px; border-radius: 999px; color: var(--gray-800); font-weight: 600; font-size: .95rem; position: relative; }
.main-nav a:hover { color: var(--blue); background: var(--blue-50); }
.main-nav a.active { color: var(--blue); }
.main-nav a.active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 18px; height: 3px; margin-left: -9px; background: var(--green); border-radius: 3px; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.hotline { display: flex; align-items: center; gap: 10px; color: var(--gray-900); font-weight: 700; white-space: nowrap; }
.hotline small { display: block; font-weight: 500; color: var(--gray-500); font-size: .72rem; line-height: 1; }
.hotline .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--green-50); color: var(--green); display: grid; place-items: center; }
.hotline .ic svg { width: 20px; height: 20px; }
.burger, .m-call { display: none; }

/* burger -> X */
.burger { width: 44px; height: 44px; border: 0; background: var(--gray-100); border-radius: 12px; cursor: pointer; position: relative; padding: 0; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2.5px; background: var(--gray-900); border-radius: 2px;
  transition: transform .45s var(--ease), opacity .25s, top .3s var(--ease) .15s, width .3s var(--ease); }
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 21px; width: 14px; right: auto; }
.burger span:nth-child(3) { top: 28px; }
.burger:hover span:nth-child(2) { width: 20px; }
.nav-open .burger { background: var(--blue); }
.nav-open .burger span { background: #fff; transition: top .3s var(--ease), transform .45s var(--ease) .2s, opacity .2s; }
.nav-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.nav-open .burger span:nth-child(3) { top: 21px; transform: rotate(-135deg); }

/* off-canvas menu (mobile) */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(13,42,82,.45); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; z-index: 95; }
.drawer { position: fixed; top: 0; left: 0; bottom: 0; width: min(86vw, 360px); background: #fff; z-index: 100; transform: translateX(-102%);
  transition: transform .55s var(--ease); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); overflow-y: auto; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--gray-200); }
.drawer-head img { height: 40px; width: auto; }
.drawer-close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--gray-100); cursor: pointer; display: grid; place-items: center; transition: transform .4s var(--ease); }
.drawer-close:hover { transform: rotate(90deg); background: var(--blue-50); }
.drawer nav ul { list-style: none; margin: 0; padding: 12px; }
.drawer nav li { opacity: 0; transform: translateX(-24px); transition: opacity .4s, transform .5s var(--ease); }
.drawer nav a { display: flex; align-items: center; gap: 14px; padding: 14px 14px; border-radius: 12px; color: var(--gray-900); font-weight: 600; font-size: 1.05rem; }
.drawer nav a .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; transition: all .25s; }
.drawer nav a .ic svg { width: 20px; height: 20px; }
.drawer nav a.active, .drawer nav a:hover { background: var(--gray-50); color: var(--blue); }
.drawer nav a.active .ic, .drawer nav a:hover .ic { background: var(--blue); color: #fff; }
.drawer nav a .arrow { margin-left: auto; color: var(--gray-400); transition: transform .25s; }
.drawer nav a:hover .arrow { transform: translateX(4px); color: var(--green); }
.drawer-foot { margin-top: auto; padding: 18px 16px 24px; border-top: 1px solid var(--gray-200); display: grid; gap: 10px; opacity: 0; transform: translateY(16px); transition: all .5s var(--ease) .35s; }
.drawer-foot p { margin: 0; font-size: .88rem; color: var(--gray-500); }
.nav-open .drawer { transform: none; }
.nav-open .drawer-backdrop { opacity: 1; visibility: visible; }
.nav-open .drawer nav li { opacity: 1; transform: none; }
.nav-open .drawer-foot { opacity: 1; transform: none; }
.nav-open { overflow: hidden; }
.drawer nav li:nth-child(1) { transition-delay: .12s; } .drawer nav li:nth-child(2) { transition-delay: .17s; }
.drawer nav li:nth-child(3) { transition-delay: .22s; } .drawer nav li:nth-child(4) { transition-delay: .27s; }
.drawer nav li:nth-child(5) { transition-delay: .32s; } .drawer nav li:nth-child(6) { transition-delay: .37s; }

@media (max-width: 1100px) {
  :root { --header-h: 64px; }
  .topbar { display: none; }
  .header-inner { display: grid; grid-template-columns: 44px 1fr 44px; gap: 8px; }
  .burger, .m-call { display: grid; place-items: center; }
  .brand { justify-self: center; }
  .brand img { height: 40px; }
  .main-nav, .header-cta { display: none; }
  .m-call { width: 44px; height: 44px; border-radius: 12px; background: var(--green); color: #fff; animation: ring 2.4s infinite; }
  .m-call svg { width: 20px; height: 20px; }
}
@keyframes ring { 0%,100% { box-shadow: 0 0 0 0 rgba(46,158,79,.5); } 50% { box-shadow: 0 0 0 8px rgba(46,158,79,0); } }

/* ---------- sections ---------- */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.bg-soft { background: var(--gray-50); }
.bg-blue { background: linear-gradient(135deg, var(--blue-900), var(--blue)); color: #dbe6f2; }
.bg-blue h2, .bg-blue h3 { color: #fff; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head p { color: var(--gray-500); max-width: 620px; margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--green); margin-bottom: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head h2 { margin: 0 0 8px; }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--blue-900); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(13,42,82,.94) 0%, rgba(19,60,114,.82) 45%, rgba(31,95,174,.35) 100%); }
.hero .container { position: relative; padding-top: 96px; padding-bottom: 120px; }
.hero h1 { color: #fff; max-width: 720px; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--green-300); }
.hero .lead { font-size: 1.12rem; color: #d6e2f0; max-width: 600px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 22px; margin-top: 36px; flex-wrap: wrap; font-size: .9rem; color: #cfdbea; }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges svg { width: 18px; height: 18px; color: var(--green-300); }
.search-box { position: relative; margin-top: -64px; z-index: 5; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 20px;
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr) auto; gap: 12px; }
.search-box label { display: block; font-size: .74rem; font-weight: 700; color: var(--gray-500); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 4px 4px; }
.field, .search-box select, .search-box input { width: 100%; padding: 12px 14px; border: 1.5px solid var(--gray-200); border-radius: 12px; background: #fff; outline: none; transition: border-color .2s, box-shadow .2s; }
.field:focus, .search-box select:focus, .search-box input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31,95,174,.12); }
.search-box .btn { align-self: end; height: 48px; border-radius: 12px; }
@media (max-width: 900px) { .search-box { grid-template-columns: 1fr 1fr; } .search-box > div:first-child, .search-box .btn { grid-column: 1 / -1; } }
@media (max-width: 600px) {
  .hero .container { padding-top: 56px; padding-bottom: 96px; }
  .hero-actions .btn { flex: 1; }
  .section { padding: 56px 0; }
}

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { text-align: center; padding: 26px 12px; border-radius: var(--radius); background: #fff; border: 1px solid var(--gray-200); }
.stat b { display: block; font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; color: var(--blue); line-height: 1.1; }
.stat b sup { color: var(--green); font-size: .55em; }
.stat span { color: var(--gray-500); font-size: .9rem; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- project card ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 991px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } .grid { gap: 18px; } }
.card { background: #fff; border-radius: var(--radius); border: 1px solid var(--gray-200); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--gray-100); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; background: rgba(255,255,255,.95); color: var(--gray-900); }
.tag-green { background: var(--green); color: #fff; }
.tag-blue { background: var(--blue); color: #fff; }
.tag-orange { background: #f08c1a; color: #fff; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin: 0 0 6px; font-size: 1.12rem; }
.card-body h3 a { color: var(--gray-900); }
.card-body h3 a:hover { color: var(--blue); }
.loc { display: flex; align-items: center; gap: 6px; color: var(--gray-500); font-size: .88rem; margin-bottom: 14px; }
.loc svg { width: 15px; height: 15px; flex: none; color: var(--green); }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; padding: 12px 0; border-top: 1px dashed var(--gray-200); border-bottom: 1px dashed var(--gray-200); font-size: .85rem; margin-bottom: 14px; }
.specs div { display: flex; flex-direction: column; }
.specs small { color: var(--gray-400); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
.specs b { color: var(--gray-800); font-weight: 600; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { color: var(--green); font-weight: 800; font-size: 1.12rem; }
.price small { display: block; color: var(--gray-400); font-weight: 500; font-size: .72rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- post card ---------- */
.post-card .card-media { aspect-ratio: 16/9; }
.post-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; color: var(--gray-500); font-size: .82rem; margin-bottom: 8px; }
.post-meta .cat { color: var(--green); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .74rem; }
.post-card p { color: var(--gray-500); font-size: .93rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-row { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--gray-200); }
.post-row:last-child { border: 0; }
.post-row img { width: 96px; height: 70px; object-fit: cover; border-radius: 10px; }
.post-row h4 { font-size: .93rem; margin: 0 0 4px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-row h4 a { color: var(--gray-900); }
.post-row small { color: var(--gray-400); }
.featured-post { display: grid; grid-template-columns: 1.2fr 1fr; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); margin-bottom: 32px; }
.featured-post .card-media { aspect-ratio: auto; min-height: 320px; }
.featured-post .body { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.featured-post h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.featured-post h2 a { color: var(--gray-900); }
@media (max-width: 800px) { .featured-post { grid-template-columns: 1fr; } .featured-post .card-media { min-height: 220px; } .featured-post .body { padding: 22px; } }

/* ---------- features ---------- */
.feature { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--gray-200); transition: all .3s var(--ease); }
.feature:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); }
.feature .ic { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); margin-bottom: 18px; }
.feature:nth-child(even) .ic { background: var(--green-50); color: var(--green); }
.feature .ic svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.08rem; margin-bottom: 8px; }
.feature p { color: var(--gray-500); font-size: .93rem; margin: 0; }

/* ---------- about split ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.split-media .float-card { position: absolute; right: -18px; bottom: 28px; background: #fff; border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center; }
.split-media .float-card b { font-size: 2rem; color: var(--blue); line-height: 1; }
.split-media .float-card span { font-size: .85rem; color: var(--gray-500); line-height: 1.3; }
.split-media::before { content: ""; position: absolute; inset: 24px -16px -16px 24px; border: 2px solid var(--green); border-radius: var(--radius-lg); z-index: -1; }
.checks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e9e4f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .split-media { max-width: 460px; margin: 0 auto; } .split-media .float-card { right: 8px; } }

/* timeline / process */
.timeline { position: relative; display: grid; gap: 22px; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--blue), var(--green)); }
.timeline .item { position: relative; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 18px 20px; }
.timeline .item::before { content: ""; position: absolute; left: -29px; top: 22px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); }
.timeline .year { color: var(--green); font-weight: 800; font-size: .9rem; }
.timeline h3 { margin: 2px 0 4px; font-size: 1.05rem; }
.timeline p { margin: 0; color: var(--gray-500); font-size: .93rem; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; padding: 26px 22px 22px; border-radius: var(--radius); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.step::before { counter-increment: step; content: "0" counter(step); font-size: 2.2rem; font-weight: 800; color: var(--green-300); line-height: 1; display: block; margin-bottom: 10px; }
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { margin: 0; font-size: .92rem; color: #c3d2e4; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* testimonials */
.quote { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--gray-200); position: relative; }
.quote::before { content: "“"; position: absolute; right: 20px; top: -6px; font-size: 5rem; color: var(--blue-100); font-family: Georgia, serif; line-height: 1; }
.quote p { color: var(--gray-700); font-size: .95rem; }
.quote .who { display: flex; gap: 12px; align-items: center; }
.quote .avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--blue), var(--green)); }
.quote .who b { display: block; color: var(--gray-900); font-size: .95rem; }
.quote .who small { color: var(--gray-500); }
.stars { color: #f5a524; letter-spacing: 2px; margin-bottom: 8px; }

/* partners */
.partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 48px; }
.partners a, .partners span { opacity: .75; filter: grayscale(.2); transition: all .3s; display: inline-flex; align-items: center; gap: 12px; color: var(--gray-500); font-weight: 600; }
.partners a:hover { opacity: 1; filter: none; }
.partners img { height: 46px; width: auto; }

/* CTA */
.cta { border-radius: var(--radius-lg); padding: 48px; background: linear-gradient(120deg, var(--blue-800), var(--blue) 55%, var(--green)); color: #e5eef8; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; right: -120px; top: -160px; background: rgba(255,255,255,.08); }
.cta h2 { color: #fff; }
.cta form { display: grid; gap: 10px; position: relative; z-index: 1; }
.cta .field { border-color: transparent; }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; padding: 28px 20px; } }

/* ---------- page head / breadcrumb ---------- */
.page-head { background: linear-gradient(135deg, var(--blue-900), var(--blue-800) 60%, var(--blue)); color: #cdd9e8; padding: 44px 0 52px; position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: -80px; bottom: -140px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(rgba(95,210,127,.35), transparent 70%); }
.page-head h1 { color: #fff; margin: 8px 0 8px; }
.page-head p { max-width: 680px; margin: 0; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; font-size: .85rem; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: #8fa6c2; }
.breadcrumb a { color: #cdd9e8; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: var(--green-300); }

/* ---------- filters ---------- */
.filters { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr) auto; gap: 10px; background: #fff; border: 1px solid var(--gray-200); padding: 14px; border-radius: var(--radius); margin: -32px 0 28px; position: relative; z-index: 2; box-shadow: var(--shadow); }
@media (max-width: 991px) { .filters { grid-template-columns: 1fr 1fr; } .filters .field:first-child, .filters .btn { grid-column: 1 / -1; } }
.result-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; color: var(--gray-500); font-size: .92rem; flex-wrap: wrap; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--gray-200); background: #fff; color: var(--gray-700); font-size: .86rem; font-weight: 600; transition: all .2s; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.chip .n { font-size: .74rem; background: var(--gray-100); color: var(--gray-500); border-radius: 999px; padding: 0 7px; }
.chip.active .n { background: rgba(255,255,255,.2); color: #fff; }
.empty { text-align: center; padding: 60px 20px; color: var(--gray-500); border: 2px dashed var(--gray-200); border-radius: var(--radius); }

/* ---------- project detail ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; border-radius: var(--radius-lg); overflow: hidden; height: min(520px, 60vw); }
.gallery a { position: relative; overflow: hidden; display: block; background: var(--gray-100); }
.gallery a:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery a:hover img { transform: scale(1.04); }
.gallery .more { position: absolute; inset: 0; background: rgba(13,42,82,.55); color: #fff; display: grid; place-items: center; font-weight: 700; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: 78vw; } .gallery a:first-child { grid-column: span 2; grid-row: auto; } }
.detail { display: grid; grid-template-columns: 1fr 360px; gap: 40px; margin-top: 32px; align-items: start; }
.detail-title { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: flex-start; margin-bottom: 22px; }
.detail-title h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 6px; }
.info-table { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--gray-200); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; }
.info-table div { background: #fff; padding: 14px 16px; }
.info-table small { display: block; color: var(--gray-400); font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; }
.info-table b { color: var(--gray-900); font-weight: 600; font-size: .95rem; }
@media (max-width: 600px) { .info-table { grid-template-columns: 1fr 1fr; } }
.amenities { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0 0 32px; }
.amenities li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--gray-50); font-size: .92rem; }
.amenities li svg { width: 18px; height: 18px; color: var(--green); flex: none; }
.sticky-box { position: sticky; top: calc(var(--header-h) + 16px); }
.box { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.box h3 { font-size: 1.08rem; }
.box form { display: grid; gap: 10px; }
.map { border: 0; width: 100%; height: 340px; border-radius: var(--radius); background: var(--gray-100); }
@media (max-width: 991px) { .detail { grid-template-columns: 1fr; } .sticky-box { position: static; } }

/* prose */
.prose { font-size: 1.04rem; line-height: 1.8; color: var(--gray-800); }
.prose h2 { font-size: 1.5rem; margin: 1.6em 0 .6em; }
.prose h3 { font-size: 1.2rem; margin: 1.4em 0 .5em; }
.prose img { border-radius: var(--radius); margin: 1.4em auto; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.6em 0; padding: 18px 22px; border-left: 4px solid var(--green); background: var(--green-50); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; color: var(--gray-700); }
.prose blockquote p:last-child { margin: 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--gray-200); padding: 10px 12px; text-align: left; }
.prose th { background: var(--gray-50); }
.prose iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: var(--radius); }

/* blog layout */
.with-sidebar { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
@media (max-width: 991px) { .with-sidebar { grid-template-columns: 1fr; } }
.article-head { max-width: 820px; }
.article-head h1 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; margin: 24px 0 32px; aspect-ratio: 16/8; background: var(--gray-100); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.lead-text { font-size: 1.15rem; color: var(--gray-700); font-weight: 500; }
.toc { background: var(--blue-50); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 28px; }
.toc b { display: block; margin-bottom: 6px; color: var(--blue-800); }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { margin: 4px 0; }
.toc .h3 { margin-left: 1em; list-style: circle; }
.share { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 28px 0; padding: 18px 0; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.share a, .share button { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--gray-100); color: var(--gray-700); border: 0; cursor: pointer; transition: all .2s; }
.share a:hover, .share button:hover { background: var(--blue); color: #fff; }
.share svg { width: 18px; height: 18px; }
.tags-list { display: flex; gap: 8px; flex-wrap: wrap; }
.tags-list a { padding: 6px 12px; border-radius: 999px; background: var(--gray-100); color: var(--gray-700); font-size: .84rem; }
.tags-list a:hover { background: var(--green); color: #fff; }
.author-box { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: var(--radius); background: var(--gray-50); }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.cat-list { list-style: none; padding: 0; margin: 0; }
.cat-list a { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--gray-200); color: var(--gray-800); font-weight: 500; }
.cat-list a:hover, .cat-list a.active { color: var(--blue); }
.cat-list .n { color: var(--gray-400); font-size: .85rem; }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--gray-200); color: var(--gray-700); font-weight: 600; }
.pagination .current { background: var(--blue); color: #fff; border-color: var(--blue); }
.search-inline { display: flex; gap: 8px; }
.search-inline .field { flex: 1; }

/* ---------- tools ---------- */
.tool-nav { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; margin-bottom: 20px; scrollbar-width: none; position: sticky; top: var(--header-h); background: #fff; z-index: 5; }
.tool-nav::-webkit-scrollbar { display: none; }
.tool-nav.chips { flex-wrap: nowrap; } .tool-nav .chip { flex: none; }
.tool { scroll-margin-top: calc(var(--header-h) + 70px); background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 28px; }
.tool-head { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.tool-head .ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--green)); color: #fff; flex: none; }
.tool-head .ic svg { width: 24px; height: 24px; }
.tool-head h2 { font-size: 1.3rem; margin: 0; }
.tool-head p { margin: 0; color: var(--gray-500); font-size: .9rem; }
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 800px) { .tool-grid { grid-template-columns: 1fr; } .tool { padding: 20px 16px; } }
.form-row { display: grid; gap: 6px; margin-bottom: 14px; }
.form-row label { font-weight: 600; font-size: .9rem; color: var(--gray-700); }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.input-unit { position: relative; }
.input-unit .field { padding-right: 64px; }
.input-unit span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--gray-400); font-size: .85rem; pointer-events: none; }
input[type=range] { width: 100%; accent-color: var(--blue); }
.result { background: linear-gradient(160deg, var(--blue-50), var(--green-50)); border-radius: var(--radius); padding: 22px; }
.result .big { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 800; color: var(--blue); line-height: 1.2; }
.result .big small { font-size: .9rem; color: var(--gray-500); font-weight: 500; }
.result dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; margin: 16px 0 0; font-size: .93rem; }
.result dt { color: var(--gray-500); }
.result dd { margin: 0; font-weight: 700; color: var(--gray-900); text-align: right; }
.bar { height: 10px; border-radius: 6px; background: var(--green); overflow: hidden; margin-top: 14px; display: flex; }
.bar i { display: block; background: var(--blue); height: 100%; transition: width .5s var(--ease); }
.legend { display: flex; gap: 16px; font-size: .8rem; color: var(--gray-500); margin-top: 8px; }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; background: var(--blue); vertical-align: -1px; }
.legend span + span::before { background: var(--green); }
.schedule { max-height: 280px; overflow: auto; margin-top: 16px; border: 1px solid var(--gray-200); border-radius: 12px; font-size: .85rem; }
.schedule table { width: 100%; border-collapse: collapse; }
.schedule th, .schedule td { padding: 8px 10px; text-align: right; border-bottom: 1px solid var(--gray-100); }
.schedule th { position: sticky; top: 0; background: var(--gray-50); font-weight: 600; }
.schedule td:first-child, .schedule th:first-child { text-align: left; }
.seg { display: inline-flex; background: var(--gray-100); border-radius: 12px; padding: 4px; gap: 4px; }
.seg label { padding: 8px 14px; border-radius: 9px; cursor: pointer; font-size: .88rem; font-weight: 600; color: var(--gray-500); }
.seg input { display: none; }
.seg input:checked + span { color: var(--blue); }
.seg label:has(input:checked) { background: #fff; box-shadow: var(--shadow-sm); color: var(--blue); }
.dirs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.dirs div { padding: 10px 12px; border-radius: 10px; font-size: .88rem; }
.dirs .good { background: var(--green-50); color: var(--green-600); }
.dirs .bad { background: #fdf0f0; color: #b54141; }
.disclaimer { font-size: .8rem; color: var(--gray-400); margin-top: 12px; }
.faq details { border: 1px solid var(--gray-200); border-radius: var(--radius-sm); padding: 0 18px; margin-bottom: 10px; background: #fff; }
.faq summary { padding: 16px 0; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--blue); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--gray-500); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; }
.contact-item { display: flex; gap: 14px; padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--gray-200); margin-bottom: 12px; }
.contact-item .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; flex: none; }
.contact-item .ic svg { width: 22px; height: 22px; }
.contact-item small { display: block; color: var(--gray-500); }
.contact-item b, .contact-item a { color: var(--gray-900); font-weight: 600; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 16px; font-weight: 500; }
.alert-success { background: var(--green-50); color: var(--green-600); border: 1px solid #bfe3c9; }
.alert-error { background: #fdf0f0; color: #b54141; border: 1px solid #f3caca; }
.hp { position: absolute; left: -5000px; }
textarea.field { min-height: 120px; resize: vertical; }

/* ---------- footer ---------- */
.site-footer { background: var(--blue-900); color: #a9bbd1; padding: 64px 0 0; font-size: .93rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #a9bbd1; }
.site-footer a:hover { color: var(--green-300); }
.site-footer .logo-foot { height: 48px; width: auto; margin-bottom: 16px; }
.partner-badge { display: inline-flex; align-items: center; gap: 10px; background: #fff; padding: 8px 14px; border-radius: 12px; margin-top: 10px; }
.partner-badge img { height: 30px; width: auto; }
.partner-badge small { color: var(--gray-500); font-size: .72rem; line-height: 1.2; }
.socials { display: flex; gap: 8px; margin-top: 14px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; }
.socials a:hover { background: var(--green); color: #fff; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding: 20px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .site-footer { padding-bottom: 72px; } }

/* floating contact */
.float-contact { position: fixed; right: 16px; bottom: 20px; z-index: 80; display: grid; gap: 10px; }
.float-contact a { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow); transition: transform .25s; position: relative; }
.float-contact a:hover { transform: scale(1.08); color: #fff; }
.float-contact .fc-zalo { background: #0068ff; font-weight: 800; font-size: .8rem; }
.float-contact .fc-call { background: var(--green); }
.float-contact .fc-call::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green); animation: pulse 1.8s infinite; }
.float-contact svg { width: 24px; height: 24px; }
.to-top { background: var(--gray-800); opacity: 0; pointer-events: none; transition: opacity .3s; }
.to-top.show { opacity: 1; pointer-events: auto; }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.mobile-bar { display: none; }
@media (max-width: 560px) {
  .float-contact { bottom: 82px; right: 12px; }
  .float-contact .fc-call, .float-contact .fc-zalo { display: none; }
  .mobile-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; background: #fff; border-top: 1px solid var(--gray-200); box-shadow: 0 -8px 24px -12px rgba(16,38,70,.2); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; font-size: .72rem; font-weight: 600; color: var(--gray-700); }
  .mobile-bar a svg { width: 22px; height: 22px; }
  .mobile-bar .mb-call { background: var(--green); color: #fff; }
  .mobile-bar .mb-zalo { color: #0068ff; }
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

/* lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(8,20,40,.92); z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 86vh; width: auto; border-radius: 10px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; }
.lb-close { top: 16px; right: 16px; } .lb-prev { left: 12px; top: 50%; } .lb-next { right: 12px; top: 50%; }

.notice-preview { background: #fff4e5; color: #8a5300; padding: 10px 0; text-align: center; font-weight: 600; font-size: .9rem; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .text-center { text-align: center; } .muted { color: var(--gray-500); }
