@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&display=swap');

/* Header, footer and homepage styling follow the supplied HTML proposal. */
html { scroll-behavior: smooth; }
body.nhv-site {
    margin: 0;
    background: #f5f7fa;
    color: #14202e;
    font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Arial, sans-serif !important;
    line-height: 1.6;
}
body.nhv-site *, body.nhv-site *:before, body.nhv-site *:after { box-sizing: border-box; }
body.nhv-site a { color: inherit; text-decoration: none; }
body.nhv-site img { max-width: 100%; }
.nhv-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.nhv-top { background: #0b2a4a; color: #cfe0f2; font-size: 13px; }
.nhv-top .nhv-wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.nhv-top b { color: #fff; }
.nhv-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid #e1e7ee; }
.nhv-nav { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.nhv-logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; font-weight: 700; color: #143f6b !important; letter-spacing: .3px; line-height: 1.25; }
.nhv-logo i { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, #f26a1b, #ff9a4d); display: grid; place-items: center; color: #fff; font-style: normal; }
.nhv-logo span { display: block; text-transform: uppercase; padding: 0 0 0 5px;}
.nhv-logo small { display: block; font-size: 10.5px; font-weight: 500; color: #5b6b7c; letter-spacing: 1.5px; }
.nhv-main-menu { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.nhv-main-menu > a { padding: 8px 10px; border-radius: 8px; font-weight: 500; font-size: 14px; color: #5b6b7c; white-space: nowrap; }
.nhv-main-menu > a:hover, .nhv-main-menu > a.on { background: #eaf0f6; color: #14202e; }
.nhv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #f26a1b; color: #fff !important; font-weight: 700; padding: 12px 22px; border-radius: 10px; border: 0; font-size: 15px; cursor: pointer; text-align: center; }
.nhv-btn:hover { background: #df5b12; color: #fff !important; }
.nhv-header-call { white-space: nowrap; }

.nhv-home { --nhv-bg: #f5f7fa; --nhv-surface: #fff; --nhv-text: #14202e; --nhv-muted: #5b6b7c; --nhv-line: #e1e7ee; --nhv-brand: #0b2a4a; --nhv-brand2: #143f6b; --nhv-accent: #f26a1b; --nhv-chip: #eaf0f6; color: var(--nhv-text); background: var(--nhv-bg); }
.nhv-home .nhv-svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.nhv-home .nhv-hero { background: radial-gradient(900px 400px at 85% 0, #1d5a95 0, transparent 60%), linear-gradient(160deg, var(--nhv-brand), var(--nhv-brand2)); color: #fff; }
.nhv-home .nhv-hero-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; padding-top: 72px; padding-bottom: 72px; align-items: center; }
.nhv-home .nhv-tag { display: inline-block; background: rgba(242,106,27,.18); color: #ffb888; border: 1px solid rgba(242,106,27,.4); padding: 4px 12px; border-radius: 99px; font-size: 13px; font-weight: 600; }
.nhv-home .nhv-hero h1 { font-size: clamp(28px, 4.4vw, 46px); line-height: 1.18; margin: 16px 0; font-weight: 700; color: #fff; }
.nhv-home .nhv-hero p { color: #cfe0f2; font-size: 17px; max-width: 540px; margin: 0; }
.nhv-home .nhv-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.nhv-home .nhv-btn-ghost { background: transparent; border: 1.5px solid rgba(255,255,255,.4); }
.nhv-home .nhv-btn-ghost:hover { background: rgba(255,255,255,.12); }
.nhv-home .nhv-quote-panel { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 18px; padding: 24px; backdrop-filter: blur(6px); }
.nhv-home .nhv-quote-panel h3 { margin: 0 0 14px; font-size: 16px; color: #fff; font-weight: 700; }
.nhv-home .nhv-quote-form label { display: block; font-size: 13px; color: #cfe0f2; margin: 10px 0 4px; }
.nhv-home .nhv-quote-form select, .nhv-home .nhv-quote-form input { box-sizing: border-box; width: 100%; padding: 11px 12px; border-radius: 9px; border: 0; font: inherit; background: #fff; color: #14202e; min-height: 44px; }
.nhv-home .nhv-quote-form .nhv-btn { width: 100%; margin-top: 16px; }
.nhv-home .nhv-stats { margin-top: -34px; position: relative; }
.nhv-home .nhv-stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--nhv-surface); border: 1px solid var(--nhv-line); border-radius: 16px; box-shadow: 0 10px 30px rgba(11,42,74,.12); padding: 22px 10px; max-width: 1140px; }
.nhv-home .nhv-stat { text-align: center; padding: 4px 8px; }
.nhv-home .nhv-stat b { display: block; font-size: 30px; color: var(--nhv-accent); line-height: 1.2; }
.nhv-home .nhv-stat span { font-size: 13.5px; color: var(--nhv-muted); }
.nhv-home .nhv-section { padding: 64px 0 0; }
.nhv-home .nhv-section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 26px; }
.nhv-home .nhv-section-head h2 { margin: 0; font-size: 28px; font-weight: 700; color: var(--nhv-text); line-height: 1.3; }
.nhv-home .nhv-section-head p { margin: 4px 0 0; color: var(--nhv-muted); }
.nhv-home .nhv-section-head > a { color: var(--nhv-accent); font-weight: 600; white-space: nowrap; }
.nhv-home .nhv-categories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.nhv-home .nhv-category-card { display: block; background: var(--nhv-surface); border: 1px solid var(--nhv-line); border-radius: 14px; padding: 20px; transition: .2s; }
.nhv-home .nhv-category-card:hover { transform: translateY(-3px); border-color: var(--nhv-accent); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.nhv-home .nhv-category-card h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; line-height: 1.4; color: var(--nhv-text); }
.nhv-home .nhv-category-card ul { margin: 8px 0 0; padding: 0; list-style: none; color: var(--nhv-muted); font-size: 14px; }
.nhv-home .nhv-category-card li { padding: 2px 0; }
.nhv-home .nhv-category-card li:before { content: "›"; color: var(--nhv-accent); margin-right: 8px; font-weight: 700; }
.nhv-home .nhv-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--nhv-chip); display: grid; place-items: center; margin-bottom: 12px; color: var(--nhv-accent); }
.nhv-home .nhv-product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.nhv-home .nhv-product-card { background: var(--nhv-surface); border: 1px solid var(--nhv-line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.nhv-home .nhv-product-thumb { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #dfe8f2, #c4d4e6); display: grid; place-items: center; color: #4a6a8c; overflow: hidden; }
.nhv-home .nhv-product-thumb img { width: 100%; height: 100%; object-fit: contain; }
.nhv-home .nhv-product-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.nhv-home .nhv-product-body h3 { margin: 0; font-size: 15px; line-height: 1.4; font-weight: 700; }
.nhv-home .nhv-product-body h3 a { color: var(--nhv-text); }
.nhv-home .nhv-product-code { color: var(--nhv-muted); font-size: 13px; }
.nhv-home .nhv-product-more { margin-top: auto; color: var(--nhv-accent); font-weight: 600; font-size: 14px; }
.nhv-home .nhv-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.nhv-home .nhv-why-card { background: var(--nhv-surface); border: 1px solid var(--nhv-line); border-radius: 14px; padding: 22px; }
.nhv-home .nhv-why-card > svg { color: var(--nhv-accent); }
.nhv-home .nhv-why-card h3 { margin: 10px 0 4px; font-size: 16px; font-weight: 700; color: var(--nhv-text); }
.nhv-home .nhv-why-card p { margin: 0; color: var(--nhv-muted); font-size: 14px; }
.nhv-home .nhv-why-card p a { color: var(--nhv-accent); }
.nhv-home .nhv-news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.nhv-home .nhv-news-card { display: block; background: var(--nhv-surface); border: 1px solid var(--nhv-line); border-radius: 14px; padding: 20px; }
.nhv-home .nhv-news-card h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; line-height: 1.45; color: var(--nhv-text); }
.nhv-home .nhv-news-card p { margin: 0; color: var(--nhv-muted); font-size: 14px; }
.nhv-home .nhv-faq-wrap { max-width: 860px; }
.nhv-home .nhv-faq-item { background: var(--nhv-surface); border: 1px solid var(--nhv-line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.nhv-home .nhv-faq-item summary { font-weight: 600; cursor: pointer; color: var(--nhv-text); }
.nhv-home .nhv-faq-item p { color: var(--nhv-muted); margin: 10px 0 0; }
.nhv-home .nhv-contact-band { margin-top: 64px; background: linear-gradient(120deg, #0b2a4a, #143f6b); color: #fff; }
.nhv-home .nhv-contact-band .nhv-wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 40px; padding-bottom: 40px; flex-wrap: wrap; }
.nhv-home .nhv-contact-band h2 { margin: 0; font-size: 26px; color: #fff; font-weight: 700; }
.nhv-home .nhv-contact-band p { margin: 4px 0 0; color: #cfe0f2; }

.nhv-footer { background: #08182a; color: #a9bbcf; font-size: 14px; padding-top: 44px; padding-bottom: 24px; }
.nhv-footer .nhv-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.nhv-footer h5 { color: #fff; margin: 0 0 10px; font-size: 15px; font-weight: 700; line-height: 1.5; }
.nhv-footer p { margin: 0 0 7px; }
.nhv-footer a { display: block; padding: 2px 0; color: #a9bbcf; }
.nhv-footer a:hover { color: #fff; }
.nhv-footer-company h5 { text-transform: uppercase; }
.nhv-footer .nhv-copy { text-align: center; margin-top: 30px; color: #6f849b; font-size: 13px; }

/* ==========================================
   NHV MAIN MENU - DROPDOWN LEVEL 2 & 3
========================================== */

.nhv-main-menu {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.nhv-main-menu-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nhv-main-menu-item {
    position: relative;
    list-style: none;
}

.nhv-main-menu-item > a {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14.5px;
    color: #5b6b7c;
    white-space: nowrap;
    text-decoration: none;
}

.nhv-main-menu-item > a:hover,
.nhv-main-menu-item > a.on {
    background: #eaf0f6;
    color: #14202e;
}

.nhv-menu-arrow {
    font-size: 10px;
    margin-left: 3px;
}

/* Dropdown chung */
.nhv-menu-dropdown {
    display: none;
    position: absolute;
    list-style: none;
    margin: 0;
    padding: 6px 0;
    min-width: 260px;
    background: #fff;
    border: 1px solid #e1e7ee;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    z-index: 1000;
}

/* Menu cấp 2 */
.nhv-menu-dropdown-level-2 {
    top: 100%;
    left: 0;
}

/* Menu cấp 3 */
.nhv-menu-dropdown-level-3 {
    top: -7px;
    left: 100%;
}

/* Item dropdown */
.nhv-menu-dropdown-item {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nhv-menu-dropdown-item > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 10px 16px;
    color: #263746 !important;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none !important;
    white-space: normal;
}

.nhv-menu-dropdown-item > a:hover {
    background: #f5f7fa;
    color: #f26a1b !important;
}

/* Hover mở menu cấp 2 */
.nhv-main-menu-item:hover > .nhv-menu-dropdown-level-2,
.nhv-main-menu-item:focus-within > .nhv-menu-dropdown-level-2 {
    display: block;
}

/* Hover mở menu cấp 3 */
.nhv-menu-dropdown-item:hover > .nhv-menu-dropdown-level-3,
.nhv-menu-dropdown-item:focus-within > .nhv-menu-dropdown-level-3 {
    display: block;
}

/* Responsive */
@media (max-width: 900px) {
    .nhv-main-menu {
        display: none;
    }
}


@media (prefers-color-scheme: dark) {
    body.nhv-site:not([data-theme="light"]) { background: #0c131b; color: #e8eef5; }
}
@media (max-width: 900px) {
    .nhv-home .nhv-hero-layout { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 56px; }
    .nhv-home .nhv-categories, .nhv-home .nhv-news-grid { grid-template-columns: 1fr 1fr; }
    .nhv-home .nhv-product-grid, .nhv-home .nhv-why-grid { grid-template-columns: 1fr 1fr; }
    .nhv-home .nhv-stats-inner { grid-template-columns: 1fr 1fr; gap: 12px; }
    .nhv-footer .nhv-footer-grid { grid-template-columns: 1fr; }
    .nhv-main-menu { display: none; }
}
@media (max-width: 560px) {
    .nhv-home .nhv-categories, .nhv-home .nhv-news-grid, .nhv-home .nhv-product-grid, .nhv-home .nhv-why-grid { grid-template-columns: 1fr; }
    .nhv-top .nhv-wrap span:last-child { display: none; }
    .nhv-nav { gap: 12px; }
    .nhv-logo { font-size: 13px; }
    .nhv-logo small { font-size: 8px; letter-spacing: 1px; }
    .nhv-header-call { padding: 10px 12px; font-size: 12px; }
    .nhv-home .nhv-section-head h2 { font-size: 23px; }
    .nhv-home .nhv-contact-band h2 { font-size: 22px; }
}
