/* ==========================================================================
   WeCare — shared styles
   Design tokens mirror DESIGN.md. Brand color, logo and ⟦VN⟧/⟦TBD⟧ numbers
   are SWAP points for when the WeCare Vietnam team responds.
   ========================================================================== */

:root {
  /* surface */
  --bg: #ffffff;
  --surface: #f4f6fa;          /* light blue-grey panel */
  --surface-ink: #10182b;      /* dark navy footer / dark sections */
  --on-surface-ink: #c6cedd;
  --hairline: #d4dae6;
  --hairline-soft: #e2e7ef;
  /* text */
  --ink: #1d2330;
  --charcoal: #4a5163;
  --muted: #6b7384;
  /* brand identity — TEAL (matches the WeCare hex logo) */
  --brand: #1c7d94;
  --brand-deep: #155e70;
  --brand-soft: #e0f0f4;       /* light-teal tint for icon bg / table win column */
  /* conversion CTA — AMBER (the single reserved action color) */
  --cta: #bf8f00;
  --cta-deep: #9c7400;
  --on-cta: #1d2330;           /* dark text on amber for AA contrast */
  --accent: #bf8f00;
  /* semantic */
  --success: #548235;
  --danger: #c00000;
  /* layout */
  --maxw: 1200px;
  --pad: 24px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Be Vietnam Pro', sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--brand); color: #fff; }
a { color: inherit; }
img { max-width: 100%; display: block; }

/* ----- layout helpers ----- */
.container { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding-top: clamp(56px, 9vw, 96px); padding-bottom: clamp(56px, 9vw, 96px); }
.section--surface { background: var(--surface); border-top: 1px solid var(--hairline-soft); border-bottom: 1px solid var(--hairline-soft); }

/* ----- typography ----- */
.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}
.h2 {
  margin: 14px 0 0;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.01em;
  text-wrap: balance;
}
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; color: var(--charcoal); }
.section-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; }
.link-arrow {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand);
  text-decoration: none; border-bottom: 1px solid var(--brand); padding-bottom: 3px;
}

/* ----- buttons ----- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 8px; text-decoration: none; cursor: pointer;
  transition: all 250ms var(--ease);
}
.btn-brand { background: var(--cta); color: var(--on-cta); border: 1px solid var(--cta); padding: 15px 30px; }
.btn-brand:hover { background: var(--cta-deep); border-color: var(--cta-deep); box-shadow: 4px 4px 0 var(--ink); transform: translate(-2px, -2px); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); padding: 14px 29px; }
.btn-outline:hover { background: var(--ink); color: #fff; box-shadow: 4px 4px 0 var(--brand); transform: translate(-2px, -2px); }
.btn-block { width: 100%; justify-content: center; border: none; padding: 15px; }
.btn-zalo { background: #0068ff; color: #fff; border: 1px solid #0068ff; padding: 15px 30px; }
.btn-zalo:hover { background: #0055d4; border-color: #0055d4; box-shadow: 4px 4px 0 var(--ink); transform: translate(-2px, -2px); }
.btn-zalo img { border-radius: 4px; }

/* ----- cards (problem / why / category / testimonial) ----- */
.card {
  background: var(--bg); border: 1px solid var(--hairline-soft); border-radius: 12px;
  padding: 26px; transition: all 250ms var(--ease);
}
.card:hover { border-color: var(--brand); box-shadow: 4px 4px 0 var(--ink); transform: translate(-3px, -3px); }
.card h3 { margin: 0 0 8px; font-size: 20px; font-weight: 700; line-height: 1.3; }
.card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--charcoal); }
.card-icon {
  width: 46px; height: 46px; border-radius: 10px; background: var(--surface);
  display: flex; align-items: center; justify-content: center; color: var(--ink); margin-bottom: 18px;
}
.card-icon--brand { background: var(--brand-soft); color: var(--brand); }

.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ----- hero ----- */
.hero { border-bottom: 1px solid var(--hairline-soft); }
.hero-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(32px, 5vw, 64px); align-items: center;
  padding: clamp(48px, 7vw, 84px) var(--pad) clamp(40px, 5vw, 56px);
  max-width: var(--maxw); margin: 0 auto;
}
.hero h1 {
  margin: 18px 0 0; font-size: clamp(40px, 6vw, 68px); font-weight: 800;
  line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance;
}
.hero h1 .accent { color: var(--brand); }
.hero p { margin: 22px 0 0; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-visual img { width: 100%; height: auto; display: block; }
.hero-photo {
  position: relative; min-height: 340px; border-radius: 16px; overflow: hidden;
  background: #e9e7e1; background-image: linear-gradient(135deg, #edebe5, #e0ddd5);
}
.hero-photo .hatch { position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(20,19,15,0.035) 0 2px, transparent 2px 16px); }
.hero-photo .glyph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #b6b2a8; }
/* real-image variant of the photo box (hides the placeholder glyph/caption) */
.hero-photo.photo--real { background-size: cover; background-position: center; background-repeat: no-repeat; }
.hero-photo.photo--real > * { display: none; }
.photo-caption {
  position: absolute; left: 16px; bottom: 16px; background: rgba(255,255,255,0.92);
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--charcoal); padding: 6px 11px; border-radius: 6px;
}

/* full-bleed cinematic photo hero */
.hero--photo {
  position: relative; min-height: clamp(540px, 82vh, 720px);
  display: flex; align-items: center; overflow: hidden;
  background: #0e1620 center / cover no-repeat;
  border-bottom: 1px solid var(--hairline-soft);
}
.hero--photo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,18,26,0.94) 0%, rgba(10,18,26,0.82) 30%, rgba(10,18,26,0.42) 58%, rgba(10,18,26,0.12) 100%);
}
.hero--photo .hero-inner { position: relative; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: clamp(56px, 9vw, 96px) var(--pad); }
.hero--photo .eyebrow { color: #8fcfe0; }
.hero--photo h1 { color: #fff; margin: 16px 0 0; max-width: 640px; font-size: clamp(40px, 6vw, 68px); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
.hero--photo h1 .accent { color: #5cc2da; }
.hero--photo .lead { color: #cdd6e0; max-width: 520px; }
.hero--photo .hero-actions { margin-top: 32px; }
@media (max-width: 780px) {
  .hero--photo { min-height: 520px; }
  .hero--photo::before { background: linear-gradient(180deg, rgba(10,18,26,0.66) 0%, rgba(10,18,26,0.88) 100%); }
}

/* ----- stat cards (hero) ----- */
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; padding: 0 var(--pad) clamp(40px, 5vw, 64px); max-width: var(--maxw); margin: 0 auto; }
.stat-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: 12px; padding: 24px; transition: all 200ms var(--ease); }
.stat-card:hover { box-shadow: inset 3px 0 0 var(--brand); transform: translate(-2px, -2px); }
.stat-card .num { font-size: clamp(34px, 4vw, 44px); font-weight: 800; line-height: 1; letter-spacing: -0.02em; color: var(--ink); }
.stat-card .lbl, .mono-lbl { margin-top: 10px; font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* ----- trust bar ----- */
.trust { background: var(--surface); border-bottom: 1px solid var(--hairline-soft); }
.trust-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; justify-content: center; padding: 32px var(--pad); max-width: var(--maxw); margin: 0 auto; }
.trust-logos { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; opacity: 0.62; }
.trust-logos span { font-weight: 800; font-size: 18px; color: var(--muted); }

/* ----- category cards ----- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 40px; }
.cat-card {
  text-decoration: none; color: inherit; background: var(--bg);
  border: 1px solid var(--hairline-soft); border-radius: 16px; padding: 24px;
  display: flex; flex-direction: column; gap: 14px; transition: all 250ms var(--ease);
}
.cat-card:hover { border-color: var(--brand); box-shadow: 4px 4px 0 var(--ink); transform: translate(-3px, -3px); }
.cat-card .cat-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--surface); display: flex; align-items: center; justify-content: center; color: var(--ink); }
.cat-card .cat-icon img { width: 32px; height: 32px; object-fit: contain; display: block; }
.cat-card h3 { margin: 0 0 4px; font-size: 18px; font-weight: 700; }
.cat-card .skus { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }

/* ----- comparison table ----- */
.table-wrap { margin-top: 40px; background: var(--bg); border: 1px solid var(--hairline); border-radius: 12px; overflow: hidden; }
.table-scroll { overflow-x: auto; }
table.compare { width: 100%; border-collapse: collapse; min-width: 560px; }
table.compare th {
  text-align: left; padding: 18px 22px; font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--hairline);
}
table.compare th.win { font-weight: 600; color: var(--brand-deep); background: var(--brand-soft); border-bottom-color: #cfe5dc; }
table.compare tbody { font-size: 15px; color: var(--ink); }
table.compare tr { transition: background 150ms; }
table.compare tbody tr:hover { background: #faf9f6; }
table.compare td { padding: 18px 22px; border-bottom: 1px solid var(--hairline-soft); }
table.compare tbody tr:last-child td { border-bottom: none; }
table.compare td.crit { font-weight: 600; }
table.compare td.trad { color: var(--charcoal); }
table.compare td.win { background: var(--brand-soft); font-weight: 600; }

/* ----- proof stats band ----- */
.proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.proof { border-left: 2px solid var(--brand); padding-left: 20px; }
.proof .num { font-size: clamp(36px, 5vw, 56px); font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.proof .lbl { margin-top: 10px; font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* ----- testimonials ----- */
.tcard { background: var(--bg); border: 1px solid var(--hairline-soft); border-radius: 12px; padding: 28px; transition: all 250ms var(--ease); }
.tcard:hover { border-color: var(--brand); box-shadow: 4px 4px 0 var(--ink); transform: translate(-3px, -3px); }
.tcard .quote { margin: 0 0 22px; font-size: 17px; line-height: 1.6; color: var(--ink); }
.badge-sample { display: inline-block; background: #eceff4; color: var(--muted); border: 1px solid var(--hairline); font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 4px; padding: 3px 8px; margin-bottom: 16px; }
.tcard .person { display: flex; align-items: center; gap: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 9999px; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.avatar--brand { background: var(--brand); }
.avatar--ink { background: var(--ink); }
.person .name { font-weight: 700; font-size: 15px; }
.person .role { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }
.tcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 40px; }

/* ----- lead form ----- */
.lead-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(32px, 5vw, 56px); align-items: start; }
.lead-points { display: flex; flex-direction: column; gap: 16px; max-width: 380px; }
.lead-point { display: flex; gap: 12px; align-items: center; font-size: 15px; color: var(--ink); }
.lead-point .check { width: 24px; height: 24px; border-radius: 9999px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
/* Zalo official-account contact card */
.zalo-card { margin-top: 28px; max-width: 420px; display: flex; gap: 20px; align-items: center;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: 16px; padding: 20px 22px; }
.zalo-card .zc-info { flex: 1; min-width: 0; }
.zalo-card .zc-head { display: flex; align-items: center; gap: 11px; }
.zalo-card .zc-head img { border-radius: 8px; }
.zalo-card .zc-name { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; color: var(--ink); line-height: 1.2; }
.zalo-card .zc-name svg { flex-shrink: 0; }
.zalo-card .zc-sub { font-size: 12px; color: var(--muted); margin-top: 3px; }
.zalo-card .zc-msg { margin-top: 14px; padding: 11px 18px; font-size: 11px; }
.zalo-card .zc-phone { display: inline-block; margin-top: 12px; margin-left: 4px; font-family: 'IBM Plex Mono', monospace;
  font-size: 13px; color: var(--ink); text-decoration: none; vertical-align: middle; }
.zalo-card .zc-phone:hover { color: var(--brand); }
.zalo-card .zc-qr-wrap { text-align: center; flex-shrink: 0; }
.zalo-card .zc-qr { width: 104px; height: 104px; border-radius: 10px; display: block; border: 1px solid var(--hairline); }
.zalo-card .zc-qr-cap { display: block; margin-top: 6px; font-size: 10px; letter-spacing: 0.04em; color: var(--muted);
  font-family: 'IBM Plex Mono', monospace; text-transform: uppercase; }
@media (max-width: 520px) { .zalo-card { flex-direction: column-reverse; align-items: flex-start; } }
.form-card { background: var(--bg); border: 1px solid var(--hairline); border-radius: 16px; padding: clamp(24px, 4vw, 32px); }
.form-error { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: #fcebea; border: 1px solid #f2c4c0; color: #b3261e; font-size: 14px; }

/* Customer logo bar */
.cust-logos { padding-top: clamp(28px, 4vw, 44px); padding-bottom: clamp(28px, 4vw, 44px); }
.cust-head { display: block; text-align: center; }
.cust-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 26px 44px; margin-top: 26px; }
.cust-row img { height: 40px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: 0.65; transition: filter 0.2s, opacity 0.2s; }
.cust-row img:hover { filter: grayscale(0); opacity: 1; }
@media (max-width: 600px) { .cust-row { gap: 20px 30px; } .cust-row img { height: 32px; max-width: 120px; } }
.form-fields { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }
.form-card label { display: block; font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.form-card input, .form-card select {
  width: 100%; height: 46px; background: #fff; border: 1px solid var(--hairline);
  border-radius: 8px; padding: 12px 14px; font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 16px; color: var(--ink);
}
.form-card input:focus, .form-card select:focus { border: 2px solid var(--brand); outline: none; }
.form-success { text-align: center; padding: 30px 10px; }
.form-success .check-lg { width: 56px; height: 56px; border-radius: 9999px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.form-success h3 { margin: 0 0 8px; font-size: 22px; font-weight: 700; }
.form-success p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--charcoal); }
.is-hidden { display: none !important; }

/* Best-seller quick search */
.bs-search { position: relative; max-width: 540px; margin: 26px 0 6px; }
.bs-search > svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.bs-search input { width: 100%; padding: 14px 16px 14px 46px; border: 1px solid var(--hairline); border-radius: 12px;
  font-family: inherit; font-size: 15px; color: var(--ink); background: var(--bg); transition: border-color 0.2s; }
.bs-search input::placeholder { color: var(--muted); }
.bs-search input:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px var(--brand-soft); }
.bs-count { margin: 4px 0 0; font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.04em; color: var(--muted); text-transform: uppercase; }
.bs-noresult { margin-top: 22px; padding: 22px; background: var(--surface); border: 1px solid var(--hairline); border-radius: 14px; color: var(--ink); font-size: 15px; line-height: 1.6; }
.bs-noresult a { color: var(--brand); font-weight: 700; }

/* ==========================================================================
   NAV
   ========================================================================== */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: transparent; }
.scroll-progress > span { display: block; height: 100%; width: 0%; background: var(--brand); transition: width 80ms linear; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--hairline-soft); }
.nav { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand-mark { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark .logo { width: 30px; height: 30px; border-radius: 7px; background: var(--brand); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 17px; line-height: 1; }
.brand-mark .logo-mark { width: 34px; height: 31px; display: block; flex: none; }
.brand-mark .logo-real { height: 44px; width: auto; display: block; flex: none; }
.brand-mark .name { font-weight: 800; font-size: 19px; letter-spacing: -0.01em; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-link { position: relative; font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; color: var(--muted); padding: 4px 0; transition: color 150ms; }
.nav-link:hover { color: var(--brand); }
.nav-link.active { color: var(--brand); }
.nav-link.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -21px; height: 2px; background: var(--brand); }
.nav-cta { padding: 13px 22px; }
.lang-toggle { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--hairline); border-radius: 8px; padding: 6px 10px; font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.06em; flex: none; }
.lang-toggle button { background: none; border: none; cursor: pointer; font: inherit; color: var(--muted); padding: 2px; transition: color 150ms; }
.lang-toggle button:hover { color: var(--ink); }
.lang-toggle button.active { color: var(--brand); font-weight: 600; }
.lang-toggle .sep { color: var(--hairline); }
.burger { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--hairline); border-radius: 8px; cursor: pointer; flex-direction: column; gap: 4px; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); }
.mobile-menu { display: none; border-top: 1px solid var(--hairline-soft); background: #fff; padding: 8px var(--pad) 20px; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; font-family: 'IBM Plex Mono', monospace; font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--hairline-soft); }
.mobile-menu .btn { margin-top: 16px; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .burger { display: flex; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--surface-ink); color: var(--on-surface-ink); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 64px var(--pad) 40px; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.footer-brand .brand-mark { margin-bottom: 16px; }
.footer-brand .name { color: var(--on-surface-ink); }
.footer-brand p { margin: 0 0 20px; font-size: 14px; line-height: 1.6; color: #b9b8b2; max-width: 280px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { display: inline-flex; align-items: center; gap: 7px; font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 8px; padding: 8px 13px; text-decoration: none; }
.footer-social .zalo { background: var(--brand); color: #fff; padding: 9px 14px; }
.footer-social .ghost { background: transparent; border: 1px solid #3a3833; color: var(--on-surface-ink); }
.footer-col-head { margin: 0 0 16px; font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #7d7b74; }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 14px; color: #cfcec8; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: 14px; font-size: 14px; line-height: 1.5; color: #cfcec8; }
.footer-contact .k { display: block; font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: #7d7b74; letter-spacing: 0.06em; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid #2a2823; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.footer-bottom p { margin: 0; font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: #7d7b74; letter-spacing: 0.04em; }
.footer-bottom .legal { display: flex; gap: 20px; align-items: center; }
.footer-bottom .legal a, .footer-bottom .legal span { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: #9a9890; text-decoration: none; letter-spacing: 0.04em; }

/* ==========================================================================
   SHARED SECTION COMPONENTS (used across the 5 pages)
   ========================================================================== */
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* page header */
.page-header { border-bottom: 1px solid var(--hairline-soft); }
.page-header .inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(48px, 7vw, 80px) var(--pad) clamp(32px, 4vw, 48px); }
.page-header h1 { margin: 14px 0 0; font-size: clamp(34px, 5vw, 56px); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; }
.page-header .intro { margin: 18px 0 0; max-width: 640px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: var(--charcoal); }
.page-header--contact .inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: clamp(28px, 4vw, 56px); }
.page-header--contact .ph-text { flex: 1 1 440px; min-width: 0; }
.page-header--contact .zalo-card { margin-top: 0; flex: 0 1 420px; }
@media (max-width: 880px) { .page-header--contact .zalo-card { flex-basis: 100%; } }

/* trust chips (honest text chips instead of fake logos) */
.trust-chips { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 7px; background: var(--bg); border: 1px solid var(--hairline); border-radius: 8px; padding: 8px 14px; font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--brand); font-weight: 500; }
.chip-soft { background: var(--brand-soft); border-color: #cfe0f2; }

/* how it works — numbered steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 40px; }
.step { background: var(--bg); border: 1px solid var(--hairline-soft); border-radius: 12px; padding: 28px 24px; transition: all 250ms var(--ease); }
.step:hover { border-color: var(--brand); box-shadow: 4px 4px 0 var(--ink); transform: translate(-3px, -3px); }
.step .step-num { width: 40px; height: 40px; border-radius: 10px; background: var(--cta); color: var(--on-cta); font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.step h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; }
.step p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--charcoal); }

/* full-width brand band (story / vision / cta) */
.band { background: var(--brand); color: #fff; }
.band .inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(56px, 8vw, 88px) var(--pad); }
.band .eyebrow { color: #a9c4e8; }
.band h2 { color: #fff; max-width: 780px; }
.band p { margin: 18px 0 0; max-width: 680px; font-size: 17px; line-height: 1.65; color: #d7e3f4; }
.band--cta { text-align: center; }
.band--cta .inner { text-align: center; }
.band--cta h2 { margin-left: auto; margin-right: auto; }
.band--cta p { margin-left: auto; margin-right: auto; }
.band--cta .hero-actions { justify-content: center; margin-top: 30px; }

/* about badges */
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.badge { background: var(--brand-soft); color: var(--brand); border-radius: 20px; padding: 8px 16px; font-size: 13px; font-weight: 700; }

/* comparison yes/no marks reused on other pages */
.yes { color: var(--success); font-weight: 700; }
.no { color: var(--danger); font-weight: 700; }

/* contact channels */
.channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 32px; }
.channel { background: var(--bg); border: 1px solid var(--hairline-soft); border-radius: 12px; padding: 22px; transition: all 250ms var(--ease); }
.channel:hover { border-color: var(--brand); box-shadow: 4px 4px 0 var(--ink); transform: translate(-3px, -3px); }
.channel .k { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.channel .v { margin-top: 8px; font-size: 18px; font-weight: 700; color: var(--brand); }
.channel .v.is-email { font-size: 15px; line-height: 1.3; word-break: break-word; overflow-wrap: anywhere; }
.channel .note { margin-top: 4px; font-size: 13px; color: var(--charcoal); }

/* FAQ accordion */
.faq { margin-top: 32px; border-top: 1px solid var(--hairline); }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: 'Be Vietnam Pro', sans-serif; font-size: 17px; font-weight: 700; color: var(--ink); }
.faq-q .ico { flex-shrink: 0; transition: transform 250ms var(--ease); color: var(--brand); font-size: 22px; line-height: 1; }
.faq-item.open .faq-q .ico { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 300ms var(--ease); }
.faq-a p { margin: 0 0 20px; font-size: 15px; line-height: 1.6; color: var(--charcoal); max-width: 720px; }

/* ==========================================================================
   BEST SELLERS — product cards with real photos
   ========================================================================== */
.bs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; margin-top: 40px; }
.prod-card { background: var(--bg); border: 1px solid var(--hairline-soft); border-radius: 14px; overflow: hidden; transition: all 250ms var(--ease); }
.prod-card:hover { border-color: var(--brand); box-shadow: 4px 4px 0 var(--ink); transform: translate(-3px, -3px); }
.prod-card .img { aspect-ratio: 4 / 3; background: var(--surface); }
.prod-card .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prod-card .body { padding: 14px 16px 16px; }
.prod-card .nm { font-weight: 700; font-size: 15px; line-height: 1.3; }
.prod-card .sku { margin-top: 5px; font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.02em; color: var(--muted); }

/* ==========================================================================
   FLOATING ZALO CONTACT BUTTON (all pages, always visible)
   ========================================================================== */
.zalo-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 95;
  width: 58px; height: 58px; border-radius: 16px;
  background: transparent; color: #fff; text-decoration: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(0, 104, 255, 0.45);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.zalo-fab img { width: 100%; height: 100%; display: block; }
.zalo-fab::before {
  content: ""; position: absolute; inset: 0; border-radius: 16px;
  box-shadow: 0 0 0 0 rgba(0, 104, 255, 0.5); animation: zaloPulse 2.2s ease-out infinite;
}
@keyframes zaloPulse { 0% { box-shadow: 0 0 0 0 rgba(0,104,255,0.45); } 70% { box-shadow: 0 0 0 14px rgba(0,104,255,0); } 100% { box-shadow: 0 0 0 0 rgba(0,104,255,0); } }
.zalo-fab:hover { transform: scale(1.08); }
.zalo-fab svg { display: block; position: relative; }
.fab-tip {
  position: absolute; right: 70px; top: 50%; transform: translateY(-50%);
  background: var(--ink); color: #fff; font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; letter-spacing: 0.04em; padding: 7px 11px; border-radius: 8px;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.zalo-fab:hover .fab-tip, .contact-fab:hover .fab-tip { opacity: 1; }
.contact-fab {
  position: fixed; right: 24px; bottom: 96px; z-index: 95;
  padding: 14px 20px; border-radius: 14px;
  background: var(--brand); color: #fff; text-decoration: none;
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(28, 125, 148, 0.4);
  transition: transform 0.2s var(--ease), background 0.2s;
}
.contact-fab:hover { background: var(--brand-deep); }
.contact-fab:hover { transform: scale(1.08); }
@media (max-width: 880px) {
  .zalo-fab { bottom: 90px; right: 16px; width: 52px; height: 52px; }
  .contact-fab { display: none; }
}

/* ==========================================================================
   STICKY MOBILE CTA (appears after the hero; mobile only)
   ========================================================================== */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--hairline); box-shadow: 0 -6px 20px rgba(16, 24, 43, 0.08);
  transform: translateY(130%); transition: transform 0.3s var(--ease);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { width: 100%; justify-content: center; padding-top: 15px; padding-bottom: 15px; }
@media (max-width: 880px) { .sticky-cta { display: block; } }

/* ==========================================================================
   CATEGORY CATALOG MODAL
   ========================================================================== */
.cat-card { cursor: pointer; }
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: flex-start; justify-content: center;
  background: rgba(16, 24, 43, 0.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  padding: 6vh 16px; overflow-y: auto;
}
.modal-backdrop.open { display: flex; }
.modal {
  position: relative; width: 100%; max-width: 680px;
  background: var(--bg); border: 1px solid var(--hairline); border-radius: 16px;
  padding: clamp(24px, 4vw, 40px); box-shadow: 0 24px 60px rgba(16, 24, 43, 0.28);
  animation: modalIn 0.25s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 36px; height: 36px;
  border: 1px solid var(--hairline); background: #fff; border-radius: 8px; cursor: pointer;
  font-size: 20px; line-height: 1; color: var(--muted); transition: all 150ms;
}
.modal-close:hover { border-color: var(--brand); color: var(--brand); }
.modal-title { margin: 12px 0 0; font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -0.01em; }
.modal-blurb { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: var(--charcoal); max-width: 560px; }
.cat-items { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin-top: 22px; }
.cat-item { padding: 12px 0; border-bottom: 1px solid var(--hairline-soft); }
.cat-item .nm { font-weight: 700; font-size: 15px; color: var(--ink); }
.cat-item .sp { margin-top: 2px; font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.02em; color: var(--muted); }
.modal-note { margin: 22px 0 0; font-family: 'IBM Plex Mono', monospace; font-size: 11px; line-height: 1.5; letter-spacing: 0.02em; color: var(--muted); }
.modal-actions { margin-top: 22px; }
@media (max-width: 560px) { .cat-items { grid-template-columns: 1fr; } }

/* ==========================================================================
   RESPONSIVE REFINEMENTS
   ========================================================================== */

/* Tablet & below — balance the 4-up rows (stats, proof) into a clean 2x2 */
@media (max-width: 900px) {
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

/* Stack the hero so headline + photo each get full width */
@media (max-width: 780px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: clamp(40px, 8vw, 64px); }
  .hero-photo { min-height: 230px; } /* copy + CTA stay first; photo follows */
}

/* Small phones — tighten type, spacing, and stack the hero CTAs full-width */
@media (max-width: 480px) {
  :root { --pad: 18px; }
  .hero h1 { font-size: clamp(34px, 9vw, 44px); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .stat-card { padding: 20px; }
  .stat-card .num { font-size: 28px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof .num { font-size: 34px; }
  .card, .cat-card, .tcard { padding: 22px; }
  .footer-bottom { gap: 12px; }
}

/* Comparison table hint — let users know it scrolls sideways on small screens */
@media (max-width: 620px) {
  .table-scroll { -webkit-overflow-scrolling: touch; }
  .table-wrap { position: relative; }
}
