/* ============================================================
   Anh Ngữ Ms Hồng — demo site shared styles
   Theme: rose/pink (matches "Hồng") · friendly but professional
   ============================================================ */

:root {
  --rose: #e84a7f;
  --rose-dark: #c5396a;
  --coral: #ff7a59;
  --gold: #f5a623;
  --teal: #1fa8a0;
  --sky: #3f8fd6;
  --ink: #221f2e;
  --ink-soft: #4d4958;
  --ink-mute: #8a8694;
  --paper: #ffffff;
  --cream: #fff7fa;
  --cream-2: #fdeef3;
  --line: #f0dde4;
  --green: #1f8a3c;
  --shadow-sm: 0 2px 10px rgba(34, 31, 46, 0.06);
  --shadow-md: 0 10px 30px rgba(232, 74, 127, 0.12);
  --radius: 16px;
  --radius-lg: 24px;
  --maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Be Vietnam Pro", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Baloo 2", "Be Vietnam Pro", sans-serif;
  font-weight: 700;
  margin: 0 0 0.4em;
  line-height: 1.15;
  color: var(--ink);
}

p { margin: 0 0 1em; }
a { color: var(--rose); text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

.section { padding: 72px 0; }
.section-cream { background: var(--cream); }
.section-rose {
  background: linear-gradient(135deg, var(--rose) 0%, var(--coral) 100%);
  color: #fff;
}
.section-rose h2, .section-rose h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-family: "Baloo 2", sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.section-rose .eyebrow { color: #ffe2ec; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }
.section-rose .section-head p { color: #ffe7ef; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-align: center;
}
.btn-primary { background: var(--rose); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: translateY(-2px); background: var(--rose-dark); }
.btn-ghost { background: transparent; color: var(--rose); border-color: var(--rose); }
.btn-ghost:hover { background: var(--rose); color: #fff; }
.btn-white { background: #fff; color: var(--rose); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.18); }
.btn-lg { padding: 16px 34px; font-size: 1.08rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--rose);
}
.brand .logo-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--rose), var(--coral));
  color: #fff; border-radius: 12px;
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
}
.brand small { display: block; font-family: "Be Vietnam Pro"; font-weight: 500; font-size: 0.62rem; letter-spacing: 1px; color: var(--ink-mute); text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 18px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 0.92rem;
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--rose); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px; background: var(--rose); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px; border-radius: 10px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; transition: 0.2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1100px 500px at 80% -10%, #ffe2ec 0%, transparent 60%),
              radial-gradient(900px 500px at -10% 110%, #e7f7f5 0%, transparent 55%),
              var(--cream);
  padding: 76px 0 84px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.hero h1 .hl { color: var(--rose); }
.hero-lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--line);
  padding: 7px 14px; border-radius: 999px;
  font-size: 0.85rem; font-weight: 500; color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

.hero-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 26px;
  position: relative;
}
.hero-card .photo {
  height: 220px; border-radius: 18px;
  background: linear-gradient(135deg, var(--rose) 0%, var(--coral) 55%, var(--gold) 100%);
  display: grid; place-items: center;
  color: #fff; font-size: 3.6rem;
  font-family: "Baloo 2"; font-weight: 800;
}
.hero-card .stat-row { display: flex; justify-content: space-around; margin-top: 20px; text-align: center; }
.hero-card .stat .n { font-family: "Baloo 2"; font-weight: 800; font-size: 1.5rem; color: var(--rose); line-height: 1; }
.hero-card .stat .l { font-size: 0.75rem; color: var(--ink-mute); margin-top: 4px; }
.float-badge {
  position: absolute; top: -14px; right: -10px;
  background: var(--gold); color: #fff;
  font-family: "Baloo 2"; font-weight: 700; font-size: 0.8rem;
  padding: 8px 14px; border-radius: 999px;
  box-shadow: var(--shadow-md);
  transform: rotate(4deg);
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .ico {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.6rem;
  background: var(--cream-2); margin-bottom: 16px;
}
.card h3 { font-size: 1.2rem; }
.card p { color: var(--ink-soft); font-size: 0.96rem; margin-bottom: 0; }

/* course card */
.course-card { display: flex; flex-direction: column; }
.course-card .tag {
  align-self: flex-start;
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
  padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
  background: var(--cream-2); color: var(--rose);
}
.course-card ul { margin: 14px 0 18px; padding-left: 18px; color: var(--ink-soft); font-size: 0.92rem; }
.course-card li { margin: 4px 0; }
.course-card .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); }
.course-card .age { font-weight: 600; color: var(--teal); font-size: 0.9rem; }

/* achievement badge */
.badge-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; text-align: center; box-shadow: var(--shadow-sm);
}
.badge-card .medal { font-size: 2.4rem; }
.badge-card h3 { font-size: 1.05rem; margin-top: 8px; }
.badge-card p { font-size: 0.88rem; color: var(--ink-mute); margin: 0; }

/* testimonial */
.quote-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.quote-card .stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; }
.quote-card blockquote { margin: 12px 0 16px; font-size: 1rem; color: var(--ink-soft); font-style: italic; }
.quote-card .who { display: flex; align-items: center; gap: 12px; }
.quote-card .avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--coral));
  color: #fff; display: grid; place-items: center; font-weight: 700; font-family: "Baloo 2";
}
.quote-card .who b { display: block; font-size: 0.92rem; }
.quote-card .who span { font-size: 0.8rem; color: var(--ink-mute); }

/* stat band */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-band .n { font-family: "Baloo 2"; font-weight: 800; font-size: 2.4rem; line-height: 1; }
.stat-band .l { font-size: 0.9rem; opacity: 0.95; margin-top: 6px; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--ink) 0%, #3a2740 100%);
  color: #fff; border-radius: var(--radius-lg);
  padding: 44px; text-align: center;
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.cta-band p { color: #e9e3ee; max-width: 560px; margin: 0 auto 24px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: radial-gradient(900px 400px at 85% -20%, #ffe2ec 0%, transparent 60%), var(--cream);
  padding: 56px 0;
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.page-hero p { color: var(--ink-soft); max-width: 620px; margin: 0 auto; font-size: 1.05rem; }
.crumb { font-size: 0.85rem; color: var(--ink-mute); margin-bottom: 8px; }
.crumb a { color: var(--ink-mute); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 44px; align-items: center; }
.about-photo {
  height: 360px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--rose), var(--coral) 60%, var(--gold));
  display: grid; place-items: center; color: #fff;
  font-family: "Baloo 2"; font-weight: 800; font-size: 4rem;
  box-shadow: var(--shadow-md);
}
.value-list { list-style: none; padding: 0; margin: 18px 0 0; }
.value-list li { display: flex; gap: 12px; margin-bottom: 14px; }
.value-list .ck { color: var(--teal); font-weight: 800; flex-shrink: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 500; font-size: 0.9rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 0.95rem; background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--rose); border-color: transparent; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.info-list .ico {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 1.2rem; background: var(--cream-2);
}
.info-list b { display: block; font-size: 0.95rem; }
.info-list span { color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfc9d6; padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer a { color: #cfc9d6; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; font-size: 0.92rem; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center; background: rgba(255,255,255,0.08);
  font-size: 1.05rem; transition: background 0.15s;
}
.socials a:hover { background: var(--rose); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); margin-top: 36px; padding-top: 18px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.82rem; color: #9a93a6;
}
.demo-flag {
  background: var(--gold); color: #3a2740; font-weight: 600;
  padding: 2px 10px; border-radius: 999px; font-size: 0.75rem;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; background: #fff; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; padding: 16px 20px; font-family: "Baloo 2", sans-serif; font-weight: 600; font-size: 1.02rem; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--rose); font-size: 1.5rem; font-weight: 700; line-height: 1; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item .faq-body { padding: 0 20px 16px; color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.post-card .thumb { height: 150px; background: linear-gradient(135deg, var(--rose), var(--coral)); display: grid; place-items: center; color: #fff; font-size: 2.6rem; }
.post-card .thumb.t2 { background: linear-gradient(135deg, var(--teal), var(--sky)); }
.post-card .thumb.t3 { background: linear-gradient(135deg, var(--gold), var(--coral)); }
.post-card .post-body { padding: 18px 20px; display: flex; flex-direction: column; flex: 1; }
.post-card .cat { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--rose); margin-bottom: 8px; }
.post-card h3 { font-size: 1.08rem; }
.post-card p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 0; }
.post-card .read { margin-top: auto; padding-top: 12px; font-weight: 600; color: var(--rose); font-size: 0.9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: 70px 0 auto 0;
    flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 22px 18px; box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .nav-cta .btn { display: none; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-card { order: -1; }
}

@media (max-width: 520px) {
  .section { padding: 52px 0; }
  .cta-band { padding: 32px 22px; }
}
