/*
Theme Name: ThanhWeb Web Design & Custom Software
Theme URI: https://thanhweb.net/
Description: Theme chuyên nghiệp dành cho đơn vị thiết kế website cao cấp và phát triển phần mềm doanh nghiệp (CRM, AI Chatbot, Automation), kho bán theme và mã nguồn sạch. Tối ưu Core Web Vitals <0.8s, chuẩn SEO Semantic và tùy biến menu 100%.
Version: 4.0.0
Author: Nguyễn Nhật Thanh (https://thanhweb.net)
Text Domain: thanhweb-theme
*/

/* ==========================================================================
   01. DESIGN TOKENS & SYSTEM VARIABLES (Option 3 Specification)
   ========================================================================== */
:root {
    /* Brand Colors - White & Royal Gold (thanhweb-v3 Master Palette) */
    --thanhweb-gold: #c59b27;
    --thanhweb-gold-hover: #a07a16;
    --thanhweb-gold-dark: #8c6a0f;
    --thanhweb-gold-light: #fbf4dc;
    --thanhweb-gold-tint: rgba(197, 155, 39, 0.14);

    /* Backward compatibility aliases */
    --thanhweb-gold-alias: var(--thanhweb-gold);
    --thanhweb-gold-dark-alias: var(--thanhweb-gold-dark);
    --technology-cyan: #d4af37;
    --surface-blue: #fbf9f5;

    /* Surfaces & Backgrounds (Non-absolute Warm White & Neutral Gray) */
    --bg-body: #f8f7f4;              /* Canvas nền chính: Trắng ngà ấm */
    --white: #fcfbf8;                /* Trắng kem không tuyệt đối */
    --pure-white: #fcfbf8;
    --surface-light: #f1eee6;        /* Nền phụ: Xám kem nhẹ */
    --surface-card: #fcfbf8;         /* Bề mặt thẻ: Off-white cao cấp */
    --surface-card-hover: #f6f4ee;   /* Hover thẻ */
    --header-bg: rgba(248, 247, 244, 0.94);
    --drawer-bg: #f8f7f4;
    --surface-blue: #f1eee6;

    /* Text & Headings (Dark Charcoal & Inks - Tuyệt đối tương phản, không dùng #000000) */
    --text-primary: #181816;         /* Chữ chính: Đen than siêu đậm sắc nét */
    --text-secondary: #3d3a33;       /* Chữ phụ: Xám than đậm */
    --text-muted: #666258;           /* Chú thích: Xám trung tính */
    --navy: #181816;

    /* Borders & Lines */
    --border-light: #ded8ca;         /* Viền xám kem rõ nét */
    --border-card: #ded8ca;

    /* Semantic Typography (Inter first with native Vietnamese diacritics support) */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Gold Heading Gradient */
    --thanhweb-gold-gradient: linear-gradient(135deg, #a07a16 0%, #c59b27 45%, #d4af37 75%, #8c6a0f 100%);

    /* Layout & Geometry */
    --container-max: 1240px;
    --section-space-desktop: 110px;
    --section-space-mobile: 68px;

    /* Shape & Border Radius Scale */
    --radius-card: 24px;
    --radius-button: 9px;
    --radius-image: 24px;
    --radius-large: 24px;
    --radius-pill: 100px;
    --radius-circle: 50%;

    /* Depth & Elevation Levels (Gold Glow & Soft Diffuse) */
    --shadow-subtle: 0 4px 16px rgba(24, 24, 22, 0.05), 0 0 1px rgba(197, 155, 39, 0.15);
    --shadow-card: 0 10px 25px rgba(197, 155, 39, 0.16), 0 2px 6px rgba(24, 24, 22, 0.05);
    --shadow-hover: 0 16px 40px rgba(197, 155, 39, 0.22);
    --shadow-dropdown: 0 20px 45px rgba(24, 24, 22, 0.08), 0 35px 50px rgba(197, 155, 39, 0.14);
    --shadow-dark-card: var(--shadow-card);

    /* Transitions & Motion */
    --transition-fast: 200ms cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 350ms cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 500ms cubic-bezier(0.16, 1, 0.3, 1);

    color-scheme: light;
}

/* ==========================================================================
   02. RESET & GLOBAL BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--bg-body);
    line-height: 1.65;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--thanhweb-gold);
    text-decoration: none;
    transition: color var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast);
}

a:hover {
    color: var(--thanhweb-gold-dark);
}

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: 1rem;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

/* ==========================================================================
   03. LAYOUT & CONTAINER
   ========================================================================== */
.thanhweb-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 28px;
    position: relative;
    width: 100%;
}

.thanhweb-section {
    padding: var(--section-space-desktop) 0;
    position: relative;
}

.thanhweb-content-section {
    padding: 60px 0 90px;
    position: relative;
}

/* Section Header Structure */
.thanhweb-section-header {
    margin-bottom: 56px;
    max-width: 760px;
}

.thanhweb-section-header.text-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.thanhweb-eyebrow {
    display: inline-block;
    font-size: 0.8125rem; /* 13px */
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--thanhweb-gold);
    margin-bottom: 12px;
}

.thanhweb-section-title {
    font-size: 2.25rem; /* 36px */
    font-weight: 800;
    line-height: 1.35;
    padding-top: 0.15em;
    padding-bottom: 0.05em;
    letter-spacing: -0.015em;
    color: var(--text-primary);
    margin-bottom: 16px;
    overflow: visible;
}

.thanhweb-section-desc {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.65;
    max-width: 65ch;
}

/* Section Heading Styles */
.theme-dark .thanhweb-eyebrow,
.thanhweb-eyebrow {
    color: var(--thanhweb-gold-dark) !important;
}
.theme-dark .thanhweb-section-title,
.thanhweb-section-title {
    color: var(--thanhweb-gold-dark) !important;
    background: var(--thanhweb-gold-gradient) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}
.theme-dark .thanhweb-section-desc,
.thanhweb-section-desc {
    color: var(--text-secondary) !important;
}

/* ==========================================================================
   04. BUTTONS & CTA SYSTEM (Option 3 Rule: 3 CTA Types Only)
   ========================================================================== */
.thanhweb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: var(--radius-button);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition: all var(--transition-fast);
    text-align: center;
}

.thanhweb-btn:active {
    transform: translateY(1px);
}

/* Primary CTA: TƯ VẤN CHUYỂN ĐỔI SỐ */
.thanhweb-btn-primary {
    background-color: var(--thanhweb-gold);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(1, 66, 248, 0.28);
}
.thanhweb-btn-primary:hover {
    background-color: var(--thanhweb-gold-dark);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(1, 66, 248, 0.38);
    transform: translateY(-2px);
}

/* Secondary CTA: KHÁM PHÁ GIẢI PHÁP */
.thanhweb-btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
}
.thanhweb-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-2px);
}

.thanhweb-btn-secondary-dark {
    background-color: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-light);
}
.thanhweb-btn-secondary-dark:hover {
    border-color: var(--thanhweb-gold);
    color: var(--thanhweb-gold);
    background-color: var(--surface-light);
    transform: translateY(-2px);
}

/* Contextual CTA: KHÁM PHÁ / XEM CASE STUDY */
.thanhweb-btn-contextual {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--thanhweb-gold);
    text-transform: uppercase;
    transition: gap var(--transition-fast), color var(--transition-fast);
}
.thanhweb-btn-contextual:hover {
    color: var(--thanhweb-gold-dark);
    gap: 12px;
}
.thanhweb-btn-contextual svg {
    width: 16px;
    height: 16px;
    stroke-width: 2px;
    transition: transform var(--transition-fast);
}
.thanhweb-btn-contextual:hover svg {
    transform: translateX(3px);
}

/* ==========================================================================
   05. HEADER & NAVIGATION (State 1 Transparent -> State 2 Scrolled White)
   ========================================================================== */
.thanhweb-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color var(--transition-normal), box-shadow var(--transition-normal), padding var(--transition-normal), border-color var(--transition-normal);
    padding: 18px 0;
}

/* State 1: Top of Page (Transparent Warm Obsidian & Gold Hairline) */
.thanhweb-header.header-transparent {
    background: var(--header-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
}
.thanhweb-header.header-transparent .thanhweb-nav-link {
    color: var(--text-primary);
}
.thanhweb-header.header-transparent .thanhweb-nav-link:hover,
.thanhweb-header.header-transparent .thanhweb-nav-link.active,
.thanhweb-header.header-transparent .thanhweb-nav-item:hover > .thanhweb-nav-link,
.thanhweb-header.header-transparent .thanhweb-nav-item.is-open > .thanhweb-nav-link {
    color: var(--thanhweb-gold-dark) !important;
    background: var(--thanhweb-gold-light);
    border-color: var(--border-light);
    box-shadow: 0 0 16px var(--thanhweb-gold-glow);
}
.thanhweb-header.header-transparent .thanhweb-nav-link:hover svg.caret,
.thanhweb-header.header-transparent .thanhweb-nav-link.active svg.caret,
.thanhweb-header.header-transparent .thanhweb-nav-item:hover > .thanhweb-nav-link svg.caret,
.thanhweb-header.header-transparent .thanhweb-nav-item.is-open > .thanhweb-nav-link svg.caret {
    color: var(--thanhweb-gold-dark);
}
.thanhweb-header.header-transparent .thanhweb-brand span {
    color: var(--text-primary) !important;
}
.thanhweb-header.header-transparent .thanhweb-brand span span {
    color: var(--thanhweb-gold) !important;
}
.thanhweb-header.header-transparent .thanhweb-brand-title {
    color: var(--text-muted);
}
.thanhweb-header.header-transparent .thanhweb-brand-badge {
    background: var(--thanhweb-gold-light);
    color: var(--thanhweb-gold-dark);
    border: 1px solid var(--border-light);
}

/* State 2: Scrolled Page (Clean White) */
.thanhweb-header.header-scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}
.thanhweb-header.header-scrolled .thanhweb-brand-title {
    color: var(--navy);
}
.thanhweb-header.header-scrolled .thanhweb-brand-badge {
    background: var(--surface-blue);
    color: var(--thanhweb-gold);
    border: 1px solid rgba(197, 155, 39, 0.3);
}
.thanhweb-header.header-scrolled .thanhweb-nav-link {
    color: var(--text-primary);
}
.thanhweb-header.header-scrolled .thanhweb-nav-link:hover,
.thanhweb-header.header-scrolled .thanhweb-nav-link.active,
.thanhweb-header.header-scrolled .thanhweb-nav-item:hover > .thanhweb-nav-link,
.thanhweb-header.header-scrolled .thanhweb-nav-item.is-open > .thanhweb-nav-link {
    color: var(--thanhweb-gold-dark);
    background: rgba(197, 155, 39, 0.09);
    border-color: rgba(197, 155, 39, 0.28);
    box-shadow: 0 2px 10px rgba(197, 155, 39, 0.1);
}
.thanhweb-header.header-scrolled .thanhweb-nav-link:hover svg.caret,
.thanhweb-header.header-scrolled .thanhweb-nav-link.active svg.caret,
.thanhweb-header.header-scrolled .thanhweb-nav-item:hover > .thanhweb-nav-link svg.caret,
.thanhweb-header.header-scrolled .thanhweb-nav-item.is-open > .thanhweb-nav-link svg.caret {
    color: var(--thanhweb-gold-dark);
}

.thanhweb-header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Brand Logo */
.thanhweb-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}
.thanhweb-logo-img {
    height: 42px;
    width: auto;
    max-height: 44px;
    object-fit: contain;
    display: block;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}
.thanhweb-brand:hover .thanhweb-logo-img {
    transform: translateY(-1px);
}

/* Dynamic Logo Switching: Light (on dark background) vs Dark (on white scrolled background) */
.thanhweb-logo-light {
    display: block;
}
.thanhweb-logo-dark {
    display: none;
}
.header-scrolled .thanhweb-logo-light {
    display: none !important;
}
.header-scrolled .thanhweb-logo-dark {
    display: block !important;
}
.header-transparent .thanhweb-logo-light {
    display: block !important;
}
.header-transparent .thanhweb-logo-dark {
    display: none !important;
}

.thanhweb-brand-logo-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(1, 66, 248, 0.3));
}
.thanhweb-brand-text-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}
.thanhweb-brand-title {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    display: flex;
    align-items: center;
    transition: color var(--transition-fast);
}
.thanhweb-brand-badge {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    line-height: 1.1;
    width: fit-content;
    transition: all var(--transition-fast);
}

/* Navigation List — Single Line, Anti-Wrap */
.thanhweb-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
}
.thanhweb-nav-item {
    position: relative;
    flex-shrink: 0;
}
.thanhweb-nav-link {
    font-size: 0.9375rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    white-space: nowrap !important;
    line-height: 1;
    border: 1px solid transparent;
    transition: all var(--transition-fast);
}
.thanhweb-nav-link svg.caret {
    width: 13px;
    height: 13px;
    stroke-width: 2.2;
    transition: transform var(--transition-fast), color var(--transition-fast);
    flex-shrink: 0;
}
.thanhweb-nav-item:hover .thanhweb-nav-link svg.caret,
.thanhweb-nav-item.is-open .thanhweb-nav-link svg.caret {
    transform: rotate(180deg);
}

/* Header Right Actions */
.thanhweb-header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

/* High-End Enterprise Pill CTA Button */
.thanhweb-btn-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap !important;
    line-height: 1;
    transition: all var(--transition-fast);
    text-decoration: none;
}
.thanhweb-btn-header-cta .cta-arrow {
    width: 14px;
    height: 14px;
    stroke-width: 2.2;
    transition: transform var(--transition-fast);
}
.thanhweb-btn-header-cta:hover .cta-arrow {
    transform: translateX(3px);
}

/* Transparent State CTA */
.header-transparent .thanhweb-btn-header-cta {
    background: linear-gradient(135deg, #c59b27 0%, #a07a16 100%);
    color: var(--white);
    border: 1px solid rgba(64, 238, 254, 0.45);
    box-shadow: 0 0 16px rgba(1, 66, 248, 0.35);
}
.header-transparent .thanhweb-btn-header-cta:hover {
    background: var(--thanhweb-gold);
    border-color: var(--technology-cyan);
    box-shadow: 0 0 22px rgba(64, 238, 254, 0.5);
    transform: translateY(-1px);
}

/* Scrolled State CTA */
.header-scrolled .thanhweb-btn-header-cta {
    background: var(--thanhweb-gold);
    color: var(--white);
    border: 1px solid var(--thanhweb-gold);
    box-shadow: 0 4px 14px rgba(1, 66, 248, 0.28);
}
.header-scrolled .thanhweb-btn-header-cta:hover {
    background: var(--thanhweb-gold-dark);
    border-color: var(--thanhweb-gold-dark);
    box-shadow: 0 6px 20px rgba(1, 66, 248, 0.38);
    transform: translateY(-1px);
}

/* Mobile Hamburger Toggle Button */
.thanhweb-hamburger {
    display: none;
    width: 42px;
    height: 42px;
    padding: 8px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    cursor: pointer;
    transition: all var(--transition-fast);
}
.thanhweb-hamburger .bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition-fast);
    margin: 0 auto;
}
.header-scrolled .thanhweb-hamburger {
    background: var(--surface-light);
    border-color: var(--border-light);
}
.header-scrolled .thanhweb-hamburger .bar {
    background: var(--navy);
}

/* BASE: Mobile Overlay & Drawer are HIDDEN on Desktop */
.thanhweb-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(14, 12, 10, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9998;
    opacity: 0;
    transition: opacity var(--transition-normal);
}
.thanhweb-mobile-drawer {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 380px;
    background: #14120e;
    z-index: 9999;
    padding: 24px 20px;
    flex-direction: column;
    justify-content: space-between;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mega Menu: Giải Pháp (6 Groups) */
.thanhweb-nav-item.has-mega {
    padding-bottom: 20px;
    margin-bottom: -20px;
}
.thanhweb-mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 820px;
    background: var(--surface-card);
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-light);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-normal), transform var(--transition-normal), visibility var(--transition-normal);
    z-index: 100;
}
/* Invisible hover bridge connecting nav item to mega menu */
.thanhweb-mega-menu::before {
    content: '';
    position: absolute;
    top: -28px;
    left: 0;
    right: 0;
    height: 32px;
    background: transparent;
    pointer-events: auto;
}
.thanhweb-nav-item.has-mega:hover .thanhweb-mega-menu,
.thanhweb-nav-item.has-mega.is-open .thanhweb-mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.thanhweb-nav-item.has-mega.is-open .thanhweb-nav-link svg.caret {
    transform: rotate(180deg);
}
.thanhweb-mega-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.thanhweb-mega-item {
    display: flex;
    gap: 16px;
    padding: 14px;
    border-radius: 8px;
    background: var(--surface-light);
    border: 1px solid var(--border-light);
    transition: all var(--transition-fast);
    text-decoration: none;
}
.thanhweb-mega-item:hover {
    background: var(--surface-card-hover);
    border-color: var(--thanhweb-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-subtle);
}
.thanhweb-mega-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: var(--surface-card);
    border: 1px solid var(--border-light);
    color: var(--thanhweb-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}
.thanhweb-mega-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.75px;
}
.thanhweb-mega-item:hover .thanhweb-mega-icon {
    background: var(--thanhweb-gold);
    color: #141210;
    border-color: var(--thanhweb-gold);
}
.thanhweb-mega-info {
    flex: 1;
}
.thanhweb-mega-title-en {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--thanhweb-gold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 2px;
}
.thanhweb-mega-title-vi {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    display: block;
    margin-bottom: 4px;
}
.thanhweb-mega-desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   06. SECTION 01 — HERO (Dark Blue Gradient)
   ========================================================================== */
.thanhweb-hero {
    background: linear-gradient(180deg, var(--surface-light) 0%, var(--bg-body) 100%) !important;
    color: var(--text-primary) !important;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding-top: 130px;
    padding-bottom: 70px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
}

/* Subtle background grid pattern */
.thanhweb-hero::before {
    display: none;
}

.thanhweb-hero-grid {
    display: grid;
    grid-template-columns: 55% 45%;
    align-items: center;
    gap: 40px;
}

.thanhweb-hero-content {
    z-index: 2;
}

.thanhweb-hero-eyebrow {
    color: var(--thanhweb-gold-dark) !important;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.thanhweb-hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--thanhweb-gold);
    box-shadow: 0 0 10px var(--thanhweb-gold-glow);
}

.thanhweb-hero-h1 {
    font-size: 3.125rem; /* 50px */
    font-weight: 800;
    line-height: 1.35;
    padding-top: 0.18em;
    padding-bottom: 0.08em;
    letter-spacing: -0.015em;
    color: var(--thanhweb-gold-dark) !important;
    background: var(--thanhweb-gold-gradient) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: none !important;
    margin-bottom: 20px;
    overflow: visible;
}

.thanhweb-hero-sub {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-secondary) !important;
    max-width: 52ch;
    margin-bottom: 32px;
}

.thanhweb-hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.thanhweb-hero-trust {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted) !important;
    letter-spacing: 0.04em;
    border-top: 1px solid var(--border-light);
    padding-top: 20px;
    max-width: 520px;
}

/* Hero Interactive Architecture Visual (Center ThanhWeb & 6 Satellite Nodes) */
.thanhweb-hero-visual {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.thanhweb-ecosystem-svg {
    width: 100%;
    max-width: 560px;
    filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.35));
}

/* SVG interactive nodes: Hover phát sáng & tỏa ánh sáng rộng ra (No displacement / Không lệch tâm) */
.node-group {
    cursor: pointer;
    transition: filter 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.node-group .node-halo {
    opacity: 0;
    transition: opacity 0.35s ease, stroke 0.35s ease;
    pointer-events: none;
}

.node-group .node-circle {
    transition: stroke 0.3s ease, stroke-width 0.3s ease, fill 0.3s ease;
}

/* Hover: Tỏa quầng sáng rộng ra rực rỡ và phát sáng viền */
.node-group:hover {
    filter: drop-shadow(0 0 16px #f4d06f) drop-shadow(0 0 35px rgba(64, 238, 254, 0.8)) drop-shadow(0 0 55px rgba(1, 66, 248, 0.7));
}

.node-group:hover .node-circle {
    stroke: #f4d06f;
    stroke-width: 2px;
    fill: #252016;
}

.node-group:hover .node-halo {
    opacity: 1;
    stroke: #f4d06f;
}

/* Central Hub ThanhWeb Logo Glow on hover */
.node-group.center-hub:hover image {
    filter: drop-shadow(0 0 24px rgba(64, 238, 254, 0.9)) drop-shadow(0 0 45px rgba(1, 66, 248, 0.95)) !important;
}
.circuit-line {
    stroke-dasharray: 8 4;
    animation: dashflow 20s linear infinite;
}
@keyframes dashflow {
    to {
        stroke-dashoffset: -120;
    }
}
.core-pulse {
    animation: pulseRing 3s ease-in-out infinite;
    transform-origin: center;
}
@keyframes pulseRing {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.06);
    }
}

/* Hero Metrics Strip (3 Verified Items) */
.thanhweb-hero-metrics {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 820px;
    gap: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 32px;
}
.thanhweb-metric-item {
    display: flex;
    flex-direction: column;
}
.thanhweb-metric-val {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}
.thanhweb-metric-val span {
    color: var(--text-primary);
}
.thanhweb-metric-lbl {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.35;
}

/* ==========================================================================
   07. SECTION 02 — BUSINESS PROBLEMS (White Background)
   ========================================================================== */
.thanhweb-section-problems {
    background-color: var(--bg-body);
}

.thanhweb-problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.thanhweb-problem-card {
    background: var(--surface-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-card);
    padding: 36px 32px;
    transition: all var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
}

.thanhweb-problem-card:hover {
    transform: translateY(-4px);
    border-color: var(--thanhweb-gold);
    box-shadow: var(--shadow-card);
}

.thanhweb-problem-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.thanhweb-problem-num {
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.08em;
}

.thanhweb-problem-icon {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    background: var(--surface-light);
    color: var(--thanhweb-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.thanhweb-problem-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.75;
}

.thanhweb-problem-card:hover .thanhweb-problem-icon {
    background: var(--thanhweb-gold);
    color: var(--white);
}

.thanhweb-problem-title {
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.35;
}

.thanhweb-problem-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   08. SECTION 03 — DIGITAL SOLUTIONS (Very Light Blue)
   ========================================================================== */
.thanhweb-section-solutions {
    background-color: var(--surface-blue);
}

.thanhweb-solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.thanhweb-solution-card {
    background: var(--surface-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-card);
    padding: 38px 32px;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
    position: relative;
}

.thanhweb-solution-card:hover {
    transform: translateY(-5px);
    border-color: rgba(1, 66, 248, 0.3);
    box-shadow: var(--shadow-hover);
}

.thanhweb-solution-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.thanhweb-solution-num {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--thanhweb-gold);
    background: var(--surface-light);
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.08em;
}

.thanhweb-solution-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: var(--surface-light);
    color: var(--thanhweb-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.thanhweb-solution-icon svg {
    width: 26px;
    height: 26px;
    stroke-width: 1.75;
}

.thanhweb-solution-card:hover .thanhweb-solution-icon {
    background: var(--thanhweb-gold);
    color: var(--white);
}

.thanhweb-solution-cat {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--thanhweb-gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    display: block;
}

.thanhweb-solution-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 12px;
}

.thanhweb-solution-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.thanhweb-solution-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.thanhweb-solution-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--surface-light);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(229, 234, 242, 0.8);
}

/* ==========================================================================
   09. SECTION 04 — PRODUCTS & PLATFORMS (Dark Blue Background)
   ========================================================================== */
.thanhweb-section-products {
    background: var(--surface-light) !important;
    color: var(--text-primary) !important;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

/* Abstract architectural background */
.thanhweb-section-products::before {
    display: none;
}

.thanhweb-platform-architecture {
    display: grid;
    grid-template-columns: 42% 58%;
    align-items: center;
    gap: 48px;
    position: relative;
    z-index: 2;
}

.thanhweb-platform-content {
    max-width: 500px;
}

.thanhweb-platform-modules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.thanhweb-platform-module-card {
    background: var(--surface-card) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--radius-card) !important;
    padding: 24px;
    box-shadow: var(--shadow-card) !important;
    transition: all var(--transition-normal);
}

.thanhweb-platform-module-card:hover {
    background: var(--surface-card-hover) !important;
    border-color: var(--thanhweb-gold) !important;
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover) !important;
}

.thanhweb-module-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.thanhweb-module-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-button);
    background: var(--thanhweb-gold-light);
    color: var(--thanhweb-gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.thanhweb-module-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.75;
}

.thanhweb-module-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary) !important;
}

.thanhweb-module-desc {
    font-size: 0.875rem;
    color: var(--text-secondary) !important;
    line-height: 1.5;
    margin-bottom: 12px;
}

.thanhweb-module-features {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--thanhweb-gold-dark);
    letter-spacing: 0.04em;
}

/* Platform Architecture Interactive Visual */
.thanhweb-platform-visual {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.thanhweb-platform-diagram-svg {
    width: 100%;
    max-width: 620px;
}

/* ==========================================================================
   10. SECTION 05 — TECHNOLOGY CAPABILITIES (White Background)
   ========================================================================== */
.thanhweb-section-technology {
    background-color: var(--bg-body);
}

.thanhweb-tech-grid {
    display: grid;
    grid-template-columns: 36% 64%;
    gap: 48px;
    align-items: center;
    margin-bottom: 64px;
}

/* Layer Architecture Column (Left) */
.thanhweb-tech-layers {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}

.thanhweb-layer-item {
    background: var(--surface-light);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all var(--transition-fast);
}

.thanhweb-layer-item:hover,
.thanhweb-layer-item.active {
    background: var(--surface-card-hover);
    border-color: var(--thanhweb-gold);
    box-shadow: var(--shadow-subtle);
    transform: translateX(4px);
}

.thanhweb-layer-name {
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.thanhweb-layer-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--thanhweb-gold);
}

.thanhweb-layer-arrow {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* Tech Capabilities Cards (Right) */
.thanhweb-tech-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.thanhweb-tech-card {
    background: var(--surface-card);
    border: 1px solid var(--border-card);
    border-radius: 8px;
    padding: 28px;
    transition: all var(--transition-fast);
}

.thanhweb-tech-card:hover {
    border-color: var(--thanhweb-gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-subtle);
}

.thanhweb-tech-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.thanhweb-tech-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--surface-blue);
    color: var(--thanhweb-gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.thanhweb-tech-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.75;
}

.thanhweb-tech-card-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
}

.thanhweb-tech-card-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* Technology Quote Banner */
.thanhweb-tech-quote-wrap {
    border-top: 1px solid var(--border-light);
    padding-top: 48px;
    text-align: center;
}

.thanhweb-tech-quote-lead {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--thanhweb-gold);
    margin-bottom: 8px;
}

.thanhweb-tech-quote-sub {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* ==========================================================================
   11. SECTION 06 — CASE STUDIES (Light Blue / Light Grey)
   ========================================================================== */
.thanhweb-section-casestudies {
    background-color: var(--surface-light);
}

.thanhweb-cases-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 32px;
    align-items: stretch;
}

/* Featured Case Card (2/3 width) */
.thanhweb-case-featured {
    background: var(--surface-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-large);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-subtle);
}

.thanhweb-case-featured:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(1, 66, 248, 0.25);
}

.thanhweb-case-img-wrap {
    position: relative;
    height: 320px;
    background: var(--thanhweb-gold-dark);
    overflow: hidden;
}

.thanhweb-case-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.thanhweb-case-featured:hover .thanhweb-case-img-wrap img {
    transform: scale(1.03);
}

.thanhweb-case-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--surface-light) 0%, var(--surface-card) 100%);
    color: var(--text-primary) !important;
    padding: 24px;
    text-align: center;
    border: 1px solid var(--border-light);
}

.thanhweb-case-placeholder h3 {
    color: var(--thanhweb-gold-dark) !important;
}

.thanhweb-case-badge-verified {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--technology-cyan);
    border: 1px solid rgba(244, 208, 111, 0.4);
    background: rgba(20, 18, 14, 0.75);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.thanhweb-case-body {
    padding: 36px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.thanhweb-case-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.thanhweb-case-client {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--thanhweb-gold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.thanhweb-case-industry {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.thanhweb-case-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 20px;
}

/* Problem -> Solution -> Value Structured Grid */
.thanhweb-case-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 28px;
    padding: 16px;
    background: var(--surface-light);
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.thanhweb-flow-step {
    display: flex;
    flex-direction: column;
}

.thanhweb-flow-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--thanhweb-gold);
    margin-bottom: 4px;
}

.thanhweb-flow-desc {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

/* 3 Small Cases Column (Right) */
.thanhweb-cases-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.thanhweb-case-mini {
    background: var(--surface-card);
    border: 1px solid var(--border-card);
    border-radius: 8px;
    padding: 24px;
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
}

.thanhweb-case-mini:hover {
    border-color: var(--thanhweb-gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-subtle);
}

.thanhweb-mini-client {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--thanhweb-gold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.thanhweb-mini-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
    margin-bottom: 8px;
}

.thanhweb-mini-result {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 14px;
}

/* ==========================================================================
   12. SECTION 07 — THE ThanhWeb WAY (Process Timeline, White Background)
   ========================================================================== */
.thanhweb-section-process {
    background-color: var(--bg-body);
}

.thanhweb-timeline-wrap {
    position: relative;
    margin-top: 48px;
}

/* Desktop Horizontal Timeline */
.thanhweb-timeline-horizontal {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    position: relative;
}

.thanhweb-timeline-line {
    position: absolute;
    top: 24px;
    left: 4%;
    right: 4%;
    height: 2px;
    background: var(--border-light);
    z-index: 1;
}

.thanhweb-timeline-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.thanhweb-step-dot {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--surface-card);
    border: 2px solid var(--thanhweb-gold);
    color: var(--thanhweb-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 800;
    margin-bottom: 20px;
    box-shadow: 0 0 0 6px var(--bg-body);
    transition: all var(--transition-fast);
}

.thanhweb-timeline-step:hover .thanhweb-step-dot {
    background: var(--thanhweb-gold);
    color: #141210;
    transform: scale(1.1);
}

.thanhweb-step-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.thanhweb-step-desc {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 170px;
}

/* ==========================================================================
   13. SECTION 08 — PEOPLE & NETWORK (Very Light Blue to White)
   ========================================================================== */
.thanhweb-section-peoplenetwork {
    background: linear-gradient(180deg, var(--surface-blue) 0%, var(--bg-body) 100%);
}

.thanhweb-people-network-grid {
    display: grid;
    grid-template-columns: 48% 52%;
    gap: 48px;
    align-items: center;
}

/* Left: Team Editorial Layout */
.thanhweb-team-side {
    display: flex;
    flex-direction: column;
}

.thanhweb-team-photo-wrap {
    border-radius: var(--radius-card);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-card);
    margin-bottom: 24px;
}

.thanhweb-team-photo {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-smooth);
}

.thanhweb-team-photo-wrap:hover .thanhweb-team-photo {
    transform: scale(1.03);
}

.thanhweb-founder-quote {
    padding: 24px;
    background: var(--surface-blue);
    border-radius: var(--radius-card);
    border-left: 3px solid var(--thanhweb-gold);
    margin-bottom: 24px;
}

.thanhweb-founder-quote p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 8px;
}

.thanhweb-founder-quote cite {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-primary);
    font-style: normal;
}

.thanhweb-team-pillars {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.thanhweb-team-pillar {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.thanhweb-pillar-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--thanhweb-gold-light);
    color: var(--thanhweb-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.thanhweb-pillar-icon svg {
    width: 18px;
    height: 18px;
}

.thanhweb-pillar-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.thanhweb-pillar-desc {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

/* Right: Vietnam Development Network Map */
.thanhweb-network-side {
    background: var(--surface-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-large);
    padding: 36px;
    box-shadow: var(--shadow-subtle);
}

.thanhweb-network-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.thanhweb-network-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.thanhweb-network-map-svg {
    width: 100%;
    max-height: 380px;
}

.network-hub-dot {
    fill: var(--thanhweb-gold);
    stroke: var(--white);
    stroke-width: 2;
    transition: transform var(--transition-fast);
}

.network-hub-dot.hq {
    fill: var(--technology-cyan);
    stroke: var(--navy);
}

.network-hub-group:hover .network-hub-dot {
    transform: scale(1.4);
    transform-origin: center;
}

/* ==========================================================================
   14. SECTION 09 — FINAL CTA & HIGH-CONVERSION LEAD FORM
   ========================================================================== */
.thanhweb-section-finalcta {
    background: linear-gradient(180deg, var(--surface-light) 0%, var(--bg-body) 100%) !important;
    color: var(--text-primary) !important;
    padding: 96px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.thanhweb-cta-grid {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 48px;
    align-items: center;
}

.thanhweb-cta-info {
    max-width: 520px;
}

.thanhweb-cta-eyebrow {
    color: var(--thanhweb-gold-dark) !important;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: inline-block;
}

.thanhweb-cta-title {
    font-size: 2.375rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--thanhweb-gold-dark) !important;
    background: var(--thanhweb-gold-gradient) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: none !important;
    margin-bottom: 16px;
}

.thanhweb-cta-desc {
    font-size: 1.0625rem;
    color: var(--text-secondary) !important;
    line-height: 1.6;
    margin-bottom: 32px;
}

.thanhweb-cta-trust-items {
    display: flex;
    gap: 24px;
    border-top: 1px solid var(--border-light) !important;
    padding-top: 24px;
}

.thanhweb-cta-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary) !important;
}

.thanhweb-cta-trust-item svg {
    width: 16px;
    height: 16px;
    color: var(--thanhweb-gold-dark) !important;
}

/* Minimal 3-Field Lead Form (Low Friction) */
.thanhweb-lead-card {
    background: var(--surface-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-card);
    padding: 38px 34px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    color: var(--text-primary);
}

.thanhweb-lead-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.thanhweb-lead-card-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.thanhweb-lead-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.thanhweb-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.thanhweb-form-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.thanhweb-form-input,
.thanhweb-form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: var(--surface-light);
    color: var(--text-primary);
    font-size: 0.9375rem;
    outline: none;
    transition: all var(--transition-fast);
}

.thanhweb-form-input:focus,
.thanhweb-form-select:focus {
    border-color: var(--thanhweb-gold);
    box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.15);
}

.thanhweb-lead-btn {
    width: 100%;
    padding: 14px;
    margin-top: 8px;
    font-size: 0.9375rem;
    font-weight: 700;
}

/* Form Feedback States */
.thanhweb-form-msg {
    display: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 12px;
}
.thanhweb-form-msg.success {
    display: block;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.thanhweb-form-msg.error {
    display: block;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
.thanhweb-form-msg.loading {
    display: block;
    background: #eff6ff;
    color: var(--thanhweb-gold-dark);
    border: 1px solid rgba(197, 155, 39, 0.25);
}

/* ==========================================================================
   15. FOOTER (Warm Neutral, High Contrast, 5 Columns)
   ========================================================================== */
.thanhweb-footer {
    background-color: var(--surface-light) !important;
    color: var(--text-primary) !important;
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-light) !important;
}

/* Inline phrase & word protection utilities */
.tw-nobrk,
.tw-nowrap {
    display: inline-block;
    white-space: nowrap;
}

.thanhweb-footer-grid {
    display: grid;
    grid-template-columns: 2.3fr 1.05fr 1.25fr 1.25fr 1.15fr;
    gap: 36px;
    margin-bottom: 56px;
}

.thanhweb-footer-col h4 {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--thanhweb-gold-dark) !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
}

.thanhweb-footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.thanhweb-footer-col ul a {
    font-size: 0.8125rem;
    color: var(--text-secondary) !important;
    line-height: 1.5;
    transition: color var(--transition-fast);
}

.thanhweb-footer-col ul a:hover {
    color: var(--thanhweb-gold) !important;
}

/* Column 1 Info */
.thanhweb-footer-brand-logo {
    display: inline-block;
    margin-bottom: 12px;
    text-decoration: none;
}
.thanhweb-footer-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(197, 155, 39, 0.25));
}
.thanhweb-footer-brand-title {
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--thanhweb-gold-dark) !important;
    margin-bottom: 6px;
    letter-spacing: 0.04em;
    line-height: 1.35;
    word-break: keep-all;
}

.thanhweb-footer-legal {
    font-size: 0.775rem;
    font-weight: 600;
    color: var(--text-muted) !important;
    margin-bottom: 8px;
    line-height: 1.45;
    letter-spacing: 0.02em;
    text-wrap: balance;
    word-break: keep-all;
}

.thanhweb-footer-slogan {
    font-size: 0.775rem;
    color: var(--text-secondary) !important;
    margin-bottom: 16px;
    line-height: 1.5;
    word-break: keep-all;
}

.thanhweb-footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 0.8125rem;
    color: var(--text-secondary) !important;
    line-height: 1.5;
}

.thanhweb-footer-contacts strong {
    color: var(--text-primary) !important;
}

.thanhweb-footer-contacts a {
    color: var(--thanhweb-gold-dark) !important;
}

.thanhweb-footer-contacts a:hover {
    color: var(--thanhweb-gold) !important;
}

/* Footer Bottom Bar */
.thanhweb-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    border-top: 1px solid var(--border-light) !important;
    padding-top: 28px;
    font-size: 0.8125rem;
    color: var(--text-muted) !important;
}

.thanhweb-footer-bottom strong {
    color: var(--text-primary) !important;
}

.thanhweb-footer-legal-links {
    display: flex;
    gap: 20px;
}

.thanhweb-footer-legal-links a {
    color: var(--text-muted) !important;
}

.thanhweb-footer-legal-links a:hover {
    color: var(--thanhweb-gold-dark) !important;
}

/* ==========================================================================
   16. INNER PAGES STYLING (About, Solutions, Products, Projects, Insights, Contact)
   ========================================================================== */
.thanhweb-page-header {
    background: linear-gradient(180deg, var(--surface-light) 0%, var(--bg-body) 100%) !important;
    color: var(--text-primary) !important;
    padding: 130px 0 56px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
}

.thanhweb-page-header.thanhweb-single-header {
    padding: 124px 0 44px;
}

.thanhweb-page-header .thanhweb-breadcrumbs {
    font-size: 0.8125rem;
    color: var(--text-muted) !important;
    margin-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    align-items: center;
    line-height: 1.5;
}

.thanhweb-page-header .thanhweb-breadcrumbs a {
    color: var(--text-secondary) !important;
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.thanhweb-page-header .thanhweb-breadcrumbs a:hover {
    color: var(--thanhweb-gold-dark) !important;
}

.thanhweb-page-header .thanhweb-breadcrumbs .bc-sep {
    color: var(--text-muted) !important;
    opacity: 0.6;
    user-select: none;
}

.thanhweb-page-header .thanhweb-breadcrumbs .bc-current {
    color: var(--text-muted) !important;
    font-weight: 500;
}

.thanhweb-single-cat-wrap {
    display: block;
    width: 100%;
    margin-top: 14px;
    margin-bottom: 12px;
    clear: both;
}

.thanhweb-page-h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.34;
    padding-top: 0.12em;
    padding-bottom: 0.08em;
    margin-top: 0;
    margin-bottom: 16px;
    letter-spacing: -0.015em;
    color: var(--thanhweb-gold-dark) !important;
    background: var(--thanhweb-gold-gradient) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: none !important;
    display: block;
    width: 100%;
    max-width: 960px;
    clear: both;
    overflow: visible;
}

.thanhweb-page-intro {
    font-size: 1.125rem;
    color: var(--text-secondary) !important;
    max-width: 65ch;
    line-height: 1.65;
}

.thanhweb-content-section {
    padding: 80px 0;
}

/* Rich Article & Single Post/Case */
.thanhweb-prose {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-primary);
}

.thanhweb-prose h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 40px 0 16px;
    color: var(--navy);
}

.thanhweb-prose h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 30px 0 12px;
}

.thanhweb-prose p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.thanhweb-prose ul {
    list-style: disc;
    margin-left: 24px;
    margin-bottom: 24px;
}

.thanhweb-prose li {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

/* Insights Cards Grid (2 Columns for spacious layout) */
.thanhweb-insights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 32px;
}

.thanhweb-insight-card {
    background: var(--surface-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-fast);
}

.thanhweb-insight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(197, 155, 39, 0.3);
}

.thanhweb-insight-thumb {
    height: 200px;
    background: var(--surface-light);
    overflow: hidden;
}

.thanhweb-insight-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.thanhweb-insight-card:hover .thanhweb-insight-thumb img {
    transform: scale(1.04);
}

.thanhweb-insight-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.thanhweb-insight-category {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--thanhweb-gold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.thanhweb-insight-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
    margin-bottom: 10px;
}

.thanhweb-insight-excerpt {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
    flex: 1;
}

/* ==========================================================================
   17. RESPONSIVE BREAKPOINTS (Desktop 1440, 1280, 1024; Tablet 768; Mobile 390)
   ========================================================================== */
@media (max-width: 1200px) {
    .thanhweb-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
    }
    .thanhweb-footer-grid .thanhweb-footer-col:first-child {
        grid-column: span 2;
    }
}

@media (max-width: 1024px) {
    .thanhweb-header {
        padding: 14px 0;
    }
    .thanhweb-container {
        padding: 0 24px;
    }
    .thanhweb-nav,
    .thanhweb-btn-header-cta {
        display: none !important;
    }
    .thanhweb-hamburger {
        display: flex;
    }

    /* Mobile Overlay */
    .thanhweb-mobile-overlay {
        display: block;
        pointer-events: none;
    }
    .thanhweb-mobile-overlay.open {
        opacity: 1;
        pointer-events: auto;
    }

    /* Mobile Drawer */
    .thanhweb-mobile-drawer {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 380px;
        background: #14120e;
        z-index: 9999;
        padding: 24px 20px;
        flex-direction: column;
        justify-content: space-between;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: -12px 0 40px rgba(0, 0, 0, 0.5);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
    .thanhweb-mobile-drawer.open {
        transform: translateX(0);
    }

    .thanhweb-mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 24px;
        padding-bottom: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .thanhweb-mobile-close {
        width: 40px;
        height: 40px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: var(--white);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all var(--transition-fast);
    }
    .thanhweb-mobile-close:hover {
        background: rgba(255, 255, 255, 0.18);
        color: var(--technology-cyan);
    }

    .thanhweb-mobile-nav {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-bottom: 24px;
    }
    .thanhweb-m-link {
        display: block;
        padding: 13px 4px;
        font-size: 1.0625rem;
        font-weight: 600;
        color: var(--white);
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        text-decoration: none;
        transition: all var(--transition-fast);
    }
    .thanhweb-m-link:hover {
        color: var(--technology-cyan);
        padding-left: 8px;
    }

    /* Mobile Expandable Solutions Dropdown */
    .thanhweb-m-dropdown {
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }
    .thanhweb-m-dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 13px 4px;
    }
    .thanhweb-m-dropdown-toggle .thanhweb-m-link {
        padding: 0;
        border: none;
    }
    .thanhweb-m-expand-btn {
        width: 36px;
        height: 36px;
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.08);
        color: var(--white);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all var(--transition-fast);
    }
    .thanhweb-m-expand-btn.active {
        transform: rotate(180deg);
        background: var(--thanhweb-gold);
    }
    .thanhweb-m-sublist {
        display: none;
        flex-direction: column;
        gap: 4px;
        padding: 8px 12px 14px 12px;
        background: rgba(255, 255, 255, 0.04);
        border-radius: 8px;
        margin: 4px 0 10px 0;
    }
    .thanhweb-m-sublist.open {
        display: flex;
    }
    .thanhweb-m-subitem {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 6px;
        border-radius: 6px;
        font-size: 0.875rem;
        color: var(--text-primary);
        text-decoration: none;
        transition: all var(--transition-fast);
    }
    .thanhweb-m-subitem:hover {
        background: var(--thanhweb-gold-light);
        color: var(--thanhweb-gold-dark);
    }
    .thanhweb-m-subitem .subitem-icon {
        width: 18px;
        height: 18px;
        color: var(--thanhweb-gold-dark);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    .thanhweb-m-subitem .subitem-icon svg {
        width: 18px;
        height: 18px;
        stroke-width: 1.75;
    }

    /* Mobile Drawer Bottom Actions */
    .thanhweb-mobile-footer {
        padding-top: 20px;
        border-top: 1px solid var(--border-light);
        display: flex;
        flex-direction: column;
        gap: 14px;
    }
    .thanhweb-m-cta-btn {
        width: 100%;
        padding: 14px;
        font-size: 0.9375rem;
        font-weight: 700;
        justify-content: center;
    }
    .thanhweb-m-contact-info {
        font-size: 0.8125rem;
        color: var(--text-muted);
        display: flex;
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
    .thanhweb-m-contact-info a {
        color: var(--thanhweb-gold-dark);
        font-weight: 600;
    }

    .thanhweb-hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .thanhweb-hero-h1 {
        font-size: 2.5rem;
    }
    .thanhweb-platform-architecture {
        grid-template-columns: 1fr;
    }
    .thanhweb-tech-grid {
        grid-template-columns: 1fr;
    }
    .thanhweb-cases-grid {
        grid-template-columns: 1fr;
    }
    .thanhweb-people-network-grid {
        grid-template-columns: 1fr;
    }
    .thanhweb-cta-grid {
        grid-template-columns: 1fr;
    }
    .thanhweb-solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .thanhweb-problems-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .thanhweb-timeline-horizontal {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
    .thanhweb-timeline-line {
        display: none;
    }
}

@media (max-width: 768px) {
    .thanhweb-section {
        padding: var(--section-space-mobile) 0;
    }
    .thanhweb-container {
        padding: 0 20px;
    }

    /* Mobile Hero Hierarchy */
    .thanhweb-hero {
        padding-top: 100px;
        padding-bottom: 50px;
        min-height: auto;
    }
    .thanhweb-hero-h1 {
        font-size: 2rem;
    }
    .thanhweb-hero-metrics {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
        text-align: center;
    }
    .thanhweb-metric-val {
        font-size: 1.625rem;
    }
    .thanhweb-metric-lbl {
        font-size: 0.75rem;
    }
    
    /* Grids to Single Column */
    .thanhweb-problems-grid,
    .thanhweb-solutions-grid,
    .thanhweb-platform-modules-grid,
    .thanhweb-tech-cards-grid,
    .thanhweb-insights-grid {
        grid-template-columns: 1fr;
    }

    /* Vertical Timeline for Mobile (Option 3 Rule 37) */
    .thanhweb-timeline-horizontal {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding-left: 20px;
        border-left: 2px solid var(--border-light);
    }
    .thanhweb-timeline-step {
        align-items: flex-start;
        text-align: left;
    }
    .thanhweb-step-dot {
        margin-left: -45px;
        margin-bottom: 8px;
        width: 40px;
        height: 40px;
        font-size: 0.8125rem;
    }
    .thanhweb-step-desc {
        max-width: 100%;
    }

    .thanhweb-footer-grid {
        grid-template-columns: 1fr;
    }
    .thanhweb-footer-grid .thanhweb-footer-col:first-child {
        grid-column: span 1;
    }
    .thanhweb-case-flow {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .thanhweb-header {
        padding: 10px 0;
    }
    .thanhweb-brand-logo-icon {
        width: 32px;
        height: 32px;
    }
    .thanhweb-brand-title {
        font-size: 1.05rem;
    }
    .thanhweb-brand-badge {
        font-size: 0.5625rem;
    }
    .thanhweb-mobile-drawer {
        max-width: 100%;
    }
}

/* ==========================================================================
   16. CONTACT PAGE DEDICATED LAYOUT & FORMS
   ========================================================================== */
.thanhweb-contact-grid {
    display: grid;
    grid-template-columns: 42% 58%;
    gap: 48px;
    align-items: start;
}
.thanhweb-contact-form-card {
    background: var(--surface-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-large);
    padding: 40px;
    box-shadow: var(--shadow-card);
}
.thanhweb-contact-form-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.3;
}
.thanhweb-contact-form-subtitle {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
}
textarea.thanhweb-form-input {
    resize: vertical;
    min-height: 110px;
    font-family: inherit;
    line-height: 1.5;
}
@media (max-width: 991px) {
    .thanhweb-contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .thanhweb-form-row {
        grid-template-columns: 1fr !important;
    }
}
@media (max-width: 767px) {
    .thanhweb-contact-form-card {
        padding: 24px 20px;
    }
}

/* ==========================================================================
   17. INSIGHTS ARCHIVE, CATEGORY & SINGLE ARTICLE
   ========================================================================== */
/* Category Navigation Tabs Pill Bar */
.thanhweb-category-nav-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    margin-bottom: 36px;
    padding: 4px 0;
}
.thanhweb-category-nav-bar::-webkit-scrollbar {
    display: none;
}
.thanhweb-cat-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 9999px;
    background: var(--surface-light, #f6f4ee);
    border: 1px solid var(--border-light, #e5e0d3);
    color: var(--text-secondary, #4a473f);
    font-size: 0.835rem;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.2s ease;
}
.thanhweb-cat-pill:hover {
    background: #ffffff;
    border-color: var(--thanhweb-gold);
    color: var(--thanhweb-gold-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(197, 155, 39, 0.15);
}
.thanhweb-cat-pill.active {
    background: var(--thanhweb-gold);
    border-color: var(--thanhweb-gold);
    color: #12100c !important;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(197, 155, 39, 0.35);
}

/* Layouts */
.thanhweb-insights-layout,
.thanhweb-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 48px;
    align-items: start;
}
@media (max-width: 1100px) {
    .thanhweb-insights-layout,
    .thanhweb-single-layout {
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 36px;
    }
}
@media (max-width: 991px) {
    .thanhweb-insights-layout,
    .thanhweb-single-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ==========================================================================
   TABLE OF CONTENTS (TOC) & SCROLLSPY (Vietnix-style Gold Edition)
   ========================================================================== */
.thanhweb-single-layout.has-toc {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) 290px;
    gap: 36px;
    align-items: start;
}

/* Left Column: Sticky TOC */
.thanhweb-toc-col {
    position: relative;
}

.thanhweb-toc-sticky {
    position: sticky;
    top: 105px;
    max-height: calc(100vh - 125px);
    overflow-y: auto;
    padding-right: 6px;
}

.thanhweb-toc-sticky::-webkit-scrollbar {
    width: 4px;
}
.thanhweb-toc-sticky::-webkit-scrollbar-track {
    background: transparent;
}
.thanhweb-toc-sticky::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 4px;
}

.thanhweb-toc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 8px;
    margin-bottom: 14px;
    border-bottom: 2px solid var(--thanhweb-gold);
}

.thanhweb-toc-heading {
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--navy);
}

.thanhweb-toc-toggle-desktop {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    background: none;
    border: none;
    padding: 3px 7px;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.thanhweb-toc-toggle-desktop:hover {
    color: var(--thanhweb-gold);
    background: rgba(197, 155, 39, 0.08);
}

.thanhweb-toc-toggle-desktop.is-collapsed .thanhweb-toc-toggle-icon {
    transform: rotate(180deg);
}

.thanhweb-toc-nav.is-hidden {
    display: none;
}

.thanhweb-toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.thanhweb-toc-item {
    margin: 0;
    padding: 0;
}

.thanhweb-toc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.thanhweb-toc-link {
    display: block;
    width: 100%;
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 6px;
    border-left: 3px solid transparent;
    line-height: 1.45;
    font-weight: 500;
    transition: all 180ms cubic-bezier(0.16, 1, 0.3, 1);
    word-break: break-word;
}

.thanhweb-toc-link:hover {
    color: var(--thanhweb-gold);
    background: rgba(197, 155, 39, 0.06);
}

/* Active Highlight: Golden Accent (User Requirement: Xanh thành Vàng) */
.thanhweb-toc-link.is-active {
    color: var(--thanhweb-gold) !important;
    font-weight: 700 !important;
    background: rgba(197, 155, 39, 0.1) !important;
    border-left: 3px solid var(--thanhweb-gold) !important;
    border-radius: 0 6px 6px 0;
    padding-left: 12px;
}

.thanhweb-toc-caret-btn {
    background: none;
    border: none;
    padding: 4px 6px;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: transform 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.thanhweb-toc-caret-btn:hover {
    color: var(--thanhweb-gold);
}

.thanhweb-toc-item.is-collapsed .thanhweb-toc-caret-btn svg {
    transform: rotate(-90deg);
}

.thanhweb-toc-item.is-collapsed .thanhweb-toc-sublist {
    display: none;
}

.thanhweb-toc-sublist {
    list-style: none;
    margin: 2px 0 6px 12px;
    padding-left: 10px;
    border-left: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.thanhweb-toc-subitem {
    margin: 0;
}

.thanhweb-toc-subitem .thanhweb-toc-link {
    font-size: 0.8125rem;
    padding: 5px 8px;
    color: var(--text-muted);
}

.thanhweb-toc-subitem .thanhweb-toc-link:hover {
    color: var(--thanhweb-gold);
}

.thanhweb-toc-subitem .thanhweb-toc-link.is-active {
    color: var(--thanhweb-gold) !important;
    font-weight: 700 !important;
    background: rgba(197, 155, 39, 0.08) !important;
    border-left: 2px solid var(--thanhweb-gold) !important;
    border-radius: 0 4px 4px 0;
}

/* Mobile In-Content Accordion Card */
.thanhweb-mobile-toc-card {
    display: none;
    background: var(--surface-light);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 28px;
}

.thanhweb-mobile-toc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.thanhweb-mobile-toc-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--navy);
}

.thanhweb-mobile-toc-title svg {
    color: var(--thanhweb-gold);
}

.thanhweb-mobile-toc-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--thanhweb-gold);
    background: rgba(197, 155, 39, 0.1);
    padding: 5px 12px;
    border-radius: 6px;
    border: 1px solid rgba(197, 155, 39, 0.25);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.thanhweb-mobile-toc-toggle.is-active .m-toc-arrow {
    transform: rotate(180deg);
}

.thanhweb-mobile-toc-body {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}

/* Mobile Floating Action Button (FAB) & Bottom Sheet */
.thanhweb-mobile-toc-fab {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 20px;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: all 0.25s ease;
}

.thanhweb-mobile-toc-fab.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.thanhweb-mobile-toc-fab-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--navy);
    color: #FFFFFF;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 9999px;
    border: 1px solid var(--thanhweb-gold);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.thanhweb-mobile-toc-fab-btn:hover {
    transform: scale(1.04);
}

.thanhweb-mobile-toc-fab-btn svg {
    color: var(--thanhweb-gold);
}

/* Mobile Bottom Sheet Modal */
.thanhweb-mobile-toc-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
}

.thanhweb-mobile-toc-modal.is-open {
    display: block;
}

.thanhweb-mobile-toc-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(14, 12, 10, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.thanhweb-mobile-toc-sheet {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 80vh;
    background: var(--surface-card);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    border-top: 2px solid var(--thanhweb-gold);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.45);
    animation: slideUpTOC 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpTOC {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.thanhweb-mobile-toc-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
}

.thanhweb-mobile-toc-sheet-title {
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: 0.04em;
}

.thanhweb-mobile-toc-close {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--surface-light);
    border: 1px solid var(--border-light);
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.thanhweb-mobile-toc-close:hover {
    color: var(--thanhweb-gold);
    border-color: var(--thanhweb-gold);
}

.thanhweb-mobile-toc-sheet-body {
    padding: 16px 20px 32px;
    overflow-y: auto;
    flex: 1;
}

/* Responsive Breakpoints for TOC */
@media (min-width: 992px) and (max-width: 1199px) {
    .thanhweb-single-layout.has-toc {
        grid-template-columns: 210px minmax(0, 1fr);
        gap: 28px;
    }
    .thanhweb-single-layout.has-toc .thanhweb-sidebar {
        grid-column: 1 / -1;
        margin-top: 36px;
    }
}

@media (max-width: 991px) {
    .thanhweb-single-layout.has-toc {
        display: block;
    }
    .thanhweb-toc-col {
        display: none !important;
    }
    .thanhweb-mobile-toc-card {
        display: block;
    }
    .thanhweb-mobile-toc-fab {
        display: block;
    }
}

/* Dark Mode Overrides for TOC */
[data-theme="dark"] .thanhweb-toc-link {
    color: var(--text-secondary);
}

[data-theme="dark"] .thanhweb-toc-link:hover {
    color: var(--thanhweb-gold);
    background: rgba(229, 193, 88, 0.08);
}

[data-theme="dark"] .thanhweb-toc-link.is-active {
    color: var(--thanhweb-gold) !important;
    background: rgba(229, 193, 88, 0.16) !important;
    border-left-color: var(--thanhweb-gold) !important;
}

[data-theme="dark"] .thanhweb-mobile-toc-fab-btn {
    background: #171512;
    border-color: var(--thanhweb-gold);
    color: #fcfbf9;
}

[data-theme="dark"] .thanhweb-mobile-toc-sheet {
    background: #171512;
    border-color: var(--thanhweb-gold);
}

/* Single Post Meta & Typography */
.thanhweb-post-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    font-size: 0.875rem;
    color: var(--text-muted) !important;
    margin-top: 20px;
}
.thanhweb-meta-author {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.thanhweb-meta-avatar-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--thanhweb-gold);
    box-shadow: 0 2px 6px rgba(197, 155, 39, 0.25);
    flex-shrink: 0;
}
.thanhweb-post-meta-bar strong {
    color: var(--text-primary) !important;
    font-weight: 600;
}
.thanhweb-post-meta-bar .meta-sep {
    color: var(--border-light);
    user-select: none;
}
.thanhweb-post-meta-badge {
    display: inline-block;
    background: var(--thanhweb-gold-light) !important;
    color: var(--thanhweb-gold-dark) !important;
    border: 1px solid rgba(197, 155, 39, 0.3) !important;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all var(--transition-fast);
}
.thanhweb-post-meta-badge:hover {
    background: var(--thanhweb-gold) !important;
    color: #12100c !important;
    border-color: var(--thanhweb-gold) !important;
}

.thanhweb-post-featured-media {
    width: 100%;
    border-radius: var(--radius-card);
    overflow: hidden;
    margin-bottom: 36px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-subtle);
}
.thanhweb-post-featured-media img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 480px;
    object-fit: cover;
}

/* Prose Editorial Styling */
.thanhweb-article-lead {
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--navy);
    font-weight: 500;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}
.thanhweb-prose h2 {
    font-size: 1.625rem;
    font-weight: 800;
    color: var(--navy);
    margin: 40px 0 16px;
    letter-spacing: -0.015em;
    line-height: 1.3;
    scroll-margin-top: 110px;
    border-left: 4px solid var(--thanhweb-gold);
    padding-left: 14px;
}
.thanhweb-prose h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin: 32px 0 14px;
    line-height: 1.35;
    scroll-margin-top: 110px;
}
.thanhweb-prose p {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 20px;
}
.thanhweb-prose ul, .thanhweb-prose ol {
    margin: 0 0 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.thanhweb-prose ul {
    list-style: disc;
}
.thanhweb-prose ol {
    list-style: decimal;
}
.thanhweb-prose li {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-secondary);
}
.thanhweb-prose blockquote {
    border-left: 4px solid var(--thanhweb-gold);
    background: var(--surface-blue);
    padding: 20px 24px;
    border-radius: 0 8px 8px 0;
    margin: 28px 0;
    font-style: italic;
    color: var(--navy);
    font-size: 1.0625rem;
    line-height: 1.65;
}
.thanhweb-prose .highlight-box {
    background: var(--surface-light);
    border: 1px solid rgba(197, 155, 39, 0.25);
    border-radius: 8px;
    padding: 22px 24px;
    margin: 24px 0;
}
.thanhweb-prose .highlight-box h4 {
    color: var(--thanhweb-gold);
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.thanhweb-prose .highlight-box p {
    margin-bottom: 0;
    font-size: 0.9375rem;
}

/* Author Box */
.thanhweb-author-box {
    display: flex;
    gap: 24px;
    align-items: center;
    background: var(--surface-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-card);
    padding: 28px;
    margin-top: 48px;
    box-shadow: var(--shadow-subtle);
}
.thanhweb-author-avatar-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--thanhweb-gold);
    box-shadow: 0 4px 14px rgba(197, 155, 39, 0.25);
    background: var(--surface-card);
}
.thanhweb-author-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.thanhweb-author-details {
    flex: 1;
}
.thanhweb-author-role-badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--thanhweb-gold-dark);
    margin-bottom: 4px;
    text-transform: uppercase;
}
.thanhweb-author-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 6px;
}
.thanhweb-author-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 8px;
}
.thanhweb-author-contact-meta {
    font-size: 0.8125rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Sidebar Widgets */
.thanhweb-sidebar-widget {
    background: var(--surface-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-card);
    padding: 28px 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-subtle);
}
.thanhweb-sidebar-widget h3 {
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--surface-blue);
}
.thanhweb-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.thanhweb-sidebar-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.thanhweb-sidebar-item-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.45;
    transition: color var(--transition-fast);
}
.thanhweb-sidebar-item-title:hover {
    color: var(--thanhweb-gold);
}
.thanhweb-sidebar-item-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Related Posts Section */
.thanhweb-related-section {
    background: var(--surface-light);
    padding: 72px 0;
    border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   17. OPTION 3 POLISH & SECTION CTAS
   ========================================================================== */
.thanhweb-problems-bottom-cta {
    margin-top: 56px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.thanhweb-problems-cta-text {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.5;
}
.thanhweb-cases-bottom-cta {
    margin-top: 48px;
    text-align: center;
}
.thanhweb-process-note {
    margin-top: 48px;
    padding: 20px 28px;
    background: var(--surface-blue);
    border-radius: var(--radius-card);
    border-left: 4px solid var(--thanhweb-gold);
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.thanhweb-process-note p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
}
.thanhweb-process-note strong {
    color: var(--thanhweb-gold);
}
.thanhweb-footer-slogan {
    font-size: 0.8125rem;
    color: var(--technology-cyan);
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ==========================================================================
   19. RESPONSIVE ARCHITECTURE & COMPONENT GRIDS (Mobile & Tablet)
   ========================================================================== */
.thanhweb-single-grid,
.thanhweb-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 48px;
    align-items: start;
}

.thanhweb-single-sidebar,
.thanhweb-single-layout > aside,
.thanhweb-single-grid > aside {
    position: -webkit-sticky;
    position: sticky;
    top: 105px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.thanhweb-single-sidebar-card {
    background: var(--surface-light, #f1eee6);
    border: 1px solid var(--border-light, #ded8ca);
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 4px 16px rgba(24, 24, 22, 0.04);
}

.thanhweb-archive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.thanhweb-about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.thanhweb-about-triplet {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.thanhweb-product-detail-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 40px;
    background: var(--surface-light);
    border-radius: var(--radius-large);
    border: 1px solid var(--border-light);
}

.thanhweb-contact-grid {
    display: grid;
    grid-template-columns: 42% 58%;
    gap: 56px;
    align-items: start;
}

.thanhweb-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.thanhweb-related-grid {
    grid-template-columns: repeat(3, 1fr) !important;
}

@media (max-width: 991px) {
    .thanhweb-single-layout,
    .thanhweb-single-grid,
    .thanhweb-about-split,
    .thanhweb-about-triplet,
    .thanhweb-product-detail-card,
    .thanhweb-contact-grid {
        grid-template-columns: 1fr !important;
        gap: 36px;
    }
    .thanhweb-single-sidebar,
    .thanhweb-single-layout > aside,
    .thanhweb-single-grid > aside {
        position: static !important;
        margin-top: 24px;
    }
    .thanhweb-single-sidebar-card {
        position: static !important;
        padding: 24px 20px;
        margin-top: 0;
    }
    .thanhweb-related-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .thanhweb-archive-grid,
    .thanhweb-form-row {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
    .thanhweb-insights-grid {
        grid-template-columns: 1fr !important;
    }
    .thanhweb-product-detail-card {
        padding: 24px 18px;
    }
}

@media (max-width: 640px) {
    .thanhweb-related-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   20. REDUCED MOTION (Mandatory A11y & Taste-Skill Directive)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .circuit-line {
        animation: none !important;
    }
    .core-pulse {
        animation: none !important;
    }
}

/* Hero Spacing Fix & WordPress Admin Bar Support */
body.admin-bar .thanhweb-header {
    top: 32px !important;
}
@media screen and (max-width: 782px) {
    body.admin-bar .thanhweb-header {
        top: 46px !important;
    }
}
.thanhweb-hero {
    padding-top: 155px !important;
    min-height: 92vh;
}
@media (max-width: 768px) {
    .thanhweb-hero {
        padding-top: 125px !important;
    }
}

/* ==========================================================================
   NIGHT MODE & THEME TOGGLE STYLES
   ========================================================================== */

/* Theme Toggle Button */
.thanhweb-theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(197, 155, 39, 0.1);
    color: var(--thanhweb-gold);
    border: 1px solid rgba(197, 155, 39, 0.25);
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
    margin: 0;
    flex-shrink: 0;
}

.thanhweb-theme-toggle:hover {
    background: rgba(197, 155, 39, 0.2);
    border-color: var(--thanhweb-gold);
    transform: scale(1.06);
    box-shadow: 0 0 14px rgba(197, 155, 39, 0.3);
}

.thanhweb-theme-toggle .theme-icon-sun {
    display: none;
    align-items: center;
    justify-content: center;
}

.thanhweb-theme-toggle .theme-icon-moon {
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="dark"] .thanhweb-theme-toggle {
    background: rgba(226, 185, 71, 0.15);
    color: var(--thanhweb-gold);
    border-color: rgba(226, 185, 71, 0.4);
}

[data-theme="dark"] .thanhweb-theme-toggle:hover {
    box-shadow: 0 0 14px rgba(226, 185, 71, 0.45);
}

[data-theme="dark"] .thanhweb-theme-toggle .theme-icon-sun {
    display: flex;
}

[data-theme="dark"] .thanhweb-theme-toggle .theme-icon-moon {
    display: none;
}

.thanhweb-theme-toggle.mobile-toggle {
    width: 36px;
    height: 36px;
}

/* ==========================================================================
   UNIFIED HIGH-CONTRAST GOLD & WARM NEUTRALS (Dark Mode Removed)
   ========================================================================== */
.thanhweb-theme-toggle {
    display: none !important;
}

/* Headings: Royal Gold & Gold Gradient (Razor Sharp, No Muddy Shadow, Full Vietnamese Diacritics Headroom) */
.thanhweb-hero-h1,
.thanhweb-page-h1,
.thanhweb-section-title,
.thanhweb-cta-title,
.thanhweb-module-title {
    color: var(--thanhweb-gold-dark) !important;
    background: linear-gradient(135deg, #a07a16 0%, #c59b27 45%, #d4af37 75%, #8c6a0f 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: none !important;
    filter: none !important;
    line-height: 1.38 !important;
    padding-top: 0.2em !important;
    padding-bottom: 0.08em !important;
    display: inline-block;
    max-width: 100%;
    overflow: visible !important;
}

.thanhweb-hero-sub,
.thanhweb-page-intro,
.thanhweb-cta-desc,
.thanhweb-section-desc {
    color: var(--text-secondary) !important;
}

/* Mega Menu High Contrast */
.thanhweb-mega-menu {
    background: var(--surface-card) !important;
    border: 1px solid var(--border-light) !important;
    box-shadow: var(--shadow-dropdown) !important;
}

.thanhweb-mega-item {
    background: var(--surface-light) !important;
    border: 1px solid var(--border-light) !important;
}

.thanhweb-mega-item:hover {
    background: var(--surface-card-hover) !important;
    border-color: var(--thanhweb-gold) !important;
}

.thanhweb-mega-icon {
    background: var(--thanhweb-gold-light) !important;
    color: var(--thanhweb-gold-dark) !important;
    border-radius: var(--radius-button);
}

.thanhweb-mega-title-vi {
    color: var(--text-primary) !important;
}

.thanhweb-mega-desc {
    color: var(--text-muted) !important;
}

/* Cards Elevation & Radiuses (Standard 24px) */
.thanhweb-problem-card,
.thanhweb-solution-card,
.thanhweb-process-card,
.thanhweb-white-card,
.thanhweb-case-featured,
.thanhweb-case-mini,
.thanhweb-layer-item,
.thanhweb-author-box,
.thanhweb-contact-form-wrap,
.thanhweb-contact-info-card,
.thanhweb-faq-item,
.thanhweb-about-card,
.thanhweb-product-card,
.thanhweb-lead-card,
.thanhweb-insight-card,
.thanhweb-sidebar-widget {
    background: var(--surface-card) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--radius-card) !important;
    box-shadow: var(--shadow-card) !important;
}

.thanhweb-problem-card:hover,
.thanhweb-solution-card:hover,
.thanhweb-process-card:hover,
.thanhweb-insight-card:hover {
    border-color: var(--thanhweb-gold) !important;
    box-shadow: var(--shadow-hover) !important;
}

/* Page Header & Breadcrumbs */
.thanhweb-page-header {
    background: linear-gradient(180deg, var(--surface-light) 0%, var(--bg-body) 100%) !important;
    border-bottom: 1px solid var(--border-light);
}

.thanhweb-page-header .thanhweb-breadcrumbs,
.thanhweb-page-header .thanhweb-breadcrumbs a {
    color: var(--text-muted) !important;
}

/* Footer: Warm Gray Neutral with Clear Contrast */
.thanhweb-footer {
    background: var(--surface-light) !important;
    border-top: 1px solid var(--border-light) !important;
    color: var(--text-secondary) !important;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
select,
textarea {
    background: var(--surface-card) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--radius-button) !important;
    color: var(--text-primary) !important;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--thanhweb-gold) !important;
    box-shadow: 0 0 0 3px var(--thanhweb-gold-tint) !important;
    outline: none !important;
}

/* Primary Button Gold Finish */
.thanhweb-btn-primary {
    background: var(--thanhweb-gold) !important;
    color: #12100c !important;
    font-weight: 700 !important;
}

.thanhweb-btn-primary:hover {
    background: var(--thanhweb-gold-hover) !important;
    color: #12100c !important;
    box-shadow: 0 8px 24px rgba(197, 155, 39, 0.35) !important;
}

.thanhweb-btn-secondary {
    background: transparent !important;
    color: var(--thanhweb-gold) !important;
    border: 1px solid var(--thanhweb-gold) !important;
}

.thanhweb-btn-secondary:hover {
    background: var(--thanhweb-gold) !important;
    color: #12100c !important;
}

/* ==========================================================================
   MOBILE RESPONSIVE SPECIALIZED ENHANCEMENTS
   ========================================================================== */
@media (max-width: 768px) {
    /* Prevent iOS Safari auto-zoom on input focus */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="url"],
    input[type="search"],
    select,
    textarea {
        font-size: 16px !important;
    }

    .thanhweb-header {
        padding: 12px 0;
    }

    .thanhweb-container {
        padding: 0 16px;
    }

    .thanhweb-hero {
        padding-top: 90px;
        padding-bottom: 45px;
    }

    .thanhweb-hero-h1 {
        font-size: 1.85rem !important;
        line-height: 1.35 !important;
        padding-top: 0.15em !important;
        padding-bottom: 0.05em !important;
        margin-bottom: 16px;
        overflow: visible;
    }

    .thanhweb-hero-sub {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    .thanhweb-hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .thanhweb-hero-actions .thanhweb-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    .thanhweb-hero-visual {
        margin-top: 20px;
    }

    .thanhweb-ecosystem-svg {
        max-width: 340px;
        margin: 0 auto;
    }

    .thanhweb-hero-metrics {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        padding: 14px 10px !important;
    }

    .thanhweb-metric-val {
        font-size: 1.35rem !important;
    }

    .thanhweb-metric-lbl {
        font-size: 0.65rem !important;
    }

    /* Contact Page Mobile */
    .thanhweb-contact-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    .thanhweb-contact-form-card {
        padding: 24px 18px !important;
    }

    /* Category Nav Bar Mobile */
    .thanhweb-category-nav-bar {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        padding-bottom: 12px !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 8px !important;
        margin-bottom: 24px !important;
    }

    .thanhweb-cat-pill {
        padding: 8px 14px !important;
        font-size: 0.8rem !important;
        flex-shrink: 0 !important;
    }

    /* Footer Mobile */
    .thanhweb-footer {
        padding: 48px 0 24px;
    }

    .thanhweb-footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 32px 20px !important;
        margin-bottom: 36px !important;
    }

    .thanhweb-footer-col:first-child {
        grid-column: 1 / -1;
        max-width: 100%;
        margin-bottom: 8px;
    }

    .thanhweb-footer-col h4 {
        font-size: 0.775rem !important;
        margin-bottom: 12px !important;
    }

    .thanhweb-footer-col ul a {
        font-size: 0.8rem !important;
    }

    .thanhweb-footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 1024px) {
    .thanhweb-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px 24px;
    }
    .thanhweb-footer-col:first-child {
        grid-column: 1 / -1;
        max-width: 600px;
    }
}

@media (max-width: 480px) {
    .thanhweb-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 26px !important;
    }

    .thanhweb-hero-h1 {
        font-size: 1.65rem !important;
    }

    .thanhweb-section-title {
        font-size: 1.5rem !important;
    }

    .thanhweb-mobile-drawer {
        max-width: 100% !important;
    }
}

/* ==========================================================================
   Single Post / Article Header Mobile Optimization (Compact ~1/2 Screen)
   ========================================================================== */
@media (max-width: 768px) {
    .thanhweb-page-header {
        padding: 85px 0 24px !important;
    }

    .thanhweb-page-header.thanhweb-single-header {
        padding: 78px 0 20px !important;
    }

    .thanhweb-page-header .thanhweb-breadcrumbs {
        font-size: 0.75rem !important;
        line-height: 1.4 !important;
        margin-bottom: 10px !important;
        gap: 4px 6px !important;
    }

    .thanhweb-page-header .thanhweb-breadcrumbs a {
        font-size: 0.75rem !important;
    }

    .thanhweb-single-cat-wrap {
        margin-top: 8px !important;
        margin-bottom: 10px !important;
    }

    .thanhweb-post-meta-badge {
        padding: 4px 12px !important;
        font-size: 0.6875rem !important;
    }

    .thanhweb-page-h1.thanhweb-single-title,
    .thanhweb-page-h1 {
        font-size: 1.35rem !important;
        line-height: 1.3 !important;
        padding-top: 0.05em !important;
        padding-bottom: 0.05em !important;
        margin-bottom: 12px !important;
    }

    .thanhweb-post-meta-bar {
        font-size: 0.75rem !important;
        gap: 6px 12px !important;
        margin-top: 10px !important;
        line-height: 1.4 !important;
    }

    .thanhweb-meta-author {
        gap: 8px !important;
    }

    .thanhweb-meta-avatar-img {
        width: 26px !important;
        height: 26px !important;
    }

    .thanhweb-author-box {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 20px !important;
        gap: 16px !important;
    }

    .thanhweb-author-avatar-wrap {
        width: 64px !important;
        height: 64px !important;
    }
}

