:root {
    /* Bảng màu lấy từ thiết kế Claude Design mới (dark theme, xanh lá LED) */
    --color-bg: #08120B;
    --color-bg-alt: #06140B;
    --color-surface: #0C100D;
    --color-surface-2: #0E1410;
    --color-surface-3: #131A15;
    --color-footer: #0B0F0C;
    --color-border: #1B241E;
    --color-border-strong: #2F4A3A;

    --color-brand: #47D67F;
    --color-brand-hover: #7FE7A6;
    --color-brand-deep: #2F4A3A;
    --color-brand-tint: rgba(71, 214, 127, .09);
    --color-brand-tint-strong: rgba(71, 214, 127, .15);
    --color-warm: #D97757;

    --color-text: #E8EFE9;
    --color-text-soft: #C3CFC6;
    --color-muted: #9FAEA4;
    --color-muted-2: #8A998F;
    --color-faint: #6F7E74;
    --color-ink: #06140B;

    --max-width: 1280px;
    --radius: 14px;
    --radius-sm: 10px;
    --radius-lg: 16px;
    --radius-pill: 999px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .3);
    --shadow-md: 0 14px 34px rgba(0, 0, 0, .35);
    --shadow-lg: 0 26px 70px rgba(0, 0, 0, .55);
    --shadow-glow: 0 0 90px rgba(71, 214, 127, .09);

    --font-sans: "Be Vietnam Pro", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-display: "Space Grotesk", var(--font-sans);
    --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--color-text-soft);
    line-height: 1.65;
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-brand); text-decoration: none; }
a:hover { color: var(--color-brand-hover); }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 600; font-family: var(--font-display); color: var(--color-text); letter-spacing: -.02em; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 1.5rem + 1.8vw, 3rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); letter-spacing: -.03em; }
h3 { font-size: 1.1rem; }

p { margin: 0 0 1em; }

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 1.75rem; }

.eyebrow {
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--color-brand);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--color-brand);
    color: var(--color-ink);
    font-weight: 600;
    font-size: .95rem;
    padding: .85rem 1.6rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { background: var(--color-brand-hover); color: var(--color-ink); transform: translateY(-2px); text-decoration: none; }
.btn-outline { background: transparent; color: var(--color-text); border: 1px solid var(--color-border-strong); }
.btn-outline:hover { background: transparent; border-color: var(--color-brand); color: var(--color-text); }

/* ---------- Topbar ---------- */
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 28px;
    background: var(--color-surface-3);
    border-bottom: 1px solid var(--color-border);
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .05em;
    color: var(--color-muted-2);
}
.topbar a { color: var(--color-brand); }
@media (max-width: 1080px) {
    .topbar-hotline { display: none; }
}
@media (max-width: 640px) {
    .topbar { padding: 8px 16px; }
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 28px;
    background: rgba(8, 10, 9, .94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--color-border);
}
.site-header .logo {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--color-text);
}
.logo-mark {
    display: grid;
    grid-template-columns: repeat(3, 5px);
    grid-template-rows: repeat(3, 5px);
    gap: 2px;
    padding: 6px;
    background: var(--color-brand);
    border-radius: 6px;
    flex-shrink: 0;
}
.logo-mark i { background: var(--color-ink); border-radius: 1px; }
.logo-mark i:nth-child(5) { background: rgba(8, 18, 11, .25); }
.logo-word { display: flex; flex-direction: column; line-height: 1; }
.logo-word b { font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: .01em; }
.logo-word span { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .26em; color: var(--color-brand); margin-top: 4px; }

.main-nav { display: flex; align-items: center; gap: 2px; font-size: 14.5px; font-weight: 500; }
.main-nav > a {
    display: block;
    padding: 11px 14px;
    color: var(--color-text-soft);
    border-radius: var(--radius-sm);
    transition: color .15s ease, background .15s ease;
}
.main-nav > a:hover { color: var(--color-text); background: var(--color-surface-2); text-decoration: none; }
.main-nav > a.is-active { color: var(--color-brand); }

.nav-mega-wrap { position: relative; }
.nav-mega {
    position: absolute;
    top: 100%;
    left: -14px;
    width: 720px;
    max-width: 88vw;
    padding: 26px 28px;
    background: var(--color-surface-2);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.nav-mega-wrap:hover .nav-mega,
.nav-mega-wrap:focus-within .nav-mega,
.nav-mega-wrap.is-open .nav-mega { display: grid; }
.nav-mega-group-title {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: .12em;
    color: var(--color-faint);
    text-transform: uppercase;
    padding-bottom: 9px;
    border-bottom: 1px solid var(--color-surface-3);
}
.nav-mega-links { display: flex; flex-direction: column; gap: 9px; margin-top: 12px; font-size: 14px; }
.nav-mega-links a { color: var(--color-text-soft); }
.nav-mega-links a:hover { color: var(--color-brand); }

.nav-burger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--color-text);
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}
.nav-burger span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 10px 20px 22px;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}
.mobile-nav a { padding: 12px 4px; color: var(--color-text-soft); font-size: 15px; border-bottom: 1px solid var(--color-border); }
.mobile-nav a:hover { color: var(--color-brand); text-decoration: none; }
body.nav-open .mobile-nav { display: flex; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { background: var(--color-surface); border-bottom: 1px solid var(--color-border); font-size: .82rem; color: var(--color-muted); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding-top: .65rem; padding-bottom: .65rem; }
.breadcrumbs a { color: var(--color-muted); font-weight: 500; }
.breadcrumbs a:hover { color: var(--color-brand); }
.breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: .4rem; color: var(--color-faint); }
.breadcrumbs li[aria-current] { color: var(--color-text); font-weight: 600; }

/* ---------- Main ---------- */
.site-main { padding-bottom: 3.5rem; min-height: 40vh; }
.page-content { padding-top: 2rem; }

/* Tinted banner header used at the top of listing/detail pages without a hero image */
.page-header {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2.4rem 2rem;
    margin: 2rem 0 2.5rem;
    text-align: center;
}
.page-header h1 { margin-bottom: .4rem; }
.page-header .intro { color: var(--color-muted); max-width: 60ch; margin: 0 auto; }

/* Full-bleed image banner used on detail pages that have a hero image */
.page-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    color: var(--color-text);
    margin-bottom: 2.5rem;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 10, 9, .55), rgba(6, 10, 9, .92));
}
.page-hero .wrap { position: relative; padding: 4rem 1.25rem 3rem; }
.page-hero h1 { color: var(--color-text); margin-bottom: .5rem; }
.page-hero .meta { display: flex; flex-wrap: wrap; gap: 1.25rem; color: var(--color-muted); font-size: .9rem; margin: 0; }
.page-hero .meta span { display: inline-flex; align-items: center; }

.intro { color: var(--color-muted); }

/* Richtext H2 trong thân bài Giải pháp được style để trông giống các khối
   mục riêng (vd "Khuyến nghị cấu hình" / "Hạng mục thi công" / "Vận hành và
   bảo trì") mà không cần đổi model - biên tập viên chỉ cần dùng heading H2. */
.solution-page .body h2 {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}
.solution-page .body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }

/* ---------- Homepage hero (carousel dạng slide) ---------- */
.hero {
    position: relative;
    min-height: 64vh;
    color: var(--color-text);
    background: radial-gradient(120% 90% at 82% 30%, rgba(71, 214, 127, .15), transparent 60%), #080A09;
    background-image:
        linear-gradient(#12190F 1px, transparent 1px),
        linear-gradient(90deg, #12190F 1px, transparent 1px),
        radial-gradient(120% 90% at 82% 30%, rgba(71, 214, 127, .15), transparent 60%);
    background-size: 64px 64px, 64px 64px, auto;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .7s ease;
}
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 10, 9, .92) 0%, rgba(6, 10, 9, .55) 55%, rgba(6, 10, 9, .3) 100%);
}
.hero-slide .wrap { position: relative; z-index: 2; }
.hero-slide h1 { max-width: 18ch; }
.hero-slide .subtitle { max-width: 55ch; margin: 1.3rem 0 1.75rem; font-size: 1.05rem; color: var(--color-muted); }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 12px;
    border: 1px solid var(--color-brand-deep);
    border-radius: var(--radius-pill);
    background: var(--color-brand-tint);
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .1em;
    color: var(--color-brand);
    text-transform: uppercase;
}
.hero-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--color-brand); display: block; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    border: 1px solid var(--color-border-strong);
    background: rgba(8, 10, 9, .55);
    color: var(--color-text);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, border-color .2s ease;
}
.hero-nav:hover { background: var(--color-surface-2); border-color: var(--color-brand); }
.hero-prev { left: 1.5rem; }
.hero-next { right: 1.5rem; }

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 1.75rem;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: .5rem;
}
.hero-dot {
    width: .55rem;
    height: .55rem;
    border-radius: 50%;
    border: none;
    background: var(--color-border-strong);
    cursor: pointer;
    padding: 0;
    transition: background .2s ease, transform .2s ease;
}
.hero-dot:hover { background: var(--color-muted); }
.hero-dot.is-active { background: var(--color-brand); transform: scale(1.3); }

@media (max-width: 640px) {
    .hero-nav { width: 2.25rem; height: 2.25rem; font-size: 1.2rem; }
    .hero-prev { left: .6rem; }
    .hero-next { right: .6rem; }
}

/* ---------- Stat bar (trust bar, mới trong thiết kế) ---------- */
.stat-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 2.5rem;
    padding-top: 26px;
    border-top: 1px solid var(--color-border);
    font-family: var(--font-mono);
}
.stat-bar .stat-value { font-size: 1.55rem; color: var(--color-text); }
.stat-bar .stat-value small { font-size: .8rem; color: var(--color-faint); margin-left: .2em; }
.stat-bar .stat-label { font-size: .68rem; letter-spacing: .08em; color: var(--color-faint); text-transform: uppercase; margin-top: 5px; }

/* Icon nav cards on homepage (giữ tương thích, restyle tối) */
.home-nav-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin: 2.5rem auto 0;
}
.home-nav-cards .card {
    text-align: center;
    padding: 2rem 1.25rem;
}
.home-nav-cards .icon {
    width: 3.25rem;
    height: 3.25rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--color-brand-tint-strong);
    color: var(--color-brand);
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-nav-cards .card .card-title { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--color-text); }

/* ---------- Section titles ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 2.25rem; }
.section-head .section-eyebrow-title h2 { margin: 12px 0 0; }
.section-head .section-more-link { font-family: var(--font-mono); font-size: .82rem; white-space: nowrap; }
.section-head.is-centered { text-align: center; justify-content: center; max-width: 60ch; margin-left: auto; margin-right: auto; }
.section-head p { color: var(--color-muted); margin-top: .5rem; }

section + section { margin-top: 3rem; }

.section-more { text-align: center; margin-top: 1.75rem; }
.section-more a { font-weight: 600; font-family: var(--font-mono); font-size: .85rem; }

/* About teaser band on homepage */
.about-teaser {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    margin-top: 4rem;
    text-align: center;
}
.about-teaser-inner { max-width: 68ch; margin: 0 auto; }
.about-teaser .intro { margin-bottom: 1.5rem; }

/* ---------- Card grids (product/solution/case listings) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.1rem; margin: 1.5rem 0; }

.featured-categories .card-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1080px) { .featured-categories .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .featured-categories .card-grid { grid-template-columns: 1fr; } }

.product-index-page .card-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    color: var(--color-text);
    display: block;
    background: var(--color-surface);
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card:hover {
    border-color: var(--color-border-strong);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}
.card .image-wrap { overflow: hidden; aspect-ratio: 4/3; background: var(--color-surface-2); }
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform .45s cubic-bezier(.22, 1, .36, 1); }
.card:hover img { transform: scale(1.06); }
.card h3 { padding: 1.1rem 1.1rem .3rem; margin: 0; font-size: 1.05rem; font-family: var(--font-display); }
.card .card-body p { padding: 0 1.1rem; margin: 0 0 1.1rem; font-size: .88rem; color: var(--color-muted-2); }
.card .category {
    display: inline-block;
    margin: 0 1.1rem 1rem;
    font-family: var(--font-mono);
    font-size: .68rem;
    letter-spacing: .06em;
    color: var(--color-brand);
    text-transform: uppercase;
}

/* "Xem tất cả" CTA card */
.card-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    height: 100%;
    min-height: 220px;
    text-align: center;
    padding: 1.5rem;
    background: var(--color-brand);
    color: var(--color-ink);
    border: none;
    transition: background .2s ease, transform .2s ease;
}
.card-cta:hover {
    background: var(--color-brand-hover);
    transform: translateY(-4px);
}
.card-cta .icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(6, 20, 11, .16);
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-cta h3 { padding: 0; color: var(--color-ink); display: flex; align-items: center; gap: .4rem; justify-content: center; }
.card-cta .arrow { display: inline-block; transition: transform .25s ease; }
.card-cta:hover .arrow { transform: translateX(6px); }

/* ---------- Product category sidebar ---------- */
.product-layout { display: grid; grid-template-columns: 250px 1fr; gap: 2.25rem; align-items: start; }
.product-main { min-width: 0; }
.category-sidebar {
    position: sticky;
    top: 5.5rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.25rem 1.1rem;
}
.category-sidebar-title {
    margin: 0 0 .75rem;
    font-family: var(--font-mono);
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--color-faint);
}
.category-tree, .category-tree ul { list-style: none; margin: 0; padding: 0; }
.category-tree ul { padding-left: .9rem; margin-top: .15rem; border-left: 1px solid var(--color-border); }
.category-tree li { margin: .1rem 0; }
.category-tree a {
    display: block;
    padding: .4rem .55rem;
    border-radius: var(--radius-sm);
    font-size: .88rem;
    color: var(--color-text-soft);
    line-height: 1.35;
}
.category-tree a:hover { background: var(--color-surface-2); text-decoration: none; }
.category-tree li.is-active-path > a:not(.is-current) { color: var(--color-brand); font-weight: 600; }
.category-tree a.is-current { background: var(--color-brand); color: var(--color-ink); font-weight: 600; }
.category-tree a.is-current:hover { background: var(--color-brand-hover); }

@media (max-width: 1080px) {
    .product-layout { grid-template-columns: 1fr; }
    .category-sidebar { position: static; }
}

/* ---------- Product page ---------- */
.product-page .short-description { font-size: 1.05rem; color: var(--color-muted); }
.case-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.case-gallery img { border-radius: var(--radius-sm); border: 1px solid var(--color-border); }

/* Gallery sản phẩm: 1 ảnh lớn + hàng thumbnail bên dưới, click thumbnail để
   đổi ảnh lớn (data-product-gallery, xử lý qua mooncell.js) thay vì chỉ hiện
   1 lưới ảnh cùng cỡ như trước. */
.product-gallery { margin: 1.5rem 0; }
.product-gallery-main {
    aspect-ratio: 4/3;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    overflow: hidden;
    background: var(--color-surface-2);
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.product-gallery-thumb {
    aspect-ratio: 4/3;
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--color-surface-2);
    cursor: pointer;
    transition: border-color .15s ease;
}
.product-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-gallery-thumb:hover { border-color: var(--color-border-strong); }
.product-gallery-thumb.is-active { border-color: var(--color-brand); }
.product-gallery-single { border-radius: var(--radius); border: 1px solid var(--color-border); margin: 1.5rem 0; }

/* Tabs */
.tabs .tab-buttons { display: flex; gap: .5rem; border-bottom: 1px solid var(--color-border); margin: 2rem 0 1.5rem; flex-wrap: wrap; }
.tabs .tab-buttons button {
    border: none;
    background: none;
    padding: .7rem 1.2rem;
    cursor: pointer;
    font-size: .95rem;
    font-weight: 600;
    color: var(--color-muted);
    border-bottom: 2px solid transparent;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    transition: color .15s ease, background .15s ease;
}
.tabs .tab-buttons button:hover { color: var(--color-brand); background: var(--color-surface); }
.tabs .tab-buttons button.active { border-bottom-color: var(--color-brand); color: var(--color-brand); }

/* Spec table - phải scroll ngang trên mobile, không được vỡ layout */
.table-scroll { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--color-border); }
.spec-table { border-collapse: collapse; width: 100%; min-width: 480px; font-family: var(--font-mono); font-size: .85rem; }
.spec-table th, .spec-table td { border-bottom: 1px solid var(--color-border); padding: .7rem 1rem; text-align: left; white-space: nowrap; }
.spec-table thead th { background: var(--color-surface); color: var(--color-text); font-weight: 600; letter-spacing: .04em; }
.spec-table tbody tr:hover { background: var(--color-surface); }

.download-list { list-style: none; padding: 0; display: grid; gap: .6rem; }
.download-list li {
    padding: .85rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    display: flex;
    gap: .75rem;
    align-items: center;
    flex-wrap: wrap;
    transition: background .15s ease, border-color .15s ease;
}
.download-list li:hover { background: var(--color-surface); border-color: var(--color-border-strong); }
.doc-type, .doc-date { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .04em; color: var(--color-muted); background: var(--color-surface-2); padding: .15rem .5rem; border-radius: var(--radius-pill); }

.related { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--color-border); }
.related ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.related li a {
    display: inline-block;
    padding: .5rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    font-size: .88rem;
    font-weight: 500;
    color: var(--color-text-soft);
}
.related li a:hover { border-color: var(--color-brand); color: var(--color-brand); background: var(--color-surface); text-decoration: none; }

/* ---------- News list ---------- */
.news-list { display: grid; gap: 1.1rem; margin: 1.5rem 0; }
.news-item {
    display: flex;
    gap: 1.25rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1rem;
    color: var(--color-text-soft);
    background: var(--color-surface);
    transition: border-color .2s ease, transform .2s ease;
}
.news-item:hover { border-color: var(--color-border-strong); transform: translateY(-2px); text-decoration: none; }
.news-item img { width: 200px; flex-shrink: 0; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--radius-sm); }
.news-item h3 { margin: .3rem 0; }
.news-item p { color: var(--color-muted-2); margin: 0; }
.news-type {
    font-family: var(--font-mono);
    font-size: .68rem;
    color: var(--color-brand);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-right: .6rem;
}
.news-date { font-family: var(--font-mono); font-size: .72rem; color: var(--color-faint); }
.page-content > .meta { display: flex; flex-wrap: wrap; gap: 1rem; color: var(--color-muted); font-size: .9rem; margin-bottom: 1.5rem; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .75rem; margin-top: 1.5rem; }
.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 0 1.1rem;
    background: var(--color-surface);
}
.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--color-text);
    padding: 1.1rem 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    color: var(--color-brand);
    font-size: 1.3rem;
    font-weight: 400;
    transition: transform .2s ease;
    margin-left: 1rem;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { border-bottom: 1px solid var(--color-border); }
.faq-item .answer { padding: .9rem 0 1.1rem; color: var(--color-muted-2); }

/* ---------- About page: timeline + honors ---------- */
.timeline { margin-top: 2.5rem; }
.timeline-entry {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.25rem 0;
    border-left: 2px solid var(--color-border);
    padding-left: 1.5rem;
    margin-left: .5rem;
    position: relative;
}
.timeline-entry::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 1.6rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-brand);
    box-shadow: 0 0 0 4px var(--color-brand-tint-strong);
}
.timeline-entry img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--radius-sm); }
.timeline-entry .year { font-family: var(--font-mono); color: var(--color-brand); font-weight: 600; font-size: .85rem; }
.timeline-entry h3 { margin: .2rem 0; }
.timeline-entry p { color: var(--color-muted-2); margin: 0; }

.honors { margin-top: 2.5rem; }
.honors-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.1rem; margin-top: 1.5rem; }
.honor {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    text-align: center;
    background: var(--color-surface);
}
.honor img { aspect-ratio: 3/2; object-fit: cover; }
.honor p { padding: .8rem; margin: 0; font-weight: 600; font-size: .88rem; color: var(--color-text-soft); }

/* ---------- Partners marquee (mới) ---------- */
.partners-marquee {
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.partners-marquee-track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.partners-marquee:hover .partners-marquee-track { animation-play-state: paused; }
.partner-logo {
    width: 200px;
    flex-shrink: 0;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-left: 1px solid var(--color-border);
    background: var(--color-surface);
    text-align: center;
}
.partner-logo img { max-height: 32px; width: auto; filter: grayscale(1) brightness(1.6); opacity: .75; transition: filter .2s ease, opacity .2s ease; }
.partner-logo:hover img { filter: none; opacity: 1; }
.partner-logo-mark {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border-strong);
    background: var(--color-surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-brand);
}
.partner-logo-name {
    font-family: var(--font-mono);
    font-size: .68rem;
    letter-spacing: .04em;
    color: var(--color-faint);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .partners-marquee-track { animation: none; }
}

/* ---------- Testimonials (mới) ---------- */
.testimonial-carousel { position: relative; overflow: hidden; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testimonial-slide { display: none; }
.testimonial-slide.is-active { display: grid; animation: testimonial-in .4s ease; }
@keyframes testimonial-in {
    from { opacity: 0; transform: translateX(14px); }
    to { opacity: 1; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
    .testimonial-slide.is-active { animation: none; }
}
.testimonial-card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
    padding: 26px;
}
.testimonial-card blockquote {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--color-text);
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--color-border);
}
.testimonial-author img,
.testimonial-author-avatar {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial-author-avatar {
    display: block;
    background:
        repeating-linear-gradient(135deg, rgba(71, 214, 127, .12) 0 5px, transparent 5px 11px),
        var(--color-surface-2);
}

.testimonial-nav { display: flex; align-items: center; gap: 10px; }
.testimonial-nav button {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--color-text);
    font-size: 16px;
    cursor: pointer;
    transition: border-color .15s ease, color .15s ease;
}
.testimonial-nav button:hover { border-color: var(--color-brand); color: var(--color-brand); }
.testimonial-author-name { font-weight: 600; font-size: .9rem; color: var(--color-text); }
.testimonial-author-role { font-size: .8rem; color: var(--color-muted-2); }

@media (max-width: 1080px) {
    .testimonial-grid { grid-template-columns: 1fr; }
}

/* ---------- Forms ---------- */
form {
    max-width: 640px;
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 1.75rem;
    margin-top: 1.5rem;
    border: 1px solid var(--color-border);
}
form p { margin: 0 0 1.1rem; }
form label { display: block; font-weight: 600; color: var(--color-text); margin-bottom: .4rem; font-size: .92rem; }
form input, form textarea, form select {
    width: 100%;
    padding: .65rem .85rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font: inherit;
    color: var(--color-text);
    background: var(--color-surface-2);
    transition: border-color .15s ease, box-shadow .15s ease;
}
form input:focus, form textarea:focus, form select:focus {
    outline: none;
    border-color: var(--color-brand);
    box-shadow: 0 0 0 3px var(--color-brand-tint);
}
form textarea { min-height: 140px; resize: vertical; }
form button[type="submit"] {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--color-brand);
    color: var(--color-ink);
    font-weight: 600;
    font-size: .95rem;
    padding: .8rem 1.8rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease;
}
form button[type="submit"]:hover { background: var(--color-brand-hover); transform: translateY(-2px); }

/* ---------- Search ---------- */
.site-main form[action*="search"] { display: flex; gap: .6rem; max-width: 480px; background: none; border: none; padding: 0; margin: 1rem 0 2rem; }
.site-main form[action*="search"] input[type="text"] { flex: 1; }
.site-main form[action*="search"] input[type="submit"] {
    background: var(--color-brand);
    color: var(--color-ink);
    border: none;
    border-radius: var(--radius-sm);
    padding: .65rem 1.4rem;
    cursor: pointer;
    font-weight: 600;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--color-footer); color: var(--color-muted-2); margin-top: 4rem; padding: 3.5rem 0 1.5rem; border-top: 1px solid var(--color-border); }
.site-footer .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(178px, 1fr)); gap: 1.9rem; padding-bottom: 2rem; }
.site-footer .footer-brand .logo { color: var(--color-text); font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.site-footer .footer-brand .logo .accent { color: var(--color-brand); }
.site-footer .footer-brand p { font-size: .88rem; margin-top: .9rem; line-height: 1.7; }
.site-footer h2 { color: var(--color-text); font-size: .92rem; font-weight: 600; margin-bottom: .75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { color: var(--color-muted-2); font-size: .9rem; }
.site-footer a:hover { color: var(--color-brand); }
.site-footer .footer-bottom { border-top: 1px solid var(--color-border); padding-top: 1.25rem; font-size: .82rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }

/* ---------- Scroll-reveal (IntersectionObserver gắn class .reveal/.is-visible qua mooncell.js) ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.card-grid .card.reveal:nth-child(1) { transition-delay: .02s; }
.card-grid .card.reveal:nth-child(2) { transition-delay: .08s; }
.card-grid .card.reveal:nth-child(3) { transition-delay: .14s; }
.card-grid .card.reveal:nth-child(4) { transition-delay: .2s; }
.card-grid .card.reveal:nth-child(5) { transition-delay: .26s; }
.card-grid .card.reveal:nth-child(6) { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .card:hover, .card-cta:hover { transform: none; }
}

/* ---------- Responsive (theo breakpoint từ thiết kế: 1080 / 720 / 560) ---------- */
@media (max-width: 1080px) {
    .main-nav { display: none; }
    .nav-burger { display: flex; }
    .site-header { padding: 12px 20px; }
}
@media (max-width: 820px) {
    .home-nav-cards { margin-top: 2rem; }
}
@media (max-width: 720px) {
    .testimonial-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .news-item { flex-direction: column; }
    .news-item img { width: 100%; }
    .page-header { padding: 1.75rem 1.25rem; }
    .timeline-entry { grid-template-columns: 1fr; }
    .timeline-entry img { width: 72px; height: 72px; }
    .hero { min-height: 56vh; }
}
@media (max-width: 560px) {
    .stat-bar { gap: 20px 28px; }
    .wrap { padding: 0 1.1rem; }
}
