    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --primary: #1428A0;
      --primary-dark: #0d1d7a;
      --primary-light: #e8ebf8;
      --secondary: #FF6B00;
      --zalo: #0068FF;
      --bg: #FFFFFF;
      --bg-alt: #F8F9FA;
      --text: #1D1D1F;
      --text-muted: #6E6E73;
      --success: #34C759;
      --danger: #FF3B30;
      --border: #E5E7EB;
      --radius-card: 12px;
      --radius-btn: 8px;
      --shadow-card: 0 4px 20px rgba(0,0,0,0.08);
      --shadow-hover: 0 12px 40px rgba(0,0,0,0.15);
      --shadow-nav: 0 2px 20px rgba(0,0,0,0.1);
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Be Vietnam Pro', 'Inter', sans-serif;
      font-size: 16px;
      line-height: 1.6;
      color: var(--text);
      background: var(--bg);
      overflow-x: hidden;
    }

    .container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

    /* ── SCROLLBAR ── */
    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: #f1f1f1; }
    ::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

    /* ── BUTTONS ── */
    .btn {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 13px 28px; border-radius: var(--radius-btn);
      font-size: 15px; font-weight: 600; font-family: inherit;
      cursor: pointer; border: none; text-decoration: none;
      transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
      position: relative; overflow: hidden;
    }
    .btn::after {
      content: ''; position: absolute; inset: 0;
      background: rgba(255,255,255,0); transition: background 0.3s;
    }
    .btn:hover::after { background: rgba(255,255,255,0.12); }
    /* Shine sweep khi hover — animate transform (GPU) thay vì left */
    .btn::before {
      content: ''; position: absolute; top: 0; left: -80%;
      width: 50%; height: 100%;
      background: linear-gradient(105deg, transparent, rgba(255,255,255,0.35), transparent);
      transform: skewX(-20deg) translateX(0);
      transition: transform 0.55s ease;
      pointer-events: none;
    }
    .btn:hover::before { transform: skewX(-20deg) translateX(440%); }
    .btn-primary {
      background: var(--primary); color: #fff;
      box-shadow: 0 4px 15px rgba(20,40,160,0.3);
    }
    .btn-primary:hover {
      background: var(--primary-dark);
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(20,40,160,0.4);
    }
    .btn-primary:active { transform: translateY(0); }
    .btn-secondary {
      background: transparent; color: var(--primary);
      border: 2px solid var(--primary);
    }
    .btn-secondary:hover {
      background: var(--primary); color: #fff;
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(20,40,160,0.3);
    }
    .btn-zalo {
      background: var(--zalo); color: #fff;
      box-shadow: 0 4px 15px rgba(0,104,255,0.3);
    }
    .btn-zalo:hover {
      background: #0057d8;
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(0,104,255,0.4);
    }
    .btn-orange {
      background: var(--secondary); color: #fff;
      box-shadow: 0 4px 15px rgba(255,107,0,0.3);
    }
    .btn-orange:hover {
      background: #e55f00;
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(255,107,0,0.4);
    }
    .btn-sm { padding: 9px 18px; font-size: 13px; }
    .btn-lg { padding: 17px 36px; font-size: 17px; }

    /* ── NAV ── */
    #navbar {
      position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
      background: rgba(255,255,255,0.86);
      backdrop-filter: blur(20px) saturate(1.6);
      -webkit-backdrop-filter: blur(20px) saturate(1.6);
      border-bottom: 1px solid transparent;
      transition: all 0.3s ease;
    }
    #navbar.scrolled {
      background: rgba(255,255,255,0.78);
      box-shadow: 0 2px 24px rgba(13,29,122,0.1);
      border-bottom-color: rgba(229,231,235,0.6);
    }
    .scroll-progress {
      position: absolute; top: 0; left: 0; height: 3px; width: 100%;
      background: linear-gradient(90deg, var(--primary), var(--secondary));
      border-radius: 0 2px 2px 0;
      transform: scaleX(0); transform-origin: left;
      will-change: transform;
      z-index: 1001;
    }
    .nav-inner {
      display: flex; align-items: center; justify-content: space-between;
      height: 70px;
    }
    .nav-logo {
      display: flex; align-items: center; gap: 10px;
      text-decoration: none; flex-shrink: 0;
    }
    .nav-logo img { height: 40px; width: auto; object-fit: contain; }
    .nav-logo-text {
      font-size: 20px; font-weight: 800;
      color: var(--primary); letter-spacing: -0.5px;
    }
    .nav-menu {
      display: flex; align-items: center; gap: 4px;
      list-style: none;
    }
    .nav-menu a {
      display: block; padding: 8px 14px;
      font-size: 14px; font-weight: 500; color: var(--text);
      text-decoration: none; border-radius: 6px;
      transition: all 0.2s;
      position: relative;
    }
    .nav-menu a::after {
      content: ''; position: absolute; bottom: 2px; left: 14px; right: 14px;
      height: 2px; background: var(--primary);
      transform: scaleX(0); transition: transform 0.2s;
    }
    .nav-menu a:hover, .nav-menu a.active { color: var(--primary); }
    .nav-menu a:hover::after, .nav-menu a.active::after { transform: scaleX(1); }
    .nav-actions { display: flex; align-items: center; gap: 10px; }
    .nav-phone {
      display: flex; align-items: center; gap: 6px;
      font-size: 13px; font-weight: 600; color: var(--primary);
      text-decoration: none;
    }
    .hamburger {
      display: none; flex-direction: column; gap: 5px;
      cursor: pointer; padding: 8px; background: none; border: none;
    }
    .hamburger span {
      display: block; width: 24px; height: 2px;
      background: var(--text); border-radius: 2px;
      transition: all 0.3s;
    }
    .hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .mobile-menu {
      display: none; position: fixed; top: 70px; left: 0; right: 0; bottom: 0;
      background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
      z-index: 999; padding: 20px; overflow-y: auto;
      transform: translateX(100%); transition: transform 0.3s ease;
    }
    .mobile-menu.open { transform: translateX(0); display: block; }
    .mobile-menu a {
      display: block; padding: 16px 0;
      font-size: 18px; font-weight: 600; color: var(--text);
      text-decoration: none; border-bottom: 1px solid var(--border);
      transition: color 0.2s;
    }
    .mobile-menu a:hover { color: var(--primary); }
    .mobile-menu-actions { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }

    /* ── HERO ── */
    /* ── HERO: height = banner ratio (2244×701 ≈ 3.2:1) ── */
    #hero {
      position: relative;
      /* Exact ratio: 100vw ÷ 3.2, capped at 90vh. Never shorter than 340px */
      height: clamp(340px, calc(100vw / 3.2), 90vh);
      display: flex; align-items: center;
      overflow: hidden; margin-top: 70px;
      background: linear-gradient(135deg, #04091e 0%, #0d1d7a 100%);
    }
    .hero-slider { position: absolute; inset: 0; }
    .hero-slide {
      position: absolute; inset: 0;
      opacity: 0; transition: opacity 0.8s ease;
    }
    .hero-slide.active { opacity: 1; }
    /* img tag fills the slide but never crops — contains the full image */
    .hero-slide img {
      display: block;
      width: 100%; height: 100%;
      object-fit: contain;
      object-position: center center;
    }
    .hero-slide::after {
      content: ''; position: absolute; inset: 0; pointer-events: none;
      /* Panel tối phủ toàn vùng text (0–42% vw) → fade ra để sản phẩm hiện rõ.
         Banners nền trắng: cần opacity cao để white text đọc được */
      background: linear-gradient(to right,
        rgba(4,9,30,0.95) 0%,
        rgba(4,9,30,0.95) 38%,
        rgba(4,9,30,0.72) 52%,
        rgba(4,9,30,0.20) 68%,
        rgba(4,9,30,0.05) 82%,
        transparent 100%);
    }
    /* Đảm bảo container text luôn nổi trên banner và gradient */
    #hero > .container {
      position: relative;
      z-index: 2;
      width: 100%;
    }
    .hero-content {
      position: relative; z-index: 2;
      /* max-width thu hẹp để nhường không gian cho sản phẩm bên phải
         — căn lề trái tự động bằng với logo nav (cùng .container) */
      max-width: min(500px, 38vw);
      /* 3vh thay vì 4.5vh: padding nhỏ hơn ở màn cao, tránh tràn content */
      padding: clamp(16px, 3vh, 40px) 0;
    }
    .hero-badge {
      display: inline-flex; align-items: center; gap: 8px;
      background: rgba(255,255,255,0.15); backdrop-filter: blur(10px);
      border: 1px solid rgba(255,255,255,0.3);
      color: #fff; font-size: clamp(10px, 0.9vw, 13px); font-weight: 500;
      padding: 5px 12px; border-radius: 20px; margin-bottom: clamp(4px, 0.6vh, 8px);
      animation: fadeInUp 0.6s ease forwards;
    }
    .hero-badge-dot {
      width: 7px; height: 7px; border-radius: 50%;
      background: var(--success); animation: pulse-dot 2s infinite;
    }
    @keyframes pulse-dot {
      0%,100% { transform: scale(1); opacity: 1; }
      50% { transform: scale(1.4); opacity: 0.7; }
    }
    .hero-h1 {
      /* Nhỏ hơn trước để vừa hero height 3.2:1 */
      font-size: clamp(17px, 2.2vw, 38px);
      font-weight: 800; color: #fff; line-height: 1.1;
      letter-spacing: -0.3px; margin-bottom: clamp(6px, 0.8vh, 10px);
      animation: fadeInUp 0.7s 0.1s ease both;
      text-shadow: 0 2px 20px rgba(4,9,30,0.9), 0 1px 4px rgba(0,0,0,0.5);
    }
    .hero-h1 span {
      background: linear-gradient(100deg, #FFD700 10%, #FFA800 55%, #FFD700 90%);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      background-size: 200% auto;
      animation: gold-shimmer 4s linear infinite;
      text-shadow: none;
    }
    @keyframes gold-shimmer {
      to { background-position: 200% center; }
    }
    /* Hero ra khỏi viewport: tạm dừng animation vô hạn để tiết kiệm GPU/CPU */
    #hero.offscreen .hero-h1 span,
    #hero.offscreen .hero-badge-dot {
      animation-play-state: paused;
    }
    .hero-sub {
      font-size: clamp(11px, 0.85vw, 14px);
      color: rgba(255,255,255,0.9);
      margin-bottom: clamp(10px, 1.2vh, 18px);
      max-width: 100%; line-height: 1.6;
      /* Giới hạn 3 dòng để tránh tràn hero */
      display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
      overflow: hidden;
      animation: fadeInUp 0.7s 0.2s ease both;
      text-shadow: 0 1px 10px rgba(4,9,30,0.85);
    }
    .hero-btns {
      display: flex; gap: 10px; flex-wrap: wrap;
      animation: fadeInUp 0.7s 0.3s ease both;
    }
    /* Buttons trong hero scale nhỏ lại ở viewport vừa */
    .hero-btns .btn-lg {
      padding: clamp(8px, 0.9vh, 14px) clamp(14px, 1.6vw, 24px);
      font-size: clamp(12px, 0.95vw, 15px);
    }
    .hero-stats {
      display: flex; gap: clamp(16px, 2vw, 32px);
      margin-top: clamp(14px, 2vh, 40px);
      flex-wrap: wrap;
      animation: fadeInUp 0.7s 0.4s ease both;
    }
    .hero-stat { text-align: center; }
    .hero-stat-num {
      font-size: clamp(18px, 2vw, 32px);
      font-weight: 800; color: #fff; line-height: 1;
    }
    .hero-stat-label {
      font-size: clamp(10px, 0.75vw, 13px);
      color: rgba(255,255,255,0.7); margin-top: 3px;
    }
    .hero-dots {
      position: absolute; bottom: 32px; left: 50%;
      transform: translateX(-50%); display: flex; gap: 8px; z-index: 3;
    }
    .hero-dot {
      width: 8px; height: 8px; border-radius: 4px;
      background: rgba(255,255,255,0.4); cursor: pointer;
      transition: all 0.3s;
    }
    .hero-dot.active { width: 24px; background: #fff; }

    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(30px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* ── TRUST BAR ── */
    #trust {
      background: linear-gradient(135deg, var(--primary) 0%, #0d1d7a 100%);
      padding: 0;
    }
    .trust-inner {
      display: grid; grid-template-columns: repeat(4, 1fr);
      gap: 0;
    }
    .trust-item {
      display: flex; align-items: center; gap: 14px;
      padding: 24px 20px;
      border-right: 1px solid rgba(255,255,255,0.1);
      transition: background 0.3s;
    }
    .trust-item:last-child { border-right: none; }
    .trust-item:hover { background: rgba(255,255,255,0.05); }
    .trust-icon {
      width: 44px; height: 44px; flex-shrink: 0;
      background: rgba(255,255,255,0.15); border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      font-size: 22px;
    }
    .trust-text strong {
      display: block; font-size: 14px; font-weight: 700; color: #fff;
    }
    .trust-text span { font-size: 12px; color: rgba(255,255,255,0.65); }

    /* ── SECTION HEADERS ── */
    .section-tag {
      display: inline-block; font-size: 12px; font-weight: 700;
      letter-spacing: 2px; text-transform: uppercase;
      color: var(--primary); background: var(--primary-light);
      padding: 5px 12px; border-radius: 20px; margin-bottom: 12px;
    }
    .section-title {
      font-size: clamp(28px, 3.5vw, 42px);
      font-weight: 800; color: var(--text);
      letter-spacing: -0.5px; line-height: 1.2;
    }
    .section-title span { color: var(--primary); }
    .section-subtitle {
      font-size: 16px; color: var(--text-muted);
      margin-top: 12px; max-width: 560px;
    }
    .section-header { margin-bottom: 48px; }
    .section-header.center { text-align: center; }
    .section-header.center .section-subtitle { margin: 12px auto 0; }

    /* ── CATEGORIES ── */
    #categories { padding: 80px 0; background: var(--bg-alt); }
    .categories-grid {
      display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
    }
    .cat-card {
      background: #fff; border-radius: var(--radius-card);
      padding: 28px 16px; text-align: center;
      box-shadow: var(--shadow-card); cursor: pointer;
      transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
      text-decoration: none; color: var(--text);
      border: 2px solid transparent;
    }
    .cat-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-hover);
      border-color: var(--primary);
    }
    .cat-icon {
      width: 64px; height: 64px; border-radius: 16px;
      background: var(--primary-light);
      display: flex; align-items: center; justify-content: center;
      font-size: 30px; margin: 0 auto 14px;
      transition: background 0.3s;
    }
    .cat-card:hover .cat-icon { background: var(--primary); }
    .cat-card:hover .cat-icon svg path { stroke: #fff; }
    .cat-name { font-size: 13px; font-weight: 600; line-height: 1.4; }
    .cat-count {
      font-size: 11px; font-weight: 500; color: var(--text-muted);
      margin-top: 4px; min-height: 17px;
      transition: color 0.3s;
    }
    .cat-card:hover .cat-count { color: var(--primary); }

    /* ── PRODUCTS ── */
    #products { padding: 80px 0; }
    .products-tabs {
      display: flex; gap: 8px; margin-bottom: 40px; flex-wrap: wrap;
    }
    .tab-btn {
      padding: 9px 20px; border-radius: 20px;
      font-size: 14px; font-weight: 500; cursor: pointer;
      background: var(--bg-alt); color: var(--text-muted);
      border: none; font-family: inherit; transition: all 0.2s;
    }
    .tab-btn.active, .tab-btn:hover {
      background: var(--primary); color: #fff;
    }
    .products-grid {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    }
    .product-card {
      background: #fff; border-radius: 16px;
      box-shadow: var(--shadow-card); overflow: hidden;
      transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s, border-color 0.35s;
      border: 1px solid var(--border); position: relative;
    }
    .product-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 16px 48px rgba(13,29,122,0.16);
      border-color: rgba(20,40,160,0.35);
    }
    .product-img-wrap {
      position: relative; overflow: hidden;
      height: 240px;
      background: linear-gradient(110deg, #f3f4f8 8%, #fafbfd 18%, #f3f4f8 33%);
      background-size: 200% 100%;
      animation: skeleton-shimmer 1.4s linear infinite;
    }
    /* Dừng shimmer ngay khi ảnh tải xong — tránh repaint vô hạn trên 39 card */
    .product-img-wrap.img-loaded {
      animation: none;
      background: var(--bg-alt);
    }
    @keyframes skeleton-shimmer {
      to { background-position: -200% 0; }
    }
    .product-img-wrap img {
      width: 100%; height: 100%; object-fit: contain;
      padding: 20px; transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
      position: relative; z-index: 1; background: var(--bg-alt);
    }
    .product-card:hover .product-img-wrap img { transform: scale(1.07); }
    /* Nút "Xem nhanh" hiện khi hover */
    .product-img-wrap::after {
      content: 'Xem nhanh';
      position: absolute; left: 50%; bottom: 14px; z-index: 2;
      transform: translate(-50%, 10px);
      background: rgba(13,29,122,0.92); color: #fff;
      font-size: 12px; font-weight: 600; letter-spacing: 0.3px;
      padding: 7px 18px; border-radius: 20px;
      opacity: 0; pointer-events: none;
      transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
      backdrop-filter: blur(4px);
    }
    .product-card:hover .product-img-wrap::after {
      opacity: 1; transform: translate(-50%, 0);
    }
    .product-badges {
      position: absolute; top: 12px; left: 12px; z-index: 2;
      display: flex; flex-direction: column; gap: 6px;
    }
    .badge {
      display: inline-block; font-size: 11px; font-weight: 700;
      padding: 4px 11px; border-radius: 20px; letter-spacing: 0.5px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    }
    .badge-hot { background: linear-gradient(135deg, #FF3B30, #ff6a5e); color: #fff; }
    .badge-new { background: linear-gradient(135deg, #34C759, #5fd97f); color: #fff; }
    .badge-sale { background: linear-gradient(135deg, #FF6B00, #ff9540); color: #fff; }
    .badge-best { background: linear-gradient(135deg, #1428A0, #3d54d6); color: #fff; }
    .product-info { padding: 20px; }
    .product-category {
      font-size: 11px; font-weight: 600; letter-spacing: 1px;
      text-transform: uppercase; color: var(--primary); margin-bottom: 6px;
    }
    .product-name {
      font-size: 17px; font-weight: 700; color: var(--text);
      margin-bottom: 8px; line-height: 1.35;
    }
    .product-desc {
      font-size: 13px; color: var(--text-muted); margin-bottom: 14px;
      line-height: 1.5;
      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .product-specs-mini {
      display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap;
    }
    .spec-chip {
      font-size: 11px; font-weight: 500;
      background: var(--bg-alt); color: var(--text-muted);
      padding: 4px 10px; border-radius: 12px; border: 1px solid var(--border);
    }
    .product-price {
      display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
    }
    .price-current {
      font-size: 20px; font-weight: 800; color: var(--danger);
    }
    .price-original {
      font-size: 14px; color: var(--text-muted);
      text-decoration: line-through;
    }
    .price-discount {
      font-size: 12px; font-weight: 700; color: #fff;
      background: var(--danger); padding: 2px 7px; border-radius: 4px;
    }
    .product-actions { display: flex; gap: 10px; }
    .product-actions .btn { flex: 1; justify-content: center; }
    .product-card { cursor: pointer; }

    /* ── PRODUCT DETAIL MODAL ── */
    #product-modal {
      position: fixed; inset: 0; z-index: 9999;
      background: rgba(4,9,30,0.82); backdrop-filter: blur(5px);
      display: flex; align-items: center; justify-content: center;
      padding: 16px; opacity: 0; visibility: hidden;
      transition: opacity 0.25s, visibility 0.25s;
    }
    #product-modal.open { opacity: 1; visibility: visible; }
    .modal-box {
      background: #fff; border-radius: 16px;
      max-width: 940px; width: 100%; max-height: 92vh;
      overflow-y: auto; position: relative;
      animation: modalIn 0.28s ease; scrollbar-width: thin;
    }
    @keyframes modalIn {
      from { transform: translateY(20px) scale(0.98); opacity: 0; }
      to   { transform: translateY(0) scale(1); opacity: 1; }
    }
    .modal-header {
      position: sticky; top: 0; z-index: 10;
      display: flex; justify-content: flex-end;
      padding: 12px 14px 0; background: #fff;
    }
    .modal-close-btn {
      width: 34px; height: 34px; border-radius: 50%;
      background: var(--bg-alt); border: 1px solid var(--border);
      font-size: 20px; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: background 0.2s; line-height: 1;
    }
    .modal-close-btn:hover { background: #e5e5e5; }
    .modal-top {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 28px; padding: 12px 32px 28px;
    }
    .modal-main-img-wrap {
      border-radius: 12px; overflow: hidden;
      background: var(--bg-alt); aspect-ratio: 4/3;
      display: flex; align-items: center; justify-content: center;
    }
    .modal-main-img-wrap img {
      width: 100%; height: 100%; object-fit: contain;
      padding: 16px; transition: opacity 0.18s;
    }
    .modal-thumbs {
      display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px;
    }
    .modal-thumb {
      width: 58px; height: 58px; border-radius: 8px;
      overflow: hidden; border: 2px solid var(--border);
      cursor: pointer; background: var(--bg-alt);
      transition: border-color 0.18s; flex-shrink: 0;
    }
    .modal-thumb.active, .modal-thumb:hover { border-color: var(--primary); }
    .modal-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
    .modal-info .product-category { margin-top: 4px; }
    .modal-info .product-name { font-size: 22px; line-height: 1.3; }
    .modal-info .product-desc {
      -webkit-line-clamp: unset; line-clamp: unset;
      display: block !important; overflow: visible;
      font-size: 14px; line-height: 1.75; margin-bottom: 16px;
    }
    .modal-info .product-price { margin-top: 16px; margin-bottom: 20px; }
    .modal-actions { display: flex; gap: 10px; }
    .modal-actions .btn { flex: 1; justify-content: center; }
    .modal-desc-section {
      border-top: 1px solid var(--border);
      padding: 24px 32px 32px;
    }
    .modal-desc-section h4 {
      font-size: 12px; font-weight: 700; letter-spacing: 1.2px;
      text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px;
    }
    .modal-desc-imgs {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 14px;
    }
    .modal-desc-imgs img {
      width: 100%; border-radius: 10px;
      border: 1px solid var(--border); object-fit: contain;
    }
    .modal-full-desc-section {
      border-top: 1px solid var(--border);
      padding: 24px 32px 28px;
    }
    .modal-full-desc-section h4 {
      font-size: 12px; font-weight: 700; letter-spacing: 1.2px;
      text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px;
    }
    .modal-spec-list {
      list-style: none; padding: 0; margin: 0;
      border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
    }
    /* Section header (Thông số kỹ thuật, LƯU Ý…) */
    .modal-spec-list li.spec-header {
      background: var(--primary); color: #fff;
      font-size: 11px; font-weight: 700; letter-spacing: 1.4px;
      text-transform: uppercase; padding: 8px 16px;
      margin-top: 0; border: none;
    }
    .modal-spec-list li.spec-header:not(:first-child) { margin-top: 0; }
    /* Key : Value row */
    .modal-spec-list li.spec-kv {
      display: flex; align-items: baseline; gap: 10px;
      padding: 9px 16px; border-bottom: 1px solid #f0f0f0;
    }
    .modal-spec-list li.spec-kv .sk {
      font-weight: 600; font-size: 13px; color: #333;
      min-width: 148px; flex-shrink: 0; line-height: 1.5;
    }
    .modal-spec-list li.spec-kv .sv {
      font-size: 14px; color: var(--text-dark); line-height: 1.5;
    }
    /* Feature / plain description row */
    .modal-spec-list li.spec-feat {
      display: flex; align-items: flex-start; gap: 9px;
      padding: 8px 16px; border-bottom: 1px solid #f0f0f0;
      font-size: 14px; color: var(--text-dark); line-height: 1.6;
    }
    .modal-spec-list li.spec-feat::before {
      content: "✓"; color: #34c759; font-weight: 700;
      flex-shrink: 0; margin-top: 1px; font-size: 13px;
    }
    /* Warning / note row */
    .modal-spec-list li.spec-note {
      display: flex; align-items: flex-start; gap: 9px;
      padding: 8px 16px; border-bottom: 1px solid #ffe0b2;
      background: #fff8ec; font-size: 13px; color: #7a4f00; line-height: 1.6;
    }
    .modal-spec-list li.spec-note::before {
      content: "⚠"; color: #ffa726; flex-shrink: 0; font-size: 14px; margin-top: 1px;
    }
    .modal-spec-list li:last-child { border-bottom: none; }
    @media (max-width: 680px) {
      .modal-top { grid-template-columns: 1fr; gap: 16px; padding: 8px 16px 16px; }
      .modal-desc-section { padding: 16px 16px 24px; }
      .modal-desc-imgs { grid-template-columns: 1fr 1fr; }
      .modal-full-desc-section { padding: 16px 16px 24px; }
      .modal-spec-list li.spec-kv .sk { min-width: 110px; }
    }

    /* ── FEATURES ── */
    #features { padding: 80px 0; background: var(--bg-alt); }
    .feature-row {
      display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
      align-items: center; margin-bottom: 80px;
    }
    .feature-row:last-child { margin-bottom: 0; }
    .feature-row.reverse .feature-visual { order: 2; }
    .feature-row.reverse .feature-content { order: 1; }
    .feature-visual {
      border-radius: 20px; overflow: hidden;
      box-shadow: var(--shadow-hover);
      position: relative;
      border: 1px solid var(--border);
    }
    .feature-visual img {
      width: 100%; height: 360px; object-fit: contain;
      background: #fff; padding: 30px;
      transition: transform 0.5s ease;
    }
    .feature-visual:hover img { transform: scale(1.04); }
    .feature-visual-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(45deg, rgba(20,40,160,0.1), transparent);
    }
    .feature-head {
      display: flex; align-items: center; gap: 18px;
      margin-bottom: 20px;
    }
    .feature-number {
      font-size: 64px; font-weight: 900;
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      line-height: 1; opacity: 0.85;
    }
    .feature-icon {
      width: 56px; height: 56px; border-radius: 14px; flex-shrink: 0;
      background: linear-gradient(135deg, var(--primary), #3d54d6);
      display: flex; align-items: center;
      justify-content: center;
      box-shadow: 0 8px 20px rgba(20,40,160,0.3);
    }
    .feature-title {
      font-size: 28px; font-weight: 800; color: var(--text);
      margin-bottom: 16px; line-height: 1.3;
    }
    .feature-desc { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 24px; }
    .feature-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
    .feature-list li {
      display: flex; align-items: center; gap: 10px;
      font-size: 14px; font-weight: 500; color: var(--text);
    }
    .feature-list li::before {
      content: '✓'; width: 22px; height: 22px;
      background: var(--primary); color: #fff;
      border-radius: 50%; display: flex; align-items: center;
      justify-content: center; font-size: 12px; font-weight: 700;
      flex-shrink: 0;
    }

    /* ── VIDEO ── */
    #video-demo { padding: 80px 0; }
    .video-wrap {
      border-radius: 20px; overflow: hidden;
      box-shadow: var(--shadow-hover); position: relative;
      background: #0a0a1a; aspect-ratio: 16/9;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer;
    }
    .video-wrap iframe { width: 100%; height: 100%; border: none; }
    .video-placeholder {
      position: absolute; inset: 0;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      background: linear-gradient(135deg, #0a0a2e 0%, #1428A0 100%);
    }
    .play-btn {
      width: 80px; height: 80px; border-radius: 50%;
      background: rgba(255,255,255,0.15); backdrop-filter: blur(10px);
      border: 2px solid rgba(255,255,255,0.4);
      display: flex; align-items: center; justify-content: center;
      color: #fff; margin-bottom: 20px;
      transition: all 0.3s; cursor: pointer;
    }
    .play-btn:hover { background: rgba(255,255,255,0.25); transform: scale(1.1); }
    .video-caption { font-size: 14px; color: rgba(255,255,255,0.6); margin-top: 16px; text-align: center; }

    /* ── TESTIMONIALS ── */
    #testimonials { padding: 80px 0; background: var(--bg-alt); }
    .testimonials-carousel { position: relative; overflow: hidden; }
    .testimonials-track {
      display: flex; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
    }
    .testimonial-card {
      min-width: calc(33.33% - 16px); margin-right: 24px;
      background: #fff; border-radius: 16px;
      padding: 28px; box-shadow: var(--shadow-card);
      border: 1px solid var(--border);
      transition: all 0.3s;
      position: relative; overflow: hidden;
    }
    /* Quote mark lớn ở góc */
    .testimonial-card::before {
      content: '\201C';
      position: absolute; top: -8px; right: 16px;
      font-size: 110px; font-weight: 800; line-height: 1;
      font-family: Georgia, serif;
      color: var(--primary-light);
      opacity: 0.8; pointer-events: none;
    }
    .testimonial-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
      border-color: rgba(20,40,160,0.25);
    }
    .review-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; position: relative; }
    .review-avatar {
      width: 52px; height: 52px; border-radius: 50%;
      background: linear-gradient(135deg, var(--primary), #4a6cf7);
      display: flex; align-items: center; justify-content: center;
      font-size: 20px; font-weight: 700; color: #fff; flex-shrink: 0;
      box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(20,40,160,0.3);
    }
    .review-name { font-size: 15px; font-weight: 700; color: var(--text); }
    .review-location { font-size: 12px; color: var(--text-muted); }
    .review-stars { color: #FFB800; font-size: 14px; margin-bottom: 12px; letter-spacing: 2px; }
    .review-text { font-size: 14px; color: var(--text-muted); line-height: 1.7; font-style: italic; }
    .review-text::before { content: '"'; font-size: 40px; color: var(--primary-light); line-height: 0; vertical-align: -14px; margin-right: 4px; }
    .carousel-dots {
      display: flex; justify-content: center; gap: 8px; margin-top: 32px;
    }
    .carousel-dot {
      width: 8px; height: 8px; border-radius: 4px;
      background: var(--border); cursor: pointer; transition: all 0.3s; border: none;
    }
    .carousel-dot.active { width: 24px; background: var(--primary); }

    /* ── COMPARE ── */
    #compare { padding: 80px 0; }
    .compare-wrap { overflow-x: auto; border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
    .compare-table {
      width: 100%; border-collapse: collapse; min-width: 700px;
    }
    .compare-table th {
      padding: 20px 24px; text-align: center; font-size: 14px;
    }
    .compare-table th:first-child { text-align: left; }
    .col-recommended {
      background: linear-gradient(135deg, var(--primary), #2a44cf) !important;
      color: #fff !important;
      position: relative;
    }
    .col-recommended .product-badge-top {
      display: inline-block; font-size: 11px; font-weight: 700;
      background: #FFD700; color: var(--primary);
      padding: 2px 10px; border-radius: 10px; margin-top: 6px;
    }
    .compare-table tr:nth-child(even) { background: var(--bg-alt); }
    .compare-table td {
      padding: 16px 24px; font-size: 14px; border-bottom: 1px solid var(--border);
      text-align: center;
    }
    .compare-table td:first-child {
      text-align: left; font-weight: 600; color: var(--text-muted);
    }
    /* Sticky cột thông số khi cuộn ngang trên mobile */
    .compare-table th:first-child, .compare-table td:first-child {
      position: sticky; left: 0; z-index: 2;
      background: #fff;
      box-shadow: 2px 0 6px rgba(0,0,0,0.05);
    }
    .compare-table tr:nth-child(even) td:first-child { background: var(--bg-alt); }
    .compare-table thead th:first-child { background: #fff; }
    .compare-table .check { color: var(--success); font-size: 18px; }
    .compare-table .cross { color: var(--danger); font-size: 18px; }
    .compare-table thead tr { background: #fff; }
    .col-recommended-cell { background: rgba(20,40,160,0.06); font-weight: 600; color: var(--primary); }

    /* ── FAQ ── */
    #faq { padding: 80px 0; background: var(--bg-alt); }
    .faq-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
    }
    .faq-item {
      background: #fff; border-radius: var(--radius-card);
      border: 1px solid var(--border); overflow: hidden;
      transition: box-shadow 0.3s;
    }
    .faq-item:hover { box-shadow: var(--shadow-card); border-color: rgba(20,40,160,0.3); }
    .faq-q {
      display: flex; align-items: center; justify-content: space-between;
      padding: 20px 24px; cursor: pointer;
      font-size: 15px; font-weight: 600; color: var(--text);
      gap: 12px; list-style: none; user-select: none;
    }
    .faq-q::-webkit-details-marker { display: none; }
    .faq-q .faq-icon {
      width: 28px; height: 28px; flex-shrink: 0;
      border-radius: 50%; background: var(--bg-alt);
      display: flex; align-items: center; justify-content: center;
      font-size: 18px; color: var(--primary); transition: all 0.3s;
    }
    details[open] .faq-q .faq-icon { background: var(--primary); color: #fff; transform: rotate(45deg); }
    details[open] .faq-q { color: var(--primary); }
    .faq-a {
      padding: 0 24px 20px; font-size: 14px; color: var(--text-muted); line-height: 1.7;
      animation: faqOpen 0.3s ease;
    }
    @keyframes faqOpen {
      from { opacity: 0; transform: translateY(-8px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* ── CTA CONTACT ── */
    #contact {
      padding: 80px 0;
      background:
        radial-gradient(900px 500px at 85% 0%, rgba(255,107,0,0.18), transparent 60%),
        radial-gradient(700px 500px at 0% 100%, rgba(0,104,255,0.25), transparent 55%),
        linear-gradient(135deg, #0d1d7a 0%, var(--primary) 50%, #1a3fd4 100%);
      position: relative; overflow: hidden;
    }
    #contact::before {
      content: ''; position: absolute;
      width: 600px; height: 600px; border-radius: 50%;
      background: rgba(255,255,255,0.04);
      top: -200px; right: -150px;
    }
    #contact::after {
      content: ''; position: absolute;
      width: 400px; height: 400px; border-radius: 50%;
      background: rgba(255,255,255,0.04);
      bottom: -100px; left: -100px;
    }
    .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; position: relative; z-index: 1; }
    .contact-left .section-tag { background: rgba(255,255,255,0.15); color: #fff; }
    .contact-left .section-title { color: #fff; }
    .contact-left .section-subtitle { color: rgba(255,255,255,0.75); max-width: 400px; }
    .contact-channels { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
    .contact-channel {
      display: flex; align-items: center; gap: 16px;
      background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: var(--radius-card); padding: 16px 20px;
      text-decoration: none; transition: all 0.3s;
    }
    .contact-channel:hover { background: rgba(255,255,255,0.18); transform: translateX(6px); }
    .contact-channel-icon {
      width: 46px; height: 46px; border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      font-size: 22px; flex-shrink: 0;
    }
    .ch-zalo { background: var(--zalo); }
    .ch-phone { background: var(--success); }
    .ch-email { background: var(--secondary); }
    .contact-channel-info strong {
      display: block; font-size: 15px; font-weight: 700; color: #fff;
    }
    .contact-channel-info span { font-size: 13px; color: rgba(255,255,255,0.65); }
    .contact-form-wrap {
      background: #fff; border-radius: 20px;
      padding: 36px; box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    }
    .form-title { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
    .form-subtitle { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
    .form-hint {
      margin-top: 16px; padding: 14px 16px;
      background: linear-gradient(135deg, rgba(20,40,160,0.06) 0%, rgba(0,122,255,0.05) 100%);
      border: 1px solid rgba(20,40,160,0.14);
      border-radius: var(--radius-card);
      font-size: 13px; color: var(--text-muted); line-height: 1.55;
    }
    .form-hint-head {
      display: flex; align-items: flex-start; gap: 8px;
      font-weight: 600; color: var(--primary); margin-bottom: 10px;
    }
    .form-hint-head svg { flex-shrink: 0; margin-top: 1px; }
    .form-hint-steps {
      margin: 0 0 10px 1.15em; padding: 0;
    }
    .form-hint-steps li { margin-bottom: 4px; }
    .form-hint-steps li:last-child { margin-bottom: 0; }
    .form-hint-tips {
      display: flex; flex-wrap: wrap; gap: 8px;
      padding-top: 10px; border-top: 1px dashed rgba(20,40,160,0.15);
    }
    .form-hint-tip {
      flex: 1 1 220px; padding: 6px 10px;
      background: rgba(255,255,255,0.75); border-radius: 8px;
      font-size: 12px;
    }
    .form-hint kbd, .form-success-tip kbd {
      display: inline-block; padding: 1px 5px;
      font-family: inherit; font-size: 11px; font-weight: 600;
      background: #fff; border: 1px solid var(--border);
      border-radius: 4px; box-shadow: 0 1px 0 var(--border);
    }
    .form-success-tip {
      font-size: 12px; color: var(--text-muted);
      margin-bottom: 14px; line-height: 1.5;
    }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    .form-group { margin-bottom: 16px; }
    .form-group label {
      display: block; font-size: 13px; font-weight: 600;
      color: var(--text); margin-bottom: 6px;
    }
    .form-group input, .form-group select, .form-group textarea {
      width: 100%; padding: 12px 16px;
      border: 2px solid var(--border); border-radius: var(--radius-btn);
      font-family: inherit; font-size: 14px; color: var(--text);
      background: var(--bg-alt);
      transition: all 0.2s; outline: none;
    }
    .form-group input:focus, .form-group select:focus, .form-group textarea:focus {
      border-color: var(--primary); background: #fff;
      box-shadow: 0 0 0 4px rgba(20,40,160,0.1), 0 2px 12px rgba(20,40,160,0.08);
    }
    .form-group input:hover, .form-group select:hover, .form-group textarea:hover {
      border-color: rgba(20,40,160,0.35);
    }
    .form-group textarea { resize: vertical; min-height: 100px; }
    .form-success {
      display: none; text-align: center; padding: 20px;
      background: rgba(52,199,89,0.1); border-radius: var(--radius-card);
      border: 2px solid var(--success);
    }
    .form-success .checkmark { font-size: 48px; margin-bottom: 12px; }

    /* ── FOOTER ── */
    footer {
      background: #0a0a1e; color: rgba(255,255,255,0.7);
      padding: 60px 0 0;
    }
    .footer-grid {
      display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
      padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .footer-brand img {
      width: 64px; height: 64px; object-fit: contain;
      margin-bottom: 16px;
      background: #fff; border-radius: 14px; padding: 6px;
    }
    .footer-brand p { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
    .footer-socials { display: flex; gap: 10px; }
    .social-btn {
      width: 38px; height: 38px; border-radius: 8px;
      background: rgba(255,255,255,0.08);
      display: flex; align-items: center; justify-content: center;
      font-size: 18px; text-decoration: none; color: rgba(255,255,255,0.7);
      transition: all 0.3s;
    }
    .social-btn:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
    .footer-col h4 {
      font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
      text-transform: uppercase; color: #fff; margin-bottom: 20px;
    }
    .footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
    .footer-links a {
      font-size: 14px; color: rgba(255,255,255,0.6); text-decoration: none;
      transition: all 0.2s; display: flex; align-items: center; gap: 6px;
    }
    .footer-links a:hover { color: #fff; padding-left: 4px; }
    .footer-links a::before { content: '→'; opacity: 0; transition: opacity 0.2s; }
    .footer-links a:hover::before { opacity: 1; }
    .footer-contact-info { margin-top: 20px; }
    .footer-contact-info p {
      display: flex; align-items: flex-start; gap: 8px;
      font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 8px;
      line-height: 1.5;
    }
    .footer-contact-info svg { flex-shrink: 0; margin-top: 3px; opacity: 0.7; }
    .footer-bottom {
      display: flex; align-items: center; justify-content: space-between;
      padding: 20px 0; flex-wrap: wrap; gap: 12px;
      font-size: 13px; color: rgba(255,255,255,0.4);
    }

    /* ── ZALO FLOAT ── */
    #zalo-float {
      position: fixed; bottom: 28px; right: 28px; z-index: 9999;
    }
    .zalo-btn-main {
      width: 60px; height: 60px; border-radius: 50%;
      background: var(--zalo); color: #fff;
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 4px 20px rgba(0,104,255,0.5);
      text-decoration: none; cursor: pointer;
      position: relative; transition: transform 0.3s;
    }
    .zalo-btn-main:hover { transform: scale(1.1); }
    .zalo-ring {
      position: absolute; inset: -6px; border-radius: 50%;
      border: 3px solid var(--zalo); opacity: 0;
      animation: zalo-pulse 2s infinite;
    }
    .zalo-ring:nth-child(2) { animation-delay: 0.5s; inset: -14px; border-width: 2px; }
    @keyframes zalo-pulse {
      0% { transform: scale(0.85); opacity: 0.6; }
      100% { transform: scale(1.5); opacity: 0; }
    }
    .zalo-tooltip {
      position: absolute; right: 72px; top: 50%; transform: translateY(-50%);
      background: #1D1D1F; color: #fff; font-size: 13px; font-weight: 500;
      padding: 7px 14px; border-radius: 8px; white-space: nowrap;
      opacity: 0; pointer-events: none; transition: opacity 0.2s;
    }
    .zalo-tooltip::after {
      content: ''; position: absolute; left: 100%; top: 50%;
      transform: translateY(-50%); border: 6px solid transparent;
      border-left-color: #1D1D1F;
    }
    #zalo-float:hover .zalo-tooltip { opacity: 1; }

    /* ── BACK TO TOP (vòng tròn progress theo scroll) ── */
    #back-top {
      position: fixed; bottom: 100px; right: 28px; z-index: 9998;
      width: 48px; height: 48px; border-radius: 50%;
      background: rgba(20,40,160,0.92); color: #fff;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer; box-shadow: var(--shadow-card);
      opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.3s, background 0.3s;
      border: none;
      --scroll-pct: 0;
    }
    #back-top::before {
      content: ''; position: absolute; inset: -4px; border-radius: 50%;
      background: conic-gradient(var(--secondary) calc(var(--scroll-pct) * 1%), rgba(20,40,160,0.18) 0);
      -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
      mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
      pointer-events: none;
    }
    #back-top.visible { opacity: 1; pointer-events: auto; }
    #back-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

    /* ── SCROLL REVEAL ── */
    .reveal {
      opacity: 0; transform: translateY(40px);
      transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
    }
    .reveal.visible { opacity: 1; transform: translateY(0); }
    .reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1); }
    .reveal-left.visible { opacity: 1; transform: translateX(0); }
    .reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1); }
    .reveal-right.visible { opacity: 1; transform: translateX(0); }

    /* ── ACCESSIBILITY ── */
    :focus-visible {
      outline: 3px solid rgba(20,40,160,0.5);
      outline-offset: 2px;
      border-radius: 4px;
    }
    .btn:focus-visible { outline-color: rgba(255,107,0,0.7); }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
      .reveal, .reveal-left, .reveal-right {
        opacity: 1; transform: none;
      }
    }

    /* ── RESPONSIVE ── */

    /* ── Desktop (≥1025px): hero text column cố định, font 36px ── */
    @media (min-width: 1025px) {
      #hero > .container {
        padding: 0 20px;
      }
      .hero-content {
        max-width: 480px;
        padding: clamp(14px, 2vh, 28px) 0;
        overflow: hidden;
      }
      .hero-badge { display: none; }
      .hero-h1 {
        font-size: 36px;
        line-height: 1.3;
        margin-bottom: 12px;
      }
      .hero-sub {
        font-size: 14px;
        line-height: 1.6;
        /* Desktop hero đủ cao cho 3 dòng — hiển thị trọn nội dung */
        display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 0;
      }
      .hero-btns {
        margin-top: 24px;
        gap: 12px;
        flex-wrap: wrap;
      }
      .hero-btns .btn-lg {
        padding: 12px 24px;
        font-size: 15px;
      }
      /* Stats: ẩn ở 1025–1279px (hero 320–400px, không đủ chỗ) */
      .hero-stats {
        display: none;
        flex-wrap: wrap;
        gap: 24px;
        margin-top: 24px;
      }
      .hero-stat { text-align: left; }
      .hero-stat-num { font-size: 22px; }
      .hero-stat-label { font-size: 12px; }
    }

    /* ── Desktop rộng (≥1280px): hero ≥400px — hiện stats ── */
    @media (min-width: 1280px) {
      .hero-stats { display: flex; }
    }

    /* ── Tablet (≤1024px): ratio still holds, just smaller ── */
    @media (max-width: 1024px) {
      #hero {
        height: clamp(300px, calc(100vw / 3.2), 82vh);
      }
      /* Tablet hero text: tighter layout, hide stats */
      .hero-content {
        max-width: min(340px, 38vw);
        padding: clamp(12px, 2.5vh, 24px) 0;
      }
      .hero-badge { display: none; }
      .hero-h1 {
        font-size: clamp(16px, 2.4vw, 28px);
        letter-spacing: -0.3px;
        margin-bottom: clamp(6px, 1vh, 12px);
      }
      .hero-sub {
        font-size: clamp(11px, 1.1vw, 14px);
        margin-bottom: clamp(10px, 1.5vh, 18px);
        line-height: 1.55;
        /* Giới hạn 2 dòng tránh tràn */
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
        overflow: hidden;
      }
      .hero-btns .btn-lg {
        padding: 9px 16px; font-size: 13px;
      }
      /* Ẩn stats — không đủ chỗ ở banner cao 300-400px */
      .hero-stats { display: none; }
      .hero-dots { bottom: 10px; }
      .products-grid { grid-template-columns: repeat(2, 1fr); }
      .categories-grid { grid-template-columns: repeat(3, 1fr); }
      .trust-inner { grid-template-columns: repeat(2, 1fr); }
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .contact-grid { grid-template-columns: 1fr; gap: 40px; }
      .faq-grid { grid-template-columns: 1fr; }
    }
    /* ── Mobile (≤768px): banner at 100vw width, natural 3.2:1 height
           + content block below with gradient transition ── */
    @media (max-width: 768px) {
      #hero {
        height: auto;
        display: block;           /* stack: image on top, content below */
        background: #04091e;
      }
      .hero-slider {
        position: relative;       /* in-flow, not absolute */
        width: 100%;
        /* natural banner height at mobile width = 100vw / 3.2 */
        height: calc(100vw / 3.2);
        min-height: 110px;
        max-height: 240px;
        overflow: hidden;
      }
      .hero-slide {
        position: absolute; inset: 0;  /* slides stack within .hero-slider */
      }
      .hero-slide img {
        object-fit: contain;
        object-position: center center;
      }
      /* No left-gradient needed on mobile — content is below the image */
      .hero-slide::after { display: none; }
      /* Bottom fade: merges image into content block */
      .hero-slider::after {
        content: '';
        position: absolute; bottom: 0; left: 0; right: 0;
        height: 40px; pointer-events: none;
        background: linear-gradient(transparent, #04091e);
      }
      .hero-content {
        position: relative; z-index: 2;
        padding: 20px 0 36px;
        /* reset: no longer absolute-over-image */
        max-width: 100%;
      }
      /* Mobile: nội dung nằm dưới banner nên không cần cắt dòng */
      .hero-sub {
        display: block;
        -webkit-line-clamp: unset;
        overflow: visible;
      }
      /* Dots: centered under the banner image */
      .hero-dots {
        position: relative;
        bottom: unset; left: unset;
        transform: none;
        justify-content: center;
        margin: 6px 0 0;
        padding: 0 20px;
      }
      .hero-stats { gap: 20px; }
      .nav-menu, .nav-phone { display: none; }
      .hamburger { display: flex; }
      .products-grid { grid-template-columns: 1fr; }
      .categories-grid { grid-template-columns: repeat(2, 1fr); }
      .feature-row { grid-template-columns: 1fr; gap: 32px; }
      .feature-row.reverse .feature-visual { order: unset; }
      .feature-row.reverse .feature-content { order: unset; }
      .testimonial-card { min-width: calc(100% - 0px); margin-right: 0; }
      .footer-grid { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; text-align: center; }
      .form-row { grid-template-columns: 1fr; }
      section:not(#hero) { padding: 48px 0 !important; }
    }
