:root {
    --font-body: 'Montserrat', sans-serif;
    --font-heading: 'Anton', sans-serif;
}

h1, h2, h3, h4, h5, h6,
.font-display {
    font-family: var(--font-heading);
    font-weight: 400;
}

.text-gradient {
    background: linear-gradient(135deg, #f5911f 0%, #ffb347 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-gradient {
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 55%, #f8fafc 100%);
}

.hero-video-banner {
    min-height: 100vh;
    min-height: 100dvh;
}

.hero-video-banner video {
    object-fit: cover;
}

.hero-video-overlay {
    background: linear-gradient(
        90deg,
        rgba(0, 60, 28, 0.72) 0%,
        rgba(0, 60, 28, 0.45) 35%,
        rgba(0, 0, 0, 0.15) 65%,
        transparent 100%
    );
}

.glass-header {
    background: rgba(0, 104, 45, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transform: translateY(0);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.glass-header.header--hidden {
    transform: translateY(-100%);
    pointer-events: none;
}

/* Fixed sidebar navigation - từng icon riêng */
#sidebar-nav {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 0.35rem 0;
}

.sidebar-item {
    position: relative;
    width: 2.75rem;
    flex-shrink: 0;
}

.sidebar-item:hover {
    z-index: 70;
}

.sidebar-icon {
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #008d40 0%, #00682d 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-right: none;
    border-radius: 0.625rem 0 0 0.625rem;
    box-shadow: -3px 2px 14px rgba(0, 0, 0, 0.28);
    cursor: default;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.sidebar-icon svg {
    width: 1.125rem;
    height: 1.125rem;
    color: #fff;
    pointer-events: none;
}

.sidebar-item:hover .sidebar-icon {
    background: linear-gradient(145deg, #f5911f 0%, #e07d10 100%);
    transform: translateX(-2px);
    box-shadow: -5px 2px 18px rgba(245, 145, 31, 0.35);
}

.sidebar-dropdown {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    background: linear-gradient(165deg, rgba(0, 104, 45, 0.98) 0%, rgba(0, 90, 39, 0.98) 100%);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-right: none;
    border-radius: 0.625rem 0 0 0.625rem;
    box-shadow: -6px 0 28px rgba(0, 0, 0, 0.38);
    transition: width 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.22s ease, visibility 0.22s ease, max-height 0.28s ease;
}

.sidebar-item:hover .sidebar-dropdown {
    width: min(19rem, calc(100vw - 4rem));
    max-height: 24rem;
    opacity: 1;
    visibility: visible;
}

.sidebar-dropdown-inner {
    width: min(19rem, calc(100vw - 4rem));
    max-height: 24rem;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(245, 145, 31, 0.45) transparent;
}

.sidebar-dropdown-inner::-webkit-scrollbar {
    width: 3px;
}

.sidebar-dropdown-inner::-webkit-scrollbar-thumb {
    background: rgba(245, 145, 31, 0.45);
    border-radius: 3px;
}

.sidebar-parent {
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    background: rgba(245, 145, 31, 0.18);
    border-left: 3px solid #f5911f;
}

.sidebar-parent-num {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: #f5911f;
    color: #fff;
    font-size: 0.625rem;
    font-weight: 800;
}

.sidebar-children {
    padding: 0.3rem 0 0.45rem;
}

.sidebar-child {
    display: block;
    padding: 0.4rem 1rem 0.4rem 2.15rem;
    font-size: 0.78rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.78);
    transition: color 0.2s ease, background 0.2s ease, padding-left 0.2s ease;
    position: relative;
}

.sidebar-child::before {
    content: '';
    position: absolute;
    left: 1.25rem;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(162, 209, 73, 0.7);
    transform: translateY(-50%);
    transition: background 0.2s ease;
}

.sidebar-child:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    padding-left: 2.3rem;
}

.sidebar-child:hover::before {
    background: #f5911f;
}

@media (max-width: 640px) {
    #sidebar-nav {
        top: auto;
        bottom: 5.5rem;
        transform: none;
        gap: 0.35rem;
    }

    .sidebar-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
}

/* Highlight stats section */
.highlights-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.highlights-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/bg-con-so.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.22;
    pointer-events: none;
    z-index: 0;
}

.highlights-section::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.highlights-container {
    position: relative;
    z-index: 2;
    max-width: 1112px;
    margin: 0 auto;
    padding: 0 16px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

@media (min-width: 768px) {
    .highlights-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
}

.highlight-stat {
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    transition: transform 0.35s ease;
}

.highlight-stat:hover {
    animation: highlight-stat-float 1.6s ease-in-out infinite;
}

@keyframes highlight-stat-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@media (min-width: 768px) {
    .highlight-stat {
        padding: 24px 12px;
        gap: 10px;
    }
}

.highlight-stat-number {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0.35rem;
    line-height: 1.1;
}

.highlight-stat-value {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.95))
            drop-shadow(0 2px 10px rgba(255, 255, 255, 0.55))
            drop-shadow(0 4px 18px rgba(255, 255, 255, 0.28));
}

@media (min-width: 768px) {
    .highlight-stat-value {
        font-size: clamp(1.75rem, 2.5vw, 2.75rem);
    }
}

@media (min-width: 1280px) {
    .highlight-stat-value {
        font-size: 3rem;
    }
}

.highlight-stat-unit {
    font-size: clamp(0.8125rem, 2vw, 1.125rem);
    font-weight: 700;
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.9))
            drop-shadow(0 2px 8px rgba(255, 255, 255, 0.45));
}

@media (min-width: 768px) {
    .highlight-stat-unit {
        font-size: 1.25rem;
    }
}

.highlight-stat-label {
    font-size: 0.8125rem;
    line-height: 1.35;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0 8px;
}

@media (min-width: 768px) {
    .highlight-stat-label {
        font-size: 0.9375rem;
    }
}

@media (min-width: 1280px) {
    .highlight-stat-label {
        font-size: 1.05rem;
    }
}

.highlight-stat-value,
.highlight-stat-unit,
.highlight-stat-label {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight-stat--green .highlight-stat-value,
.highlight-stat--green .highlight-stat-unit {
    background-image: linear-gradient(180deg, #00a851 0%, #009347 100%);
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.95))
            drop-shadow(0 2px 10px rgba(255, 255, 255, 0.55))
            drop-shadow(0 4px 16px rgba(0, 168, 81, 0.18));
}

.highlight-stat--green .highlight-stat-label {
    background-image: linear-gradient(180deg, #f6a14f 0%, #e0882a 100%);
}

.highlight-stat--orange .highlight-stat-value,
.highlight-stat--orange .highlight-stat-unit {
    background-image: linear-gradient(180deg, #f6a14f 0%, #e0882a 100%);
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.95))
            drop-shadow(0 2px 10px rgba(255, 255, 255, 0.55))
            drop-shadow(0 4px 16px rgba(246, 161, 79, 0.22));
}

.highlight-stat--orange .highlight-stat-label {
    background-image: linear-gradient(180deg, #00a851 0%, #009347 100%);
}

.highlight-stat--center-last {
    grid-column: span 2;
}

@media (min-width: 768px) {
    .highlight-stat--center-last {
        grid-column: 2 / 3;
    }
}

.highlights-charts {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .highlights-charts {
        margin-top: 4rem;
        grid-template-columns: 3fr 2fr;
        gap: 2rem;
    }
}

.highlights-chart-card {
    padding: 1.75rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 147, 71, 0.12);
    box-shadow: 0 8px 32px rgba(0, 77, 38, 0.08);
    backdrop-filter: blur(6px);
}

.fade-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.65s ease,
        transform 0.65s ease;
    transition-delay: var(--fade-delay, 0ms);
    will-change: opacity, transform;
}

.fade-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* Single page layout */
body.single-page {
    font-family: var(--font-body);
    font-weight: 400;
}

body.single-page .single-banner__title,
body.single-page .single-content__title,
body.single-page .single-content__body h3,
body.single-page .single-nav__parent {
    font-family: var(--font-heading);
    font-weight: 400;
}

body.single-page .single-nav__link--active,
body.single-page .single-content__signature strong {
    font-weight: 600;
}

.single-banner {
    position: relative;
    min-height: 220px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .single-banner {
        min-height: 280px;
    }
}

.single-banner__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 60, 28, 0.78) 0%,
        rgba(0, 104, 45, 0.55) 45%,
        rgba(0, 0, 0, 0.25) 100%
    );
}

.single-banner__content {
    position: relative;
    z-index: 1;
    max-width: 1112px;
    margin: 0 auto;
    padding: 3rem 1rem 2.5rem;
    display: flex;
    align-items: flex-end;
    min-height: inherit;
}

@media (min-width: 768px) {
    .single-banner__content {
        padding: 3.5rem 1rem 2.75rem;
    }
}

.single-banner__title {
    font-family: var(--font-heading);
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.single-breadcrumb {
    background: #f8faf9;
    border-bottom: 1px solid rgba(0, 147, 71, 0.12);
}

.single-breadcrumb__inner {
    max-width: 1112px;
    margin: 0 auto;
    padding: 0.85rem 1rem;
}

.single-breadcrumb__list {
    font-family: var(--font-body);
    font-weight: 400;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    font-size: 0.8125rem;
    color: #64748b;
}

.single-breadcrumb__list a {
    color: #009347;
    transition: color 0.2s ease;
}

.single-breadcrumb__list a:hover {
    color: #00682d;
}

.single-breadcrumb__sep {
    color: #cbd5e1;
}

.single-breadcrumb__current {
    color: #334155;
}

.single-layout {
    max-width: 1112px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .single-layout {
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 2.5rem;
        padding-top: 2.5rem;
    }
}

.single-nav {
    align-self: start;
}

@media (min-width: 1024px) {
    .single-nav {
        position: sticky;
        top: 6.5rem;
    }
}

.single-nav__parent {
    font-family: var(--font-heading);
    padding: 0.9rem 1rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    background: linear-gradient(145deg, #008d40 0%, #00682d 100%);
    border-radius: 0.75rem 0.75rem 0 0;
    border-left: 3px solid #f5911f;
}

.single-nav__list {
    list-style: none;
    margin: 0;
    padding: 0.35rem 0;
    background: #fff;
    border: 1px solid rgba(0, 147, 71, 0.12);
    border-top: none;
    border-radius: 0 0 0.75rem 0.75rem;
    box-shadow: 0 8px 24px rgba(0, 77, 38, 0.06);
}

.single-nav__link {
    font-family: var(--font-body);
    font-weight: 400;
    display: block;
    padding: 0.65rem 1rem 0.65rem 1.35rem;
    font-size: 0.875rem;
    line-height: 1.4;
    color: #475569;
    border-left: 3px solid transparent;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.single-nav__link:hover {
    color: #009347;
    background: rgba(0, 147, 71, 0.05);
}

.single-nav__link--active {
    color: #009347;
    font-weight: 600;
    background: rgba(0, 147, 71, 0.08);
    border-left-color: #f5911f;
}

.single-content {
    min-width: 0;
}

.single-content__title {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.5vw, 1.875rem);
    color: #009347;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.25;
    margin-bottom: 1.5rem;
}

.single-content__body {
    font-family: var(--font-body);
    font-weight: 400;
    color: #334155;
    font-size: 0.9375rem;
    line-height: 1.75;
}

.single-content__body p,
.single-content__body li {
    font-family: var(--font-body);
    font-weight: 400;
}

.single-content__body p + p {
    margin-top: 1rem;
}

.single-content__figure {
    margin: 1.5rem 0;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid rgba(0, 147, 71, 0.12);
    box-shadow: 0 8px 24px rgba(0, 60, 28, 0.08);
}

.single-content__figure img {
    display: block;
    width: 100%;
    height: auto;
}

.single-content__gallery {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
}

.single-content__gallery img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    border: 1px solid rgba(0, 147, 71, 0.12);
    box-shadow: 0 8px 24px rgba(0, 60, 28, 0.08);
}

@media (min-width: 768px) {
    .single-content__gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .single-content__gallery img:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}

.single-content__body :is(h1, h2, h3, h4, h5, h6) {
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    color: #009347;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.single-content__signature {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 147, 71, 0.12);
}

.single-content__signature strong {
    font-family: var(--font-body);
    display: block;
    color: #009347;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.single-content__signature span {
    font-family: var(--font-body);
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 400;
}

/* Toàn site: mọi thẻ h1–h6 dùng Anton (ưu tiên cao, sau Tailwind) */
body :is(h1, h2, h3, h4, h5, h6) {
    font-family: var(--font-heading);
    font-weight: 400;
}
