/**
 * NAACO Theme - Main Stylesheet
 * High performance, responsive, modern industrial styling
 */

:root {
    --primary: #004b93;
    --primary-dark: #072b4f;
    --primary-light: #0d6efd;
    --secondary: #17a2b8;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --success: #10b981;
    --dark: #0f172a;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --light-bg: #f8fafc;
    --border-color: #e2e8f0;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition: all 0.25s ease-in-out;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    /* Lưới an toàn: không cho trang scroll ngang vì phần tử tràn */
    overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--accent);
}

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

.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.section-padding {
    padding-top: 30px;
    padding-bottom: 65px;
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-dark {
    background-color: var(--primary-dark);
}

.text-white {
    color: var(--white) !important;
}

.text-center {
    text-align: center;
}

.font-bold {
    font-weight: 700;
}

/* Section Header Component */
.section-header {
    margin-bottom: 45px;
}
.section-badge {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(0, 75, 147, 0.1);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 12px;
}
.section-badge.badge-light {
    background: rgba(255, 255, 255, 0.15);
    color: #ffd166;
}
.section-title {
    font-size: 32px;
    margin-bottom: 12px;
}
.section-desc {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
/* These two descriptions are long enough to fit on a single line on desktop */
.sol-knowledge-section .section-desc,
.sol-projects-section .section-desc {
    max-width: 980px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1.2;
}
.btn-lg {
    padding: 14px 30px;
    font-size: 15px;
}
.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}
.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    border-color: var(--primary-dark);
}
.btn-warning {
    background-color: var(--accent);
    color: var(--white);
}
.btn-warning:hover {
    background-color: var(--accent-hover);
    color: var(--white);
}
.btn-outline-white {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}
.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary-dark);
}
.btn-outline-primary {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}
.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
}

/* ========================================================
   TOPBAR
   ======================================================== */
.site-topbar {
    background-color: #051e36;
    color: #cbd5e1;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
}
.topbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}
.topbar-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.topbar-item a {
    color: #e2e8f0;
}
.topbar-item a:hover {
    color: var(--accent);
}
.topbar-item .text-highlight {
    color: var(--accent);
    font-weight: 700;
}
.topbar-social {
    display: flex;
    align-items: center;
    gap: 12px;
}
.topbar-social a {
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
}
.topbar-social a:hover {
    color: var(--white);
}
.topbar-social .zalo-link {
    background: #0068ff;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
}

/* ========================================================
   HEADER & NAVIGATION
   ======================================================== */
.site-header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: var(--transition);
}
.site-header.is-sticky {
    box-shadow: var(--shadow-md);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 82px;
}
.site-branding .theme-logo,
.site-branding img {
    max-height: 58px;
    width: auto;
}
.site-title-text .logo-main {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}
.site-title-text .logo-sub {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-muted);
    display: block;
    margin-top: -5px;
}

/* Desktop Nav Menu */
.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 22px;
}
.main-navigation li {
    position: relative;
}
.main-navigation a {
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--primary-dark);
    padding: 28px 0;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    transition: var(--transition);
}
.main-navigation a:hover,
.main-navigation li.current-menu-item > a,
.main-navigation li.current-menu-ancestor > a {
    color: var(--primary);
}

/* Chevron Down for Top Level Items with Children */
.main-navigation > ul > li.menu-item-has-children > a::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 9px;
    margin-left: 6px;
    opacity: 0.65;
    transition: transform 0.25s ease, color 0.25s ease;
    display: inline-block;
}
.main-navigation > ul > li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
    color: var(--primary);
    opacity: 1;
}

/* Multi-level Dropdown (Level 2) */
.main-navigation ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 275px;
    max-width: 350px;
    width: max-content;
    background: #ffffff;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    margin: 0;
    list-style: none;
    border: 1px solid #e2e8f0;
    border-top: 3px solid var(--primary);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    z-index: 999;
}
.main-navigation > ul > li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.main-navigation ul ul li {
    width: 100%;
    margin: 0;
    padding: 0;
}
.main-navigation ul ul a {
    padding: 10px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    text-transform: none;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s ease;
}
.main-navigation ul ul li:last-child > a {
    border-bottom: none;
}
.main-navigation ul ul a:hover,
.main-navigation ul ul li.current-menu-item > a {
    background: #f0f7fd;
    color: var(--primary);
    padding-left: 22px;
}

/* Indicator Chevron for Submenu Items with Children */
.main-navigation ul ul li.menu-item-has-children > a::after {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 11px;
    color: #94a3b8;
    margin-left: 14px;
    transition: transform 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}
.main-navigation ul ul li.menu-item-has-children:hover > a::after {
    color: var(--primary);
    transform: translateX(3px);
}

/* Level 3+ Submenu Flyout to the RIGHT */
.main-navigation ul ul ul {
    top: -4px !important;
    left: 100% !important;
    right: auto !important;
    margin-left: 2px !important;
    border-top: 1px solid #e2e8f0 !important;
    border-left: 3px solid var(--primary) !important;
    border-radius: 8px !important;
    transform: translateX(10px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}
.main-navigation ul ul li:hover > ul {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}
.header-search-toggle {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--text-dark);
    cursor: pointer;
    padding: 8px;
}
.header-search-toggle:hover {
    color: var(--primary);
}
.btn-quote-header {
    border-radius: 50px;
    padding: 9px 20px;
}
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.mobile-menu-toggle .hamburger-bar {
    width: 24px;
    height: 2px;
    background: var(--primary-dark);
    transition: var(--transition);
}

/* Header Search dropdown */
.header-search-box {
    display: none;
    background: var(--light-bg);
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
}
.header-search-box .search-form {
    display: flex;
    max-width: 650px;
    margin: 0 auto;
}
.header-search-box .search-field {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    font-size: 15px;
}
.header-search-box .search-submit {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0 25px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    cursor: pointer;
}

/* ========================================================
   BREADCRUMBS
   ======================================================== */
.naaco-breadcrumbs {
    background: #e9f0f8;
    padding: 12px 0;
    font-size: 13.5px;
    border-top: 1px solid rgba(0, 75, 147, 0.08);
    border-bottom: 1px solid #d6e2ee;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.02);
}
.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.breadcrumb-list a {
    color: #475569;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}
.breadcrumb-list a:hover {
    color: var(--primary);
}
.breadcrumb-list a i {
    color: var(--primary);
    font-size: 13px;
}
.breadcrumb-list .separator {
    color: #94a3b8;
    font-size: 10px;
}
.breadcrumb-list .current {
    color: var(--primary-dark);
    font-weight: 700;
}

/* Page Header Banner */
.page-header-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 50px 0;
    text-align: center;
}
.page-header-badge {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffd166;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1px;
}
.page-header-banner .page-title {
    color: var(--white);
    font-size: 34px;
    margin-bottom: 10px;
}
.page-header-banner .page-subtitle {
    color: #e2e8f0;
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================================
   HERO BANNER (FRONT PAGE)
   ======================================================== */
.hero-banner {
    background: linear-gradient(rgba(10, 37, 64, 0.42), rgba(10, 37, 64, 0.52)), #072b4f;
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 110px 0;
}
.hero-container {
    max-width: 900px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #ffd166;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
}
.hero-title {
    color: var(--white);
    font-size: 44px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}
.hero-desc {
    font-size: 18px;
    line-height: 1.6;
    color: #f8fafc;
    margin-bottom: 35px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* ========================================================
   4 HIGHLIGHT CARDS
   ======================================================== */
.home-cards-section {
    margin-top: -55px;
    position: relative;
    z-index: 10;
}
.home-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.feature-card {
    background: var(--white);
    padding: 30px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.feature-card .card-icon {
    width: 55px;
    height: 55px;
    background: rgba(0, 75, 147, 0.08);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
}
.feature-card .card-title {
    font-size: 18px;
    margin-bottom: 10px;
}
.feature-card .card-desc {
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.55;
    margin-bottom: 16px;
}
.feature-card .card-link {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ========================================================
   ABOUT SECTION (HOMEPAGE)
   ======================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-image-wrapper {
    position: relative;
}
.video-responsive-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}
.video-responsive-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.video-rounded {
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.about-main-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
}
.placeholder-about-img {
    height: 420px;
    background: linear-gradient(135deg, #072b4f, #004b93);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    gap: 15px;
    font-weight: 700;
}
.placeholder-about-img i {
    font-size: 64px;
    opacity: 0.8;
}
.about-experience-badge {
    position: absolute;
    bottom: -25px;
    right: 25px;
    background: var(--accent);
    color: var(--white);
    padding: 20px 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    text-align: center;
    z-index: 5;
}
.about-experience-badge .exp-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 800;
    line-height: 1;
}
.about-experience-badge .exp-text {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 30px 0;
}
.stat-box {
    background: var(--light-bg);
    padding: 16px 12px;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--primary);
}
.stat-box .stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}
.stat-box .stat-label {
    font-size: 12.5px;
    color: var(--text-muted);
}
.about-content-col .section-title {
    font-size: 26px;
    line-height: 1.35;
    margin-bottom: 16px;
}

/* ========================================================
   PRODUCT GRID & CARDS (WOOCOMMERCE)
   ======================================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}
.product-thumb {
    position: relative;
    background: #f1f5f9;
    padding-top: 75%;
    overflow: hidden;
}
.product-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.product-card:hover .product-thumb img {
    transform: scale(1.05);
}
.product-badge,
.product-quality-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
}
.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-cats {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.product-title {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.4;
}
.product-app-note {
    font-size: 12.5px;
    color: #475569;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.product-app-note i {
    color: var(--success);
}
.product-actions {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px dashed var(--border-color);
    display: flex;
    gap: 8px;
}
.btn-detail {
    flex: 1;
    padding: 9px 12px;
    background: var(--primary);
    border: 1px solid var(--primary);
    color: var(--white);
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-detail:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}
.btn-quote-item {
    flex: 1;
    padding: 9px 12px;
    background: var(--white);
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.btn-quote-item:hover {
    background: var(--primary);
    color: var(--white);
}

/* ========================================================
   SOLUTIONS & PROJECTS GRIDS
   ======================================================== */
.solution-grid,
.solution-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.solution-card,
.solution-full-card {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
}
.solution-card:hover,
.solution-full-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}
.solution-image,
.solution-full-card .card-thumb {
    position: relative;
    padding-top: 60%;
    background: #e2e8f0;
}
.solution-image img,
.solution-full-card .card-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.solution-icon-badge,
.card-icon-badge {
    position: absolute;
    bottom: -18px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--shadow-sm);
}
.solution-body,
.solution-full-card .card-content {
    padding: 24px;
}
.solution-title,
.solution-full-card .card-title {
    font-size: 18px;
    margin-bottom: 10px;
}
.solution-summary,
.solution-full-card .card-summary {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.btn-readmore {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.card-benefits-list {
    list-style: none;
    margin: 15px 0;
    padding: 0;
}
.card-benefits-list li {
    font-size: 13.5px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.card-benefits-list i {
    color: var(--success);
}
.card-rec-products {
    background: var(--light-bg);
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 18px;
}
.card-rec-products .rec-label {
    display: block;
    font-weight: 700;
    color: var(--primary-dark);
}

/* Projects Grid */
.project-grid,
.project-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.project-card,
.project-full-card {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
}
.project-card:hover,
.project-full-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.project-thumb {
    position: relative;
    padding-top: 65%;
    background: #e2e8f0;
}
.project-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.project-location-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.85);
    color: var(--white);
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
}
.project-info,
.project-full-card .card-body {
    padding: 20px;
}
.project-type-tag {
    font-size: 12px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 6px;
}
.project-title {
    font-size: 17px;
    margin-bottom: 12px;
}
.project-meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: var(--text-muted);
}
.project-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-size: 13px;
    margin: 12px 0;
}
.project-material-box {
    background: #f1f5f9;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12.5px;
    margin-bottom: 15px;
}
.project-material-box .m-label {
    display: block;
    font-weight: 700;
    color: var(--primary);
}

/* ========================================================
   WHY CHOOSE FRP SECTION
   ======================================================== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.why-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 22px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}
.why-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}
.why-icon {
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
}
.why-title {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 12px;
}
.why-desc {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
}

/* ========================================================
   CTA BANNER SECTION
   ======================================================== */
.home-cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #002b54 100%);
    color: var(--white);
    padding: 60px 0;
}
.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}
.cta-text h2 {
    color: var(--white);
    font-size: 30px;
    margin-bottom: 10px;
}
.cta-text p {
    color: #e2e8f0;
    font-size: 16px;
    margin: 0;
}
.cta-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}
.cta-hotline-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 14px 22px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.cta-hotline-btn:hover {
    background: var(--white);
    color: var(--primary-dark);
}

/* ========================================================
   NEWS & BLOG SECTION
   ======================================================== */
.news-grid,
.archive-posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.archive-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 35px;
}
.news-card,
.archive-post-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.news-card:hover,
.archive-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}
.news-thumb,
.archive-thumb {
    position: relative;
    padding-top: 60%;
    background: #f1f5f9;
    overflow: hidden;
}
.news-thumb img,
.archive-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.archive-post-card:hover .archive-thumb img,
.news-card:hover .news-thumb img {
    transform: scale(1.05);
}

/* Category Badge on top-left of image */
.post-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: var(--primary);
    border-radius: 4px;
    padding: 3px 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.post-category-badge a {
    color: var(--white) !important;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-decoration: none;
}
.post-category-badge:hover {
    background: var(--primary-dark);
}

/* Date Tag on top-right or bottom-left */
.archive-date-tag {
    position: absolute;
    bottom: 10px;
    right: 12px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 2;
}

.news-date {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: var(--primary-dark);
    color: var(--white);
    text-align: center;
    padding: 4px 10px;
    border-radius: 4px;
    line-height: 1.1;
}
.news-date .day {
    display: block;
    font-size: 16px;
    font-weight: 800;
}
.news-date .month {
    font-size: 11px;
    text-transform: uppercase;
}
.news-body,
.archive-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.news-cats,
.archive-cats {
    font-size: 12px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 6px;
}
.news-title,
.archive-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.9em;
}
.archive-title a {
    color: var(--text-dark);
    transition: var(--transition);
}
.archive-title a:hover {
    color: var(--primary);
}
.news-excerpt,
.archive-excerpt {
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 4.8em;
}
.btn-readmore {
    margin-top: auto;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: var(--transition);
}
.btn-readmore:hover {
    color: var(--accent);
    padding-left: 4px;
}
.news-link {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
}

/* Archive Pagination styling */
.archive-pagination {
    margin-top: 40px;
    text-align: center;
}
.archive-pagination .pagination {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
}
.archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    font-weight: 700;
    font-size: 14px;
    background: var(--white);
    transition: var(--transition);
    text-decoration: none;
}
.archive-pagination .page-numbers.current,
.archive-pagination a.page-numbers:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ========================================================
   SINGLE PRODUCT & SPECIAL TABS (HƯỚNG DẪN LẮP ĐẶT)
   ======================================================== */
.product-top-row {
    display: flex !important;
    gap: 40px !important;
    align-items: flex-start !important;
    margin-bottom: 45px !important;
}
.product-gallery-col {
    flex: 0 0 46% !important;
    max-width: 46% !important;
    width: 46% !important;
    min-width: 0 !important;
    overflow: hidden;
}
.product-summary-col {
    flex: 0 0 calc(54% - 40px) !important;
    max-width: calc(54% - 40px) !important;
    width: calc(54% - 40px) !important;
    min-width: 0 !important;
}
.woocommerce-product-gallery {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
}
.product-summary-col.entry-summary {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
}
.product-title-single {
    font-size: 28px;
    margin-bottom: 12px;
}
.product-highlight-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0 20px;
}
.point-badge {
    background: rgba(0, 75, 147, 0.08);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 50px;
}
.single-product .product-price-section,
.single-product .price,
.single-product .single_add_to_cart_button,
.single-product form.cart {
    display: none !important;
}
.b2b-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 25px 0 20px;
}
.btn-quote {
    background: var(--accent);
    color: var(--white);
    padding: 14px 25px;
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    flex: 2;
}
.btn-quote:hover {
    background: var(--accent-hover);
}
.btn-zalo {
    background: #0068ff;
    color: var(--white);
    padding: 14px 20px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-catalog {
    background: #dc2626;
    color: var(--white);
    padding: 14px 20px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.b2b-product-guarantee {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    background: #f8fafc;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    border: 1px dashed #cbd5e1;
    margin-top: 25px;
}
.guarantee-item {
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.45;
}
.guarantee-item i {
    color: var(--success);
    font-size: 18px;
    flex-shrink: 0;
}
.guarantee-item span {
    display: inline-block;
}

/* WOOCOMMERCE MODERN INDUSTRIAL TABS */
.woocommerce-tabs {
    margin-top: 50px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.woocommerce-tabs ul.tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 10px !important;
    background: #f8fafc !important;
    border-bottom: 2px solid #e2e8f0 !important;
    gap: 0 !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.woocommerce-tabs ul.tabs::-webkit-scrollbar {
    display: none;
}
.woocommerce-tabs ul.tabs::before,
.woocommerce-tabs ul.tabs::after,
.woocommerce-tabs ul.tabs li::before,
.woocommerce-tabs ul.tabs li::after {
    display: none !important;
    content: none !important;
}
.woocommerce-tabs ul.tabs li {
    flex-shrink: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}
.woocommerce-tabs ul.tabs li a {
    display: block !important;
    padding: 16px 24px !important;
    font-family: var(--font-heading) !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    background: transparent !important;
    text-decoration: none !important;
    border-bottom: 3px solid transparent !important;
    transition: all 0.25s ease !important;
    margin-bottom: -2px !important;
    white-space: nowrap !important;
}
.woocommerce-tabs ul.tabs li:hover a {
    color: var(--primary) !important;
}
.woocommerce-tabs ul.tabs li.active a {
    color: var(--primary) !important;
    background: #fff !important;
    border-bottom-color: var(--primary) !important;
}
.woocommerce div.product .woocommerce-tabs .panel,
.woocommerce-tabs .woocommerce-Tabs-panel,
.woocommerce-tabs .panel.entry-content,
.woocommerce-Tabs-panel {
    background: var(--white) !important;
    padding: 35px 40px !important;
    border: none !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
    color: #334155 !important;
    box-sizing: border-box !important;
}
.woocommerce-Tabs-panel > h2:first-child {
    display: none !important;
}
.woocommerce-Tabs-panel h2,
.woocommerce-Tabs-panel h3 {
    color: var(--primary-dark);
    font-weight: 800;
}
.woocommerce-Tabs-panel p {
    margin-bottom: 16px;
}

/* Industrial Specifications & Comparison Tables */
.woocommerce-Tabs-panel table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    margin: 24px 0 !important;
    font-size: 14px !important;
}
.woocommerce-Tabs-panel table th,
.woocommerce-Tabs-panel table td {
    padding: 14px 16px !important;
    border: 1px solid #e2e8f0 !important;
    vertical-align: middle !important;
    line-height: 1.6 !important;
}
.woocommerce-Tabs-panel table th {
    background: #f1f5f9 !important;
    color: var(--primary-dark) !important;
    font-weight: 800 !important;
    font-family: var(--font-heading) !important;
    text-align: center !important;
}
.woocommerce-Tabs-panel table tr:nth-child(even) td {
    background: #fafbfc;
}
.woocommerce-Tabs-panel table tr:hover td {
    background: #f0f7fd;
}
.woocommerce-Tabs-panel table td img {
    display: block;
    margin: 0 auto 8px;
    max-width: 44px;
    height: auto;
}

/* Tab Hướng Dẫn Lắp Đặt Content */
.naaco-tab-installation-content .tab-heading {
    font-size: 22px;
    color: var(--primary-dark);
    margin-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}
.naaco-tab-installation-content h3 {
    font-size: 18px;
    color: var(--primary);
    margin-top: 25px;
    margin-bottom: 10px;
}
.naaco-tab-installation-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}
.naaco-tab-installation-content li {
    margin-bottom: 8px;
}
.naaco-guide-callout {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 20px;
    border-radius: var(--radius-md);
    margin-top: 30px;
}
.naaco-guide-callout .guide-callout-icon {
    font-size: 36px;
    color: var(--success);
}
.naaco-guide-callout .hotline-link {
    font-weight: 800;
    color: #dc2626;
    font-size: 17px;
}

/* Tab Catalogue Download */
.naaco-doc-download-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-top: 20px;
}
.naaco-doc-download-card .doc-icon {
    font-size: 40px;
    color: #dc2626;
    margin-right: 20px;
}
.naaco-doc-download-card .doc-info {
    flex: 1;
}
.btn-download-pdf {
    background: #dc2626;
    color: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-download-pdf:hover {
    background: #b91c1c;
    color: #fff;
}

/* ========================================================
   SINGLE POST / SOLUTION / PROJECT LAYOUTS
   ======================================================== */
.post-layout-grid,
.project-layout-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 35px;
    align-items: start;
}
.single-article {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
}
.single-article .post-featured-image {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 25px;
}
.single-article .post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.post-article-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}
.post-meta-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.post-meta-inline span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.post-meta-inline .post-meta-cat a {
    color: var(--primary);
    font-weight: 700;
}
.post-title-main {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.35;
    margin: 0;
}

/* Article Tags */
.article-tags {
    margin: 30px 0 20px;
    padding-top: 20px;
    border-top: 1px dashed var(--border-color);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}
.tag-badge {
    background: #f1f5f9;
    color: var(--text-dark);
    padding: 4px 10px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12.5px;
    transition: var(--transition);
}
.tag-badge:hover {
    background: var(--primary);
    color: var(--white);
}

/* Article Share Box */
.article-share-box {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin: 25px 0 35px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.share-title {
    font-weight: 700;
    font-size: 14px;
    color: var(--primary-dark);
}
.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.share-btn {
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--white) !important;
    text-decoration: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}
.share-fb { background: #1877f2; }
.share-fb:hover { background: #0c63d4; }
.share-zalo { background: #0068ff; }
.share-zalo:hover { background: #0052cc; }
.share-ln { background: #0a66c2; }
.share-ln:hover { background: #084e96; }
.share-copy { background: #475569; }
.share-copy:hover { background: #334155; }

/* In-Article CTA Banner */
.article-cta-card {
    background: linear-gradient(135deg, #072b4f, #004b93);
    border-radius: var(--radius-md);
    padding: 28px 32px;
    color: var(--white);
    margin: 35px 0;
}
.article-cta-card h3 {
    color: var(--white);
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 8px;
}
.article-cta-card p {
    color: #cbd5e1;
    font-size: 14px;
    margin-bottom: 18px;
    line-height: 1.5;
}
.cta-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.cta-card-actions .btn {
    padding: 10px 20px;
    font-size: 13.5px;
    font-weight: 700;
}

/* Related Posts Section (Inside Article) */
.related-posts-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f1f5f9;
}
.related-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 20px;
    position: relative;
    padding-left: 14px;
}
.related-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 4px;
    background: var(--primary);
    border-radius: 2px;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.related-item {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.related-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary);
}
.related-thumb {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
    display: block;
    background: #e2e8f0;
}
.related-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.related-item:hover .related-thumb img {
    transform: scale(1.06);
}
.related-info {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.related-date {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-weight: 600;
}
.related-info h4 {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.related-info h4 a {
    color: var(--text-dark);
    text-decoration: none;
}
.related-info h4 a:hover {
    color: var(--primary);
}

/* Sidebar Recent Posts List */
.recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.recent-post-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border-color);
}
.recent-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.recent-post-item .recent-thumb {
    width: 65px;
    height: 65px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    background: #f1f5f9;
}
.recent-post-item .recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.recent-post-item:hover .recent-thumb img {
    transform: scale(1.08);
}
.recent-post-item .recent-meta {
    flex: 1;
    min-width: 0;
}
.recent-post-item .recent-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.35;
    margin: 0 0 5px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
    transition: var(--transition);
}
.recent-post-item .recent-title:hover {
    color: var(--primary);
}
.recent-post-item .recent-date {
    font-size: 11.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.shop-layout-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 35px;
    align-items: start;
}

/* ========================================================
   WOOCOMMERCE ARCHIVE & SHOP STYLES
   ======================================================== */
.shop-controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 25px;
}
.shop-controls-bar .woocommerce-result-count,
.shop-controls-bar .result-count {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted);
}
.shop-controls-bar .woocommerce-ordering,
.shop-controls-bar .shop-ordering {
    margin: 0;
}
.shop-controls-bar select.orderby {
    padding: 8px 14px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 13.5px;
    background-color: var(--white);
    color: var(--text-dark);
    outline: none;
    cursor: pointer;
}

.product-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.product-archive-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.product-archive-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}
.product-archive-card .product-thumb {
    position: relative;
    background: #f1f5f9;
    padding-top: 75%;
    overflow: hidden;
}
.product-archive-card .product-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.product-archive-card:hover .product-thumb img {
    transform: scale(1.05);
}
.product-archive-card .product-details {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-archive-card .product-category-name {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-weight: 500;
}
.product-archive-card .product-category-name a {
    color: var(--text-muted);
}
.product-archive-card .product-category-name a:hover {
    color: var(--primary);
}
.product-archive-card .product-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
    min-height: 42px;
}
.product-archive-card .product-title a {
    color: var(--text-dark);
}
.product-archive-card .product-title a:hover {
    color: var(--primary);
}
.product-archive-card .product-note {
    font-size: 12.5px;
    color: #16a34a;
    background: #f0fdf4;
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 12px;
    display: inline-block;
}
.product-archive-card .product-card-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px dashed var(--border-color);
}
.product-archive-card .product-card-actions .btn {
    flex: 1;
    text-align: center;
    white-space: nowrap;
    padding: 9px 12px;
    font-size: 13px;
    font-weight: 700;
}

/* NAACO Related Products Grid (8 Items in 4 Columns) */
.naaco-related-products-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}
.related-section-header {
    margin-bottom: 25px;
}
.related-section-header .section-badge {
    display: inline-block;
    background: rgba(0, 114, 206, 0.08);
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.related-section-header .section-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-dark);
    margin: 0 0 10px 0;
}
.related-section-header .section-title-line {
    width: 48px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}
.related-products-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 22px !important;
    margin-bottom: 20px !important;
}
@media (max-width: 1024px) {
    .related-products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 16px !important;
    }
}
@media (max-width: 768px) {
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
}

/* Pagination Clean Fix */
.shop-pagination-wrap,
nav.woocommerce-pagination {
    margin-top: 40px !important;
    text-align: center !important;
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
}
.shop-pagination-wrap nav.woocommerce-pagination {
    margin: 0 !important;
    display: inline-block !important;
}
.shop-pagination-wrap ul.page-numbers,
nav.woocommerce-pagination ul.page-numbers {
    display: inline-flex !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    gap: 8px !important;
    border: none !important;
    white-space: nowrap !important;
}
.shop-pagination-wrap ul.page-numbers li,
nav.woocommerce-pagination ul.page-numbers li {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block !important;
    float: none !important;
}
.shop-pagination-wrap ul.page-numbers li span.page-numbers,
.shop-pagination-wrap ul.page-numbers li a.page-numbers,
nav.woocommerce-pagination ul.page-numbers li span.page-numbers,
nav.woocommerce-pagination ul.page-numbers li a.page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 42px !important;
    height: 42px !important;
    padding: 0 14px !important;
    border-radius: var(--radius-sm) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-dark) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    background: var(--white) !important;
    transition: var(--transition) !important;
    text-decoration: none !important;
    line-height: 1 !important;
    margin: 0 !important;
}
.shop-pagination-wrap ul.page-numbers li span.page-numbers.current,
nav.woocommerce-pagination ul.page-numbers li span.page-numbers.current,
.shop-pagination-wrap ul.page-numbers li a.page-numbers:hover,
nav.woocommerce-pagination ul.page-numbers li a.page-numbers:hover {
    background: var(--primary) !important;
    color: var(--white) !important;
    border-color: var(--primary) !important;
}

/* Single Product Gallery & Controls (Slider & Single-Row Thumbs) */
.woocommerce-product-gallery {
    position: relative !important;
    width: 100% !important;
    background: #fff;
    border-radius: var(--radius-md);
}
.woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
    margin: 0;
    padding: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}
.woocommerce-product-gallery .woocommerce-product-gallery__image img {
    border-radius: var(--radius-md);
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
}
.woocommerce-product-gallery .flex-viewport {
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

/* Single Row Thumbnails with Smooth Horizontal Scroll */
.woocommerce-product-gallery .flex-control-thumbs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 10px !important;
    margin: 14px 0 0 0 !important;
    padding: 4px 2px 8px 2px !important;
    list-style: none !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}
.woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar {
    height: 5px;
}
.woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}
.woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}
.woocommerce-product-gallery .flex-control-thumbs li {
    flex: 0 0 76px !important;
    width: 76px !important;
    height: 76px !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
}
.woocommerce-product-gallery .flex-control-thumbs li img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    border: 2px solid #e2e8f0 !important;
    transition: all 0.25s ease;
    opacity: 0.65;
    box-sizing: border-box;
}
.woocommerce-product-gallery .flex-control-thumbs li img.flex-active,
.woocommerce-product-gallery .flex-control-thumbs li img:hover {
    border-color: var(--primary) !important;
    opacity: 1 !important;
    box-shadow: 0 2px 8px rgba(0, 114, 206, 0.3) !important;
    transform: translateY(-2px);
}

/* Gallery Slider Navigation Arrows (Hidden cleanly to avoid blocking product photos) */
.woocommerce-product-gallery .flex-direction-nav {
    display: none !important;
}
.entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
}
.entry-content p {
    margin-bottom: 20px;
}
.entry-content h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-top: 35px;
    margin-bottom: 16px;
    line-height: 1.4;
    scroll-margin-top: 100px;
}
.entry-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 28px;
    margin-bottom: 14px;
    line-height: 1.4;
    scroll-margin-top: 100px;
}

/* Beautiful & Balanced Lists in Content */
.entry-content ul,
.entry-content ol {
    margin: 15px 0 25px 0;
    padding-left: 20px;
}
.entry-content ul {
    list-style: none;
}
.entry-content ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    line-height: 1.7;
}
.entry-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}
.entry-content ol li {
    margin-bottom: 10px;
    line-height: 1.7;
    padding-left: 6px;
}

/* Table of Contents (Mục Lục Bài Viết) */
.naaco-toc-box {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    margin: 30px 0 35px;
}
.naaco-toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}
.naaco-toc-box:not(.is-collapsed) .naaco-toc-header {
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--border-color);
}
.naaco-toc-title {
    font-size: 15.5px;
    font-weight: 800;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}
.naaco-toc-toggle {
    background: none;
    border: none;
    font-size: 13px;
    color: var(--primary);
    cursor: pointer;
    font-weight: 700;
    padding: 2px 6px;
}
.naaco-toc-toggle:hover {
    color: var(--accent);
}
.naaco-toc-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.naaco-toc-list li {
    padding: 0 !important;
    margin: 0 0 6px 0 !important;
}
.naaco-toc-list li:last-child {
    margin-bottom: 0 !important;
}
.naaco-toc-list li::before {
    display: none !important;
}
.naaco-toc-list a {
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.45;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}
.naaco-toc-list a:hover {
    color: var(--primary);
    padding-left: 4px;
}
.naaco-toc-list .toc-h2 {
    font-weight: 700;
}
.naaco-toc-list .toc-h3 {
    padding-left: 20px !important;
    font-size: 13.5px;
    color: var(--text-muted);
}

.post-featured-image,
.solution-featured-image,
.project-featured-image {
    margin-bottom: 30px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

/* Project Specs Card */
.project-specs-card {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
}
.specs-title {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}
.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.spec-row.full-width {
    grid-column: 1 / -1;
}
.spec-row .s-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
}
.spec-row .s-value {
    font-size: 15px;
    color: var(--text-dark);
}

/* Project Gallery Grid */
.project-gallery-section {
    margin: 40px 0;
}
.gallery-title {
    font-size: 20px;
    margin-bottom: 20px;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.gallery-item:hover img {
    transform: scale(1.03);
}

/* Project / Solution CTA Banner */
.project-cta-banner,
.solution-consult-card {
    background: linear-gradient(135deg, #072b4f, #004b93);
    color: var(--white);
    padding: 35px;
    border-radius: var(--radius-md);
    margin-top: 40px;
}
.project-cta-banner h3,
.solution-consult-card h3 {
    color: var(--white);
    font-size: 22px;
}
.project-cta-banner p,
.solution-consult-card p {
    color: #cbd5e1;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 22px;
}
.widget-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

/* Sidebar Search Widget Styling */
.widget-search {
    padding: 16px !important;
}
.widget-search .search-form {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}
.widget-search .search-field {
    width: 100%;
    padding: 10px 45px 10px 14px;
    border: 1.5px solid var(--border-color);
    border-radius: 6px;
    font-size: 13.5px;
    background: #f8fafc;
    color: var(--text-dark);
    outline: none;
    transition: var(--transition);
}
.widget-search .search-field:focus {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 75, 147, 0.12);
}
.widget-search .search-submit {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: none;
    background: var(--primary);
    color: var(--white);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: var(--transition);
}
.widget-search .search-submit:hover {
    background: var(--primary-dark);
}
.widget-hotline-card {
    background: linear-gradient(135deg, #072b4f, #004b93);
    color: var(--white);
    border: none;
    text-align: center;
}
.widget-hotline-card .widget-title {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.2);
    font-size: 15px;
    letter-spacing: -0.2px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.widget-hotline-card p {
    color: #e2e8f0;
    font-size: 13.5px;
    margin-bottom: 18px;
    line-height: 1.5;
}
.sidebar-hotline-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--accent) !important;
    color: var(--white) !important;
    padding: 12px;
    font-weight: 700;
    font-size: 16px;
    border-radius: 4px;
    margin-bottom: 10px;
    text-decoration: none;
    transition: var(--transition);
}
.sidebar-hotline-btn:hover {
    background: var(--accent-hover, #d97706) !important;
    color: var(--white) !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}
.sidebar-zalo-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #0068ff;
    color: var(--white);
    padding: 10px;
    font-weight: 700;
    font-size: 14px;
    border-radius: 4px;
}
.cat-list,
.product-category-tree {
    list-style: none;
    margin: 0;
    padding: 0;
}
.cat-list li,
.product-category-tree li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}
.cat-list a,
.product-category-tree a {
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}
.cat-list a:hover,
.product-category-tree a:hover {
    color: var(--primary);
}
.product-category-tree .sub-cat-list {
    list-style: none;
    margin: 6px 0 0 15px;
    padding: 0;
}
.product-category-tree .sub-cat-list li {
    border: none;
    padding: 4px 0;
}
.product-category-tree .sub-cat-list a {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========================================================
   MODAL POPUP & FLOATING ACTIONS
   ======================================================== */
.naaco-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}
.naaco-modal.is-open {
    display: flex;
}
.naaco-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
}
.naaco-modal-dialog {
    position: relative;
    z-index: 10;
    background: var(--white);
    width: 100%;
    max-width: 620px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: modalFadeIn 0.3s ease;
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.naaco-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
}
.naaco-modal-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 25px 30px;
}
.naaco-modal-header h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 5px;
}
.naaco-modal-header p {
    color: #cbd5e1;
    font-size: 13.5px;
    margin: 0;
}
.naaco-modal-body {
    padding: 30px;
}
.naaco-form .form-row,
.naaco-form .modal-form-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 15px !important;
    margin: 0 0 15px 0 !important;
    padding: 0 !important;
    border: none !important;
    float: none !important;
    width: 100% !important;
    clear: both !important;
}
.naaco-form .modal-form-row::before,
.naaco-form .modal-form-row::after {
    display: none !important;
}
.naaco-form .form-group {
    margin-bottom: 0;
}
.naaco-form label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-dark);
}
.naaco-form input[type="text"],
.naaco-form input[type="tel"],
.naaco-form input[type="email"],
.naaco-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
}
.naaco-form input:focus,
.naaco-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 75, 147, 0.15);
}
.btn-submit-quote {
    width: 100%;
    padding: 14px;
    font-size: 15px;
}
.modal-direct-contact {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}
.modal-hotline {
    font-weight: 800;
    color: #dc2626;
    font-size: 15px;
}
.modal-zalo {
    color: #0068ff;
    font-weight: 700;
}
.form-alert {
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 13.5px;
    margin-top: 15px;
}
.form-alert.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}
.form-alert.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Floating Actions */
.naaco-floating-actions {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}
.float-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
}
.float-zalo {
    background: #0068ff;
    color: #fff;
    font-weight: 800;
    font-size: 13px;
}
.float-fb {
    background: #1877f2;
    color: #fff;
    font-size: 20px;
}
.float-phone {
    background: #dc2626;
    color: #fff;
    font-size: 20px;
    animation: phonePulse 1.5s infinite;
}
@keyframes phonePulse {
    0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(220, 38, 38, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}
.float-top {
    background: var(--primary-dark);
    color: #fff;
    font-size: 16px;
    display: none;
}
.float-tooltip {
    position: absolute;
    right: 65px;
    background: var(--dark);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.float-btn:hover .float-tooltip {
    opacity: 1;
    visibility: visible;
}

/* ========================================================
   FOOTER STYLING
   ======================================================== */
.site-footer {
    background-color: #071f38;
    color: #cbd5e1;
    font-size: 14px;
}
.footer-main {
    padding: 70px 0 50px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 5fr 4.5fr 3fr;
    gap: 50px;
}
.footer-title {
    color: var(--white);
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}
.footer-logo img {
    max-height: 55px;
    margin-bottom: 15px;
}
.footer-company-name {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 12px;
}
.footer-slogan {
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 15px;
}
.footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-contact-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    line-height: 1.5;
}
.footer-contact-list i {
    color: var(--accent);
    margin-top: 4px;
}
.footer-contact-list a {
    color: #cbd5e1;
}
.footer-contact-list a:hover {
    color: var(--white);
}
.footer-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-links-list li {
    margin-bottom: 10px;
}
.footer-links-list a {
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.footer-links-list a:hover {
    color: var(--accent);
    padding-left: 5px;
}
.footer-quote-box {
    background: rgba(255, 255, 255, 0.06);
    padding: 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}
.btn-quote-footer {
    width: 100%;
    background: var(--accent);
    color: #fff;
    padding: 12px;
    font-weight: 700;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    margin-top: 12px;
}
.btn-quote-footer:hover {
    background: var(--accent-hover);
}
.footer-cert-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.cert-item {
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}
.footer-social-links {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}
.footer-social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.footer-social-links a:hover {
    background: var(--primary);
}
.footer-bottom {
    background: #041426;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13px;
    color: #94a3b8;
}
.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-extra-links a {
    color: #94a3b8;
}
.footer-extra-links a:hover {
    color: var(--white);
}
.footer-extra-links .sep {
    margin: 0 10px;
}

/* ========================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ======================================================== */
@media (max-width: 1024px) {
    .main-navigation {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .home-cards-grid,
    .why-grid,
    .product-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .post-layout-grid,
    .project-layout-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }
    .product-top-row {
        flex-direction: column !important;
        gap: 25px !important;
    }
    .product-gallery-col,
    .product-summary-col {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .shop-layout-grid {
        display: flex !important;
        flex-direction: column !important;
    }
    .shop-main-content {
        order: 1 !important;
    }
    .shop-sidebar {
        order: 2 !important;
        margin-top: 40px !important;
    }
    .hide-tablet {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .topbar-container {
        height: auto;
        padding: 8px 15px;
    }
    .hide-mobile {
        display: none !important;
    }
    .hero-title {
        font-size: 30px;
    }
    .hero-desc {
        font-size: 15px;
    }
    .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    .section-padding {
        padding-top: 30px !important;
        padding-bottom: 35px !important;
    }
    .section-title {
        font-size: 24px;
    }
    /* Mobile Header & Quote Button */
    .header-actions {
        gap: 8px;
    }
    .header-search-toggle {
        padding: 5px;
        font-size: 16px;
    }
    .btn-quote-header {
        padding: 6px 12px;
        font-size: 12px;
        white-space: nowrap;
        flex-shrink: 0;
        letter-spacing: 0;
    }
    .btn-quote-header i {
        display: none;
    }

    /* 1 Column Grids on Mobile */
    .home-cards-grid,
    .why-grid,
    .solution-grid,
    .solution-archive-grid,
    .footer-grid,
    .about-stats-grid,
    .specs-grid,
    .b2b-product-guarantee {
        grid-template-columns: 1fr !important;
    }
    .woocommerce div.product .woocommerce-tabs .panel,
    .woocommerce-tabs .woocommerce-Tabs-panel,
    .woocommerce-tabs .panel.entry-content,
    .woocommerce-Tabs-panel {
        padding: 22px 18px !important;
    }
    .woocommerce-tabs ul.tabs {
        padding: 0 4px !important;
    }
    .woocommerce-tabs ul.tabs li a {
        padding: 13px 18px !important;
        font-size: 13.5px !important;
    }

    /* Single Product B2B Buttons on Mobile: 1 Row per Button */
    .b2b-action-buttons {
        flex-direction: column !important;
        gap: 10px !important;
    }
    .b2b-action-buttons .btn-quote,
    .b2b-action-buttons .btn-zalo,
    .b2b-action-buttons .btn-catalog {
        flex: 0 0 100% !important;
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 13px 18px !important;
        font-size: 14px !important;
    }

    /* Forms on Mobile: 2 Columns for Name & Phone, 1 Column for Others */
    .naaco-form .modal-form-row,
    .naaco-form .form-row {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .naaco-form .modal-form-row.single-col-mobile,
    .naaco-form .form-row.single-col-mobile {
        grid-template-columns: 1fr !important;
    }
    .naaco-form label {
        font-size: 12px !important;
        margin-bottom: 4px !important;
    }
    .naaco-form input,
    .naaco-form textarea {
        font-size: 13px !important;
        padding: 8px 10px !important;
    }

    /* Modal Direct Contact Centered Stack */
    .modal-direct-contact {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 8px !important;
    }
    .modal-direct-contact span {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        font-size: 13px !important;
        color: var(--text-muted) !important;
    }
    .modal-hotline {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        white-space: nowrap !important;
        font-size: 16px !important;
        font-weight: 800 !important;
    }
    .modal-zalo {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        font-size: 14px !important;
        font-weight: 700 !important;
    }

    /* 2 Columns Product Grid on Mobile */
    .product-grid,
    .product-archive-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .product-card,
    .product-archive-card {
        border-radius: 6px;
    }
    .product-card .product-info,
    .product-archive-card .product-details {
        padding: 10px !important;
    }
    .product-card .product-cats,
    .product-archive-card .product-category-name {
        font-size: 11px !important;
        margin-bottom: 3px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .product-card .product-title,
    .product-archive-card .product-title {
        font-size: 12.5px !important;
        line-height: 1.35 !important;
        margin-bottom: 8px !important;
        height: 34px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .product-card .product-app-note,
    .product-archive-card .product-note {
        display: none !important;
    }
    .product-card .product-price-box,
    .product-archive-card .product-price-box {
        font-size: 11.5px !important;
        margin-bottom: 8px !important;
    }
    .product-card .product-actions,
    .product-archive-card .product-card-actions {
        display: flex !important;
        gap: 5px !important;
    }
    .product-card .product-actions .btn-detail,
    .product-archive-card .product-card-actions .btn {
        padding: 5px 4px !important;
        font-size: 10.5px !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
        text-align: center;
        flex: 1;
    }
    .product-card .product-actions .btn-quote-item,
    .product-archive-card .product-card-actions button {
        padding: 5px 4px !important;
        font-size: 10.5px !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
        text-align: center;
        flex: 1;
    }
    .product-card .product-actions .btn-quote-item i,
    .product-archive-card .product-card-actions button i {
        display: none !important;
    }
    .product-badge,
    .product-quality-badge {
        font-size: 9px !important;
        padding: 2px 6px !important;
        top: 6px !important;
        left: 6px !important;
    }

    /* 2 Columns News Grid on Mobile */
    .news-grid,
    .archive-posts-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .news-card .news-body,
    .archive-post-card .archive-body {
        padding: 10px !important;
    }
    .news-card .news-cats,
    .archive-post-card .archive-cats {
        font-size: 10.5px !important;
        margin-bottom: 3px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .news-card .news-title,
    .archive-post-card .archive-title {
        font-size: 12.5px !important;
        line-height: 1.35 !important;
        margin-bottom: 6px !important;
        height: 34px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .news-card .news-excerpt,
    .archive-post-card .archive-excerpt {
        display: none !important;
    }
    .news-card .news-link,
    .archive-post-card .btn-readmore {
        font-size: 11px !important;
        font-weight: 700 !important;
    }
    .news-card .news-date {
        padding: 2px 6px !important;
        bottom: 6px !important;
        left: 6px !important;
    }
    .news-card .news-date .day {
        font-size: 12px !important;
    }
    .news-card .news-date .month {
        font-size: 9px !important;
    }

    /* Single Post Article on Mobile */
    .single-article {
        padding: 16px 12px !important;
        border-radius: 6px !important;
    }
    .post-title-main {
        font-size: 19px !important;
        line-height: 1.35 !important;
        margin-top: 5px !important;
    }
    .entry-content {
        font-size: 15px !important;
        line-height: 1.7 !important;
    }
    .entry-content p {
        margin-bottom: 15px !important;
    }
    .entry-content ul,
    .entry-content ol {
        padding-left: 10px !important;
        margin: 10px 0 18px 0 !important;
    }
    .entry-content ul li {
        padding-left: 16px !important;
        margin-bottom: 6px !important;
    }
    .naaco-toc-box {
        padding: 12px 14px !important;
        margin: 18px 0 22px !important;
    }
    .naaco-toc-header {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
    .naaco-toc-box:not(.is-collapsed) .naaco-toc-header {
        margin-bottom: 10px !important;
        padding-bottom: 8px !important;
    }
    .naaco-toc-title {
        font-size: 14px !important;
    }
    .naaco-toc-list {
        margin: 0 !important;
        padding: 0 !important;
    }
    .naaco-toc-list li {
        padding: 0 !important;
        margin: 0 0 3px 0 !important;
        line-height: 1.25 !important;
    }
    .naaco-toc-list li:last-child {
        margin-bottom: 0 !important;
    }
    .naaco-toc-list a {
        font-size: 13px !important;
        line-height: 1.25 !important;
        padding: 1px 0 !important;
    }
    .naaco-toc-list .toc-h3 {
        padding-left: 12px !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
    }
    .related-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }
    .related-item {
        flex-direction: row !important;
        align-items: center !important;
        padding: 8px !important;
        gap: 12px !important;
        border-radius: 6px !important;
    }
    .related-thumb {
        width: 90px !important;
        height: 65px !important;
        padding-top: 0 !important;
        flex-shrink: 0 !important;
        border-radius: 4px !important;
    }
    .related-thumb img {
        position: static !important;
        width: 100% !important;
        height: 100% !important;
    }
    .related-info {
        padding: 0 !important;
        flex: 1 !important;
    }
    .related-date {
        font-size: 11px !important;
        margin-bottom: 4px !important;
    }
    .related-info h4 {
        font-size: 13px !important;
        line-height: 1.4 !important;
        -webkit-line-clamp: 2 !important;
        height: auto !important;
    }

    /* Hide redundant sidebar hotline card on mobile (since article already has CTA banner and float buttons) */
    .post-sidebar .widget-hotline-card {
        display: none !important;
    }

    .cta-container {
        flex-direction: column;
        text-align: center;
    }
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    .cta-actions .btn,
    .cta-actions .cta-hotline-btn {
        width: 100%;
        justify-content: center;
    }
    .footer-bottom-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* Mobile Off-canvas Drawer */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9998;
    display: none;
}
.mobile-drawer-overlay.is-active {
    display: block;
}
.mobile-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100%;
    background: #fff;
    z-index: 9999;
    transition: transform 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.mobile-drawer.is-active {
    transform: translateX(320px);
}
.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}
.drawer-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
}
.drawer-search {
    padding: 15px 20px 10px;
}
.drawer-search-form {
    display: flex;
    align-items: center;
    position: relative;
    background: #f1f5f9;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
}
.drawer-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 12px;
    font-size: 13px;
    color: var(--text-dark);
    outline: none;
    width: 100%;
}
.drawer-search-input::placeholder {
    color: #94a3b8;
    font-size: 12.5px;
}
.drawer-search-btn {
    border: none;
    background: transparent;
    color: var(--primary-color);
    padding: 0 14px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}
.drawer-search-btn:hover {
    color: var(--accent-color);
}
.drawer-menu-wrap {
    padding: 10px 18px;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.drawer-menu-wrap ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.drawer-menu-wrap li {
    position: relative;
    border-bottom: 1px solid var(--border-color);
    margin: 0;
    padding: 0;
}
.drawer-menu-wrap li a {
    display: block;
    padding: 13px 45px 13px 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    color: var(--primary-dark);
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.2s ease;
}
.drawer-menu-wrap li a:hover,
.drawer-menu-wrap li.current-menu-item > a {
    color: var(--primary);
}

/* Mobile Accordion Toggle Chevron Button */
.drawer-menu-wrap .mobile-sub-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 13px;
    cursor: pointer;
    transition: transform 0.25s ease, color 0.2s ease;
    z-index: 2;
}
.drawer-menu-wrap li.is-open > .mobile-sub-toggle {
    transform: rotate(180deg);
    color: var(--primary);
}

/* Submenu Dropdowns in Drawer (Hidden by default, accordion expand) */
.drawer-menu-wrap ul ul {
    display: none;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 4px 0 4px 12px !important;
    margin: 0 !important;
    border-left: 3px solid var(--primary);
}
.drawer-menu-wrap ul ul li {
    border-bottom: 1px dashed #e2e8f0;
}
.drawer-menu-wrap ul ul li:last-child {
    border-bottom: none;
}
.drawer-menu-wrap ul ul a {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    padding: 10px 40px 10px 4px;
}
.drawer-menu-wrap ul ul .mobile-sub-toggle {
    height: 40px;
    width: 40px;
    font-size: 11px;
}

/* Level 3 Submenu in Drawer */
.drawer-menu-wrap ul ul ul {
    background: #f1f5f9;
    border-left: 2px solid var(--accent);
    padding-left: 12px !important;
}
.drawer-menu-wrap ul ul ul a {
    font-size: 12.5px;
    font-weight: 500;
    color: #475569;
    padding: 8px 36px 8px 4px;
}
.drawer-contact {
    padding: 20px;
    background: var(--light-bg);
    border-top: 1px solid var(--border-color);
    font-size: 13px;
}

@media (max-width: 480px) {
    .btn-quote-header {
        padding: 5px 8px !important;
        font-size: 11px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
    .header-actions {
        gap: 6px !important;
    }
    .mobile-menu-toggle {
        padding: 6px 4px !important;
    }
    .product-grid,
    .product-archive-grid,
    .news-grid,
    .archive-posts-grid {
        gap: 8px !important;
    }
    .product-card .product-actions .btn-detail,
    .product-card .product-actions .btn-quote-item,
    .product-archive-card .product-card-actions .btn,
    .product-archive-card .product-card-actions button {
        padding: 4px 2px !important;
        font-size: 9.5px !important;
    }
}

/* ========================================================
   ABOUT PAGE (TRANG GIỚI THIỆU CHUYÊN SÂU NAACO)
   ======================================================== */
.about-hero-wrapper {
    background: linear-gradient(135deg, #071f38 0%, #004b93 60%, #0284c7 100%);
    position: relative;
    color: var(--white);
    padding: 85px 0 75px;
    overflow: hidden;
}
.about-hero-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(245, 130, 32, 0.12), transparent 45%),
                radial-gradient(circle at 10% 80%, rgba(255, 255, 255, 0.05), transparent 40%);
    pointer-events: none;
}
.about-hero-content {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}
.about-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(6px);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffd166;
    margin-bottom: 22px;
}
.about-hero-title {
    color: var(--white);
    font-size: 38px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.about-hero-desc {
    color: #e2e8f0;
    font-size: 16px;
    line-height: 1.85;
    margin: 0 auto 35px;
    max-width: 880px;
}
.about-contact-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.about-contact-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    padding: 14px 24px;
    border-radius: 8px;
    text-align: left;
    transition: var(--transition);
    color: var(--white);
    min-width: 290px;
}
.about-contact-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    color: var(--white);
}
.about-contact-card.hotline-card:hover {
    border-color: #fca5a5;
}
.about-contact-card.email-card:hover {
    border-color: #93c5fd;
}
.contact-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.hotline-card .contact-card-icon {
    background: #dc2626;
    color: #fff;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}
.email-card .contact-card-icon {
    background: #0284c7;
    color: #fff;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4);
}
.contact-card-info {
    display: flex;
    flex-direction: column;
}
.contact-card-label {
    font-size: 12px;
    color: #cbd5e1;
    margin-bottom: 2px;
}
.contact-card-val {
    font-size: 15.5px;
    font-weight: 700;
    color: #ffffff;
}

/* KEY STATS COUNTERS STRIP */
.about-stats-strip {
    margin-top: 0;
    padding-top: 35px;
    position: relative;
    z-index: 10;
}
.stats-counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.stat-counter-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}
.stat-counter-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(0, 75, 147, 0.12);
    border-color: var(--primary);
}
.stat-counter-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 15px;
    background: rgba(0, 75, 147, 0.08);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: var(--transition);
}
.stat-counter-card:hover .stat-counter-icon {
    background: var(--primary);
    color: #fff;
}
.stat-counter-number {
    font-size: 34px;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--primary-dark);
    line-height: 1.1;
    margin-bottom: 8px;
}
.stat-counter-number span {
    font-size: 20px;
    color: var(--accent);
}
.stat-counter-label {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
    text-transform: uppercase;
}
.stat-counter-sub {
    font-size: 12px;
    color: #64748b;
}

/* 3 TRỤ CỘT NĂNG LỰC */
.about-pillars-section {
    background: #ffffff;
}
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.pillar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}
.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}
.pillar-card.highlight {
    border-top: 4px solid var(--accent);
    box-shadow: 0 12px 30px rgba(0, 75, 147, 0.09);
}
.pillar-icon-box {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #ffffff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 22px;
    box-shadow: 0 8px 20px rgba(0, 75, 147, 0.2);
}
.pillar-card.highlight .pillar-icon-box {
    background: linear-gradient(135deg, var(--accent), #d96f13);
    box-shadow: 0 8px 20px rgba(245, 130, 32, 0.3);
}
.pillar-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 14px;
}
.pillar-text {
    font-size: 14.5px;
    line-height: 1.75;
    color: #475569;
    margin: 0;
}

/* LỊCH SỬ HÌNH THÀNH (TIMELINE) */
.about-timeline-section {
    position: relative;
    background-color: #f8fafc;
}
.history-timeline-track {
    position: relative;
    max-width: 980px;
    margin: 55px auto 0;
    padding: 20px 0;
}
.history-timeline-track::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary) 0%, var(--accent) 50%, var(--primary-dark) 100%);
    transform: translateX(-50%);
}
.timeline-step {
    display: flex;
    position: relative;
    margin-bottom: 40px;
    align-items: center;
}
.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 16px;
    z-index: 2;
    box-shadow: 0 0 0 5px rgba(0, 75, 147, 0.1);
    transition: var(--transition);
}
.timeline-step:hover .timeline-dot {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
    transform: translateX(-50%) scale(1.12);
    box-shadow: 0 0 0 6px rgba(245, 130, 32, 0.2);
}
.timeline-card-box {
    width: calc(50% - 45px);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px 26px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}
.timeline-step:hover .timeline-card-box {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 75, 147, 0.1);
}
.timeline-step:nth-child(odd) .timeline-card-box {
    margin-right: auto;
    text-align: right;
}
.timeline-step:nth-child(even) .timeline-card-box {
    margin-left: auto;
    text-align: left;
}
.timeline-year-badge {
    display: inline-block;
    padding: 4px 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #ffffff;
    font-weight: 800;
    font-size: 13.5px;
    border-radius: 20px;
    margin-bottom: 10px;
}
.timeline-step:hover .timeline-year-badge {
    background: linear-gradient(135deg, var(--accent), #d96f13);
}
.timeline-step-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
    line-height: 1.35;
}
.timeline-step-desc {
    font-size: 13.5px;
    line-height: 1.7;
    color: #475569;
    margin: 0;
}

/* NHÀ MÁY & TIÊU CHUẨN KỸ THUẬT */
.about-factory-section {
    background: #ffffff;
}
.about-factory-grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 50px;
    align-items: center;
}
.factory-text p {
    font-size: 15.5px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 25px;
}
.factory-cert-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.cert-card-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: var(--transition);
}
.cert-card-item:hover {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.cert-card-item i {
    color: var(--success);
    font-size: 20px;
    margin-top: 2px;
}
.cert-card-item strong {
    display: block;
    font-size: 14px;
    color: var(--primary-dark);
    margin-bottom: 2px;
}
.cert-card-item span {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
}
.factory-spec-box {
    background: linear-gradient(135deg, #072b4f, #004b93);
    color: #ffffff;
    padding: 40px 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}
.factory-spec-box .spec-icon {
    font-size: 38px;
    color: var(--accent);
    margin-bottom: 16px;
}
.factory-spec-box h3 {
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 12px;
}
.factory-spec-box p {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}
.spec-points {
    list-style: none;
    margin: 0;
    padding: 0;
}
.spec-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    margin-bottom: 10px;
    color: #f1f5f9;
}
.spec-points i {
    color: var(--accent);
    font-size: 14px;
}

/* ABOUT BOTTOM CTA BANNER */
.about-cta-banner {
    background: linear-gradient(135deg, #071f38 0%, #004b93 100%);
    padding: 60px 0;
    color: #ffffff;
}
.about-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}
.about-cta-text h2 {
    color: #ffffff;
    font-size: 26px;
    margin-bottom: 10px;
}
.about-cta-text p {
    color: #cbd5e1;
    font-size: 15px;
    margin: 0;
    max-width: 680px;
}
.about-cta-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

/* RESPONSIVE FOR ABOUT PAGE */
@media (max-width: 992px) {
    .stats-counter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    .about-factory-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .about-cta-inner {
        flex-direction: column;
        text-align: center;
    }
    .about-cta-buttons {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .about-hero-title {
        font-size: 26px;
    }
    .about-hero-desc {
        font-size: 14.5px;
    }
    .about-contact-cards {
        flex-direction: column;
        align-items: stretch;
    }
    .about-contact-card {
        min-width: unset;
    }
    .history-timeline-track::before {
        left: 20px;
    }
    .timeline-step {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 55px;
        margin-bottom: 28px;
    }
    .timeline-dot {
        left: 20px;
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    .timeline-card-box {
        width: 100% !important;
        text-align: left !important;
        margin: 0 !important;
        padding: 18px 20px;
    }
    .factory-cert-list {
        grid-template-columns: 1fr;
    }
    .about-cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    .about-cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================================
   CONTACT US PAGE (TRANG LIÊN HỆ & BÁO GIÁ NAACO)
   ======================================================== */
.contact-hero-wrapper {
    background: linear-gradient(135deg, #071f38 0%, #004b93 60%, #0284c7 100%);
    position: relative;
    color: var(--white);
    padding: 80px 0 70px;
    overflow: hidden;
}
.contact-hero-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 85% 15%, rgba(245, 130, 32, 0.12), transparent 45%),
                radial-gradient(circle at 10% 85%, rgba(255, 255, 255, 0.05), transparent 40%);
    pointer-events: none;
}
.contact-hero-content {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}
.contact-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(6px);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffd166;
    margin-bottom: 20px;
}
.contact-hero-title {
    color: var(--white);
    font-size: 38px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
    text-transform: uppercase;
}
.contact-hero-desc {
    color: #e2e8f0;
    font-size: 16px;
    line-height: 1.8;
    margin: 0 auto;
    max-width: 780px;
}

/* CONTACT CARDS STRIP */
.contact-cards-section {
    margin-top: 0;
    padding-top: 35px;
    position: relative;
    z-index: 10;
}
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.contact-info-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 26px 22px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 75, 147, 0.12);
    border-color: var(--primary);
}
.contact-info-card.highlight-card {
    border-top: 4px solid var(--accent);
    box-shadow: 0 12px 30px rgba(245, 130, 32, 0.12);
}
.info-card-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 14px;
}
.info-card-icon-wrap.icon-blue {
    background: rgba(0, 75, 147, 0.1);
    color: var(--primary);
}
.info-card-icon-wrap.icon-factory {
    background: rgba(14, 116, 144, 0.1);
    color: #0e7490;
}
.info-card-icon-wrap.icon-phone {
    background: rgba(245, 130, 32, 0.15);
    color: var(--accent);
}
.info-card-icon-wrap.icon-email {
    background: rgba(2, 132, 199, 0.1);
    color: #0284c7;
}
.info-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.info-card-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}
.info-card-tag.tag-warning {
    color: var(--accent);
}
.info-card-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 8px;
}
.info-card-text {
    font-size: 13.5px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 12px;
    flex: 1;
}
.info-card-action {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}
.info-card-action:hover {
    color: var(--accent);
}
.info-card-sub {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}
.contact-phone-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}
.phone-link {
    font-size: 15px;
    font-weight: 800;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 6px;
}
.phone-link:hover {
    color: var(--accent);
}
.phone-link.sales-link {
    color: #dc2626 !important;
}
.phone-sub {
    font-size: 11.5px;
    font-weight: 600;
    color: #64748b;
}
.email-link {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--primary);
    word-break: break-all;
    margin-bottom: 10px;
    display: block;
}
.email-link:hover {
    color: var(--accent);
}

/* MAIN CONTACT LAYOUT (FORM & MAP) */
.contact-main-layout {
    background: #ffffff;
}
.contact-grid-container {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 40px;
    align-items: flex-start;
}
.contact-form-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 40px 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.form-header-box {
    margin-bottom: 25px;
}
.form-card-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-dark);
    margin: 8px 0 10px;
}
.form-card-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}
.naaco-select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-dark);
    background-color: #fff;
    outline: none;
    transition: var(--transition);
}
.naaco-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 75, 147, 0.15);
}
.btn-block {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

/* MAP CARD */
.contact-map-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.map-card-header {
    padding: 25px 25px 18px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}
.map-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    color: var(--primary);
    background: rgba(0, 75, 147, 0.08);
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
}
.map-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 6px;
}
.map-address {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}
.map-address i {
    color: #dc2626;
    margin-right: 4px;
}
.map-frame-wrapper {
    width: 100%;
    line-height: 0;
    background: #e2e8f0;
}
.map-frame-wrapper iframe {
    width: 100% !important;
    display: block;
    border: none;
}
.map-card-footer {
    padding: 16px 25px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

/* FAST SUPPORT BOX */
.fast-support-box {
    display: flex;
    gap: 16px;
    align-items: center;
    background: linear-gradient(135deg, #072b4f, #004b93);
    color: #ffffff;
    padding: 22px 25px;
    border-radius: 10px;
    margin-top: 25px;
    box-shadow: var(--shadow-md);
}
.fast-icon {
    font-size: 32px;
    color: var(--accent);
    flex-shrink: 0;
}
.fast-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}
.fast-info p {
    font-size: 12.5px;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0;
}

/* TRUST STRIP */
.contact-trust-strip {
    padding: 50px 0;
}
.trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.trust-badge-item {
    display: flex;
    gap: 15px;
    align-items: center;
    background: #ffffff;
    padding: 18px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}
.trust-badge-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
    border-color: var(--primary);
}
.trust-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 75, 147, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: var(--transition);
}
.trust-badge-item:hover .trust-icon {
    background: var(--primary);
    color: #fff;
}
.trust-content h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 3px;
}
.trust-content p {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}

/* RESPONSIVE FOR CONTACT PAGE */
@media (max-width: 992px) {
    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid-container {
        grid-template-columns: 1fr;
    }
    .trust-badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-hero-title {
        font-size: 28px;
    }
    .contact-hero-desc {
        font-size: 14px;
    }
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-card {
        padding: 25px 20px;
    }
    .trust-badges-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================================
   FAQ PAGE (HỎI ĐÁP & TƯ VẤN KỸ THUẬT NAACO)
   ======================================================== */
.naaco-faq-section {
    padding: 20px 0 60px;
    max-width: 960px;
    margin: 0 auto;
}
.naaco-faq-header {
    text-align: center;
    margin-bottom: 35px;
}
.naaco-faq-badge {
    display: inline-block;
    background: rgba(0, 114, 206, 0.08);
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.naaco-faq-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 12px;
}
.naaco-faq-subtitle {
    font-size: 15.5px;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}
.naaco-faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.naaco-faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.naaco-faq-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.naaco-faq-item.is-active {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(0, 114, 206, 0.08);
}
.naaco-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 16px;
    transition: background-color 0.2s ease;
}
.naaco-faq-item.is-active .naaco-faq-question {
    background: #f8fafc;
}
.naaco-faq-q-text {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.45;
    flex: 1;
    transition: color 0.2s ease;
}
.naaco-faq-item:hover .naaco-faq-q-text,
.naaco-faq-item.is-active .naaco-faq-q-text {
    color: var(--primary);
}
.naaco-faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 13px;
    flex-shrink: 0;
    transition: all 0.25s ease;
}
.naaco-faq-item.is-active .naaco-faq-icon {
    transform: rotate(180deg);
    background: var(--primary);
    color: #ffffff;
}
.naaco-faq-answer {
    padding: 0 24px 22px 24px;
    color: #475569;
    font-size: 15px;
    line-height: 1.75;
    background: #f8fafc;
    border-top: 1px dashed #e2e8f0;
}
.naaco-faq-answer p {
    margin: 16px 0 0 0;
}
.naaco-faq-answer p:first-child {
    margin-top: 16px;
}
.naaco-faq-answer strong {
    color: var(--primary-dark);
}

/* FAQ Bottom Support Callout */
.naaco-faq-support {
    margin-top: 45px;
    background: linear-gradient(135deg, #0a2540 0%, #004b93 100%);
    border-radius: var(--radius-md);
    padding: 35px 30px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    box-shadow: 0 10px 25px rgba(10, 37, 64, 0.15);
}
.naaco-faq-support-text h4 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 6px;
}
.naaco-faq-support-text p {
    color: #cbd5e1;
    font-size: 14.5px;
    margin: 0;
    line-height: 1.5;
}
.naaco-faq-support-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.naaco-faq-support-actions .btn-faq-hotline {
    background: #ff8c00;
    color: #ffffff;
    padding: 12px 22px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.naaco-faq-support-actions .btn-faq-hotline:hover {
    background: #e07b00;
    transform: translateY(-2px);
}
.naaco-faq-support-actions .btn-faq-zalo {
    background: #0068ff;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.naaco-faq-support-actions .btn-faq-zalo:hover {
    background: #0056d6;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .naaco-faq-title {
        font-size: 24px;
    }
    .naaco-faq-question {
        padding: 15px 16px;
    }
    .naaco-faq-q-text {
        font-size: 14.5px;
    }
    .naaco-faq-answer {
        padding: 0 16px 18px 16px;
        font-size: 14px;
        line-height: 1.65;
    }
    .naaco-faq-support {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
    .naaco-faq-support-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .naaco-faq-support-actions a {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================================
   PROJECT ARCHIVE & TAXONOMY (DỰ ÁN) STYLES
   Matching Design Screenshots (Filter Bar & Project Cards)
   ======================================================== */
.project-filter-wrapper {
    margin-bottom: 35px;
}

.project-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.project-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 20px;
    font-size: 14.5px;
    font-weight: 600;
    color: #165793;
    background: #ffffff;
    border: 1px solid #d3e0ec;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    white-space: nowrap;
}

.project-filter-btn:hover {
    background: #edf5fc;
    color: #0d4275;
    border-color: #165793;
    text-decoration: none;
}

.project-filter-btn.is-active,
.project-filter-btn.active {
    background: #165793;
    color: #ffffff;
    border-color: #165793;
    box-shadow: 0 4px 12px rgba(22, 87, 147, 0.25);
    font-weight: 700;
}

/* 4-Column Projects Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 40px;
}

/* Project Card */
.project-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(22, 87, 147, 0.12);
    border-color: #b9d7f2;
}

/* Project Card Thumbnail */
.project-card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: #edf2f7;
}

.project-card-thumb-link {
    display: block;
    width: 100%;
    height: 100%;
}

.project-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.project-card:hover .project-card-thumb img {
    transform: scale(1.06);
}

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    color: #94a3b8;
    font-size: 32px;
}

/* Category Badge over Thumbnail */
.project-category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.95);
    color: #165793;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    line-height: 1.3;
    pointer-events: none;
}

/* Project Card Body */
.project-card-body {
    padding: 12px 14px 14px 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-card-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 5px 0;
}

.project-card-title a {
    color: #165793;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 1.35em; /* Cố định đúng 1 dòng */
    line-height: 1.35;
}

.project-card-title a:hover {
    color: #0a3d6d;
}

/* Location */
.project-card-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-card-location i {
    font-size: 13px;
    color: #0f172a;
    flex-shrink: 0;
}

/* Solution Used */
.project-card-solution {
    font-size: 13px;
    color: #2b6cb0;
    font-weight: 500;
    margin-bottom: 6px;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Project Card Footer */
.project-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    padding-top: 0;
    border-top: none !important;
    gap: 8px;
}

/* Brand Pill */
.project-brand-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 11px;
    border: 1.5px solid #84bbf0;
    background: #f1f7fd;
    color: #165793;
    font-size: 11px;
    font-weight: 800;
    border-radius: 20px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    white-space: nowrap;
}

.project-brand-pill.is-empty {
    visibility: hidden;
}

/* "Xem chi tiết ->" Link */
.project-card-more {
    font-size: 12.5px;
    font-weight: 500;
    color: #2b6cb0;
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s ease, color 0.2s ease;
}

.project-card-more:hover {
    color: #0a3d6d;
    gap: 6px;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 1200px) {
    .project-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 991px) {
    .project-filter-bar {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
        scrollbar-width: thin;
        /* Fix: inline justify-content:center làm tab đầu bị cắt, không scroll tới được */
        justify-content: flex-start !important;
    }
    .project-filter-btn {
        flex-shrink: 0;
        padding: 8px 16px;
        font-size: 13.5px;
    }
    .project-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px;
    }
}

@media (max-width: 576px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .project-card-body {
        padding: 10px 8px 12px 8px;
    }
    .project-category-badge {
        font-size: 9.5px;
        padding: 2px 6px;
        top: 6px;
        left: 6px;
    }
    .project-card-title {
        font-size: 13.5px;
        margin-bottom: 3px;
    }
    .project-card-title a {
        height: 1.35em;
    }
    .project-card-location {
        font-size: 11.5px;
        gap: 4px;
        margin-bottom: 3px;
    }
    .project-card-location i {
        font-size: 11px;
    }
    .project-card-solution {
        font-size: 11px;
        margin-bottom: 5px;
    }
    .project-card-footer {
        margin-top: 6px;
        gap: 4px;
    }
    .project-brand-pill {
        padding: 2px 6px;
        font-size: 9.5px;
    }
    .project-card-more {
        font-size: 11px;
        gap: 2px;
    }
}

/* ========================================================
   SOLUTION PAGE TEMPLATE (TRANG GIẢI PHÁP TỔNG THỂ)
   Matching B2B Enterprise Layout Screenshot
   ======================================================== */

/* 1. Hero Section */
.sol-hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    padding: 95px 0 85px 0;
    text-align: center;
    position: relative;
}
.sol-hero-inner {
    max-width: 900px;
    margin: 0 auto;
}
.sol-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(2, 132, 199, 0.25);
    border: 1px solid rgba(186, 230, 253, 0.4);
    color: #7dd3fc;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.sol-hero-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.35;
    color: #ffffff;
    margin: 0 0 16px 0;
    text-transform: uppercase;
}
.sol-hero-subtitle {
    font-size: 15.5px;
    line-height: 1.65;
    color: #e2e8f0;
    margin: 0 auto 28px auto;
    max-width: 820px;
}
.sol-hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
.sol-hero-actions .btn-outline-white {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid #ffffff;
}
.sol-hero-actions .btn-outline-white:hover {
    background: #ffffff;
    color: #0f172a;
}

/* 2. 3 Badges Elevated Strip */
.sol-badges-section {
    margin-top: -35px;
    position: relative;
    z-index: 10;
}
.sol-badges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    background: #ffffff;
    border-radius: 10px;
    padding: 24px 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.sol-badge-card {
    display: flex;
    align-items: center;
    gap: 12px;
}
.sol-badge-card .badge-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #e0f2fe;
    color: #0284c7;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sol-badge-card .badge-title {
    font-size: 15.5px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 3px 0;
}
.sol-badge-card .badge-info {
    min-width: 0;
}
.sol-badge-card .badge-desc {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}
@media (min-width: 1025px) {
    .sol-badge-card .badge-desc {
        white-space: nowrap;
    }
}

/* 3. 6 Problems Grid */
.sol-problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.sol-problem-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 22px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sol-problem-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(2, 132, 199, 0.1);
    border-color: #bae6fd;
}
.sol-problem-box .prob-icon {
    font-size: 28px;
    color: #0284c7;
    margin-bottom: 12px;
}
.sol-problem-box .prob-title {
    font-size: 15.5px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
}
.sol-problem-box .prob-desc {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}
/* Problems: hỗ trợ ảnh đại diện từng vấn đề (trang danh mục) — ảnh nhỏ góc trái */
.sol-problem-box .prob-icon img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}
/* Section Thực trạng ngành (trang danh mục): cách xa thẻ tính năng hero phía trên */
.sol-problems-section.sol-cat-problems {
    padding-top: 100px;
}
@media (max-width: 768px) {
    /* Mobile: .section-padding có padding-top:30px !important nên cần đè lại,
       card hero tràn xuống 50px → padding này giữ khoảng cách an toàn */
    .sol-problems-section.sol-cat-problems {
        padding-top: 95px !important;
    }
}

/* Hero danh mục: thẻ tính năng nổi đè chân hero */
.sol-cat-hero.has-features {
    padding-bottom: 70px;
}
.sol-hero-features {
    list-style: none;
    margin: 42px auto -120px auto;
    padding: 28px 36px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 14px 44px rgba(2, 32, 71, 0.14);
    display: flex;
    gap: 36px;
    max-width: 1200px;
    position: relative;
    z-index: 3;
    text-align: left;
}
.sol-hero-features li {
    flex: 1;
    min-width: 0;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}
.sol-hero-features .feat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e3f0fd;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.sol-hero-features .feat-text {
    min-width: 0;
}
.sol-hero-features .feat-text strong {
    display: block;
    color: #0f172a;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 5px;
}
.sol-hero-features .feat-text small {
    display: block;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}

/* 3b. Solutions grid theo danh mục (taxonomy-danh-muc-giai-phap) */
.sol-cat-solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.sol-cat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.sol-cat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(2, 132, 199, 0.12);
}
.sol-cat-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f1f5f9;
}
.sol-cat-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.sol-cat-card:hover .sol-cat-thumb img {
    transform: scale(1.05);
}
.sol-cat-thumb .solution-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #cbd5e1;
}
.sol-cat-brand {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.sol-cat-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.sol-cat-title {
    font-size: 16.5px;
    line-height: 1.4;
    margin: 0 0 8px 0;
}
.sol-cat-title a {
    color: #0f172a;
    text-decoration: none;
}
.sol-cat-title a:hover {
    color: var(--primary);
}
.sol-cat-desc {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 14px 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sol-cat-link {
    color: #0284c7;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.sol-cat-link:hover {
    color: var(--primary);
}

/* 4. Industries Grid (Taxonomy) */
.sol-industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.sol-industry-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.sol-industry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}
.sol-industry-card .industry-thumb {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #edf2f7;
}
.sol-industry-card .industry-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.sol-industry-card:hover .industry-thumb img {
    transform: scale(1.06);
}
.sol-industry-card .industry-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.sol-industry-card .industry-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 6px 0;
}
.sol-industry-card .industry-title a {
    color: #165793;
    text-decoration: none;
}
.sol-industry-card .industry-title a:hover {
    color: #0369a1;
}
.sol-industry-card .industry-desc {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.45;
    margin: 0 0 12px 0;
}
.sol-industry-card .industry-link {
    margin-top: auto;
    font-size: 12.5px;
    font-weight: 600;
    color: #0284c7;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.sol-industry-card .industry-link:hover {
    gap: 7px;
}

/* 5. Hệ Giải Pháp FRP Toàn Diện (Cards) */
.sol-system-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.sol-system-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sol-system-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(22, 87, 147, 0.1);
    border-color: #bae6fd;
}
.sol-system-card .system-card-thumb {
    aspect-ratio: 16 / 10;
    background: #f8fafc;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f1f5f9;
}
.sol-system-card .system-card-thumb img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}
.sol-system-card .system-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.sol-system-card .system-card-title {
    font-size: 15.5px;
    font-weight: 700;
    color: #165793;
    margin: 0 0 8px 0;
}
.sol-system-card .system-card-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 14px 0;
}
.sol-system-card .system-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px dashed #f1f5f9;
    gap: 8px;
}
.sol-system-card .system-card-brands {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}
.sol-system-card .brand-pill {
    padding: 2px 8px;
    font-size: 10.5px;
    border: 1px solid #84bbf0;
    background: #f1f7fd;
    color: #165793;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
}
.sol-system-card .system-card-more {
    font-size: 12.5px;
    font-weight: 600;
    color: #0284c7;
    text-decoration: none;
    white-space: nowrap;
}

/* 6. Chọn Nhanh Giải Pháp Theo Vấn Đề (Interactive Tabs) */
.sol-vande-section {
    overflow-x: clip;
}
.sol-vande-tabs-wrap {
    margin-bottom: 25px;
}
.sol-vande-tabs-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.sol-vande-tab-btn {
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #165793;
    background: #ffffff;
    border: 1px solid #d3e0ec;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
}
.sol-vande-tab-btn:hover {
    background: #edf5fc;
    border-color: #165793;
}
.sol-vande-tab-btn.active {
    background: #165793;
    color: #ffffff;
    border-color: #165793;
    box-shadow: 0 4px 12px rgba(22, 87, 147, 0.25);
}
.sol-vande-panel {
    display: none;
}
.sol-vande-panel.active {
    display: block;
    animation: solFadeIn 0.35s ease;
}
@keyframes solFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
.vande-panel-grid {
    display: grid;
    grid-template-columns: 320px 1fr 280px;
    gap: 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
/* Prevent grid blowout: children must be allowed to shrink below content size */
.vande-panel-grid > * {
    min-width: 0;
}
.vande-main-img {
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #f1f5f9;
}
/* Gallery slider: khung chứa + nút prev/next */
.vande-slider {
    position: relative;
}
.vande-slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #e2e8f0;
    color: var(--primary);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(2, 32, 71, 0.14);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    z-index: 2;
    padding: 0;
}
.vande-slide-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}
.vande-slide-prev {
    left: 10px;
}
.vande-slide-next {
    right: 10px;
}
/* Nút xem chi tiết dưới gallery: full width */
.vande-action-under-gallery {
    margin-top: 14px;
}
.vande-detail-full {
    width: 100%;
    justify-content: center;
}
.vande-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.vande-thumb-row {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
}
.vande-mini-thumb {
    width: 65px;
    height: 48px;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.2s ease;
}
.vande-mini-thumb.active,
.vande-mini-thumb:hover {
    border-color: #0284c7;
}
.vande-mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.vande-solution-title {
    font-size: 18px;
    font-weight: 700;
    color: #165793;
    margin: 0 0 10px 0;
    line-height: 1.4;
}
.vande-solution-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 16px 0;
}
.vande-rec-products {
    background: #f0f7ff;
    border: 1px solid #bae6fd;
    border-radius: 6px;
    padding: 12px 14px;
    margin-bottom: 18px;
}
.vande-rec-products .rec-header {
    font-size: 13px;
    font-weight: 700;
    color: #0369a1;
    margin: 0 0 8px 0;
}
.vande-rec-products .rec-products-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.vande-rec-products .rec-product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    background: #ffffff;
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid #e0f2fe;
}
.vande-rec-products .rec-p-link {
    color: #165793;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.vande-rec-products .rec-p-link i {
    color: #0284c7;
}
.vande-rec-products .brand-pill.small {
    padding: 2px 7px;
    font-size: 10px;
    border: 1px solid #84bbf0;
    background: #f8fafc;
    color: #165793;
    border-radius: 10px;
    font-weight: 700;
}
.vande-action-row {
    margin-top: 15px;
}
.vande-action-row .vande-detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13.5px;
    padding: 10px 22px;
}
.vande-apps-col {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 18px;
}
.vande-apps-col .apps-header {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.vande-apps-col .apps-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.vande-apps-col .apps-list li {
    display: flex;
    gap: 8px;
    font-size: 14px;
    color: #334155;
    line-height: 1.55;
}
.vande-apps-col .apps-list li i {
    color: #16a34a;
    font-size: 13px;
    margin-top: 3px;
    flex-shrink: 0;
}
.vande-apps-col .apps-list li .app-icon-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    flex-shrink: 0;
    margin-top: 0;
}

/* 7. Kiến Thức & Công Nghệ */
.sol-knowledge-tabs-wrap {
    margin-bottom: 25px;
}
.sol-knowledge-tabs-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.sol-k-tab-btn {
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #165793;
    background: #ffffff;
    border: 1px solid #d3e0ec;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
}
.sol-k-tab-btn:hover {
    background: #edf5fc;
    border-color: #165793;
}
.sol-k-tab-btn.active {
    background: #165793;
    color: #ffffff;
    border-color: #165793;
}
.sol-k-panel {
    display: none;
}
.sol-k-panel.active {
    display: block;
    animation: solFadeIn 0.35s ease;
}
.sol-k-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.sol-k-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sol-k-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}
.sol-k-card .k-card-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f1f5f9;
}
.sol-k-card .k-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.sol-k-card:hover .k-card-thumb img {
    transform: scale(1.06);
}
.sol-k-card .k-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 30px;
}
.sol-k-card .k-card-date {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(15, 23, 42, 0.8);
    color: #ffffff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 3px;
}
.sol-k-card .k-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.sol-k-card .k-card-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.4;
}
.sol-k-card .k-card-title a {
    color: #0f172a;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sol-k-card .k-card-title a:hover {
    color: #0284c7;
}
.sol-k-card .k-card-excerpt {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 12px 0;
}
.sol-k-card .k-card-link {
    margin-top: auto;
    font-size: 12.5px;
    font-weight: 600;
    color: #0284c7;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.sol-k-card .k-card-link:hover {
    gap: 7px;
}

/* 8. Dự Án & Ứng Dụng Thực Tiễn (Slider Carousel) */
.sol-slider-container {
    position: relative;
    padding: 0 45px;
}
.sol-slider-track-wrap {
    overflow: hidden;
    width: 100%;
}
.sol-slider-track {
    display: flex;
    gap: 18px;
    transition: transform 0.4s ease;
}
.sol-slide-item {
    width: calc((100% - 54px) / 4);
    flex-shrink: 0;
}
.sol-slide-item.is-hidden {
    display: none !important;
}
.sol-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #165793;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    z-index: 10;
    transition: all 0.2s ease;
}
.sol-slider-btn:hover {
    background: #165793;
    color: #ffffff;
    border-color: #165793;
}
.sol-slider-btn.prev {
    left: 0;
}
.sol-slider-btn.next {
    right: 0;
}

/* 9. Vì Sao Chọn NAACO? */
.sol-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.sol-why-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 22px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sol-why-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(22, 87, 147, 0.08);
}
.sol-why-box .why-icon {
    width: 55px;
    height: 55px;
    background: var(--primary);
    color: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 14px;
}
.sol-why-box .why-title {
    font-size: 15.5px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
}
.sol-why-box .why-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

/* 10. FAQ & Contact Layout */
.sol-faq-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}
.sol-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sol-faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
}
.sol-faq-header {
    width: 100%;
    padding: 14px 16px;
    background: #ffffff;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease;
}
.sol-faq-header:hover {
    background: #f8fafc;
}
.sol-faq-item.active .sol-faq-header {
    background: #f0f7ff;
}
.sol-faq-header .faq-q-text {
    font-size: 14.5px;
    font-weight: 600;
    color: #0f172a;
}
.sol-faq-header .faq-icon {
    color: #0284c7;
    font-size: 13px;
    transition: transform 0.3s ease;
}
.sol-faq-item.active .faq-icon {
    transform: rotate(180deg);
}
.sol-faq-body {
    padding: 14px 16px;
    background: #ffffff;
    font-size: 13.5px;
    line-height: 1.6;
    color: #475569;
}
.sol-faq-body p {
    margin: 0;
}

/* Contact Sidebar Box */
.sol-contact-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}
.sol-contact-box .contact-box-header {
    text-align: center;
    margin-bottom: 20px;
}
.sol-contact-box .contact-box-header i {
    font-size: 32px;
    color: #0284c7;
    margin-bottom: 8px;
}
.sol-contact-box .contact-box-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
}
.sol-contact-box .contact-box-header p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}
.sol-contact-box .contact-box-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
}
.sol-action-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
}
.sol-action-btn.hotline {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}
.sol-action-btn.hotline:hover {
    background: #dbeafe;
}
.sol-action-btn.hotline i {
    font-size: 22px;
    color: #2563eb;
}
.sol-action-btn.zalo {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}
.sol-action-btn.zalo:hover {
    background: #dcfce7;
}
.sol-action-btn .zalo-tag {
    background: #0068ff;
    color: #ffffff;
    font-weight: 800;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
}
.sol-action-btn small {
    display: block;
    font-size: 11px;
    color: #64748b;
}
.sol-action-btn strong {
    font-size: 15px;
    font-weight: 700;
}

/* Responsive Solution Page */
@media (max-width: 1024px) {
    .sol-badges-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .sol-problems-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sol-industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sol-system-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .vande-panel-grid {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 18px;
    }
    .sol-slide-item {
        width: calc((100% - 18px) / 2);
    }
    .sol-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sol-faq-layout {
        grid-template-columns: 1fr;
    }
    .sol-k-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sol-cat-solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sol-hero-title {
        font-size: 24px;
    }
    .sol-hero-subtitle {
        font-size: 14px;
    }
    .sol-cat-hero.has-features {
        padding-bottom: 60px;
    }
    .sol-hero-features {
        flex-direction: column;
        gap: 22px;
        padding: 24px 26px;
        margin-top: 34px;
        margin-bottom: -110px;
        margin-left: 0;
        margin-right: 0;
        max-width: none;
        width: 100%;
    }
    .sol-cat-solutions-grid {
        grid-template-columns: 1fr;
    }
    .sol-slider-container {
        padding: 0;
    }
    /* Mobile: hiện nút prev/next + vuốt snap như slider */
    .sol-slider-btn {
        display: flex;
        width: 32px;
        height: 32px;
        font-size: 13px;
        background: rgba(255, 255, 255, 0.96);
    }
    .sol-slider-btn.prev {
        left: 4px;
    }
    .sol-slider-btn.next {
        right: 4px;
    }
    .sol-slider-track-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    .sol-slider-track-wrap::-webkit-scrollbar {
        display: none;
    }
    .sol-slider-track {
        gap: 10px;
    }
    .sol-slide-item {
        width: calc((100% - 10px) / 2); /* 2 columns on mobile as requested! */
        scroll-snap-align: start;
    }
    .sol-problems-grid {
        grid-template-columns: 1fr;
    }
    /* Trang danh mục: grid vấn đề 2 cột trên mobile */
    .sol-cat-problems .sol-problems-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .sol-cat-problems .sol-problem-box {
        padding: 16px 14px;
    }
    .sol-industries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .sol-system-grid {
        grid-template-columns: 1fr;
    }
    .sol-k-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .sol-k-card .k-card-body {
        padding: 12px;
    }
    .sol-k-card .k-card-title {
        font-size: 13.5px;
    }
    .sol-k-card .k-card-excerpt {
        font-size: 12px;
    }
    /* Tab danh mục bài viết: 1 hàng, scroll ngang trên mobile */
    .sol-knowledge-tabs-bar {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 6px;
        /* khớp với .container padding 12px trên mobile (không phải 20px) */
        margin: 0 -12px;
        padding-left: 12px;
        padding-right: 12px;
    }
    .sol-knowledge-tabs-bar::-webkit-scrollbar {
        display: none;
    }
    .sol-k-tab-btn {
        flex-shrink: 0;
        white-space: nowrap;
    }
    .sol-why-grid {
        grid-template-columns: 1fr;
    }
    /* Problem tabs: single horizontal scrollable row on mobile */
    .sol-vande-tabs-bar {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin: 0 -12px;
        padding: 4px 12px 10px;
    }
    .sol-vande-tabs-bar::-webkit-scrollbar {
        display: none;
    }
    .sol-vande-tab-btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }
    /* Gallery: larger touch targets + snap scrolling on mobile */
    .vande-main-img {
        width: 100%;
    }
    .vande-thumb-row {
        scroll-snap-type: x mandatory;
        padding-bottom: 4px;
    }
    .vande-mini-thumb {
        width: 72px;
        height: 54px;
        scroll-snap-align: start;
    }
    /* Recommended product rows: let long names wrap under the badge on narrow screens */
    .vande-rec-products .rec-product-item {
        flex-wrap: wrap;
        gap: 6px;
    }
}





/* Single giải pháp: dùng chung class với single post (post-featured-image, post-article-header...) */

/* Nút floating contact: gọn lại trên mobile */
@media (max-width: 768px) {
    .naaco-floating-actions {
        bottom: 14px;
        right: 14px;
        gap: 8px;
    }
    .float-btn {
        width: 44px;
        height: 44px;
    }
    .float-zalo {
        font-size: 11px;
    }
    .float-fb,
    .float-phone {
        font-size: 17px;
    }
    .float-top {
        font-size: 14px;
    }
}
