/* ============ TOKENS ============ */
:root {
  --moss: #6A8042;
  --moss-dark: #1E3006;
  --forest: #0A5C41;
  --orange: #F0A22E;
  --cream: #FFF6E0;
  --ink: #171717;
  --muted: #5b5b5b;
  --white: #fff;
  --radius: 999px;
  --shadow-hard: 9px 9px 0 #000;
  --font-body: "Quicksand", system-ui, sans-serif;
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1240px, 100% - 32px); margin-inline: auto; }

/* ============ HEADER ============ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px clamp(16px, 3vw, 40px);
  border-bottom: 1px solid transparent;
  transition: background .3s cubic-bezier(.4,0,.2,1), padding .3s cubic-bezier(.4,0,.2,1),
    box-shadow .3s cubic-bezier(.4,0,.2,1), border-color .3s;
}
/* kéo xuống: chuyển từ trong suốt trên nền xanh sang thanh kính mờ sáng (liquid glass) như trang mẫu */
.header.scrolled {
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  backdrop-filter: blur(24px) saturate(1.4);
  padding-block: 16px;
  border-bottom-color: #F1F5F9;
  box-shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px -1px rgba(0,0,0,.1), inset 0 -1px 0 rgba(255,255,255,.6);
}
.header.scrolled .logo { color: var(--ink); }
.header.scrolled .pill { background: #F1F5F9; color: #334155; backdrop-filter: none; }
.header.scrolled .pill:hover { background: #E2E8F0; }
.header.scrolled .pill-user { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px -1px rgba(0,0,0,.1); }
.logo { display: flex; align-items: center; gap: 12px; color: var(--white); transition: color .3s; }
.logo-mark {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: #3f5a33; border: 2px solid rgba(255,255,255,.6);
}
.logo-mark svg { width: 30px; height: 30px; }
.logo-text { font-family: var(--font-display); font-weight: 800; font-size: 22px; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 16px; border-radius: var(--radius);
  background: rgba(255,255,255,.28); color: var(--ink);
  font-weight: 600; font-size: 14px;
  backdrop-filter: blur(6px);
  transition: background .3s, color .3s, transform .2s;
}
.pill:hover { background: rgba(255,255,255,.5); transform: translateY(-1px); }
.pill-round { width: 42px; padding: 0; justify-content: center; position: relative; }
.badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 20px; height: 20px; border-radius: 10px;
  background: #ef2b5b; color: #fff; font-size: 11px; font-weight: 700;
  display: grid; place-items: center; border: 2px solid #fff;
}
.pill-user { height: 46px; padding: 0 16px 0 6px; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: #e5ecd9; color: var(--moss);
  display: grid; place-items: center;
}
.user-meta { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.user-meta small { font-size: 10px; font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: 4px; }

/* menu tài khoản (rê chuột / bấm vào nút Khách) */
.user-menu { position: relative; }
.um-chev { margin-left: 2px; opacity: .7; transition: transform .2s; }
.user-menu.open .um-chev { transform: rotate(180deg); }
.user-drop {
  position: absolute; top: calc(100% + 12px); right: 0; z-index: 60; width: 300px;
  padding: 10px; border-radius: 22px; background: #fff; color: #1f2937;
  box-shadow: 0 20px 45px -12px rgba(15, 23, 42, .28), 0 0 0 1px rgba(15, 23, 42, .05);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top right;
  transition: opacity .18s, transform .18s, visibility 0s .18s;
}
.user-drop::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* cầu nối để rê chuột xuống không bị tắt */
.user-menu.open .user-drop { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s; }
.ud-hello { padding: 14px 16px; border-radius: 14px; background: #FFFBEA; margin-bottom: 6px; }
.ud-hello b { display: block; font-size: 15px; font-weight: 700; color: #1e293b; }
.ud-hello p { margin: 6px 0 0; font-size: 12.5px; line-height: 1.5; color: #64748b; }
.ud-item { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; font-size: 15px; font-weight: 700; color: #1e293b; }
.ud-item:hover, .ud-item:focus-visible { background: #F8FAFC; outline: none; }
.ud-ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: #fff; color: #4d5f2e; box-shadow: 0 1px 3px rgba(15, 23, 42, .12), 0 0 0 1px rgba(15, 23, 42, .04); }
.ud-orange { color: #EA7A1B; }
.ud-blue { color: #3B82F6; }
.ud-logout { width: 100%; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 700; color: #1e293b; cursor: pointer; text-align: left; }
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.dot.on { background: #22c55e; }
.ud-foot { margin: 6px 0 0; padding: 12px 0 6px; border-top: 1px solid #F1F5F9; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; color: #CBD5E1; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: #9aa58a; display: inline-block; }

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  background: var(--moss); overflow: hidden;
  display: flex; align-items: center;
  padding: 120px clamp(16px, 3vw, 40px) 80px;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 28px 28px;
}
/* linh vật cáo ở hero — nghiêng người + con ngươi nhìn theo chuột (script.js) */
.owl {
  position: absolute; right: 0; bottom: -24px;
  width: min(58vw, 900px); aspect-ratio: 936 / 698;
  pointer-events: none;
}
.owl-art {
  position: absolute; inset: 0; transform-origin: 70% 100%;
  transform: translate(var(--owl-x, 0px), var(--owl-y, 0px)) rotate(var(--owl-tilt, 0deg));
  transition: transform .5s cubic-bezier(.2,.8,.3,1);
}
.owl-float { position: absolute; inset: 0; transform-origin: 70% 100%; animation: owlBob 4.5s ease-in-out infinite; }
.owl-float img, .owl-eyes { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.owl-float img { filter: drop-shadow(-10px 6px 18px rgba(0,0,0,.18)); }
.owl-pupil, .sk-pupil { transition: transform .15s ease-out; }
.fox-blink { transform-box: fill-box; transform-origin: center; animation: foxBlink 5s 2s infinite; }
@keyframes owlBob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(-1deg); } }
@keyframes foxBlink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.08); } }
/* bong bóng lời thoại của mặt trời (bấm vào để đổi câu) */
.sun-bubble {
  position: absolute; left: 30%; top: -17%; width: 30%; margin: 0; padding: 16px 20px;
  background: rgba(224, 224, 214, .95); color: #1f2a17; border-radius: 22px;
  font-size: clamp(13px, 1.25vw, 16px); font-weight: 600; line-height: 1.45;
  box-shadow: 0 10px 24px rgba(0,0,0,.12); pointer-events: auto; cursor: pointer;
  opacity: 0; transform: translateY(10px) scale(.92); transform-origin: 80% 100%;
  animation: bubbleIn .5s 1.6s cubic-bezier(.3,1.5,.5,1) forwards;
}
.sun-bubble::after {
  content: ""; position: absolute; right: 22%; bottom: -12px; width: 26px; height: 26px;
  background: inherit; transform: rotate(45deg); border-radius: 4px;
}
.sun-bubble.swap { animation: bubbleSwap .45s cubic-bezier(.3,1.5,.5,1); opacity: 1; transform: none; }
@keyframes bubbleIn { to { opacity: 1; transform: none; } }
@keyframes bubbleSwap { 0% { transform: scale(.85); } 100% { transform: none; } }
@keyframes blinkEye { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }

.hero-content { position: relative; z-index: 2; max-width: 680px; }
.hero-kicker {
  margin: 0; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(34px, 5vw, 56px); color: rgba(255,255,255,.9);
}
.hero-title {
  position: relative; margin: 4px 0 24px;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(44px, 7.5vw, 88px); line-height: 1.05; color: #fff;
  display: flex; align-items: center; min-height: 1.15em; padding-top: 14px;
}
.typed { background: rgba(255,255,255,.2); padding: 0 8px; border-radius: 4px; white-space: nowrap; }
.typed:empty { padding: 0; }
.caret { flex: none; width: 4px; height: .9em; background: #fff; margin-left: 6px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-tag {
  position: absolute; top: -6px; left: 8px;
  font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: .05em;
  color: var(--ink); background: #fff; padding: 3px 8px; border-radius: 4px;
}
.hero-desc { color: rgba(255,255,255,.88); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.75; max-width: 560px; margin: 0 0 36px; }
.btn-hero {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; color: var(--moss);
  padding: 18px 32px; border-radius: var(--radius);
  font-weight: 700; font-size: 17px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  transition: transform .25s, box-shadow .25s;
}
.btn-hero svg { transition: transform .25s; }
.btn-hero:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,.2); }
.btn-hero:hover svg { transform: translateX(4px); }

/* ============ SKILL CARDS ============ */
.skills { padding: 56px 0 40px; }
.card-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.skill-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  aspect-ratio: 186 / 396; padding: 18px 14px 0;
  border: 4px solid #111; border-radius: 6px; color: #fff;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  box-shadow: 9px 9px 0 #111; transition: transform .25s, box-shadow .25s;
}
.skill-card:hover { transform: translate(-4px, -4px); box-shadow: 13px 13px 0 #111; }
.sk-icon {
  display: grid; place-items: center; width: 46px; height: 46px; flex: none;
  background: #fff; color: #333; border-radius: 10px; box-shadow: 0 3px 0 rgba(0,0,0,.15);
}
.skill-card h3 { margin: 16px 0 8px; font-size: clamp(18px, 1.7vw, 23px); font-weight: 700; line-height: 1.12; }
.skill-card p { margin: 0; font-size: 12.5px; line-height: 1.55; opacity: .95; }
.sk-mascot {
  position: absolute; left: -2%; bottom: -4px; width: 104%; height: auto;
  transition: transform .45s cubic-bezier(.3,1.5,.5,1); transform-origin: bottom center;
}
.skill-card:hover .sk-mascot { transform: translateY(-8px); }
.chip {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); white-space: nowrap;
  background: rgba(0,0,0,.28); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .03em;
  padding: 5px 18px; border-radius: var(--radius); backdrop-filter: blur(2px);
}
.chip-free { background: #3A2478; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(3deg); } }

/* ============ MEDIA ============ */
.media { padding: 40px 0 90px; }

/* banner cộng đồng */
.community-banner {
  display: block; position: relative; overflow: hidden; aspect-ratio: 1200 / 420;
  border: 4px solid #111; border-radius: 14px; background: #FBF8F1;
  box-shadow: 12px 12px 0 #111; transition: transform .25s, box-shadow .25s;
}
.community-banner svg { display: block; width: 100%; height: 100%; }
.community-banner:hover { transform: translate(-4px, -4px); box-shadow: 16px 16px 0 #111; }
.community-banner use { transition: transform .5s; }
.cb-title { font-family: "Caveat", cursive; fill: #1F5E3B; }
.cb-toex { font-size: 112px; font-weight: 600; letter-spacing: 2px; }
.cb-comm { font-size: 84px; font-weight: 700; }

/* hai thẻ minh hoạ */
.media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 40px; }
.media-card {
  position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9;
  border: 4px solid #111; border-radius: 14px; box-shadow: 12px 12px 0 #111;
  transition: transform .25s, box-shadow .25s;
}
.media-card > svg { display: block; width: 100%; height: 100%; }
.media-card:hover { transform: translate(-4px, -4px); box-shadow: 16px 16px 0 #111; }
.arc-title {
  font-family: var(--font-body); font-weight: 700; font-size: 44px; letter-spacing: .5px; fill: #fff;
  paint-order: stroke; stroke: rgba(40, 60, 120, .18); stroke-width: 6px;
}
.media-card .mascot { transform-box: fill-box; transform-origin: center bottom; transition: transform .45s cubic-bezier(.3,1.5,.5,1); }
.media-card:hover .mascot { transform: translateY(-10px) rotate(-3deg); }
.pill-cta {
  position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  background: #fff; color: #1F3F7A; font-weight: 700; font-size: clamp(13px, 1.4vw, 16px); letter-spacing: .06em;
  padding: 10px 26px; border-radius: 999px; border: 2px solid #CFE3F7; box-shadow: 0 8px 20px rgba(20, 60, 120, .18);
  transition: transform .2s;
}
.media-card:hover .pill-cta { transform: translateX(-50%) translateY(-3px); }

/* ============ HÀNH TRÌNH (sơ đồ số liệu) ============ */
.impact { padding: 30px 0 80px; }
.impact-card { overflow: hidden; border-radius: 32px; background: #fff; box-shadow: 0 20px 50px rgba(15, 60, 40, .12); }
.impact-map {
  position: relative; aspect-ratio: 1300 / 740; background-color: #0F6B4E;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 22px 22px;
}
.impact-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.ip {
  position: absolute; display: flex; align-items: center; gap: clamp(12px, 2vw, 26px);
  background: #F6EFDF; color: #173428; border-radius: 999px; padding: 2.2% 3%;
  box-shadow: 0 8px 0 rgba(0,0,0,.08); transition: transform .3s;
}
.ip:hover { transform: translateY(-4px) rotate(-1deg); }
.ip-ic { flex: none; display: grid; place-items: center; }
.ip-ic svg { width: clamp(34px, 4vw, 58px); height: auto; }
.ip b { display: block; font-family: var(--font-body); font-weight: 700; font-size: clamp(22px, 2.9vw, 40px); line-height: 1.05; color: #10301F; }
.ip span, .ip p { display: block; margin: 4px 0 0; font-size: clamp(14px, 1.75vw, 24px); line-height: 1.35; }
.ip p b { display: inline; font-size: inherit; }
.ip1 { left: 13.5%; top: 10%; width: 26%; }
.ip2 { left: 64.5%; top: 13%; width: 27%; }
.ip3 { left: 12.8%; top: 41%; width: 27%; }
.ip4 { left: 62%; top: 42%; width: 28.5%; }
.ip5 { left: 30.5%; top: 66%; width: 40%; border-radius: 80px; padding: 2.4% 3.4%; }
.impact-mascot { position: absolute; right: 0; bottom: 0; width: 26%; height: auto; }
.impact-foot { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: clamp(24px, 4vw, 48px) clamp(22px, 4vw, 48px); }
.impact-foot h3 { margin: 0; font-size: clamp(18px, 2vw, 25px); font-weight: 700; color: #1f2937; }
.impact-foot h2 { margin: 8px 0 12px; font-family: var(--font-body); font-weight: 700; font-size: clamp(32px, 4.6vw, 58px); color: var(--forest); line-height: 1.05; }
.impact-foot p { margin: 0; max-width: 680px; color: #6b7280; line-height: 1.7; font-size: 15px; }
.btn-more {
  flex: none; display: inline-flex; align-items: center; gap: 34px; white-space: nowrap;
  padding: 10px 10px 10px 28px; border-radius: 999px; border: 1.5px solid #d6dfd9; background: #fff;
  color: var(--forest); font-weight: 700; font-size: 15px; box-shadow: 0 8px 20px rgba(0,0,0,.06);
  transition: box-shadow .2s, transform .2s;
}
.btn-more:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.1); }
.btn-more-arrow { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--forest); color: #fff; transition: transform .2s; }
.btn-more:hover .btn-more-arrow { transform: translateX(3px); }

/* ============ CONSULT ============ */
.consult { padding: 20px 0 110px; }
.consult-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  max-width: 1100px; margin: 0 auto; padding: clamp(28px, 5vw, 64px);
  border-radius: 40px; background: linear-gradient(135deg, #FFF8DC 0%, #FFF9EC 60%, #FFFDF7 100%);
  box-shadow: 0 20px 50px rgba(160, 120, 30, .12);
}
.consult-art img { width: 100%; max-width: 380px; height: auto; display: block; margin: 0 auto; animation: bob 5s ease-in-out infinite; }
.consult h2 { margin: 0 0 16px; font-size: clamp(32px, 4vw, 48px); font-weight: 700; line-height: 1.15; color: #1B2A3A; }
.consult h2 span { color: #F07A1A; }
.consult-body > p { margin: 0 0 24px; color: #5b6472; font-size: 15px; line-height: 1.7; }
.consult-form { display: grid; gap: 16px; }
.field {
  display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 18px;
  background: #fff; border: 1.5px solid #e6e2d6; border-radius: 12px; color: #8a94a6;
  box-shadow: 0 2px 6px rgba(0,0,0,.05); transition: border-color .2s, box-shadow .2s;
}
.field:focus-within { border-color: #F07A1A; box-shadow: 0 0 0 3px rgba(240,122,26,.15); }
.field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; font: inherit; font-size: 16px; color: #1B2A3A; }
.field:has(.invalid) { border-color: #d62828; }
.consult-form button {
  height: 58px; border-radius: 12px; background: #EE7A16; color: #fff; font-weight: 700; font-size: 17px;
  box-shadow: 0 10px 20px rgba(238,122,22,.3); transition: transform .15s, box-shadow .15s;
}
.consult-form button::after { content: "  →"; }
.consult-form button:hover { transform: translateY(-2px); box-shadow: 0 14px 26px rgba(238,122,22,.35); }
.form-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 2px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: #8a94a6; text-transform: uppercase; }
.form-msg { margin: 0; text-align: center; font-weight: 700; min-height: 1.2em; }
.form-msg.ok { color: var(--forest); } .form-msg.err { color: #d62828; }

/* ============ FOOTER ============ */
.footer { position: relative; background: #1E2E06; color: #d8dfc6; padding: 110px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1.1fr; gap: 48px; }
.footer-logo { display: inline-flex; flex-direction: column; font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1.2; }
.footer-logo span:first-child { color: #C9D98B; }
.footer-logo span:last-child { color: #fff; }
.footer h4 { position: relative; color: #fff; font-size: 18px; margin: 10px 0 30px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: -12px; width: 36px; height: 3px; border-radius: 2px; background: #6A8042; }
.footer p { line-height: 1.7; font-size: 14.5px; color: #c9d59b; }
.contact-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; font-size: 14.5px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list svg { flex: none; color: #F07A1A; margin-top: 2px; }
.leaf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.leaf-list a { display: inline-flex; align-items: center; gap: 10px; opacity: .85; transition: opacity .2s, transform .2s; }
.leaf-list a svg { opacity: .7; }
.leaf-list a:hover { opacity: 1; transform: translateX(3px); }
.newsletter { display: flex; align-items: center; gap: 8px; margin-top: 18px; }
.newsletter input { flex: 1; min-width: 0; height: 40px; border: 0; outline: none; padding: 0 16px; font: inherit; color: #fff; background: rgba(255,255,255,.06); border-radius: 8px; }
.newsletter input::placeholder { color: #9aa77a; }
.newsletter button { width: 40px; height: 40px; border-radius: 8px; background: #F07A1A; color: #fff; display: grid; place-items: center; }
.socials { display: flex; gap: 22px; margin-top: 40px; }
.socials a { color: #9aa77a; transition: color .2s, transform .2s; }
.socials a:hover { color: #fff; transform: translateY(-2px); }
.footer-topics { margin-top: 70px; }
.footer-topics h5 { margin: 0 0 18px; font-size: 13px; letter-spacing: .2em; color: #9aa77a; }
.footer-topics div { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer-topics a { font-size: 13.5px; color: #b9c48f; transition: color .2s; }
.footer-topics a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1);
  font-size: 13px; color: #9aa77a;
}
.footer-bottom a:hover { color: #fff; }

/* ============ FAB ============ */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 76px; height: 76px; border-radius: 50%;
  background: #ffe68a; border: 3px solid #000; box-shadow: 4px 4px 0 #000;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-size: 10px; font-weight: 800;
  transition: transform .2s;
}
.fab:hover { transform: rotate(-8deg) scale(1.06); }

/* ============ REVEAL ANIMATION ============ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.skill-card.reveal.in:hover { transform: translate(-4px, -4px); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .card-row { grid-template-columns: repeat(3, 1fr); }
  .skill-card { aspect-ratio: auto; min-height: 380px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .impact-map { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 36px 28px 150px; }
  .impact-lines { display: none; }
  .ip, .ip5 { position: static; width: auto; padding: 18px 22px; border-radius: 40px; }
  .ip5 { grid-column: 1 / -1; }
  .impact-mascot { width: 180px; }
}
@media (max-width: 800px) {
  .hide-sm { display: none !important; }
  .pill-user { padding-right: 6px; }
  .owl { right: 70px; width: min(86vw, 400px); }
  .sun-bubble { display: none; }
  .media-grid, .consult-card { grid-template-columns: 1fr; }
  .consult-art img { max-width: 220px; }
  .impact-foot { flex-direction: column; align-items: flex-start; }
  .impact-map { grid-template-columns: 1fr; }
  .card-row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .skill-card { min-height: 360px; }
  .media-grid { gap: 28px; margin-top: 28px; }
  .community-banner, .media-card { box-shadow: 8px 8px 0 #111; }
  .community-banner { aspect-ratio: 16 / 8; }
}
@media (max-width: 480px) {
  .logo-text { font-size: 18px; }
  .logo-mark { width: 40px; height: 40px; }
  .header-actions { gap: 6px; }
  .footer-grid { grid-template-columns: 1fr; }
  .fab { width: 62px; height: 62px; }
  .btn-hero { padding: 16px 22px; font-size: 15px; }
  .hero-title { font-size: 40px; }
  .pill-cta { bottom: 5%; padding: 6px 16px; font-size: 12px; gap: 6px; }
}

/* ============ CHỌN PHẦN HỌC (thẻ "Vocab & Grammar") — theo trang mẫu ============ */
.picker { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 16px; }
.picker[hidden] { display: none; }
.picker-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: pickerFade .2s ease both; }
.picker-box {
  position: relative; width: 100%; max-width: 672px; max-height: calc(100vh - 32px); overflow: auto;
  background: #fff; border: 4px solid #000; border-radius: 12px; padding: 32px;
  box-shadow: 8px 8px 0 #000; animation: pickerZoom .2s ease both;
}
.picker-close {
  position: absolute; top: 16px; right: 16px; display: grid; place-items: center; padding: 6px;
  background: #fff; color: #000; border: 2px solid #000; border-radius: 50%; box-shadow: 2px 2px 0 #000; transition: transform .15s, box-shadow .15s;
}
.picker-close:hover { transform: translateY(-2px); box-shadow: 3px 3px 0 #000; }
.picker-box h2 { margin: 0 44px 8px 0; font-family: var(--font-body); font-weight: 700; font-size: clamp(24px, 3vw, 30px); letter-spacing: -.01em; text-transform: uppercase; color: #0f172a; }
.picker-sub { margin: 0 0 24px; font-size: 14px; font-weight: 600; color: #64748b; }
.picker-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.picker-card {
  display: flex; flex-direction: column; justify-content: space-between;
  background: #fff; border: 3px solid #000; border-radius: 8px; padding: 20px; box-shadow: 4px 4px 0 #000;
  transition: transform .15s, box-shadow .15s;
}
.picker-card:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 #000; }
.picker-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; background: var(--pc-soft); color: var(--pc-icon); border: 2px solid #000; border-radius: 8px; box-shadow: 2px 2px 0 #000; }
.picker-card h3 { margin: 0 0 8px; font-size: 20px; font-weight: 700; color: var(--pc); }
.picker-card p { margin: 0 0 24px; font-size: 13px; font-weight: 600; line-height: 1.6; color: #64748b; }
.picker-btn {
  display: flex; align-items: center; justify-content: center; width: 100%; padding: 10px 0;
  background: var(--pc); color: #fff; font-size: 13px; font-weight: 700;
  border: 2px solid #000; border-radius: 6px; box-shadow: 2px 2px 0 #000; transition: transform .15s;
}
.picker-card:hover .picker-btn { transform: translateY(-2px); }
@keyframes pickerFade { from { opacity: 0; } }
@keyframes pickerZoom { from { opacity: 0; transform: scale(.95); } }
@media (max-width: 767px) {
  .picker-box { padding: 24px; }
  .picker-grid { grid-template-columns: 1fr; }
}
