/* ============================================================
   HÚT KHÁCH (hutkhach.vn) — lớp giao diện riêng, nạp SAU style.css.
   Nguyên tắc: các section marketing theo Prototype A (nền trắng sáng,
   cam = hành động, xanh lá = tin cậy/số liệu). Hai khu chức năng
   (#dung-thu, #nap-credits) giữ nền tối nguyên bản của style.css để
   flow V7 + nạp lượt hiển thị đúng như đã kiểm chứng trên o2ostudio.com.
   Mọi selector đều khóa trong body.hk — không rò sang web studio.
   ============================================================ */

body.hk {
  background: #ffffff;
  color: #12263a;
}
body.hk a { color: #0b6e99; }

/* Header sáng */
body.hk .site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e3ecf3;
}
body.hk .brand-name { color: #0b2545; }
body.hk .brand-tag { color: #c25e10; }
body.hk .header-nav a { color: #33506b; }
body.hk .header-nav a:hover { color: #0b2545; }
body.hk .header-nav a.btn { color: #ffffff; }

/* Section sáng */
body.hk .section-title { color: #0b2545; }
body.hk .section-sub { color: #4a6076; }
body.hk .section-alt { background: #f5f8fa; }

/* Hero */
body.hk .hero h1 { color: #0b2545; }
body.hk .hero-sub { color: #40586e; }
body.hk .hero-eyebrow { color: #c25e10; }
body.hk .hero-zalo { color: #0b6e99; }
body.hk .trust-chip {
  background: #eef6f1;
  color: #146c4c;
  border: 1px solid #cfe8da;
}
.hk-hero-figure { max-width: 880px; margin: 30px auto 0; }
.hk-hero-note { text-align: center; color: #5b7186; font-size: 0.9rem; margin-top: 10px; }

/* ===== Thanh trượt so sánh trước/sau ===== */
.ba {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 4 / 3;
  background: #0b2545;
  box-shadow: 0 10px 30px rgba(9, 32, 58, 0.16);
}
.ba img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}
.ba .ba-before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba-handle {
  position: absolute; top: 0; bottom: 0;
  left: var(--pos, 50%);
  width: 2px; margin-left: -1px;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}
.ba-handle::after {
  content: "⇔";
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #ffffff; color: #0b2545;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 700;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.ba-tag {
  position: absolute; top: 10px; z-index: 2;
  font-size: 0.72rem; font-weight: 700;
  padding: 4px 9px; border-radius: 999px;
  background: rgba(8, 28, 50, 0.75); color: #ffffff;
  pointer-events: none;
}
.ba-tag-l { left: 10px; }
.ba-tag-r { right: 10px; background: var(--orange); }
.ba-range {
  position: absolute; inset: 0; z-index: 3;
  width: 100%; height: 100%;
  margin: 0; opacity: 0;
  cursor: ew-resize;
}

/* ===== Khối số thật (xanh lá = tin cậy) ===== */
.hk-proof-nums {
  display: flex; flex-wrap: wrap; gap: 18px;
  justify-content: center; text-align: center;
  margin: 8px 0 6px;
}
.hk-proof-num { min-width: 170px; }
.hk-proof-num strong {
  display: block;
  font-size: 2.6rem; line-height: 1.05;
  color: #149a6c; font-weight: 800;
}
.hk-proof-num span { color: #40586e; font-weight: 600; }
.hk-bars { max-width: 640px; margin: 22px auto 0; }
.hk-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.hk-bar label { flex: 0 0 150px; text-align: right; color: #33506b; font-size: 0.92rem; }
.hk-bar .hk-track { flex: 1; background: #e6eef5; border-radius: 999px; height: 16px; overflow: hidden; }
.hk-bar .hk-fill { height: 100%; background: linear-gradient(90deg, #17b978, #149a6c); border-radius: 999px; }
.hk-bar b { flex: 0 0 44px; color: #0b2545; }
.hk-proof-note { text-align: center; color: #5b7186; font-size: 0.9rem; margin-top: 14px; }

/* ===== Thẻ ngành ===== */
.hk-ind-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.hk-ind-card {
  background: #ffffff;
  border: 1px solid #e3ecf3;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 4px 18px rgba(9, 32, 58, 0.06);
}
.hk-ind-card h3 { color: #0b2545; margin: 14px 4px 6px; }
.hk-ind-card p { color: #40586e; margin: 0 4px 8px; }

/* ===== 3 bước ===== */
.hk-steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.hk-step {
  background: #ffffff;
  border: 1px solid #e3ecf3;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 18px rgba(9, 32, 58, 0.06);
}
.hk-step h3 { color: #0b2545; margin: 12px 2px 6px; }
.hk-step p { color: #40586e; margin: 0 2px; }
.hk-step img.step-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; display: block; }
.hk-step .step-num { position: static; margin-bottom: 4px; }

/* ===== Mockup điện thoại (bước 3) ===== */
.hk-phone {
  width: 292px; max-width: 100%;
  margin: 4px auto 0;
  background: #101418;
  border-radius: 38px;
  padding: 10px;
  box-shadow: 0 18px 40px rgba(9, 32, 58, 0.28);
}
.hk-phone-screen { background: #e9f2ec; border-radius: 30px; overflow: hidden; }
.hk-map {
  height: 138px; position: relative;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 33px, rgba(110, 145, 120, 0.28) 34px),
    repeating-linear-gradient(90deg, transparent, transparent 33px, rgba(110, 145, 120, 0.28) 34px),
    linear-gradient(160deg, #e4f0e6, #d3e7f2);
}
.hk-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hk-pin {
  position: absolute; right: 52px; top: 30px;
  width: 26px; height: 26px;
  background: var(--orange);
  border: 3px solid #ffffff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
}
.hk-listing { background: #ffffff; padding: 12px 14px 16px; }
.hk-listing img { width: 100%; height: 128px; object-fit: cover; border-radius: 10px; display: block; }
.hk-listing h4 { margin: 10px 0 2px; color: #12263a; font-size: 1.02rem; }
.hk-listing .hk-meta { color: #5b7186; font-size: 0.84rem; margin: 0 0 12px; }
.hk-actions { display: flex; gap: 8px; }
.hk-dir {
  position: relative; flex: 1;
  background: #1a73e8; color: #ffffff;
  border: none; border-radius: 999px;
  padding: 10px 6px; font-weight: 700; font-size: 0.92rem;
  cursor: pointer;
}
.hk-dir::after {
  content: ""; position: absolute; inset: 0; border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(26, 115, 232, 0.45);
  animation: hkping 1.8s ease-out infinite;
}
@keyframes hkping {
  0% { box-shadow: 0 0 0 0 rgba(26, 115, 232, 0.45); }
  70% { box-shadow: 0 0 0 12px rgba(26, 115, 232, 0); }
  100% { box-shadow: 0 0 0 0 rgba(26, 115, 232, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hk-dir::after { animation: none; }
}
.hk-ghost-btn {
  flex: 0 0 auto;
  background: #ffffff; color: #1a73e8;
  border: 1px solid #c9d8e4; border-radius: 999px;
  padding: 10px 14px; font-weight: 600; font-size: 0.92rem;
}

/* ===== Hai khu chức năng: nền tối nguyên bản ===== */
body.hk .hk-dark-section {
  background: linear-gradient(180deg, var(--navy-top), var(--navy-bot));
}
body.hk .hk-dark-section .section-title { color: #ffffff; }
body.hk .hk-dark-section .section-sub { color: var(--mist); }

/* ===== Bảng giá (thẻ sáng tự quản) ===== */
.hk-price-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.hk-price-card {
  background: #ffffff; border: 1px solid #e3ecf3; border-radius: 16px;
  padding: 22px; box-shadow: 0 4px 18px rgba(9, 32, 58, 0.06);
}
.hk-price-card.featured { border: 2px solid var(--orange); }
.hk-price-card h3 { color: #0b2545; margin: 0 0 8px; font-size: 1.05rem; letter-spacing: 0.02em; }
.hk-price-card .hk-price { color: var(--orange); font-size: 1.9rem; font-weight: 800; margin: 0 0 10px; }
.hk-price-card .hk-price span { font-size: 0.95rem; color: #5b7186; font-weight: 600; }
.hk-price-card ul { margin: 0; padding-left: 18px; color: #40586e; }
.hk-price-card li { margin-bottom: 6px; }
.hk-commit { max-width: 760px; margin: 22px auto 0; color: #40586e; }
.hk-dfy-note { color: #40586e; max-width: 820px; }

/* ===== FAQ sáng ===== */
.hk-faq details {
  background: #ffffff; border: 1px solid #e3ecf3; border-radius: 12px;
  padding: 14px 18px; margin-bottom: 10px;
}
.hk-faq summary { font-weight: 700; color: #0b2545; cursor: pointer; }
.hk-faq p { color: #40586e; margin: 8px 0 2px; }

/* ===== Footer sáng ===== */
body.hk .site-footer { background: #f2f6f9; color: #40586e; }
body.hk .footer-brand { color: #0b2545; }
body.hk .footer-small { color: #5b7186; }

/* ===== CTA dính đáy (mobile) ===== */
.hk-sticky-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid #e3ecf3;
  box-shadow: 0 -6px 20px rgba(9, 32, 58, 0.12);
}
.hk-sticky-cta a { display: block; text-align: center; }
@media (max-width: 760px) {
  .hk-sticky-cta { display: block; }
  body.hk { padding-bottom: 64px; }
  .hk-bar label { flex-basis: 108px; }
}
