/* ===== Glowia – giao diện chính ===== */
:root {
  --navy: #2B6CA3;
  --navy-deep: #1E4C72;
  --navy-dark: #14324B;
  --gold: #3D8BCB;
  --gold-rgb: 61, 139, 203;
  --navy-rgb: 43, 108, 163;
  --gold-deep: #1F6FB5;
  --gold-bright: #77AEDB;
  --cream: #F6F9FC;
  --navy-soft: #eaf0f8;
  --blue-wash: #D4EAFF;
  --paper: #fff;
  --ink: #23303F;
  --muted: #5B6877;
  --line: rgba(var(--gold-rgb), .42);
  --line-soft: rgba(var(--gold-rgb), .28);
  --shadow: 0 6px 22px rgba(var(--navy-rgb), .08);
  --shadow-h: 0 18px 42px rgba(var(--navy-rgb), .18);
  --header-h: 142px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Roboto', -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, blockquote, figure { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: .25s; }
button, input, select, textarea { font-family: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* Hiệu ứng xuất hiện khi cuộn */
.js .rv { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; }
.rv.d2 { transition-delay: .16s; }
.rv.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== HEADER ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; transition: box-shadow .3s; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(20, 32, 57, .16); }
.hd-top { max-width: 1360px; margin: 0 auto; padding: 14px 24px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.hd-tagline { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.hd-logo { display: inline-flex; align-items: center; gap: 12px; }
.hd-logo img { max-height: 58px; width: auto; }
.logo-text { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.logo-text b { font-size: 32px; letter-spacing: .22em; font-weight: 700; color: var(--navy); padding-left: .22em; }
.logo-text small { font-size: 10.5px; letter-spacing: .42em; text-transform: uppercase; color: var(--gold-deep); margin-top: 7px; padding-left: .42em; font-weight: 500; }
.hd-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.hd-hotline { display: inline-flex; align-items: center; gap: 9px; background: var(--navy); color: #fff; border-radius: 10px; padding: 11px 18px; font-size: 14.5px; font-weight: 700; white-space: nowrap; }
.hd-hotline:hover { background: var(--navy-deep); color: #fff; }
.hd-hotline svg { width: 17px; height: 17px; stroke: #fff; fill: none; stroke-width: 2; }
.hd-hotline span { color: var(--gold-bright); }
.hd-burger { display: none; width: 44px; height: 44px; border: none; background: none; cursor: pointer; padding: 10px; }
.hd-burger span { display: block; height: 2px; background: var(--navy); border-radius: 2px; margin: 5px 0; transition: .3s; }

.hd-nav { background: var(--navy); }
.hd-nav .menu { list-style: none; max-width: 1360px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: center; align-items: center; gap: 4px; flex-wrap: wrap; }
.hd-nav .menu > li { position: relative; }
.hd-nav .menu > li > a { display: block; padding: 17px 16px; color: #fff; font-size: 15.5px; font-weight: 500; }
.hd-nav .menu > li > a:hover, .hd-nav .menu > li.current-menu-item > a { color: var(--gold-bright); }
.hd-nav .sub-menu { list-style: none; position: absolute; left: 0; top: 100%; min-width: 230px; background: #fff; border-radius: 0 0 12px 12px; box-shadow: var(--shadow-h); padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s; z-index: 5; }
.hd-nav li:hover > .sub-menu, .hd-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.hd-nav .sub-menu a { display: block; padding: 9px 20px; font-size: 14.5px; color: var(--ink); }
.hd-nav .sub-menu a:hover { background: var(--navy-soft); color: var(--navy); }
.hd-nav .menu > li.menu-cta > a { background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: var(--navy-dark); border-radius: 6px; padding: 8px 14px; margin-left: 8px; font-weight: 700; }
.hd-nav .menu > li.menu-cta > a:hover { color: var(--navy-dark); filter: brightness(1.06); }
.hd-nav-head, .hd-nav-foot, .hd-overlay { display: none; }

/* ===== BAND SYSTEM ===== */
.band { padding: 84px 0; position: relative; overflow: hidden; }
.band-light { background: var(--paper); }
.band-cream { background: var(--cream); }
.band-soft { background: var(--navy-soft); }
.band-wash { background: linear-gradient(160deg, var(--blue-wash), #eef5fd); }
.band-accent { background: linear-gradient(135deg, var(--navy), var(--navy-deep)); }
.band-accent, .band-accent h2, .band-accent h3, .band-accent h4, .band-accent p, .band-accent li { color: #fff; }

.eyebrow { display: inline-block; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin-bottom: 16px; }
.band-accent .eyebrow, .hero .eyebrow { color: var(--gold-bright); }
.band h2 { font-size: 38px; line-height: 1.18; color: var(--navy); font-weight: 700; letter-spacing: -.02em; max-width: 780px; }
.band-accent h2 { color: #fff; }
.band .lead { font-size: 18.5px; color: var(--muted); margin-top: 20px; max-width: 720px; line-height: 1.75; }
.band-accent .lead { color: rgba(255, 255, 255, .94); }
.answer { background: rgba(var(--gold-rgb), .14); border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; padding: 16px 22px; margin-top: 22px; max-width: 760px; font-size: 16.5px; color: var(--navy-deep); }
.answer:first-child { margin-top: 0; }
.answer b, .answer strong { color: var(--navy); }
.band-accent .answer { background: rgba(255, 255, 255, .14); color: #fff; border-left-color: var(--gold-bright); }
.band-accent .answer b, .band-accent .answer strong { color: var(--gold-bright); }
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-head h2 { margin: 0 auto; }
.sec-head .lead { margin: 18px auto 0; }

/* Nút sửa nhanh cho quản trị viên */
.glw-edit { position: absolute; top: 12px; right: 12px; z-index: 6; background: #111; color: #fff !important; font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 20px; opacity: .55; line-height: 1.4; }
.glw-edit:hover { opacity: 1; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 15px 28px; border-radius: 32px; font-size: 15px; font-weight: 700; border: none; cursor: pointer; transition: .3s; line-height: 1.3; }
.btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.btn-g { background: var(--gold); color: #fff; box-shadow: 0 10px 26px rgba(var(--gold-rgb), .4); }
.btn-g:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(var(--gold-rgb), .55); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: #fff; color: var(--navy); transform: translateY(-3px); }
.btn[disabled] { opacity: .65; cursor: wait; transform: none; }

/* ===== HERO ===== */
.hero { background: linear-gradient(135deg, var(--navy-deep), var(--navy-dark)); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--gold-rgb), .26), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; padding: 72px 0; position: relative; z-index: 2; }
.hero h1 { font-size: 44px; line-height: 1.16; color: #fff; font-weight: 700; letter-spacing: -.02em; }
.hero .lede { font-size: 18px; color: rgba(255, 255, 255, .92); margin: 22px 0 0; max-width: 600px; }
.hero-cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-media { border-radius: 20px; overflow: hidden; border: 2px solid rgba(var(--gold-rgb), .45); box-shadow: 0 24px 60px rgba(0, 0, 0, .4); }
.hero-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* ===== SỐ LIỆU ===== */
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.counters[data-count="3"] { grid-template-columns: repeat(3, 1fr); }
.counters[data-count="2"] { grid-template-columns: repeat(2, 1fr); }
.counter .ic { width: 66px; height: 66px; margin: 0 auto 16px; border-radius: 18px; background: var(--gold); display: flex; align-items: center; justify-content: center; transition: .4s; }
.counter:hover .ic { transform: translateY(-5px); }
.counter .ic svg { width: 32px; height: 32px; stroke: #fff; fill: none; stroke-width: 1.8; }
.counter .num { font-size: 48px; font-weight: 700; color: var(--navy); line-height: 1; }
.counter .num .plus { color: var(--gold-deep); }
.counter .lbl { font-size: 14.5px; color: var(--muted); margin-top: 10px; text-transform: uppercase; letter-spacing: .04em; }
.band-accent .counter .num { color: #fff; }
.band-accent .counter .lbl { color: rgba(255, 255, 255, .85); }

/* ===== 4 CAM KẾT ===== */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 10px; }
.pillar { background: var(--paper); border: 1.5px solid var(--line-soft); border-radius: 18px; padding: 30px 24px; text-align: center; transition: .4s; }
.pillar:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow-h); }
.pillar .pic { width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; background: linear-gradient(160deg, var(--navy), var(--navy-deep)); display: flex; align-items: center; justify-content: center; transition: .4s; }
.pillar:hover .pic { background: var(--gold); }
.pillar .pic svg { width: 32px; height: 32px; stroke: #fff; fill: none; stroke-width: 1.6; }
.band .pillar h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.band .pillar p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* ===== KHỐI CHIA ĐÔI ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split.is-reverse > .split-media { order: -1; }
.split-media { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-h); border: 2px solid var(--line-soft); }
.split-media img { width: 100%; transition: .5s; }
.split-media:hover img { transform: scale(1.04); }
.split .lead:first-child { margin-top: 0; }

/* ===== DỊCH VỤ ===== */
.svc-feature { display: grid; grid-template-columns: 1fr 1fr; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 24px; background: var(--paper); border: 1.5px solid var(--line-soft); transition: .4s; }
.svc-feature:hover { box-shadow: var(--shadow-h); transform: translateY(-4px); }
.svc-feature .media { position: relative; min-height: 300px; }
.svc-feature .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-feature .body { padding: 42px 40px; display: flex; flex-direction: column; justify-content: center; }
.svc-feature .tag { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin-bottom: 10px; }
.band .svc-feature h3 { font-size: 28px; color: var(--navy); margin-bottom: 14px; line-height: 1.25; }
.band .svc-feature p { font-size: 15.5px; color: var(--muted); margin-bottom: 22px; }
.lnk { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--gold-deep); }
.lnk svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform .3s; }
a:hover .lnk svg, .lnk:hover svg { transform: translateX(5px); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.scard { background: var(--paper); border: 1.5px solid var(--line-soft); border-radius: 20px; padding: 32px 28px; transition: .4s; display: flex; flex-direction: column; }
.scard:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow-h); }
.scard .ic { width: 60px; height: 60px; border-radius: 16px; background: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; transition: .4s; }
.scard:hover .ic { background: var(--gold); }
.scard .ic svg { width: 30px; height: 30px; stroke: #fff; fill: none; stroke-width: 1.7; }
.band .scard h3 { font-size: 20px; color: var(--navy); margin-bottom: 10px; line-height: 1.3; }
.band .scard p { font-size: 14.5px; color: var(--muted); margin-bottom: 20px; flex: 1; }

/* ===== ĐIỀU TRỊ (nền đậm) ===== */
.htlx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.htlx-grid.is-reverse > .htlx-media { order: 2; }
.htlx-media { border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .4); border: 2px solid rgba(var(--gold-rgb), .45); }
.htlx-media img { width: 100%; }
ul.feat { list-style: none; margin: 24px 0 0; }
ul.feat li { position: relative; padding: 11px 0 11px 36px; font-size: 15.5px; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
.band-accent ul.feat li { color: #fff; border-bottom-color: rgba(255, 255, 255, .18); }
ul.feat li::before { content: "\2713"; position: absolute; left: 0; top: 12px; color: var(--navy-deep); font-weight: 700; background: var(--gold); width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; }

/* ===== CHI NHÁNH ===== */
.branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 18px; }
.bcard { border-radius: 18px; overflow: hidden; background: var(--paper); border: 1.5px solid var(--line-soft); box-shadow: var(--shadow); transition: .4s; display: block; }
.bcard:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow-h); }
.bcard .ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, #eef3fa, #dfe8f5); }
.bcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.bcard:hover .ph img { transform: scale(1.05); }
.bcard .badge { position: absolute; top: 12px; left: 12px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px; letter-spacing: .03em; }
.bcard .info { padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.band .bcard .info h4 { font-size: 16px; color: var(--navy); }
.bcard .info .addr { font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.bcard .info .go { width: 30px; height: 30px; border-radius: 50%; background: var(--navy-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: .3s; }
.bcard:hover .info .go { background: var(--gold); }
.bcard .info .go svg { width: 15px; height: 15px; stroke: var(--gold-deep); fill: none; stroke-width: 2.2; transition: .3s; }
.bcard:hover .info .go svg { stroke: #fff; }

/* ===== FORM ĐĂNG KÝ ===== */
.final-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.final-grid h2 { max-width: none; }
.dform { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.dform .form-group input { width: 100%; padding: 15px 20px; border-radius: 30px; border: 1px solid transparent; font-size: 15px; min-width: 180px; color: var(--ink); background: #fff; }
.dform .btn-g { white-space: nowrap; }
.form-message { font-size: 13px; padding: 4px 7px 0; text-align: left; min-height: 0; color: #ffd9d9; }
.form-group.invalid input, .form-group.invalid select { border-color: #ff5b5b !important; }
.glw-hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-result { flex-basis: 100%; font-size: 15px; font-weight: 500; display: none; border-radius: 12px; padding: 12px 16px; }
.form-result.ok { display: block; background: rgba(255, 255, 255, .16); color: #fff; }
.form-result.err { display: block; background: rgba(255, 91, 91, .2); color: #ffd9d9; }

/* ===== FAQ ===== */
.faq-wrap { max-width: 840px; margin: 0 auto; }
.faq { background: var(--paper); border: 1.5px solid var(--line-soft); border-radius: 16px; margin-bottom: 14px; overflow: hidden; transition: .3s; }
.faq:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.faq summary { padding: 20px 24px; font-weight: 700; color: var(--navy); cursor: pointer; font-size: 17px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--gold-deep); transition: .3s; flex-shrink: 0; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 24px 22px; font-size: 16px; color: var(--ink); animation: glw-fade .4s; }
@keyframes glw-fade { from { opacity: 0; } to { opacity: 1; } }
.disclaimer { max-width: 840px; margin: 30px auto 0; background: var(--navy-soft); border: 1.5px solid var(--line); border-radius: 14px; padding: 18px 22px; font-size: 14.5px; color: var(--navy-deep); }

/* ===== FOOTER ===== */
.site-footer { background: #f1f6fb; color: #43474e; font-size: 15px; }
.ft-inner { max-width: 1180px; margin: 0 auto; padding: 56px 24px 34px; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.25fr; gap: 40px; }
.ft-brand .logo-text { align-items: flex-start; }
.ft-brand img { max-height: 70px; width: auto; }
.ft-brand p { margin-top: 18px; font-size: 14px; line-height: 1.65; color: #737780; }
.ft-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 14px; text-transform: uppercase; letter-spacing: .04em; }
.ft-list { list-style: none; }
.ft-list li { margin-bottom: 9px; }
.ft-list a { color: #43474e; }
.ft-list a:hover { color: var(--gold-deep); padding-left: 4px; }
.ft-hotline { display: flex; align-items: center; gap: 14px; }
.ft-hotline .ico { width: 50px; height: 50px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ft-hotline .ico svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; }
.ft-hotline small { display: block; font-size: 13px; color: #737780; }
.ft-hotline b { font-size: 24px; color: var(--gold-deep); line-height: 1.2; }
.ft-meta { margin-top: 16px; font-size: 14.5px; }
.ft-meta p { margin-bottom: 4px; }
.ft-social { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.ft-social a { width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.ft-social a:hover { background: var(--gold-deep); transform: translateY(-3px); }
.ft-social svg { width: 18px; height: 18px; fill: #fff; }
.ft-branches { max-width: 1180px; margin: 0 auto; padding: 22px 24px; border-top: 1px solid rgba(var(--navy-rgb), .12); }
.ft-branches-links { display: flex; flex-wrap: wrap; gap: 10px; }
.ft-branches-links a { background: #fff; border: 1px solid rgba(var(--navy-rgb), .14); border-radius: 22px; padding: 6px 16px; font-size: 14px; color: var(--navy); }
.ft-branches-links a:hover { background: var(--navy); color: #fff; }
.ft-bottom { background: rgba(255, 255, 255, .45); border-top: 1px solid rgba(var(--navy-rgb), .1); }
.ft-bottom-inner { max-width: 1180px; margin: 0 auto; padding: 16px 24px; display: flex; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; font-size: 13.5px; color: #737780; }
.ft-policy { display: flex; gap: 8px 20px; flex-wrap: wrap; }
.ft-policy a { color: #737780; }
.ft-policy a:hover { color: var(--navy); }

/* ===== NÚT NỔI ===== */
.float-tools { position: fixed; right: 12px; bottom: 96px; z-index: 40; display: flex; flex-direction: column; gap: 10px; }
.float-tools a { width: 60px; height: 60px; border-radius: 50%; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-size: 9.5px; font-weight: 700; line-height: 1.15; box-shadow: 0 6px 18px rgba(0, 0, 0, .22); border: 2px solid #fff; padding: 4px; }
.float-tools a:hover { transform: scale(1.08); color: #fff; }
.float-tools svg { width: 19px; height: 19px; stroke: #fff; fill: none; stroke-width: 2; margin-bottom: 2px; }
.float-tools .c-orange { background: linear-gradient(135deg, #ff9d2e, #f26a1b); }
.float-tools .c-blue { background: linear-gradient(135deg, #3b8fe0, #1f5fae); }
.float-tools .c-navy { background: var(--navy); }
.float-tools .c-gold { background: var(--gold-deep); }
.float-tools .c-green { background: linear-gradient(135deg, #35c46a, #1a9c4b); }
.to-top { position: fixed; right: 20px; bottom: 28px; z-index: 40; width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--navy); cursor: pointer; opacity: 0; visibility: hidden; transition: .3s; box-shadow: 0 6px 18px rgba(0, 0, 0, .22); display: flex; align-items: center; justify-content: center; }
.to-top.show { opacity: 1; visibility: visible; }
.to-top svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.4; }

/* ===== POPUP ĐẶT LỊCH ===== */
.glw-modal { position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center; padding: 20px; }
.glw-modal.open { display: flex; }
.glw-modal-bg { position: absolute; inset: 0; background: rgba(20, 32, 57, .72); }
.glw-modal-box { position: relative; width: 100%; max-width: 460px; max-height: 92vh; overflow: auto; background: #fff; border-radius: 22px; padding: 34px 30px 30px; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); animation: glw-pop .3s; }
@keyframes glw-pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.glw-modal-close { position: absolute; top: 10px; right: 14px; border: none; background: none; font-size: 30px; line-height: 1; color: var(--muted); cursor: pointer; }
.glw-modal-box h3 { font-size: 24px; color: var(--navy); line-height: 1.25; }
.glw-modal-box > p { font-size: 15px; color: var(--muted); margin-top: 8px; }
.mform { margin-top: 20px; display: grid; gap: 12px; }
.mform input, .mform select, .mform textarea { width: 100%; padding: 13px 18px; border-radius: 14px; border: 1.5px solid #d9dfe8; font-size: 15px; color: var(--ink); background: #fff; }
.mform input:focus, .mform select:focus, .mform textarea:focus { outline: none; border-color: var(--gold); }
.mform .form-message { color: #d63638; }
.mform .btn { width: 100%; }
.mform .form-result.ok { background: #e9f7ee; color: #17753a; }
.mform .form-result.err { background: #fdecec; color: #b32d2e; }

/* ===== TRANG CON / BÀI VIẾT ===== */
.page-hero { background: linear-gradient(135deg, var(--navy-deep), var(--navy-dark)); padding: 56px 0; }
.page-hero h1 { color: #fff; font-size: 36px; line-height: 1.2; }
.page-hero p { color: rgba(255, 255, 255, .85); margin-top: 8px; font-size: 15px; }
.entry { max-width: 840px; margin: 0 auto; padding: 56px 24px 84px; }
.entry h2, .entry h3 { color: var(--navy); margin: 1.4em 0 .5em; line-height: 1.3; }
.entry p, .entry ul, .entry ol { margin-bottom: 1em; }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry a { color: var(--gold-deep); text-decoration: underline; }
.entry img { border-radius: 14px; }
.post-list { max-width: 1180px; margin: 0 auto; padding: 56px 24px 84px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { border: 1.5px solid var(--line-soft); border-radius: 18px; overflow: hidden; background: #fff; transition: .4s; display: block; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-h); border-color: var(--gold); }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card .pc-body { padding: 20px 22px 24px; }
.post-card h2 { font-size: 19px; color: var(--navy); line-height: 1.35; }
.post-card p { font-size: 14.5px; color: var(--muted); margin-top: 8px; }
.pagination { grid-column: 1 / -1; text-align: center; }
.pagination .page-numbers { display: inline-block; padding: 6px 14px; border-radius: 20px; border: 1px solid var(--line); margin: 0 3px; }
.pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
  :root { --header-h: 72px; }
  .hd-top { grid-template-columns: auto 1fr auto; padding: 8px 14px; gap: 8px; }
  .hd-tagline { display: none; }
  .hd-burger { display: block; order: -1; }
  .hd-logo { justify-self: center; }
  .hd-logo img { max-height: 44px; }
  .logo-text b { font-size: 24px; }
  .logo-text small { font-size: 9px; margin-top: 5px; }
  .hd-hotline { padding: 10px 12px; }
  .hd-hotline .t { display: none; }
  .hd-nav { position: fixed; top: 0; left: 0; bottom: 0; width: 310px; max-width: 86vw; transform: translateX(-102%); transition: transform .35s; z-index: 70; overflow-y: auto; display: flex; flex-direction: column; }
  .nav-open .hd-nav { transform: none; }
  .hd-overlay { display: block; position: fixed; inset: 0; background: rgba(20, 32, 57, .6); z-index: 60; opacity: 0; visibility: hidden; transition: .3s; }
  .nav-open .hd-overlay { opacity: 1; visibility: visible; }
  .hd-nav-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; color: var(--gold-bright); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .hd-nav-head button { background: none; border: none; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
  .hd-nav .menu { flex-direction: column; align-items: stretch; padding: 8px 0; gap: 0; flex-wrap: nowrap; }
  .hd-nav .menu > li > a { padding: 14px 20px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .hd-nav .menu > li.menu-item-has-children > a { padding-right: 52px; }
  .hd-nav .sub-toggle { position: absolute; right: 6px; top: 6px; width: 40px; height: 40px; background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; }
  .hd-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; display: none; background: rgba(0, 0, 0, .18); border-radius: 0; box-shadow: none; }
  .hd-nav li.sub-open > .sub-menu { display: block; }
  .hd-nav .sub-menu a { color: rgba(255, 255, 255, .9); padding-left: 34px; }
  .hd-nav .sub-menu a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
  .hd-nav .menu > li.menu-cta > a { margin: 14px 20px 6px; text-align: center; padding: 12px; }
  .hd-nav-foot { display: grid; gap: 10px; padding: 16px 20px 26px; margin-top: auto; }
  .hd-nav-foot .btn { width: 100%; padding: 13px 18px; }
}
@media (min-width: 1001px) { .hd-nav .sub-toggle { display: none; } }
@media (max-width: 860px) {
  body { font-size: 16px; }
  .band { padding: 56px 0; }
  .hero-grid, .split, .htlx-grid, .svc-feature, .final-grid { grid-template-columns: 1fr; gap: 32px; }
  .svc-feature { gap: 0; }
  .hero-grid { padding: 48px 0; }
  .hero h1 { font-size: 30px; }
  .band h2 { font-size: 28px; }
  .counters, .counters[data-count="3"] { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
  .counter .num { font-size: 40px; }
  .pillars { grid-template-columns: 1fr 1fr; gap: 16px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-feature .media { min-height: 220px; }
  .svc-feature .body { padding: 30px 24px; }
  .split.is-reverse > .split-media, .htlx-grid.is-reverse > .htlx-media { order: 0; }
  .branch-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .final-grid { text-align: center; }
  .dform { flex-direction: column; width: 100%; align-items: stretch; }
  .dform .btn-g { width: 100%; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .ft-inner { grid-template-columns: 1fr 1fr; gap: 32px 24px; padding-top: 44px; }
  .post-list { grid-template-columns: 1fr 1fr; }
  .float-tools a { width: 52px; height: 52px; font-size: 8.5px; }
  .glw-edit { display: none; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .pillars, .branch-grid, .post-list { grid-template-columns: 1fr; }
  .ft-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; }
  .band h2 { font-size: 24px; }
  .band .lead { font-size: 16.5px; }
}

/* ===== Nhận diện xanh – trắng ===== */
.logo-text { flex-direction: column-reverse; align-items: flex-end; }
.logo-text b { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: .12em; padding-left: 0; font-size: 34px; }
.logo-text small { text-transform: lowercase; letter-spacing: .3em; font-size: 11.5px; margin: 0 0 3px; padding-left: 0; color: var(--navy); font-weight: 400; }
.ft-brand .logo-text { align-items: flex-start; }
.hero .btn-g, .band-accent .btn-g, .hd-nav .btn-g { background: #fff; color: var(--navy); box-shadow: 0 10px 26px rgba(0, 0, 0, .18); }
.hero .btn-g:hover, .band-accent .btn-g:hover, .hd-nav .btn-g:hover { color: var(--navy-deep); box-shadow: 0 16px 34px rgba(0, 0, 0, .26); }
.hd-nav .menu > li.menu-cta > a { background: #fff; color: var(--navy); }
.hd-nav .menu > li.menu-cta > a:hover { color: var(--navy-deep); filter: none; background: var(--navy-soft); }
.hd-nav .menu > li > a:hover, .hd-nav .menu > li.current-menu-item > a { color: #cfe4f7; }
.hd-hotline span { color: #cfe4f7; }
.band-accent .eyebrow, .hero .eyebrow { color: #a9d0f2; }
.band-accent .answer { border-left-color: #a9d0f2; }
.band-accent .answer b, .band-accent .answer strong { color: #cfe4f7; }
.band-accent ul.feat li::before { background: #fff; color: var(--navy); }
.hero-media, .htlx-media { border-color: rgba(255, 255, 255, .45); }
.hero::after { background: radial-gradient(circle, rgba(255, 255, 255, .2), transparent 70%); }
.ft-hotline b { color: var(--navy); }
@media (max-width: 1000px) { .logo-text b { font-size: 26px; } .logo-text small { font-size: 9.5px; margin-bottom: 2px; } .hd-nav-head { color: #cfe4f7; } }
/* ===== TRƯỚC – SAU ===== */
.ba-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -14px 0 32px; }
.ba-tab { border: 1.5px solid var(--line); background: #fff; color: var(--navy); font-size: 15px; font-weight: 600; padding: 10px 22px; border-radius: 30px; cursor: pointer; transition: .25s; }
.ba-tab:hover { border-color: var(--gold); color: var(--gold-deep); }
.ba-tab.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.ba-viewport { overflow: hidden; padding: 4px 2px 6px; margin: -4px -2px -6px; }
.ba-track { display: flex; gap: 22px; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.ba-item { margin: 0; flex: 0 0 calc((100% - 44px) / 3); min-width: 0; }
.ba-frame { position: relative; aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; border: 1.5px solid var(--line-soft); box-shadow: var(--shadow); background: var(--navy-soft); }
.ba-frame img { width: 100%; height: 100%; object-fit: cover; }
.ba-item figcaption { text-align: center; font-size: 14.5px; color: var(--muted); margin-top: 10px; }
.ba-nav { display: flex; justify-content: center; gap: 12px; margin-top: 22px; }
.ba-nav.is-hidden { display: none; }
.ba-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: .25s; }
.ba-nav button svg { width: 20px; height: 20px; stroke: var(--navy); fill: none; stroke-width: 2.2; }
.ba-nav button:hover:not([disabled]) { background: var(--navy); border-color: var(--navy); }
.ba-nav button:hover:not([disabled]) svg { stroke: #fff; }
.ba-nav button[disabled] { opacity: .35; cursor: default; }
.ba-note { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 18px; }

/* ===== TIN TỨC ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { display: flex; flex-direction: column; background: #fff; border: 1.5px solid var(--line-soft); border-radius: 18px; overflow: hidden; transition: .4s; }
.news-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow-h); }
.news-card .ph { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-soft); }
.news-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.news-card:hover .ph img { transform: scale(1.05); }
.news-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.news-card time { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.band .news-card h3 { font-size: 19px; line-height: 1.35; color: var(--navy); margin: 8px 0; }
.band .news-card p { font-size: 14.5px; color: var(--muted); flex: 1; margin-bottom: 16px; }
.news-more { text-align: center; margin-top: 38px; }

@media (max-width: 860px) {
  .ba-track { gap: 16px; } .ba-item { flex-basis: calc((100% - 16px) / 2); }
  .news-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 560px) {
  .ba-item { flex-basis: 86%; }
  .ba-tab { font-size: 14px; padding: 8px 16px; }
  .news-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .ba-track { transition: none; } }

/* ===== Form đặt lịch hẹn ===== */
.mform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mform-label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin: 0 0 4px 6px; }
.mform input[type=date] { min-height: 48px; }
.mform select:invalid, .mform select option[value=""] { color: #6b7684; }
.glw-modal-box { max-width: 500px; }
@media (max-width: 420px) { .mform-row { grid-template-columns: 1fr; } }