/* =========================================================
   AGOLIVA — bộ giao diện riêng
   Màu chủ đạo: hồng trẻ trung (biến vẫn tên --olive) + nền hồng phấn + điểm nhấn đào.
   Thai giáo dùng tông oải hương (lavender).
   ========================================================= */
:root {
  --olive: #E0558A;
  --olive-d: #C23B70;
  --olive-50: #FFF0F6;
  --olive-100: #FFD6E6;
  --cream: #FFF7FA;
  --sand: #FDEAF1;
  --terra: #FF8A6B;
  --terra-d: #E0694B;
  --terra-50: #FFEFE9;
  --lav: #9B78D6;
  --lav-50: #F1ECFA;
  --sun: #FFC75A;
  --sky: #62B2DA;
  --ink: #3B2232;
  --muted: #7C6271;
  --line: #F4DCE6;
  --white: #FFFFFF;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px rgba(160, 50, 100, .09);
  --shadow-lg: 0 24px 60px rgba(160, 50, 100, .15);
  --wrap: 1160px;
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Nunito", "Be Vietnam Pro", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--cream);
  font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--olive-d); text-underline-offset: 3px; }
a:hover { color: var(--terra); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 84px 0; }
.section.tight { padding: 56px 0; }
.bg-white { background: var(--white); }
.bg-sand { background: var(--sand); }
.bg-olive { background: var(--olive-50); }
.bg-lav { background: var(--lav-50); }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--olive-d);
  background: var(--olive-100); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow.lav { color: var(--lav); background: #E6DDF6; }
.eyebrow.terra { color: var(--terra-d); background: var(--terra-50); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- Nút ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--terra); color: #fff; box-shadow: 0 8px 20px rgba(210, 105, 63, .3); }
.btn-primary:hover { background: var(--terra-d); color: #fff; }
.btn-olive { background: var(--olive); color: #fff; }
.btn-olive:hover { background: var(--olive-d); color: #fff; }
.btn-ghost { background: transparent; color: var(--olive-d); border-color: var(--olive); }
.btn-ghost:hover { background: var(--olive); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { color: var(--terra); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-row { justify-content: center; }

/* ---------- Thanh trên cùng ---------- */
.topbar {
  background: var(--olive-d); color: #fff; font-size: .88rem; text-align: center; padding: 8px 16px;
}
.topbar a { color: #FFE2A8; font-weight: 700; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40; background: rgba(255, 247, 250, .94);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo svg { width: 40px; height: 40px; flex: none; }
.logo-text { font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; }
.logo-text span { color: var(--olive); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem;
  padding: 8px 12px; border-radius: 10px;
}
.nav a:hover { background: var(--olive-50); color: var(--olive-d); }
.nav a[aria-current="page"] { color: var(--olive-d); background: var(--olive-100); }
.nav .btn { padding: 10px 18px; margin-left: 8px; font-size: .92rem; }
.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1199px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column;
    align-items: stretch; background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px; box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 8px 0 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 84px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--olive); }
.hero .lead { margin-bottom: 28px; }
.hero-photo { position: relative; }
.hero-photo img {
  width: 100%; aspect-ratio: 4/3.4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.hero-badge {
  position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow);
  padding: 12px 16px; display: flex; gap: 10px; align-items: center; font-size: .9rem; font-weight: 600;
}
.hero-badge .dot { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; }
.hero-badge.b1 { left: -18px; bottom: 34px; }
.hero-badge.b2 { right: -10px; top: 26px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; color: var(--muted); font-size: .92rem; }
.trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.trust-row svg { width: 18px; height: 18px; color: var(--olive); }

.page-hero { padding: 64px 0 56px; }
.page-hero .lead { margin-bottom: 0; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 44px 0 64px; }
  .hero-badge.b1 { left: 10px; bottom: 14px; }
  .hero-badge.b2 { right: 10px; top: 14px; }
}

/* ---------- Lưới & thẻ ---------- */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1020px) { .g4, .g5 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4, .g5 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: 0 2px 0 rgba(0,0,0,.02);
}
.card h3 { margin-top: 4px; }
.card p:last-child { margin-bottom: 0; }
.card.hover { transition: transform .2s ease, box-shadow .2s ease; }
.card.hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.icon-tile {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.6rem; margin-bottom: 14px;
}
.t-olive { background: var(--olive-100); }
.t-terra { background: var(--terra-50); }
.t-lav { background: #E6DDF6; }
.t-sun { background: #FDF0D2; }
.t-sky { background: #DDEDF5; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 16/11; object-fit: cover; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--olive) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---------- Bộ chọn giai đoạn (demo) ---------- */
.stage-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 32px 0 28px; }
.stage-tab {
  font-family: inherit; font-size: .95rem; font-weight: 700; padding: 11px 20px; border-radius: 999px;
  border: 2px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
}
.stage-tab:hover { border-color: var(--olive); }
.stage-tab[aria-selected="true"] { background: var(--olive); border-color: var(--olive); color: #fff; }
.stage-tab[data-stage="thai-ky"][aria-selected="true"] { background: var(--lav); border-color: var(--lav); }
.stage-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.stage-intro { background: #fff; border-radius: var(--radius-lg); padding: 30px; border: 1px solid var(--line); }
.stage-intro .big { font-size: 3rem; line-height: 1; margin-bottom: 12px; }
.act-list { display: grid; gap: 14px; }
.act {
  display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px; text-align: left; cursor: pointer; font-family: inherit;
  font-size: 1rem; color: var(--ink); width: 100%; transition: border-color .15s, box-shadow .15s;
}
.act:hover { border-color: var(--olive); box-shadow: var(--shadow); }
.act .emo { font-size: 1.8rem; flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--olive-50); }
.act b { display: block; margin-bottom: 2px; }
.act .meta { font-size: .85rem; color: var(--muted); }
.pill { display: inline-block; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-right: 6px; }
.p-move { background: #DDEDF5; color: #2E6B8C; }
.p-lang { background: var(--terra-50); color: var(--terra-d); }
.p-mind { background: #FDF0D2; color: #8A5E0B; }
.p-heart { background: #FBE3EA; color: #A23A5C; }
.p-sense { background: var(--olive-100); color: var(--olive-d); }
.p-bond { background: #E6DDF6; color: var(--lav); }
@media (max-width: 900px) { .stage-panel { grid-template-columns: 1fr; } }

/* ---------- Hộp thoại ---------- */
dialog.modal {
  border: 0; border-radius: var(--radius-lg); padding: 0; max-width: 560px; width: calc(100% - 32px);
  box-shadow: var(--shadow-lg); color: var(--ink);
}
dialog.modal::backdrop { background: rgba(59, 34, 50, .55); }
.modal-head { padding: 26px 28px 0; display: flex; gap: 14px; align-items: center; }
.modal-head .emo { font-size: 2rem; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 16px; background: var(--olive-50); flex: none; }
.modal-body { padding: 18px 28px 28px; }
.modal-body ol { padding-left: 1.3em; }
.modal-body ol li { margin-bottom: 8px; }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: var(--sand); cursor: pointer; font-size: 1.3rem; line-height: 1; color: var(--ink);
}
.note {
  background: var(--sand); border-radius: 14px; padding: 14px 16px; font-size: .9rem; color: var(--muted);
}
.note.warn { background: #FFF3DA; color: #6B4A06; }

/* ---------- Trụ cột ---------- */
.pillar { text-align: left; }
.pillar .icon-tile { width: 60px; height: 60px; font-size: 1.8rem; }

/* ---------- Thai giáo nổi bật ---------- */
.feature-lav {
  background: linear-gradient(135deg, #F1ECFA 0%, #FCEEE6 100%); border-radius: 36px; padding: 56px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
}
.weeks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.week { background: #fff; border-radius: 18px; padding: 18px; text-align: center; }
.week > b { display: block; font-size: 1.5rem; color: var(--lav); }
@media (max-width: 900px) { .feature-lav { grid-template-columns: 1fr; padding: 32px 22px; } }

/* ---------- Các bước ---------- */
.steps { counter-reset: s; }
.step { position: relative; padding-top: 64px; }
.step::before {
  counter-increment: s; content: counter(s); position: absolute; top: 0; left: 26px; width: 46px; height: 46px;
  border-radius: 50%; background: var(--olive); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 1.2rem;
}
.step.card { padding-top: 84px; }
.step.card::before { top: 24px; }

/* ---------- Lộ trình ra mắt ---------- */
.roadmap { display: grid; gap: 0; position: relative; max-width: 760px; margin: 0 auto; }
.rm { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding-bottom: 28px; position: relative; }
.rm::before { content: ""; position: absolute; left: 27px; top: 50px; bottom: 0; width: 2px; background: var(--line); }
.rm:last-child::before { display: none; }
.rm .bub { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; background: #fff; border: 2px solid var(--line); }
.rm.now .bub { background: var(--olive); border-color: var(--olive); }
.rm h3 { margin: 6px 0 4px; }
.tag { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 3px 10px; border-radius: 999px; background: var(--sand); color: var(--muted); }
.rm.now .tag { background: var(--olive-100); color: var(--olive-d); }

/* ---------- Mốc phát triển (demo) ---------- */
.milestone-box { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); padding: 30px; }
.ms-select { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.ms-select button {
  font-family: inherit; font-weight: 700; font-size: .9rem; padding: 8px 14px; border-radius: 999px;
  border: 2px solid var(--line); background: #fff; cursor: pointer; color: var(--ink);
}
.ms-select button[aria-pressed="true"] { background: var(--olive); color: #fff; border-color: var(--olive); }
.ms-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px dashed var(--line); cursor: pointer; }
.ms-item:last-child { border-bottom: 0; }
.ms-item input { width: 22px; height: 22px; accent-color: var(--olive); margin-top: 2px; flex: none; }
.progress { height: 12px; background: var(--sand); border-radius: 99px; overflow: hidden; margin: 8px 0 18px; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--olive), #FF9EC0); transition: width .3s ease; }

/* ---------- Phone mockup ---------- */
.phone {
  width: 300px; max-width: 100%; margin: 0 auto; background: var(--ink); border-radius: 44px; padding: 12px;
  box-shadow: var(--shadow-lg);
}
.phone-screen { background: var(--cream); border-radius: 34px; overflow: hidden; min-height: 540px; }
.phone-top { background: var(--olive); color: #fff; padding: 22px 20px 18px; }
.phone-top small { opacity: .8; }
.phone-top b { display: block; font-size: 1.15rem; }
.phone-body { padding: 16px; display: grid; gap: 10px; }
.mini { background: #fff; border-radius: 14px; padding: 12px 14px; display: flex; gap: 10px; align-items: center; font-size: .88rem; border: 1px solid var(--line); }
.mini .emo { font-size: 1.4rem; }
.mini .done { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--olive); flex: none; }
.mini .done.on { background: var(--olive); }

/* ---------- Form đăng ký sớm ---------- */
.signup {
  background: var(--olive-d); color: #fff; border-radius: 36px; padding: 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
}
.signup h2 { color: #fff; }
.signup .lead { color: #FFE3EE; }
.signup .checklist li::before { background-color: var(--sun); }
.form { background: #fff; color: var(--ink); border-radius: 24px; padding: 28px; display: grid; gap: 14px; }
.form label { font-weight: 700; font-size: .9rem; display: grid; gap: 6px; }
.form input, .form select, .form textarea {
  font-family: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--cream); color: var(--ink); width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--olive); background: #fff; }
.form .consent { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); }
.form .consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--olive); }
.form .hp { position: absolute; left: -9999px; }
.form-msg { font-size: .92rem; padding: 12px 14px; border-radius: 12px; display: none; }
.form-msg.ok { display: block; background: var(--olive-50); color: var(--olive-d); }
.form-msg.err { display: block; background: var(--terra-50); color: var(--terra-d); }
@media (max-width: 900px) { .signup { grid-template-columns: 1fr; padding: 32px 22px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; }
.faq summary {
  cursor: pointer; padding: 18px 54px 18px 22px; font-weight: 700; list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem;
  color: var(--olive); font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq .ans { padding: 0 22px 18px; color: var(--muted); }

/* ---------- Bài viết / văn bản dài ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: 6px; }
.article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; margin-bottom: 22px; }
.article h2 { margin-top: 0; font-size: 1.45rem; }
.article .meta { color: var(--muted); font-size: .88rem; margin-bottom: 14px; }

/* ---------- Bình chọn chủ đề ---------- */
.vote { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.vote-btn {
  font-family: inherit; font-weight: 700; font-size: .88rem; padding: 8px 14px; border-radius: 999px;
  border: 2px solid var(--olive); background: #fff; color: var(--olive-d); cursor: pointer; flex: none;
}
.vote-btn[aria-pressed="true"] { background: var(--olive); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #EBD3DF; padding: 64px 0 28px; font-size: .95rem; }
.site-footer a { color: #FFE9F1; text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .logo { color: #fff; }
.foot-bottom { border-top: 1px solid #364238; margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Tiện ích ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 16px; } .mt-4 { margin-top: 32px; } .mb-4 { margin-bottom: 32px; }
.head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.head .lead { margin: 0 auto; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card.hover:hover { transform: none; }
}

/* =========================================================
   BỐ CỤC TRANG CHỦ (ảnh tràn màn hình, các phần chia đôi)
   ========================================================= */
.bg-soft { background: #FFF1F6; }

/* Menu: gạch chân dưới mục đang mở */
@media (min-width: 1200px) {
  .site-header .wrap { height: 78px; max-width: 1320px; }
  .nav { height: 100%; align-items: stretch; gap: 2px; }
  .nav a:not(.btn) {
    display: flex; align-items: center; border-radius: 0; padding: 0 10px; color: var(--olive-d);
    border-bottom: 3px solid transparent; background: none !important; white-space: nowrap; font-weight: 500;
  }
  .nav a:not(.btn):hover { border-bottom-color: var(--olive-100); color: var(--olive); }
  .nav a[aria-current="page"] { border-bottom-color: var(--olive); color: var(--ink); }
}
/* Hai nút cuối menu */
.nav .btn { align-self: center; padding: 8px 22px; font-weight: 600; font-size: .95rem; box-shadow: none; white-space: nowrap; border-radius: 999px; }
.nav .btn:hover { transform: none; }
.nav button.btn { font-family: inherit; cursor: pointer; }
.nav .nav-login { background: #fff; color: var(--olive); border: 1.5px solid var(--olive); margin-left: 14px; }
.nav .nav-login:hover { background: var(--olive); color: #fff; }
.nav .nav-join { background: var(--olive); color: #fff; border: 1.5px solid var(--olive); }
.nav .nav-join:hover { background: var(--olive-d); border-color: var(--olive-d); color: #fff; }
@media (min-width: 1200px) and (max-width: 1480px) {
  .nav a:not(.btn) { padding: 0 7px; font-size: .9rem; }
  .nav .btn { padding: 8px 14px; font-size: .88rem; }
  .nav-login { margin-left: 8px; }
}
@media (max-width: 1199px) {
  .nav-login { margin-left: 0; }
}

/* 1. Hero ảnh tràn màn hình */
.hero-full { position: relative; min-height: clamp(440px, 62vh, 620px); display: grid; place-items: center; overflow: hidden; background: var(--ink); }
.hero-full > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-full::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(70,20,50,.18), rgba(70,20,50,.42)); }
.hero-full-inner { position: relative; z-index: 1; text-align: center; color: #fff; padding-top: 40px; padding-bottom: 40px; }
.hero-full h1 { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.45); margin-bottom: 12px; }
.hero-full p { font-size: 1.1rem; opacity: .95; text-shadow: 0 1px 10px rgba(0,0,0,.5); margin-bottom: 28px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.pill-btn { min-width: 190px; padding: 13px 26px; border-radius: 999px; color: #fff; font-weight: 700; text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,.2); transition: transform .15s, filter .15s; }
.pill-btn:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.06); }
.pb-lav { background: var(--lav); } .pb-olive { background: var(--olive); } .pb-terra { background: var(--terra); } .pb-sky { background: var(--sky); }
.pb-green { background: #E0558A; } .pb-teal { background: #FF8A6B; } .pb-blue { background: #9B78D6; }
.pill-row .pill-btn { min-width: 230px; text-align: center; white-space: nowrap; }
@media (max-width: 760px) { .pill-row { flex-direction: column; align-items: center; } .pill-row .pill-btn { min-width: 0; width: min(100%, 300px); flex: none; } }
@media (max-width: 560px) { .pill-btn { min-width: 0; flex: 1 1 45%; padding: 12px 14px; font-size: .92rem; } }

/* 2. Lưới 6 lý do */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 40px; max-width: 1040px; margin: 0 auto; }
.why { text-align: center; }
.why svg { width: 190px; height: 110px; margin: 0 auto 16px; }
.why img { width: 260px; height: 150px; object-fit: contain; margin: 0 auto 18px; mix-blend-mode: multiply; }
.join-img { width: 100%; height: auto; mix-blend-mode: multiply; }
.why p { color: var(--muted); max-width: 300px; margin: 0 auto; }
.why b { color: var(--ink); }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }

/* 3–5. Các phần chia đôi, ảnh tràn sát mép */
.halves { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; background: #fff; border-top: 1px solid var(--line); }
.half-text { display: flex; flex-direction: column; justify-content: center; padding: 64px 64px 64px max(24px, calc((100vw - var(--wrap)) / 2 + 20px)); }
.halves.reverse .half-text { order: 2; padding: 64px max(24px, calc((100vw - var(--wrap)) / 2 + 20px)) 64px 64px; }
.half-text h2 { margin-bottom: 18px; }
.half-text .btn { align-self: flex-start; margin-top: 8px; }
.half-media { position: relative; min-height: 360px; }
.half-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.half-media.pad { display: grid; place-items: center; padding: 48px 24px; }
.bg-phone { background: radial-gradient(circle at 70% 30%, #FFFFFF 0%, #FFEFF5 45%, #FFDCEA 100%); }
.c-terra { color: var(--terra); } .c-olive { color: var(--olive); } .c-sky { color: var(--sky); }
.dots { padding-left: 1.1em; margin: 0 0 24px; color: var(--muted); }
.dots li { margin-bottom: 10px; padding-left: 4px; }
.dots b { color: var(--ink); }
.d-terra li::marker { color: var(--terra); } .d-olive li::marker { color: var(--olive); } .d-sky li::marker { color: var(--sky); }
.btn-sky { background: var(--sky); color: #fff; } .btn-sky:hover { background: #3C7C9E; color: #fff; }
@media (max-width: 900px) {
  .halves { grid-template-columns: 1fr; min-height: 0; }
  .half-text, .halves.reverse .half-text { order: 1; padding: 48px 20px 32px; }
  .half-media { order: 2; min-height: 280px; }
}

/* Thẻ hoạt động có mũi tên */
.act-carousel { position: relative; width: 100%; max-width: 440px; margin: 0 auto; }
.act-card { background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; }
.act-card-top { height: 190px; display: grid; place-items: center; position: relative;
  background: linear-gradient(135deg, var(--olive-100), #FDF0D2); }
.act-card-emo { font-size: 5rem; line-height: 1; }
.act-card-stage { position: absolute; top: 14px; right: 14px; background: #fff; border-radius: 999px; padding: 4px 12px; font-size: .8rem; font-weight: 700; color: var(--olive-d); }
.act-card-body { padding: 20px 22px 6px; }
.act-card-name { margin-bottom: 4px; }
.act-card-goal { color: var(--muted); margin: 10px 0 0; min-height: 3.2em; }
.act-card-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 18px 0; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fb { font-family: inherit; background: none; border: 0; cursor: pointer; display: grid; justify-items: center; gap: 4px; font-size: 1.4rem; padding: 6px; border-radius: 12px; color: var(--muted); }
.fb span { font-size: .78rem; font-weight: 600; }
.fb:hover, .fb.on { background: var(--olive-50); color: var(--olive-d); }
.act-card-more { display: block; width: 100%; font-family: inherit; font-weight: 700; color: var(--olive-d); background: none; border: 0; padding: 14px; cursor: pointer; font-size: .95rem; }
.act-card-more:hover { color: var(--terra); }
.car-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 52px; border: 0; cursor: pointer;
  background: var(--ink); color: #fff; font-size: 1.8rem; line-height: 1; border-radius: 10px; }
.car-arrow.prev { left: -52px; } .car-arrow.next { right: -52px; }
.car-arrow:hover { background: var(--olive-d); }
@media (max-width: 1100px) { .car-arrow.prev { left: -8px; } .car-arrow.next { right: -8px; } }

/* 6. Dải lời hứa có mũi tên + chấm */
.q-carousel { position: relative; max-width: 1080px; margin: 0 auto; padding: 0 48px; }
.q-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 64px) / 3); gap: 32px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.q-track::-webkit-scrollbar { display: none; }
.quote { margin: 0; text-align: center; scroll-snap-align: start; padding: 8px 4px; }
.quote h3 { font-size: 1.15rem; margin-bottom: 14px; }
.quote blockquote { margin: 0 0 18px; color: var(--muted); }
.quote figcaption b { display: block; color: var(--ink); }
.quote figcaption span { color: var(--muted); font-size: .9rem; }
.q-arrow { position: absolute; top: 40%; background: none; border: 0; font-size: 2.4rem; color: var(--olive); cursor: pointer; padding: 4px 10px; line-height: 1; }
.q-arrow.prev { left: 0; } .q-arrow.next { right: 0; }
.q-dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.q-dots button { width: 11px; height: 11px; border-radius: 50%; border: 0; background: #F2C9D9; cursor: pointer; padding: 0; }
.q-dots button.on { background: var(--olive); }
@media (max-width: 900px) { .q-track { grid-auto-columns: calc((100% - 32px) / 2); } }
@media (max-width: 600px) { .q-carousel { padding: 0 32px; } .q-track { grid-auto-columns: 100%; } }

/* 7. Hãy tham gia */
.join { display: grid; grid-template-columns: 170px 1fr 170px; align-items: end; gap: 24px; max-width: 900px; }
.join-art { width: 100%; height: auto; }
.join-mid { text-align: center; padding-bottom: 10px; }
.join-mid h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.join-cta { display: flex; align-items: flex-end; justify-content: center; gap: 16px; margin-top: 18px; }
.crawl { width: 110px; height: auto; }
@media (max-width: 700px) { .join { grid-template-columns: 1fr 1fr; } .join-mid { grid-column: 1 / -1; order: -1; } .join-art { max-width: 140px; margin: 0 auto; } }

/* =========================================================
   THƯ VIỆN BÀI VIẾT
   ========================================================= */
.promo-banner {
  display: flex; align-items: center; gap: 18px; max-width: 620px; margin: 22px auto 26px; padding: 12px 14px 12px 18px;
  border-radius: 16px; background: linear-gradient(90deg, #fff 0%, var(--lav-50) 60%); border: 1px solid #E3DAF3;
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow);
}
.promo-banner:hover { color: var(--ink); border-color: var(--lav); }
.pb-logo { font-size: 2rem; }
.pb-text { flex: 1; line-height: 1.35; font-size: .95rem; } .pb-text span { color: var(--muted); font-size: .88rem; }
.pb-cta { background: var(--lav); color: #fff; font-weight: 700; font-size: .88rem; padding: 9px 16px; border-radius: 999px; white-space: nowrap; }

.res-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: center; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.res-intro-text { text-align: center; padding: 40px 32px; }
.ri-q { font-size: 1.3rem; font-weight: 800; color: var(--muted); margin-bottom: 4px; }
.ri-a { font-size: 1.35rem; color: var(--olive); font-weight: 600; margin-bottom: 18px; }
.res-intro-img { height: 100%; min-height: 260px; position: relative; }
.res-intro-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.filter-bar { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.fb-left, .fb-right { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.fb-label { font-size: .85rem; color: var(--muted); padding-bottom: 10px; }
.fsel { display: grid; gap: 2px; font-size: .72rem; color: var(--muted); }
.fsel span { padding-left: 4px; }
.fsel select, .fsel input {
  font-family: inherit; font-size: .9rem; padding: 8px 10px; min-width: 150px; border-radius: 10px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
}
.fsel select:focus, .fsel input:focus { outline: none; border-color: var(--olive); }
.fsearch input { min-width: 200px; }

.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0; min-height: 10px; }
.pg-nums { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pg-num, .pg-arrow {
  font-family: inherit; border: 0; cursor: pointer; border-radius: 50%; width: 36px; height: 36px;
  font-weight: 700; font-size: .9rem; color: var(--ink); background: transparent;
}
.pg-num:hover { background: var(--olive-50); }
.pg-num.on { background: var(--olive-100); color: var(--olive-d); }
.pg-arrow { background: #E7E1D3; color: #fff; font-size: 1.4rem; line-height: 1; }
.pg-arrow:not(:disabled) { background: var(--olive); }
.pg-arrow:disabled { cursor: default; opacity: .5; }

.agrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.agrid-3 { grid-template-columns: repeat(3, 1fr); }
.acard {
  display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(160,50,100,.06); transition: transform .18s, box-shadow .18s;
}
.acard[hidden] { display: none; }
.acard:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.acard-img { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; }
.acard-emo { font-size: 3.2rem; filter: drop-shadow(0 4px 8px rgba(0,0,0,.12)); }
.acard-tag { position: absolute; top: 10px; left: 10px; background: rgba(255,255,255,.92); color: var(--ink); font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 6px; }
.acard-tag.static { position: static; display: inline-block; margin-bottom: 12px; }
.acard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.acard-meta { font-size: .75rem; color: var(--muted); margin-bottom: 6px; }
.acard h3 { font-size: 1rem; line-height: 1.35; margin-bottom: 8px; }
.acard p { font-size: .85rem; color: var(--muted); line-height: 1.5; margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.acard-foot { margin-top: auto; display: flex; justify-content: space-between; font-size: .78rem; font-weight: 600; color: var(--olive-d); }
.acard-foot span:last-child { color: var(--muted); font-weight: 500; }
.empty { padding: 40px 0; }
.cat-move { background: linear-gradient(135deg, #DDEDF5, #BFDDEB); }
.cat-lang { background: linear-gradient(135deg, #FCEEE6, #F7D3C0); }
.cat-heart { background: linear-gradient(135deg, #FBE3EA, #F4C6D3); }
.cat-health { background: linear-gradient(135deg, #E4F5EC, #C7EBD8); }
.cat-safe { background: linear-gradient(135deg, #FDF0D2, #F7DD9C); }
.cat-preg { background: linear-gradient(135deg, #F1ECFA, #DCCFF2); }
.cat-parent { background: linear-gradient(135deg, #FFEFE6, #FFD9C7); }
.cat-mind { background: linear-gradient(135deg, #E0F2EE, #BFE3DA); }
.acard-img.has-img { overflow: hidden; }
.acard-img.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.acard:hover .acard-img.has-img img { transform: scale(1.04); }
.acard-img.has-img .acard-tag { z-index: 1; background: var(--olive); color: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.art-fig { margin: 0 0 22px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); background: var(--cream); }
.art-fig img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 1100px) { .agrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .agrid, .agrid-3 { grid-template-columns: repeat(2, 1fr); } .res-intro { grid-template-columns: 1fr; } .res-intro-img { min-height: 220px; } }

/* Trang bài viết */
.art-hero { padding: 40px 0 36px; }
.art-wrap { max-width: 800px; }
.art-hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.art-meta { color: var(--muted); font-size: .92rem; margin: 0; }
.crumbs { color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.art-lead { font-size: 1.15rem; color: var(--ink); font-weight: 500; }
.art-body h2 { font-size: 1.35rem; margin-top: 1.6em; }

/* =========================================================
   LỚP HỌC: tìm kiếm + duyệt theo
   ========================================================= */
.cls-explore { background: #FFF0F6; padding: 44px 0 34px; border-bottom: 1px solid var(--line); }
.cls-explore h1 { font-size: clamp(1.7rem, 3.8vw, 2.8rem); margin-bottom: 22px; }
.cls-search { position: relative; display: block; }
.cls-search input {
  width: 100%; font-family: inherit; font-size: 1rem; padding: 14px 48px 14px 18px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
}
.cls-search input:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 4px var(--olive-50); }
.cls-search svg { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--muted); pointer-events: none; }
.cls-tabs { display: flex; align-items: flex-end; gap: 6px; margin: 26px 0 16px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.cls-tabs::-webkit-scrollbar { display: none; }
.cls-browse { color: var(--olive); font-weight: 600; padding: 10px 24px 10px 0; white-space: nowrap; }
.cls-tab {
  font-family: inherit; font-size: 1rem; background: none; border: 0; cursor: pointer; color: var(--muted);
  padding: 10px 28px; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap;
}
.cls-tab[aria-selected="true"] { color: var(--olive-d); border-bottom-color: var(--olive); font-weight: 600; }
.cls-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  font-family: inherit; min-width: 170px; background: #fff; border: 1.5px solid transparent; border-radius: 10px; cursor: pointer;
  padding: 10px 16px; display: grid; gap: 2px; text-align: center; box-shadow: 0 2px 8px rgba(160,50,100,.09); color: var(--ink);
  transition: border-color .15s, background .15s;
}
.chip b { font-weight: 600; font-size: .95rem; }
.chip span { font-size: .78rem; color: var(--muted); }
.chip:hover { border-color: var(--olive-100); }
.chip.on { border-color: var(--olive); background: var(--olive-50); }
.chip.on b { color: var(--olive-d); }
.cls-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cls-clear { font-family: inherit; background: var(--olive-50); border: 0; color: var(--olive-d); font-weight: 700; padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.cls-card[hidden] { display: none; }

/* =========================================================
   ĐIỆN THOẠI
   ========================================================= */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .wrap { padding: 0 16px; }
  .section { padding: 52px 0; }
  .section.tight { padding: 40px 0; }
  .head { margin-bottom: 28px; }
  .lead { font-size: 1.02rem; }
  .hide-sm { display: none; }
  .topbar { font-size: .82rem; padding: 6px 12px; }
  .site-header .wrap { height: 62px; }
  .nav { top: 62px; max-height: calc(100vh - 62px); overflow-y: auto; }
  .logo svg { width: 34px; height: 34px; }
  .logo-text { font-size: 1.3rem; }
  .btn { padding: 13px 22px; }

  /* Thanh đăng ký dính đáy màn hình */
  .mobile-cta {
    display: block; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 45; text-align: center; padding: 15px; border-radius: 999px; background: var(--terra); color: #fff;
    font-weight: 700; text-decoration: none; box-shadow: 0 10px 28px rgba(0,0,0,.25);
    transition: transform .25s ease, opacity .25s ease;
  }
  .mobile-cta:hover { color: #fff; }
  .mobile-cta.hide { transform: translateY(140%); opacity: 0; pointer-events: none; }

  /* Hero */
  .hero-full { min-height: 0; }
  .hero-full-inner { padding-top: 56px; padding-bottom: 48px; }
  .hero-full h1 { font-size: 1.85rem; }
  .hero-full p { font-size: .98rem; margin-bottom: 22px; }
  .pill-row { gap: 10px; }

  /* Vì sao: 2 cột gọn */
  .why-grid { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .why svg { width: 120px; height: 70px; margin-bottom: 8px; }
  .why img { width: 100%; max-width: 170px; height: 100px; margin-bottom: 10px; }
  .why p { font-size: .88rem; line-height: 1.5; }

  /* Các phần chia đôi */
  .half-text, .halves.reverse .half-text { padding: 44px 16px 28px; }
  .half-media { min-height: 230px; }
  .half-media.pad { padding: 32px 16px 36px; }
  .half-text .btn { align-self: stretch; text-align: center; }

  /* Thẻ hoạt động: mũi tên nằm trên vùng hình, không đè chữ */
  .act-card-top { height: 150px; }
  .act-card-emo { font-size: 4rem; }
  .car-arrow { top: 75px; width: 38px; height: 44px; font-size: 1.6rem; background: rgba(59,34,50,.85); }
  .car-arrow.prev { left: 10px; } .car-arrow.next { right: 10px; }
  .fb { min-height: 56px; }

  /* Khung điện thoại nhỏ lại */
  .phone { width: 250px; border-radius: 36px; padding: 9px; }
  .phone-screen { min-height: 0; border-radius: 28px; }
  .phone-body { padding: 12px; gap: 8px; }
  .half-media .phone-body .mini:nth-child(n+5) { display: none; }
  .card .icon-tile { width: 44px; height: 44px; font-size: 1.3rem; border-radius: 13px; margin-bottom: 10px; }
  .mini { font-size: .82rem; padding: 10px 12px; }

  /* Lời hứa */
  .q-carousel { padding: 0 30px; }
  .q-arrow { font-size: 2rem; padding: 4px; }

  /* Hãy tham gia: hình nhỏ, gọn */
  .join { grid-template-columns: 1fr 1fr; gap: 8px; }
  .join-art { max-width: 96px; }
  .join-cta { flex-direction: column; align-items: center; gap: 6px; }
  .crawl { width: 84px; height: auto; }

  /* Form đăng ký */
  .signup { padding: 30px 18px; border-radius: 26px; gap: 24px; }
  .form { padding: 20px 16px; border-radius: 18px; }
  .form .btn { width: 100%; }

  /* Hộp chi tiết trượt từ dưới lên */
  dialog.modal { margin: auto auto 0; width: 100%; max-width: 100%; max-height: 88vh; border-radius: 24px 24px 0 0; }
  .modal-head { padding: 22px 18px 0; }
  .modal-body { padding: 14px 18px 28px; }

  /* Các trang con */
  .page-hero { padding: 40px 0 36px; }
  .feature-lav { border-radius: 26px; }
  .weeks { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .week { padding: 12px 8px; }
  .stage-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin: 20px -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .stage-tabs::-webkit-scrollbar { display: none; }
  .stage-tab { flex: none; }
  .stage-intro { padding: 22px; }
  .milestone-box { padding: 20px; }
  .card { padding: 20px; }
  .article { padding: 22px 18px; }
  .rm { grid-template-columns: 46px 1fr; gap: 14px; }
  .rm .bub { width: 46px; height: 46px; font-size: 1.15rem; }
  .rm::before { left: 22px; top: 46px; }

  /* Thư viện bài viết: mỗi bài 1 dòng ngang, hình nhỏ bên trái */
  .promo-banner { margin: 16px 0 18px; gap: 12px; padding: 10px 12px; }
  .pb-logo { font-size: 1.6rem; }
  .pb-cta { display: none; }
  .res-intro-text { padding: 30px 16px; }
  .ri-q, .ri-a { font-size: 1.1rem; }
  .filter-bar { display: grid; gap: 10px; }
  .fb-left, .fb-right { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .fb-label { display: none; }
  .fsearch { grid-column: 1 / -1; }
  .fsel select, .fsel input { min-width: 0; width: 100%; font-size: 16px; padding: 10px; }
  .fb-right .fsel { grid-column: 1 / -1; }
  .agrid, .agrid-3 { grid-template-columns: 1fr; gap: 12px; }
  .acard { flex-direction: row; }
  .acard-img { aspect-ratio: auto; width: 104px; flex: none; }
  .acard-emo { font-size: 2.2rem; }
  .acard-tag { display: none; }
  .acard-body { padding: 12px 14px; }
  .acard h3 { font-size: .95rem; margin-bottom: 4px; }
  .acard p { -webkit-line-clamp: 2; font-size: .82rem; margin-bottom: 8px; }
  .acard-foot span:first-child { display: none; }
  .pg-num, .pg-arrow { width: 40px; height: 40px; }
  .art-hero { padding: 28px 0 26px; }
  .art-lead { font-size: 1.05rem; }

  /* Lớp học: ô duyệt 2 cột */
  .cls-explore { padding: 28px 0 22px; }
  .cls-search input { font-size: 16px; }
  .cls-tab { padding: 10px 18px; }
  .cls-browse { padding-right: 10px; }
  .cls-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .chip { min-width: 0; padding: 10px 8px; }

  /* Chân trang gọn: 2 cột link */
  .site-footer { padding: 44px 0 20px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 26px 16px; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .foot-bottom { margin-top: 28px; }
}
@media (max-width: 360px) {
  .why-grid { grid-template-columns: 1fr; }
  .hero-full h1 { font-size: 1.6rem; }
}

/* Mục lục bài viết + dải chủ đề (SEO) */
.toc { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin: 0 0 26px; }
.toc-t { font-weight: 700; margin: 0 0 8px; color: var(--olive-d); }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin: 4px 0; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--olive-d); text-decoration: underline; }
.prose h2[id] { scroll-margin-top: 90px; }
.cat-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 22px; }
.art-body ~ * .cat-links, .bg-soft .cat-links { margin-top: 22px; }
.cat-links .chip { text-decoration: none; min-width: 0; display: inline-block; border-radius: 999px; padding: 8px 16px; font-size: .9rem; font-weight: 600; }
.cat-links .chip.on { color: var(--olive-d); }
@media (max-width: 760px) { .cat-links { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; } .cat-links .chip { flex: none; } }


/* ===== Phong cách mẹ trẻ: tiêu đề phông tròn, góc bo mềm, nút hồng ===== */
h1, h2, h3, .logo, .btn, .ri-q { font-family: var(--font-head); }
h1, h2 { font-weight: 800; letter-spacing: -.01em; }
.btn { border-radius: 999px; }
.topbar { background: linear-gradient(90deg, #C23B70, #E0558A 55%, #FF8A6B); }
.site-footer { background: linear-gradient(180deg, #3B2232, #2E1A27); }
.hero-full h1 { text-shadow: 0 2px 18px rgba(70,20,50,.35); }

/* Loạt "Bé N tháng tuổi" */
.cat-month { background: linear-gradient(135deg, #FFE7F0, #FFC9DC); }
.thang-bang { display: grid; gap: 18px; margin: 0 0 30px; }
.thang-nam h3 { font-size: 1.05rem; margin: 0 0 10px; color: var(--olive-d); }
.thang-luoi { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; }
.thang { display: grid; place-items: center; gap: 0; padding: 10px 4px; border-radius: 14px; background: #fff;
  border: 1.5px solid var(--olive-100); text-decoration: none; color: var(--ink); box-shadow: 0 2px 8px rgba(160,50,100,.06); }
.thang b { font-family: var(--font-head); font-size: 1.35rem; line-height: 1.1; color: var(--olive-d); }
.thang span { font-size: .72rem; color: var(--muted); }
a.thang:hover { background: var(--olive-50); border-color: var(--olive); }
.thang.off { opacity: .45; box-shadow: none; }
.thang-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 30px 0 10px;
  padding: 14px 18px; background: var(--olive-50); border-radius: 14px; font-weight: 700; font-size: .95rem; }
.thang-nav a { text-decoration: none; }
/* Ô mời mở ứng dụng (bài Bé N tháng tuổi) */
.app-cta { display: flex; align-items: center; gap: 14px; margin: 30px 0 0; padding: 16px 18px; border-radius: 18px;
  background: linear-gradient(135deg, #FFE3EE, #F1ECFA); border: 1px solid var(--olive-100); text-decoration: none; color: var(--ink); }
.app-cta:hover { color: var(--ink); box-shadow: var(--shadow); }
.app-cta-ic { font-size: 2rem; flex: none; }
.app-cta b { display: block; font-size: 1.02rem; }
.app-cta small { display: block; color: var(--muted); font-size: .88rem; line-height: 1.5; margin-top: 2px; }
.app-cta-go { flex: none; background: var(--olive); color: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 800; font-size: .9rem; white-space: nowrap; }
@media (max-width: 560px) { .app-cta { flex-wrap: wrap; } .app-cta-go { width: 100%; text-align: center; } }
@media (max-width: 760px) { .thang-luoi { grid-template-columns: repeat(6, 1fr); } .thang-nav { flex-wrap: wrap; justify-content: center; } }

.art-fig figcaption { font-size: .75rem; color: var(--muted); padding: 6px 12px; text-align: right; background: #fff; }

.pg-gap{display:inline-flex;align-items:center;padding:0 4px;color:var(--muted);font-weight:700}

/* ===== Trang chủ: hành trình + bento + lời hứa (bố cục riêng Agoliva) ===== */
.journey { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 40px; box-shadow: 0 10px 30px rgba(224,85,138,.08); }
.journey-head { text-align: center; max-width: 640px; margin: 0 auto 28px; }
.journey-head h2 { margin: 12px 0 8px; }
.journey-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pick-card { display: grid; gap: 10px; padding: 24px; border-radius: 22px; position: relative; }
.pick-thai { background: var(--lav-50); }
.pick-be { background: var(--olive-50); }
.pick-emo { font-size: 2rem; line-height: 1; }
.pick-row { display: flex; gap: 10px; flex-wrap: wrap; }
.pick-row select { flex: 1 1 160px; min-height: 46px; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; font: inherit; background: #fff; color: var(--ink); }
.pick-card a.small { color: var(--olive-d); font-weight: 700; text-decoration: none; }
.journey-line { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: chang; position: relative; }
.journey-line::before { content: ""; position: absolute; left: 10%; right: 10%; top: 15px; height: 3px; background: linear-gradient(90deg, var(--lav), var(--olive), var(--terra)); border-radius: 3px; }
.journey-line li { text-align: center; position: relative; }
.journey-line a { display: grid; justify-items: center; gap: 2px; padding: 0 6px; text-decoration: none; color: var(--ink); }
.journey-line a::before { counter-increment: chang; content: counter(chang); width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 3px solid var(--olive); display: grid; place-items: center; font-weight: 800; font-size: .85rem; color: var(--olive-d); margin-bottom: 8px; position: relative; }
.journey-line a:hover b { color: var(--olive-d); }
.journey-line span { font-size: .8rem; color: var(--muted); }

.bento { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: 22px; }
.bento-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
a.bento-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(59,34,50,.10); }
.bento-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.bento-body { padding: 22px 24px; display: grid; gap: 8px; }
.bento-body h3 { margin: 0; font-size: 1.3rem; }
.bento-tag { font-size: .8rem; font-weight: 800; color: var(--olive-d); }
.bento-go { font-weight: 800; color: var(--olive-d); text-decoration: none; }
.bento-guide { grid-row: span 2; }
.bento-guide .bento-body { flex: 1; align-content: start; }
.bento-stats { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0; }
.bento-stats span { background: var(--olive-50); border-radius: 14px; padding: 8px 12px; font-size: .85rem; color: var(--muted); }
.bento-stats b { display: block; font-size: 1.35rem; color: var(--olive-d); line-height: 1.1; }
.bento-app { background: linear-gradient(160deg, #FFF0F6, #F1ECFA); padding-bottom: 22px; }
.bento-app .act-carousel { max-width: 340px; margin: 4px auto 14px; }
.bento-app .act-carousel { max-width: 440px; padding: 0 50px; box-sizing: border-box; }
.bento-app .car-arrow.prev { left: 2px; } .bento-app .car-arrow.next { right: 2px; }
@media (max-width: 600px) { .bento-app .act-carousel { padding: 0 40px; } .bento-app .car-arrow { width: 34px; } }
.bento-app > .bento-go { padding: 0 24px; }
.bento-class { flex-direction: row; }
.bento-class img { width: 42%; aspect-ratio: auto; height: auto; min-height: 100%; }
.bento-class .bento-body { align-content: center; }

.promise { list-style: none; counter-reset: hua; padding: 0; margin: 0 auto; max-width: 1000px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.promise li { counter-increment: hua; background: #fff; border-radius: 20px; padding: 20px 20px 20px 66px; position: relative; color: var(--muted); border: 1px solid var(--line); }
.promise li::before { content: counter(hua, decimal-leading-zero); position: absolute; left: 18px; top: 18px; font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--olive); }
.promise b { display: block; color: var(--ink); margin-bottom: 2px; }

@media (max-width: 900px) {
  .journey { padding: 28px 18px; }
  .journey-pick { grid-template-columns: 1fr; }
  .journey-line { grid-template-columns: 1fr; gap: 14px; text-align: left; }
  .journey-line::before { left: 15px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; }
  .journey-line li { text-align: left; }
  .journey-line a { grid-template-columns: 32px 1fr; justify-items: start; column-gap: 12px; }
  .journey-line a::before { grid-row: span 2; margin: 0; }
  .bento { grid-template-columns: 1fr; }
  .bento-guide { grid-row: auto; }
  .bento-class { flex-direction: column; }
  .bento-class img { width: 100%; aspect-ratio: 16 / 9; min-height: 0; }
  .promise { grid-template-columns: 1fr; }
}
@media (min-width: 901px) and (max-width: 1100px) { .promise { grid-template-columns: 1fr 1fr; } }
@media (min-width: 901px) {
  .bento-guide img { flex: 1 1 auto; aspect-ratio: auto; min-height: 320px; height: 0; }
  .bento-guide .bento-body { flex: 0 0 auto; }
}

/* ===== Trang chủ: 3 hàng (lớp học → ứng dụng → cẩm nang) ===== */
.rows3 { display: grid; gap: 24px; }
.row-card { display: grid; grid-template-columns: 46% 1fr; background: #fff; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
.row-media { display: block; position: relative; min-height: 340px; }
.row-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.row-media-app { display: grid; place-items: center; padding: 36px 20px; background: linear-gradient(160deg, #FFF0F6, #F1ECFA); }
.row-media-app .act-carousel { max-width: 420px; padding: 0 50px; box-sizing: border-box; }
.row-media-app .car-arrow.prev { left: 2px; } .row-media-app .car-arrow.next { right: 2px; }
.row-body { padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; gap: 10px; position: relative; }
.row-body h3 { margin: 0; font-size: 1.6rem; }
.row-body .btn { align-self: flex-start; margin-top: 6px; }
.row-num { position: absolute; top: 22px; right: 28px; font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: var(--olive-100); line-height: 1; }
.row-list { margin: 4px 0; padding-left: 1.1em; color: var(--muted); display: grid; gap: 6px; }
.row-list b { color: var(--ink); }
.row-class { background: linear-gradient(90deg, #fff 0%, #FFF4EF 100%); }
.row-class .bento-tag { color: var(--terra-d); }
@media (max-width: 900px) {
  .row-card { grid-template-columns: 1fr; }
  .row-media { min-height: 0; aspect-ratio: 16 / 9; }
  .row-media-app { aspect-ratio: auto; }
  .row-body { padding: 26px 20px 28px; }
  .row-body h3 { font-size: 1.35rem; }
  .row-body .btn { align-self: stretch; text-align: center; }
  .row-num { top: 18px; right: 18px; font-size: 1.8rem; }
}
@media (max-width: 600px) { .row-media-app .act-carousel { padding: 0 40px; } .row-media-app .car-arrow { width: 34px; } }

/* ===== Lời chia sẻ từ cha mẹ ===== */
.share-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 8px 0 24px; }
.share-card { margin: 0; background: #FFF7FA; border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.share-card blockquote { margin: 0; color: var(--ink); line-height: 1.6; }
.share-card blockquote::before { content: "“"; display: block; font-family: var(--font-head); font-size: 2.6rem; line-height: .6; color: var(--olive); }
.share-card figcaption { margin-top: auto; display: grid; }
.share-card figcaption span { font-size: .85rem; color: var(--muted); }
.share-invite { max-width: 820px; margin: 0 auto; display: flex; gap: 20px; align-items: flex-start; background: linear-gradient(135deg, #FFF0F6, #F1ECFA); border-radius: 26px; padding: 28px 32px; }
.share-invite h3 { margin: 0 0 6px; }
.share-emo { font-size: 2.4rem; line-height: 1; }
@media (max-width: 900px) { .share-grid { grid-template-columns: 1fr; } .share-invite { flex-direction: column; padding: 24px 20px; } .share-invite .btn { align-self: stretch; text-align: center; } }

.cat-home { background: linear-gradient(135deg, #EFE9FA, #DCD0F2); }

/* ===== Trang chủ: hàng cho người lớn trong nhà ===== */
.lonely3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lonely-card { display: grid; align-content: start; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px 26px; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.lonely-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(59,34,50,.10); }
.lonely-emo { font-size: 2.2rem; line-height: 1; }
.lonely-card h3 { margin: 0; font-size: 1.35rem; }
.lonely-go { font-weight: 800; color: var(--olive-d); }
.lonely-card:nth-child(2) { background: linear-gradient(160deg, #F1ECFA, #FFF7FA); }
.lonely-card:nth-child(3) { background: linear-gradient(160deg, #FFF1F6, #FFF7FA); }
@media (max-width: 900px) { .lonely3 { grid-template-columns: 1fr; } }

/* ===== Trang Ứng dụng (bố cục kiểu trang giới thiệu app) ===== */
.app-hero { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 560px; background: #fff; }
.app-hero-text { display: flex; flex-direction: column; justify-content: center; padding: 56px 48px 56px max(24px, calc((100vw - var(--wrap)) / 2 + 20px)); }
.app-hero-text h1 { font-size: clamp(2.1rem, 4vw, 3.3rem); line-height: 1.1; margin: 14px 0 16px; }
.app-hero-media { position: relative; min-height: 380px; }
.app-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%); mask-image: linear-gradient(90deg, transparent 0, #000 18%); }
.store-soon { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.store-soon span { background: var(--ink); color: #fff; border-radius: 12px; padding: 10px 16px; font-weight: 700; font-size: .9rem; }
.feat-table { max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.feat-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.feat-row:last-child { border-bottom: 0; }
.feat-row:nth-child(odd) { background: #FFF9FB; }
.feat-row b { width: 30px; height: 30px; border-radius: 50%; background: var(--olive); color: #fff; display: grid; place-items: center; flex: 0 0 30px; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; text-align: left; }
.why-card { background: #FFF7FA; border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.why-card h3 { margin: 8px 0 6px; }
.why-emo { font-size: 2rem; }
.love-row { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; max-width: 960px; }
.love-art { font-size: 8rem; line-height: 1; text-align: center; background: #fff; border-radius: 50%; width: 220px; height: 220px; display: grid; place-items: center; box-shadow: 0 14px 30px rgba(224,85,138,.12); }
.app-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 36px 0; border-bottom: 1px solid var(--line); }
.app-row:last-child { border-bottom: 0; }
.app-row.reverse .app-row-media { order: 2; }
.app-row-media { display: grid; place-items: center; background: linear-gradient(160deg, #FFF0F6, #F1ECFA); border-radius: 30px; padding: 36px 20px; }
.app-row-text { position: relative; }
.app-row-text h3 { font-size: 1.7rem; margin: 0 0 12px; }
.app-row-text .row-num { position: static; display: block; margin-bottom: 6px; }
.tip-card { background: var(--lav); color: #fff; border-radius: 16px; padding: 14px; display: grid; gap: 6px; }
.tip-card b { font-size: .95rem; line-height: 1.35; }
@media (max-width: 900px) {
  .app-hero { grid-template-columns: 1fr; }
  .app-hero-text { padding: 40px 20px 28px; order: 1; }
  .app-hero-media { order: 2; min-height: 0; aspect-ratio: 16 / 9; }
  .app-hero-media img { -webkit-mask-image: none; mask-image: none; }
  .why-grid { grid-template-columns: 1fr; }
  .love-row { grid-template-columns: 1fr; justify-items: center; gap: 20px; }
  .love-art { width: 160px; height: 160px; font-size: 5.5rem; }
  .app-row { grid-template-columns: 1fr; gap: 24px; }
  .app-row.reverse .app-row-media { order: 0; }
}

.feat-row em { font-style: normal; font-size: .8rem; font-weight: 800; color: var(--muted); background: var(--line); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }

/* ===== Bảng giá 3 gói ===== */
.pv { max-width: 1080px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 26px; box-shadow: 0 12px 30px rgba(224,85,138,.08); }
.pv-head, .pv-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 14px; align-items: center; }
.pv-head { align-items: stretch; margin-bottom: 8px; }
.pv-intro { display: grid; align-content: center; gap: 4px; color: var(--muted); font-size: .9rem; padding-right: 10px; }
.pv-intro b { color: var(--ink); font-size: 1.05rem; }
.pv-plan { position: relative; background: #FFF7FA; border: 1px solid var(--line); border-radius: 20px; padding: 22px 14px 18px; text-align: center; display: grid; gap: 6px; justify-items: center; }
.pv-plan h3 { margin: 0; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em; }
.pv-price { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: var(--olive-d); line-height: 1.1; }
.pv-price small { font-size: .85rem; color: var(--muted); font-weight: 700; }
.pv-sub { font-size: .8rem; color: var(--muted); min-height: 1.2em; }
.pv-plan .btn { margin-top: 6px; padding: 10px 18px; font-size: .9rem; }
.pv-best { background: #fff; border: 2px solid var(--olive); box-shadow: 0 10px 24px rgba(224,85,138,.15); }
.pv-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--olive); color: #fff; font-size: .72rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.pv-row { padding: 13px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.pv-row > span:not(.pv-feat) { text-align: center; color: var(--olive-d); font-weight: 700; }
.pv-row .pv-hot { background: #FFF1F6; border-radius: 10px; padding: 4px 0; }
.pv-feat { color: var(--ink); }
.pv-ok { font-style: normal; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--olive); color: #fff; font-size: .8rem; }
.pv-no { font-style: normal; color: #C9B3BE; }
.pv-note { margin: 18px 0 0; padding: 14px 16px; background: var(--olive-50); border-radius: 14px; font-size: .85rem; color: var(--muted); text-align: center; }
@media (max-width: 900px) {
  .pv { padding: 16px; }
  .pv-head { grid-template-columns: 1fr; }
  .pv-intro { text-align: center; padding: 0; }
  .pv-best { order: -1; }
  .pv-intro { order: -2; }
  .pv-row { grid-template-columns: 1fr 1fr 1fr; row-gap: 6px; }
  .pv-feat { grid-column: 1 / -1; font-weight: 700; }
  .pv-row > span:not(.pv-feat)::before { content: attr(data-g); display: block; font-size: .7rem; color: var(--muted); font-weight: 600; }
}

/* ===== Bảng giá kiểu bảng so sánh (pb) ===== */
.wrap-wide { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.pb-title { color: var(--olive-d); font-weight: 700; }
.pb-lead { max-width: 900px; margin-left: auto; margin-right: auto; }
.pb { background: #fff; border-radius: 6px; box-shadow: 0 6px 24px rgba(59,34,50,.10); padding: 36px 40px 28px; }
.pb-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 24px; align-items: stretch; }
.pb-col { display: grid; grid-template-rows: 150px repeat(10, 46px); border-radius: 10px; position: relative; }
.pb-plan { background: #F6F2F4; }
.pb-best { background: #fff; border: 2px solid var(--olive); }
.pb-tag { position: absolute; top: -12px; right: -2px; background: var(--olive); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .03em; padding: 4px 10px; border-radius: 4px; }
.pb-head { display: grid; justify-items: center; align-content: center; gap: 4px; text-align: center; padding: 10px; }
.pb-head h3 { margin: 0; font-size: 1rem; letter-spacing: .08em; }
.pb-price { color: var(--olive-d); font-weight: 800; font-size: 1.25rem; }
.pb-price small { font-size: .8rem; }
.pb-sub { font-size: .78rem; color: var(--muted); }
.pb-btn { margin-top: 10px; display: inline-block; background: var(--olive); color: #fff; font-weight: 800; font-size: .78rem; letter-spacing: .03em; padding: 8px 26px; border-radius: 999px; text-decoration: none; }
.pb-btn:hover { background: var(--olive-d); }
.pb-btn-off { background: #F2C9D9; }
.pb-head-left { justify-items: start; text-align: left; }
.pb-toggle { display: inline-flex; background: #F6F2F4; border-radius: 999px; padding: 3px; }
.pb-toggle span { padding: 6px 16px; border-radius: 999px; font-size: .85rem; color: var(--muted); }
.pb-toggle span.on { background: var(--olive); color: #fff; font-weight: 700; }
.pb-save { color: var(--olive-d); font-size: .85rem; font-weight: 600; }
.pb-cell { display: flex; align-items: center; justify-content: center; font-size: .9rem; color: var(--olive-d); }
.pb-lab { justify-content: flex-start; gap: 8px; color: var(--ink); }
.pb-i { width: 17px; height: 17px; border-radius: 50%; border: 1.5px solid var(--olive); background: #fff; color: var(--olive); font: italic 700 .7rem/1 serif; cursor: help; padding: 0; position: relative; flex: 0 0 17px; }
.pb-i:hover::after, .pb-i:focus::after { content: attr(data-tip); position: absolute; left: 24px; top: 50%; transform: translateY(-50%); width: 240px; background: var(--ink); color: #fff; font: normal 400 .8rem/1.4 sans-serif; padding: 8px 10px; border-radius: 8px; z-index: 5; text-align: left; }
.pb-ok { font-style: normal; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--olive); color: #fff; font-size: .7rem; }
.pb-no { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #D6C6CE; }
.pb-foot { margin-top: 24px; border: 1px solid var(--line); padding: 16px; text-align: center; font-size: .88rem; font-weight: 700; color: var(--muted); }
.pb-note { text-align: center; margin: 12px 0 0; }
@media (max-width: 900px) {
  .pb { padding: 20px 14px; }
  .pb-grid { grid-template-columns: 1fr; gap: 20px; }
  .pb-left { display: none; }
  .pb-best { order: -1; }
  .pb-col { grid-template-rows: auto; padding-bottom: 8px; }
  .pb-cell { justify-content: space-between; padding: 9px 16px; border-top: 1px solid rgba(0,0,0,.05); font-weight: 700; }
  .pb-cell::before { content: attr(data-l); color: var(--ink); font-weight: 400; margin-right: 10px; text-align: left; }
}
.pb-best .pb-head { padding-top: 26px; }

/* Logo chữ Agoliva */
.logo-img { height: 42px; width: auto; display: block; }
.site-footer .logo-img { height: 48px; }
@media (max-width: 720px) { .logo-img { height: 34px; } }

/* Thu gọn đầu trang ứng dụng */
.app-hero { min-height: 420px; }
.app-hero-text { padding-top: 36px; padding-bottom: 36px; align-items: flex-start; }
.app-hero-text > * { max-width: 520px; }
.app-hero-text .eyebrow, .app-hero-text .badge, .app-hero-text .pill { align-self: flex-start; width: auto; }
.app-hero-text h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 10px 0 12px; }
.app-hero-text .lead { font-size: 1rem; }
.app-hero-text .btn-row.mt-4 { margin-top: 16px; }
.app-hero-text .btn { padding: 11px 22px; font-size: .92rem; }
.store-soon { margin-top: 16px; gap: 8px; }
.store-soon span { padding: 7px 12px; font-size: .8rem; border-radius: 10px; }
@media (max-width: 900px) { .app-hero { min-height: 0; } }

/* Đầu trang ứng dụng: chữ đè lên ảnh, khối chữ nhỏ */
@media (min-width: 901px) {
  .app-hero { display: block; position: relative; min-height: 400px; overflow: hidden; }
  .app-hero-media { position: absolute; inset: 0; min-height: 0; }
  .app-hero-media img { -webkit-mask-image: none; mask-image: none; object-position: 70% center; }
  .app-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.95) 0, rgba(255,255,255,.85) 26%, rgba(255,255,255,0) 52%); }
  .app-hero-text { position: relative; z-index: 1; min-height: 400px; padding-top: 28px; padding-bottom: 28px; }
  .app-hero-text > * { max-width: 340px; }
}
.app-hero-text .eyebrow { font-size: .68rem; padding: 4px 10px; }
.app-hero-text h1 { font-size: clamp(1.4rem, 2vw, 1.7rem); margin: 8px 0 8px; }
.app-hero-text .lead { font-size: .84rem; line-height: 1.55; }
.app-hero-text .btn-row.mt-4 { margin-top: 12px; gap: 8px; }
.app-hero-text .btn { padding: 8px 16px; font-size: .8rem; }
.store-soon { margin-top: 10px; gap: 6px; }
.store-soon span { padding: 5px 10px; font-size: .7rem; border-radius: 8px; }
@media (min-width: 901px) {
  .app-hero, .app-hero-text { min-height: 460px; }
  .app-hero-media { left: 30%; }
  .app-hero-media img { object-position: center 25%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
  .app-hero-media::after { display: none; }
}

/* Đầu trang ứng dụng: thu còn một nửa */
.app-hero-full { min-height: 280px; }
.app-hero-full > img { object-position: center 30%; }
.app-hero-full .hero-full-inner { padding-top: 22px; padding-bottom: 22px; }
.app-hero-full h1 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 6px; }
.app-hero-full p { font-size: .88rem; margin-bottom: 14px; }
.app-hero-full .pill-btn { padding: 8px 18px; font-size: .82rem; }
.app-hero-full .pill-row { gap: 8px; }
@media (max-width: 720px) {
  .app-hero-full { min-height: 0; }
  .app-hero-full .hero-full-inner { padding-top: 26px; padding-bottom: 22px; }
  .app-hero-full h1 { font-size: 1.35rem; }
  .app-hero-full .pill-row { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .app-hero-full .pill-btn { width: auto; }
}
