/* ============================================================
   BAT TECHNOLOGY — Website stylesheet
   Bộ nhận diện: logo V4 "Thiên Địa Nhân - Sinh Ngũ Hành" · font Be Vietnam Pro
   (nguồn chính thức: tai-lieu-goc/logo_v4/ — cánh xoay 9° Vận 9,
   BAT sắc Thủy #16324F, TECHNOLOGY sắc Kim, tagline SHAPING THE FUTURE)
   Quy tắc màu: cam lửa chỉ ~10–15% mỗi trang; xanh ngọc chỉ cho
   chi tiết nhỏ. Toàn site dùng NỀN SÁNG (kem/trắng), chữ than chì;
   logo dùng bản ĐỦ MÀU (symbol.svg) trên nền sáng.
   ============================================================ */

:root {
  /* Bảng màu thương hiệu (CLAUDE.md mục 5.1) */
  --fire:  #F2542D;   /* Cam lửa — màu nhấn chính */
  --amber: #F5A623;   /* Vàng hổ phách — nhấn phụ, gradient */
  --terra: #B45309;   /* Nâu đất nung — chi tiết trầm */
  --jade:  #45B584;   /* Xanh ngọc BAT — chỉ chi tiết nhỏ */
  --ink:   #2E2A26;   /* Than chì ấm — chữ & nền tối */
  --cream: #F7F3EC;   /* Nền sáng chủ đạo */
  --white: #FFFFFF;

  /* Trung tính dẫn xuất (đồng bộ với bảng thuyết minh logo) */
  --line:  #EDE4D7;                     /* viền nhạt trên nền sáng */
  --cream-deep: #F0E8DB;                /* kem đậm hơn — nền footer để tách khỏi nội dung phía trên */
  --muted: #6B6157;                     /* chữ phụ trên nền sáng (đạt AA) */
  --taupe: #8A7F73;                     /* nhãn trang trí nhỏ */
  --ink-deep: #211E1B;                  /* biến thể tối hơn của than chì cho gradient hero; chữ trên nền gradient cam (đạt AA) */
  --ink-warm: #3A332C;                  /* than chì ngả ấm — điểm cuối gradient thẻ sản phẩm nổi bật */
  --jade-deep: #2E7A58;                 /* xanh ngọc đậm hóa — chữ nhỏ trên nền sáng (đạt AA) */
  --on-dark-muted: rgba(247, 243, 236, .78); /* chữ phụ trên nền tối */
  --on-dark-line:  rgba(247, 243, 236, .16); /* viền trên nền tối */

  --grad-dawn: linear-gradient(135deg, #F2542D 0%, #F5A623 100%); /* gradient "bình minh" */

  /* Sắc "Kim" (Ngũ Hành) cho wordmark TECHNOLOGY — vàng ánh kim/champagne.
     Áp bằng background-clip:text lên chữ; --kim-solid là fallback đơn sắc
     cho trình duyệt cũ và cho bản in/khắc 1 màu. */
  --kim-solid: #9C7526;
  --grad-kim: linear-gradient(180deg, #F4E4B2 0%, #D3AB5C 30%, #9C7526 52%, #C99D4E 72%, #F0DFA8 100%);

  /* Sắc "Thủy" (Ngũ Hành) — nhận diện V4: chữ BAT trong wordmark và tagline
     SHAPING THE FUTURE. Khép kín vòng tương sinh Mộc→Hỏa→Thổ→Kim→Thủy.
     Xanh biển sâu, đạt AA trên nền sáng. */
  --thuy: #16324F;

  --font: 'Be Vietnam Pro', 'Montserrat', Arial, sans-serif;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 6px 24px rgba(46, 42, 38, .07);
  --shadow-card-hover: 0 14px 36px rgba(46, 42, 38, .13);
  --container: 1180px;
  --header-h: 76px;
}

/* ---------- Reset & nền tảng ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
:target { scroll-margin-top: calc(var(--header-h) + 16px); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--white); padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Nút bấm ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 0;
  font-family: var(--font); font-size: 16px; font-weight: 700; line-height: 1;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.btn-primary {
  background: var(--grad-dawn);
  color: var(--ink-deep);
  box-shadow: 0 6px 18px rgba(242, 84, 45, .32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(242, 84, 45, .42); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid rgba(46, 42, 38, .24);
}
.btn-ghost:hover { border-color: var(--ink); background: rgba(46, 42, 38, .05); }
.btn-outline {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-lg { padding: 17px 34px; font-size: 17px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0);
  transition: background-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 2px 18px rgba(46, 42, 38, .08);
  backdrop-filter: blur(10px);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-symbol { height: 44px; width: auto; }
.brand-text { color: var(--ink); font-size: 19px; letter-spacing: .14em; white-space: nowrap; }
/* BAT — sắc "Thủy" xanh biển sâu (nhận diện V4) */
.brand-text b { font-weight: 700; color: var(--thuy); }
/* TECHNOLOGY — sắc "Kim" vàng ánh kim.
   color: là fallback nếu trình duyệt không hỗ trợ background-clip:text. */
.brand-text span {
  font-weight: 300;
  color: var(--kim-solid);
  background: var(--grad-kim);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.site-nav a {
  color: var(--muted); font-size: 15px; font-weight: 500;
  padding: 6px 2px; border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--ink); border-color: var(--fire); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.hotline-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink); font-weight: 700; font-size: 15.5px;
  white-space: nowrap;
}
.hotline-link svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--fire); }
.hotline-link:hover { color: var(--terra); }
.header-cta .btn { padding: 11px 20px; font-size: 15px; }
.lang-switch {
  color: var(--muted); font-size: 14px; font-weight: 600;
  border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px;
}
.lang-switch:hover { color: var(--ink); border-color: var(--ink); }

.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 0; cursor: pointer; padding: 10px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--ink);
  margin: 5px 0; border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (nền sáng) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1100px 600px at 80% 8%, rgba(242, 84, 45, .10), transparent 60%),
              radial-gradient(900px 520px at 6% 92%, rgba(245, 166, 35, .14), transparent 55%),
              linear-gradient(168deg, var(--white) 0%, var(--cream) 100%);
  color: var(--ink);
  padding: calc(var(--header-h) + 72px) 0 84px;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 48px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--terra); margin-bottom: 20px;
}
.hero-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad-dawn); border-radius: 2px; }
.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px); font-weight: 700; letter-spacing: -.01em;
  margin-bottom: 20px; color: var(--ink);
}
.hero h1 .grad {
  background: var(--grad-dawn);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 18.5px; color: var(--muted); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 46px; }

.hero-stats {
  display: flex; flex-wrap: wrap; row-gap: 18px;
  border-top: 1px solid var(--line); padding-top: 26px;
}
.hero-stats .stat { padding-right: 22px; margin-right: 22px; border-right: 1px solid var(--line); }
.hero-stats .stat:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.stat-num {
  font-size: 30px; font-weight: 700; line-height: 1.1;
  background: var(--grad-dawn); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* Cụm minh họa bên phải hero: symbol trắng + thẻ tính năng nổi */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 480px; }
.hero-symbol { width: min(56%, 240px); height: auto; }
/* Chỉ hình TRANG TRÍ ở hero (aria-hidden) mới có chuyển động — logo thật ở header/footer
   giữ nguyên tĩnh theo quy tắc CLAUDE.md 5.3. Chỉ 3 cánh lửa xoay quanh gốc (0,0) = tâm điểm xanh;
   lõi xanh ngọc + cung chân trời đứng yên như trục quạt.
   Chuyển động thực hiện bằng SVG SMIL (<animateTransform> trong file HTML) để quay đúng quanh
   tọa độ user-space (0,0) trên mọi trình duyệt — không dùng CSS transform-origin (dễ lệch tâm). */
/* Các thẻ tính năng đặt ở RÌA khối hero (dải trên & dải dưới), tránh hoàn toàn
   vòng quét của 3 cánh lửa (bán kính ~64 đơn vị quanh điểm xanh ở giữa). */
.float-chip {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  max-width: 225px;
  background: rgba(255, 255, 255, .88); border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  border-radius: 14px; padding: 12px 16px;
  font-size: 13.5px; color: var(--ink);
  box-shadow: 0 12px 30px rgba(46, 42, 38, .12);
  animation: float 5.2s ease-in-out infinite;
}
.float-chip .dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.float-chip small { display: block; color: var(--muted); font-size: 12px; }
.chip-1 { top: 10px; right: 4%; animation-delay: 0s; }        /* dải trên, lệch phải */
.chip-2 { bottom: 12px; left: -3%; animation-delay: 1.6s; }   /* dải dưới, lệch trái */
.chip-3 { bottom: 12px; right: -3%; animation-delay: 3.1s; }  /* dải dưới, lệch phải */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- Section chung ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--white); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--terra); margin-bottom: 12px; /* nâu đất nung: chữ nhỏ đạt AA trên nền sáng */
}
.section-head h2 { font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -.01em; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

/* ---------- Nỗi đau (cards) ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pain-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.pain-card .icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(242, 84, 45, .10); color: var(--fire); margin-bottom: 18px;
}
.pain-card .icon svg { width: 24px; height: 24px; }
.pain-card h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 8px; }
.pain-card p { font-size: 14.5px; color: var(--muted); margin: 0; }

.pain-punchline {
  margin-top: 44px; text-align: center;
  font-size: clamp(18px, 2.2vw, 22px); font-weight: 600; color: var(--ink);
}
.pain-punchline .grad {
  background: linear-gradient(120deg, var(--fire), var(--terra));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Dải "60 giây của một cảnh báo" (nền sáng) ---------- */
.alert-strip { background: var(--white); padding: 64px 0; }
.alert-strip h2 { font-size: clamp(22px, 2.8vw, 30px); margin-bottom: 40px; }
.alert-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.alert-step { position: relative; padding: 0 10px; }
.alert-step .step-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--grad-dawn); color: var(--ink-deep); font-weight: 700; font-size: 14.5px;
  margin-bottom: 14px;
}
.alert-step:not(:last-child)::after {
  content: ""; position: absolute; top: 17px; left: calc(50% + 30px); right: calc(-50% + 30px);
  height: 1.5px; background: linear-gradient(90deg, rgba(245, 166, 35, .55), rgba(245, 166, 35, .12));
}
.alert-step h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 6px; }
.alert-step p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------- Giải pháp / sản phẩm ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.product-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.product-card.featured {
  grid-column: 1 / -1;
  background: linear-gradient(150deg, var(--white) 0%, var(--cream) 100%);
  border: 1.5px solid rgba(242, 84, 45, .30); overflow: hidden;
  box-shadow: var(--shadow-card-hover);
}
.product-card.featured::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(720px 420px at 88% 8%, rgba(242, 84, 45, .10), transparent 60%);
}
.product-badge {
  display: inline-block; align-self: flex-start;
  background: var(--grad-dawn); color: var(--ink-deep);
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  border-radius: 999px; padding: 6px 14px; margin-bottom: 18px;
}
.product-card h3 { font-size: 24px; margin-bottom: 10px; }
.product-card.featured h3 { font-size: clamp(24px, 2.6vw, 30px); color: var(--ink); }
.product-desc { font-size: 15.5px; color: var(--muted); }
.product-card.featured .product-desc { color: var(--muted); max-width: 640px; }
.product-values {
  list-style: none; margin: 22px 0 26px; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px;
}
.product-card.featured .product-values { grid-template-columns: repeat(3, 1fr); }
.product-values li {
  position: relative; padding-left: 26px; font-size: 14.5px; font-weight: 600;
}
.product-card.featured .product-values li { color: var(--ink); }
.product-values li small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.product-card.featured .product-values li small { color: var(--muted); }
.product-values li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--grad-dawn);
}
.product-cta { margin-top: auto; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.link-more { font-weight: 700; font-size: 15px; color: var(--terra); display: inline-flex; align-items: center; gap: 6px; }
.link-more:hover { color: var(--ink); }
.product-card.featured .link-more { color: var(--terra); }
.product-card.featured .link-more:hover { color: var(--ink); }

/* ---------- Kiến trúc 4 luồng ---------- */
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flow-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; position: relative;
}
.flow-no {
  font-size: 40px; font-weight: 700; line-height: 1;
  background: var(--grad-dawn); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 14px;
}
.flow-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.flow-card p { font-size: 14px; color: var(--muted); margin: 0; }
.flow-card:not(:last-child)::after {
  content: "→"; position: absolute; right: -17px; top: 42px;
  color: var(--terra); font-size: 20px; font-weight: 700; z-index: 1;
}

/* ---------- Lộ trình & con số ---------- */
.stat-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-bottom: 56px;
}
.stat-tile {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; text-align: center; box-shadow: var(--shadow-card);
}
.stat-tile .stat-num { font-size: 36px; }
.stat-tile .stat-label { color: var(--muted); }

.road-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.road-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-card);
}
.road-tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; border-radius: 999px; padding: 5px 13px; margin-bottom: 16px;
}
.road-tag.now { background: rgba(69, 181, 132, .14); color: var(--jade-deep); }   /* xanh ngọc — chi tiết nhỏ "gốc rễ" */
.road-tag.next { background: rgba(245, 166, 35, .16); color: var(--terra); }
.road-tag.vision { background: rgba(46, 42, 38, .07); color: var(--muted); }
.road-card h3 { font-size: 18px; margin-bottom: 12px; }
.road-card ul { list-style: none; margin: 0; padding: 0; }
.road-card li {
  position: relative; padding: 7px 0 7px 22px; font-size: 14.5px; color: var(--muted);
  border-bottom: 1px dashed var(--line);
}
.road-card li:last-child { border-bottom: 0; }
.road-card li::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--amber);
}
.road-card.now-card li::before { background: var(--jade); }

/* ---------- Đội ngũ ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; text-align: center;
}
.team-avatar {
  width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--grad-dawn);
  display: flex; align-items: center; justify-content: center;
}
.team-avatar svg { width: 34px; height: 34px; color: var(--white); }
.team-card h3 { font-size: 16.5px; margin-bottom: 4px; }
.team-role { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--terra); margin-bottom: 10px; }
.team-card p { font-size: 14px; color: var(--muted); margin: 0; }
.team-quote {
  margin: 52px auto 0; max-width: 640px; text-align: center;
  font-size: clamp(19px, 2.4vw, 24px); font-weight: 600; font-style: italic; color: var(--ink);
}
.team-quote span {
  background: var(--grad-dawn); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Liên hệ / form lead (nền sáng) ---------- */
.contact { background: linear-gradient(168deg, var(--cream) 0%, var(--white) 100%); color: var(--ink); }
.contact .section-head h2 { color: var(--ink); }
.contact .section-head p { color: var(--muted); }
.contact .eyebrow { color: var(--terra); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }

.contact-info h3 { color: var(--ink); font-size: 20px; margin-bottom: 18px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.contact-item .ci-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: rgba(242, 84, 45, .10); color: var(--fire);
  display: flex; align-items: center; justify-content: center;
}
.contact-item .ci-icon svg { width: 22px; height: 22px; }
.contact-item strong { display: block; font-size: 17px; color: var(--ink); }
.contact-item a strong:hover { color: var(--terra); }
.contact-item small { color: var(--muted); font-size: 13.5px; }
.contact-note {
  margin-top: 28px; padding: 18px 20px; border-radius: 14px;
  background: var(--white); border: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
}

.lead-form {
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 36px 32px;
  box-shadow: 0 18px 44px rgba(46, 42, 38, .12);
}
.lead-form h3 { font-size: 20px; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.field label .req { color: var(--fire); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--font); font-size: 15px; color: var(--ink);
  background: var(--cream);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--fire); box-shadow: 0 0 0 3px rgba(242, 84, 45, .14);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 96px; }
.lead-form .btn { width: 100%; margin-top: 6px; }
/* form-note là vùng aria-live: luôn có mặt trong DOM (rỗng), JS bơm nội dung khi gửi form
   để trình đọc màn hình đọc được thông báo */
.form-note { margin: 0; border-radius: 10px; color: var(--jade-deep); font-size: 14px; }
.form-note.show { margin-top: 16px; padding: 14px 16px; background: rgba(69, 181, 132, .12); }
.form-note a { text-decoration: underline; font-weight: 600; }
.form-hint { font-size: 12.5px; color: var(--muted); margin-top: 14px; margin-bottom: 0; text-align: center; }

/* ---------- Footer (nền sáng) ---------- */
.site-footer { background: var(--cream-deep); color: var(--muted); border-top: 1px solid var(--line); padding: 64px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  padding-bottom: 44px; border-bottom: 1px solid var(--line);
}
.footer-brand .brand-symbol { height: 52px; margin-bottom: 16px; }
.footer-brand .brand-text { font-size: 18px; color: var(--ink); }
/* Tagline V4 dưới cụm logo footer — cùng sắc Thủy với chữ BAT */
.brand-tagline { font-size: 11px; font-weight: 300; letter-spacing: .38em; color: var(--thuy); margin: 6px 0 0; }
.footer-brand p { font-size: 14px; max-width: 320px; margin-top: 14px; }
.site-footer h4 {
  color: var(--ink); font-size: 14px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; font-size: 14.5px; }
.site-footer a:hover { color: var(--terra); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  padding: 20px 0; font-size: 13px;
}

/* ---------- Thanh CTA cố định trên mobile ---------- */
.mobile-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
  box-shadow: 0 -4px 18px rgba(46, 42, 38, .10);
}
.mobile-cta .btn { flex: 1; padding: 13px 10px; font-size: 15px; }

/* ---------- Hiệu ứng xuất hiện ----------
   Chỉ ẩn nội dung khi chắc chắn JS đã chạy (html.js do <script> trong <head> gắn) —
   nếu JS không tải được, toàn bộ nội dung vẫn hiển thị bình thường. */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
/* Rule HIỆN phải cùng prefix html.js với rule ẨN — nếu không sẽ thua specificity
   (html.js .reveal = 0,2,1 > .reveal.in = 0,2,0) và nội dung ẩn vĩnh viễn */
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip { animation: none; }
  .btn, .pain-card, .product-card { transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .pain-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-card:not(:last-child)::after { display: none; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .alert-steps { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .alert-step:not(:last-child)::after { display: none; }
  .product-card.featured .product-values { grid-template-columns: repeat(2, 1fr); }
}

/* Header thu gọn sớm (≤1160px) để hàng ngang không bị tràn ở tablet ngang 901–1160px */
@media (max-width: 1160px) {
  .nav-toggle { display: block; order: 10; margin-left: 0; }
  .header-cta { margin-left: auto; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: rgba(255, 255, 255, .98); backdrop-filter: blur(10px);
    max-height: 0; overflow: hidden; visibility: hidden; /* ẩn khỏi tab-order khi menu đóng */
    transition: max-height .3s ease, visibility .3s;
  }
  .site-nav.open { max-height: 420px; visibility: visible; box-shadow: 0 18px 30px rgba(46, 42, 38, .14); }
  .site-nav ul { flex-direction: column; gap: 0; padding: 12px 24px 20px; }
  .site-nav a { display: block; padding: 13px 0; font-size: 16.5px; border-bottom: 1px solid var(--line); }
  .site-header { background: rgba(255, 255, 255, .94); box-shadow: 0 2px 18px rgba(46, 42, 38, .08); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { min-height: 490px; }
  /* minmax(0,1fr): track 1fr không co được dưới min-content của con (form có nút nhãn dài) → tràn ngang */
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .header-cta .btn, .header-cta .hotline-link span { display: none; }
  /* Header đã ẩn nút demo + số hotline → hiện thanh CTA đáy màn hình từ ngưỡng này */
  .mobile-cta { display: flex; }
  /* Chừa chỗ cho thanh CTA đáy: cộng thêm safe-area (iPhone có thanh home) — thanh CTA cũng cao thêm đúng chừng đó */
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: calc(var(--header-h) + 44px) 0 64px; }
  /* Nút đã full-width ở cỡ này → cho phép nhãn dài xuống dòng thay vì tràn ngang
     (white-space nowrap + grid 1fr là nguyên nhân tràn từ ~440px trở xuống) */
  .btn { white-space: normal; line-height: 1.25; }
  /* Màn hình hẹp: logo nhỏ lại + xếp 3 thẻ dọc (1 trên, 2 dưới) để không chạm nhau
     và không đè vào vòng quét cánh lửa */
  .hero-visual { min-height: 540px; }
  .hero-symbol { width: min(52%, 200px); }
  .float-chip { max-width: min(225px, 100%); }
  .chip-1 { top: 0; left: 0; right: auto; }
  /* chip-2 neo cả 2 mép để không bị hero overflow:hidden cắt ở màn rất hẹp */
  .chip-2 { bottom: 96px; left: 18%; right: 12px; }
  .chip-3 { bottom: 0; left: 0; right: auto; }
  /* Header gọn cho màn hình hẹp: tránh tràn ngang (hotline đã có ở thanh CTA đáy) */
  .header-inner { gap: 16px; }
  .brand-symbol { height: 38px; }
  .brand-text { font-size: 16px; letter-spacing: .1em; }
  .header-cta { gap: 10px; }
  .header-cta .hotline-link { display: none; }
  .pain-grid, .team-grid, .product-grid, .road-grid, .flow-grid { grid-template-columns: minmax(0, 1fr); }
  .alert-steps { grid-template-columns: 1fr; row-gap: 22px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats .stat { padding-right: 22px; margin-right: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .product-values { grid-template-columns: 1fr !important; }
}

/* Ô số liệu "24/7" cỡ chữ 36px không co được trong cột 2-cột quá hẹp → xếp 1 cột */
@media (max-width: 480px) {
  .stat-band { grid-template-columns: 1fr; }
}

/* Màn hình rất hẹp (Galaxy Fold đóng ~280px, máy cũ 320px):
   thu gọn padding + cụm brand để header không tràn/cắt nút menu */
@media (max-width: 360px) {
  .container { padding: 0 16px; }
  .header-inner { gap: 10px; }
  .brand { gap: 8px; }
  .brand-symbol { height: 32px; }
  .brand-text { font-size: 13px; letter-spacing: .05em; }
  .lang-switch { padding: 5px 8px; font-size: 13px; }
  .nav-toggle { padding: 10px 6px; }
  .lead-form { padding: 28px 18px; }
}
