/* ============================================================
   DHG VALUE — Proptech theme (Trust Blue, light-first)
   Inspired by Coinbase/Wise: white canvas, single blue voltage,
   soft gray elevation bands, card-on-card depth. Vietnamese-first.
   ============================================================ */

:root {
    /* Brand voltage — fresh EMERALD/JADE palette (bright + elegant) */
    --blue:      #1e63c8;   /* primary emerald (fresh, bright) */
    --blue-700:  #174ea0;   /* active */
    --blue-300:  #7fb0ef;   /* on-dark / hover */
    --blue-50:   #eaf1fd;   /* light fill (fresh mint) */
    --lime:      #4f8bea;   /* secondary fresh green for gradients */
    --green-deep:#14509e;   /* bright deep emerald */
    --orange:    #e6232c;   /* accent -> logo red */
    --orange-2:  #fbbf45;   /* amber */
    --cream-pdf: #f3eede;   /* flower watermark cream */
    --gold:      #1e63c8;   /* legacy alias -> accent emerald */
    --gold-2:    #3f7fe0;   /* legacy alias -> hover */
    --gold-soft: #d3e3fb;   /* legacy alias -> light mint */

    /* Ink scale (also used for the single dark editorial band) */
    --navy-900: #0a0b0d;
    --navy-800: #16181c;
    --navy-700: #21242b;
    --navy-600: #2f3441;

    /* Surfaces */
    --bg:      #eef4fc;   /* fresh light mint page background — bright + airy */
    --surface: #ffffff;
    --cream:   #f3f8fe;   /* soft mint tint */
    --mint-soft: #eef4fc; /* light mint for "alt" bands (not pure white) */

    /* Ink */
    --ink:    #0a0b0d;
    --muted:  #5b616e;
    --line:   #dee1e6;

    --radius: 18px;
    --radius-sm: 11px;
    --shadow-sm: 0 1px 2px rgba(10,11,13,.04), 0 4px 14px rgba(10,11,13,.05);
    --shadow:    0 8px 30px rgba(10,11,13,.08);
    --shadow-lg: 0 24px 60px rgba(10,11,13,.12);
    --maxw: 1180px;

    --serif: 'Be Vietnam Pro', 'Segoe UI', system-ui, sans-serif;
    --sans:  'Be Vietnam Pro', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    color: var(--ink);
    background-color: var(--bg);
    background-image: url(../img/flower-pattern.svg);
    background-size: 620px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.15; color: var(--ink); letter-spacing: -.01em; }

/* ---------- Section heading kit ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--orange); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 18px; background: var(--orange);
    -webkit-mask: url(../img/flower.svg) center/contain no-repeat; mask: url(../img/flower.svg) center/contain no-repeat; display: inline-block; }
.section { padding: 88px 0; }
.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-title { font-size: clamp(28px, 4vw, 44px); text-transform: uppercase; color: #154c82;
    background: linear-gradient(90deg, #0f4980, #3474c0); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    letter-spacing: -.005em; line-height: 1.3; padding-top: .08em; }
.section-sub { color: var(--muted); margin-top: 14px; font-size: 17px; }
.alt { background: var(--mint-soft); }

/* "navy-bg" legacy -> light blue elevation band */
.navy-bg { background: linear-gradient(180deg, var(--cream), #e3ecfb); color: var(--ink); }
.navy-bg h1,.navy-bg h2,.navy-bg h3 { color: var(--ink); }

/* ============================================================
   TOP BAR + NAV
   ============================================================ */
.topbar {
    background: var(--surface);
    color: var(--muted);
    font-size: 13px;
    border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 20px; }
.topbar a { color: var(--muted); transition: color .2s; }
.topbar a:hover { color: var(--blue); }
.topbar .tb-group { display: flex; gap: 22px; align-items: center; }
.topbar .tb-item { display: inline-flex; gap: 7px; align-items: center; white-space: nowrap; }

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.85);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 100px; gap: 16px; flex-wrap: wrap; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 84px; width: auto; display: block; }
.brand-sub { font-size: 11px; color: var(--muted); font-weight: 500; line-height: 1.1;
    padding-left: 11px; border-left: 1.5px solid var(--line); align-self: center; }
.site-footer .flogo-pill { display: inline-block; background: #fff; padding: 12px 18px; border-radius: 12px; line-height: 0; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.site-footer .flogo-pill img { height: 60px; width: auto; display: block; }
.brand .mark {
    width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px;
    background: linear-gradient(135deg, var(--blue), var(--lime)); color: #fff; display: grid; place-items: center;
    font-family: var(--serif); font-weight: 700; font-size: 17px; letter-spacing: .02em;
}
.brand .bt { line-height: 1.0; }
.brand .bt b { font-family: var(--serif); font-size: 21px; color: var(--green-deep); letter-spacing: .01em; font-weight: 800; display: inline-flex; align-items: baseline; gap: 3px; }
.brand .bt b .v { font-size: 13px; font-weight: 800; color: var(--lime); letter-spacing: .06em; }
.brand .bt > span { display: block; font-size: 11px; letter-spacing: .03em; color: var(--muted); font-weight: 500; margin-top: 3px; }
.mark-flower { display: block; flex: 0 0 auto; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
    padding: 8px 11px; border-radius: 9px; font-size: 14px; font-weight: 500;
    color: var(--muted); transition: background .2s, color .2s; white-space: nowrap;
}
.nav a:hover { background: var(--bg); color: var(--ink); }
.nav a.active { color: var(--blue); background: var(--blue-50); }

.header-cta { display: flex; align-items: center; gap: 10px; }
/* Desktop with full nav: keep only the primary CTA so the row never overflows */
.header-cta .btn-ghost { display: none; }
.cta-short { display: none; }

.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px; border-radius: 11px; font-weight: 600; font-size: 14.5px;
    font-family: var(--sans); cursor: pointer; border: 1px solid transparent;
    transition: transform .15s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
/* legacy names remapped: gold -> primary blue */
.btn-gold { background: linear-gradient(120deg, var(--green-deep), var(--lime)); color: #fff; box-shadow: 0 6px 18px rgba(22,90,167,.30); }
.btn-gold:hover { background: linear-gradient(120deg, #00508a, #5b3ec2); box-shadow: 0 10px 24px rgba(22,90,167,.38); }
.btn-navy { background: var(--ink); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-outline-gold { background: transparent; border-color: rgba(22,90,167,.45); color: var(--blue-300); }
.btn-outline-gold:hover { background: rgba(22,90,167,.10); border-color: var(--blue); }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 9px; padding: 8px 11px; font-size: 18px; cursor: pointer; color: var(--ink); }

/* ============================================================
   HERO (light)
   ============================================================ */
.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(820px 480px at 88% -8%, rgba(15,73,138,.26), transparent 58%),
        radial-gradient(560px 420px at 3% 112%, rgba(12,66,120,.20), transparent 56%),
        linear-gradient(120deg, #749bc7 0%, #a8c2de 52%, #8bb1d2 100%);
    color: var(--ink);
    border-bottom: 1px solid rgba(15,73,138,.22);
}
.hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(10,11,13,.035) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(10,11,13,.035) 1px, transparent 1px);
    background-size: 58px 58px; mask-image: radial-gradient(820px 460px at 80% 18%, #000, transparent 78%);
}
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; padding-top: 78px; padding-bottom: 86px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 100px;
    background: #bccde5; border: 1px solid rgba(15,73,138,.5);
    color: var(--green-deep); font-size: 12.5px; font-weight: 700; letter-spacing: .02em; margin-bottom: 22px;
}
.hero h1 { color: var(--ink); font-size: clamp(36px, 5.4vw, 60px); letter-spacing: -.025em; line-height: 1.05; }
.hero h1 .gold { color: var(--blue); }
.hero .slogan {
    font-size: clamp(17px, 2.2vw, 21px); font-weight: 600;
    color: var(--blue); margin: 18px 0 6px;
}
.hero p.lead { color: var(--muted); font-size: 17.5px; margin: 16px 0 30px; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 48px; flex-wrap: wrap; }
.hero-stats .st b { font-family: var(--serif); font-size: 34px; color: var(--ink); display: block; line-height: 1; font-weight: 700; }
.hero-stats .st span { font-size: 13px; color: var(--muted); }

/* Light-green hero → dark-green standout text (readable on phone) */
.hero h1 { color: #062a40; text-shadow: 0 1px 2px rgba(255,255,255,.45); }
.hero h1 .gold { color: #0a4c8f; text-shadow: 0 1px 2px rgba(255,255,255,.4); }
.hero .slogan { color: #0a3655; }
.hero .hero-badge { background: rgba(255,255,255,.7); border-color: rgba(15,73,138,.4); color: #0c446e; }
.hero .hero-stats .st b { color: #062a40; }
.hero .hero-stats .st span { color: #2a445a; }
.hero .hero-actions .btn-ghost { background: rgba(255,255,255,.72); border-color: rgba(15,73,138,.35); color: #0c446e; }
.hero .hero-actions .btn-ghost:hover { background: #fff; border-color: var(--green-deep); color: var(--green-deep); }
.hero .skyline-band { background: linear-gradient(90deg, var(--green-deep), var(--lime)); opacity: .16; }

/* ---------- Cover-image hero (PDF style: handshake + green) ---------- */
.hero.hero-img { position: relative; overflow: hidden; min-height: 520px; display: flex; align-items: center; background: #125a96; border-bottom: none; }
.hero.hero-img::before, .hero.hero-img::after { display: none; }
.hero.hero-img .hero-photo { position: absolute; inset: 0; z-index: 0; background: url(../img/hero-handshake.jpg) center right / cover no-repeat; }
.hero.hero-img .hero-photo::after { content: ""; position: absolute; inset: 0;
    background: linear-gradient(100deg, #0a4980 0%, #114f95 33%, rgba(20,90,165,.80) 50%, rgba(87,134,205,.34) 70%, rgba(87,134,205,.02) 100%); }
.hero.hero-img .wrap { position: relative; z-index: 2; width: 100%; display: flex !important; flex-direction: column; align-items: flex-start; text-align: left; padding-top: 72px; padding-bottom: 104px; }
/* services card floats up to overlap the banner */
.svc-section { padding: 0 0 58px; margin-top: -78px; position: relative; z-index: 5; }
.svc-section .svc-card { box-shadow: 0 24px 60px rgba(20,28,50,.22); }
.hero.hero-img .hero-text { max-width: 600px; margin: 0 !important; align-self: flex-start; text-align: left; }
.hero.hero-img h1 { color: #fff; text-shadow: 0 2px 16px rgba(4,24,40,.45); }
.hero.hero-img h1 .gold { color: #d4e7ff; text-shadow: 0 2px 14px rgba(4,24,40,.4); }
.hero.hero-img .slogan { color: #ff5a60; font-weight: 700; }
.hero.hero-img .hero-badge { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.42); color: #fff; }
.hero.hero-img .hero-stats .st b { color: #fff; }
.hero.hero-img .hero-stats .st span { color: rgba(255,255,255,.85); }
.hero.hero-img .hero-actions .btn-gold { background: #fff; color: var(--green-deep); box-shadow: 0 8px 22px rgba(4,24,40,.3); }
.hero.hero-img .hero-actions .btn-gold:hover { background: #effff6; }
.hero.hero-img .hero-actions .btn-ghost { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.55); color: #fff; }
.hero.hero-img .hero-actions .btn-ghost:hover { background: rgba(255,255,255,.28); border-color: #fff; color: #fff; }
/* services card: 2-column list */
.hero-card.svc-card { box-shadow: var(--shadow); }
.hero-card .svc-list.svc-list-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.hero-card .svc-list.svc-list-2 li { padding: 14px 0; }
.hero-card .svc-list.svc-list-2 li:nth-last-child(-n+2) { border-bottom: none; }

.hero-card {
    background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
    box-shadow: var(--shadow-lg);
}
.hero-card h3 { color: var(--ink); font-size: 19px; margin-bottom: 6px; }
.hero-card .muted2 { color: var(--muted); font-size: 13.5px; margin-bottom: 20px; }
.hero-card ul { list-style: none; display: grid; gap: 13px; }
.hero-card li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink); }
.hero-card li .ic { color: var(--blue); flex: 0 0 auto; margin-top: 1px; }
.hero-card li b { font-weight: 600; }
/* redesigned service card */
.hero-card .hc-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; margin-bottom: 6px; }
.hero-card .hc-head h3 { margin-bottom: 3px; }
.hero-card .hc-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700;
    color: var(--green-deep); background: var(--blue-50); border: 1px solid rgba(22,90,167,.3); padding: 6px 11px; border-radius: 100px; white-space: nowrap; }
.hero-card .hc-badge .ico { width: 14px; height: 14px; }
.hero-card .svc-list { list-style: none; display: flex; flex-direction: column; margin-top: 14px; }
.hero-card .svc-list li { display: flex; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.hero-card .svc-list li:last-child { border-bottom: none; padding-bottom: 4px; }
.hero-card .svc-ic { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; display: grid; place-items: center;
    background: linear-gradient(150deg, #eaf7f0, #d4dfec); color: var(--green-deep); transition: transform .2s; }
.hero-card .svc-ic .ico { width: 22px; height: 22px; }
.hero-card .svc-list li:hover .svc-ic { transform: scale(1.08); }
.hero-card .svc-list b { display: block; font-size: 15px; color: var(--ink); font-weight: 600; line-height: 1.25; }
.hero-card .svc-list span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.hero-card .hc-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; font-weight: 600; font-size: 14px; color: var(--blue); transition: gap .2s; }
.hero-card .hc-link:hover { gap: 11px; }
.hero-card .hc-link .ico { width: 16px; height: 16px; }

/* ============================================================
   CARDS / GRIDS
   ============================================================ */
.grid { display: grid; gap: 22px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(22,90,167,.35); }
.card .ic-badge {
    width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
    background: var(--blue-50); color: var(--blue); font-size: 25px;
    margin-bottom: 18px;
}
.card h3 { font-size: 19px; margin-bottom: 9px; }
.card p { color: var(--muted); font-size: 14.8px; }
.card .more { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 600; font-size: 14px; margin-top: 16px; }

/* feature list with blue check */
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-size: 15px; }
.checklist li::before {
    content: ""; flex: 0 0 20px; width: 20px; height: 20px; margin-top: 3px;
    background: linear-gradient(135deg, var(--green-deep), var(--lime));
    -webkit-mask: url(../img/flower.svg) center/contain no-repeat; mask: url(../img/flower.svg) center/contain no-repeat;
}

/* ---------- Org directory cards (courts / DONRE) ---------- */
.org-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.org-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.org-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(22,92,168,.32); }
.org-head { display: flex; align-items: center; gap: 14px; padding: 20px 22px; background: linear-gradient(135deg, #eaf1fd, #f4fbf7); border-bottom: 1px solid var(--line); }
.org-head .ic-badge { width: 48px; height: 48px; border-radius: 13px; flex: 0 0 auto; background: #fff; color: var(--blue); box-shadow: 0 5px 14px rgba(22,92,168,.2); margin: 0; }
.org-head .ic-badge .ico { width: 24px; height: 24px; }
.org-head .oh-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.org-head .oh-tx h3 { font-size: 17.5px; margin: 0; color: var(--ink); line-height: 1.25; }
.org-head .oh-tx span { font-size: 12px; color: var(--blue-700); font-weight: 600; letter-spacing: .01em; }
.org-head .count-pill { margin-left: auto; flex: 0 0 auto; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 13px;
    background: linear-gradient(135deg, var(--blue), var(--green-deep)); color: #fff; font-weight: 700; font-size: 18px;
    display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(22,92,168,.3); }
.org-list { list-style: none; margin: 0; padding: 6px 0; display: block; }
.org-list li { display: flex; align-items: center; gap: 13px; padding: 12px 22px; font-size: 14.8px; color: var(--ink); transition: background .15s; }
.org-list li + li { border-top: 1px solid #eef2fb; }
.org-list li:hover { background: var(--blue-50); }
.org-list li .opin { width: 30px; height: 30px; flex: 0 0 auto; border-radius: 9px; background: var(--blue-50); color: var(--blue);
    display: flex; align-items: center; justify-content: center; transition: background .15s; }
.org-list li:hover .opin { background: #fff; }
.org-list li .opin .ico { width: 16px; height: 16px; }

/* ---------- Leader cards ---------- */
.leader {
    display: grid; grid-template-columns: 100px 1fr; gap: 20px; align-items: start;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px; box-shadow: var(--shadow-sm); transition: box-shadow .2s, border-color .2s, transform .2s;
}
.leader:hover { box-shadow: var(--shadow); border-color: rgba(22,90,167,.35); transform: translateY(-3px); }
.leader .avatar {
    width: 100px; height: 128px; border-radius: 14px; display: grid; place-items: center; overflow: hidden;
    background: var(--blue-50); color: var(--blue);
    font-family: var(--serif); font-size: 28px; font-weight: 700;
}
.leader .avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.leader h3 { font-size: 18.5px; }
.leader .role { color: var(--blue); font-weight: 600; font-size: 13px; margin: 4px 0 10px; }
.leader p { color: var(--muted); font-size: 14px; }
.leader .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.leader .tag { font-size: 12px; background: var(--bg); color: var(--ink); padding: 4px 11px; border-radius: 100px; font-weight: 500; border: 1px solid var(--line); }

/* ---------- Logo / partner chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
    background: var(--surface); border: 1px solid var(--line); border-radius: 100px;
    padding: 9px 18px; font-size: 14px; color: var(--ink); font-weight: 500; box-shadow: var(--shadow-sm);
}
/* legacy .chip.dark -> soft blue filled (works on light bands) */
.chip.dark { background: var(--blue-50); color: var(--blue-700); border-color: rgba(22,90,167,.18); box-shadow: none; }

/* ---------- Logo grid (real partner logos) ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.logo-cell {
    background: #fdf8ee; border: 1px solid var(--line); border-radius: 14px; height: 100px;
    display: grid; place-items: center; padding: 16px 22px; box-shadow: var(--shadow-sm);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.logo-cell:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(22,90,167,.35); }
.logo-cell img { max-height: 54px; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; }

/* ---------- "Xem đầy đủ" button ---------- */
.btn-more {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
    padding: 8px 16px; border-radius: 100px; font-size: 13.5px; font-weight: 600;
    color: var(--blue); background: var(--blue-50); border: 1px solid rgba(22,90,167,.25);
    cursor: pointer; font-family: var(--sans); transition: background .2s, transform .15s;
}
.btn-more:hover { background: rgba(22,90,167,.14); transform: translateY(-1px); }
.btn-more::after { content: "→"; }

/* ---------- Modal / popup ---------- */
.modal-overlay {
    position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
    background: rgba(10,11,13,.6); padding: 24px; opacity: 0; animation: modalIn .2s forwards;
}
.modal-overlay[hidden] { display: none; }
@keyframes modalIn { to { opacity: 1; } }
.modal-box {
    position: relative; background: #fff; border-radius: 18px; width: 100%; max-width: 660px; max-height: 86vh;
    display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--shadow-lg);
    transform: translateY(12px); animation: modalUp .25s forwards;
}
.modal-box::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; z-index: 3;
    background: linear-gradient(90deg, var(--green-deep), var(--lime), var(--green-deep)); }
@keyframes modalUp { to { transform: translateY(0); } }
.modal-head {
    display: flex; align-items: center; gap: 18px; padding: 30px 30px 22px; border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, var(--mint-soft), #fff);
}
.modal-head .m-ava { width: 60px; height: 76px; flex: 0 0 60px; border-radius: 12px; overflow: hidden; background: var(--blue-50); box-shadow: var(--shadow-sm); }
.modal-head .m-ava img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.modal-head h3 { font-family: 'Lora', var(--serif); font-size: 24px; font-weight: 600; color: var(--ink); letter-spacing: .005em; }
.modal-head .m-role { color: var(--blue); font-weight: 600; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; margin-top: 5px; }
.modal-close {
    margin-left: auto; align-self: flex-start; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line);
    background: #fff; font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; transition: background .2s, color .2s;
}
.modal-close:hover { background: var(--bg); color: var(--ink); }
.modal-body {
    padding: 26px 32px 32px; overflow-y: auto; color: #2c3542;
    font-family: 'Lora', var(--serif); font-size: 16.5px; line-height: 1.95; text-align: justify;
}
.modal-body p { margin-bottom: 15px; }
.modal-body p:first-child::first-letter { font-size: 2.6em; line-height: .9; float: left; margin: 6px 12px 0 0; color: var(--green-deep); font-weight: 600; }
.modal-body p:last-child { margin-bottom: 0; }
.modal-body b { color: var(--ink); font-weight: 600; }
.modal-body .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.modal-body .tag { font-family: var(--sans); font-size: 12px; background: var(--bg); color: var(--ink); padding: 4px 11px; border-radius: 100px; border: 1px solid var(--line); }
body.modal-open { overflow: hidden; }

/* ---------- Certificate cards ---------- */
.cert { display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px;
    overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.cert:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cert img { width: 100%; display: block; }

/* ---------- Modern SVG icons ---------- */
.ico { display: inline-block; vertical-align: middle; flex: 0 0 auto; }
.ic-badge .ico { width: 26px; height: 26px; }
.hero-card li .ic { display: inline-flex; }
.hero-card li .ic .ico { width: 18px; height: 18px; }
.info-line .ic .ico { width: 22px; height: 22px; }
.site-footer .fcontact li .ico { width: 17px; height: 17px; color: var(--lime); margin-top: 2px; }
.topbar .ico { width: 15px; height: 15px; }
.hero-badge .ico { width: 15px; height: 15px; }
.eyebrow .ico { width: 15px; height: 15px; }

/* ---------- Value cards (compact horizontal) ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value {
    display: flex; align-items: center; gap: 14px; padding: 16px 18px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
    box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; overflow: hidden;
}
.value::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: linear-gradient(180deg, var(--green-deep), var(--lime)); transform: scaleY(0); transform-origin: top; transition: transform .3s; }
.value:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(22,90,167,.4); }
.value:hover::before { transform: scaleY(1); }
.value .v-ic { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 12px; display: grid; place-items: center;
    background: var(--blue-50); color: var(--blue); transition: background .2s, color .2s; }
.value:hover .v-ic { background: linear-gradient(135deg, var(--green-deep), var(--lime)); color: #fff; }
.value .v-ic .ico { width: 24px; height: 24px; }
.value .v-tx b { display: block; font-family: var(--serif); font-size: 17px; color: var(--ink); font-weight: 700; line-height: 1.2; }
.value .v-tx span { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; line-height: 1.35; }

/* ---------- Compact tiles (icon + label) ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tiles-4 { grid-template-columns: repeat(4, 1fr); }
.tile {
    display: flex; align-items: center; gap: 14px; padding: 15px 18px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow-sm);
    color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(22,90,167,.4); }
.tile .t-ic { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 11px; display: grid; place-items: center;
    background: var(--blue-50); color: var(--blue); transition: background .2s, color .2s; }
.tile:hover .t-ic { background: linear-gradient(135deg, var(--green-deep), var(--lime)); color: #fff; }
.tile .t-ic .ico { width: 23px; height: 23px; }
.tile h3 { font-size: 16.5px; margin: 0; line-height: 1.25; }
.tile .t-sub { display: block; font-size: 12.5px; color: var(--muted); font-weight: 400; font-family: var(--sans); margin-top: 2px; }

/* ---------- Field list (horizontal, full desc) ---------- */
.fld-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.fld { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line);
    border-radius: 14px; padding: 20px 22px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.fld:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(22,90,167,.4); }
.fld-ic { width: 50px; height: 50px; flex: 0 0 50px; border-radius: 13px; display: grid; place-items: center;
    background: var(--blue-50); color: var(--blue); transition: background .2s, color .2s; }
.fld:hover .fld-ic { background: linear-gradient(135deg, var(--green-deep), var(--lime)); color: #fff; }
.fld-ic .ico { width: 25px; height: 25px; }
.fld h3 { font-size: 17px; margin: 0 0 5px; }
.fld p { color: var(--muted); font-size: 13.8px; line-height: 1.55; margin: 0; }

/* ---------- Trust seals ---------- */
.seals { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.seal { text-align: center; }
.seal .emblem {
    width: 104px; height: 104px; border-radius: 50%; margin: 0 auto 16px; position: relative;
    display: grid; place-items: center; color: #fff; overflow: hidden;
    background: radial-gradient(120% 120% at 30% 20%, var(--lime), var(--green-deep) 70%);
    box-shadow: 0 12px 26px rgba(15,73,138,.30), inset 0 0 0 4px rgba(255,255,255,.30);
    animation: sealGlow 3.2s ease-in-out infinite;
}
.seal .emblem .ico { width: 38px; height: 38px; position: relative; z-index: 2; }
/* rotating dashed verification ring */
.seal .emblem::before {
    content: ""; position: absolute; inset: -10px; border-radius: 50%;
    border: 2px dashed rgba(15,73,138,.5); animation: sealSpin 16s linear infinite;
}
/* shine sweep */
.seal .emblem::after {
    content: ""; position: absolute; top: -60%; left: -30%; width: 50%; height: 220%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
    transform: rotate(25deg); animation: sealShine 4.5s ease-in-out infinite; z-index: 1;
}
.seal:hover .emblem { transform: translateY(-5px) scale(1.04); box-shadow: 0 18px 34px rgba(15,73,138,.42), inset 0 0 0 4px rgba(255,255,255,.4); transition: transform .25s, box-shadow .25s; }
.seal b { display: block; font-family: var(--serif); font-size: 15.5px; color: var(--ink); font-weight: 700; }
.seal span { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }
.seal .emblem .num { position: absolute; z-index: 2; font-family: var(--serif); font-weight: 700; font-size: 27px; }
@keyframes sealSpin { to { transform: rotate(360deg); } }
@keyframes sealGlow { 0%,100% { box-shadow: 0 12px 26px rgba(15,73,138,.26), inset 0 0 0 4px rgba(255,255,255,.30); } 50% { box-shadow: 0 14px 32px rgba(15,73,138,.46), inset 0 0 0 4px rgba(255,255,255,.34); } }
@keyframes sealShine { 0%, 65% { left: -40%; } 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .seal .emblem, .seal .emblem::before, .seal .emblem::after { animation: none; } }

/* ---------- Stat strip ---------- */
.statstrip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.statstrip .s { background: var(--surface); padding: 30px 24px; text-align: center; }
.statstrip .s b { font-family: var(--serif); font-size: 34px; color: var(--ink); display: block; font-weight: 700; }
.statstrip .s b em { color: var(--blue); font-style: normal; }
.statstrip .s span { color: var(--muted); font-size: 14px; }

/* ---------- Org chart ---------- */
.org { display: grid; gap: 16px; }
.org .tier { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.org .node {
    background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--blue);
    border-radius: 12px; padding: 14px 22px; text-align: center; font-weight: 600; color: var(--ink);
    font-size: 14.5px; box-shadow: var(--shadow-sm); min-width: 150px;
}
.org .node.top { background: var(--blue); color: #fff; border-top-color: var(--blue-700); }
.org .node small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; margin-top: 3px; }
.org .node.top small { color: rgba(255,255,255,.8); }

/* ---------- Detailed org chart (tree) ---------- */
.orgx { display: flex; flex-direction: column; align-items: center; }
.orgx-top { display: flex; align-items: center; justify-content: center; gap: 0; }
.onode { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 22px;
    font-weight: 600; color: var(--ink); font-size: 14.5px; box-shadow: var(--shadow-sm); text-align: center; white-space: nowrap; }
.onode.lead { background: linear-gradient(135deg, var(--green-deep), var(--lime)); color: #fff; border: none; box-shadow: 0 8px 20px rgba(15,73,138,.28); }
.onode.side { background: var(--blue-50); color: var(--green-deep); border-color: rgba(22,90,167,.35); font-size: 13px; padding: 10px 16px; }
.odash { width: 40px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 5px, transparent 5px 9px); }
.oconn { width: 2px; height: 24px; background: var(--line); }
.org-cols { display: grid; grid-template-columns: 1fr 1fr 2.2fr; gap: 20px; width: 100%; position: relative; padding-top: 26px; align-items: stretch; }
.org-cols::before { content: ""; position: absolute; top: 0; left: 12%; right: 23%; height: 2px; background: var(--line); }
.ocol { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1.5px solid rgba(15,73,138,.35); border-radius: 14px; box-shadow: 0 6px 18px rgba(15,73,138,.10); overflow: hidden; }
.ocol::before { content: ""; position: absolute; top: -26px; left: 50%; width: 2px; height: 26px; background: var(--line); transform: translateX(-50%); z-index: 1; }
.ocol > .onode.khoi { display: block; width: 100%; background: linear-gradient(180deg, var(--blue-50), #fff); color: var(--green-deep);
    border: none; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.ocol-body { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; gap: 10px; padding: 18px; }
.ocol-body > .nv { margin-top: 0; }
.ocol-body.flat { flex-direction: row; flex-wrap: wrap; align-items: flex-start; align-content: flex-start; gap: 12px; }
.ocol-body.flat .obox { flex: 1 1 0; min-width: 0; text-align: center; padding: 13px 10px; font-size: 13.5px; font-weight: 600; color: var(--green-deep); }
/* nested tree */
.subtree, .subtree ul { list-style: none; margin: 0; padding: 0; }
.subtree { margin-top: 16px; }
.subtree ul { padding-left: 16px; }
.subtree li { position: relative; padding: 8px 0 0 20px; }
.subtree li::before { content: ""; position: absolute; left: 5px; top: 0; bottom: 0; width: 1.5px; background: var(--line); }
.subtree li:last-child::before { height: 22px; }
.subtree li::after { content: ""; position: absolute; left: 5px; top: 22px; width: 14px; height: 1.5px; background: var(--line); }
.subtree > li { padding-left: 0; }
.subtree > li::before, .subtree > li::after { display: none; }
.subtree > li:not(:first-child) { margin-top: 6px; }
/* Khối Nghiệp vụ: nhóm gọn, lá xếp ngang */
.nv { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 14px; align-items: start; }
.nv .bp { display: inline-block; margin-bottom: 10px; font-weight: 700; color: var(--green-deep);
    background: var(--blue-50); border: 1px solid rgba(22,90,167,.3); border-left: 3px solid var(--green-deep);
    border-radius: 0 8px 8px 0; padding: 7px 13px; font-size: 13px; }
.nv-sub { display: flex; flex-direction: column; gap: 9px; }
.ng { border-left: 2.5px solid rgba(15,73,138,.5); padding-left: 12px; display: flex; flex-direction: column; gap: 7px; }
.ng > .obox { align-self: flex-start; }
.leaves { display: flex; flex-wrap: wrap; gap: 6px; }
.nv-sub { gap: 11px; }
/* Tier 2 — Phòng/Bộ phận: nền xanh nhạt, viền xanh rõ */
.obox { display: inline-block; background: #d4e0ef; border: 1.5px solid rgba(15,73,138,.5); border-radius: 8px; padding: 7px 13px; font-size: 13px; color: #0c446e; font-weight: 600; box-shadow: 0 2px 5px rgba(15,73,138,.10); }
/* Tier 1 — BP (khối nghiệp vụ): gradient xanh đậm, chữ trắng */
.obox.str { font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--green-deep), var(--lime)); border: 1.5px solid rgba(8,52,95,.5); border-radius: 8px; box-shadow: 0 5px 14px rgba(15,73,138,.30); }
/* Tier 3 — Mục con (lá): nền trắng, viền xám-xanh, chữ mờ */
.obox.sm { font-size: 12px; color: #4a5b6a; background: #fff; border: 1.5px solid rgba(15,73,138,.28); padding: 5px 11px; font-weight: 500; box-shadow: none; }

/* ---------- Project / portfolio ---------- */
.project {
    border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
    background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.project:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project .thumb { height: 168px; display: grid; place-items: center; font-size: 48px; color: var(--blue);
    background: linear-gradient(150deg, #eaf7f0, #d3e3fb); position: relative; overflow: hidden; }
.project .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.project:hover .thumb img { transform: scale(1.06); }
.project .pbody { padding: 18px 20px; }
.project .pcat { font-size: 12px; color: var(--blue); font-weight: 600; }
.project h4 { font-size: 16px; margin-top: 5px; color: var(--ink); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.info-line { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-line .ic { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 13px; display: grid; place-items: center;
    background: var(--blue-50); color: var(--blue); font-size: 20px; }
.info-line b { display: block; font-family: var(--sans); color: var(--ink); font-size: 13px; font-weight: 600; }
.info-line span { color: var(--muted); font-size: 15px; }
.map-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); min-height: 360px; background: #e9edf4; }
.map-frame iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* form */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field textarea, .field select {
    width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 11px;
    font-family: var(--sans); font-size: 14.5px; color: var(--ink); transition: border-color .2s, box-shadow .2s; background: #fff;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22,90,167,.12); }

/* ---------- CTA band (the single dark editorial moment) ---------- */
.cta-band {
    position: relative; overflow: hidden;
    background:
        radial-gradient(620px 280px at 85% 0%, rgba(22,90,167,.45), transparent 60%),
        var(--ink);
    color: #fff; border-radius: 22px; padding: 56px; text-align: center; box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); }
.cta-band p { color: rgba(255,255,255,.72); margin: 14px auto 28px; max-width: 600px; }
.cta-band .hero-actions { justify-content: center; }
.cta-band .btn-outline-gold { border-color: rgba(255,255,255,.35); color: #fff; }
.cta-band .btn-outline-gold:hover { background: rgba(255,255,255,.10); border-color: #fff; }

/* ---------- Breadcrumb / page hero (light) ---------- */
.page-hero {
    background:
        radial-gradient(680px 320px at 90% -20%, rgba(22,92,168,.26), transparent 60%),
        linear-gradient(180deg, #c8d6ef, #e6eefb);
    color: var(--ink); padding: 66px 0 58px; border-bottom: 1px solid rgba(22,92,168,.16);
}
.page-hero h1 { color: var(--ink); font-size: clamp(30px, 4.6vw, 48px); letter-spacing: -.025em; }
.page-hero p { color: var(--muted); margin-top: 12px; max-width: 640px; font-size: 17px; }
.crumb { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.crumb a:hover { color: var(--blue); }

/* ============================================================
   FOOTER (light)
   ============================================================ */
.site-footer { background: linear-gradient(160deg, #15559a 0%, #0b3a65 100%); color: #d6ecdd; padding: 104px 0 0; border-top: none; }
.site-footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.site-footer a { color: #c6d2e6; transition: color .2s; }
.site-footer a:hover { color: var(--lime); }
.site-footer ul { list-style: none; display: grid; gap: 11px; font-size: 14.5px; }
.site-footer .fbrand .brand .bt b { color: #fff; }
.site-footer .fbrand .brand .bt > span { color: #c6d2e6; }
.site-footer .fdesc { font-size: 14px; color: #c6d2e6; margin: 16px 0; max-width: 320px; }
.site-footer .fcontact li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.site-footer .fcontact .ic { color: var(--lime); }
.site-footer .chip.dark { background: rgba(255,255,255,.10); color: #d8eee2; border-color: rgba(255,255,255,.16); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 50px; padding: 22px 0; font-size: 13px; color: #aebbca; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   PDF MOTIFS — gradient bars, flower watermark, skyline
   ============================================================ */
.grad-bar { height: 7px; background: linear-gradient(90deg, #14509e 0%, #4f8bea 50%, #14509e 100%); }

.mark-flower { display: block; flex: 0 0 auto; }

/* Big faint flower watermark (cover-page motif) */
.hero::before, .page-hero::before, .cta-band::before {
    content: ""; position: absolute; z-index: 1; pointer-events: none;
    width: 480px; height: 480px; top: -120px; right: -90px;
    -webkit-mask: url(../img/flower.svg) center/contain no-repeat;
    mask: url(../img/flower.svg) center/contain no-repeat;
}
.hero::before { background: var(--cream-pdf); opacity: .85; }
.page-hero::before { background: var(--cream-pdf); opacity: .6; width: 380px; height: 380px; top: -90px; }
.page-hero { position: relative; overflow: hidden; }
.cta-band::before { background: rgba(255,255,255,.07); width: 420px; height: 420px; }

/* Page-hero title -> big uppercase green (PDF section style) */
.page-hero h1 {
    text-transform: uppercase; color: #0e3357;
    background: linear-gradient(90deg, #0e3357, #1f55a0);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    line-height: 1.28; padding-top: .08em;
}

/* City skyline silhouette band (real-estate motif) */
.skyline-band {
    position: absolute; left: 0; right: 0; bottom: 0; height: 92px; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, var(--green-deep), var(--lime));
    -webkit-mask: url(../img/skyline.svg) bottom/cover no-repeat;
    mask: url(../img/skyline.svg) bottom/cover no-repeat; opacity: .15;
}
.site-footer { position: relative; overflow: hidden; }
.site-footer .wrap, .site-footer .footer-bottom { position: relative; z-index: 1; }
.footer-skyline {
    position: absolute; top: 0; left: 0; right: 0; height: 70px; z-index: 0; pointer-events: none;
    background: linear-gradient(90deg, #4f8bea, #abc2e8);
    -webkit-mask: url(../img/skyline.svg) bottom/cover no-repeat;
    mask: url(../img/skyline.svg) bottom/cover no-repeat; opacity: .18;
}

/* ============================================================
   ICON CENTERING FIX (iOS/Safari) — flex-center + block icon
   ============================================================ */
.ic-badge, .hero-card .svc-ic, .value .v-ic, .fld-ic, .tile .t-ic, .info-line .ic, .seal .emblem {
    display: flex !important; align-items: center; justify-content: center;
}
.ic-badge > .ico, .hero-card .svc-ic > .ico, .value .v-ic > .ico, .fld-ic > .ico,
.tile .t-ic > .ico, .info-line .ic > .ico, .seal .emblem > .ico, .hc-badge > .ico, .btn > .ico {
    display: block; flex: 0 0 auto;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* Nav collapses to hamburger early so the bigger logo + CTA never overflow */
@media (max-width: 1080px) {
    .nav { display: none; }
    .nav-toggle { display: inline-flex; }
    .header-cta .btn-ghost { display: inline-flex; }
    .nav.open {
        display: flex; flex-direction: column; align-items: stretch; gap: 4px;
        position: absolute; top: 100%; left: 0; right: 0; background: #fff;
        padding: 14px 24px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); z-index: 60;
    }
}
@media (max-width: 980px) {
    .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
    .g-4 { grid-template-columns: repeat(2, 1fr); }
    .g-3 { grid-template-columns: repeat(2, 1fr); }
    .statstrip { grid-template-columns: repeat(2, 1fr); }
    .seals { grid-template-columns: repeat(3, 1fr); gap: 28px 18px; }
    .tiles, .tiles-4 { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .site-footer .cols { grid-template-columns: 1fr 1fr; gap: 30px; }
    .topbar .tb-group.left { display: none; }
}
@media (max-width: 760px) {
    .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
    .org-grid { grid-template-columns: 1fr; gap: 20px; }
    .values { grid-template-columns: 1fr 1fr; gap: 14px; }
    .value { padding: 14px 16px; }
    .tiles, .tiles-4 { grid-template-columns: 1fr; }
    .fld-list { grid-template-columns: 1fr; }
    .org-cols { grid-template-columns: 1fr; gap: 14px; padding-top: 0; }
    .org-cols::before { display: none; }
    .ocol::before { display: none; }
    .ocol { margin-top: 8px; }
    .onode { white-space: normal; }
    .nv { grid-template-columns: 1fr; }
    .logo-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .leader { grid-template-columns: 90px 1fr; }
    .leader .avatar { width: 90px; height: 116px; }
    .statstrip { grid-template-columns: 1fr 1fr; }
    .site-footer .cols { grid-template-columns: 1fr; }
    .cta-band { padding: 38px 24px; }
    .section { padding: 58px 0; }
    .section-head { margin-bottom: 34px; }
    .wrap { padding: 0 18px; }
    .modal-overlay { padding: 14px; align-items: flex-end; }
    .modal-box { max-height: 90vh; border-radius: 18px 18px 0 0; }
    .modal-head { padding: 18px 18px 14px; }
    .modal-body { padding: 18px; }
    .hero .wrap { padding-top: 54px; padding-bottom: 64px; }
    .hero-stats { gap: 22px; margin-top: 32px; }
    .hero::before { width: 300px; height: 300px; top: -100px; right: -120px; opacity: .5; }
    .hero.hero-img { min-height: 0; }
    .hero.hero-img .wrap { padding-top: 56px; padding-bottom: 64px; }
    .hero.hero-img .hero-photo::after { background: linear-gradient(165deg, rgba(10,73,128,.90) 0%, rgba(17,79,149,.80) 52%, rgba(87,134,205,.50) 100%); }
    .hero-card .svc-list.svc-list-2 { grid-template-columns: 1fr; }
    .hero-card .svc-list.svc-list-2 li:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
    .hero-card .svc-list.svc-list-2 li:last-child { border-bottom: none; }
    .info-line .ic { width: 40px; height: 40px; flex-basis: 40px; }
}
@media (max-width: 540px) {
    .logo-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .logo-cell { height: 84px; padding: 12px 14px; }
    .topbar .tb-group .tb-item:first-child { display: none; }
    .brand .bt span { font-size: 10px; }
    .hero h1 { font-size: clamp(30px, 9vw, 42px); }
    .section-title { font-size: clamp(24px, 7vw, 32px); }
    .statstrip { grid-template-columns: 1fr 1fr; }
    .seals { grid-template-columns: repeat(2, 1fr); }
    .seal .emblem { width: 88px; height: 88px; }
    .btn { padding: 11px 18px; font-size: 14px; }
    .hero-stats .st b { font-size: 28px; }
}
/* Small devices: logo gets its own full-width row */
/* Small devices: Logo · Báo giá · ☰ — all three on ONE row */
@media (max-width: 620px) {
    .site-header .wrap { flex-wrap: nowrap; justify-content: space-between; gap: 8px; min-height: 0; padding-top: 10px; padding-bottom: 10px; }
    .brand { flex: 0 1 auto; min-width: 0; }
    .brand-logo { height: 54px; }
    .header-cta { flex: 0 0 auto; margin-left: auto; width: auto; gap: 8px; align-items: center; justify-content: flex-end; }
    .header-cta .btn-ghost { display: none; }
    .header-cta .btn-gold { flex: 0 0 auto; padding: 0 15px; height: 38px; }
    .cta-full { display: none; }
    .cta-short { display: inline; }
    .header-cta .nav-toggle { flex: 0 0 auto; }
    .nav.open { top: 100%; }
    /* "4 giá trị": 2×2, icon trên, căn giữa (đẹp trên điện thoại) */
    .values { grid-template-columns: 1fr 1fr; gap: 10px; }
    .value { flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 16px 10px; }
    .value .v-tx b { font-size: 14.5px; }
    .value .v-tx span { font-size: 11.5px; margin-top: 2px; }
}
@media (max-width: 360px) {
    .brand-logo { height: 46px; }
    .header-cta .btn-gold { padding: 0 12px; }
}

/* ============================================================
   NAVY THEME — chỉ bật khi <body class="theme-navy"> (chọn trong Admin → Cấu hình công ty)
   ============================================================ */
body.theme-navy{
  --bg:#0a1f47; --surface:#12336f; --cream:#0e2a5e; --mint-soft:#0e2a5e;
  --ink:#eef3fc; --muted:#aebfdf; --line:#274a86; --blue-50:#173b73;
  background-color:#0a1f47;
}
body.theme-navy .topbar{ background:#050f28 !important; border-bottom:1px solid #1b3766; }
body.theme-navy .topbar a:hover{ color:#fff; }
body.theme-navy .site-header{ background:rgba(10,31,71,.92) !important; border-bottom:1px solid #26497f; }
body.theme-navy .brand-logo{ background:#fff; padding:6px 12px; border-radius:9px; }
body.theme-navy .nav a:hover{ background:#173b73 !important; color:#fff !important; }
body.theme-navy .section-title{ background:none !important; -webkit-text-fill-color:#fff !important; color:#fff !important; }
body.theme-navy .section-sub, body.theme-navy .lead{ color:var(--muted) !important; }
body.theme-navy .navy-bg{ background:linear-gradient(180deg,#0e2a5e,#081d47) !important; }
body.theme-navy .navy-bg h1, body.theme-navy .navy-bg h2, body.theme-navy .navy-bg h3{ color:#fff !important; }
body.theme-navy .pbody h4, body.theme-navy .seal b, body.theme-navy .tile h3, body.theme-navy .value .v-tx b, body.theme-navy .svc-list li b, body.theme-navy .info-line b, body.theme-navy .hc-head h3, body.theme-navy .fld-card h4, body.theme-navy .card h3, body.theme-navy .card h4, body.theme-navy .hero-card h3{ color:#fff !important; }
body.theme-navy .hero-card, body.theme-navy .svc-card, body.theme-navy .card, body.theme-navy .value, body.theme-navy .tile, body.theme-navy .seal, body.theme-navy .project, body.theme-navy .obox, body.theme-navy .onode, body.theme-navy .org-card, body.theme-navy .khoi, body.theme-navy .bp, body.theme-navy .cert, body.theme-navy .statstrip .st{ background:var(--surface); border-color:var(--line); }
body.theme-navy .value .v-tx span, body.theme-navy .tile .t-sub, body.theme-navy .seal span, body.theme-navy .info-line span, body.theme-navy .muted2{ color:var(--muted) !important; }
body.theme-navy .btn-ghost{ background:transparent !important; color:#fff !important; border-color:#3a5da0 !important; }
body.theme-navy .btn-ghost:hover{ background:rgba(255,255,255,.08) !important; color:#fff !important; }
body.theme-navy .chip{ background:#12336f !important; border-color:#274a86 !important; color:#dbe6fa !important; }
body.theme-navy .field input, body.theme-navy .field select, body.theme-navy .field textarea{ background:#0e2a5e !important; border-color:#2b4f8c !important; color:#eef3fc !important; }
body.theme-navy .hc-badge{ background:#0e2a5e !important; border-color:#274a86 !important; color:#dbe6fa !important; }

/* ---- NAVY refinements: header nền trắng (nổi logo) + tăng tương phản chữ ---- */
body.theme-navy{ --muted:#c6d4ef; }
body.theme-navy .site-header{ background:#ffffff !important; border-bottom:2px solid #e6232c; }
body.theme-navy .brand-logo{ background:transparent !important; padding:0 !important; }
body.theme-navy .nav a{ color:#22345c !important; }
body.theme-navy .nav a:hover{ background:#eef2f9 !important; color:#0d2b63 !important; }
body.theme-navy .nav a.active{ color:#0d2b63 !important; background:#e6eefb !important; }
body.theme-navy .nav-toggle{ color:#0d2b63 !important; border-color:#cdd8ea !important; }
body.theme-navy .header-cta .btn-ghost{ color:#0d2b63 !important; border-color:#cdd8ea !important; }
body.theme-navy .section-sub, body.theme-navy .lead, body.theme-navy .t-sub, body.theme-navy .muted2,
body.theme-navy .svc-list li span, body.theme-navy .info-line span, body.theme-navy .value .v-tx span,
body.theme-navy .seal span, body.theme-navy .fdesc, body.theme-navy .crumb, body.theme-navy .pbody p,
body.theme-navy .card p, body.theme-navy .obox p, body.theme-navy .org-list li{ color:#c6d4ef !important; }

/* ---- NAVY robust contrast pass (phủ box/form/nhãn) ---- */
body.theme-navy{ color:#eef3fc; }
body.theme-navy .card, body.theme-navy .obox, body.theme-navy .onode, body.theme-navy .org-card,
body.theme-navy .hero-card, body.theme-navy .svc-card, body.theme-navy .value, body.theme-navy .tile,
body.theme-navy .seal, body.theme-navy .project, body.theme-navy .statstrip .st, body.theme-navy .cert,
body.theme-navy .bp, body.theme-navy .khoi, body.theme-navy .fld-card, body.theme-navy .map-frame{
  background:#12336f !important; border-color:#274a86 !important;
}
body.theme-navy label, body.theme-navy .field label, body.theme-navy th, body.theme-navy td,
body.theme-navy .info-line b, body.theme-navy .stat b, body.theme-navy .s b, body.theme-navy .statstrip .st b{ color:#f0f5fc !important; }
body.theme-navy input, body.theme-navy select, body.theme-navy textarea{
  background:#0b2551 !important; border-color:#2b4f8c !important; color:#f2f6fc !important;
}
body.theme-navy input::placeholder, body.theme-navy textarea::placeholder{ color:#8aa2d0 !important; }
body.theme-navy [style*="color:#5b"], body.theme-navy [style*="color:#69"],
body.theme-navy [style*="color:#33"], body.theme-navy [style*="color:#1a"], body.theme-navy [style*="color:#2a"]{ color:#c6d4ef !important; }

/* ---- NAVY fix theo screenshot: page-hero, cta-band, obox, org-head ---- */
body.theme-navy .page-hero h1{ background:none !important; -webkit-text-fill-color:#ffffff !important; color:#ffffff !important; }
body.theme-navy .page-hero p, body.theme-navy .page-hero .crumb, body.theme-navy .page-hero .crumb a{ color:#d4e0f5 !important; }
body.theme-navy .cta-band{ background:linear-gradient(135deg,#123f8a,#0a2450) !important; }
body.theme-navy .cta-band h2{ color:#ffffff !important; }
body.theme-navy .cta-band p{ color:#dbe6fa !important; }
body.theme-navy .obox, body.theme-navy .obox.sm, body.theme-navy .obox *{ color:#dbe6fa !important; }
body.theme-navy .org-head{ background:#0e2a5e !important; border-color:#274a86 !important; }
body.theme-navy .org-head .oh-tx h3{ color:#f2f6fc !important; }
body.theme-navy .org-head .oh-tx span{ color:#9ec3f5 !important; }
body.theme-navy .org-head .ic-badge{ background:#173b73 !important; color:#cfe0fb !important; }

/* ---- NAVY: dải page-hero (mọi trang con) -> nền navy ---- */
body.theme-navy .page-hero{ background:linear-gradient(135deg,#123f8a,#0a2450) !important; }
body.theme-navy .page-hero::before, body.theme-navy .page-hero::after{ opacity:.5; }

/* ---- NAVY: menu mobile (dropdown ☰) -> nền navy, chữ sáng ---- */
body.theme-navy .nav.open{ background:#0d2b63 !important; border-bottom:1px solid #274a86 !important; box-shadow:0 12px 30px rgba(5,15,40,.5) !important; }
body.theme-navy .nav.open a{ color:#eef3fc !important; }
body.theme-navy .nav.open a:hover,
body.theme-navy .nav.open a.active{ background:#173b73 !important; color:#ffffff !important; }

/* ---- NAVY: nhãn dùng color:var(--blue) (Tên công ty, Trụ sở...) -> xanh sáng ---- */
body.theme-navy [style*="color:var(--blue)"]{ color:#ffffff !important; }
body.theme-navy [style*="color: var(--blue)"]{ color:#ffffff !important; }
