/* =====================================================================
   THẦY LAM — TỬ VI PHONG THỦY
   Design system theo brand guideline
   Màu: kem #F6F2E7 · be #D8C6A1 · đỏ mận #7A1F1F · nâu #3A2A20 · vàng #C8A24A
   Font: Be Vietnam Pro (nội dung) · Noto Serif (tiêu đề / wordmark)
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand palette */
  --cream: #f6f2e7;
  --sand: #d8c6a1;
  --maroon: #7a1f1f;
  --ink: #3a2a20;
  --gold: #c8a24a;

  /* Derived */
  --cream-2: #fbf8ef;
  --cream-3: #efe7d4;
  --maroon-deep: #5e1414;
  --maroon-soft: #95342f;
  --gold-soft: #ddc07a;
  --ink-soft: #6b5848;
  --line: rgba(58, 42, 32, 0.12);

  /* Logo theming (two-tone bagua) */
  --logo-fg: var(--maroon);
  --logo-bg: var(--cream);

  /* Typography */
  --font-sans: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Noto Serif", "Times New Roman", Georgia, serif;

  /* Spacing / layout */
  --container: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 16px;
  --radius-sm: 10px;
  --section-y: clamp(64px, 9vw, 120px);

  /* Effects */
  --shadow-sm: 0 2px 10px rgba(58, 42, 32, 0.08);
  --shadow-md: 0 14px 40px rgba(58, 42, 32, 0.12);
  --shadow-lg: 0 30px 70px rgba(58, 42, 32, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg,
picture { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--maroon);
  letter-spacing: -0.01em;
}

::selection { background: var(--gold); color: #fff; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }
.section--tint { background: var(--cream-2); }
.section--sand {
  background:
    radial-gradient(120% 90% at 50% -10%, var(--cream-2), transparent 60%),
    var(--cream-3);
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  text-align: center;
}

/* Dải họa tiết "triện sen" cung đình dưới mỗi tiêu đề mục */
.section-head::before,
.cta__inner::before {
  content: "";
  display: block;
  width: 210px;
  height: 24px;
  margin: 0 auto 18px;
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNDAgMzAiPiA8ZyBmaWxsPSIjYzhhMjRhIj4gPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTIwIDI0KSI+IDxwYXRoIGQ9Ik0wIDBDLTQuNiAtNiAtMy4yIC0xMyAwIC0xN0MzLjIgLTEzIDQuNiAtNiAwIDBaIi8+IDxwYXRoIGQ9Ik0wIDBDLTQuNiAtNiAtMy4yIC0xMyAwIC0xN0MzLjIgLTEzIDQuNiAtNiAwIDBaIiB0cmFuc2Zvcm09InJvdGF0ZSgzNSkiLz4gPHBhdGggZD0iTTAgMEMtNC42IC02IC0zLjIgLTEzIDAgLTE3QzMuMiAtMTMgNC42IC02IDAgMFoiIHRyYW5zZm9ybT0icm90YXRlKC0zNSkiLz4gPHBhdGggZD0iTTAgMEMtNC42IC02IC0zLjIgLTEzIDAgLTE3QzMuMiAtMTMgNC42IC02IDAgMFoiIHRyYW5zZm9ybT0icm90YXRlKDY4KSIvPiA8cGF0aCBkPSJNMCAwQy00LjYgLTYgLTMuMiAtMTMgMCAtMTdDMy4yIC0xMyA0LjYgLTYgMCAwWiIgdHJhbnNmb3JtPSJyb3RhdGUoLTY4KSIvPiA8L2c+IDxjaXJjbGUgY3g9IjEyMCIgY3k9IjI1IiByPSIyLjQiLz4gPGNpcmNsZSBjeD0iNDQiIGN5PSIyMCIgcj0iMi42Ii8+PGNpcmNsZSBjeD0iMTk2IiBjeT0iMjAiIHI9IjIuNiIvPiA8L2c+IDxnIHN0cm9rZT0iI2M4YTI0YSIgc3Ryb2tlLXdpZHRoPSIxLjUiIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+IDxwYXRoIGQ9Ik0xMDEgMjBINTIiLz48cGF0aCBkPSJNMTM5IDIwSDE4OCIvPiA8cGF0aCBkPSJNNTIgMjBxLTggMCAtMTAgLTUiLz48cGF0aCBkPSJNMTg4IDIwcTggMCAxMCAtNSIvPiA8cGF0aCBkPSJNMzAgMTVxNiAtMiAxMiA1Ii8+PHBhdGggZD0iTTIxMCAxNXEtNiAtMiAtMTIgNSIvPiA8L2c+IDwvc3ZnPg==") center / contain no-repeat;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--maroon-soft);
  margin-bottom: 14px;
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
}
.section-head .eyebrow::before { display: none; }

.section-title {
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  margin-bottom: 16px;
}
.section-lead {
  font-size: 1.06rem;
  color: var(--ink-soft);
}

.text-gold { color: var(--gold); }
.text-maroon { color: var(--maroon); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-deep));
  color: var(--cream);
  box-shadow: 0 10px 26px rgba(122, 31, 31, 0.32);
}
.btn--primary:hover { box-shadow: 0 16px 34px rgba(122, 31, 31, 0.42); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold), #b88a31);
  color: #2c1d09;
  box-shadow: 0 10px 26px rgba(200, 162, 74, 0.4);
}

.btn--ghost {
  background: transparent;
  color: var(--maroon);
  box-shadow: inset 0 0 0 1.5px rgba(122, 31, 31, 0.35);
}
.btn--ghost:hover { background: rgba(122, 31, 31, 0.06); }

.btn--light {
  background: var(--cream);
  color: var(--maroon);
}
.btn--outline {
  background: transparent;
  color: var(--cream);
  box-shadow: inset 0 0 0 1.5px rgba(246, 242, 231, 0.5);
}
.btn--outline:hover { background: rgba(246, 242, 231, 0.12); }
.btn--block { width: 100%; }

/* ---------- 5. Logo / wordmark ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.logo__mark { width: 46px; height: 46px; flex: none; }
.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo__name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.32rem;
  color: var(--maroon);
}
.logo__sub {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}

/* ---------- 6. Header / nav ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 242, 231, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.header.is-scrolled {
  background: rgba(246, 242, 231, 0.94);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  padding: 0;
}
.nav__link {
  position: relative;
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--ink);
  padding-block: 6px;
  transition: color 0.2s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.28s var(--ease);
}
.nav__link:hover { color: var(--maroon); }
.nav__link:hover::after { width: 100%; }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--maroon);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav__toggle span::before { transform: translateY(-7px); }
.nav__toggle span::after { transform: translateY(5px); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(48px, 7vw, 86px);
  padding-bottom: clamp(56px, 8vw, 110px);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(80% 60% at 80% 10%, rgba(216, 198, 161, 0.4), transparent 60%),
    radial-gradient(70% 55% at 0% 100%, rgba(200, 162, 74, 0.14), transparent 55%),
    var(--cream);
}
.hero__mountains {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 9px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.hero__badge b { color: var(--maroon); }
.hero__badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 162, 74, 0.22);
}
.hero__title {
  font-size: clamp(2.3rem, 6vw, 4rem);
  line-height: 1.06;
  margin-bottom: 18px;
}
.hero__title .accent {
  display: block;
  color: var(--gold);
  font-style: italic;
  font-weight: 600;
}
.hero__slogan {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-style: italic;
  color: var(--maroon-soft);
  margin-bottom: 18px;
}
.hero__slogan .sep { color: var(--gold); padding-inline: 6px; }
.hero__lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 30px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.hero__trust-item { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust-item svg { width: 18px; height: 18px; color: var(--maroon-soft); }

/* Hero portrait */
.hero__media {
  position: relative;
  justify-self: center;
}
.portrait {
  position: relative;
  width: min(420px, 80vw);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 14px;
  background:
    conic-gradient(from 210deg, var(--gold), var(--maroon-soft), var(--gold), var(--maroon), var(--gold));
  box-shadow: var(--shadow-lg);
}
.portrait::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5);
  pointer-events: none;
}
.portrait img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 22%;
}
.portrait__ring {
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  border: 1px dashed rgba(122, 31, 31, 0.28);
  animation: spin 60s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .portrait__ring { animation: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

.portrait__chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}
.portrait__chip svg { width: 26px; height: 26px; color: var(--maroon); flex: none; }
.portrait__chip b { display: block; font-family: var(--font-serif); color: var(--maroon); font-size: 1.05rem; }
.portrait__chip span { font-size: 0.78rem; color: var(--ink-soft); }
.portrait__chip--tl { top: 6%; left: -8%; }
.portrait__chip--br { bottom: 8%; right: -10%; }

/* ---------- 8. Stat bar ---------- */
.stats {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-deep));
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 120% at 100% 0%, rgba(200, 162, 74, 0.22), transparent 60%);
}
.stats__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-block: clamp(38px, 5vw, 56px);
}
.stat { text-align: center; }
.stat__num {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: var(--gold-soft);
  line-height: 1;
}
.stat__num small { font-size: 0.55em; color: var(--cream); }
.stat__label {
  margin-top: 10px;
  font-size: 0.92rem;
  color: rgba(246, 242, 231, 0.82);
}
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, 0.14); }

/* ---------- 9. About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}
.about__media { position: relative; }
.about__photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
  transform: rotate(-2deg);
}
.about__photo img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.about__caption {
  position: absolute;
  bottom: -18px;
  right: -12px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  max-width: 220px;
}
.about__caption b { font-family: var(--font-serif); color: var(--maroon); display: block; font-size: 0.96rem; }
.about__caption span { font-size: 0.8rem; color: var(--ink-soft); }
.about__seal {
  position: absolute;
  top: -26px;
  left: -22px;
  width: 92px;
  height: 92px;
  opacity: 0.95;
  filter: drop-shadow(0 6px 14px rgba(58, 42, 32, 0.2));
}

.about__title { font-size: clamp(1.6rem, 3.6vw, 2.5rem); margin-bottom: 18px; }
.about__body p { margin-bottom: 16px; color: var(--ink-soft); }
.about__body strong { color: var(--ink); font-weight: 600; }
.about__values {
  list-style: none;
  padding: 0;
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}
.about__values li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.96rem;
}
.about__values svg { width: 22px; height: 22px; color: var(--gold); flex: none; margin-top: 2px; }

.signature {
  margin-top: 28px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--maroon);
}
.signature small {
  display: block;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* ---------- 10. Services ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  position: relative;
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--maroon-soft));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 162, 74, 0.5);
}
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 25%, rgba(200, 162, 74, 0.22), rgba(122, 31, 31, 0.1));
  margin-bottom: 20px;
}
.card__icon svg { width: 30px; height: 30px; color: var(--maroon); }
.card__title { font-size: 1.22rem; margin-bottom: 10px; }
.card__text { font-size: 0.96rem; color: var(--ink-soft); }
.card__price {
  margin-top: 16px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--maroon-soft);
}

/* ---------- 11. Method ---------- */
.method__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.pillar {
  text-align: center;
  padding: 36px 28px;
  border-radius: var(--radius);
  background: var(--cream-2);
  border: 1px solid var(--line);
}
.pillar__num {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.pillar__icon {
  width: 72px; height: 72px;
  margin: 14px auto 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cream-3);
  box-shadow: inset 0 0 0 1px var(--line);
}
.pillar__icon svg { width: 36px; height: 36px; color: var(--maroon); }
.pillar h3 { font-size: 1.24rem; margin-bottom: 10px; }
.pillar p { font-size: 0.96rem; color: var(--ink-soft); }

.method__note {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  max-width: 860px;
  margin: 0 auto;
  padding: 22px 26px;
  background: rgba(200, 162, 74, 0.1);
  border: 1px dashed rgba(200, 162, 74, 0.55);
  border-radius: var(--radius);
}
.method__note svg { width: 34px; height: 34px; color: var(--gold); flex: none; }
.method__note p { font-size: 0.96rem; color: var(--ink); }
.method__note b { color: var(--maroon); }

/* ---------- 12. Process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px 22px;
  background: var(--cream-2);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.step__no {
  counter-increment: step;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-deep));
  color: var(--gold-soft);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 18px;
}
.step__no::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { font-size: 0.92rem; color: var(--ink-soft); }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 52px;
  right: -16px;
  width: 16px; height: 2px;
  background: var(--gold);
}

/* ---------- 13. Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  position: relative;
}
.quote__mark {
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 0.6;
  color: rgba(200, 162, 74, 0.4);
}
.quote__text { font-size: 0.99rem; color: var(--ink); margin: 8px 0 22px; }
.quote__stars { color: var(--gold); letter-spacing: 2px; font-size: 0.95rem; margin-bottom: 14px; }
.quote__author { display: flex; align-items: center; gap: 12px; }
.quote__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--sand), var(--gold));
  color: var(--maroon);
  font-family: var(--font-serif);
  font-weight: 700;
}
.quote__author > span:not(.quote__avatar) {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.quote__author b { font-size: 0.96rem; color: var(--ink); }
.quote__author span { font-size: 0.82rem; color: var(--ink-soft); }

/* ---------- 14. FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream-2);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq__item.is-open { border-color: rgba(200, 162, 74, 0.6); box-shadow: var(--shadow-sm); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: 20px 22px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.06rem;
  color: var(--maroon);
}
.faq__icon {
  flex: none;
  width: 26px; height: 26px;
  position: relative;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 13px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a {
  height: 0;
  overflow: hidden;
  transition: height 0.34s var(--ease);
}
.faq__a-inner { padding: 0 22px 22px; color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- 15. CTA band ---------- */
.cta {
  position: relative;
  background: linear-gradient(135deg, var(--maroon-deep), var(--maroon));
  color: var(--cream);
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 90% at 15% 20%, rgba(200, 162, 74, 0.26), transparent 60%),
    radial-gradient(60% 100% at 100% 100%, rgba(200, 162, 74, 0.16), transparent 55%);
}
.cta__inner {
  position: relative;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}
.cta__inner .eyebrow { color: var(--gold-soft); }
.cta__inner .eyebrow::after { background: var(--gold-soft); }
.cta h2 { color: var(--cream); font-size: clamp(1.8rem, 4.5vw, 2.8rem); margin-bottom: 16px; }
.cta p { color: rgba(246, 242, 231, 0.85); font-size: 1.06rem; margin-bottom: 30px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- 16. Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(246, 242, 231, 0.7);
  padding-block: clamp(48px, 6vw, 72px) 28px;
  font-size: 0.92rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer .logo__name { color: var(--cream); }
.footer__about { margin: 18px 0; max-width: 320px; line-height: 1.7; }
.footer__slogan { font-family: var(--font-serif); font-style: italic; color: var(--gold-soft); }
.footer h4 {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 18px;
}
.footer ul { list-style: none; padding: 0; display: grid; gap: 11px; }
.footer a:hover { color: var(--gold-soft); }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 3px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.84rem;
  color: rgba(246, 242, 231, 0.5);
}
.footer__disclaimer {
  margin-top: 16px;
  font-size: 0.8rem;
  color: rgba(246, 242, 231, 0.45);
  max-width: 720px;
}

/* ---------- 17. Floating contact ---------- */
.fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fab a {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s var(--ease);
  animation: pulse 2.4s var(--ease) infinite;
}
.fab a:hover { transform: scale(1.08); }
.fab a svg { width: 26px; height: 26px; }
.fab__zalo { background: #0068ff; }
.fab__fb { background: #1877f2; animation-delay: 0.4s; }
.fab__tiktok { background: #111; animation-delay: 0.8s; }
@keyframes pulse {
  0% { box-shadow: var(--shadow-md), 0 0 0 0 rgba(200, 162, 74, 0.5); }
  70% { box-shadow: var(--shadow-md), 0 0 0 14px rgba(200, 162, 74, 0); }
  100% { box-shadow: var(--shadow-md), 0 0 0 0 rgba(200, 162, 74, 0); }
}
@media (prefers-reduced-motion: reduce) { .fab a { animation: none; } }

/* ---------- 18. Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 18b. Họa tiết hoa sen (watermark trang trí) ---------- */
.deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  height: auto;
}
/* fill kế thừa vào <use> #lotus */
.deco-lotus--hero {
  width: 280px;
  top: -46px;
  right: -34px;
  fill: var(--maroon-soft);
  opacity: 0.07;
  transform: rotate(8deg);
}
.deco-lotus--stats-l,
.deco-lotus--stats-r {
  width: 210px;
  bottom: -64px;
  opacity: 0.09;
  fill: var(--gold-soft);
}
.deco-lotus--stats-l { left: -54px; transform: rotate(-18deg); }
.deco-lotus--stats-r { right: -54px; transform: rotate(18deg) scaleX(-1); }

.deco-lotus--cta-l,
.deco-lotus--cta-r {
  width: 250px;
  opacity: 0.12;
  fill: var(--gold-soft);
}
.deco-lotus--cta-l { left: -60px; bottom: -76px; transform: rotate(-14deg); }
.deco-lotus--cta-r { right: -60px; top: -76px; transform: rotate(166deg); }

.deco-lotus--footer {
  width: 230px;
  right: 3%;
  bottom: -54px;
  opacity: 0.06;
  fill: var(--gold);
}

/* Giữ nội dung luôn nằm trên họa tiết */
.hero__inner,
.stats__grid,
.cta__inner { position: relative; z-index: 1; }
.footer { position: relative; overflow: hidden; }
.footer .container { position: relative; z-index: 1; }

/* ---------- 19. Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__media { order: -1; }
  .hero__badge, .hero__actions, .hero__trust { justify-content: center; }
  .hero__lead { margin-inline: auto; }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; margin-inline: auto; }
  .about__values { max-width: 460px; margin-inline: auto; }
  .cards, .method__grid, .quotes { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav__list, .nav .btn { display: none; }
  .nav__toggle { display: flex; }

  .header.nav-open .nav__list {
    display: flex;
    position: fixed;
    inset: 74px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: var(--cream-2);
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
  }
  .header.nav-open .nav__list li { width: 100%; }
  .header.nav-open .nav__link {
    display: block;
    padding: 14px var(--gutter);
    border-bottom: 1px solid var(--line);
  }
  .header.nav-open .nav__toggle span { background: transparent; }
  .header.nav-open .nav__toggle span::before { transform: rotate(45deg); }
  .header.nav-open .nav__toggle span::after { transform: rotate(-45deg); }

  .stats__grid { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat { border-left: 0 !important; }
  .stat:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, 0.14) !important; }

  .cards, .method__grid, .quotes, .steps, .footer__grid {
    grid-template-columns: 1fr;
  }
  .about__values { grid-template-columns: 1fr; }
  /* Ẩn chip nổi trên mobile (số liệu đã có ở thanh "stats" ngay dưới) */
  .portrait__chip { display: none; }
  .about__photo { transform: none; }

  /* Liên hệ nổi gọn hơn, tránh đè nội dung */
  .fab { right: 14px; bottom: 14px; gap: 10px; }
  .fab a { width: 48px; height: 48px; }
  .fab a svg { width: 23px; height: 23px; }
}
