/* Giao diện dùng chung cho trang chủ và blog.
   Trước đây trang chủ để CSS nội tuyến còn blog có file riêng; hai bên trôi
   khác nhau dần. Giờ gộp lại một file: sửa một chỗ, cả hai trang đổi theo. */

:root {
  --ground:   #FDF1E8;
  --band:     #FCE9DD;   /* dải nền xanh nhạt giữa các khối */
  --raised:   #FFFAF6;
  --ink:      #3F2116;
  --ink-soft: #6E4A3C;
  --ink-mute: #A3806F;
  --line:     #F5DECF;
  --sage:     #F47D55;
  --sage-dk:  #D9603A;
  --sage-bg:  #FDE0D2;
  --sage-lip: #C9562F;
  --amber:    #F2A65A;
  --amber-bg: #FDEBD6;
  --radius:   22px;
  --shadow:   0 20px 45px -26px rgba(51, 48, 31, .45);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground:   #1A1310;
    --band:     #221813;
    --raised:   #2A1F19;
    --ink:      #F6E9DF;
    --ink-soft: #C9AE9E;
    --ink-mute: #977B6C;
    --line:     #3A2C24;
    --sage:     #FF9A72;
    --sage-dk:  #FFB394;
    --sage-bg:  #3A241B;
    --sage-lip: #B8532F;
    --amber:    #F2B06A;
    --amber-bg: #33241A;
    --shadow:   0 20px 48px -26px rgba(0, 0, 0, .75);
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .brand, .btn, .eyebrow, .tag, .card-title, .feat h3 {
  font-family: "Fredoka", "Quicksand", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; margin: 0 auto; }

img { max-width: 100%; }

/* ---------- nhãn nhỏ trên tiêu đề ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--sage-bg);
  color: var(--sage-dk);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
}

/* ---------- thanh điều hướng ---------- */

nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -.3px;
}
.brand img { width: 36px; height: 36px; border-radius: 11px; }
.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1;
  color: var(--ink-soft);
}
.nav-links a { text-decoration: none; color: inherit; }
.nav-links a:hover { color: var(--sage-dk); }
.nav-links a.active { color: var(--ink); }
@media (max-width: 900px) { .nav-hide { display: none; } }

/* Nút tải app ở góc phải thanh menu. */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FF9E6E, var(--sage) 60%, #E8693F);
  color: #fff;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 5px 0 var(--sage-lip);
  transition: transform .12s ease, box-shadow .12s ease;
}
/* `.nav-links a` đặt màu chữ xám và mạnh hơn `.nav-cta`, nên phải ghi đè rõ. */
.nav-links .nav-cta, .nav-links .nav-cta:hover { color: #fff; }
.nav-cta:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--sage-lip); }
.nav-cta svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Nút ngôn ngữ: chữ là <span> thường, <select> trong suốt phủ lên trên —
   thẻ select có đường chân chữ riêng, canh kiểu gì cũng lệch vài pixel. */
.lang {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--raised);
  cursor: pointer;
}
.lang-globe { font-size: 14px; line-height: 1; }
.lang-current { font-weight: 600; font-size: 15px; line-height: 1; color: var(--ink-soft); }
.lang select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
.lang:focus-within { border-color: var(--sage); box-shadow: 0 0 0 2px var(--sage-bg); }

/* ---------- nút ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 30px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FF9E6E, var(--sage) 60%, #E8693F);
  color: #fff;
  font-weight: 700;
  font-size: 16.5px;
  text-decoration: none;
  box-shadow: 0 6px 0 var(--sage-lip), 0 18px 28px -18px rgba(51, 48, 31, .6);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(3px); box-shadow: 0 3px 0 var(--sage-lip); }
.btn:active { transform: translateY(6px); box-shadow: 0 0 0 var(--sage-lip); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Huy hiệu cửa hàng: nền đen như bản chính thức của Apple và Google. */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px 11px 18px;
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
  font-family: "Quicksand", sans-serif;
  transition: transform .12s ease, box-shadow .12s ease;
}
/* Mỗi cửa hàng một màu riêng, cùng cách dựng khối với nút Bắt đầu trong app:
   thân sáng dần lên đỉnh và một mép dày màu đậm ở dưới. */
.store-apple {
  background: linear-gradient(180deg, #FF9E6E, var(--sage) 58%, #E8693F);
  box-shadow: 0 5px 0 var(--sage-lip), 0 16px 24px -16px rgba(51, 48, 31, .55);
}
.store-google {
  background: linear-gradient(180deg, #E2AC63, var(--amber) 58%, #C2863A);
  box-shadow: 0 5px 0 #A56F2C, 0 16px 24px -16px rgba(51, 48, 31, .55);
}
.store-btn:hover { transform: translateY(2px); }
.store-apple:hover  { box-shadow: 0 3px 0 var(--sage-lip); }
.store-google:hover { box-shadow: 0 3px 0 #A56F2C; }
.store-btn:active { transform: translateY(5px); box-shadow: none; }
.store-logo { width: 26px; height: 26px; fill: currentColor; flex: none; }
.store-lines { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-lines small { font-size: 10px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; opacity: .85; }
.store-lines strong { font-size: 17px; font-weight: 700; }
/* Chưa phát hành: nhạt hơn và có nhãn, để không hứa một đường tải chưa có. */
.is-soon { opacity: 1; }
.is-soon::after {
  content: attr(data-soon);
  align-self: flex-start;
  margin-left: 2px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .28);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .4px;
}

/* ---------- khối hero ---------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  align-items: center;
  gap: 20px;
  padding: 20px 0 40px;
  /* Hero lấp đầy màn hình đầu tiên (trừ thanh điều hướng ~78px), nội dung canh giữa theo chiều dọc. */
  min-height: calc(100vh - 78px);
  min-height: calc(100svh - 78px);
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; gap: 8px; }
  .hero-cta, .hero .eyebrow { justify-content: center; }
}

.hero h1 {
  font-size: clamp(38px, 4.9vw, 58px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -1.4px;
  margin: 20px 0 18px;
}
.hero h1 .green { color: var(--sage); }
.hero p.lede { font-size: 17.5px; color: var(--ink-soft); margin: 0 0 28px; max-width: 30em; }
@media (max-width: 900px) { .hero p.lede { margin-inline: auto; } }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* Cụm hình bên phải: linh vật + điện thoại + dòng chữ viết tay. */
.hero-art { position: relative; min-height: 420px; }
.hero-art .mascot {
  position: absolute;
  left: 2%;
  bottom: 4%;
  width: 46%;
  filter: drop-shadow(0 26px 26px rgba(51, 48, 31, .3));
}
.hero-note {
  position: absolute;
  left: 6%;
  top: 2%;
  max-width: 190px;
  color: var(--sage-dk);
  font-family: "Quicksand", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  transform: rotate(-6deg);
}
@media (max-width: 900px) {
  .hero-art { min-height: 340px; margin-top: 10px; }
  .hero-note { display: none; }
}

/* Khung điện thoại vẽ bằng CSS. */
.phone {
  position: relative;
  width: min(300px, 62%);
  margin-left: auto;
  padding: 9px;
  border-radius: 52px;
  background: linear-gradient(150deg, #8C8279 0%, #3A342D 28%, #2A251F 60%, #6E655C 100%);
  box-shadow: 0 44px 70px -28px rgba(51, 48, 31, .85),
              inset 0 0 0 1.5px rgba(255, 255, 255, .28),
              inset 0 0 0 7px #241F1A;
}
.phone img { width: 100%; display: block; border-radius: 44px; }
.phone::before, .phone::after {
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, #7A7166, #3A342D);
}
.phone::before { left: -3px; top: 21%; height: 13%; box-shadow: 0 46px 0 #4A443C, 0 92px 0 #4A443C; }
.phone::after  { right: -3px; top: 27%; height: 17%; }
.phone-notch {
  position: absolute;
  top: 21px; left: 50%;
  transform: translateX(-50%);
  width: 31%; height: 25px;
  background: #0D0B09;
  border-radius: 999px;
  z-index: 2;
}

/* ---------- dải năm tính năng ---------- */

.band { background: var(--band); padding: 54px 0; }
/* ---------- khối giới thiệu ---------- */

.about {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 70px 0;
}
@media (max-width: 900px) { .about { grid-template-columns: 1fr; text-align: center; } }
.about h2 { font-size: clamp(30px, 3.9vw, 44px); line-height: 1.15; letter-spacing: -1.1px; margin: 18px 0 16px; }
.about p { color: var(--ink-soft); margin: 0 0 26px; }

/* Ba ảnh màn hình xếp chồng, cái giữa nổi lên trên. */
.shots { position: relative; display: flex; align-items: center; justify-content: center; min-height: 360px; }
.shots img {
  border-radius: 26px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--raised);
}
.shots .mid { width: 46%; z-index: 2; }
.shots .side { position: absolute; width: 36%; opacity: .96; }
.shots .left  { left: 0;  transform: rotate(-5deg); }
.shots .right { right: 0; transform: rotate(5deg); }
@media (max-width: 560px) { .shots .side { display: none; } .shots .mid { width: 62%; } }

/* ---------- khối blog ---------- */

.blog-band { background: var(--band); padding: 60px 0 70px; }
.blog-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.blog-head h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.2; letter-spacing: -.8px; margin: 14px 0 8px; }
.blog-head p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.blog-all { color: var(--sage-dk); font-weight: 700; text-decoration: none; font-size: 15.5px; white-space: nowrap; }
.blog-all:hover { text-decoration: underline; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

.card {
  display: flex;
  flex-direction: column;
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .16s ease, box-shadow .16s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-cover { position: relative; height: 150px; overflow: hidden; background: var(--sage-bg); }
.card-cover img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.card-cover .tag {
  position: absolute;
  top: 12px; left: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 253, 248, .92);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3px;
}
.card-body { padding: 16px 18px 20px; }
.card-title { font-size: 17px; font-weight: 700; line-height: 1.35; margin: 0 0 8px; }
.card-date { font-size: 13px; color: var(--ink-mute); font-weight: 600; }
.card-body p { margin: 8px 0 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }

/* ---------- chân trang ---------- */

footer { padding: 40px 0 54px; }
.foot-row { display: flex; align-items: flex-start; gap: 28px; flex-wrap: wrap; }
.foot-tag { color: var(--ink-mute); font-size: 14.5px; margin: 8px 0 0; }
.foot-links { margin-left: auto; display: flex; gap: 24px; flex-wrap: wrap; font-size: 15px; font-weight: 600; }
.foot-links a { color: var(--ink-soft); text-decoration: none; }
.foot-links a:hover { color: var(--sage-dk); }
.foot-rights { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); text-align: center; color: var(--ink-mute); font-size: 13.5px; }

@media (prefers-reduced-motion: reduce) {
  .btn, .card, .store-btn, .nav-cta { transition: none; }
  .btn:hover, .card:hover, .store-btn:hover, .nav-cta:hover { transform: none; }
}

/* ---------- nền phần đầu trang (giống banner) ---------- */

body { position: relative; }
.top-scene {
  position: absolute;
  inset: 0 0 auto 0;
  height: max(760px, 100vh);
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(38% 46% at 6% 8%, rgba(150, 196, 120, .38), transparent 70%),
    radial-gradient(34% 44% at 96% 6%, rgba(244, 190, 118, .40), transparent 70%),
    radial-gradient(30% 38% at 70% 78%, rgba(150, 196, 120, .22), transparent 70%),
    radial-gradient(26% 30% at 34% 92%, rgba(244, 190, 118, .22), transparent 70%),
    linear-gradient(180deg, #FDF6E7 0%, #FAEEDA 70%, var(--ground) 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
}
.top-scene .leaf {
  position: absolute;
  width: 230px;
  height: 300px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 260'%3E%3Cg fill='none' stroke='%234F8A4A' stroke-width='2' opacity='.5'%3E%3Cpath d='M100 255 C98 190 96 120 100 20'/%3E%3C/g%3E%3Cpath d='M100 60 C60 40 30 60 22 100 C60 110 88 92 100 60Z' fill='%237FB06F'/%3E%3Cpath d='M100 60 C140 34 172 52 182 92 C142 104 112 90 100 60Z' fill='%236FA562'/%3E%3Cpath d='M99 120 C56 104 22 126 14 168 C56 178 88 156 99 120Z' fill='%236FA562'/%3E%3Cpath d='M101 120 C146 100 178 120 188 162 C146 174 114 152 101 120Z' fill='%2387B877'/%3E%3Cpath d='M100 20 C82 30 78 50 100 62 C122 50 118 30 100 20Z' fill='%2393C283'/%3E%3Cpath d='M99 180 C64 168 36 186 30 220 C64 228 90 212 99 180Z' fill='%2387B877'/%3E%3Cpath d='M101 180 C138 166 166 184 172 218 C138 228 110 212 101 180Z' fill='%236FA562'/%3E%3C/svg%3E") no-repeat center / contain;
  filter: blur(3px);
  opacity: .55;
}
.top-scene .leaf-l { left: -60px; bottom: 40px; transform: rotate(18deg); }
.top-scene .leaf-r { right: -50px; top: 70px; transform: rotate(-160deg) scaleX(-1); width: 200px; height: 260px; opacity: .45; }
body > .wrap { position: relative; z-index: 1; }
@media (max-width: 900px) {
  .top-scene { height: max(1100px, 100vh); }
  .top-scene .leaf { opacity: .3; width: 160px; height: 210px; }
}
@media (prefers-color-scheme: dark) {
  .top-scene {
    background:
      radial-gradient(38% 46% at 6% 8%, rgba(120, 170, 100, .18), transparent 70%),
      radial-gradient(34% 44% at 96% 6%, rgba(220, 160, 90, .16), transparent 70%),
      linear-gradient(180deg, #1D1912 0%, var(--ground) 100%);
  }
  .top-scene .leaf { opacity: .2; }
}

/* ---------- dòng phụ dưới nút tải ở hero ---------- */

.hero-sub { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 18px 0 0; font-size: 15px; }
@media (max-width: 900px) { .hero-sub { justify-content: center; } }
.link-how { color: var(--sage-dk); font-weight: 700; text-decoration: none; }
.link-how:hover { text-decoration: underline; }
.hero-trust { color: var(--ink-mute); font-weight: 600; }

/* ---------- tiêu đề chung của các khối mới ---------- */

.sec-head { text-align: center; max-width: 760px; margin: 0 auto 38px; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.15; letter-spacing: -1px; margin: 16px 0 10px; }
.sec-head p { margin: 0; color: var(--ink-soft); }

/* ---------- Focus → Earn → Grow ---------- */

#how { padding: 70px 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 767px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 24px;
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 24px;
  text-align: center;
}
.step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; background: var(--sage-bg); }
.step-n {
  position: absolute; top: 28px; left: 28px;
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--sage); color: #fff;
  font-family: "Quicksand", sans-serif; font-weight: 700; font-size: 17px;
  box-shadow: 0 3px 0 var(--sage-lip);
}
.step h3 { font-size: 22px; margin: 18px 0 6px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.55; }

/* ---------- video demo ---------- */

.demo { padding: 80px 0 40px; }
.demo-frame { max-width: 980px; margin: 0 auto; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--raised); }
.demo-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }

/* ---------- corgi: cảm xúc + giai đoạn ---------- */

#corgi { padding: 70px 0; margin-top: 40px; }
.moods { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-bottom: 48px; }
.mood {
  margin: 0; width: min(300px, 100%);
  display: flex; align-items: center; gap: 16px;
  padding: 14px 20px 14px 14px;
  background: var(--raised); border: 1px solid var(--line); border-radius: 22px;
}
.mood img { width: 84px; height: 84px; object-fit: contain; }
.mood figcaption { display: flex; flex-direction: column; line-height: 1.35; }
.mood strong { font-family: "Quicksand", sans-serif; font-size: 17px; }
.mood span { color: var(--ink-soft); font-size: 14.5px; }
.stages-h { text-align: center; font-size: 19px; margin: 0 0 22px; }
.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; }
.stages::before { content: ""; position: absolute; left: 10%; right: 10%; top: 62px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--sage-bg), var(--sage), var(--amber)); }
@media (max-width: 767px) { .stages { grid-template-columns: repeat(3, 1fr); } .stages::before { display: none; } }
.stage { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.stage-art { position: relative; display: grid; place-items: end center; width: 124px; height: 124px; border-radius: 50%; background: var(--raised); border: 1px solid var(--line); padding-bottom: 10px; }
.stage-art img { width: auto; object-fit: contain; }
.stage-badge { position: absolute; top: 4px; right: 6px; font-size: 26px; }
.stage strong { margin-top: 12px; font-family: "Quicksand", sans-serif; font-size: 16.5px; }
.stage-lv { color: var(--ink-mute); font-size: 13.5px; font-weight: 600; }

/* ---------- bộ sưu tập phòng (cuộn ngang trên màn hẹp) ---------- */

.rooms-sec { padding: 80px 0 30px; }
.rooms { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
@media (max-width: 1023px) {
  .rooms { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 44%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
  .room { scroll-snap-align: start; }
}
@media (max-width: 767px) { .rooms { grid-auto-columns: 70%; } }
.room { margin: 0; }
.room img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); display: block; }
.room figcaption { margin-top: 10px; text-align: center; font-weight: 700; font-size: 15px; color: var(--ink-soft); }

/* ---------- FAQ ---------- */

.faq { padding: 70px 0 30px; }
.faq-item { background: var(--raised); border: 1px solid var(--line); border-radius: 18px; margin-bottom: 12px; padding: 0 22px; }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 0; font-family: "Quicksand", sans-serif; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--sage); font-size: 22px; line-height: 1; transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--sage); outline-offset: 4px; border-radius: 6px; }
.faq-item p { margin: 0 0 18px; color: var(--ink-soft); font-size: 15.5px; }

/* ---------- kêu gọi cuối trang ---------- */

.final-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  margin: 60px 0 20px; padding: 44px 48px;
  border-radius: 32px;
  background:
    radial-gradient(50% 80% at 0% 0%, rgba(150, 196, 120, .35), transparent 70%),
    radial-gradient(50% 80% at 100% 100%, rgba(244, 190, 118, .35), transparent 70%),
    var(--raised);
  border: 1px solid var(--line);
}
.final-icon { width: 64px; height: 64px; border-radius: 18px; box-shadow: var(--shadow); }
.final-cta h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.2; letter-spacing: -.8px; margin: 16px 0 8px; }
.final-cta p { margin: 0 0 22px; color: var(--ink-soft); }
.qr { margin: 0; text-align: center; flex: none; }
.qr img { width: 160px; height: 160px; border-radius: 16px; background: #fff; padding: 8px; border: 1px solid var(--line); }
.qr figcaption { margin-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-mute); max-width: 160px; }
@media (max-width: 1023px) { .qr { display: none; } }
@media (max-width: 767px) { .final-cta { flex-direction: column; text-align: center; padding: 34px 22px; } .final-cta .hero-cta { justify-content: center; } }

/* ---------- nút tải cố định trên điện thoại ---------- */

.sticky-cta { display: none; }
@media (max-width: 767px) {
  .sticky-cta:not([hidden]) {
    position: fixed; z-index: 20;
    left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    display: flex; align-items: center; justify-content: center; gap: 10px;
    height: 54px; border-radius: 999px;
    background: linear-gradient(180deg, #FF9E6E, var(--sage) 60%, #E8693F);
    box-shadow: 0 5px 0 var(--sage-lip), 0 16px 30px -12px rgba(51, 48, 31, .5);
    color: #fff; font-family: "Quicksand", sans-serif; font-weight: 700; font-size: 16px; text-decoration: none;
  }
  .sticky-cta img { width: 30px; height: 30px; border-radius: 9px; }
}

/* ---------- trang /get ---------- */

.get-page { text-align: center; padding: 60px 24px; }
.get-page .hero-cta { justify-content: center; }

/* ---------- danh sách bài blog: ảnh vuông trái, chữ phải, kẻ ngang giữa các bài ---------- */

.post-list { max-width: 880px; margin: 0 auto; background: var(--raised); border: 1px solid var(--line); border-radius: 26px; padding: 6px 26px; }
.post-row {
  display: flex; align-items: flex-start; gap: 22px;
  padding: 22px 0;
  color: inherit; text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.post-row:last-child { border-bottom: 0; }
.post-thumb {
  flex: none; width: 128px; height: 128px; object-fit: cover; object-position: top center;
  border-radius: 18px; border: 1px solid var(--line); background: var(--sage-bg);
  transition: transform .16s ease;
}
.post-row:hover .post-thumb { transform: scale(1.03); }
.post-row:hover h3 { color: var(--sage-dk); }
.post-text h3 { font-size: 19px; line-height: 1.3; margin: 4px 0 6px; transition: color .12s ease; }
.post-text p { margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }
.post-meta { font-size: 13px; font-weight: 700; letter-spacing: .3px; color: var(--ink-mute); }
.post-meta > span:first-child { color: var(--sage-dk); }
.blog-list { margin: 30px auto 10px; }
@media (max-width: 560px) {
  .post-list { padding: 4px 16px; }
  .post-row { gap: 14px; }
  .post-thumb { width: 92px; height: 92px; border-radius: 14px; }
  .post-text h3 { font-size: 16.5px; }
  .post-text p { font-size: 14.5px; }
}
