/*
Theme Name: Aplus Themes
Theme URI: https://themes.aplusvn.net
Author: A+ Digital Technology Group
Author URI: https://aplusvn.net
Description: Kho giao diện mẫu & phễu thu lead chuẩn SEO may đo tối ưu tốc độ Aplus Themes.
Version: 1.0.0
Text Domain: aplus-themes
*/

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800;900&display=swap');

:root {
  --brand: #0056d6;
  --brand-h: #0045a5;
  --brand-light: #f0f7ff;
  --navy: #061224;
  --navy-9: #061224;
  --navy-8: #030d1c;
  --navy-1: #f0f7ff;
  --accent: #0056d6;
  --accent-h: #0045a5;
  --accent-light: #e8f2fe;
  --accent-glow: rgba(0, 86, 214, 0.28);
  --bg: #f8fbff;
  --card: #ffffff;
  --ink: #061224;
  --ink-soft: #0f274a;
  --mute: #334155;
  --line: #cbd5e1;
  --line-light: #e2e8f0;
  --ok: #059669;
  --bad: #dc2626;
  --r: 16px;
  --sh-sm: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  --sh: 0 4px 20px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.05);
  --sh-lg: 0 20px 40px -12px rgba(15, 23, 42, 0.15), 0 8px 16px -6px rgba(15, 23, 42, 0.08);
  --font: "Plus Jakarta Sans", Inter, system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background-color: #e8f3fe;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  min-height: 100vh;
  padding-top: 72px;
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("/images/bg-watercolor-blue.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  pointer-events: none;
  transform: translateZ(0);
  will-change: transform;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: #061224;
  font-weight: 800;
}
.container { max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 100;
}
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #0065df; outline-offset: 2px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 99px;
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 0.94rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn.sm { padding: 8px 16px; font-size: 0.88rem; border-radius: 99px; }
.btn.block { width: 100%; }
.btn-accent {
  background: linear-gradient(135deg, #0065df 0%, #0050b3 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px -2px rgba(0, 101, 223, 0.4);
}
.btn-accent:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0065df 100%);
  box-shadow: 0 6px 22px -2px rgba(0, 101, 223, 0.52);
  transform: translateY(-2px);
  color: #ffffff;
}
.btn-primary {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 4px 12px -2px rgba(0, 101, 223, 0.28);
}
.btn-primary:hover {
  background: var(--brand-h);
  box-shadow: 0 6px 16px -2px rgba(0, 82, 180, 0.35);
  transform: translateY(-1px);
  color: #ffffff;
}
.btn-ghost {
  background: #ffffff;
  color: #1e3a8a;
  border-color: #cbd5e1;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: #f0f7ff;
  transform: translateY(-1px);
}
.btn-ghost.light {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}
.btn-ghost.light:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
  color: #ffffff;
}
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* ========================================================
   Header (Chuẩn phong cách trắng pha xanh nhạt theo Eras Vietnam)
   ======================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 990;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 101, 223, 0.08);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 24px -2px rgba(15, 23, 42, 0.12);
  border-bottom-color: rgba(0, 101, 223, 0.14);
}

:root {
  --header-offset: 72px;
}

/* Hỗ trợ hiển thị chuẩn khi bật WordPress Admin Bar (trừ trang xem demo full màn) */
body.admin-bar:not(.demo-view-body) {
  --header-offset: 104px;
  padding-top: 104px !important;
}
body.admin-bar:not(.demo-view-body) .site-header {
  top: 32px !important;
}
@media screen and (max-width: 782px) {
  body.admin-bar:not(.demo-view-body) {
    --header-offset: 118px;
    padding-top: 118px !important;
  }
  body.admin-bar:not(.demo-view-body) .site-header {
    top: 46px !important;
  }
}
@media screen and (max-width: 600px) {
  #wpadminbar {
    position: fixed !important;
  }
  body.admin-bar .site-header {
    top: 46px !important;
  }
}

/* Prismatic Light Refraction Beam on Header Bottom Rim */
.site-header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(56, 189, 248, 0.4) 15%,
    rgba(0, 101, 223, 0.5) 35%,
    rgba(129, 140, 248, 0.4) 55%,
    rgba(56, 189, 248, 0.4) 75%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: prismRefractShift 7s linear infinite;
  opacity: 0.7;
  pointer-events: none;
}

@keyframes prismRefractShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  height: 72px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
}

/* Logo thương hiệu chính thức từ Aplus Group (https://aplusvn.net) */
.logo {
  justify-self: start;
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}

.aplus-logo-img {
  height: 42px;
  width: auto;
  max-height: 44px;
  display: block;
  object-fit: contain;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo:hover .aplus-logo-img {
  transform: translateY(-1px) scale(1.02);
}

/* Header nền sáng: Hiển thị logo Aplus màu xanh chuẩn nhận diện */
.logo .aplus-logo-dark {
  display: block;
}
.logo .aplus-logo-light {
  display: none;
}

/* Footer nền tối: Hiển thị logo Aplus màu trắng sáng chuẩn nhận diện (aplus-logo-light) */
.logo.light .aplus-logo-light {
  display: block;
}
.logo.light .aplus-logo-dark {
  display: none;
}

/* Thanh điều hướng Eras Vietnam Style */
.nav {
  justify-self: center;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  background: rgba(240, 247, 255, 0.7);
  border: 1px solid rgba(0, 101, 223, 0.12);
  border-radius: 99px;
  box-shadow: 0 2px 12px rgba(0, 101, 223, 0.04);
  flex-shrink: 0;
  position: relative;
}

.nav-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #334155;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-item:hover {
  background: #ffffff;
  color: #0065df;
  border-color: rgba(0, 101, 223, 0.2);
  box-shadow: 0 2px 8px rgba(0, 101, 223, 0.08);
  transform: translateY(-1px);
}

.nav-item.on {
  background: #0065df;
  color: #ffffff;
  border-color: #0065df;
  box-shadow: 0 4px 12px rgba(0, 101, 223, 0.3);
}

.nav-badge {
  font-size: 0.65rem;
  font-weight: 800;
  background: #ef4444;
  color: #ffffff;
  padding: 1px 6px;
  border-radius: 99px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.nav-item.on .nav-badge {
  background: #ffffff;
  color: #0065df;
}

/* Dropdown Menu Dịch vụ */
.nav-item-dropdown-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-item-has-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
  padding: 7px 15px;
  border-radius: 99px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.dropdown-arrow {
  display: inline-flex;
  transition: transform 0.2s ease;
  color: #64748b;
}
.nav-item-dropdown-wrap:hover .dropdown-arrow,
.nav-item-dropdown-wrap.open .dropdown-arrow {
  transform: rotate(180deg);
  color: #0065df;
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 460px;
  background: #ffffff;
  border: 1px solid rgba(0, 101, 223, 0.14);
  border-radius: 14px;
  box-shadow: 0 16px 40px -6px rgba(15, 23, 42, 0.12), 0 0 1px 1px rgba(0, 101, 223, 0.06);
  padding: 14px;
  display: none;
  z-index: 50;
  animation: dropdownFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-item-dropdown-wrap:hover .nav-dropdown-menu,
.nav-item-dropdown-wrap.open .nav-dropdown-menu {
  display: block;
}
@keyframes dropdownFade {
  from { opacity: 0; transform: translate(-50%, -8px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
.dropdown-header {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0065df;
  padding: 4px 8px 10px;
  border-bottom: 1.5px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dropdown-view-all {
  font-size: 0.72rem;
  font-weight: 600;
  color: #0065df;
  text-transform: none;
  text-decoration: none;
}
.dropdown-view-all:hover {
  text-decoration: underline;
}
.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 10px;
}
.dropdown-link-card {
  padding: 10px 12px;
  border-radius: 8px;
  background: #f8fbff;
  border: 1px solid #eef4fc;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.dropdown-link-card:hover {
  background: #edf5ff;
  border-color: rgba(0, 101, 223, 0.25);
  transform: translateY(-1px);
}
.dropdown-link-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f274a;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dropdown-link-card:hover .dropdown-link-title {
  color: #0065df;
}
.dropdown-link-desc {
  font-size: 0.74rem;
  color: #64748b;
  line-height: 1.35;
  margin: 0;
}

/* ========================================================
   Header CTA Buttons: Hiệu ứng phát sóng Wi-Fi / Radar Pulse
   ======================================================== */
.head-cta {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 0;
  flex-shrink: 0;
}

/* ========================================================
   Header CTA Button - Thiết kế cao cấp, hiện đại & thanh lịch
   ======================================================== */
.btn-eras-contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(135deg, #0284c7 0%, #0066ee 52%, #004ecc 100%);
  color: #ffffff;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.2px;
  height: 42px;
  padding: 0 16px 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px -1px rgba(0, 102, 238, 0.38), 0 2px 4px rgba(0, 0, 0, 0.04), inset 0 1px 1.5px rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  text-decoration: none;
}

.btn-eras-contact > * {
  position: relative;
  z-index: 2;
}

/* Huy hiệu tròn bọc icon điện thoại */
.btn-cta-icon-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-cta-icon-badge .cta-phone-icon {
  color: #ffffff;
  transition: transform 0.3s ease;
}

.btn-cta-text {
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 24, 75, 0.25);
}

.btn-cta-arrow {
  color: rgba(255, 255, 255, 0.85);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
  margin-left: 1px;
}

/* Ánh sáng lướt nhẹ sang trọng (Luxury Sheen Sweep) thay thế sóng radar thô */
.btn-eras-contact::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -120%;
  width: 70%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255, 255, 255, 0.36) 50%,
    transparent 80%
  );
  transform: rotate(25deg);
  pointer-events: none;
  z-index: 1;
  animation: btnSheenGlow 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes btnSheenGlow {
  0%, 65% {
    left: -120%;
  }
  100% {
    left: 220%;
  }
}

/* Hiệu ứng hover nổi bật, sắc nét */
.btn-eras-contact:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #0072ff 52%, #0056e0 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -2px rgba(0, 102, 238, 0.55), 0 3px 8px rgba(0, 0, 0, 0.08), inset 0 1px 2px rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.btn-eras-contact:hover .btn-cta-icon-badge {
  background: rgba(255, 255, 255, 0.32);
  transform: scale(1.08);
}

.btn-eras-contact:hover .cta-phone-icon {
  animation: phoneRingBadge 0.6s ease-in-out;
}

.btn-eras-contact:hover .btn-cta-arrow {
  transform: translateX(3px);
  color: #ffffff;
}

@keyframes phoneRingBadge {
  0%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(-14deg); }
  40% { transform: rotate(12deg); }
  60% { transform: rotate(-8deg); }
  80% { transform: rotate(5deg); }
}

.btn-eras-contact:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 3px 10px rgba(0, 102, 238, 0.4);
}

/* Nút Chat Zalo phát sóng Wi-Fi Radar */
.btn-zalo-cta {
  position: relative;
  isolation: isolate;
  background: #ffffff;
  border: 1.5px solid #0065df;
  color: #0065df;
  font-weight: 600;
  font-size: 0.88rem;
  height: 40px;
  padding: 0 16px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(0, 101, 223, 0.12);
  animation: ctaSubtleFloat 3s ease-in-out infinite;
}

.btn-zalo-cta > * {
  position: relative;
  z-index: 2;
}

/* Vòng sóng Wi-Fi / Radar Zalo */
.btn-zalo-cta::before,
.btn-zalo-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  border: 1.5px solid rgba(0, 101, 223, 0.55);
  background: rgba(0, 101, 223, 0.04);
  animation: wifiWaveRadarZalo 2.4s cubic-bezier(0.15, 0.8, 0.3, 1) infinite;
}

.btn-zalo-cta::after {
  animation-delay: 1.2s;
}

.btn-zalo-cta:hover {
  background: #f0f7ff;
  border-color: #0050b3;
  color: #0050b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 101, 223, 0.25);
}

.btn-zalo-cta .zalo-badge {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0065df;
  color: #ffffff;
  font-weight: 900;
  font-size: 0.72rem;
  display: grid;
  place-items: center;
  line-height: 1;
  flex-shrink: 0;
}

/* Đèn tín hiệu radar online Zalo */
.zalo-online-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  border: 1.5px solid #ffffff;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.9);
  animation: onlineBeacon 1.8s ease-in-out infinite;
}

/* Rung chuông điện thoại Hotline */
.cta-phone-icon {
  transform-origin: center center;
  animation: phoneRing 3.2s cubic-bezier(0.36, 0.07, 0.19, 0.97) infinite;
}

/* ========================================================
   Keyframes: Wifi Waves, Sonar Radar, Phone Ring & Float
   ======================================================== */
@keyframes wifiWaveRadarRed {
  0% {
    transform: scale(0.96);
    opacity: 0.85;
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.6);
  }
  50% {
    opacity: 0.45;
  }
  100% {
    transform: scale(1.15, 1.45);
    opacity: 0;
    box-shadow: 0 0 20px 4px rgba(220, 38, 38, 0);
  }
}

@keyframes wifiWaveRadarBlue {
  0% {
    transform: scale(0.96);
    opacity: 0.85;
    box-shadow: 0 0 0 0 rgba(0, 101, 223, 0.6);
  }
  50% {
    opacity: 0.45;
  }
  100% {
    transform: scale(1.15, 1.45);
    opacity: 0;
    box-shadow: 0 0 20px 4px rgba(0, 101, 223, 0);
  }
}

@keyframes wifiWaveRadarZalo {
  0% {
    transform: scale(0.96);
    opacity: 0.75;
    box-shadow: 0 0 0 0 rgba(0, 101, 223, 0.35);
  }
  50% {
    opacity: 0.35;
  }
  100% {
    transform: scale(1.15, 1.45);
    opacity: 0;
    box-shadow: 0 0 16px 2px rgba(0, 101, 223, 0);
  }
}

@keyframes phoneRing {
  0%, 65%, 100% {
    transform: rotate(0deg) scale(1);
  }
  68% {
    transform: rotate(-15deg) scale(1.12);
  }
  72% {
    transform: rotate(15deg) scale(1.12);
  }
  76% {
    transform: rotate(-12deg) scale(1.12);
  }
  80% {
    transform: rotate(12deg) scale(1.12);
  }
  84% {
    transform: rotate(-6deg) scale(1.05);
  }
  88% {
    transform: rotate(6deg) scale(1.05);
  }
  92% {
    transform: rotate(0deg) scale(1);
  }
}

@keyframes onlineBeacon {
  0%, 100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.75);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0);
  }
}

@keyframes ctaSubtleFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  align-items: center;
  cursor: pointer;
}
.burger span {
  width: 20px;
  height: 2px;
  background: #0f274a;
  border-radius: 2px;
}

/* ========================================================
   Hero Section & Centered Dynamic Layout (Khắc phục lệch bố cục)
   Màu chủ đạo: Trắng pha xanh dương nhạt hiện đại & thanh lịch
   ======================================================== */
.hero {
  position: relative;
  background: radial-gradient(ellipse 95% 70% at 50% 32%, rgba(255, 255, 255, 0.88) 0%, rgba(238, 246, 255, 0.52) 55%, transparent 100%);
  color: #0f172a;
  padding: 44px 0 32px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 101, 223, 0.05) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  pointer-events: none;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: transparent;
  padding: 0 20px 8px;
  border-radius: 0;
  box-shadow: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid rgba(0, 101, 223, 0.24);
  color: #0045a5;
  padding: 6px 18px;
  border-radius: 99px;
  box-shadow: 0 4px 14px rgba(0, 101, 223, 0.1);
  margin-bottom: 22px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0056d6;
  box-shadow: 0 0 10px rgba(0, 86, 214, 0.6);
  animation: dotPulse 2s infinite ease-in-out;
}
@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}
.eyebrow-pill {
  background: #0056d6;
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 800;
}

.hero h1,
.hero-title {
  color: #061224;
  font-size: clamp(2.35rem, 4.4vw, 3.45rem);
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.22;
  margin-bottom: 20px;
  text-align: center;
  max-width: 960px;
}
.highlight-text {
  background: linear-gradient(135deg, #0056d6 0%, #0045a5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
  font-weight: 850;
  white-space: nowrap;
}
.hero-sub {
  color: #1e3a68;
  font-size: 1.15rem;
  font-weight: 550;
  line-height: 1.75;
  margin: 0 auto 30px;
  max-width: 820px;
  text-align: center;
}
.hero-sub b {
  color: #003ea1;
  font-weight: 700;
}

/* Hero CTA Action Row (Cân đối chính giữa) */
.hero-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  width: 100%;
}
.btn-hero-cta {
  background: linear-gradient(135deg, #0065df 0%, #0050b3 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 101, 223, 0.35);
  font-size: 0.96rem;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 99px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.btn-hero-cta:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0065df 100%);
  box-shadow: 0 8px 26px rgba(0, 101, 223, 0.5);
  transform: translateY(-2px);
  color: #ffffff;
}
.btn-hero-ghost {
  background: #ffffff;
  border: 1.5px solid #bfdbfe;
  color: #0065df;
  font-size: 0.96rem;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 99px;
  box-shadow: 0 2px 8px rgba(0, 101, 223, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  text-decoration: none;
}
.btn-hero-ghost:hover {
  background: #f0f7ff;
  border-color: #0065df;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 101, 223, 0.15);
}
.hero-badge-tag {
  background: #e0f2fe;
  border: 1px solid #7dd3fc;
  color: #0369a1;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
  letter-spacing: 0.02em;
}

/* Search Box (Cân đối chính giữa, viền xanh nhạt & nút gradient) */
.searchbox {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 0 auto 24px;
}
.searchbox form {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border-radius: 16px;
  padding: 8px 8px 8px 20px;
  border: 2px solid rgba(0, 101, 223, 0.28);
  box-shadow: 0 12px 36px rgba(0, 80, 180, 0.14), 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.searchbox form:focus-within {
  border-color: #0056d6;
  box-shadow: 0 14px 40px rgba(0, 86, 214, 0.24), 0 0 0 3px rgba(0, 86, 214, 0.25);
}
.searchbox input {
  flex: 1;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 600;
  color: #061224;
  padding: 10px 0;
  min-width: 0;
  background: transparent;
}
.searchbox input::placeholder {
  color: #64748b;
  font-weight: 500;
}
.searchbox form svg {
  color: #0065df;
  flex-shrink: 0;
}
.searchbox .btn-search {
  background: linear-gradient(91.77deg, #3bb4e8 -0.17%, #0065df 50.31%, #6366f1 100.12%);
  color: #ffffff;
  border-radius: 12px;
  padding: 12px 28px;
  font-size: 0.96rem;
  font-weight: 700;
  border: 0;
  box-shadow: 0 4px 14px rgba(0, 101, 223, 0.28);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.searchbox .btn-search:hover {
  box-shadow: 0 6px 20px rgba(0, 101, 223, 0.45);
  transform: translateY(-1px);
}
.suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  box-shadow: 0 24px 50px -12px rgba(11, 27, 61, 0.2);
  list-style: none;
  padding: 8px;
  z-index: 20;
  border: 1px solid rgba(0, 101, 223, 0.15);
}
.suggest a {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border-radius: 10px;
  transition: background 0.15s;
}
.suggest a:hover {
  background: #f0f7ff;
}
.suggest img {
  width: 68px;
  height: 42px;
  object-fit: cover;
  object-position: top;
  border-radius: 6px;
  border: 1px solid var(--line);
}
.suggest b {
  display: block;
  font-size: 0.96rem;
  color: var(--navy-9);
}
.suggest small {
  color: var(--mute);
  font-size: 0.82rem;
}
.suggest .none {
  padding: 16px;
  color: var(--mute);
  text-align: center;
}

/* Category Chips (Bố cục căn giữa thông minh, nền trắng viền xanh nhạt) */
.chips-section {
  width: 100%;
  margin-top: 18px;
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
}
.chips-scroll {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 10px;
  align-items: center;
  width: 100%;
}
.chip {
  white-space: nowrap;
  padding: 8px 18px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.96);
  border: 1.5px solid rgba(0, 101, 223, 0.22);
  color: #071a36;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 3px 10px rgba(0, 75, 180, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.chip:hover {
  background: #0056d6;
  border-color: #0056d6;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 86, 214, 0.35);
}
.chip.chip-all {
  background: linear-gradient(135deg, #0056d6, #003ea1);
  border: 1.5px solid #0056d6;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(0, 86, 214, 0.35);
  padding: 8px 20px;
}
.chip.chip-all:hover {
  background: linear-gradient(135deg, #0066ee, #0056d6);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 86, 214, 0.45);
  color: #ffffff;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 101, 223, 0.14);
  width: 100%;
}
.hero-feat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: #071a36;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.96);
  border: 1.5px solid rgba(0, 101, 223, 0.2);
  padding: 7px 16px;
  border-radius: 99px;
  box-shadow: 0 3px 10px rgba(0, 75, 180, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-feat svg {
  color: #0056d6;
  flex-shrink: 0;
}


/* Sections (Nền trong suốt hòa quyện với ảnh loang màu nước) */
.section {
  padding: 56px 0;
  position: relative;
  background: transparent;
}

/* Khoảng cách thoáng đẹp giữa phần May đo và Bộ sưu tập nổi bật (giãn thêm ~2cm) */
.hero + .section,
.section#du-an {
  padding-top: 76px !important;
  padding-bottom: 50px;
}

.section.section-types,
.section.section-pillars,
.section.section-process,
.section.section-cta-wrap,
.section.alt {
  background: transparent !important;
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  border-block: none !important;
}

/* Eyebrow Label Tag */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0045a5;
  background: rgba(255, 255, 255, 0.96);
  border: 1.5px solid rgba(0, 101, 223, 0.32);
  padding: 5px 15px;
  border-radius: 99px;
  margin-bottom: 10px;
  width: fit-content;
  box-shadow: 0 2px 8px rgba(0, 101, 223, 0.1);
}
.eyebrow.light {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

/* Default Split Section Head */
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.sec-head h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  font-weight: 850;
  color: #061224;
  margin-top: 6px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
}

/* Centered Section Head (Khắc phục hoàn toàn lỗi lệch bố cục) */
.sec-head-center,
.sec-head.text-center {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  margin: 0 auto 32px !important;
  max-width: 840px !important;
  width: 100% !important;
}
.sec-head-center > *,
.sec-head.text-center > * {
  text-align: center !important;
}
.sec-head-center .eyebrow,
.sec-head.text-center .eyebrow {
  margin: 0 auto 10px !important;
}
.sec-head-center h2,
.sec-head.text-center h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.45rem) !important;
  font-weight: 850 !important;
  color: #061224 !important;
  letter-spacing: -0.03em;
  line-height: 1.25 !important;
  margin: 0 auto 14px !important;
  text-align: center !important;
  width: 100% !important;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
}
.sec-head-center .sec-sub,
.sec-head.text-center .sec-sub {
  font-size: 1.08rem;
  color: #1e293b;
  font-weight: 550;
  line-height: 1.68;
  margin: 0 auto;
  max-width: 720px;
  text-align: center !important;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}

/* Theme Cards Grid */
.grid-cards {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(4, 1fr);
}
.grid-cards.cols3 {
  grid-template-columns: repeat(3, 1fr);
}
.theme-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 101, 223, 0.14);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s, border-color 0.25s;
  position: relative;
}
.theme-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px -6px rgba(0, 101, 223, 0.15), 0 0 0 1px #0065df;
  border-color: #0065df;
}

.card-mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
}
.window-dots {
  display: flex;
  gap: 5px;
  align-items: center;
}
.window-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.window-dots .dot.red { background: #f87171; }
.window-dots .dot.yellow { background: #fbbf24; }
.window-dots .dot.green { background: #34d399; }
.device-pills {
  display: flex;
  gap: 6px;
  color: #94a3b8;
}

.thumb {
  position: relative;
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #0f1f38;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: object-position 0.6s ease-out, transform 0.35s ease;
  will-change: transform, object-position;
}
.theme-card:hover .thumb img,
.thumb:focus-visible img {
  object-position: center 20%;
  transform: scale(1.02);
}
.thumb .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}
.badge.hot { background: linear-gradient(135deg, #ef4444, #dc2626); }
.badge.new { background: linear-gradient(135deg, #0065df, #0284c7); }
.badge.inline { position: static; box-shadow: none; }
.quick {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 14px 10px;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.92));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  transform: translateY(100%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
}
.theme-card:hover .quick,
.thumb:focus-visible .quick {
  transform: none;
}
.meta {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.meta h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: #0f274a;
  transition: color 0.15s;
}
.meta h3 a:hover {
  color: #0065df;
}
.meta p {
  color: var(--mute);
  font-size: 0.88rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tags span {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}
.tag-industry {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #eaf3ff !important;
  color: #0065df !important;
  border: 1px solid rgba(0, 101, 223, 0.2) !important;
}
.tag-type {
  background: #f1f5f9 !important;
  color: #475569 !important;
  border: 1px solid #e2e8f0 !important;
}
.card-tech-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 4px 0 8px;
}
.tech-pill {
  font-size: 0.72rem;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 500;
}
.actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}
.actions .btn {
  flex: 1;
  font-size: 0.86rem;
  padding: 9px 12px;
  border-radius: 8px;
}
.actions .btn-view-demo {
  background: #ffffff;
  border: 1.5px solid #bfdbfe;
  color: #0065df;
  font-weight: 600;
}
.actions .btn-view-demo:hover {
  background: #f0f7ff;
  border-color: #0065df;
  color: #0065df;
}
.actions .btn-view-detail {
  background: #0065df;
  color: #ffffff;
  border: 1.5px solid #0065df;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 101, 223, 0.25);
}
.actions .btn-view-detail:hover {
  background: #0050b3;
  border-color: #0050b3;
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(0, 101, 223, 0.35);
}

/* 1. Phân loại theo mô hình website (Card có hình ảnh trực quan) */
.type-grid-rich {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.type-card-rich {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 101, 223, 0.14);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 18px rgba(0, 101, 223, 0.05);
  text-decoration: none;
  position: relative;
  height: 100%;
}
.type-card-rich:hover {
  transform: translateY(-6px);
  border-color: #0065df;
  box-shadow: 0 18px 36px rgba(0, 101, 223, 0.14);
}
.type-card-thumb-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #0f274a;
}
.type-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s ease, object-position 0.6s ease-out;
  will-change: transform, object-position;
}
.type-card-rich:hover .type-card-thumb {
  transform: scale(1.03);
  object-position: center 20%;
}
.type-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 39, 74, 0.1) 0%, rgba(15, 39, 74, 0.6) 100%);
  pointer-events: none;
}
.type-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  color: #0065df;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 99px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  letter-spacing: 0.02em;
}
.type-card-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: transparent;
}
.type-card-content h3 {
  font-size: 1.18rem;
  font-weight: 800;
  color: #0f274a;
  margin: 0 0 8px;
  min-height: 1.4em;
  transition: color 0.2s ease;
}
.type-card-rich:hover .type-card-content h3 {
  color: #0065df;
}
.type-card-sub {
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0 0 14px;
  min-height: 4.8em;
}
.type-card-feats {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px dashed #e2e8f0;
  padding-top: 12px;
}
.type-card-feats li {
  font-size: 0.8rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
}
.type-feat-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0065df;
  flex-shrink: 0;
}
.type-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.type-card-count {
  font-size: 0.8rem;
  color: #64748b;
}
.type-card-count strong {
  color: #0065df;
  font-weight: 800;
  font-size: 0.92rem;
}
.type-card-cta {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0065df;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s ease;
}
.type-card-rich:hover .type-card-cta {
  transform: translateX(3px);
}

/* 2. Bento Grid Cam kết chất lượng kỹ thuật Aplus */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.bento-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 101, 223, 0.14);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px -4px rgba(0, 101, 223, 0.06);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3bb4e8, #0065df);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.bento-card:hover {
  transform: translateY(-5px);
  border-color: #0065df;
  box-shadow: 0 16px 36px rgba(0, 101, 223, 0.12);
}
.bento-card:hover::before {
  opacity: 1;
}
.bento-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.bento-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #eaf3ff;
  color: #0065df;
  border: 1px solid rgba(0, 101, 223, 0.16);
  box-shadow: 0 4px 12px rgba(0, 101, 223, 0.08);
}
.bento-icon-box.lightning { background: #e0f2fe; color: #0284c7; }
.bento-icon-box.chart { background: #ecfdf5; color: #059669; }
.bento-icon-box.devices { background: #eff6ff; color: #0065df; }
.bento-icon-box.scale { background: #f5f3ff; color: #7c3aed; }

.bento-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  background: #f1f5f9;
  color: #475569;
}
.bento-metric {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0065df;
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.bento-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f274a;
  margin: 0 0 10px;
  line-height: 1.35;
  min-height: 2.7em;
}
.bento-card p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.58;
  margin: 0 0 18px;
  flex-grow: 1;
}
.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}
.bento-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
  background: #f0f7ff;
  color: #0065df;
  border: 1px solid rgba(0, 101, 223, 0.12);
}

/* 3. Quy trình triển khai 4 bước */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-step-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 101, 223, 0.14);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 6px 20px rgba(0, 101, 223, 0.04);
  transition: all 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.process-step-card:hover {
  transform: translateY(-5px);
  border-color: #0065df;
  box-shadow: 0 14px 32px rgba(0, 101, 223, 0.12);
}
.step-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.step-number {
  font-size: 1.8rem;
  font-weight: 900;
  color: #0065df;
  line-height: 1;
  font-family: inherit;
  opacity: 0.85;
}
.step-time-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  background: #eef6ff;
  color: #0065df;
  border: 1px solid rgba(0, 101, 223, 0.2);
}
.step-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f8fbff;
  border: 1px solid #e2e8f0;
  color: #0065df;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.process-step-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f274a;
  margin: 0 0 10px;
  min-height: 2.7em;
}
.process-step-card p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
  flex-grow: 1;
}

/* CTA Box */
.cta-box {
  background: radial-gradient(850px 450px at 15% 20%, rgba(56, 189, 248, 0.35) 0%, transparent 60%),
              linear-gradient(135deg, #0065df 0%, #004bb1 50%, #1e3a8a 100%);
  border-radius: 24px;
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  color: #fff;
  align-items: center;
  box-shadow: 0 24px 50px -12px rgba(0, 101, 223, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.cta-box h2 {
  color: #ffffff;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  margin: 10px 0 14px;
  font-weight: 800;
  line-height: 1.2;
}
.cta-box p {
  color: #cbd5e1;
  font-size: 1.02rem;
  line-height: 1.6;
  margin-bottom: 22px;
}
.ticks {
  list-style: none;
  display: grid;
  gap: 10px;
}
.ticks li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.95rem;
}
.ticks li svg {
  color: #38bdf8;
  flex-shrink: 0;
}
.ticks.dark li svg {
  color: var(--ok);
}
.link-light {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 22px;
  font-weight: 700;
  color: #93c5fd;
  transition: gap 0.2s, color 0.15s;
}
.link-light:hover {
  gap: 12px;
  color: #ffffff;
}
.cta-form {
  background: #ffffff;
  color: var(--ink);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* Forms */
.lead-form { display: grid; gap: 14px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field {
  display: grid;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #334155;
}
.field em { color: var(--bad); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-weight: 400;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.field.bad input { border-color: var(--bad); }
.field small { color: var(--bad); font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.picked {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  background: var(--brand-light);
  border: 1px solid rgba(30, 74, 132, 0.12);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.88rem;
}
.picked span { color: var(--mute); }
.picked code {
  background: #fff;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand);
}
.note { font-size: 0.76rem; color: var(--mute); line-height: 1.45; }
.form-err { color: var(--bad); font-size: 0.9rem; font-weight: 600; }
.form-ok { text-align: center; padding: 18px 4px; }
.ok-ic {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #dcfce7;
  color: var(--ok);
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
}
.form-ok p { color: var(--mute); margin-top: 8px; line-height: 1.55; }
.form-ok a { color: var(--accent); font-weight: 700; }

.modal-back, .sheet-back {
  position: fixed;
  inset: 0;
  background: rgba(7, 19, 38, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 16px;
  animation: fade 0.18s;
}
.modal-back.is-open {
  display: flex !important;
}
.modal {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow: auto;
  padding: 32px;
  position: relative;
  margin: auto;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35);
}
.modal h2 { font-size: 1.45rem; margin-right: 36px; }
.modal .sub { color: var(--mute); margin: 6px 0 20px; font-size: 0.92rem; }
.modal-x {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: var(--bg);
  color: var(--mute);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.15s, color 0.15s;
}
.modal-x:hover { background: #e2e8f0; color: var(--ink); }
.modal-x.static { position: static; flex-shrink: 0; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ========================================================
   Kho Giao Diện (Chuẩn phong cách Eras Vietnam)
   ======================================================== */
.catalog-top-banner {
  background: transparent !important;
  padding: 44px 0 32px;
  text-align: center;
  border: none !important;
  border-bottom: none !important;
  position: relative;
}
.catalog-top-banner::before {
  display: none !important;
}
.catalog-top-banner .container {
  position: relative;
  z-index: 2;
}
.catalog-top-banner .crumbs {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
}
.catalog-top-banner h1 {
  font-size: clamp(2rem, 3.8vw, 2.7rem);
  font-weight: 800;
  color: #0f274a;
  margin-bottom: 12px;
}
.catalog-top-sub {
  color: #475569;
  max-width: 760px;
  margin: 0 auto 24px;
  font-size: 1.05rem;
  line-height: 1.6;
}
.catalog-top-search {
  display: flex;
  justify-content: center;
}

/* Cat Carousel Wrapper (Carousel Chuyên mục ngang chuẩn Eras Vietnam) */
.cat-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 32px;
  width: 100%;
}
.cat-scroll-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid rgba(0, 101, 223, 0.22);
  color: #0065df;
  font-size: 1.6rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 80, 180, 0.12);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
  flex-shrink: 0;
}
.cat-scroll-arrow:hover {
  background: #0065df;
  color: #ffffff;
  border-color: #0065df;
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(0, 101, 223, 0.3);
}
.cat-scroll-arrow.prev {
  margin-right: -14px;
}
.cat-scroll-arrow.next {
  margin-left: -14px;
}
.cat-carousel-wrapper .product-categories-list.horizontal-track {
  display: flex;
  flex-direction: row;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 18px;
  width: 100%;
}
.cat-carousel-wrapper .product-categories-list.horizontal-track::-webkit-scrollbar {
  display: none;
}
.cat-carousel-wrapper .product-category-item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1.5px solid rgba(0, 101, 223, 0.16);
  border-radius: 14px;
  padding: 9px 16px;
  width: auto;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 80, 180, 0.04);
}
.cat-carousel-wrapper .product-category-item:hover {
  background: #f0f7ff;
  border-color: #0065df;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 101, 223, 0.14);
}
.cat-carousel-wrapper .product-category-item.active {
  background: linear-gradient(135deg, #0065df 0%, #004da8 100%);
  border-color: #0056d6;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 101, 223, 0.28);
}
.cat-carousel-wrapper .product-category-item .category-image {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #f0f7ff;
  border: 1px solid rgba(0, 101, 223, 0.14);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all 0.2s;
}
.cat-carousel-wrapper .product-category-item .category-image img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.cat-carousel-wrapper .product-category-item.active .category-image {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
}
.cat-carousel-wrapper .product-category-item .category-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #061224;
}
.cat-carousel-wrapper .product-category-item.active .category-title {
  color: #ffffff;
}
.cat-carousel-wrapper .product-category-item .category-count {
  font-size: 0.78rem;
  font-weight: 800;
  color: #0065df;
  background: #eaf3ff;
  padding: 2px 8px;
  border-radius: 99px;
  border: 1px solid rgba(0, 101, 223, 0.15);
}
.cat-carousel-wrapper .product-category-item.active .category-count {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

/* Catalog Full Width Layout & Theme Cards */
.catalog-main-wrap {
  padding-bottom: 80px;
}
.catalog-full-layout {
  width: 100%;
}
.grid-cards.cols3.row_duan {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 10px;
}
.eras-theme-card {
  background: #ffffff;
  border: 1.5px solid rgba(0, 101, 223, 0.14);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0, 80, 180, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  content-visibility: auto;
  contain-intrinsic-size: 0 460px;
  contain: layout style;
  position: relative;
}
.eras-theme-card:hover {
  transform: translateY(-4px);
  border-color: #0065df;
  box-shadow: 0 14px 30px rgba(0, 101, 223, 0.12);
}

/* Card Thumb Wrap & Floating Badges */
.card-thumb-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}
.card-floating-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 6px;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}
.card-floating-badge.new {
  background: linear-gradient(135deg, #0065df, #0284c7);
}
.card-floating-badge.hot {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}
.card-floating-code {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #334155;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
  padding: 3px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  z-index: 2;
  font-family: monospace, sans-serif;
  letter-spacing: 0.03em;
  pointer-events: none;
}

.img-hover-box {
  position: relative;
  height: 240px;
  overflow: hidden;
  display: block;
  background: #f8fafc;
  cursor: pointer;
}
.img-hover-box img {
  width: 100%;
  height: auto;
  display: block;
  transform: translateY(0);
  transition: transform 0.6s ease-out;
  will-change: transform;
}
.eras-theme-card:hover .img-hover-box img,
.img-hover-box:hover img {
  transform: translateY(-80px);
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Card Body & Info */
.theme-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.card-industry-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0065df;
  background: #f0f7ff;
  padding: 3px 8px;
  border-radius: 6px;
  max-width: 65%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-industry-tag svg {
  flex-shrink: 0;
}
.card-industry-tag span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-type-label {
  font-size: 0.74rem;
  font-weight: 500;
  color: #64748b;
  white-space: nowrap;
}

.theme-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f274a;
  line-height: 1.4;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
}
.theme-card-title a {
  color: #0f274a;
  text-decoration: none;
  transition: color 0.15s ease;
}
.theme-card-title a:hover {
  color: #0065df;
}

/* Tags tính năng công nghệ chuẩn hiện đại */
.card-feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.feat-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.01em;
}
.feat-pill svg {
  color: #0065df;
}

.nut_duan {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed #e2e8f0;
}
.btn-card-consult {
  flex: 1;
  background: #ffffff;
  border: 1.5px solid #0065df;
  color: #0065df;
  padding: 9px 12px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}
.btn-card-consult:hover {
  background: #0065df;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 101, 223, 0.28);
  transform: translateY(-2px);
}
.btn-card-eye {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f0f7ff;
  border: 1.5px solid rgba(0, 101, 223, 0.2);
  color: #0065df;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-card-eye:hover {
  background: #0065df;
  color: #ffffff;
  border-color: #0065df;
  transform: scale(1.05);
}
.btn-card-detail {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 12px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  color: #334155;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-card-detail:hover {
  background: #f0f7ff;
  color: #0065df;
  border-color: #0065df;
}
.eras-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(0, 101, 223, 0.12);
}
.eras-pager button {
  min-width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  border: 1.5px solid rgba(0, 101, 223, 0.18);
  color: #061224;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 750;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 80, 180, 0.04);
}
.eras-pager button:hover {
  background: #f0f7ff;
  border-color: #0065df;
  color: #0065df;
  transform: translateY(-2px);
}
.eras-pager button.on {
  background: linear-gradient(135deg, #0065df 0%, #004da8 100%);
  color: #ffffff;
  border-color: #0056d6;
  box-shadow: 0 4px 14px rgba(0, 101, 223, 0.3);
}
.page-ellipsis {
  color: #94a3b8;
  font-weight: 800;
  padding: 0 6px;
  user-select: none;
}
@media (max-width: 1024px) {
  .grid-cards.cols3.row_duan {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .grid-cards.cols3.row_duan {
    grid-template-columns: 1fr;
  }
  .cat-carousel-wrapper {
    margin-top: 24px;
  }
}

/* Page Head (cho trang Chi tiết) */
.page-head {
  background: transparent !important;
  border-bottom: none !important;
  padding: 32px 0 20px;
}
.page-head.tight { padding: 24px 0 20px; }
.page-head h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; }
.page-head p { color: var(--mute); margin-top: 6px; font-size: 1.02rem; }
.crumbs { font-size: 0.86rem; color: var(--mute); margin-bottom: 12px; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.crumbs span { color: var(--ink); font-weight: 600; }

/* Catalog Toolbar */
.toolbar {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 24px 0 16px;
  flex-wrap: wrap;
}
.count { color: var(--mute); margin-right: auto; }
.count b { color: var(--navy-9); font-size: 1.15rem; }
.tsearch {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0 14px;
  min-width: 280px;
  color: var(--mute);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.tsearch:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 101, 223, 0.15);
}
.tsearch input {
  border: 0;
  outline: 0;
  font: inherit;
  padding: 11px 0;
  flex: 1;
  min-width: 0;
  color: var(--ink);
  background: transparent;
}
.tsearch button { border: 0; background: none; color: var(--mute); display: grid; }
.sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--mute);
  font-weight: 600;
}
.sort select {
  font: inherit;
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.filter-btn { display: none; }
.active-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  padding-bottom: 14px;
}
.active-tags-lbl {
  font-size: 0.86rem;
  font-weight: 700;
  color: #475569;
}
.tag-x {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  background: #f0f7ff;
  color: #0065df;
  border: 1px solid rgba(0, 101, 223, 0.2);
  border-radius: 30px;
  padding: 6px 14px;
  font-size: 0.84rem;
  font-weight: 600;
  transition: all 0.15s;
}
.tag-x:hover {
  background: #0065df;
  color: #ffffff;
  border-color: #0065df;
}
.clear {
  background: none;
  border: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: underline;
  cursor: pointer;
}

/* Catalog 2-Column Layout (Bố cục 2 cột chuẩn: Cột dọc Hình 2 + Nội dung) */
.cat-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  padding-bottom: 80px;
  align-items: start;
}
.catalog-content-col {
  min-width: 0;
}

/* Catalog Mobile Filter Drawer Overlay Base */
.catalog-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  pointer-events: none;
}

.catalog-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.catalog-drawer-top-bar,
.catalog-drawer-footer {
  display: none;
}

/* Sidebar Lĩnh vực chuẩn Eras Vietnam & Hình 2 (Desktop) */
.side {
  position: sticky;
  top: 92px;
  background: #ffffff;
  border: 1px solid rgba(0, 101, 223, 0.12);
  border-radius: 16px;
  padding: 18px 16px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
}
.side::-webkit-scrollbar {
  width: 5px;
}
.side::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.eras-widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid #f1f5f9;
  gap: 8px;
}
.eras-widget-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.12rem;
  font-weight: 800;
  color: #0f274a;
  white-space: nowrap;
}
.eras-title-bar {
  width: 4px;
  height: 18px;
  background: #0065df;
  border-radius: 2px;
}
.eras-widget-badge {
  font-size: 0.76rem;
  font-weight: 700;
  color: #0065df;
  background: #eaf3ff;
  padding: 2px 7px;
  border-radius: 99px;
}
.clear-filters-mini {
  background: none;
  border: 0;
  color: #dc2626;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.15s;
}
.clear-filters-mini:hover {
  background: #fee2e2;
  color: #b91c1c;
}

/* Ô tìm kiếm nhanh lĩnh vực */
.cat-search-box {
  position: relative;
  margin-bottom: 12px;
}
.cat-search-box input {
  width: 100%;
  padding: 9px 30px 9px 34px;
  font-size: 0.88rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  color: #1e293b;
  outline: none;
  transition: all 0.2s;
  font-family: inherit;
}
.cat-search-box input:focus {
  border-color: #0065df;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 101, 223, 0.1);
}
.cat-search-box svg {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}
.cat-search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 0;
  color: #94a3b8;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 2px;
}
.cat-search-clear:hover {
  color: #1e293b;
}

/* Product Categories List (Dạng danh sách dọc chuẩn Hình 2) */
.product-categories-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}
.product-categories-list::-webkit-scrollbar {
  width: 5px;
}
.product-categories-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.product-category-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 9px 4px;
  border: 0;
  border-bottom: 1px solid #edf2f7;
  border-radius: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  font-size: 0.91rem;
  color: #1a365d;
}
.product-category-item:last-child {
  border-bottom: 0;
}
.product-category-item:hover {
  background: #f8fafc;
  color: #0065df;
  padding-left: 6px;
}
.product-category-item.active {
  background: #f0f7ff;
  color: #0065df;
  font-weight: 700;
  border-left: 3px solid #0065df;
  padding-left: 6px;
}
.product-category-item.zero {
  opacity: 0.38;
  cursor: not-allowed;
}
.category-image {
  width: 22px;
  height: 22px;
  background: transparent;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.category-image img,
.cat-svg-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}
.category-title {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
  min-width: 0;
}
.product-category-item.active .category-title {
  font-weight: 700;
  color: #0065df;
}
.category-count {
  font-size: 0.88rem;
  font-weight: 500;
  color: #718096;
  background: transparent;
  padding: 0;
  border-radius: 0;
  flex-shrink: 0;
  min-width: 20px;
  text-align: right;
}
.product-category-item:hover .category-count,
.product-category-item.active .category-count {
  color: #0065df;
  font-weight: 700;
}

/* Secondary Filter Groups */
.eras-sub-filters {
  margin-top: 8px;
}
.sub-filter-group {
  border: 0;
  border-top: 1.5px solid #f1f5f9;
  padding-top: 16px;
  margin-top: 16px;
}
.sub-filter-group legend {
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0f274a;
  margin-bottom: 10px;
}
.opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.92rem;
  cursor: pointer;
  position: relative;
}
.opt input { position: absolute; opacity: 0; }
.opt .box {
  width: 18px;
  height: 18px;
  border: 1.5px solid #cbd5e1;
  border-radius: 5px;
  display: grid;
  place-items: center;
  color: transparent;
  flex-shrink: 0;
  background: #fff;
  transition: all 0.15s;
}
.opt input:checked + .box {
  background: #0065df;
  border-color: #0065df;
  color: #fff;
}
.opt input:focus-visible + .box {
  outline: 3px solid #0065df;
  outline-offset: 2px;
}
.opt .lbl { flex: 1; }
.opt .cnt {
  font-size: 0.78rem;
  color: var(--mute);
  background: var(--bg);
  border-radius: 10px;
  padding: 1px 8px;
}
.opt.zero { opacity: 0.45; cursor: not-allowed; }
.empty {
  background: #fff;
  border: 1.5px dashed #cbd5e1;
  border-radius: var(--r);
  padding: 56px 24px;
  text-align: center;
}
.empty p { color: var(--mute); margin: 8px 0 20px; }
.empty .row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 36px; }
.pager button {
  min-width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
  transition: all 0.15s;
}
.pager button:hover { border-color: #0065df; color: #0065df; }
.pager button.on {
  background: #0065df;
  color: #fff;
  border-color: #0065df;
}

.sheet-back { align-items: end; padding: 0; }
.sheet {
  background: #fff;
  width: 100%;
  max-height: 88vh;
  border-radius: 22px 22px 0 0;
  display: flex;
  flex-direction: column;
  animation: up 0.22s ease-out;
}
@keyframes up { from { transform: translateY(40px); opacity: 0.4; } }
.sheet-grab { width: 44px; height: 5px; background: #cbd5e1; border-radius: 5px; margin: 10px auto 2px; }
.sheet-head { display: flex; align-items: center; gap: 12px; padding: 10px 20px 14px; border-bottom: 1px solid var(--line); }
.sheet-head h2 { flex: 1; font-size: 1.25rem; }
.sheet-body { overflow: auto; padding: 20px; }
.sheet-foot { padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }

/* Detail Page */
.title-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  width: 100%;
}

/* Card thông tin mô tả chi tiết giao diện (nền trắng chạy dài toàn bộ độ rộng trang web) */
.detail-info-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 32px;
  box-shadow: var(--sh);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.detail-info-card .tags {
  margin-bottom: 12px;
}
.detail-info-card .tags span {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
}
.detail-info-card h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: #0f274a;
  margin: 0 0 10px;
  line-height: 1.25;
}
.detail-info-card h1 code {
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--brand-light);
  color: var(--brand);
  padding: 4px 10px;
  border-radius: 8px;
  vertical-align: middle;
  margin-left: 8px;
}
.detail-info-card p {
  color: #334155;
  font-size: 1.02rem;
  line-height: 1.6;
  margin: 0;
}

.title-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 36px;
  padding-top: 32px;
  padding-bottom: 72px;
  align-items: start;
}
.main-col { display: grid; gap: 36px; min-width: 0; }
.main-col h2 { font-size: 1.4rem; margin-bottom: 16px; font-weight: 800; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.row-between h2 { margin: 0; }
.seg {
  display: inline-flex;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
}
.seg.wrap { flex-wrap: wrap; margin-bottom: 16px; }
.seg button {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  padding: 8px 16px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--mute);
  transition: all 0.15s;
}
.seg button.on {
  background: var(--brand);
  color: #fff;
}
.preview-stage {
  background: linear-gradient(180deg, #dbeafe 0%, #eff6ff 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--r);
  padding: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  overflow: hidden;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.04);
}
.frame-wrap { width: 100%; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; }
.frame {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 60px -20px rgba(11, 27, 61, 0.45);
  border: 1px solid #cbd5e1;
  transition: width 0.3s, height 0.3s;
}
.frame.mobile { border: 8px solid #0f172a; border-radius: 32px; box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4); }
.frame.tablet { border: 7px solid #0f172a; border-radius: 22px; }
.frame iframe { border: 0; transform-origin: 0 0; display: block; background: #fff; }
.hint { font-size: 0.82rem; color: var(--mute); margin-top: 12px; text-align: center; }
.card-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px;
  box-shadow: var(--sh-sm);
}
.card-block h2 { margin-bottom: 14px; }
.prose p { margin-bottom: 14px; color: #334155; line-height: 1.68; }
.prose strong { color: var(--navy-9); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.scroll-shot {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh);
}
.chrome {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 10px 16px;
  background: #f1f5f9;
  border-bottom: 1px solid var(--line);
}
.chrome i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.chrome span { margin-left: 10px; font-size: 0.78rem; color: var(--mute); font-weight: 600; }
.scroll-in { max-height: 640px; overflow: auto; }
.side-col {
  position: sticky;
  top: 92px;
  z-index: 20;
}
body.admin-bar:not(.demo-view-body) .side-col {
  top: 124px;
}
.sticky-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 10px 28px -4px rgba(15, 23, 42, 0.08);
}
.sticky-box h2 { font-size: 1.12rem; font-weight: 800; margin-bottom: 2px; }
.sticky-box .sub { color: var(--mute); font-size: 0.78rem; margin: 2px 0 10px; line-height: 1.35; }
.sticky-box .lead-form { display: grid; gap: 8px; }
.sticky-box .field { display: flex; flex-direction: column; gap: 3px; }
.sticky-box .field span { font-size: 11px; font-weight: 600; color: #475569; }
.sticky-box input,
.sticky-box select {
  height: 36px;
  padding: 6px 10px;
  font-size: 13px;
  border-radius: 6px;
}
.sticky-box textarea {
  padding: 6px 10px;
  font-size: 13px;
  border-radius: 6px;
  height: 48px;
  min-height: 48px;
  resize: none;
}
.sticky-box .btn-hero-cta {
  padding: 9px 14px;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 8px;
  margin-top: 4px;
}
.sticky-box .grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* Demo Page */
.demo-page { min-height: 100vh; background: #071326; display: flex; flex-direction: column; }
.demo-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 22px;
  background: #0b1a33;
  color: #fff;
  flex-wrap: wrap;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.demo-bar .back { font-weight: 700; color: #93c5fd; }
.demo-bar .back:hover { color: #fff; }
.demo-bar .seg { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.15); }
.demo-bar .seg button { color: #cbd5e1; }
.demo-bar .seg button.on { background: #fff; color: var(--brand); }
.demo-actions { display: flex; gap: 10px; }
.demo-stage {
  flex: 1;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-content: start;
}
.demo-stage .frame-wrap { max-width: 1300px; }

/* ========================================================
   Footer (Cấu trúc & Giao diện đẳng cấp theo chuẩn Eras Vietnam)
   ======================================================== */
.site-footer {
  background-color: #070d18;
  background-image: 
    radial-gradient(circle at 12% 40%, rgba(0, 101, 223, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 88% 20%, rgba(2, 132, 199, 0.08) 0%, transparent 45%),
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 36px 36px, 36px 36px;
  color: #94a3b8;
  padding: 72px 0 28px;
  position: relative;
  border-top: 1px solid rgba(0, 101, 223, 0.22);
}

/* Luminous Prism Light Line at top of Footer */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 101, 223, 0.6) 20%,
    rgba(56, 189, 248, 0.9) 50%,
    rgba(0, 101, 223, 0.6) 80%,
    transparent 100%
  );
  opacity: 0.85;
}

.site-footer .cols {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  gap: 44px;
}

/* Logo & Company info */
.footer-company-col {
  display: flex;
  flex-direction: column;
}
.site-footer .logo {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 0 !important;
  text-decoration: none !important;
  margin-bottom: 4px;
}
.site-footer .logo .logo-badge {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}
.site-footer .logo .logo-icon-3d {
  width: 42px !important;
  height: 38px !important;
  display: block !important;
}
.site-footer .logo .logo-text {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  text-align: left !important;
}
.site-footer .logo .logo-brand {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
}
.site-footer .logo .logo-sub {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #38bdf8;
  text-transform: uppercase;
  margin-top: 2px;
}

.footer-company-name {
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin: 18px 0 12px;
  line-height: 1.4;
  text-transform: uppercase;
}
.footer-company-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 20px;
}

/* Contact item with circular blue icon */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.5;
}
.footer-contact-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 101, 223, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.footer-contact-item a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-contact-item a:hover {
  color: #38bdf8;
}

/* Columns 2, 3, 4: Titles & Lists */
.footer-col {
  display: flex;
  flex-direction: column;
}
.footer-col-title {
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
  line-height: 1.2;
}
.footer-title-bar {
  width: 42px;
  height: 2.5px;
  background: #0065df;
  border-radius: 2px;
  margin-bottom: 20px;
}
.footer-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-link-list li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 2px 0;
}
.footer-link-list li a .arrow {
  color: #0065df;
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}
.footer-link-list li a:hover {
  color: #ffffff;
  transform: translateX(4px);
}
.footer-link-list li a:hover .arrow {
  color: #38bdf8;
  transform: translateX(2px);
}

/* Bottom Legal Bar */
.footer-bottom-bar {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 0.86rem;
}
.footer-copyright {
  color: #94a3b8;
  font-weight: 500;
  letter-spacing: 0.02em;
}

@media (max-width: 1100px) {
  .site-footer .cols {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}
@media (max-width: 640px) {
  .site-footer .cols {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ========================================================
   Floating Contact Action Widget (Ô tròn góc phải dưới màn hình)
   ======================================================== */
.floating-contact-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  pointer-events: auto;
}

.fab-circle {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  isolation: isolate;
  flex-shrink: 0;
}

/* 1. Nút Chat Zalo ô tròn - Màu Xanh Zalo Chuẩn Nhận Diện */
.fab-circle.fab-zalo {
  background: linear-gradient(135deg, #0084ff 0%, #0068ff 100%);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 104, 255, 0.45), 0 2px 6px rgba(0, 0, 0, 0.08);
}

.fab-zalo-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.fab-circle.fab-zalo::before,
.fab-circle.fab-zalo::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  border: 1.5px solid rgba(0, 104, 255, 0.7);
  background: rgba(0, 104, 255, 0.08);
  animation: fabCircleRadar 2.4s cubic-bezier(0.15, 0.8, 0.3, 1) infinite;
}

.fab-circle.fab-zalo::after {
  animation-delay: 1.2s;
}

.fab-circle.fab-zalo:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 14px 28px rgba(0, 104, 255, 0.6);
}

/* 2. Nút Liên hệ ô tròn - Màu Đỏ Rực Rỡ */
.fab-circle.fab-contact {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(220, 38, 38, 0.45), 0 2px 6px rgba(0, 0, 0, 0.08);
  animation: ctaSubtleFloat 3s ease-in-out infinite;
}

.fab-circle.fab-contact::before,
.fab-circle.fab-contact::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  border: 1.5px solid rgba(220, 38, 38, 0.75);
  background: rgba(220, 38, 38, 0.08);
  animation: fabCircleRadar 2.4s cubic-bezier(0.15, 0.8, 0.3, 1) infinite;
}

.fab-circle.fab-contact::after {
  animation-delay: 1.2s;
}

.fab-circle.fab-contact:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 14px 28px rgba(220, 38, 38, 0.6);
}

.fab-circle .cta-phone-icon {
  animation: phoneRingVibe 2.4s ease-in-out infinite;
  color: #ffffff;
}

/* Radar Wave tròn đồng tâm dịu nhẹ không chạm nhau */
@keyframes fabCircleRadar {
  0% {
    transform: scale(0.96);
    opacity: 0.85;
  }
  65% {
    transform: scale(1.25);
    opacity: 0.15;
  }
  100% {
    transform: scale(1.32);
    opacity: 0;
  }
}

/* Tooltip hiển thị bên trái khi hover trên desktop */
.fab-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: #0f172a;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  letter-spacing: 0.01em;
}

.fab-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent #0f172a;
}

.fab-circle:hover .fab-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.notfound { padding: 100px 20px; text-align: center; }
.notfound p { margin: 12px 0 24px; color: var(--mute); }

/* Responsive */
@media(max-width: 1100px) {
  .grid-cards { grid-template-columns: repeat(3, 1fr); }
  .grid-cards.cols3 { grid-template-columns: repeat(2, 1fr); }
  .type-grid, .value-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }
  .side-col { position: static; }
}
@media(max-width: 1180px) and (min-width: 901px) {
  .bar {
    gap: 12px;
    padding: 0 16px;
  }
  .nav {
    gap: 2px;
    padding: 3px 4px;
  }
  .nav-item {
    padding: 6px 10px;
    font-size: 0.84rem;
  }
  .head-cta {
    gap: 8px;
  }
  .btn-eras-contact {
    padding: 0 14px 0 8px;
    font-size: 0.82rem;
    height: 38px;
  }
  .btn-eras-contact .btn-cta-icon-badge {
    width: 24px;
    height: 24px;
  }
  .btn-zalo-cta {
    padding: 0 12px;
    font-size: 0.84rem;
    height: 38px;
  }
}
@media(max-width: 900px) {
  .bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    border-radius: 0 0 20px 20px;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    flex-direction: column;
    padding: 16px 20px 24px;
    display: none;
    z-index: 50;
  }
  .nav.open { display: flex; }
  .nav-item { width: 100%; justify-content: space-between; padding: 12px 18px; color: #1e293b; border-radius: 10px; }
  .nav-item-dropdown-wrap { width: 100%; flex-direction: column; align-items: stretch; }
  .nav-item-has-dropdown { width: 100%; justify-content: space-between; padding: 12px 18px; }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    border: 1px solid #e2e8f0;
    margin-top: 6px;
    background: #f8fafc;
  }
  .dropdown-grid { grid-template-columns: 1fr; }
  .burger { display: flex; }
  .head-cta { margin-left: auto; }
  .head-cta .btn-eras-contact { display: none !important; }
  .cat-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* CHUYỂN HOÀN TOÀN SIDEBAR TRÊN MOBILE THÀNH OFF-CANVAS DRAWER (CHỐNG DÍNH VÀ ĐÈ GIAO DIỆN) */
  .side {
    position: fixed !important;
    top: var(--header-offset, 72px) !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 330px !important;
    max-width: 86vw !important;
    height: calc(100vh - var(--header-offset, 72px)) !important;
    max-height: calc(100vh - var(--header-offset, 72px)) !important;
    background: #ffffff !important;
    border-radius: 0 16px 16px 0 !important;
    border: none !important;
    border-right: 1.5px solid #e2e8f0 !important;
    border-top: 1px solid #e2e8f0 !important;
    padding: 0 16px 20px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    z-index: 99999 !important;
    box-shadow: 16px 8px 48px rgba(15, 23, 42, 0.28) !important;
    transform: translateX(-105%) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease !important;
    visibility: hidden !important;
    display: block !important;
    pointer-events: none !important;
    margin: 0 !important;
  }

  .side.drawer-open {
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  body.catalog-filter-open {
    overflow: hidden !important;
    touch-action: none !important;
  }

  /* Ẩn tiêu đề lặp trên mobile để không bị đè chữ */
  .desktop-only-widget-header {
    display: none !important;
  }

  /* Thanh tiêu đề cố định đẹp mắt cho Mobile Drawer - Không bao giờ bị che */
  .catalog-drawer-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0 12px;
    border-bottom: 1.5px solid #f1f5f9;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 20;
    margin: 0 0 14px 0;
  }

  .catalog-drawer-top-bar .drawer-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .catalog-drawer-top-bar .drawer-title-text {
    font-size: 1.08rem;
    font-weight: 800;
    color: #0f274a;
  }

  .catalog-drawer-top-bar .drawer-top-actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .catalog-drawer-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 0;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
  }

  .catalog-drawer-close-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: rotate(90deg);
  }

  .catalog-drawer-footer {
    display: block;
    position: sticky;
    bottom: 0;
    background: #ffffff;
    padding: 12px 0 0;
    margin: 16px 0 0;
    border-top: 1.5px solid #f1f5f9;
    z-index: 15;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.04);
  }

  .catalog-drawer-overlay {
    top: var(--header-offset, 72px);
  }

  .filter-btn { display: inline-flex; }
  .cta-box { grid-template-columns: 1fr; padding: 36px 24px; gap: 32px; }
  .two-col { grid-template-columns: 1fr; }
  .cols { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 600px) {
  .btn-zalo-cta { display: none; }
  .btn-consult-cta { padding: 0 12px; font-size: 0.8rem; }
  .hero-cta-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .btn-hero-cta,
  .btn-hero-ghost {
    width: 100%;
    justify-content: center;
  }
}
@media(max-width: 680px) {
  .hero { padding: 48px 0 36px; }
  .hero h1 { font-size: 1.85rem; }
  .grid-cards, .grid-cards.cols3, .type-grid, .value-grid, .steps { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .grid2 { grid-template-columns: 1fr; }
  .toolbar { gap: 10px; }
  .tsearch { min-width: 0; flex: 1 1 100%; order: 3; }
  .count { order: 1; }
  .sort { order: 2; }
  .sort span { display: none; }
  .filter-btn { order: 2; }
  .floating-contact-widget {
    bottom: 20px;
    right: 18px;
    gap: 14px;
  }
  .fab-circle {
    width: 48px;
    height: 48px;
  }
  .fab-tooltip {
    display: none;
  }
  .demo-page { padding-bottom: 0; }
  .cols { grid-template-columns: 1fr; }
  .preview-stage { padding: 14px; }
  .modal { padding: 24px 20px; }
  .title-cta .btn { flex: 1; }
}
/* =============== SUBPAGE STYLES (Giới thiệu, Dịch vụ, Dự án, Góc nhìn, Liên hệ) =============== */
.subpage-hero {
  background: transparent !important;
  border: none !important;
  border-bottom: none !important;
  padding: 48px 0 40px;
  text-align: center;
  position: relative;
}
.subpage-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.subpage-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: #eaf3ff;
  color: #0065df;
  border: 1px solid rgba(0, 101, 223, 0.2);
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.subpage-hero h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: #0f274a;
  line-height: 1.25;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.subpage-desc {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto;
}

/* ========================================================
   Trang Giới Thiệu (Cấu trúc & Giao diện Eras Vietnam - Phong cách Aplus)
   ======================================================== */
.eras-about-page {
  position: relative;
  overflow: hidden;
}

/* 1. Hero Banner */
.eras-hero {
  padding: 40px 0 48px;
  position: relative;
}
.eras-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.eras-hero-text .breadcrumbs {
  margin-bottom: 20px;
}
.eras-hero-title-wrap {
  margin-bottom: 20px;
}
.eras-title-line {
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #061224;
  margin: 0;
}
.eras-title-line.highlight {
  background: linear-gradient(135deg, #0056d6 0%, #003ea1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.eras-hero-desc {
  font-size: 1.08rem;
  color: #06142a;
  line-height: 1.75;
  margin-bottom: 30px;
  max-width: 620px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}
.eras-hero-desc strong {
  color: #0056d6;
  font-weight: 800;
}
.eras-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-eras-primary {
  background: linear-gradient(135deg, #0065df 0%, #004da8 100%);
  color: #ffffff;
  padding: 13px 28px;
  border-radius: 99px;
  font-weight: 750;
  font-size: 0.96rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(0, 101, 223, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-eras-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 101, 223, 0.5);
  background: linear-gradient(135deg, #0284c7 0%, #0065df 100%);
}
.btn-eras-ghost {
  background: #ffffff;
  border: 1.5px solid #bfdbfe;
  color: #0065df;
  padding: 13px 24px;
  border-radius: 99px;
  font-weight: 750;
  font-size: 0.96rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 101, 223, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-eras-ghost:hover {
  background: #f0f7ff;
  border-color: #0065df;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 101, 223, 0.15);
}
.btn-eras-ghost .badge-pill {
  background: #e0f2fe;
  border: 1px solid #7dd3fc;
  color: #0369a1;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
}

/* Hero Visual Box */
.eras-hero-visual {
  position: relative;
}
.eras-visual-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(0, 101, 223, 0.22);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 80, 180, 0.12), 0 4px 12px rgba(15, 23, 42, 0.03);
  position: relative;
}
.eras-visual-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(0, 101, 223, 0.4), transparent 60%);
  z-index: -1;
  opacity: 0.5;
}
.eras-card-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e2e8f0;
}
.eras-logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.eras-card-logo {
  width: 50px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(0, 101, 223, 0.2));
}
.eras-badge-name {
  display: block;
  font-weight: 800;
  font-size: 1.08rem;
  color: #061224;
}
.eras-badge-sub {
  display: block;
  font-size: 0.82rem;
  color: #0065df;
  font-weight: 750;
}
.eras-card-stats-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.eras-mini-stat {
  background: #f8fbff;
  border: 1px solid rgba(0, 101, 223, 0.14);
  border-radius: 12px;
  padding: 12px 10px;
  text-align: center;
}
.eras-mini-stat .stat-v {
  display: block;
  font-size: 1.02rem;
  font-weight: 850;
  color: #0056d6;
  margin-bottom: 2px;
}
.eras-mini-stat .stat-l {
  display: block;
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.3;
}
.eras-card-quote {
  background: #f0f7ff;
  border-left: 3px solid #0065df;
  padding: 12px 16px;
  border-radius: 0 10px 10px 0;
}
.eras-card-quote p {
  color: #0f274a;
  font-size: 0.88rem;
  font-style: italic;
  line-height: 1.5;
  margin: 0;
  font-weight: 600;
}

/* 2. Thành Tựu Đạt Được (Unified White Card) */
.eras-stats-section {
  padding: 24px 0 44px;
}
.eras-stats-card {
  background: #ffffff;
  border: 1.5px solid rgba(0, 101, 223, 0.18);
  border-radius: 28px;
  padding: 48px 44px;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 48px;
  align-items: center;
  box-shadow: 0 16px 45px rgba(0, 80, 180, 0.07), 0 2px 8px rgba(15, 23, 42, 0.03);
  color: #061224;
}
.eras-badge-tag {
  display: inline-block;
  background: #e0f2fe;
  border: 1px solid #7dd3fc;
  color: #0065df;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 99px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.eras-badge-tag.light {
  background: #e0f2fe;
  border-color: #7dd3fc;
  color: #0065df;
}
.eras-stats-left h2 {
  font-size: clamp(1.75rem, 2.6vw, 2.3rem);
  font-weight: 850;
  color: #061224;
  line-height: 1.25;
  margin-bottom: 16px;
}
.eras-stats-left p {
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.75;
  margin: 0;
}
.eras-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 28px;
}
.eras-counter-item {
  padding: 6px 0;
}
.counter-num-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.counter-num {
  font-size: clamp(2.8rem, 4vw, 3.6rem);
  font-weight: 900;
  line-height: 1;
  color: #0056d6;
  letter-spacing: -0.03em;
}
.counter-plus {
  font-size: 2.5rem;
  font-weight: 850;
  color: #0065df;
  line-height: 1;
}
.counter-label {
  color: #475569;
  font-size: 0.94rem;
  font-weight: 600;
  margin-top: 6px;
}

/* 3. Mục Tiêu Của Chúng Tôi (Unified White Card) */
.eras-target-section {
  padding: 56px 0 64px;
}
.eras-target-header {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: flex-end;
  margin-bottom: 44px;
}
.eras-eyebrow-accent {
  color: #0065df;
  font-weight: 850;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 6px;
}
.eras-target-head-left h2 {
  font-size: clamp(1.85rem, 2.8vw, 2.4rem);
  font-weight: 850;
  color: #061224;
  line-height: 1.25;
}
.eras-accent-divider {
  width: 100px;
  height: 3px;
  background: #0065df;
  border-radius: 2px;
  margin-top: 14px;
}
.eras-target-head-right p {
  color: #06142a;
  font-size: 1.05rem;
  line-height: 1.78;
  margin: 0;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.65);
}
.eras-about-page .sec-head-center .sec-sub {
  color: #06142a;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}
.eras-target-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.eras-target-card {
  background: #ffffff;
  border: 1.5px solid rgba(0, 101, 223, 0.16);
  border-radius: 22px;
  padding: 34px 28px;
  color: #061224;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 80, 180, 0.05);
}
.eras-target-card:hover {
  background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
  border-color: #0065df;
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 101, 223, 0.14);
}
.target-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.target-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #e0f2fe;
  border: 1.5px solid #bae6fd;
  display: grid;
  place-items: center;
  color: #0065df;
  transition: all 0.3s ease;
}
.eras-target-card:hover .target-icon-wrap {
  transform: scale(1.08);
  background: #0065df;
  color: #ffffff;
  border-color: #0065df;
}
.target-num {
  font-size: 2rem;
  font-weight: 900;
  color: #bfdbfe;
  letter-spacing: -0.02em;
}
.eras-target-card h3 {
  font-size: 1.28rem;
  font-weight: 800;
  color: #061224;
  margin-bottom: 12px;
  line-height: 1.35;
}
.target-card-line {
  width: 44px;
  height: 2.5px;
  background: #0065df;
  border-radius: 2px;
  margin-bottom: 14px;
}
.eras-target-card p {
  color: #334155;
  font-size: 0.93rem;
  line-height: 1.68;
  margin: 0;
}

/* 4. Định Hướng Chiến Lược (4 Trụ Cột) */
.eras-pillars-section {
  padding: 60px 0;
}
.eras-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.eras-pillar-card {
  background: #ffffff;
  border: 1.5px solid rgba(0, 101, 223, 0.16);
  border-radius: 20px;
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 80, 180, 0.05);
}
.eras-pillar-card:hover {
  background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
  transform: translateY(-6px);
  border-color: #0065df;
  box-shadow: 0 18px 40px rgba(0, 101, 223, 0.14);
}
.pillar-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  color: #0065df;
  background: #e0f2fe;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.eras-pillar-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #061224;
  margin-bottom: 10px;
}
.pillar-divider {
  width: 40px;
  height: 2px;
  background: #0065df;
  margin-bottom: 16px;
}
.eras-pillar-card p {
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.68;
  margin: 0;
}

/* 5. Hình Thành Và Phát Triển (Timeline) */
.eras-timeline-section {
  padding: 60px 0;
}
.eras-timeline-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.eras-timeline-card {
  background: #ffffff;
  border: 1.5px solid rgba(0, 101, 223, 0.16);
  border-radius: 20px;
  padding: 26px 20px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px rgba(0, 80, 180, 0.05);
}
.eras-timeline-card:hover {
  transform: translateY(-5px);
  border-color: #0065df;
  box-shadow: 0 14px 32px rgba(0, 101, 223, 0.14);
}
.eras-timeline-card.featured {
  background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
  border: 2px solid #0065df;
  box-shadow: 0 10px 28px rgba(0, 101, 223, 0.12);
}
.timeline-year {
  font-size: 1.85rem;
  font-weight: 900;
  color: #0065df;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.eras-timeline-card.featured .timeline-year {
  color: #0056d6;
}
.eras-timeline-card h4 {
  font-size: 1.05rem;
  font-weight: 750;
  color: #061224;
  margin-bottom: 8px;
  line-height: 1.35;
}
.eras-timeline-card.featured h4 {
  color: #061224;
}
.eras-timeline-card p {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.58;
  margin: 0;
}
.eras-timeline-card.featured p {
  color: #1e3a68;
}

/* 6. Có Thể Tìm Thấy Tại Aplus (3 Trụ Cột Năng Lực) */
.eras-capabilities-section {
  padding: 60px 0;
}
.eras-cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.eras-cap-card {
  background: #ffffff;
  border: 1.5px solid rgba(0, 101, 223, 0.16);
  border-radius: 22px;
  padding: 34px 28px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 80, 180, 0.05);
}
.eras-cap-card.active,
.eras-cap-card:hover {
  background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
  border-color: #0065df;
  box-shadow: 0 18px 40px rgba(0, 101, 223, 0.14);
  transform: translateY(-5px);
}
.cap-card-header {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1.5px solid #f1f5f9;
}
.cap-num {
  display: block;
  font-size: 0.82rem;
  font-weight: 850;
  color: #0065df;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.cap-card-header h3 {
  font-size: 1.18rem;
  font-weight: 800;
  color: #061224;
  letter-spacing: 0.02em;
}
.cap-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cap-list li {
  display: flex;
  gap: 10px;
  font-size: 0.93rem;
  color: #334155;
  line-height: 1.55;
  font-weight: 500;
}
.cap-bullet {
  color: #0065df;
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.2;
}

/* 7. Khách Hàng Nhận Xét (Testimonials) */
.eras-testimonials-section {
  padding: 60px 0;
}
.eras-testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.eras-testi-card {
  background: #ffffff;
  border: 1.5px solid rgba(0, 101, 223, 0.16);
  border-radius: 22px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(0, 80, 180, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.eras-testi-card:hover {
  transform: translateY(-5px);
  border-color: #0065df;
  box-shadow: 0 18px 40px rgba(0, 101, 223, 0.14);
}
.testi-stars {
  color: #f59e0b;
  font-size: 1.15rem;
  letter-spacing: 4px;
  margin-bottom: 14px;
}
.testi-content {
  font-size: 0.94rem;
  color: #334155;
  line-height: 1.72;
  font-style: italic;
  margin-bottom: 26px;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
}
.testi-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0065df, #004da8);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.15rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 101, 223, 0.3);
}
.testi-author strong {
  display: block;
  font-size: 0.96rem;
  color: #061224;
}
.testi-author span {
  display: block;
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 2px;
}

/* 8. Call To Action (Unified White Card) */
.eras-cta-section {
  padding: 60px 0 84px;
}
.eras-cta-box {
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
  border: 2px solid rgba(0, 101, 223, 0.25);
  border-radius: 30px;
  padding: 60px 44px;
  text-align: center;
  color: #061224;
  box-shadow: 0 20px 50px rgba(0, 80, 180, 0.08), 0 4px 14px rgba(15, 23, 42, 0.03);
  max-width: 980px;
  margin: 0 auto;
}
.eras-cta-box h2 {
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  font-weight: 850;
  color: #061224;
  margin: 14px 0 18px;
  line-height: 1.25;
}
.eras-cta-box p {
  font-size: 1.05rem;
  color: #334155;
  max-width: 720px;
  margin: 0 auto 34px;
  line-height: 1.78;
}
.eras-cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-eras-cta-primary {
  background: linear-gradient(135deg, #0065df 0%, #004da8 100%);
  color: #ffffff;
  padding: 14px 34px;
  border-radius: 99px;
  font-weight: 750;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(0, 101, 223, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-eras-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 101, 223, 0.55);
  background: linear-gradient(135deg, #0284c7 0%, #0065df 100%);
}
.btn-eras-cta-zalo {
  background: #ffffff;
  color: #0065df;
  padding: 14px 28px;
  border-radius: 99px;
  font-weight: 750;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid #bfdbfe;
  box-shadow: 0 4px 14px rgba(0, 101, 223, 0.1);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-eras-cta-zalo:hover {
  background: #f0f7ff;
  border-color: #0065df;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 101, 223, 0.2);
}
.btn-eras-cta-zalo .zalo-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0065df;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  display: grid;
  place-items: center;
}

/* Responsive Media Queries cho Trang Giới Thiệu */
@media (max-width: 1080px) {
  .eras-timeline-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .eras-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .eras-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .eras-stats-card {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 36px 28px;
  }
  .eras-target-header {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .eras-target-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .eras-cap-grid,
  .eras-testi-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .eras-target-grid,
  .eras-pillars-grid,
  .eras-timeline-grid {
    grid-template-columns: 1fr;
  }
  .eras-stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .eras-cta-box {
    padding: 40px 20px;
  }
}

/* Services Page */
.services-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-detail-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 10px rgba(15, 39, 74, 0.03);
}
.service-detail-card:hover {
  transform: translateY(-4px);
  border-color: #0065df;
  box-shadow: 0 14px 30px rgba(0, 101, 223, 0.08);
}
.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #f0f7ff;
  color: #0065df;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 101, 223, 0.15);
}
.service-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  background: #eef5fc;
  color: #0065df;
  border-radius: 99px;
}
.service-detail-card h3 {
  font-size: 1.2rem;
  color: #0f274a;
  margin: 0 0 10px;
}
.service-desc {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 18px;
  flex-grow: 1;
}
.service-points {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px dashed #e2e8f0;
  padding-top: 14px;
}
.service-points li {
  font-size: 0.82rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
}
.point-icon {
  color: #0065df;
  font-weight: 800;
  font-size: 0.85rem;
}
.service-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
}
.service-link-detail {
  font-size: 0.82rem;
  font-weight: 600;
  color: #0065df;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}
.service-link-detail:hover {
  text-decoration: underline;
}

/* Compare Table */
.compare-table-wrap {
  overflow-x: auto;
  margin-top: 24px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.compare-table th, .compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9rem;
}
.compare-table th {
  background: #f8fbff;
  color: #0f274a;
  font-weight: 700;
}
.compare-table th.highlight-col,
.compare-table td.highlight-col {
  background: #f0f7ff;
}
.tag-good {
  color: #0065df;
  font-weight: 700;
}
.tag-bad {
  color: #dc2626;
  font-weight: 600;
}

/* Projects Page */
.projects-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  justify-content: center;
}
.project-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 99px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}
.project-filter-btn:hover {
  border-color: #0065df;
  color: #0065df;
}
.project-filter-btn.active {
  background: #0065df;
  border-color: #0065df;
  color: #ffffff;
}
.project-filter-btn .count-pill {
  font-size: 0.72rem;
  padding: 1px 7px;
  border-radius: 99px;
  background: rgba(0, 101, 223, 0.1);
  color: #0065df;
}
.project-filter-btn.active .count-pill {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Insights Page */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.insight-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.insight-card:hover {
  transform: translateY(-4px);
  border-color: #0065df;
  box-shadow: 0 12px 28px rgba(0, 101, 223, 0.08);
}
.insight-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.insight-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.insight-card:hover .insight-thumb img {
  transform: scale(1.05);
}
.insight-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 39, 74, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}
.insight-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.insight-meta {
  display: flex;
  gap: 8px;
  font-size: 0.76rem;
  color: #94a3b8;
  margin-bottom: 8px;
}
.insight-body h3 {
  font-size: 1.05rem;
  color: #0f274a;
  line-height: 1.35;
  margin: 0 0 10px;
}
.insight-body p {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 16px;
  flex-grow: 1;
}
.insight-readmore {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #0065df;
  text-decoration: none;
}
.insight-readmore:hover {
  text-decoration: underline;
}

/* Article Detail Page */
.article-detail-page {
  padding-bottom: 80px;
}
.article-hero {
  background: transparent !important;
  padding: 44px 0 28px;
  border: none !important;
  border-bottom: none !important;
}
.article-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}
.article-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #0065df, #0284c7);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 99px;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}
.article-hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #061224;
  line-height: 1.25;
  margin-bottom: 16px;
}
.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 0.88rem;
  color: #64748b;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}
.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  max-width: 1220px;
  margin: 36px auto 0;
  padding: 0 24px;
  align-items: start;
}
.article-main-content {
  min-width: 0;
}
.article-featured-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  margin-bottom: 32px;
}
.article-summary-box {
  background: #f8fafc;
  border-left: 4px solid #0065df;
  border-radius: 12px;
  padding: 22px 26px;
  margin-bottom: 36px;
  box-shadow: 0 2px 10px rgba(0, 101, 223, 0.04);
}
.article-summary-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f274a;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.article-summary-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.article-summary-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.94rem;
  color: #334155;
  line-height: 1.55;
}
.article-summary-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0065df;
  font-weight: 800;
}
.article-body-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #1e293b;
}
.article-body-text h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f274a;
  margin: 40px 0 16px;
  line-height: 1.3;
}
.article-body-text h3 {
  font-size: 1.25rem;
  font-weight: 750;
  color: #0065df;
  margin: 28px 0 12px;
  line-height: 1.35;
}
.article-body-text p {
  margin-bottom: 18px;
}
.article-quote {
  background: #f0f7ff;
  border-left: 4px solid #0065df;
  padding: 20px 24px;
  margin: 32px 0;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  font-size: 1.1rem;
  color: #0f274a;
  font-weight: 600;
  line-height: 1.6;
}
.article-cta-box {
  background: linear-gradient(135deg, #0f274a 0%, #061224 100%);
  color: #ffffff;
  padding: 36px 32px;
  border-radius: 16px;
  margin: 48px 0;
  box-shadow: 0 12px 32px rgba(6, 18, 36, 0.2);
  text-align: center;
}
.article-cta-box h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}
.article-cta-box p {
  color: #94a3b8;
  font-size: 0.96rem;
  max-width: 600px;
  margin: 0 auto 24px;
}
.article-sidebar-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.article-sidebar-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f274a;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 2px solid #f1f5f9;
  position: relative;
}
.article-sidebar-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 36px;
  height: 2px;
  background: #0065df;
}
.popular-posts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.popular-post-item {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}
.popular-post-item img {
  width: 72px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.popular-post-info h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f274a;
  line-height: 1.35;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}
.popular-post-item:hover .popular-post-info h4 {
  color: #0065df;
}
.popular-post-date {
  font-size: 0.76rem;
  color: #94a3b8;
}
@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-hero h1 {
    font-size: 1.7rem;
  }
  .article-featured-img {
    height: 260px;
  }
}


/* Contact Page */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info-panel h2 {
  font-size: 1.8rem;
  color: #0f274a;
  margin: 8px 0 14px;
}
.contact-info-panel p {
  color: #475569;
  line-height: 1.6;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0;
}
.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f8fbff;
  border: 1px solid #eef4fc;
}
.contact-info-item .info-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #eaf3ff;
  color: #0065df;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-info-item strong {
  display: block;
  font-size: 0.92rem;
  color: #0f274a;
  margin-bottom: 2px;
}
.contact-info-item p {
  margin: 0;
  font-size: 0.88rem;
  color: #64748b;
}
.contact-info-item a {
  color: #0065df;
  text-decoration: none;
  font-weight: 600;
}
.contact-info-item a:hover {
  text-decoration: underline;
}
.contact-promises {
  background: #f0f7ff;
  border: 1px solid rgba(0, 101, 223, 0.15);
  border-radius: 12px;
  padding: 18px 20px;
}
.contact-promises h4 {
  font-size: 0.95rem;
  color: #0f274a;
  margin: 0 0 10px;
}
.contact-promises ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-promises li {
  font-size: 0.84rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 12px 36px rgba(0, 101, 223, 0.06);
}
.contact-form-card h3 {
  font-size: 1.35rem;
  color: #0f274a;
  margin: 0 0 8px;
}
.contact-form-card p {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0 0 20px;
}

.cta-left-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.cta-left-actions .btn {
  background: #ffffff;
  color: #0065df;
  font-weight: 700;
  border: 0;
  padding: 12px 22px;
  border-radius: 99px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s;
}
.cta-left-actions .btn:hover {
  background: #f0f7ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  color: #0065df;
}

@media (max-width: 1024px) {
  .type-grid-rich,
  .bento-grid,
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .about-intro-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .services-page-grid,
  .insights-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-stats-row {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .type-grid-rich,
  .bento-grid,
  .process-timeline,
  .services-page-grid,
  .insights-grid {
    grid-template-columns: 1fr;
  }
}

/* =============== HIỆU ỨNG TẢI TRANG & LƯỚT CHUYỂN TRANG NHƯ LANDING PAGE =============== */
.page-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 999999;
  pointer-events: none;
  background: transparent;
}
.page-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #3bb4e8 0%, #0065df 50%, #6366f1 100%);
  box-shadow: 0 0 14px rgba(0, 101, 223, 0.9), 0 0 8px rgba(59, 180, 232, 0.7);
  animation: progressZip 0.48s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes progressZip {
  0% {
    width: 0%;
    opacity: 1;
  }
  35% {
    width: 65%;
    opacity: 1;
  }
  75% {
    width: 95%;
    opacity: 1;
  }
  100% {
    width: 100%;
    opacity: 0;
  }
}

.page-transition-wrap {
  min-height: calc(100vh - 120px);
  animation: pageFadeIn 0.35s ease-out;
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media(prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* ==================== ADMIN THEMES 3x2 GRID (6 ITEMS - KHÔNG GIẬT LAG) ==================== */
@keyframes adminFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.admin-tab-pane {
  animation: adminFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.admin-themes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  content-visibility: auto;
}

.admin-theme-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  contain: paint;
}

.admin-theme-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 86, 214, 0.1);
  border-color: #cbd5e1;
}

.admin-card-img-wrap {
  height: 175px;
  background: #f1f5f9;
  position: relative;
  overflow: hidden;
}

.admin-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #e2e8f0;
}

.admin-card-industry {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.admin-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #dc2626;
  color: #ffffff;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
}

.admin-card-content {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.admin-card-code {
  font-size: 11px;
  color: #64748b;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-card-title {
  font-size: 16px;
  font-weight: 800;
  margin: 4px 0 8px;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-card-desc {
  font-size: 12.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}

.admin-card-footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 1024px) {
  .admin-themes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .admin-themes-grid {
    grid-template-columns: 1fr;
  }
}
