/* ==========================================================================
   TIẾNG TRUNG HÀNH CHÍNH NHÂN SỰ – Landing Page
   Màu sắc lấy từ bìa sách: đen (#0b0b0c), vàng gold (#cf9a1e), đỏ (#c8102e)
   Font chỉnh trong :root — dễ đổi toàn bộ theme tại đây.
   ========================================================================== */

:root {
  /* ---- Màu thương hiệu (lấy từ bìa sách) ---- */
  --black: #0b0b0c;
  --black-2: #17140f;
  --gold: #cf9a1e;
  --gold-light: #e9c565;
  --gold-dark: #8a6a12;
  --red: #c8102e;
  --red-dark: #93081e;
  --cream: #faf6ec;
  --cream-2: #f1e9d6;
  --ink: #201d17;
  --ink-soft: #514a3c;
  --white: #ffffff;
  --border-soft: rgba(0,0,0,.08);

  /* ---- Typography ---- */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Be Vietnam Pro', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* ---- Layout ---- */
  --container-w: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 10px 30px rgba(11,11,12,.10);
  --shadow-strong: 0 20px 50px rgba(11,11,12,.35);
}

/* ---------------------------- Reset & base ---------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button { font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
}
.container-narrow { max-width: 720px; }

section.section { padding: 64px 0; }
.section-dark { background: var(--black); color: #ece7db; }
.section-dark .section-title { color: var(--white); }
.section-cream { background: var(--cream); }

.eyebrow {
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  font-size: 13px;
  margin: 0 0 10px;
}
.section-dark .eyebrow { color: var(--gold-light); }
.eyebrow-center { text-align: center; }

.section-title {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 18px;
  color: var(--ink);
}
.section-title-left { text-align: left; }
.section-title-center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }

.section-lead {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
  color: var(--ink-soft);
}
.section-dark .section-lead { color: #c9c2b0; }

.text-red { color: var(--red); }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------------------------- Buttons ---------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, var(--gold-dark));
  color: #241a04;
  box-shadow: 0 8px 22px rgba(207,154,30,.35);
}
.btn-primary:hover { box-shadow: 0 10px 26px rgba(207,154,30,.5); }
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,.35);
  color: inherit;
}
.hero .btn-ghost { border-color: rgba(11,11,12,.25); color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-dark); }
.btn-lg { padding: 17px 34px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-block { display: flex; width: 100%; }

/* ---------------------------- Header ---------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,11,12,.94);
  backdrop-filter: saturate(150%) blur(6px);
  border-bottom: 1px solid rgba(207,154,30,.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}
.brand-badge-star { font-size: 7px; display: block; margin-top: -4px; }
.brand-name { color: var(--white); font-weight: 700; letter-spacing: .04em; font-size: 14px; }
.brand-name em { color: var(--gold-light); font-style: normal; }

.main-nav { display: flex; gap: 26px; }
.main-nav a { color: #d9d3c2; font-size: 14px; font-weight: 600; transition: color .15s; }
.main-nav a:hover { color: var(--gold-light); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { display: flex; align-items: center; gap: 6px; color: var(--gold-light); font-weight: 700; font-size: 14px; }

/* ---------------------------- Hero ---------------------------- */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(207,154,30,.18), transparent 60%),
    linear-gradient(180deg, #ffffff, var(--cream) 100%);
  padding: 48px 0 60px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}
.hero-title {
  font-size: clamp(32px, 5.4vw, 54px);
  font-weight: 900;
  line-height: 1.12;
  color: var(--ink);
  margin: 6px 0 4px;
}
.hero-cn {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 28px);
  color: var(--gold-dark);
  font-weight: 700;
  margin: 0 0 18px;
}
.hero-desc { color: var(--ink-soft); font-size: 17px; max-width: 52ch; margin-bottom: 22px; }

.hero-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.price-old { color: #9a9284; text-decoration: line-through; font-size: 18px; }
.price-new { color: var(--red); font-size: 34px; font-weight: 800; font-family: var(--font-display); }
.price-badge {
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: .03em;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 14px; }
.hero-subline { color: var(--ink-soft); font-style: italic; margin-bottom: 22px; }

.hero-trust { display: flex; flex-direction: column; gap: 8px; }
.hero-trust li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.hero-trust svg { color: var(--gold-dark); flex-shrink: 0; }

.hero-media { position: relative; }
.hero-media img {
  margin: 0 auto;
  max-width: 420px;
  filter: drop-shadow(0 30px 40px rgba(11,11,12,.35));
}

/* ---------------------------- Problems ---------------------------- */
.problems-grid { margin-top: 30px; }
.problem-card {
  background: var(--black-2);
  border: 1px solid rgba(207,154,30,.2);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease;
}
.problem-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0,0,0,.35); }
.problem-card img { width: 100%; height: auto; display: block; }

/* ---------------------------- Book intro ---------------------------- */
.intro-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 48px;
  align-items: center;
}
.intro-media img { border-radius: var(--radius-sm); box-shadow: var(--shadow-strong); max-width: 340px; margin: 0 auto; }
.check-list { display: flex; flex-direction: column; gap: 12px; margin: 18px 0; }
.check-list li { position: relative; padding-left: 28px; font-size: 15px; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/60% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/60% no-repeat;
}
.quote-line {
  margin-top: 22px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  color: var(--gold-dark);
  border-left: 3px solid var(--gold);
  padding-left: 16px;
}

/* ---------------------------- Persona cards ---------------------------- */
.persona-grid { margin-top: 30px; }
.persona-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.persona-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(11,11,12,.14); }
.persona-visual {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid rgba(207,154,30,.25);
  background: var(--cream-2);
}
.persona-visual svg { width: 100%; height: 100%; display: block; }
.persona-body { padding: 20px 20px 24px; }
.persona-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.persona-card p { font-size: 14px; color: var(--ink-soft); }

/* ---------------------------- Learn grid ---------------------------- */
.learn-grid { margin-top: 10px; }
.learn-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 24px 20px;
  border-top: 3px solid var(--gold);
}
.learn-index { font-family: var(--font-display); font-weight: 800; color: var(--gold-dark); font-size: 22px; }
.learn-card h3 { font-size: 17px; margin: 8px 0; color: var(--ink); }
.learn-card p { font-size: 14px; color: var(--ink-soft); }

/* ---------------------------- Preview / video ---------------------------- */
.preview-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 36px;
  align-items: start;
  margin-top: 30px;
}
.preview-video video {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  border-radius: var(--radius);
  border: 2px solid rgba(207,154,30,.35);
  box-shadow: var(--shadow-strong);
  display: block;
  background: #000;
}
.preview-caption { text-align: center; margin-top: 12px; color: var(--gold-light); font-size: 14px; }

.preview-gallery { overflow: hidden; }
.gallery-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}
.gallery-track img {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: 200px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(207,154,30,.25);
  box-shadow: var(--shadow-soft);
}
.gallery-track::-webkit-scrollbar { height: 6px; }
.gallery-track::-webkit-scrollbar-thumb { background: rgba(207,154,30,.5); border-radius: 3px; }

/* ---------------------------- Method flow ---------------------------- */
.method-flow {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.method-step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  width: 220px;
  box-shadow: var(--shadow-soft);
}
.method-num {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gold);
  color: #241a04;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  font-family: var(--font-display);
}
.method-step h3 { font-size: 16px; margin-bottom: 8px; }
.method-step p { font-size: 13.5px; color: var(--ink-soft); }
.method-arrow { align-self: center; color: var(--gold-dark); font-size: 22px; font-weight: 700; }

/* ---------------------------- About team ---------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 48px;
  align-items: center;
}
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow-strong); max-width: 320px; margin: 0 auto; }
.link-arrow { display: inline-block; margin-top: 8px; color: var(--gold-dark); font-weight: 700; }
.link-arrow:hover { color: var(--red); }

/* ---------------------------- Feedback ---------------------------- */
.feedback-grid { margin-top: 30px; }
.feedback-card {
  background: var(--black-2);
  border: 1px solid rgba(207,154,30,.2);
  border-radius: var(--radius);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feedback-stars { color: var(--gold); letter-spacing: 2px; }
.feedback-card p { color: #d9d3c2; font-size: 14.5px; }
.feedback-person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.feedback-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gold);
  color: #241a04;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}
.feedback-person strong { display: block; color: var(--white); font-size: 14px; }
.feedback-person span { display: block; color: #a89f8a; font-size: 12.5px; }
.feedback-note { text-align: center; margin-top: 26px; color: #a89f8a; font-size: 13px; }

/* ---------------------------- Pricing repeat ---------------------------- */
.pricing-section { background: linear-gradient(180deg, var(--cream), #fff); }
.pricing-inner {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 44px;
  align-items: center;
}
.pricing-media img { max-width: 300px; margin: 0 auto; filter: drop-shadow(0 24px 34px rgba(11,11,12,.28)); }
.pricing-cn { font-family: var(--font-display); color: var(--gold-dark); font-size: 20px; margin-bottom: 14px; }
.pricing-price { margin-bottom: 20px; }

/* ---------------------------- FAQ ---------------------------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 6px 20px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 26px 16px 0;
  font-weight: 700;
  position: relative;
  font-size: 15.5px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 14px;
  font-size: 22px;
  color: var(--gold-dark);
  transition: transform .2s;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding-bottom: 18px; color: var(--ink-soft); font-size: 14.5px; }

/* ---------------------------- Final CTA ---------------------------- */
.final-cta {
  background: linear-gradient(135deg, var(--black), var(--black-2));
  text-align: center;
  padding: 72px 0;
}
.final-cta-title {
  color: var(--white);
  font-size: clamp(22px, 3.6vw, 32px);
  font-weight: 800;
  max-width: 720px;
  margin: 0 auto 30px;
  line-height: 1.4;
}

/* ---------------------------- Order form ---------------------------- */
.order-form {
  margin-top: 30px;
  background: var(--black-2);
  border: 1px solid rgba(207,154,30,.25);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 14px; font-weight: 600; color: #e9e3d3; }
.form-row label span { color: var(--red); }
.form-row input,
.form-row textarea {
  background: #0b0b0c;
  border: 1.5px solid rgba(207,154,30,.3);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  color: var(--white);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color .15s;
}
.form-row input::placeholder, .form-row textarea::placeholder { color: #7c7566; }
.form-row input:focus, .form-row textarea:focus { border-color: var(--gold); }
.form-row textarea { min-height: 90px; resize: vertical; }
.form-row.invalid input, .form-row.invalid textarea { border-color: var(--red); }
.form-error { color: #ff8a8a; font-size: 13px; min-height: 16px; }

.form-row-inline { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 16px; }
.form-row-inline > div:first-child { width: 110px; }
.form-total { text-align: right; color: #e9e3d3; }
.form-total span { display: block; font-size: 12px; color: #a89f8a; }
.form-total strong { font-family: var(--font-display); font-size: 22px; color: var(--gold-light); }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-note { color: #a89f8a; font-size: 12.5px; text-align: center; }
.form-status { text-align: center; font-weight: 700; min-height: 20px; }
.form-status.success { color: #6fd18a; }
.form-status.error { color: #ff8a8a; }

/* ---------------------------- Footer ---------------------------- */
.site-footer { background: var(--black); color: #c9c2b0; padding: 56px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p { margin-top: 12px; font-size: 14px; color: #a89f8a; }
.footer-brand .brand-name { display: block; margin-top: 10px; }
.footer-col h4 { color: var(--white); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: #c9c2b0; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { text-align: center; padding: 20px; font-size: 13px; color: #a89f8a; }

/* ---------------------------- Sticky mobile CTA ---------------------------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: rgba(11,11,12,.97);
  border-top: 1px solid rgba(207,154,30,.35);
  backdrop-filter: blur(6px);
}
.sticky-cta-price { color: var(--gold-light); line-height: 1.1; }
.sticky-cta-price span { display: block; font-weight: 800; font-size: 18px; font-family: var(--font-display); }
.sticky-cta-price small { color: #9a9284; text-decoration: line-through; }
.sticky-cta .btn { flex: 1; max-width: 220px; }

/* ============================================================
   RESPONSIVE — mobile-first adjustments
   ============================================================ */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-trust { align-items: center; }
  .hero-cta, .hero-price { justify-content: center; }
  .hero-media { order: -1; }
  .hero-media img { max-width: 280px; }
  .intro-grid, .about-grid, .pricing-inner { grid-template-columns: 1fr; text-align: center; }
  .intro-copy .check-list, .about-copy .check-list { text-align: left; }
  .preview-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-col ul { align-items: center; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .header-phone span { display: none; }
  section.section { padding: 48px 0; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero { padding: 34px 0 90px; }
  .hero-title { font-size: 30px; }
  .method-flow { flex-direction: column; align-items: center; }
  .method-arrow { transform: rotate(90deg); }
  .form-row-inline { flex-direction: row; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 74px; }
  .order-form { padding: 22px; }
}

@media (max-width: 400px) {
  .hero-price { gap: 8px; }
  .price-new { font-size: 28px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq-item summary::after { transition: none; }
}
