/* ============================================
   SP1 Ã¢â‚¬â€œ HÃ¡Â»â€  THÃ¡Â»ÂNG AN TOÃƒâ‚¬N XE NÃƒâ€šNG ECOLIFT
   Premium Product Showcase Theme
   ============================================ */
:root {
  --brand: #0ea5e9;
  --brand-2: #0284c7;
  --brand-dark: #0369a1;
  --accent: #10b981;
  --warn: #f59e0b;
  --danger: #ef4444;
  --txt: #1e293b;
  --muted: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --radius: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
  max-width: 100vw;
}

body {
  min-height: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--txt);
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%
}

a {
  text-decoration: none;
  color: inherit
}

.container {
  width: min(1200px, 92vw);
  margin: auto
}

/* ============================================
   HERO Ã¢â‚¬â€œ Light premium
   ============================================ */
.hero {
  position: relative;
  background: var(--bg);
  padding: 60px 0 70px;
  overflow: hidden;
  color: var(--txt);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at 70% 40%, rgba(14, 165, 233, .08) 0%, transparent 60%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-text {
  position: relative;
  z-index: 3;
}

.pill {
  display: inline-flex;
  justify-content: center;
  /* fix */
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(14, 165, 233, .2);
  border-radius: 999px;
  color: var(--brand-dark);
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 16px;
  background: rgba(14, 165, 233, .05);
  backdrop-filter: blur(4px);
}

.pill i {
  color: var(--warn)
}

.hero h1 {
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.08;
  margin-bottom: 16px;
  font-weight: 900;
  color: #0f172a;
}

.hero h1 span {
  background: linear-gradient(90deg, var(--brand-2), var(--brand));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .lead {
  color: #475569;
  font-size: clamp(15px, 1.5vw, 17px);
  margin-bottom: 22px;
  max-width: 520px;
  line-height: 1.7;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.cta {
  display: inline-flex;
  justify-content: center;
  /* fix */
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(14, 165, 233, .3);
  transition: all .25s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 165, 233, .4)
}

.ghost {
  display: inline-flex;
  justify-content: center;
  /* fix */
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(14, 165, 233, .2);
  background: #f8fafc;
  color: #0f172a;
  border-radius: var(--radius-sm);
  padding: 13px 22px;
  font-weight: 700;
  font-size: 15px;
  transition: all .25s ease;
}

.ghost:hover {
  background: #f1f5f9;
  border-color: rgba(14, 165, 233, .4);
  color: var(--brand-dark);
}

.hero-stats {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-stats .stat {
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .04);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: all .3s ease;
}

.hero-stats .stat:hover {
  border-color: rgba(14, 165, 233, .3);
  box-shadow: 0 8px 24px rgba(14, 165, 233, .12);
  transform: translateY(-3px);
}

.hero-stats .stat strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--brand-2), var(--brand));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero-stats .stat span {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

/* Hero visual */
.hero-visual {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  position: relative;
  width: 100%;
  /* Cho phÃƒÂ©p Ã¡ÂºÂ£nh mÃ¡Â»Å¸ rÃ¡Â»â„¢ng tÃ¡Â»â€˜i Ã„â€˜a theo chiÃ¡Â»Âu ngang */
  height: 400px;
  /* CÃ¡Â»â€˜ Ã„â€˜Ã¡Â»â€¹nh chiÃ¡Â»Âu cao Ã„â€˜Ã¡Â»Æ’ khÃƒÂ´ng bÃ¡Â»â€¹ to theo chiÃ¡Â»Âu dÃ¡Â»Âc */
  margin: 0 auto;
  align-self: flex-end;
}

.hero-visual .zoomable-image-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
  /* HiÃ¡Â»Æ’n thÃ¡Â»â€¹ icon kÃƒÂ­nh lÃƒÂºp khi Ã„â€˜Ã†Â°a chuÃ¡Â»â„¢t vÃƒÂ o */
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* GiÃ¡Â»Â¯ tÃƒÂ¢m Ã¡ÂºÂ£nh khi bÃ¡Â»â€¹ cÃ¡ÂºÂ¯t */
  transition: transform 0.4s ease;
  /* ThÃƒÂªm hiÃ¡Â»â€¡u Ã¡Â»Â©ng chuyÃ¡Â»Æ’n Ã„â€˜Ã¡Â»â„¢ng mÃ†Â°Ã¡Â»Â£t mÃƒÂ  */
}

.hero-visual:hover img {
  transform: scale(1.08);
  /* Zoom lÃƒÂªn khi Ã„â€˜Ã†Â°a chuÃ¡Â»â„¢t vÃƒÂ o */
}

/* ============================================
   SECTIONS
   ============================================ */
section {
  padding: 64px 0;
  scroll-margin-top: 80px
}

section:nth-child(even) {
  background: var(--bg-alt)
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header .badge-label {
  display: inline-flex;
  justify-content: center;
  /* fix */
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(14, 165, 233, .1), rgba(6, 182, 212, .1));
  color: var(--brand-dark);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  border: 1px solid rgba(14, 165, 233, .2);
}

.section-header h2 {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 10px;
}

.section-header p {
  font-size: 16px;
  color: #475569;
  max-width: 580px;
  margin: 0 auto;
}

/* ============================================
   FEATURE CARDS Ã¢â‚¬â€œ Gradient border, glass
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all .35s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), #06b6d4);
  opacity: 0;
  transition: opacity .3s ease;
}

.feature-card:hover {
  border-color: rgba(14, 165, 233, .25);
  box-shadow: 0 12px 40px rgba(14, 165, 233, .12);
  transform: translateY(-6px);
}

.feature-card:hover::after {
  opacity: 1
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(14, 165, 233, .25);
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #0f172a;
}

.feature-card p {
  font-size: 14.5px;
  color: #334155;
  line-height: 1.6;
}

/* ============================================
   USE CASES
   ============================================ */
#ung-dung {
  border-radius: 32px;
  padding: 40px 48px;
}

@media (max-width: 900px) {
  #ung-dung {
    padding: 32px 20px;
    border-radius: 20px;
  }
}

.grid-2 {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: center;
}

.checklist {
  display: grid;
  gap: 10px;
  margin: 14px 0;
  list-style: none
}

.checklist li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.6;
  color: #1e293b;
  font-weight: 500;
}

.checklist li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--brand-dark);
  position: absolute;
  left: 0;
  top: 3px;
  font-size: 14px;
}

.callout {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(16, 185, 129, .08), rgba(16, 185, 129, .03));
  border: 1px solid rgba(16, 185, 129, .25);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: #064e3b;
  margin-top: 16px;
  font-weight: 700;
  font-size: 14.5px;
  max-width: 100%;
}

.callout i {
  font-size: 20px;
  color: var(--accent)
}

/* ============================================
   IMAGE + GALLERY
   ============================================ */
.img-box {
  position: relative;
  background: #f0f7ff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.img-box:hover img {
  transform: scale(1.12);
  /* PhÃƒÂ³ng to rÃƒÂµ rÃƒÂ ng hÃ†Â¡n khi hover */
}

.grid-2 .img-box {
  background: #fff;
  padding: 40px;
  /* ThÃƒÂªm lÃ¡Â»Â tÃ„Â©nh lÃ¡Â»â€ºn hÃ†Â¡n (40px) Ã„â€˜Ã¡Â»Æ’ Ã¡ÂºÂ£nh cÃƒÂ¡ch xa hÃ¡ÂºÂ³n viÃ¡Â»Ân mÃƒÂ©p hÃ¡Â»â„¢p */
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  aspect-ratio: auto;
  border-radius: 32px;
  height: 100%;
  /* KÃƒÂ©o dÃƒÂ i hÃ¡Â»â„¢p Ã¡ÂºÂ£nh theo chiÃ¡Â»Âu cao cÃ¡Â»â„¢t bÃƒÂªn cÃ¡ÂºÂ¡nh */
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .grid-2 .img-box {
    margin-left: 0;
  }
}

.grid-2 .img-box img {
  object-fit: contain;
  /* GiÃ¡Â»â€ºi hÃ¡ÂºÂ¡n kÃƒÂ­ch thÃ†Â°Ã¡Â»â€ºc tÃ¡Â»â€˜i Ã„â€˜a cÃ¡Â»Â§a Ã¡ÂºÂ£nh Ã„â€˜Ã¡Â»Æ’ bÃ¡ÂºÂ¯t buÃ¡Â»â„¢c chÃ¡Â»Â«a ra mÃ¡Â»â„¢t khoÃ¡ÂºÂ£ng viÃ¡Â»Ân padding bÃƒÂªn trong */
  max-width: 85%;
  max-height: 85%;
  width: auto;
  height: auto;
  transform: none;
}

.grid-2 .img-box:hover img {
  transform: scale(1.05);
  /* HiÃ¡Â»â€¡u Ã¡Â»Â©ng hover nhÃ¡ÂºÂ¹ nhÃƒÂ ng */
}

.img-box.no-img {
  background: linear-gradient(135deg, #f0f9ff, #fff);
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.img-box.no-img::after {
  content: "\f03e";
  font-family: "Font Awesome 6 Free";
  font-weight: 400;
  font-size: 48px;
  color: #cbd5e1;
}

.ratio-4x3 {
  aspect-ratio: 4/3
}

.ratio-16x9 {
  aspect-ratio: 16/9
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.gallery figure {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
  transition: all .3s ease;
}

.gallery figure:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(14, 165, 233, .12);
  border-color: rgba(14, 165, 233, .3);
}

.gallery figcaption {
  padding: 12px 16px;
  font-weight: 700;
  font-size: 14.5px;
  color: #0f172a;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

/* ============================================
   SPECS TABLE
   ============================================ */
.specs {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  /* Tăng tỉ lệ cột ảnh thêm một chút nữa */
  gap: 40px;
  align-items: flex-start;
  max-width: 1040px;
  /* Tăng không gian tổng thể lên một xíu để ảnh rộng bề ngang ra */
  margin: 0 auto;
}

.specs .img-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
  height: auto;
}

.specs .img-box img {
  width: 100%;
  height: 520px;
  /* Đặt chiều cao cố định để ảnh không bị dài quá mức */
  object-fit: cover;
  object-position: center;
  border-radius: calc(var(--radius) - 8px);
  background: transparent;
  transition: transform 0.4s ease;
}

.specs .img-box:hover img {
  transform: scale(1.02);
}

.spec-list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.spec-row {
  display: flex;
  align-items: flex-start;
  padding: 16px 4px;
  border-bottom: 1px solid var(--border);
  transition: background-color 0.2s ease;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-row:hover {
  background-color: rgba(14, 165, 233, 0.03);
}

.spec-term {
  flex: 0 0 160px;
  font-size: 14.5px;
  font-weight: 700;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 10px;
}

.spec-term i {
  color: var(--brand);
  font-size: 15px;
  width: 16px;
  text-align: center;
  opacity: 0.8;
}

.spec-desc {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.5;
  padding-left: 20px;
}

@media (max-width: 900px) {
  .specs {
    grid-template-columns: 1fr;
  }

  .specs .img-box {
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .spec-row {
    flex-direction: column;
    gap: 6px;
  }

  .spec-desc {
    padding-left: 0;
  }
}

/* ============================================
   COMPARE TABLE Ã¢â‚¬â€œ Pricing style
   ============================================ */
.compare-wrap {
  margin-top: 8px
}

.compare-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  background: var(--bg-alt);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--brand);
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
}

.compare-table thead th {
  background: linear-gradient(180deg, #f8fbff, #f0f9ff);
  color: var(--txt);
  font-weight: 800;
  text-align: center;
  padding: 20px 16px;
  border-bottom: 2px solid var(--border);
  font-size: 14px;
}

.compare-table thead th:first-child {
  text-align: left;
  background: linear-gradient(135deg, #0c4a6e, #0369a1);
  color: white;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.compare-table tbody th {
  width: 28%;
  background: #fafbfc;
  color: var(--txt);
  font-weight: 700;
  text-align: left;
  border-right: 2px solid #e2e8f0;
  font-size: 14px;
}

.compare-table tbody td {
  text-align: center;
  font-weight: 600;
  color: #334155;
  font-size: 15px;
  transition: background .2s;
}

.compare-table tbody tr:hover td {
  background: rgba(14, 165, 233, .03)
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none
}

.compare-table .center {
  text-align: center
}

.compare-table .note {
  color: var(--danger);
  font-weight: 800;
  font-size: 14px
}

/* Version cards */
.vcard {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
}

.vcard strong {
  font-size: 15px;
  font-weight: 800
}

.vcard span {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600
}

.vcard.v1 {
  background: linear-gradient(135deg, rgba(14, 165, 233, .12), rgba(14, 165, 233, .04))
}

.vcard.v1 strong {
  color: var(--brand-2)
}

.vcard.v2 {
  background: linear-gradient(135deg, rgba(217, 119, 6, .12), rgba(234, 88, 12, .04))
}

.vcard.v2 strong {
  color: #d97706
}

.vcard.v3 {
  background: linear-gradient(135deg, rgba(22, 163, 74, .12), rgba(21, 128, 61, .04))
}

.vcard.v3 strong {
  color: #16a34a
}

.vcard.v4 {
  background: linear-gradient(135deg, rgba(239, 68, 68, .12), rgba(220, 38, 38, .04));
  position: relative;
  border: 2px solid rgba(239, 68, 68, .2);
}

.vcard.v4 strong {
  color: #ef4444
}

.vcard.v4::after {
  content: "\2B50 BEST";
  position: absolute;
  top: -10px;
  right: -6px;
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: white;
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(22, 163, 74, 0.35);
}

/* ============================================
   CTA BAND – Compact inline
   ============================================ */
.cta-band {
  background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 50%, #0284c7 100%);
  border-radius: var(--radius);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
  box-shadow: 0 8px 28px rgba(3, 105, 161, .25);
}

.cta-band-header {
  flex-shrink: 0;
}

.cta-band-header h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cta-band-header h3 i {
  font-size: 16px;
  opacity: .8;
}

.cta-band-header .muted {
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
}

.cta-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cta-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.cta-input-group i {
  position: absolute;
  left: 10px;
  color: rgba(255, 255, 255, .4);
  font-size: 12px;
  pointer-events: none;
  z-index: 2;
}

.cta-form input {
  width: 140px;
  padding: 9px 12px 9px 30px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 10px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 13px;
  font-family: inherit;
  transition: all .2s ease;
}

.cta-form input::placeholder {
  color: rgba(255, 255, 255, .5);
}

.cta-form input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .15);
}

.cta-submit {
  background: #fff !important;
  color: var(--brand-dark) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 10px;
  font-weight: 700;
  white-space: nowrap;
  transition: all .2s ease;
}

.cta-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
}

/* ============================================
   FOOTER (copy trang chÃ¡Â»Â§)
   ============================================ */
.footer {
  background: linear-gradient(180deg, #0b1628, #0f1d32);
  color: #e5e7eb;
  padding: 52px 0 0;
}

.fgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.footer h4 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 15px
}

.footer p,
.footer li {
  font-size: 14px;
  line-height: 1.8;
  color: #94a3b8;
}

.footer ul {
  list-style: none;
  padding: 0
}

.footer ul a {
  color: #94a3b8;
  transition: color .2s;
  display: block;
  padding: 2px 0;
}

.footer ul a:hover {
  color: var(--brand)
}

.footer-bottom {
  margin-top: 28px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 18px 0;
}

.footer-bottom p {
  font-size: 13px;
  color: #64748b
}

.footer-address,
.footer-hours {
  font-size: 13px;
  color: #64748b;
  margin-top: 4px;
}

.footer-contact {
  margin-top: 10px;
  display: flex;
  gap: 16px;
  justify-content: center;
}

.footer-contact a {
  color: #94a3b8;
  display: inline-flex;
  justify-content: center;
  /* fix */
  align-items: center;
  gap: 6px;
  font-size: 14px;
  transition: color .2s;
}

.footer-contact a:hover {
  color: var(--brand)
}

/* ============================================
   FLOATING BUTTONS (copy y chang trang chÃ¡Â»Â§)
   ============================================ */
.floating-btns {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 999;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
  color: #fff;
}

.float-btn:hover {
  transform: scale(1.12)
}

.float-zalo {
  background: #0068ff;
  box-shadow: 0 4px 14px rgba(0, 104, 255, 0.35);
}

.float-zalo:hover {
  box-shadow: 0 6px 20px rgba(0, 104, 255, 0.5)
}

.float-hotline {
  background: #e53e3e;
  box-shadow: 0 0 0 6px rgba(66, 153, 225, 0.35), 0 4px 14px rgba(229, 62, 62, 0.3);
  animation: ring-pulse 2s ease-in-out infinite;
}

.float-hotline:hover {
  box-shadow: 0 0 0 8px rgba(66, 153, 225, 0.5), 0 6px 20px rgba(229, 62, 62, 0.4);
}

.float-hotline i {
  animation: phone-shake 1.5s ease-in-out infinite
}

@keyframes ring-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 6px rgba(66, 153, 225, 0.35), 0 4px 14px rgba(229, 62, 62, 0.3)
  }

  50% {
    box-shadow: 0 0 0 10px rgba(66, 153, 225, 0.15), 0 4px 14px rgba(229, 62, 62, 0.3)
  }
}

@keyframes phone-shake {

  0%,
  100% {
    transform: rotate(0deg)
  }

  10% {
    transform: rotate(-12deg)
  }

  20% {
    transform: rotate(12deg)
  }

  30% {
    transform: rotate(-8deg)
  }

  40% {
    transform: rotate(8deg)
  }

  50%,
  100% {
    transform: rotate(0deg)
  }
}

.float-scroll {
  background: #0ea5e9;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: scale(0);
}

.float-scroll:hover {
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5)
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: all .6s cubic-bezier(.4, 0, .2, 1);
}

.appear {
  opacity: 1;
  transform: none
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .88);
  display: none;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  cursor: zoom-out;
}

.lightbox.active {
  display: flex
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .6);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 40px 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  .hero .lead {
    font-size: 15px;
    margin: 0 0 20px;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
    margin-top: 22px;
  }

  .hero-actions .cta,
  .hero-actions .ghost {
    width: 100%;
    justify-content: center;
    min-height: 44px;
    border-radius: 14px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
  }

  .hero-stats .stat {
    flex: 1 1 calc(50% - 10px);
    min-width: 120px;
  }

  /* Hero visual: auto height instead of fixed 400px */
  .hero-visual {
    max-width: 100%;
    height: auto;
    max-height: 320px;
    margin: 24px 0 0;
  }

  /* Specs image: auto height instead of fixed 520px */
  .specs .img-box img {
    height: auto;
    max-height: 360px;
  }

  /* Callout: prevent overflow */
  .callout {
    width: auto;
    max-width: 100%;
  }

  /* Mobile menu links */
  #mobileMenu a {
    display: block;
    padding: 10px 16px;
    color: var(--txt);
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px;
  }

  #mobileMenu a:hover {
    background: rgba(14, 165, 233, 0.08);
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card {
    padding: 22px 18px;
  }

  #ung-dung {
    padding: 32px 20px;
    border-radius: 20px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .grid-2 .img-box {
    padding: 24px;
    border-radius: 20px;
  }

  .specs {
    grid-template-columns: 1fr;
  }

  .spec-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .spec-term {
    flex: none;
  }

  .spec-desc {
    padding-left: 26px;
  }

  /* Gallery 2 cột */
  .gallery {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .gallery figcaption {
    padding: 10px 12px;
    font-size: 13px;
  }

  /* Compare table — mobile scroll + sticky feature col */
  .compare-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
    margin: 0 -16px;
    padding: 0 16px;
  }

  /* Scroll hint */
  .compare-wrap::after {
    content: '\f0a9  Vuốt ngang để xem thêm';
    font-family: 'Font Awesome 6 Free', sans-serif;
    display: block;
    text-align: center;
    font-size: 11px;
    color: var(--muted);
    padding: 8px 0 0;
    font-weight: 600;
  }

  /* Scrollbar styling */
  .compare-wrap::-webkit-scrollbar {
    height: 4px;
  }
  .compare-wrap::-webkit-scrollbar-thumb {
    background: var(--brand);
    border-radius: 4px;
  }

  .compare-table {
    min-width: 560px;
    font-size: 12px;
  }

  /* Sticky feature column */
  .compare-table thead th:first-child,
  .compare-table tbody th {
    position: sticky;
    left: 0;
    z-index: 2;
    min-width: 110px;
    max-width: 130px;
    font-size: 11px;
  }

  .compare-table thead th:first-child {
    z-index: 3;
  }

  .compare-table thead th {
    padding: 10px 6px;
    font-size: 11px;
  }

  .compare-table td,
  .compare-table th {
    padding: 8px 6px;
  }

  /* Compact vcards on mobile */
  .vcard {
    padding: 6px 8px;
    border-radius: 8px;
    gap: 2px;
  }
  .vcard strong {
    font-size: 11px;
  }
  .vcard span {
    font-size: 9px;
  }

  /* BEST badge smaller */
  .vcard.v4::after {
    font-size: 8px;
    padding: 2px 6px;
    top: -8px;
    right: -4px;
  }

  .compare-table tbody td {
    font-size: 13px;
  }

  .compare-table .note {
    font-size: 11px;
  }

  /* VCard grid */
  .vcard-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* CTA band */
  .cta-band {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 14px;
  }

  .cta-band-header h3 {
    justify-content: center;
    font-size: 16px;
  }

  .cta-form {
    justify-content: center;
    width: 100%;
  }

  .cta-form input {
    width: 100%;
    flex: 1;
    min-width: 0;
  }

  /* Floating buttons */
  .floating-btns {
    bottom: 20px;
    right: 16px;
    gap: 12px;
  }

  /* Section padding */
  section {
    padding: 40px 0;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .section-header h2 {
    font-size: 22px;
  }

  /* Footer responsive */
  .footer {
    padding: 40px 0 0;
  }

  .fgrid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-bottom {
    text-align: center;
    font-size: 12px;
  }

  .footer-contact {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 28px 0 24px;
  }

  .hero h1 {
    font-size: 22px !important;
    line-height: 1.25;
  }

  .hero .lead {
    font-size: 14px;
    line-height: 1.6;
  }

  .pill {
    font-size: 11px;
    padding: 5px 12px;
  }

  /* Hero visual smaller on mobile */
  .hero-visual {
    max-height: 240px;
    border-radius: 16px;
  }

  .hero-stats .stat {
    padding: 10px 14px;
  }

  .hero-stats .stat strong {
    font-size: 20px;
  }

  .hero-stats .stat span {
    font-size: 11px;
  }

  section {
    padding: 28px 0;
  }

  .section-header {
    margin-bottom: 22px;
  }

  .section-header h2 {
    font-size: 20px;
  }

  .section-header p {
    font-size: 14px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .feature-card {
    padding: 20px 16px;
  }

  .feature-icon {
    width: 44px;
    height: 44px;
    font-size: 18px;
    margin-bottom: 12px;
  }

  .feature-card h3 {
    font-size: 15px;
  }

  .feature-card p {
    font-size: 13.5px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery figcaption {
    font-size: 13px;
    padding: 10px 14px;
  }

  /* Checklist / Use cases */
  .checklist li {
    font-size: 14px;
    padding-left: 24px;
  }

  .callout {
    font-size: 13px;
    padding: 12px 14px;
    gap: 10px;
  }

  .callout i {
    font-size: 18px;
  }

  /* Specs */
  .spec-term {
    font-size: 13px;
  }

  .spec-desc {
    font-size: 14px;
  }

  .specs .img-box {
    padding: 12px;
  }

  .specs .img-box img {
    max-height: 280px;
  }

  /* Compare table */
  .compare-table {
    min-width: 520px;
    font-size: 12px;
  }

  .compare-note {
    font-size: 13px;
    padding: 12px 16px;
  }

  .vcard-grid {
    grid-template-columns: 1fr;
  }

  .vcard {
    padding: 10px 12px;
  }

  /* CTA form stack vertical */
  .cta-band {
    padding: 18px 16px;
    border-radius: 16px;
  }

  .cta-band-header h3 {
    font-size: 15px;
  }

  .cta-band-header .muted {
    font-size: 12px;
  }

  .cta-form {
    flex-direction: column;
    gap: 10px;
  }

  .cta-form input {
    width: 100%;
    padding: 11px 12px 11px 30px;
    font-size: 14px;
  }

  .cta-submit {
    width: 100%;
    padding: 11px 18px;
    font-size: 14px;
  }

  .float-btn {
    width: 46px;
    height: 46px;
    font-size: 20px;
  }

  /* Footer 1 cột */
  .fgrid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer h4 {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .footer p,
  .footer li {
    font-size: 13px;
  }

  .footer-address,
  .footer-hours {
    font-size: 12px;
  }

  .footer-contact a {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  .hero {
    padding: 22px 0 20px;
  }

  .hero h1 {
    font-size: 20px !important;
  }

  .hero .lead {
    font-size: 13px;
  }

  .hero-visual {
    max-height: 200px;
    border-radius: 14px;
  }

  .hero-stats .stat {
    padding: 8px 10px;
  }

  .hero-stats .stat strong {
    font-size: 18px;
  }

  section {
    padding: 24px 0;
  }

  .section-header h2 {
    font-size: 18px;
  }

  .section-header p {
    font-size: 13px;
  }

  /* Touch targets */
  .cta,
  .ghost,
  .cta-submit,
  #mobileMenu a {
    min-height: 44px;
  }

  /* Use case section */
  #ung-dung {
    padding: 24px 14px;
    border-radius: 16px;
  }

  /* Compare table on very small screen */
  .compare-table {
    min-width: 480px;
  }

  .compare-note {
    font-size: 12px;
    padding: 10px 14px;
  }

  /* Floating buttons */
  .floating-btns {
    bottom: 16px;
    right: 12px;
    gap: 10px;
  }

  .float-btn {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  /* Footer */
  .footer {
    padding: 30px 0 0;
  }

  .footer-bottom {
    padding: 14px 0;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
  animation: fadeIn 0.2s ease-out;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
  cursor: default;
  transform: scale(0.9);
  transition: transform 0.2s;
}

.lightbox.active img {
  transform: scale(1);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}