/* ============================================================
   STYLE.CSS — vietanalytics
   ============================================================ */

/* ─────────────────────────────────────────
   0. DESIGN TOKENS — đặt ĐẦU TIÊN
   (phải trước tất cả vì các section sau dùng var())
───────────────────────────────────────── */
:root {
    --brand-green:        #3D6B35;
    --brand-green-dark:   #2d5228;
    --brand-green-light:  #eef4ec;
    --brand-green-mid:    #5a8f50;
    --brand-black:        #1c1c1c;
    --brand-dark:         #2a2a2a;
    --brand-gray:         #6b7280;
    --brand-gray-light:   #f4f6f4;
    --brand-border:       #dde5db;
    --brand-white:        #ffffff;
    --brand-green-pale:   #eef3ed;   /* xanh rêu cực nhạt — tông xanh lá của logo */

    --header-topbar-h:    36px;
    --header-navbar-h:    68px;
    --header-total-h:     calc(var(--header-topbar-h) + var(--header-navbar-h));
    --header-bg:          rgba(255, 255, 255, 0.92);
    --header-blur-bg:     rgba(255, 255, 255, 0.92);  /* fix: thiếu biến này */
    --header-border:      var(--brand-border);
    --topbar-bg:          var(--brand-dark);
    --topbar-text:        #b0bfae;
    --nav-text:           var(--brand-black);
    --nav-hover:          var(--brand-green);
    --dropdown-bg:        var(--brand-white);
    --dropdown-shadow:    0 8px 32px rgba(0, 0, 0, 0.10);

    --font-sans:          'Montserrat', sans-serif;
    --font-size-base:     14px;
    --line-height-base:   1.6;

    --section-py:         48px;
    --container-max:      1280px;
    --container-px:       24px;
    --radius-sm:          4px;
    --radius-md:          8px;
    --radius-lg:          12px;

    --shadow-card:        0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-hover:       0 8px 32px rgba(61, 107, 53, 0.15);
    --transition:         0.22s ease;
}


/* ─────────────────────────────────────────
   1. FONT
───────────────────────────────────────── */
@font-face {
    font-family: 'Montserrat'; font-style: normal; font-weight: 400;
    font-display: swap;
    src: local('Montserrat Regular'), local('Montserrat-Regular'),
         url('https://fonts.gstatic.com/s/montserrat/v14/JTUSjIg1i6t8kCHKm45xW4.ttf') format('truetype');
}
@font-face {
    font-family: 'Montserrat'; font-style: normal; font-weight: 500;
    font-display: swap;
    src: local('Montserrat Medium'), local('Montserrat-Medium'),
         url('https://fonts.gstatic.com/s/montserrat/v14/JTURjIg1i6t8kCHKm45ZpC7g4.ttf') format('truetype');
}
@font-face {
    font-family: 'Montserrat'; font-style: normal; font-weight: 600;
    font-display: swap;
    src: local('Montserrat SemiBold'), local('Montserrat-SemiBold'),
         url('https://fonts.gstatic.com/s/montserrat/v14/JTURjIg1i6t8kCHKm45bZF7g4.ttf') format('truetype');
}
@font-face {
    font-family: 'Montserrat'; font-style: normal; font-weight: 700;
    font-display: swap;
    src: local('Montserrat Bold'), local('Montserrat-Bold'),
         url('https://fonts.gstatic.com/s/montserrat/v14/JTURjIg1i6t8kCHKm45dJE7g4.ttf') format('truetype');
}


/* ─────────────────────────────────────────
   2. RESET
───────────────────────────────────────── */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre, a,
abbr, acronym, address, big, cite, code, del, dfn, em, img,
ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt,
var, b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, caption,
article, aside, canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output, ruby,
section, summary, time, mark, audio, video {
    margin: 0; padding: 0; border: 0;
    font-size: 100%; font: inherit; vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { display: block; }
body        { line-height: 1; }
ol, ul      { list-style: none; }
blockquote, q { quotes: none; }
blockquote::before, blockquote::after,
q::before, q::after { content: ''; content: none; }
table       { border-collapse: collapse; border-spacing: 0; }


/* ─────────────────────────────────────────
   3. BOX SIZING
───────────────────────────────────────── */
html { box-sizing: border-box; }
*, *::after, *::before { box-sizing: inherit; }


/* ─────────────────────────────────────────
   4. BASE
───────────────────────────────────────── */
html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}
body {
    font-family: var(--font-sans);
    background: var(--brand-gray-light);
    color: var(--brand-black);
    padding-top: var(--header-total-h);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: var(--line-height-base);
}
a, button, input, textarea, select {
    outline: 0;
    -webkit-appearance: none;
    appearance: none;
}
img { display: block; max-width: 100%; height: auto; }


/* ─────────────────────────────────────────
   5. TYPOGRAPHY
───────────────────────────────────────── */

/* style.css dòng ~144 */
h1 { font-size: 26px; font-weight: 700; line-height: 1.3; padding: 13px 0; color: var(--brand-black); font-family: var(--font-sans); }
h2 { font-size: 23px; font-weight: 700; line-height: 1.3; padding: 13px 0; color: var(--brand-black); font-family: var(--font-sans); }
h3 { font-size: 20px; font-weight: 600; line-height: 1.3; padding: 13px 0; color: var(--brand-black); font-family: var(--font-sans); }
h4 { font-size: 17px; font-weight: 600; line-height: 1.3; padding: 13px 0; color: var(--brand-black); font-family: var(--font-sans); }
h5 { font-size: 16px; font-weight: 600; line-height: 1.3; padding: 13px 0; color: var(--brand-black); font-family: var(--font-sans); }
h6 { font-size: 15px; font-weight: 600; line-height: 1.3; padding: 13px 0; color: var(--brand-black); font-family: var(--font-sans); }

strong { font-weight: 600; }

p {
    color: var(--brand-black);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    margin-bottom: 20px;
}
p a       { color: var(--brand-green); text-decoration: none; }
p a:hover { color: var(--brand-green-dark); text-decoration: underline; }

hr {
    border: none;
    border-top: 1px solid var(--brand-border);
    margin: 15px 0;
}

/* Blockquote */
blockquote {
    font: 18px/26px var(--font-sans);
    position: relative;
    padding: 3px 0 4px 16px;
    margin-bottom: 23px;
}
blockquote p {
    color: #313131;
    font: 18px/26px var(--font-sans);
    margin: 0;
}
blockquote .author {
    color: var(--brand-gray);
    display: inline-block;
    font: 12px/22px var(--font-sans);
}
.bq-tp-1 { border-left: 3px solid var(--brand-green); }
.bq-tp-3 {
    background: var(--brand-green-light);
    padding: 33px 20px 34px 50px;
}
.bq-tp-3::before {
    content: '\201C';
    color: var(--brand-green);
    font-size: 40px;
    line-height: 1;
    position: absolute; left: 20px; top: 35px;
}
.bq-tp-3 p { color: var(--brand-black); font: 16px/24px Georgia, serif; margin-bottom: 4px; }

/* Lists */
.list { color: #414141; font-size: 14px; margin-bottom: 25px; }
.list li { padding: 6px 0; }
.list i  { margin-right: 10px; }
.mark-list li { padding-left: 20px; position: relative; }
.mark-list li::before {
    color: var(--brand-green); content: '\2022';
    font-size: 11px; line-height: 35px;
    position: absolute; left: 0; top: 0;
}
.num-list { list-style: decimal inside; }

/* Tables */
.tables { color: var(--brand-black); width: 100%; text-align: center; margin-bottom: 30px; }
.tables th {
    background: var(--brand-green-light);
    border: 1px solid var(--brand-border);
    color: var(--brand-black); font-size: 13px; font-weight: 600; padding: 10px;
}
.tables td {
    border: 1px solid var(--brand-border); background: #fff;
    font: 14px/24px Montserrat, sans-serif; padding: 10px;
}

/* Form elements */
.input-tp-1 {
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-sm);
    color: var(--brand-gray);
    font: 12px/26px Montserrat, sans-serif;
    padding: 6px 12px;
    width: 100%;
    transition: border-color var(--transition);
}
.input-tp-1:focus { border-color: var(--brand-green); }

.textarea-tp-1 {
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-sm);
    color: var(--brand-gray);
    font: 12px/26px Montserrat, sans-serif;
    padding: 6px 12px;
    width: 100%; height: 74px; resize: none;
    transition: border-color var(--transition);
}
.textarea-tp-1:focus { border-color: var(--brand-green); }

.label-tp-1 {
    display: inline-block;
    color: var(--brand-green-dark);
    font-size: 11px; font-weight: 600;
    line-height: 21px; margin-bottom: 6px; text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Accordion */
.accordion { margin-bottom: 30px; }
.accordion dt { margin-bottom: 9px; }
.accordion dt a {
    background: var(--brand-green-light);
    border-radius: var(--radius-sm);
    color: var(--brand-black); display: block;
    font-size: 14px; font-weight: 500; line-height: 22px;
    padding: 12px 12px 12px 34px;
    text-decoration: none; position: relative;
    transition: color var(--transition), background var(--transition);
}
.accordion dt a:hover  { color: var(--brand-green); }
.accordion dt .fa {
    font-size: 15px; line-height: 46px;
    position: absolute; left: 12px; top: 0;
    transition: transform 300ms;
}
.accordion dt.open .fa    { color: var(--brand-green); transform: rotate(90deg); }
.accordion dt.open a      { color: var(--brand-green); }
.accordion dd {
    color: var(--brand-gray);
    font-size: 14px; line-height: 24px;
    padding: 12px 0 20px 34px;
}

/* Tabs */
.tabs .tabs-list { margin-bottom: 17px; }
.tabs .tabs-list .tab {
    background: #fff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-sm);
    color: var(--brand-black);
    cursor: pointer; font-size: 12px; font-weight: 500; line-height: 21px;
    float: left; margin-right: 3px; padding: 9px; min-width: 100px; text-align: center;
    transition: all var(--transition);
}
.tabs .tabs-list .tab:hover {
    border-color: var(--brand-green);
    color: var(--brand-green);
}
.tabs .tabs-list .tab.active {
    background: var(--brand-green-light);
    border-color: var(--brand-green);
    color: var(--brand-green-dark);
    font-weight: 600;
}

/* Video embed */
video { width: 100% !important; height: auto !important; }
.video-wrap {
    position: relative; padding-bottom: 56.25%;
    padding-top: 25px; height: 0;
}
.video-wrap iframe {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
}


/* ─────────────────────────────────────────
   6. HELPERS
───────────────────────────────────────── */
.clearfix::after { clear: both; content: ''; display: table; }
.adaptive        { display: block; max-width: 100%; height: auto; }
.pull-left       { float: left; }
.pull-right      { float: right; }
.pull-center     { float: none; margin: 0 auto; }
.text-left       { text-align: left; }
.text-right      { text-align: right; }
.text-center     { text-align: center; }
.align-left      { float: left; margin: 6px 20px 15px 0; }
.align-right     { float: right; margin: 6px 0 15px 20px; }
.align-center    { margin: 0 0 15px; }
.align-center img { margin: 0 auto; }


/* ─────────────────────────────────────────
   7. PAGE LOADER
───────────────────────────────────────── */
.page-loader {
    display: block; width: 100%; height: 100%;
    position: fixed; top: 0; left: 0;
    background: #fff; text-align: center; z-index: 99999;
}
.loader {
    width: 40px; height: 40px;
    position: absolute; top: 50%; left: 50%;
    transform: translate3d(-50%, -50%, 0);
    perspective: 1200px;
}
.flipper {
    position: relative; display: block;
    height: inherit; width: inherit;
    animation: flip 1.2s infinite ease-in-out;
    transform-style: preserve-3d;
}
/* fix: viết đúng cú pháp, không dùng ; sau { */
.front, .back {
    position: absolute; top: 0; left: 0;
    backface-visibility: hidden;
    display: block;
    font: 500 17px/40px Montserrat, sans-serif;
    height: 100%; width: 100%; text-align: center;
}
.front { background: var(--brand-green); }
.back  { background: var(--brand-green-dark); z-index: 800; transform: rotateY(-180deg); }

@keyframes flip {
    0%   { transform: perspective(120px) rotateX(0deg)    rotateY(0deg); }
    50%  { transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg); }
    100% { transform: perspective(120px) rotateX(-180deg)  rotateY(-179.9deg); }
}


/* ─────────────────────────────────────────
   8. ASIDE MENU (Mobile Canvas — Magnific)
───────────────────────────────────────── */
.mfp-bg              { background: #1f2124; }
.mfp-bg.mfp-asd-menu { background: rgba(0, 0, 0, 0.55); }

.mfp-asd-menu .mfp-container { padding: 0; text-align: left; }
.mfp-asd-menu .mfp-content   { background: #fff; width: auto; min-height: 100%; vertical-align: top; }

/* Slide-in từ trái */
.mfp-slide-left.mfp-bg                              { opacity: 0; transition: all 0.15s ease-out; }
.mfp-slide-left.mfp-bg.mfp-ready                    { opacity: 1; }
.mfp-slide-left.mfp-bg.mfp-removing                 { opacity: 0; }
.mfp-slide-left.mfp-wrap .mfp-content               { transform: translateX(-100%); transition: all 0.25s ease-out; }
.mfp-slide-left.mfp-wrap.mfp-ready .mfp-content     { transform: translateX(0); }
.mfp-slide-left.mfp-wrap.mfp-removing .mfp-content  { transform: translateX(-100%); }

/* Panel */
.aside-menu            { padding: 48px 0 0; width: 260px; }
.aside-menu .mfp-close { cursor: pointer; top: 20px; right: 20px; }
.am-container          { padding: 20px 24px 24px; }
.am-container + .am-container { border-top: 1px solid var(--brand-border); }

.am-list .am-item a {
    display: block;
    color: var(--brand-black);
    font: 600 13px/22px Montserrat, sans-serif;
    padding: 9px 0;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: color var(--transition);
}
.am-list .am-item a:hover { color: var(--brand-green); }

/* Submenu trong aside */
.am-sub { padding-left: 14px; margin: 4px 0 8px; }
.am-sub li a {
    font-size: 12px; font-weight: 500;
    padding: 6px 0; text-transform: none; letter-spacing: 0;
    color: var(--brand-gray);
}
.am-sub li a:hover { color: var(--brand-green); }

/* Social + Login trong aside */
.am-container--footer { padding-top: 16px; }
.am-social { display: flex; gap: 14px; margin-top: 12px; }
.am-social a { color: var(--brand-gray); font-size: 16px; transition: color var(--transition); }
.am-social a:hover { color: var(--brand-green); }


/* ─────────────────────────────────────────
   9. PAGINATION
───────────────────────────────────────── */
.page-nav { margin: 20px 0; }
.page-nav::after { clear: both; content: ''; display: table; }
.page-nav .pn-item {
    display: inline-block; min-width: 32px; height: 32px;
    line-height: 30px; text-align: center;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-sm);
    margin: 2px; color: var(--brand-black); text-decoration: none;
    font-size: 13px; font-weight: 500;
    transition: all var(--transition);
}
.page-nav .pn-item:hover,
.page-nav .pn-item.active {
    background: var(--brand-green);
    border-color: var(--brand-green);
    color: #fff;
}


/* ─────────────────────────────────────────
   10. BUTTONS
───────────────────────────────────────── */
.btn-1 {
    appearance: none; color: #fff;
    background: var(--brand-green);
    border-radius: var(--radius-sm); cursor: pointer;
    font: 600 12px/24px Montserrat, sans-serif; border: none;
    display: inline-block; padding: 8px 20px;
    text-align: center; text-decoration: none; text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background var(--transition);
}
.btn-1:hover, .btn-1:active { background: var(--brand-green-dark); }

.btn-6 {
    appearance: none; color: var(--brand-black); background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: 1px 1px 2px rgba(0,0,0,0.04);
    cursor: pointer; font: 500 11px/22px Montserrat, sans-serif;
    border: 1px solid var(--brand-border);
    display: inline-block; padding: 6px 22px;
    text-align: center; text-decoration: none; text-transform: uppercase;
    transition: all var(--transition);
}
.btn-6:hover, .btn-6:active {
    background: var(--brand-green);
    border-color: var(--brand-green);
    color: #fff;
}


/* ─────────────────────────────────────────
   11. POST META
───────────────────────────────────────── */
.meta-tp-1 { font: 400 12px/23px Montserrat, sans-serif; text-transform: uppercase; }
.meta-tp-1 div { display: inline-block; padding: 0 4px 0 0; white-space: nowrap; }
.meta-tp-1 a   { color: inherit; text-decoration: none; }
.meta-tp-1 i   { font-size: 11px; margin: 0 7px 0 0; color: var(--brand-green); }

.meta-tp-2 { color: var(--brand-gray); font: 400 12px/23px Montserrat, sans-serif; text-transform: uppercase; }
.meta-tp-2 div { display: inline-block; padding: 0 13px 0 0; margin: 0 7px 0 0; white-space: nowrap; position: relative; }
.meta-tp-2 a   { color: inherit; text-decoration: none; }
.meta-tp-2 a:hover { color: var(--brand-green); }


/* ─────────────────────────────────────────
   12. CONTENT LAYOUT (trang chi tiết)
───────────────────────────────────────── */
.section {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
    margin-bottom: 45px;
}
.section::after { clear: both; content: ''; display: table; }

.section .content  { float: left; width: 68%; padding: 0 15px; }
.section .side-bar { float: left; width: 32%; padding: 0 15px; }

@media (max-width: 991px) {
    .section .content  { width: 100%; }
    .section .side-bar { display: none; }
}


/* ─────────────────────────────────────────
   13. FOOTER
───────────────────────────────────────── */
/* ── Footer Top: 3 cột ── */
.footer-top {
    display: grid !important;
    grid-template-columns: 1fr 600px 1fr !important;
    grid-template-rows: auto !important;
    gap: 40px;
    align-items: start;
}

/* Column 1: Brand */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.footer-brand__logo img {
    height: 48px;
    width: auto;
}
.footer-brand__name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}
.footer-brand__brief {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    margin: 0;
}
.footer-social {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    gap: 12px;
}
.footer-social a {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: background var(--transition), border-color var(--transition);
}
.footer-social a:hover {
    background: var(--brand-green);
    border-color: var(--brand-green);
    color: #fff;
}

/* Column 2: Sitemap */
.footer-sitemap__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 24px;
}

/* Column 3: Liên hệ */
.footer-contact {
    min-width: 0;
     width: auto;
}
.footer-heading {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffffff;
    margin: 0 0 20px;
}
.footer-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-form__group {
    width: 100%;
}
.footer-form__input {
    width: 100%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 0.875rem;
    color: #ffffff;
    outline: none;
    transition: border-color var(--transition);
    box-sizing: border-box;
}
.footer-form__input::placeholder {
    color: rgba(255,255,255,0.4);
}
.footer-form__input:focus {
    border-color: var(--brand-green);
}
.footer-form__textarea {
    min-height: 90px;
    resize: vertical;
}
.footer-form__submit {
    text-align: right;
}
.footer-form__btn {
    background: var(--brand-green);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 10px 28px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: background var(--transition);
}
.footer-form__btn:hover {
    background: var(--brand-green-dark);
}

/* Bottom bar */
.footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    gap: 24px;
}
.footer-bar__menu {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-bar__menu a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}
.footer-bar__menu a:hover { color: #fff; }
.footer-bar__copy {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
}
.footer-bar__copy a { color: var(--brand-green); }

/* Responsive */
@media (max-width: 1199px) {
    .footer-top { grid-template-columns: 200px 1fr 280px; gap: 32px; }
}
@media (max-width: 991px) {
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 575px) {
    .footer-top { grid-template-columns: 1fr; }
    .footer-sitemap__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─────────────────────────────────────────
   14. MISC
───────────────────────────────────────── */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { display: none; }

.breadcrumbs { margin-bottom: 15px; }
.breadcrumbs::after { clear: both; content: ''; display: table; }

.page-title { margin-bottom: 20px; }
.page-title::after { clear: both; content: ''; display: table; }

/* fix: đổi màu star từ đỏ sang brand-green */
.rate-tp-1 ul { font-size: 0; }
.rate-tp-1 li { display: inline-block; margin-right: 3px; }
.rate-tp-1 li i { color: var(--brand-green); font-size: 12px; }


/* ─────────────────────────────────────────
   15. HOME PAGE LAYOUT
───────────────────────────────────────── */
.main-wrapper { width: 100%; overflow-x: hidden; }

.main .container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

.main section {
    width: 100%;
    padding: var(--section-py) 0;
    clear: both;
}

/* Section title */
.section-title,
.block-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-black);
    margin-bottom: 40px;
    padding-bottom: 12px;
    position: relative;
}
.section-title::before,
.block-title::before {
    content: '';
    display: block;
    width: 36px; height: 3px;
    background: var(--brand-green);
    margin-bottom: 12px;
    border-radius: 2px;
}
.section-title::after,
.block-title::after { content: none; }

/* Grid layout */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: start;
}
.grid-layout > div {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    padding: 24px;
    transition: box-shadow var(--transition), transform var(--transition);
}
.grid-layout > div:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

@media (max-width: 1024px) {
    .grid-layout  { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .main section { padding: 60px 0; }
}
@media (max-width: 767px) {
    .grid-layout  { grid-template-columns: 1fr; gap: 20px; }
    .main section { padding: 40px 0; }
    .section-title,
    .block-title  { font-size: 1.5rem; margin-bottom: 24px; }
}


/* ─────────────────────────────────────────
   16. SITE HEADER
───────────────────────────────────────── */
body { padding-top: var(--header-total-h); }

/* Top bar */
.site-topbar {
    position: fixed;
    top: 0;
    left: 0; right: 0;
    z-index: 1001;                  /* cao hơn navbar */
    background: var(--topbar-bg);
    height: var(--header-topbar-h);
    overflow: hidden;
    transition: height var(--transition), opacity var(--transition);
}
.site-header.scrolled .site-topbar { height: 0; opacity: 0; }

.site-topbar__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
    height: 100%;
    display: flex; align-items: center;
    justify-content: space-between; gap: 16px;
}
.topbar-nav ul {
    display: flex; gap: 20px;
    list-style: none; margin: 0; padding: 0;
}
.topbar-nav a {
    color: var(--topbar-text); font-size: 12px;
    text-decoration: none; letter-spacing: 0.02em;
    transition: color var(--transition);
}
.topbar-nav a:hover { color: var(--brand-white); }

.topbar-right { display: flex; align-items: center; gap: 12px; }

.topbar-social { color: var(--topbar-text); font-size: 13px; transition: color var(--transition); }
.topbar-social:hover { color: var(--brand-white); }

.topbar-login {
    color: #fff; font-size: 12px; font-weight: 600;
    padding: 4px 12px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-sm);
    text-decoration: none; letter-spacing: 0.04em;
    transition: background var(--transition), border-color var(--transition);
}
.topbar-login:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* Navbar */
.site-navbar {
    position: fixed;
    top: var(--header-topbar-h);
    left: 0; right: 0;
    z-index: 1000;
    height: var(--header-navbar-h);
    background: var(--header-bg);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid var(--header-border);
    transition: top var(--transition), box-shadow var(--transition), background var(--transition);
}
.site-header.scrolled .site-navbar { top: 0; }

.site-navbar__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
    height: 100%;
    display: flex; align-items: center; gap: 32px;
}

.navbar-logo { flex-shrink: 0; }
.navbar-logo img { height: 44px; width: auto; display: block; }

.navbar-nav { flex: 1; display: flex; justify-content: flex-end; }
.navbar-nav__list {
    display: flex; align-items: center;
    list-style: none; margin: 0; padding: 0; gap: 4px;
}

.nav-item { position: relative; }
.nav-link {
    display: flex; align-items: center; gap: 5px;
    padding: 8px 14px;
    color: var(--nav-text);
    font-size: 14px; font-weight: 500;
    text-decoration: none;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    transition: color var(--transition), background var(--transition);
}
.nav-link .fa-angle-down { font-size: 11px; transition: transform var(--transition); }
.nav-item:hover > .nav-link { color: var(--nav-hover); background: var(--brand-green-light); }
.nav-item:hover > .nav-link .fa-angle-down { transform: rotate(180deg); }

/* ── Dropdown ── */
.dropdown {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: absolute; top: calc(100% + 8px); left: 0;
    min-width: 220px;
    background: var(--dropdown-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--dropdown-shadow);
    border: 1px solid rgba(0,0,0,0.07);
    padding: 8px 0; list-style: none; z-index: 100;
    transform: translateY(-4px);
    transition: opacity 0.05s ease, visibility 0.05s ease, transform 0.05s ease; /* thời giangiamr -> Đóng ngay*/
}

.nav-item:hover > .dropdown,
.dropdown li:hover > .dropdown,
.dropdown li.sfHover > .dropdown {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 0.05s ease 0.3s,
                visibility 0.08s ease 0.08s,
                transform 0.08s ease 0.08s;
}

.dropdown li { position: relative; }

/* Link trong dropdown */
.dropdown a {
    display: flex;
    align-items: center;
    padding: 9px 20px;
    font-size: 14px;
    color: var(--nav-text);
    text-decoration: none;
    transition: color var(--transition), background var(--transition);
}
.dropdown a:hover,
.dropdown li.sfHover > a {
    color: var(--nav-hover);
    background: var(--brand-green-light);
}

/* Ẩn arrow mặc định của Superfish */
.sf-arrows .sf-with-ul::after,
.sf-menu .sf-with-ul::after { display: none !important; }

/* Icon › cho link có submenu (Superfish gán class sf-with-ul) */
.dropdown a.sf-with-ul {
    justify-content: space-between;
}
.sub-arrow {
    font-size: 18px;
    color: var(--brand-gray);
    margin-left: auto;
    padding-left: 10px;
    line-height: 1;
    flex-shrink: 0;
    transition: color var(--transition), transform var(--transition);
}
.dropdown li:hover > a .sub-arrow,
.dropdown li.sfHover > a .sub-arrow {
    color: var(--brand-green);
    transform: translateX(2px);
}

/* Dropdown level 2 */
.dropdown--level2 {
    top: -8px;
    left: 100%;
    margin-left: 4px;
}

/* Xủ lý chuột di chuyển smooth giữa các cấp menu */
.nav-item > .dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0; right: 0;
    height: 8px;
}

.dropdown--level2::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    left: -4px;
    width: 4px;
}


/* Actions */
.navbar-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-left: 8px; }

.action-btn {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border: none;
    background: transparent; border-radius: var(--radius-sm);
    cursor: pointer; color: var(--nav-text); font-size: 18px;
    transition: color var(--transition), background var(--transition);
}
.action-btn:hover { color: var(--nav-hover); background: var(--brand-green-light); }

.hamburger { display: none; flex-direction: column; gap: 5px; width: 38px; height: 38px; padding: 8px; }
.hamburger__bar { display: block; width: 100%; height: 2px; background: var(--nav-text); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }

/* Search panel */
.navbar-search-panel {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--header-blur-bg);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--header-border);
    padding: 16px var(--container-px);
    z-index: 999;
    animation: dropIn 0.2s ease;
}
.navbar-search-panel.is-open { display: block; }

.search-wrap {
    max-width: 600px; margin: 0 auto;
    display: flex;
    border: 1.5px solid var(--brand-border);
    border-radius: var(--radius-md);
    overflow: hidden; background: #fff;
}
.search-wrap input {
    flex: 1; padding: 10px 16px;
    font-size: 14px; border: none; outline: none; background: transparent;
}
.search-wrap button {
    padding: 0 18px; border: none;
    background: var(--brand-green); color: #fff;
    font-size: 16px; cursor: pointer;
    transition: background var(--transition);
}
.search-wrap button:hover { background: var(--brand-green-dark); }

/* Go top */
.js-go-top {
    position: fixed; bottom: 28px; right: 28px;
    width: 42px; height: 42px;
    background: var(--brand-green); color: #fff;
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; text-decoration: none;
    opacity: 0; pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
    transform: translateY(10px); z-index: 500;
}
.js-go-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.js-go-top.is-hidden  { opacity: 0; pointer-events: none; transform: translateY(10px); }
.js-go-top:hover { background: var(--brand-green-dark); }

/* Mobile */
@media (max-width: 991px) {
    .site-topbar { display: none; }
    body { padding-top: var(--header-navbar-h); }
    .site-navbar { top: 0; }
    .site-header.scrolled .site-navbar { top: 0; }
    .navbar-nav { display: none; }
    .hamburger  { display: flex; }
}

/* ─────────────────────────────────────────
  17. QUOTATION SLIDER
───────────────────────────────────────── */
.quote-section {
    background: var(--brand-gray-light);
    overflow: hidden;
    display: block;
    padding-bottom: 1px; /* buộc section bao trọn con */
}

.trending-posts-line {
    background: var(--brand-gray-light);
}

.quote-slider {
    position: relative;
    width: 100%;
}

/* Ẩn tất cả slides bằng display:none */
.quote-slide {
    display: none;
    align-items: center;
    width: 100%;
    min-height: 420px;
}

/* Chỉ slide active mới hiện */
.quote-slide.is-active {
    display: flex;
}

/* Ảnh trái */
.quote-slide__img {
    max-height: 500px;
    width: 40%;
    flex-shrink: 0;
    align-self: stretch;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.quote-slide__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* Text phải */
.quote-slide__text {
    flex: 1;
    padding: 60px 64px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Khi có class .animate thì hiện ra */
.quote-slide.is-active .quote-slide__text.animate {
    opacity: 1;
    transform: translateY(0);
}
.quote-slide.is-active .quote-slide__img.animate {
    opacity: 1;
    transform: translateX(0);
}

/* Typography */
.quote-slide__text blockquote {
    border: none;
    padding: 0;
    margin: 0;
    background: transparent;
}
.quote-slide__text blockquote p {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--brand-black);
    margin-bottom: 20px;
}
.quote-slide__text blockquote p::after {
    content: '.';
    color: var(--brand-green);
}
.quote-slide__text cite {
    font-size: 14px;
    font-weight: 500;
    color: var(--brand-gray);
    font-style: normal;
    letter-spacing: 0.03em;
}

/* Dots */
.quote-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 60px 0 10px;
}
.quote-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.18);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}
.quote-dot.is-active {
    background: var(--brand-green);
    transform: scale(1.35);
}

@media (max-width: 767px) {
    .quote-slide { flex-direction: column; }
    .quote-slide__img { width: 100%; height: 260px; }
    .quote-slide__text { padding: 32px 24px; }
    .quote-slide__text blockquote p { font-size: 1.2rem; }
}

/* ─────────────────────────────────────────
 18-  TRUST SECTION
───────────────────────────────────────── */
.trust-section {
    background: #ffffff;
    padding: 60px 0;
}

/* ── Quote 1 ── */
.trust-quote {
    text-align: center;
    max-width: 1200px;
    margin-bottom: 40px;
    font-size: 1.6rem;
    color: var(--brand-black);
    line-height: 1.75;
    margin: 0;

}
.trust-quote blockquote {
    font-style: normal;
    font-family: inherit;
    margin: 0;
    padding: 0;
    border: none;
}
.trust-quote blockquote p {
    font-size: 1.6rem;
    color: var(--brand-black);
    line-height: 1.75;
    margin: 0;
}

/* ── Trust quote 2 + CTA ── */
.trust-quote-2 {
    display: grid;
    grid-template-columns: 1fr auto;  /* text chiếm hết, cta vừa đủ */
    align-items: center;
    gap: 32px;
    margin-bottom: 40px;
    width: 100%;
}
.trust-quote-2__text p {
    margin: 0;
    font-weight: 600;
    font-size: 1rem;
    color: var(--brand-black);
}
.trust-quote-2__cta {
    text-align: right;
}
.trust-cta {
    color: var(--brand-green) !important;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.trust-cta:hover {
    text-decoration: underline !important;
}

.trust-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--brand-green);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 50px;       /* bo tròn như mẫu */
    transition: background 0.2s, transform 0.2s;
}
.trust-contact:hover {
    background: var(--brand-green-dark, #388e3c);
    transform: translateY(-1px);
}
.trust-contact .fa {
    font-size: 1.1rem;
}


@media (max-width: 767px) {
    .trust-quote--2 {
        grid-template-columns: 1fr;
    }
    .trust-quote--2__cta {
        text-align: left;
    }
}
/* ── Trust facts ── */
.trust-facts {
    display: flex;
    gap: 0;
    padding: 32px 0;
    margin-bottom: 40px;
}
.trust-fact {
    flex: 1;
    padding-right: 32px;
    margin-right: 32px;
}
.trust-fact:last-child {
    padding-right: 0;
    margin-right: 0;
}

.trust-fact__number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--brand-green);
    line-height: 1;
    margin-bottom: 10px;
}
.trust-fact__desc {
    font-size: 13px;
    color: var(--brand-gray);
    line-height: 1.5;
}

/* ── Logos ── */
.trust-logos__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-gray);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}
.trust-logos__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px 48px;
}
.trust-logo-item img {
    height: 32px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter var(--transition), opacity var(--transition);
}
.trust-logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Responsive */
@media (max-width: 767px) {
    .trust-facts { flex-direction: column; gap: 24px; }
    .trust-fact  { border-right: none; border-bottom: 1px solid var(--brand-border); padding-bottom: 24px; margin-right: 0; }
    .trust-fact:last-child { border-bottom: none; padding-bottom: 0; }
    .trust-quote--2 { flex-direction: column; align-items: flex-start; gap: 20px; }
    .trust-logos__list { gap: 20px 32px; }
    .trust-logo-item img { height: 24px; }
}

/* ─────────────────────────────────────────
   19 - SOLUTION SECTION
───────────────────────────────────────── */
.solution-section {
    background: var(--brand-green-pale);
    padding: 64px 0;
}

/* ── Header 2 cột ── */
.solution-header {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}
.solution-header__left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.solution-header__title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffffff;
    background: var(--brand-green);
    padding: 8px 16px;
    border-radius: 2px;
    align-self: flex-start;
}
.solution-header__btn {
    align-self: flex-start;
}
.solution-header__desc {
    font-size: 0.95rem;
    color: var(--brand-gray);
    line-height: 1.75;
    margin: 0;
}

/* ── Grid 3 cột ảnh ── */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

/* ── Card ảnh ── */
.solution-card {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
    aspect-ratio: 3/5;
    background: var(--brand-black);
}
.solution-card__img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}
.solution-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0.85;
}
.solution-card:hover .solution-card__img img {
    transform: scale(1.06);
    opacity: 0.5;
}

/* ── Overlay ── */
.solution-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px 28px;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
}

/* Title luôn hiện */
.solution-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Gạch ngang */
.solution-card__bar {
    display: block;
    width: 32px;
    height: 3px;
    background: #ffffff;
    margin-bottom: 12px;
    transition: width 0.3s ease;
}
.solution-card:hover .solution-card__bar {
    width: 56px;
}

/* Brief — ẩn mặc định, hiện khi hover */
.solution-card__desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
}
.solution-card:hover .solution-card__desc {
    max-height: 120px;
    opacity: 1;
}

/* Footer canh giữa */
.solution-footer {
    margin-top: 40px;
    text-align: center;
}

/* Responsive */
@media (max-width: 991px) {
    .solution-header { grid-template-columns: 1fr; gap: 20px; }
    .solution-grid   { grid-template-columns: 1fr; gap: 4px; }
    .solution-card   { aspect-ratio: 16/7; }
}
@media (max-width: 575px) {
    .solution-card { aspect-ratio: 4/3; }
}

/* ══════════════════════════════════════
  20 -  CASE SECTION
══════════════════════════════════════ */

.case-section {
    position: relative;
    width: 100%;
    overflow: hidden;           /* cắt phần ảnh tràn ra ngoài */
    background: #fff;
}

/* .case-inner: căn trái với container của trang */
.case-inner {
    position: relative;
    max-width: 100%;          /* khớp với max-width container của project */
    margin: 0 auto;
    padding: 0 0;
    min-height: 520px;
    display: flex;
    align-items: stretch;
}


/* CỘT TRÁI */
.case-left {
    width: calc((100vw - var(--container-width, 1200px)) / 2 + 360px);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 60px 48px 60px 20px;
    position: relative;
    z-index: 2;                 /* nổi trên ảnh */
    background: #fff;           /* che ảnh nếu overlap */
}

.case-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffffff;
    background: var(--brand-green);
    padding: 8px 16px;
    border-radius: 2px;
    align-self: flex-start;
}
.case-texts { flex: 1; display: flex; align-items: center; }
.case-text { display: none; flex-direction: column; gap: 16px; }
.case-text.is-active { display: flex; }
.case-text__label {
    font-size: 0.78rem; font-weight: 600;
    color: var(--brand-gray);
    text-transform: uppercase; letter-spacing: 0.08em; margin: 0;
}
.case-text__title {
    font-size: 1.5rem; font-weight: 700;
    color: var(--brand-black); line-height: 1.3; margin: 0;
}
.case-text__brief {
    font-size: 0.875rem; color: var(--brand-gray);
    line-height: 1.7; margin: 0;
}
.case-text__btn { align-self: flex-start; margin-top: 8px; }

/* ── Cột phải: kéo từ mép phải case-left ra đến 100vw ── */
.case-right {
    flex: none;
    width: max(
        calc(100vw - max((100vw - var(--container-width, 1200px)) / 2, 20px) - 360px),
        300px
    );
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

/* Viewport chứa ảnh — tất cả slide xếp hàng ngang */
.case-viewport {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 460px;
}

/* Slide track — flex ngang tuyệt đối */
.case-track-inner {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
    will-change: transform;
}

/* Mỗi slide */
.case-slide {
    flex-shrink: 0;
    width: 100%;           /* chiếm đúng 100% viewport */
    height: 100%;
    position: relative;
}
.case-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Footer */
.case-footer {
    display: flex; align-items: center;
    padding: 14px 20px; gap: 16px;
}
.case-progress {
    flex: 1; height: 3px;
    background: rgba(0,0,0,0.1);
    border-radius: 2px; overflow: hidden;
}
.case-progress__bar {
    height: 100%; background: var(--brand-green);
    border-radius: 2px;
    transition: width 0.4s ease;
    width: 33.33%;
}
.case-nav { display: flex; align-items: center; gap: 10px; }
.case-nav__btn {
    background: none;
    border: 1px solid var(--brand-border);
    border-radius: 50%;
    width: 30px; height: 30px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--brand-black); padding: 0;
    transition: background var(--transition), color var(--transition);
}
.case-nav__btn:hover {
    background: var(--brand-green); border-color: var(--brand-green); color: #fff;
}
.case-nav__count { font-size: 0.85rem; color: var(--brand-gray); min-width: 32px; text-align: center; }
.case-explore { padding: 0 20px 20px; text-align: right; }
.case-explore__link {
    font-size: 0.9rem; font-weight: 600; color: var(--brand-green);
    text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.case-explore__link:hover { text-decoration: underline; }

@media (max-width: 991px) {
    .case-inner   { flex-direction: column; }
    .case-left    { width: 100%; padding: 24px 0; }
    .case-right   { margin-right: 0; }
    .case-viewport { min-height: 300px; }
}

/* ══════════════════════════════════════
 21-  INSIGHT SECTION
══════════════════════════════════════ */
.insight-section {
    background: #fff;
    padding: 64px 0;
}

/* Container đã là display: block — các child tự xếp dọc */

.insight-header {
    text-align: center;
    margin-bottom: 32px;
}

.insight-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffffff;
    background: var(--brand-green);
    padding: 8px 16px;
    border-radius: 2px;
    align-self: flex-start;
}

/* Grid 4 cột */
.insight-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    width: 100%;
}

/* Card */
.insight-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.insight-card__img {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f0f0f0;
    margin-bottom: 16px;
}

.insight-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.insight-card:hover .insight-card__img img {
    transform: scale(1.04);
}

.insight-card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.insight-card__title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--brand-black, #1d1d1f);
    line-height: 1.4;
    margin: 0;
    transition: color 0.2s;
}
.insight-card:hover .insight-card__title {
    color: var(--brand-green);
}

.insight-card__brief {
    font-size: 0.875rem;
    color: var(--brand-gray, #555);
    line-height: 1.65;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer canh giữa */
.insight-footer {
    margin-top: 40px;
    text-align: center;
}

.btn-viewall {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-black, #1d1d1f);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid var(--brand-black, #1d1d1f);
    padding: 12px 32px;
    border-radius: 2px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-viewall:hover {
    background: var(--brand-green);
    color: #fff;
    border-color: var(--brand-green);
}

/* Responsive */
@media (max-width: 991px) {
    .insight-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 575px) {
    .insight-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
 22-  SECTOR SECTION
══════════════════════════════════════ */
.sector-section {
    background: var(--brand-green-pale, #f5f7f5);
    padding: 64px 0;
}

.sector-inner {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    width: 100%;
}

/* Cột trái */
.sector-left {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sector-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffffff;
    background: var(--brand-green);
    padding: 8px 16px;
    border-radius: 2px;
    align-self: flex-start;
}

.sector-desc {
    font-size: 0.9rem;
    color: var(--brand-gray, #555);
    line-height: 1.75;
    margin: 0;
}

.sector-readmore {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-green);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.sector-readmore:hover { text-decoration: underline; }

/* Cột phải */
.sector-right {
    flex: 1;
    min-width: 0;
}

/* Danh sách 2 cột */
.sector-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.sector-item {
    /* border-bottom: 1px solid var(--brand-border, #ddd); */
    border-bottom: none;

}
.sector-item:nth-last-child(-n+2) {
    border-bottom: none; /* bỏ border 2 item cuối */
}

.sector-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 8px;
    text-decoration: none;
    color: var(--brand-black, #1d1d1f);
    transition: color 0.2s;
}
.sector-link:hover {
    color: var(--brand-green);
}

.sector-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
    color: var(--brand-gray, #666);
    transition: color 0.2s;
}

.sector-name {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 600;
}

.sector-plus {
    color: var(--brand-green);
    font-size: 1rem;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.sector-link:hover .sector-plus {
    transform: translateX(4px); /* dịch ngang thay vì xoay */
}

/* Responsive */
@media (max-width: 991px) {
    .sector-section .container {
        flex-direction: column;
        gap: 32px;
    }
    .sector-left { width: 100%; }
    .sector-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
    .sector-list { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
  23- FOOTER
══════════════════════════════════════ */
.main-footer {
    background: var(--brand-black, #1a1a2e);
    color: #ccc;
    font-size: 0.875rem;
}

/* Container bên trong footer */
.main-footer .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.footer-bar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ── TOP: sitemap + contact ── */
.footer-top {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    padding: 56px 0 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-heading {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #fff;
    text-transform: uppercase;
    margin: 0 0 24px;
}

/* Sitemap 3 cột */
.footer-sitemap__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 24px;
}

.footer-sitemap__col {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-sitemap__col li a {
    color: #bbb;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
    display: block;
}
.footer-sitemap__col li a:hover {
    color: var(--brand-green, #4caf50);
}

/* Form liên hệ */
.footer-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-form__group { width: 100%; }

.footer-form__input {
    width: 100%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 2px;
    color: #fff;
    padding: 10px 14px;
    font-size: 0.875rem;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.footer-form__input::placeholder { color: rgba(255,255,255,0.4); }
.footer-form__input:focus { border-color: var(--brand-green); }

.footer-form__textarea {
    min-height: 100px;
    resize: vertical;
}

.footer-form__submit { text-align: right; }

.footer-form__btn {
    background: var(--brand-red, #e53935);
    color: #fff;
    border: none;
    padding: 10px 28px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.2s;
}
.footer-form__btn:hover {
    background: #c62828;
}

/* ── BOTTOM: logo + about + social ── */
.footer-bottom {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 32px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom__logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.footer-bottom__about {
    flex: 1;
    min-width: 0;
}
.footer-bottom__name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 8px;
}
.footer-bottom__about p {
    font-size: 0.85rem;
    color: #aaa;
    line-height: 1.7;
    margin: 0;
}

.footer-social {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 12px;
}
.footer-social li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    color: #ccc;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.footer-social li a:hover {
    background: var(--brand-green);
    border-color: var(--brand-green);
    color: #fff;
}

/* ── BOTTOM BAR ── */
.footer-bar {
    background: rgba(0,0,0,0.25);
    padding: 14px 0;
}
.footer-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bar__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 24px;
}
.footer-bar__menu li a {
    font-size: 0.8rem;
    color: #aaa;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s;
}
.footer-bar__menu li a:hover { color: #fff; }

.footer-bar__copy {
    font-size: 0.8rem;
    color: #888;
}
.footer-bar__copy a {
    color: var(--brand-green);
    text-decoration: none;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .footer-bar .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 575px) {
    .footer-sitemap__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ══════════════════════════════════════
   23- LIST PAGE FOR SOLUTION
══════════════════════════════════════ */

/* ── WRAPPER ── */

.stax-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
    width: 100%;
}

/* ── Hero ── */
.stax-hero {
    padding: 56px 0 48px;
    border-bottom: 1px solid var(--brand-border, #e0e0e0);
}

.stax-hero__inner {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: center;
}

.stax-hero__text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stax-hero__title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--brand-black, #1d1d1f);
    line-height: 1.2;
    margin: 0;
    font-family: var(--font-sans); 
}

.stax-hero__brief {
    font-size: 0.95rem;
    color: var(--brand-gray, #555);
    line-height: 1.75;
    margin: 0;
}

.stax-hero__img {
    border-radius: 50% 50% 50% 0;
    overflow: hidden;
    aspect-ratio: 1/1;
}
.stax-hero__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Category rows ── */
.stax-cat {
    background: var(--brand-green-pale, #f0f5f0);
    padding: 52px 0;
}
.stax-cat:last-of-type {
    border-bottom: none;
}

.stax-cat--alt {
  background: #fff;
}

.stax-cat__inner {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    align-items: start;
}

/* Cột trái */
.stax-cat__left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stax-cat__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-green);
    line-height: 1.2;
    margin: 0;
    font-family: var(--font-sans); 

}

.stax-cat--alt .stax-cat__title {
    color: var(--brand-black, #1d1d1f);
}

.stax-cat__brief {
    font-size: 0.9rem;
    color: var(--brand-gray, #555);
    line-height: 1.75;
    margin: 0;
}

.stax-cat__link {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--brand-green);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    margin-top: 4px;
    transition: gap 0.2s;
}
.stax-cat__link:hover { gap: 10px; }

/* Cột phải: danh sách 2 cột */
.stax-cat__right {
    min-width: 0;
}

.stax-cat__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 24px;
}

.stax-cat__item-link {
    display: inline-flex;      /* đổi flex → inline-flex */
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    text-decoration: none;
    color: var(--brand-black, #1d1d1f);
    font-size: 0.9rem;
    font-weight: 700;
    border-bottom: none;
    transition: color 0.2s;
    width: auto;               /* không stretch full width */
}

.stax-cat__item-link:hover {
    color: var(--brand-green);
}

.stax-cat__item-name {
    line-height: 1.4;
}

.stax-cat__item-arrow {
    color: var(--brand-green);
    font-size: 1rem;
    flex-shrink: 0;
    transition: transform 0.2s;
}
.stax-cat__item-link:hover .stax-cat__item-arrow {
    transform: translateX(3px);
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .stax-hero__inner  { grid-template-columns: 1fr; }
    .stax-hero__img    { max-width: 260px; border-radius: 50%; }
    .stax-cat__inner   { grid-template-columns: 1fr; gap: 28px; }
    .stax-cat__list    { grid-template-columns: 1fr; }
}

@media (max-width: 575px) {
    .stax-hero__title  { font-size: 1.6rem; }
    .stax-cat__title   { font-size: 1.2rem; }
}

/* ══════════════════════════════════════
 24-  TAXONOMY PAGE FOR SOLUTION, SECTOR, PAGE
══════════════════════════════════════ */

/* ── Hero ── */
.scat-hero {
    background: var(--brand-green-pale, #f0f5f0);
    overflow: hidden;
}

.scat-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
}

.stax-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 48px 0;
}

.stax-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .2s, transform .2s;
}
.stax-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.10);
    transform: translateY(-3px);
}

.stax-card__img img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.stax-card__body {
    padding: 16px;
    flex: 1;
}

.stax-card__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.stax-card__brief {
    font-size: .875rem;
    color: #6b7280;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .stax-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .stax-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
 24-  SOLUTION DETAIL PAGE
══════════════════════════════════════ */


/* ── Wrap ── */
.sdet-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── HERO ── */
.sdet-hero {
    background: #f8f9fa;
    padding: 48px 0;
    border-bottom: 1px solid #e5e7eb;
}
.sdet-hero__inner {
    display: flex;
    align-items: center;
    gap: 48px;
}
.sdet-hero__text { flex: 1; }
.sdet-hero__img  { flex: 0 0 420px; }
.sdet-hero__img img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 16/9;
}
.sdet-hero__title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 12px 0 16px;
}
.sdet-hero__brief {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.7;
}

/* Breadcrumb */
.sdet-breadcrumb {
    font-size: .85rem;
    color: #6b7280;
    margin-bottom: 8px;
}
.sdet-breadcrumb a { color: #2563eb; text-decoration: none; }
.sdet-breadcrumb a:hover { text-decoration: underline; }
.sdet-breadcrumb__sep { margin: 0 6px; }

/* ── BODY ── */
.sdet-body { padding: 48px 0; }
.sdet-body__inner {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

/* Content */
.sdet-content {
    font-size: .95rem;
    line-height: 1.8;
    color: #1f2937;
}
.sdet-content img { max-width: 100%; border-radius: 6px; }

/* Related grid */
.sdet-related { margin-top: 40px; }
.sdet-related__title {
    font-size: 1.1rem;
    font-weight: 600;
    border-left: 4px solid #2563eb;
    padding-left: 12px;
    margin-bottom: 16px;
}
.sdet-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.sdet-rcard {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    font-size: .85rem;
    transition: box-shadow .2s;
}
.sdet-rcard:hover { box-shadow: 0 4px 12px rgba(0,0,0,.1); }
.sdet-rcard img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.sdet-rcard--book img { aspect-ratio: 2/3; }
.sdet-rcard span { padding: 8px; }

/* Sidebar */
.sdet-sidebar { position: sticky; top: 80px; }
.sdet-sidebar__block {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}
.sdet-sidebar__heading {
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2563eb;
}
.sdet-sidebar__list { list-style: none; padding: 0; margin: 0; }
.sdet-sidebar__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
    text-decoration: none;
    color: #1f2937;
    font-size: .875rem;
}
.sdet-sidebar__item:hover { color: #2563eb; }
.sdet-sidebar__thumb {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .sdet-hero__inner   { flex-direction: column; }
    .sdet-hero__img     { flex: none; width: 100%; }
    .sdet-body__inner   { grid-template-columns: 1fr; }
    .sdet-sidebar       { position: static; }
    .sdet-related__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .sdet-hero__title   { font-size: 1.4rem; }
    .sdet-related__grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
 26-  PAGNINATION SECTION
══════════════════════════════════════ */

/* Pagination layout */
.stax-pagination {
    padding: 32px 0 48px;
    border-top: 1px solid #e5e7eb;
}
.stax-pagination__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.stax-pagination__info {
    font-size: .875rem;
    color: #6b7280;
}

/* Override màu active theo brand xanh, giữ nguyên shape tròn của theme cũ */
.stax-page-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden; /* clear float */
}
.stax-page-nav .pn-item {
    float: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-color: rgba(74, 124, 89, 0.35);
    color: #374151;
}
.stax-page-nav .pn-item:hover {
    border-color: var(--brand-green, #4a7c59);
    color: var(--brand-green, #4a7c59);
}
.stax-page-nav .pn-item.current {
    background: var(--brand-green, #4a7c59);
    border-color: var(--brand-green, #4a7c59);
    color: #fff;
}

/* Thay sprite cũ bằng FontAwesome */
.stax-page-nav .page-nav-prev-ic,
.stax-page-nav .page-nav-next-ic {
    background: none !important;
    width: auto !important;
    height: auto !important;
    display: inline-block;
}
.stax-page-nav .page-nav-prev-ic::before {
    font-family: "FontAwesome";
    content: "\f104";
    font-size: 14px;
}
.stax-page-nav .page-nav-next-ic::before {
    font-family: "FontAwesome";
    content: "\f105";
    font-size: 14px;
}
