/* ============================================================
   LUNA ENGLISH — BASE & BRAND
   Bảng màu + font theo Brand Guideline (outline mục 6)
   ============================================================ */
@font-face { font-family: 'UTM Duepuntozero'; src: url('../fonts/utm-duepuntozero.ttf') format('truetype'); font-weight: 400 600; font-display: swap; }
@font-face { font-family: 'UTM Duepuntozero'; src: url('../fonts/utm-duepuntozero-bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'SVN-Rubik'; src: url('../fonts/svn-rubik-regular.otf') format('opentype'); font-weight: 400 500; font-display: swap; }
@font-face { font-family: 'SVN-Rubik'; src: url('../fonts/svn-rubik-bold.otf') format('opentype'); font-weight: 600 700; font-display: swap; }
@font-face { font-family: 'SVN-Rubik'; src: url('../fonts/svn-rubik-italic.otf') format('opentype'); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --purple: #3E1A51;      /* American Purple — chủ đạo */
  --purple-2: #5a2b73;
  --purple-soft: #f4eef8;
  --blue: #3FA5DC;        /* Picton Blue */
  --blue-soft: #e8f5fc;
  --green: #00B273;       /* Munsell Green */
  --green-soft: #e2f7ef;
  --mango: #FFC021;       /* Ripe Mango — CTA */
  --mango-soft: #fff6dd;
  --pink: #EC3563;        /* Paradise Pink */
  --pink-soft: #fdeaf0;
  --ink: #2b2330;
  --muted: #6b6473;
  --line: #ece7f1;
  --bg: #ffffff;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 14px 38px rgba(62, 26, 81, .12);
  --shadow-sm: 0 6px 18px rgba(62, 26, 81, .10);
  /* Font thiên hướng giáo dục (yêu cầu 07/2026): Baloo 2 (tiêu đề — tròn,
     đậm, thân thiện trẻ em) + Nunito (nội dung — bo tròn, dày dặn, dễ đọc).
     Font thương hiệu UTM Duepuntozero / SVN-Rubik giữ làm fallback,
     muốn quay lại font brand chỉ cần đảo thứ tự trong 2 dòng dưới. */
  --title: 'Baloo 2', 'UTM Duepuntozero', 'Fredoka', 'Segoe UI', sans-serif;
  --body: 'Nunito', 'SVN-Rubik', 'Rubik', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* font-weight 500: Nunito 400 hơi mảnh với cỡ chữ nhỏ — 500 dày dặn, dễ đọc hơn */
body { font-family: var(--body); font-weight: 500; color: var(--ink); background: var(--bg); line-height: 1.65; overflow-x: hidden; }
h1, h2, h3, h4, .ff-title { font-family: var(--title); font-weight: 700; line-height: 1.25; color: var(--purple); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { padding-left: 1.2em; }
.container { width: min(1180px, 92vw); margin-inline: auto; }
section { padding: 64px 0; position: relative; }

.eyebrow { display: inline-block; font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--pink); margin-bottom: 10px; }
.section-title { font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--purple); }
.section-sub { color: var(--muted); max-width: 660px; margin-top: 10px; }
.center-head { text-align: center; }
.center-head .section-sub { margin-inline: auto; }

/* ---------- Nút ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; font-family: var(--title); font-weight: 600; font-size: 1rem; padding: 13px 26px; border-radius: 999px; border: 2px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--mango); color: var(--purple); box-shadow: 0 8px 20px rgba(255,192,33,.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255,192,33,.55); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.24); }
.btn-purple { background: var(--purple); color: #fff; }
.btn-purple:hover { background: var(--purple-2); transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--purple); border-color: var(--purple); }
.btn-outline:hover { background: var(--purple-soft); }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-block { width: 100%; }

/* ---------- Thẻ, lưới, badge ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.badge { display: inline-block; font-size: .78rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.badge-blue { background: var(--blue-soft); color: #1c7fb5; }
.badge-green { background: var(--green-soft); color: #00895a; }
.badge-pink { background: var(--pink-soft); color: var(--pink); }
.badge-mango { background: var(--mango-soft); color: #9a6d00; }
.badge-purple { background: var(--purple-soft); color: var(--purple); }

/* Ghi chú dữ liệu chưa chốt — giữ marker [CẦN XÁC NHẬN] dễ thấy khi rà soát */
.todo-note { background: var(--mango-soft); border: 1px dashed #d9a400; color: #7a5600; border-radius: var(--radius-sm); padding: 10px 14px; font-size: .88rem; }

/* Khối hình học trang trí (ý tưởng đồ chơi xếp hình — brand) */
.shape { position: absolute; opacity: .5; pointer-events: none; }
.shape-circle { width: 46px; height: 46px; border-radius: 50%; background: var(--blue); }
.shape-square { width: 38px; height: 38px; border-radius: 8px; background: var(--pink); transform: rotate(12deg); }
.shape-tri { width: 0; height: 0; border-left: 24px solid transparent; border-right: 24px solid transparent; border-bottom: 42px solid var(--green); }
.shape-star { color: var(--mango); font-size: 2.2rem; line-height: 1; }
@media (max-width: 720px) { .shape { display: none; } }

/* Section nền xen kẽ */
.bg-soft { background: var(--purple-soft); }
.bg-purple { background: linear-gradient(135deg, var(--purple), var(--purple-2)); color: #fff; }
.bg-purple h2, .bg-purple h3 { color: #fff; }
.bg-purple .section-sub { color: rgba(255,255,255,.82); }

/* Hero chung cho trang con */
.page-hero { background: linear-gradient(135deg, var(--purple), var(--purple-2)); color: #fff; padding: 64px 0 56px; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4.5vw, 2.7rem); }
.page-hero p { color: rgba(255,255,255,.85); max-width: 680px; margin-top: 12px; }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 14px; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
