/* Trang chủ — bố cục Hung Bach, tông màu gốc: navy + vàng (site.css / home-apollo) */
/* Font: nạp qua fragments/hb-font-links.jspf (preconnect + link), tránh @import chặn render */

.hb-page {
    /* Khớp :root trong site.css */
    --hb-navy: #0b2345;
    --hb-navy-deep: #0a1f3d;
    --hb-navy-soft: #163866;
    --hb-navy-mid: #174074;
    --hb-gold: #c8a15a;
    --hb-gold-strong: #b58838;
    --hb-gold-line: #c9a227;
    --hb-accent-soft: #f1f5f9;
    --hb-accent-softer: #fffaf1;
    /* Tương thích tên biến cũ trong file */
    --hb-primary: var(--hb-gold);
    --hb-primary-dark: var(--hb-navy);
    --hb-primary-darker: var(--hb-navy-deep);
    --hb-primary-light: var(--hb-navy-soft);
    margin: 0;
    font-family: "Roboto", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    color: #333;
    background: #f6f7fb;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.hb-page * { box-sizing: border-box; }

.hb-page a { color: inherit; text-decoration: none; }
.hb-page a:hover { color: var(--hb-navy); }

.hb-container {
    width: min(1170px, 94%);
    margin: 0 auto;
}

/* Thanh trên — navy + gạch vàng (như topbar-apollo) */
.hb-strip {
    background: var(--hb-navy-deep);
    color: #cbd5e1;
    font-size: 13px;
    border-bottom: 3px solid var(--hb-gold-line);
}
.hb-strip .hb-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 7px 0;
}
.hb-strip a { color: #fbbf24; font-weight: 700; }
.hb-strip a:hover { text-decoration: underline; color: #fcd34d; }

/* Header trắng */
.hb-head {
    background: #fff;
    border-bottom: 1px solid #e6ebf2;
    padding: 18px 0;
    text-align: center;
}
.hb-head__wrap {
    position: relative;
}
.hb-nav__burger {
    display: none;
    position: absolute;
    left: 0;
    top: 50%;
    z-index: 30;
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    transform: translateY(-50%);
    transition: transform 0.22s ease, box-shadow 0.2s ease, left 0.22s ease, right 0.22s ease, top 0.22s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.hb-nav__burger-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--hb-navy);
    border-radius: 1px;
    transition: transform 0.22s ease, opacity 0.2s ease;
}
body.hb-nav-drawer-open .hb-nav__burger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
body.hb-nav-drawer-open .hb-nav__burger-bar:nth-child(2) {
    opacity: 0;
}
body.hb-nav-drawer-open .hb-nav__burger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
.hb-head__row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.hb-head__logo {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 2px dashed var(--hb-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #8f6b2d;
    background: var(--hb-accent-softer);
    flex-shrink: 0;
}
.hb-head__company {
    font-family: "Roboto Condensed", system-ui, "Segoe UI", "Arial Narrow", Arial, sans-serif;
    font-size: clamp(20px, 3.2vw, 28px);
    font-weight: 700;
    color: var(--hb-navy);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.25;
    max-width: 900px;
}
.hb-head__tagline {
    margin: 4px 0 0;
    color: #6b7280;
    font-size: 14px;
}

/* Menu — nền trắng, chữ navy (như navbar-apollo) */
.hb-nav {
    background: #fff;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    border-top: 3px solid var(--hb-gold-line);
    position: relative;
    z-index: 200;
}
.hb-nav .hb-container {
    display: block;
}
.hb-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.hb-menu > li {
    position: relative;
    z-index: 1;
}
.hb-menu > li:hover,
.hb-menu > li:focus-within {
    z-index: 220;
}
.hb-menu__parent {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-width: 0;
}
.hb-menu__has-sub .hb-menu__parent > a::after {
    content: " \25BE";
    font-size: 10px;
    opacity: 0.75;
    font-weight: 400;
}
.hb-menu > li > a,
.hb-menu > li > .hb-menu__parent > a {
    display: block;
    flex: 1;
    padding: 14px 18px;
    color: #2c3c55;
    font-family: "Roboto Condensed", system-ui, "Segoe UI", Arial, sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-right: 1px solid #e2e8f0;
}
.hb-menu > li:first-child > a { border-left: 1px solid #e2e8f0; }
.hb-menu > li > a:hover,
.hb-menu > li > .hb-menu__parent > a:hover {
    background: var(--hb-accent-soft);
    color: var(--hb-navy);
}
.hb-submenu-toggle {
    display: none;
    flex: 0 0 auto;
    margin: 0;
    padding: 0 14px;
    min-width: 48px;
    border: 0;
    border-left: 1px solid #e2e8f0;
    background: #fff;
    color: var(--hb-navy);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    align-self: stretch;
}
.hb-submenu-toggle::after {
    content: "\25BE";
    display: block;
}
.hb-menu__has-sub.hb-submenu-open > .hb-menu__parent > .hb-submenu-toggle::after {
    content: "\25B4";
}
.hb-submenu {
    list-style: none;
    margin: 0;
    padding: 6px 0;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 260px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0 0 8px 8px;
    border-top: 3px solid var(--hb-gold-line);
    box-shadow: 0 16px 26px rgba(15, 23, 42, 0.16);
    z-index: 25;
    display: none;
}
.hb-submenu li a {
    display: block;
    padding: 10px 12px;
    color: #1f2937;
    font-size: 13px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    border: 0;
}
.hb-submenu li a:hover {
    background: #f3f6fc;
    color: var(--hb-navy);
}

/* Chỉ desktop: mở submenu khi hover/focus — tránh xung đột với menu accordion trên mobile */
@media (min-width: 993px) {
    .hb-menu > li:hover > .hb-submenu,
    .hb-menu > li:focus-within > .hb-submenu {
        display: block;
    }
}

/* Dải giới thiệu */
.hb-intro {
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 0;
    font-size: 14px;
    color: #334155;
    text-align: center;
    border-left: 4px solid var(--hb-gold-line);
    margin: 0 auto;
    width: min(1170px, 94%);
    margin-top: 0;
}

/* Hero — gradient navy như hero-apollo */
.hb-hero {
    background: linear-gradient(135deg, #0b2345 0%, #174074 45%, #0a1f3d 100%);
    color: #fff;
    padding: 48px 0 56px;
    text-align: center;
    position: relative;
}
.hb-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 60L60 0' stroke='%23ffffff' stroke-opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
}
.hb-hero .hb-container {
    position: relative;
    z-index: 1;
}
.hb-hero h1 {
    font-family: "Roboto Condensed", system-ui, "Segoe UI", Arial, sans-serif;
    font-size: clamp(22px, 4vw, 34px);
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.3;
}
.hb-hero p {
    max-width: 760px;
    margin: 0 auto 20px;
    color: #e2e8f0;
    font-size: 15px;
}
.hb-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.hb-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
}
.hb-btn--light {
    background: var(--hb-gold);
    color: #fff;
    border: 2px solid var(--hb-gold);
}
.hb-btn--light:hover { background: var(--hb-gold-strong); border-color: var(--hb-gold-strong); }
.hb-btn--outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.85);
}
.hb-btn--outline:hover { background: rgba(255, 255, 255, 0.1); }

/* Cao hơn .hb-page a { color: inherit } trong hero */
.hb-page a.hb-btn--light {
    color: #fff;
}
.hb-page a.hb-btn--light:hover {
    color: #fff;
}
.hb-page a.hb-btn--outline {
    color: #fff;
}
.hb-page a.hb-btn--outline:hover {
    color: #fff;
}

.hb-hero__media {
    margin-top: 28px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    border: 4px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    border-radius: 10px;
    overflow: hidden;
}
.hb-hero__media img {
    width: 100%;
    display: block;
    max-height: 340px;
    object-fit: cover;
}

/* Khối DỊCH VỤ */
.hb-block {
    padding: 40px 0 48px;
    background: #eef2f7;
}
.hb-block--alt { background: #f8fafc; }

/* Dịch vụ — bố cục kiểu luathungbach.vn (2 cột, thẻ nội dung + viền trái vàng) */
.hb-block--lhb-svc {
    background: #fff;
    border-top: 1px solid #e8ecf2;
    border-bottom: 1px solid #e8ecf2;
    padding-top: 44px;
    padding-bottom: 52px;
}

.hb-lhb-svc {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 32px;
    margin-top: 4px;
}

.hb-lhb-svc__item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: #fafbfc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--hb-gold-line);
    padding: 20px 22px 22px 20px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-left-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hb-lhb-svc__item:hover {
    border-left-color: var(--hb-navy);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
    background: #fff;
}

.hb-lhb-svc__icon {
    flex-shrink: 0;
    width: 76px;
    height: 76px;
    border-radius: 12px;
    background: linear-gradient(155deg, var(--hb-navy-deep) 0%, var(--hb-navy) 50%, var(--hb-navy-soft) 100%);
    border: 2px solid var(--hb-gold-line);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hb-lhb-svc__item:hover .hb-lhb-svc__icon {
    border-color: var(--hb-gold-strong);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 14px rgba(11, 35, 69, 0.25);
}

.hb-lhb-svc__svg {
    width: 42px;
    height: 42px;
    display: block;
}

.hb-lhb-svc__body {
    flex: 1;
    min-width: 0;
}

.hb-lhb-svc__name {
    display: block;
    font-family: "Roboto Condensed", system-ui, "Segoe UI", "Arial Narrow", Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--hb-navy);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.35;
    margin-bottom: 12px;
}

.hb-lhb-svc__lead {
    display: block;
    font-size: 14px;
    line-height: 1.65;
    color: #4b5563;
}

/* Tránh .hb-page a:hover làm cả khối đổi màu khó đọc */
.hb-page .hb-lhb-svc__item:hover {
    color: inherit;
}

.hb-page .hb-lhb-svc__item:hover .hb-lhb-svc__name {
    color: var(--hb-navy-mid);
}

.hb-page .hb-lhb-svc__item:hover .hb-lhb-svc__lead {
    color: #374151;
}
.hb-section-title {
      font-family: "Roboto Condensed", system-ui, "Segoe UI", Arial, sans-serif;
      text-align: center;
      font-size: 26px;
      font-weight: 700;
      color: var(--hb-navy);
      text-transform: uppercase;
      letter-spacing: 0.06em;
      margin: 0 0 8px;
}
.hb-section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: var(--hb-gold-line);
    margin: 14px auto 28px;
}

/* Lưới tin */
.hb-news-wrap {
    background: #fff;
    padding: 28px 16px 40px;
    margin: 0 auto;
    width: min(1170px, 94%);
    border: 1px solid #e2e8f0;
    border-top: none;
}
.hb-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.hb-news-grid--6 {
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}
.hb-news-col__head {
    background: var(--hb-navy);
    color: #fff;
    font-family: "Roboto Condensed", system-ui, "Segoe UI", Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 10px 10px;
    margin: 0 0 0;
    letter-spacing: 0.02em;
}
.hb-news-col__list {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-top: none;
}
.hb-news-col__list li {
    border-bottom: 1px dashed #ccc;
    padding: 0;
}
.hb-news-col__list li:last-child { border-bottom: none; }
.hb-news-col__list a {
    display: block;
    padding: 12px 10px;
    font-size: 12px;
    font-weight: 700;
    color: #222;
    line-height: 1.45;
}
.hb-news-col__list a:hover { background: #f3f6fc; color: var(--hb-navy); }
.hb-news-col__list small {
    display: block;
    font-weight: 400;
    color: #666;
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.4;
}

.hb-news-grid--cards .hb-news-col__list a.hb-news-item {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 10px;
}

.hb-news-item__thumb {
    display: block;
    width: 86px;
    height: 64px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    background: #f1f5f9;
}

.hb-news-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hb-news-item__body {
    display: block;
    min-width: 0;
    font-size: 12px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.45;
}

.hb-news-item__body small {
    display: block;
    font-weight: 400;
    color: #64748b;
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.35;
}

/* Liên hệ */
.hb-contact {
    background: #eef2f7;
    padding: 40px 0;
}
.hb-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.hb-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 22px;
    border-top: 4px solid var(--hb-gold);
    border-radius: 0 0 8px 8px;
}
.hb-card h3 {
    margin: 0 0 14px;
    font-family: "Roboto Condensed", system-ui, "Segoe UI", Arial, sans-serif;
    color: var(--hb-navy);
    text-transform: uppercase;
    font-size: 18px;
}
.hb-card p { margin: 0 0 10px; color: #444; }
.hb-card form { display: grid; gap: 10px; margin-top: 8px; }
.hb-card input, .hb-card textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    font: inherit;
    border-radius: 6px;
}
.hb-card textarea { min-height: 110px; resize: vertical; }
.hb-card .hb-submit {
    background: var(--hb-gold);
    color: #fff;
    border: none;
    padding: 12px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 6px;
}
.hb-card .hb-submit:hover { background: var(--hb-gold-strong); }

.hb-alert-ok {
    background: #e8f5e9;
    color: #1b5e20;
    border: 1px solid #a5d6a7;
    padding: 10px;
    margin-bottom: 12px;
    font-size: 14px;
}
.hb-alert-err {
    background: #ffebee;
    color: #b71c1c;
    border: 1px solid #ef9a9a;
    padding: 10px;
    margin-bottom: 12px;
    font-size: 14px;
}

/* Footer */
.hb-footer {
    background: var(--hb-navy-deep);
    color: #cbd5e1;
    padding: 28px 0 20px;
    font-size: 13px;
}
.hb-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    justify-content: center;
    margin-bottom: 16px;
}
.hb-footer__links a { color: #e2e8f0; }
.hb-footer__links a:hover { color: #fcd34d; }
.hb-footer__copy {
    text-align: center;
    color: #94a3b8;
    margin: 0;
}

@media (max-width: 1200px) {
    .hb-news-grid--6 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hb-strip {
        font-size: 12px;
    }
    .hb-strip .hb-container {
        justify-content: center;
        text-align: center;
        padding: 8px 10px;
    }
    .hb-head {
        padding: 14px 0 16px;
    }
    .hb-head__logo {
        width: 72px;
        height: 72px;
        font-size: 11px;
    }
    .hb-head__company {
        font-size: clamp(17px, 4.5vw, 22px);
        line-height: 1.3;
    }
    .hb-head__tagline {
        font-size: 13px;
        line-height: 1.45;
    }

    .hb-nav {
        border-top-width: 2px;
        box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    }
    .hb-nav .hb-container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .hb-lhb-svc {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .hb-news-grid { grid-template-columns: 1fr; }
    .hb-news-grid--6 { grid-template-columns: repeat(2, 1fr); }
    .hb-contact-grid { grid-template-columns: 1fr; }

    .hb-menu {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 0;
        padding: 0;
        border-radius: 0;
    }
    .hb-menu > li {
        width: 100%;
        border-bottom: 1px solid #e2e8f0;
    }
    .hb-menu > li:last-child {
        border-bottom: 0;
    }
    .hb-menu > li > a,
    .hb-menu > li > .hb-menu__parent > a {
        border-right: none;
        border-left: none;
        border-bottom: 0;
        text-align: left;
        color: var(--hb-navy);
        padding: 16px 14px;
        font-size: 15px;
        letter-spacing: 0.02em;
        min-height: 52px;
        display: flex;
        align-items: center;
        -webkit-tap-highlight-color: rgba(11, 35, 69, 0.08);
        touch-action: manipulation;
    }
    .hb-menu > li > a:hover,
    .hb-menu > li > .hb-menu__parent > a:hover {
        background: var(--hb-accent-soft);
        color: var(--hb-navy);
    }
    .hb-menu > li:first-child > a {
        border-left: 0;
    }
    .hb-menu__has-sub .hb-menu__parent > a::after {
        content: none;
    }
    .hb-menu__parent {
        align-items: stretch;
    }
    .hb-submenu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 52px;
        min-height: 52px;
        padding: 0 16px;
        border: 0;
        border-left: 1px solid #e2e8f0;
        border-bottom: 0;
        border-radius: 0;
        background: #fafbfc;
        color: var(--hb-navy);
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        user-select: none;
    }
    .hb-submenu-toggle:hover,
    .hb-submenu-toggle:focus-visible {
        background: #eef2f7;
        outline: 2px solid var(--hb-gold-line);
        outline-offset: -2px;
    }
    .hb-menu__has-sub.hb-submenu-open > .hb-menu__parent > .hb-submenu-toggle {
        background: #eef2f7;
        color: var(--hb-navy-deep);
    }

    .hb-submenu {
        position: static;
        display: none;
        overflow: hidden;
        min-width: auto;
        margin: 0;
        border: 0;
        border-radius: 0;
        box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.06);
        background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%);
        padding: 6px 0 10px;
        border-top: 1px solid #e2e8f0;
    }
    .hb-menu__has-sub.hb-submenu-open > .hb-submenu {
        display: block;
    }
    .hb-submenu li a {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 12px 14px 12px 22px;
        color: #334155;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.35;
        border-bottom: 1px solid #e2e8f0;
        border-left: 4px solid transparent;
        -webkit-tap-highlight-color: rgba(11, 35, 69, 0.06);
        touch-action: manipulation;
    }
    .hb-submenu li:last-child a {
        border-bottom: 0;
    }
    .hb-submenu li a:hover,
    .hb-submenu li a:active {
        background: rgba(255, 255, 255, 0.9);
        color: var(--hb-navy);
        border-left-color: var(--hb-gold-line);
    }
}

/* Mobile — nút 3 gạch + panel trượt (mọi trang, kể cả trang chủ) */
@media (max-width: 992px) {
    .hb-nav__burger {
        display: flex;
        z-index: 600;
    }
    .hb-head__wrap {
        /* Cân bằng với nút menu trái (48px + lề) — căn giữa logo + tiêu đề */
        padding-left: 54px;
        padding-right: 54px;
        text-align: center;
    }
    .hb-nav {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(300px, 86vw);
        max-width: 100%;
        margin: 0;
        z-index: 500;
        transform: translateX(-100%);
        visibility: visible;
        transition: transform 0.28s ease;
        border-top: 3px solid var(--hb-gold-line);
        border-right: 1px solid #e2e8f0;
        border-bottom: 0;
        box-shadow: 8px 0 32px rgba(15, 23, 42, 0.22);
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-top: max(10px, env(safe-area-inset-top));
        padding-bottom: env(safe-area-inset-bottom);
    }
    .hb-nav.hb-nav--open {
        transform: translateX(0);
    }
    .hb-nav .hb-container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    /* Đóng menu: nút chuyển sang góc phải trên nền mờ — không đè lên panel */
    body.hb-nav-drawer-open .hb-nav__burger {
        position: fixed;
        left: auto;
        right: max(12px, env(safe-area-inset-right));
        top: max(10px, env(safe-area-inset-top));
        transform: none;
        z-index: 560;
        box-shadow: 0 2px 14px rgba(15, 23, 42, 0.22);
    }
    .hb-nav__backdrop {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 450;
        background: rgba(15, 23, 42, 0.48);
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    body.hb-nav-drawer-open .hb-nav__backdrop {
        display: block;
    }
}

@media (min-width: 993px) {
    .hb-nav__burger {
        display: none !important;
    }
    body.hb-nav-drawer-open {
        overflow: auto !important;
    }
    body.hb-nav-drawer-open .hb-nav__backdrop {
        display: none !important;
    }
}

@media (max-width: 520px) {
    .hb-lhb-svc__item {
        padding: 16px 14px 18px 14px;
        gap: 14px;
    }
    .hb-lhb-svc__icon {
        width: 64px;
        height: 64px;
        border-radius: 10px;
    }
    .hb-lhb-svc__svg {
        width: 34px;
        height: 34px;
    }
    .hb-lhb-svc__name {
        font-size: 15px;
    }
    .hb-news-grid--6 { grid-template-columns: 1fr; }
}
