/* ===== Vietnam Post Clone - CSS ===== */
:root {
  --yellow: #FBB616;
  --yellow-bright: #FFD100;
  --yellow-light: #FFF8E1;
  --blue: #0054A6;
  --blue-dark: #0f2744;
  --blue-footer: #003d7a;
  --red: #E31E24;
  --text: #212529;
  --text-muted: #444;
  --text-light: #666;
  --border: #e0e0e0;
  --white: #fff;
  --bg-light: #f8f9fa;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg-light);
  font-size: 13px;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ===== HEADER ===== */
.site-header {
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  padding: 0 16px;
  height: 64px;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon { width: 50px; height: 40px; display: flex; align-items: center; }
.logo-icon svg { width: 100%; height: 100%; }
.logo-text {
  font-weight: 900;
  font-size: 14px;
  color: var(--text);
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
}
.nav-main {
  display: flex;
  gap: 24px;
  margin-left: 16px;
}
.nav-main a {
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  padding: 20px 0;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-main a:hover { color: var(--blue); }
.nav-utils {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex-wrap: nowrap;
}
.nav-utils > a {
  color: var(--text-muted);
  font-size: 13px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-utils > a svg { flex-shrink: 0; }
.nav-utils > a:hover { color: var(--blue); }
.link-login { font-weight: 600; }
.btn-search {
  width: 36px; height: 36px;
  background: var(--yellow);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
.btn-search:hover { background: #e5a514; }
.btn-lang {
  width: 36px; height: 36px;
  background: var(--red);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
.btn-lang:hover { background: #c41a20; }

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #f5e6c8;
}
.slider-track { position: relative; width: 100%; }
.slide {
  display: none;
  width: 100%;
  animation: fadeSlide 0.6s ease;
}
.slide.active { display: block; }
.slide img {
  width: 100%;
  height: auto;
  min-height: 300px;
  max-height: 520px;
  object-fit: cover;
  display: block;
}
@keyframes fadeSlide {
  from { opacity: 0; transform: scale(1.02); }
  to { opacity: 1; transform: scale(1); }
}
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.8);
  transition: all 0.3s;
}
.slider-dots .dot.active {
  background: var(--yellow);
  border-color: var(--yellow);
  transform: scale(1.15);
}

/* ===== TRACKING BAR ===== */
.track-bar-wrap {
  margin-top: -30px;
  position: relative;
  z-index: 20;
  padding: 0 16px;
}
.track-bar {
  background: var(--yellow);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  max-width: 1200px;
  margin: 0 auto;
}
.track-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.track-icon { display: flex; align-items: center; }
.track-title { font-weight: 700; font-size: 15px; color: var(--text); white-space: nowrap; }
.track-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 280px;
}
.track-input {
  flex: 1;
  min-width: 160px;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 13px;
  background: var(--white);
  outline: none;
}
.track-input:focus { border-color: var(--blue); }
.track-captcha {
  width: 100px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 13px;
  background: var(--white);
  outline: none;
}
.captcha-display {
  display: flex;
  align-items: center;
  gap: 4px;
}
.captcha-text {
  padding: 8px 12px;
  background: #f0f0f0;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 18px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 3px;
  color: #333;
  user-select: none;
}
.captcha-reload {
  width: 32px; height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background 0.2s;
}
.captcha-reload:hover { background: rgba(0,0,0,0.08); }
.btn-track {
  padding: 10px 24px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn-track:hover { background: #003d7a; }
.track-divider {
  width: 1px;
  height: 50px;
  background: rgba(0,0,0,0.15);
  flex-shrink: 0;
}
.track-links {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
}
.track-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  transition: color 0.2s;
}
.track-link:hover { color: var(--blue); }
.tlink-icon, .tlink-img, .track-icon-img, .sb-img {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 0;
  mix-blend-mode: multiply;
}

/* ===== RIGHT SIDEBAR ===== */
.sidebar-right {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.sidebar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 12px;
  background: var(--white);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 11px;
  border-radius: 8px 0 0 8px;
  box-shadow: -2px 2px 8px rgba(0,0,0,0.08);
  width: 70px;
  text-align: center;
  transition: all 0.2s;
  gap: 4px;
}
.sb-icon { display: flex; align-items: center; justify-content: center; }
.sb-text { font-size: 10px; line-height: 1.3; }
.sidebar-item:hover { color: var(--blue); background: #f5f8ff; }
.sidebar-item.active {
  color: var(--blue);
  font-weight: 600;
  border-left: 3px solid var(--blue);
}
.sidebar-chat {
  margin-top: 8px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px rgba(0,0,0,0.2);
  text-decoration: none;
  transition: transform 0.2s;
  margin-right: 8px;
}
.sidebar-chat:hover { transform: scale(1.1); }

/* ===== SECTION COMMON ===== */
.section { padding: 48px 0; }
.section-heading {
  font-size: 24px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.section-heading.center { text-align: center; }

.layout-with-aside {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  align-items: start;
}
.aside-col { position: sticky; top: 80px; }

/* ===== SERVICES + PRODUCTS ===== */
.section-services-products { background: var(--white); }
.services-carousel {
  position: relative;
  display: flex;
  align-items: center;
}
.carousel-arrow {
  width: 36px;
  height: 36px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: all 0.2s;
  z-index: 2;
}
.carousel-arrow:hover { background: var(--bg-light); color: var(--blue); border-color: var(--blue); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  flex: 1;
  padding: 0 12px;
}
.service-card {
  background: var(--bg-light);
  border-radius: 10px;
  padding: 24px 20px;
  border: 1px solid var(--border);
  transition: box-shadow 0.3s, transform 0.3s;
}
.service-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.service-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.4;
}
.service-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.btn-more {
  display: inline-block;
  padding: 8px 20px;
  background: var(--yellow);
  color: var(--text);
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  transition: background 0.2s;
}
.btn-more:hover { background: #e5a514; }

/* Side Ad Banners */
.ad-banner {
  border-radius: 12px;
  overflow: hidden;
}
.ad-payment {
  background: linear-gradient(135deg, #0054A6 0%, #003d7a 100%);
  padding: 24px 20px;
  color: var(--white);
  position: relative;
}
.ad-logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.ad-logo-mark {
  width: 28px; height: 28px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--blue);
  font-size: 16px;
}
.ad-brand-text { font-weight: 700; font-size: 12px; letter-spacing: 1px; }
.ad-headline {
  font-size: 20px;
  font-weight: 900;
  color: var(--yellow);
  margin-bottom: 4px;
}
.ad-subline {
  font-size: 12px;
  margin-bottom: 20px;
  opacity: 0.9;
}
.ad-visual-area {
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  border-radius: 8px;
  padding: 20px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ad-big-text {
  font-size: 18px;
  font-weight: 900;
  text-align: center;
  line-height: 1.3;
  color: var(--white);
}

/* ===== PRODUCTS ===== */
/* ===== PRODUCTS ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.product-card {
  display: flex;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s, transform 0.3s;
}
.product-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}
.product-img {
  width: 180px;
  min-height: 160px;
  flex-shrink: 0;
}
.product-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.4;
  margin-bottom: 6px;
}
.product-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.5;
}
.product-price {
  font-size: 20px;
  font-weight: 700;
  color: #d32f2f;
  margin-bottom: 2px;
}
.currency { font-size: 14px; }
.product-old {
  font-size: 13px;
  color: #999;
  text-decoration: line-through;
  margin-bottom: 12px;
}
.btn-buy {
  display: inline-block;
  padding: 8px 20px;
  background: var(--yellow);
  color: var(--text);
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  text-align: center;
  transition: background 0.2s;
  margin-top: auto;
  align-self: flex-start;
}
.btn-buy:hover { background: #e5a514; }

/* Product slider dots */
.section-services-products .slider-dots {
  position: static;
  transform: none;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.section-services-products .slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  border: none;
  transition: background 0.3s;
}
.section-services-products .slider-dots .dot.active { background: var(--blue); }

/* ===== NEWS ===== */
.section-news { background: var(--yellow-light); }
.news-tabs {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--border);
}
.tab {
  padding: 10px 0;
  margin-bottom: -2px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}
.tab:hover { color: var(--blue); }
.tab.active {
  color: var(--yellow);
  border-bottom: 3px solid var(--yellow);
  font-weight: 600;
}
.news-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.news-featured {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.news-featured-img {
  height: 220px;
  position: relative;
}
.news-featured h3 {
  padding: 16px 20px 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
}
.news-date {
  padding: 6px 20px 0;
  font-size: 12px;
  color: var(--text-light);
}
.news-summary {
  padding: 8px 20px 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.news-featured .btn-more { margin: 16px 20px 20px; }
.news-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.news-item {
  display: flex;
  gap: 14px;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s;
}
.news-item:hover { box-shadow: 0 3px 12px rgba(0,0,0,0.1); }
.news-thumb {
  width: 110px;
  min-height: 80px;
  flex-shrink: 0;
}
.news-info { padding: 10px 14px 10px 0; flex: 1; }
.news-info h4 {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 4px;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-info .news-date { padding: 0; }
.news-excerpt {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.5;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Ad - OCOP */
.ad-ocop {
  background: linear-gradient(180deg, #ff6f00 0%, #e65100 100%);
  border-radius: 12px;
  padding: 24px 20px;
  color: var(--white);
}
.ad-ocop-logo {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ad-ocop-logo svg { flex-shrink: 0; }
.ad-ocop-title {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 4px;
  line-height: 1.2;
}
.ad-ocop-sub {
  font-size: 16px;
  margin-bottom: 16px;
  opacity: 0.95;
}
.ad-ocop-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--yellow);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  margin-bottom: 16px;
}
.ad-ocop-visual {
  height: 100px;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
  border-radius: 8px;
}

/* ===== STATS ===== */
.section-stats {
  position: relative;
  background: linear-gradient(135deg, #FBB616 0%, #F5A623 50%, #E8960A 100%);
  padding: 48px 0;
  overflow: hidden;
}
.stats-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30 30 60 0 30z' fill='%23000' fill-opacity='.4'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}
.stats-top-bar {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 80px;
  text-align: center;
}
.stats-left, .stats-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.stats-label-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.stats-big-number {
  font-size: 36px;
  font-weight: 900;
  color: var(--text);
}

/* ===== APPS ===== */
.section-apps {
  background: var(--white);
  padding: 48px 0;
}
.layout-apps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.app-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--bg-light);
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.app-card:hover { box-shadow: var(--shadow); }
.app-card.full-width { grid-column: 1 / -1; max-width: 50%; }
.app-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.app-info { flex: 1; }
.app-name { font-weight: 700; font-size: 13px; margin-bottom: 6px; }
.app-qr-area {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
}
.qr-placeholder {
  width: 48px;
  height: 48px;
  background: #e0e0e0;
  border-radius: 4px;
}
.app-links {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--blue);
  font-weight: 500;
}
.apps-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.apps-illustration {
  width: 100%;
  max-width: 360px;
}
.apps-illustration svg { width: 100%; height: auto; }
.apps-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  text-align: center;
  max-width: 360px;
}

/* ===== PARTNERS ===== */
.section-partners {
  background: var(--white);
  padding: 48px 0;
  border-top: 1px solid var(--border);
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  align-items: center;
  justify-items: center;
}
.partner-logo {
  padding: 20px 16px;
  background: var(--bg-light);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  width: 100%;
  transition: box-shadow 0.3s, transform 0.3s;
}
.partner-logo:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--blue);
  color: var(--white);
  padding: 48px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(5, 1fr);
  gap: 28px;
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 4px;
}
.footer-brand .logo-icon {
  width: 48px; height: 36px;
}
.footer-brand .logo-icon.light svg { width: 100%; height: 100%; }
.footer-cert { margin-bottom: 8px; }
.company-name {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
  line-height: 1.4;
}
.footer-address, .footer-note {
  font-size: 12px;
  opacity: 0.85;
  line-height: 1.6;
  margin-bottom: 8px;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--white);
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col a {
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

/* ===== BOTTOM BAR ===== */
.bottom-bar {
  background: var(--yellow);
  padding: 16px 0;
}
.bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.bottom-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hotline-label { font-size: 14px; font-weight: 700; color: var(--text); }
.hotline-num {
  font-size: 24px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: 1px;
  text-decoration: none;
}
.bottom-center { text-align: center; }
.connect-text { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.social-icons a:hover { background: rgba(0,0,0,0.2); }
.bottom-right { display: flex; align-items: center; gap: 12px; }
.badge-ct {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--white);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.badge-ct span { line-height: 1.3; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .layout-with-aside { grid-template-columns: 1fr; }
  .aside-col { position: static; }
  .layout-apps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .header-inner { height: auto; padding: 10px 16px; flex-wrap: wrap; }
  .nav-main { display: none; order: 3; width: 100%; flex-direction: column; gap: 0; background: var(--bg-light); border-radius: 8px; padding: 8px 0; margin-top: 8px; }
  .nav-main.active { display: flex; }
  .nav-main a { padding: 12px 16px; font-size: 14px; border-bottom: 1px solid var(--border); }
  .hamburger { display: flex; }
  .nav-utils { display: none; }
  
  .slide img { min-height: 180px; }
  
  .track-bar { flex-direction: column; align-items: stretch; padding: 16px; gap: 12px; }
  .track-form { flex-wrap: wrap; min-width: auto; }
  .track-divider { width: 100%; height: 1px; }
  .track-links { flex-direction: row; justify-content: center; gap: 16px; }
  
  .services-grid { grid-template-columns: 1fr; }
  .carousel-arrow { display: none; }
  .products-grid { grid-template-columns: 1fr; }
  .product-card { flex-direction: column; }
  .product-img { width: 100%; min-height: 140px; }
  
  .news-tabs { gap: 12px; overflow-x: auto; }
  .tab { font-size: 13px; }
  .news-layout { grid-template-columns: 1fr; }
  
  .stats-top-bar { flex-direction: column; gap: 24px; }
  .stats-big-number { font-size: 28px; }
  
  .apps-grid { grid-template-columns: 1fr; }
  .app-card.full-width { max-width: 100%; }
  
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  
  .footer-grid { grid-template-columns: 1fr; }
  .bottom-inner { flex-direction: column; text-align: center; }
  .bottom-left { flex-direction: column; }
  
  .sidebar-right { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 12px; }
  .section { padding: 32px 0; }
  .section-heading { font-size: 20px; }
  .track-bar-wrap { margin-top: -20px; padding: 0 12px; }
  .hotline-num { font-size: 20px; }
}

/* ===== IMAGE STYLES ===== */
.logo-img { height: 40px; width: auto; }
.nav-icon { width: 16px; height: 16px; vertical-align: middle; margin-right: 2px; }
.flag-img { width: 24px; height: 16px; object-fit: cover; border-radius: 2px; }
.track-icon-img { width: 32px; height: 32px; }
.tlink-img { width: 36px; height: 36px; }
.sb-img { width: 28px; height: 28px; }

.service-icon img { width: 56px; height: 56px; object-fit: contain; }
.product-img { position: relative; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; }
.news-featured-img { overflow: hidden; }
.news-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.news-thumb { overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }

.partner-logo { padding: 16px 12px; display: flex; align-items: center; justify-content: center; }
.partner-logo img { max-height: 48px; width: auto; object-fit: contain; }

.qr-img { width: 48px; height: 48px; border-radius: 4px; object-fit: contain; }
.app-logo-img { width: 28px; height: 28px; object-fit: contain; }
.footer-logo-img { height: 36px; width: auto; }
.bct-badge { height: 48px; width: auto; }
.apps-visual-img { max-width: 360px; width: 100%; height: auto; }

.promo-card-wrap { border-radius: 12px; overflow: hidden; margin-bottom: 16px; }
.promo-card-img { width: 100%; height: auto; display: block; border-radius: 12px; }
.promo-card-tall { margin-bottom: 0; }
.promo-card-tall .promo-card-img { width: 100%; height: auto; }

/* ===== FLOATING ACTION BUTTON ===== */
.fab-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.fab-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  pointer-events: none;
  margin-bottom: 12px;
}
.fab-container.open .fab-items {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.fab-item {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 3px solid var(--yellow);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.fab-item:hover {
  transform: scale(1.12);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.fab-item img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
/* Close area with blue background strip */
.fab-close-area {
  display: none;
  flex-direction: column;
  align-items: center;
  background: var(--white);
  border-radius: 0 0 28px 28px;
  padding: 8px 8px 12px;
  margin-top: -6px;
}
.fab-container.open .fab-close-area {
  display: flex;
}
.fab-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--yellow);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(252,183,30,0.8);
  transition: transform 0.2s;
}
.fab-close:hover { transform: scale(1.1); }
.fab-toggle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid var(--white);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  transition: transform 0.3s;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.fab-toggle:hover { transform: scale(1.05); }
.fab-mascot {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.fab-container.open .fab-toggle { display: none; }

/* ======================================================= */
/* ============ RESPONSIVE - TABLET (≤ 768px) ============ */
/* ======================================================= */
@media (max-width: 768px) {
  /* --- Header --- */
  .hamburger { display: flex; }
  .nav-main {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    margin-left: 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    z-index: 100;
  }
  .nav-main.active { display: flex; }
  .nav-main a {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
  }
  .nav-utils { gap: 2px; }
  .nav-utils > a span,
  .nav-utils > a { font-size: 0; gap: 0; padding: 6px; }
  .nav-utils > a .nav-icon,
  .nav-utils > a svg { font-size: initial; }
  .link-login { font-size: 0 !important; }
  .nav-icon { width: 18px; height: 18px; }

  /* --- Hero --- */
  .slide-content { padding: 20px; }
  .slide-content h2 { font-size: 20px; }

  /* --- Tracking Bar --- */
  .track-bar {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }
  .track-left { width: 100%; }
  .track-form {
    flex-wrap: wrap;
    min-width: 0;
    width: 100%;
  }
  .track-input { min-width: 0; width: 100%; }
  .track-divider { display: none; }
  .track-links {
    width: 100%;
    justify-content: center;
    gap: 16px;
  }

  /* --- Right Sidebar --- */
  .sidebar-right { display: none; }

  /* --- Layout --- */
  .layout-with-aside {
    grid-template-columns: 1fr;
  }
  .aside-col { display: none; }

  /* --- Services --- */
  .services-grid {
    grid-template-columns: 1fr;
  }
  .carousel-arrow { display: none; }

  /* --- Products --- */
  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  /* --- News --- */
  .news-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 8px;
  }
  .news-tab { white-space: nowrap; font-size: 12px; padding: 8px 12px; }
  .news-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .news-featured { grid-column: 1; }

  /* --- Stats --- */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* --- Apps --- */
  .apps-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .apps-grid {
    grid-template-columns: 1fr;
  }

  /* --- Partners --- */
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  /* --- Footer --- */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .footer-brand { grid-column: 1 / -1; }

  /* --- Bottom Bar --- */
  .bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .bottom-left, .bottom-center, .bottom-right {
    width: 100%;
    justify-content: center;
  }

  /* --- Section padding --- */
  .section { padding: 32px 0; }
  .section-heading { font-size: 20px; margin-bottom: 20px; }
}

/* ======================================================= */
/* ============ RESPONSIVE - MOBILE (≤ 480px) ============ */
/* ======================================================= */
@media (max-width: 480px) {
  .header-inner { height: 56px; padding: 0 12px; gap: 8px; }
  .logo-img { height: 32px; }

  /* --- Tracking --- */
  .track-bar { padding: 12px; gap: 10px; border-radius: 8px; }
  .track-form { gap: 6px; }
  .track-input { padding: 8px 10px; font-size: 12px; }
  .track-captcha { width: 70px; padding: 8px; font-size: 12px; }
  .btn-track { padding: 8px 14px; font-size: 13px; }
  .track-links { gap: 12px; }
  .track-link { font-size: 11px; }
  .tlink-icon, .tlink-img, .track-icon-img, .sb-img {
    width: 28px;
    height: 28px;
  }

  /* --- Products --- */
  .products-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .product-card { padding: 8px; }
  .product-name { font-size: 12px; }
  .product-price { font-size: 13px; }

  /* --- Partners --- */
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .partner-logo { padding: 14px 10px; font-size: 12px; }

  /* --- Footer --- */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .site-footer { padding: 32px 0 24px; }

  /* --- Bottom Bar --- */
  .hotline-num { font-size: 20px; }

  /* --- FAB --- */
  .fab-container { bottom: 16px; right: 16px; }
  .fab-toggle { width: 52px; height: 52px; }
  .fab-item { width: 42px; height: 42px; }
  .fab-item img { width: 28px; height: 28px; }

  /* --- Section --- */
  .section { padding: 24px 0; }
  .section-heading { font-size: 18px; margin-bottom: 16px; }
  .container { padding: 0 12px; }

  /* --- Service cards --- */
  .service-card { padding: 16px; }
  .service-card h3 { font-size: 14px; }
  .service-card p { font-size: 12px; }
}
