:root {
  --ink: #173b66;
  --muted: #6f604f;
  --cream: #fff8e7;
  --paper: #fffef9;
  --yellow: #f7c431;
  --orange: #ef7c2e;
  --green: #2e8968;
  --blue: #2f6fb7;
  --earth: #8a5b3d;
  --line: #eadcc7;
  --shadow: 0 22px 55px rgba(82, 61, 38, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Be Vietnam Pro", sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 16px auto 0;
  padding: 12px 14px;
  background: rgba(255, 254, 249, 0.92);
  border: 1px solid rgba(138, 91, 61, 0.13);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 28px rgba(82, 61, 38, 0.08);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em; }
.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 2px solid white;
  border-radius: 50%;
  box-shadow: 0 5px 14px rgba(47, 111, 183, .2);
}
nav { display: flex; gap: 28px; font-size: 14px; font-weight: 600; }
nav a:hover, .text-link:hover { color: var(--orange); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange), #df6321);
  color: white;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(199, 88, 24, 0.23);
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(199, 88, 24, 0.3); }
.button-small { min-height: 40px; padding: 0 16px; border-radius: 11px; font-size: 13px; }
.button-facebook { background: linear-gradient(135deg, #1877f2, #0c5dcc); box-shadow: 0 10px 24px rgba(24, 119, 242, .25); }

.hero {
  display: grid;
  grid-template-columns: 1.07fr .93fr;
  gap: 72px;
  align-items: center;
  width: min(1120px, calc(100% - 40px));
  min-height: 690px;
  margin: 0 auto;
  padding: 74px 0 90px;
}
.eyebrow { margin: 0 0 12px; color: var(--orange); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: "DM Serif Display", serif; font-weight: 400; line-height: 1.02; letter-spacing: -0.035em; }
h1 { max-width: 680px; font-size: clamp(54px, 6.3vw, 86px); }
h2 { font-size: clamp(38px, 4vw, 56px); }
.hero-title {
  max-width: 700px;
  font-family: "DM Serif Display", serif;
  line-height: 1;
  letter-spacing: -.025em;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
  padding: 9px 14px;
  border: 1px solid rgba(23, 59, 102, .2);
  border-left: 4px solid #b98a22;
  border-radius: 3px;
  background: rgba(255, 255, 255, .72);
  color: #173b66;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  box-shadow: 0 8px 24px rgba(23, 59, 102, .07);
}
.hero-eyebrow span + span::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 11px 2px 0;
  border-radius: 50%;
  background: #b98a22;
}
.hero-title > span {
  display: block;
}
.hero-title-kicker {
  color: #173b66;
  font-size: clamp(41px, 5vw, 69px);
}
.hero-title-main {
  position: relative;
  width: fit-content;
  margin-top: 8px;
  padding-bottom: 18px;
  color: #a87916;
  font-size: clamp(46px, 5.55vw, 78px);
}
.hero-title-main::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #173b66 0 72%, #c89b37 72% 100%);
}
.hero-motto {
  display: inline-block;
  margin: 24px 0 0;
  padding: 9px 15px 10px;
  border-left: 5px solid var(--orange);
  border-radius: 0 13px 13px 0;
  background: white;
  color: var(--blue);
  font-family: "DM Serif Display", serif;
  font-size: clamp(18px, 2vw, 25px);
  font-style: italic;
  line-height: 1.2;
  box-shadow: 0 9px 24px rgba(47, 111, 183, .11);
}
.hero-intro { max-width: 620px; margin: 20px 0 18px; color: var(--muted); font-size: 17px; }
.learning-mode { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; color: var(--ink); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.learning-mode span { padding: 6px 10px; border-radius: 30px; background: #fff0b7; }
.learning-mode span:last-child { background: #e7f3ff; color: var(--blue); }
.learning-mode b { color: var(--orange); }
.online-languages { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 27px; color: var(--ink); font-size: 14px; }
.online-languages strong { margin-right: 2px; }
.online-languages span { padding: 7px 11px; border: 1px solid rgba(47, 111, 183, .18); border-radius: 999px; background: rgba(255, 255, 255, .78); color: var(--blue); font-weight: 700; box-shadow: 0 6px 16px rgba(47, 111, 183, .08); }
.hero-actions { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 4px; }
.hero-actions a { display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 1; min-width: 0; padding: 16px; border: 1px solid rgba(23, 59, 102, .08); border-radius: 22px; color: #12345b; font-size: clamp(16px, 1.65vw, 22px); font-weight: 800; line-height: 1.35; text-align: center; box-shadow: 0 12px 26px rgba(23, 59, 102, .07); transition: transform .2s ease, box-shadow .2s ease; }
.hero-actions a:nth-child(1) { background: #e5f3d7; }
.hero-actions a:nth-child(2) { background: #fbe3ed; }
.hero-actions a:nth-child(3) { background: #f9faf7; }
.hero-actions a:nth-child(4) { background: #fff3cc; }
.hero-actions a:nth-child(5) { background: #e9d7c5; }
.hero-actions a:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(23, 59, 102, .13); color: #12345b; }
.hero-actions a:focus-visible { outline: 3px solid #12345b; outline-offset: 3px; }
.hero-actions small { font-size: .72em; font-weight: 700; line-height: 1.45; }
.text-link { font-size: 14px; font-weight: 700; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 34px; color: var(--muted); font-size: 12px; font-weight: 600; }

.hero-visual {
  position: relative;
  min-height: 510px;
  margin: 0;
  overflow: hidden;
  border: 9px solid #fffdf7;
  border-radius: 34px 34px 96px 34px;
  background: #173b66;
  box-shadow: 0 28px 70px rgba(23, 59, 102, .22);
}
.hero-teacher-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 46% 0 0;
  background: linear-gradient(transparent, rgba(5, 24, 49, .86));
  pointer-events: none;
}
.hero-teacher-caption {
  position: absolute;
  z-index: 1;
  left: clamp(22px, 5vw, 42px);
  bottom: clamp(25px, 4vw, 40px);
  display: grid;
  gap: 4px;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 20, 42, .35);
}
.hero-teacher-caption span {
  color: #ffe59b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}
.hero-teacher-caption strong {
  font-family: "DM Serif Display", serif;
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 400;
  line-height: 1.1;
}
.hero-teacher-caption small { font-size: 14px; font-weight: 600; }
.sun { position: absolute; top: 48px; right: 54px; width: 88px; height: 88px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 16px rgba(245,200,76,.18); }
.note { position: absolute; padding: 10px 17px; border-radius: 50px; background: var(--paper); font-family: "DM Serif Display", serif; box-shadow: 0 10px 25px rgba(23,50,44,.1); }
.note-one { top: 90px; left: 45px; transform: rotate(-7deg); color: var(--orange); font-size: 24px; }
.note-two { right: 48px; bottom: 170px; transform: rotate(6deg); color: var(--blue); font-size: 20px; }
.lesson-card { position: absolute; left: 50%; top: 50%; display: flex; align-items: center; gap: 16px; width: 77%; padding: 22px; transform: translate(-50%, -50%) rotate(-2deg); border-radius: 22px; background: rgba(255,254,249,.96); box-shadow: 0 24px 55px rgba(31,109,91,.15); }
.lesson-icon { display: grid; place-items: center; flex: 0 0 72px; height: 72px; border-radius: 19px; background: var(--orange); color: white; font-family: "DM Serif Display", serif; font-size: 29px; }
.lesson-card small { display: block; margin-bottom: 5px; color: var(--muted); }
.lesson-card strong { font-family: "DM Serif Display", serif; font-size: 22px; }
.progress-card { position: absolute; left: 38px; right: 38px; bottom: 38px; padding: 16px 18px; border-radius: 18px; background: var(--ink); color: white; box-shadow: 0 14px 26px rgba(23,50,44,.2); }
.progress-card span { font-size: 11px; color: rgba(255,255,255,.7); }
.progress-card b { font-size: 12px; }
.progress-track { height: 7px; margin: 8px 0; overflow: hidden; border-radius: 20px; background: rgba(255,255,255,.16); }
.progress-track i { display: block; width: 72%; height: 100%; border-radius: 20px; background: var(--yellow); }

.training-showcase {
  padding: 74px max(20px, calc((100% - 1120px) / 2)) 92px;
  background: linear-gradient(145deg, #173b66, #245e9f);
  color: white;
}
.training-showcase-heading { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: end; margin-bottom: 34px; }
.training-showcase-heading .eyebrow { color: #ffd65c; }
.training-showcase-heading h2 { color: white; }
.training-showcase-heading > p { margin: 0 0 5px; color: rgba(255, 255, 255, .8); font-size: 16px; }
.training-banner-card { position: relative; margin: 0; overflow: hidden; border: 7px solid white; border-radius: 28px; background: white; box-shadow: 0 28px 70px rgba(5, 26, 53, .34); }
.training-banner-card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.training-banner-card figcaption { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px; background: white; color: var(--ink); }
.training-banner-card figcaption strong { font-size: 14px; }
.training-banner-card figcaption span { color: var(--muted); font-size: 12px; }

.tuition { padding: 96px max(20px, calc((100% - 1120px) / 2)) 104px; background: linear-gradient(145deg, #fff8e7, #fffef9); scroll-margin-top: 100px; }
.tuition-heading { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: end; }
.tuition-heading > p { margin: 0 0 5px; color: var(--muted); font-size: 16px; }
.tuition-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 42px; }
.tuition-card { overflow: hidden; padding: 30px; border: 1px solid var(--line); border-radius: 28px; background: white; box-shadow: 0 16px 40px rgba(82, 61, 38, .1); }
.tuition-card-featured { border-color: rgba(229, 169, 0, .55); box-shadow: 0 20px 48px rgba(229, 169, 0, .16); }
.tuition-card-top { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.tuition-label { display: inline-flex; margin: 0 0 14px; padding: 6px 11px; border-radius: 30px; background: #fff0b7; color: var(--earth); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.tuition-card:not(.tuition-card-featured) .tuition-label { background: #e7f3ff; color: var(--blue); }
.tuition-card h3 { margin: 0; color: var(--ink); font-family: "DM Serif Display", serif; font-size: clamp(42px, 5vw, 62px); line-height: 1; }
.tuition-card-top > span { display: block; margin-top: 9px; color: var(--muted); font-size: 14px; font-weight: 600; }
.tuition-details { display: grid; gap: 0; margin: 20px 0 26px; }
.tuition-details > div { display: flex; justify-content: space-between; gap: 24px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.tuition-details dt { color: var(--muted); font-size: 14px; }
.tuition-details dd { margin: 0; color: var(--ink); font-size: 14px; font-weight: 800; text-align: right; }
.tuition-card .button { width: 100%; }
.tuition-note { margin: 22px 0 0; color: var(--muted); font-size: 13px; text-align: center; }

.teachers { padding: 100px max(20px, calc((100% - 1120px) / 2)) 108px; background: #173b66; color: white; scroll-margin-top: 100px; }
.teacher-profile { display: grid; grid-template-columns: 150px 1fr; gap: 34px; align-items: center; max-width: 900px; }
.teacher-mark { display: grid; place-items: center; width: 150px; height: 150px; border: 3px solid rgba(255, 255, 255, .85); border-radius: 42px 42px 72px 42px; background: linear-gradient(145deg, var(--yellow), var(--orange)); color: var(--ink); font-family: "DM Serif Display", serif; font-size: 58px; box-shadow: 0 20px 45px rgba(0, 0, 0, .22); }
.teacher-intro .eyebrow { color: #ffd970; }
.teacher-intro h2 { color: white; }
.teacher-intro > p:last-child { max-width: 760px; margin: 20px 0 0; color: rgba(255, 255, 255, .76); font-size: 16px; }
.teacher-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 48px; }
.teacher-card { position: relative; min-height: 270px; overflow: hidden; padding: 30px; border: 1px solid rgba(255, 255, 255, .17); border-radius: 26px; background: rgba(255, 255, 255, .08); }
.teacher-card-wide { grid-column: 1 / -1; min-height: auto; }
.teacher-number { position: absolute; top: 15px; right: 22px; color: rgba(255, 255, 255, .12); font-family: "DM Serif Display", serif; font-size: 70px; line-height: 1; }
.teacher-label { margin: 0 0 12px; color: #ffd970; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.teacher-card h3 { margin: 0 0 15px; color: white; font-family: "DM Serif Display", serif; font-size: 36px; line-height: 1.12; }
.teacher-card > p:last-child { max-width: 470px; margin: 0; color: rgba(255, 255, 255, .7); font-size: 14px; }
.teacher-levels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.teacher-levels > div { padding: 22px; border-radius: 18px; background: white; color: var(--ink); }
.teacher-levels strong { display: block; color: var(--orange); font-family: "DM Serif Display", serif; font-size: 31px; }
.teacher-levels span { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }
.learner-levels { margin-top: 22px; padding: 26px 30px; border-radius: 24px; background: white; color: var(--ink); }
.learner-levels .teacher-label { color: var(--blue); }
.level-tags { display: flex; flex-wrap: wrap; gap: 9px; }
.level-tags span { padding: 8px 13px; border: 1px solid #d9e5f2; border-radius: 30px; background: #edf5ff; color: var(--blue); font-size: 13px; font-weight: 800; }

.programs { padding: 98px max(20px, calc((100% - 1120px) / 2)) 110px; background: var(--paper); }
.section-heading { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: end; }
.section-heading > p { margin: 0 0 4px; color: var(--muted); }
.filter-panel { display: grid; gap: 13px; margin: 42px 0 32px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 20px; background: #fff8e7; }
.filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter-group > span { width: 74px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.filter-chip { padding: 7px 12px; border: 1px solid var(--line); border-radius: 50px; background: white; color: var(--muted); cursor: pointer; font-size: 12px; font-weight: 600; }
.filter-chip:hover, .filter-chip.active { border-color: var(--blue); background: var(--blue); color: white; }
.class-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.class-card { grid-column: span 2; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: 0 8px 28px rgba(23,50,44,.04); transition: transform .22s ease, box-shadow .22s ease; }
.class-card:nth-child(4), .class-card:nth-child(5) { grid-column: span 3; }
.class-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.class-card[hidden] { display: none; }
.class-top { display: flex; align-items: center; justify-content: space-between; height: 112px; padding: 0 22px; color: white; }
.class-top span { font-family: "DM Serif Display", serif; font-size: 44px; opacity: .76; }
.class-top b { padding: 6px 10px; border-radius: 30px; background: rgba(255,255,255,.18); font-size: 11px; }
.coral { background: var(--orange); }.blue { background: var(--blue); }.green { background: var(--green); }.violet { background: var(--earth); }.navy { background: var(--ink); }
.class-body { padding: 23px; }
.class-label { margin: 0 0 4px; color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.class-body h3 { margin: 0; font-family: "DM Serif Display", serif; font-size: 27px; }
.class-body > p:not(.class-label) { min-height: 78px; color: var(--muted); font-size: 13px; }
.class-body ul { margin: 17px 0 22px; padding: 0; list-style: none; color: var(--muted); font-size: 12px; }
.class-body li { padding: 5px 0; border-bottom: 1px dashed var(--line); }
.class-body li::before { content: "•"; margin-right: 8px; color: var(--orange); }
.sample-link { padding: 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; font-size: 12px; font-weight: 800; }
.sample-link span { color: var(--orange); }
.empty-state { padding: 30px; border: 1px dashed var(--line); border-radius: 18px; color: var(--muted); text-align: center; }

.materials-vault {
  margin-top: 92px;
  padding: 48px;
  border-radius: 32px;
  background: linear-gradient(145deg, #fff6d7, #edf7ef);
  box-shadow: inset 0 0 0 1px rgba(138, 91, 61, .1);
  scroll-margin-top: 100px;
}
.materials-heading { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: end; }
.materials-heading h2 { max-width: 720px; font-size: clamp(36px, 3.8vw, 52px); }
.materials-heading > p { margin: 0 0 5px; color: var(--muted); }
.pet-sample { display: grid; grid-template-columns: 1.08fr .92fr; gap: 24px; margin-top: 38px; padding: 28px; border: 1px solid rgba(47, 111, 183, .17); border-radius: 28px; background: linear-gradient(145deg, #173b66, #245e9f); color: white; box-shadow: 0 20px 48px rgba(23, 59, 102, .18); }
.pet-sample-book { display: grid; grid-template-columns: 190px 1fr; gap: 25px; align-items: center; }
.pet-book-preview { position: relative; display: block; overflow: hidden; padding: 0; border: 4px solid white; border-radius: 18px; background: white; cursor: pointer; box-shadow: 0 16px 32px rgba(0, 0, 0, .24); }
.pet-book-preview img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: top; }
.pet-book-preview span { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 7px; border-radius: 9px; background: rgba(23, 59, 102, .92); color: white; font-size: 10px; font-weight: 800; text-align: center; }
.pet-sample-book .eyebrow { color: #ffd970; }
.pet-sample-book h3 { margin: 0; font-family: "DM Serif Display", serif; font-size: 36px; line-height: 1.05; }
.pet-sample-book p:not(.eyebrow) { color: rgba(255, 255, 255, .75); font-size: 13px; }
.pet-view-book { min-height: 42px; padding: 0 16px; border: 0; border-radius: 11px; background: var(--yellow); color: var(--ink); cursor: pointer; font-weight: 800; }
.pet-audio-list { display: grid; align-content: center; gap: 13px; }
.pet-audio-card { padding: 17px; border: 1px solid rgba(255, 255, 255, .17); border-radius: 17px; background: rgba(255, 255, 255, .1); }
.pet-audio-card > div { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.pet-audio-card span { color: #ffd970; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.pet-audio-card strong { font-size: 13px; }
.pet-audio-card audio { display: block; width: 100%; height: 40px; }
.pet-copyright-note { margin: 2px 2px 0; color: rgba(255, 255, 255, .62); font-size: 10px; }
.materials-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
.material-card { display: grid; grid-template-columns: 42% 58%; overflow: hidden; border: 1px solid rgba(46, 137, 104, .18); border-radius: 24px; background: white; box-shadow: 0 12px 32px rgba(82, 61, 38, .09); }
.material-preview { position: relative; display: block; width: 100%; min-height: 330px; overflow: hidden; padding: 0; border: 0; background: #e9f3e8; cursor: zoom-in; text-align: left; }
.material-preview img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .3s ease; }
.material-preview:hover img { transform: scale(1.035); }
.material-preview span { position: absolute; left: 14px; bottom: 14px; padding: 7px 11px; border-radius: 20px; background: rgba(23, 50, 44, .88); color: white; font-size: 10px; font-weight: 700; backdrop-filter: blur(8px); }
.material-content { display: flex; flex-direction: column; padding: 24px; }
.material-meta { display: flex; flex-wrap: wrap; gap: 7px; }
.material-meta span { padding: 5px 8px; border-radius: 30px; background: #fff2c4; color: var(--earth); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.material-content h3 { margin: 16px 0 8px; font-family: "DM Serif Display", serif; font-size: 25px; line-height: 1.1; }
.material-content p { margin: 0; color: var(--muted); font-size: 12px; }
.material-content small { margin-top: 13px; color: #7b8986; font-size: 9px; }
.material-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: auto; padding-top: 20px; }
.material-actions button { display: inline-flex; align-items: center; min-height: 38px; padding: 0 13px; border: 1px solid var(--ink); border-radius: 10px; background: var(--ink); color: white; cursor: pointer; font-size: 10px; font-weight: 800; }
.material-actions button:hover { transform: translateY(-1px); }
.view-only-badge { display: inline-flex; align-items: center; min-height: 35px; padding: 0 11px; border: 1px solid rgba(46, 137, 104, .28); border-radius: 9px; background: #edf7ef; color: var(--green); font-size: 11px; font-weight: 800; }
.vocabulary-library { margin-top: 52px; padding-top: 42px; border-top: 1px solid rgba(138, 91, 61, .18); }
.vocabulary-library-heading { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: end; }
.vocabulary-library-heading h3 { max-width: 720px; margin: 0; color: #d97a12; font-family: "DM Serif Display", serif; font-size: clamp(30px, 3vw, 42px); line-height: 1.08; text-shadow: 0 2px 0 rgba(255, 212, 64, .28); }
.vocabulary-library-heading > p { margin: 0 0 4px; color: var(--muted); font-size: 14px; }
.vocabulary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 26px; }
.vocabulary-card { min-width: 0; overflow: hidden; border: 1px solid rgba(47, 111, 183, .16); border-radius: 20px; background: white; box-shadow: 0 10px 28px rgba(82, 61, 38, .09); }
.vocabulary-preview { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; padding: 0; border: 0; background: #f6f1e5; cursor: zoom-in; }
.vocabulary-preview img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .3s ease, filter .3s ease; }
.vocabulary-preview > span { position: absolute; right: 12px; bottom: 12px; padding: 7px 10px; border-radius: 30px; background: rgba(23, 59, 102, .92); color: white; font-size: 11px; font-weight: 700; backdrop-filter: blur(7px); }
.vocabulary-preview:hover img { transform: scale(1.025); filter: saturate(1.04); }
.vocabulary-preview:focus-visible { outline: 4px solid var(--yellow); outline-offset: -4px; }
.vocabulary-content { display: flex; min-height: 210px; flex-direction: column; padding: 18px; }
.vocabulary-content small { color: var(--orange); font-size: 10px; font-weight: 800; letter-spacing: .07em; }
.vocabulary-content h4 { margin: 8px 0 8px; color: var(--ink); font-family: "DM Serif Display", serif; font-size: 21px; line-height: 1.15; }
.vocabulary-content p { margin: 0; color: var(--muted); font-size: 12px; }
.vocabulary-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 17px; }
.vocabulary-card-footer > span:first-child { color: var(--earth); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.vocabulary-card-footer .view-only-badge { min-height: 30px; padding: 0 9px; font-size: 10px; }
.image-materials { margin-top: 52px; padding-top: 42px; border-top: 1px solid rgba(138, 91, 61, .18); }
.image-materials-heading { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: end; }
.image-materials-heading h3 { margin: 0; font-family: "DM Serif Display", serif; font-size: clamp(30px, 3vw, 42px); line-height: 1.08; }
.image-materials-heading > p { margin: 0 0 4px; color: var(--muted); font-size: 14px; }
.material-filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding: 10px; border-radius: 16px; background: linear-gradient(135deg, var(--ink), #245e9f); box-shadow: 0 12px 28px rgba(23, 59, 102, .18); }
.material-filter { min-height: 38px; padding: 0 15px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 10px; background: transparent; color: rgba(255, 255, 255, .8); cursor: pointer; font-size: 12px; font-weight: 800; transition: transform .2s ease, background .2s ease, color .2s ease; }
.material-filter:hover { color: white; transform: translateY(-1px); }
.material-filter.active { border-color: var(--yellow); background: linear-gradient(135deg, #ffd84d, var(--orange)); color: #173b66; box-shadow: 0 7px 18px rgba(239, 124, 46, .28); }
.material-filter:focus-visible { outline: 3px solid white; outline-offset: 2px; }
.image-material-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 22px; }
.image-material-card { min-width: 0; overflow: hidden; border: 1px solid rgba(47, 111, 183, .16); border-radius: 20px; background: white; box-shadow: 0 10px 28px rgba(82, 61, 38, .09); }
.image-material-card[hidden] { display: none; }
.image-material-card.featured-wide { grid-column: span 2; }
.image-material-preview { position: relative; display: block; width: 100%; aspect-ratio: 2 / 3; overflow: hidden; padding: 0; border: 0; background: #f6f1e5; cursor: zoom-in; }
.grammar-material .image-material-preview { aspect-ratio: 16 / 9; background: #fffdf7; }
.featured-wide .image-material-preview { aspect-ratio: 5 / 4; }
.image-material-preview img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease, filter .3s ease; }
.image-material-preview > span { position: absolute; right: 12px; bottom: 12px; padding: 7px 10px; border-radius: 30px; background: rgba(23, 59, 102, .9); color: white; font-size: 11px; font-weight: 700; backdrop-filter: blur(7px); }
.image-material-preview:hover img { transform: scale(1.025); filter: saturate(1.04); }
.image-material-preview:focus-visible { outline: 4px solid var(--yellow); outline-offset: -4px; }
.image-material-content { padding: 17px 18px 19px; }
.image-material-content small { color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: .07em; }
.image-material-content h4 { min-height: 48px; margin: 7px 0 15px; color: var(--ink); font-size: 16px; line-height: 1.35; }
.image-material-content > div { display: flex; flex-wrap: wrap; gap: 8px; }
.materials-note { margin: 18px 0 0; color: var(--muted); font-size: 10px; text-align: center; }

.activities-corner { margin-top: 92px; scroll-margin-top: 100px; }
.activities-heading { display: grid; grid-template-columns: 1fr 400px; gap: 54px; align-items: end; margin-bottom: 34px; }
.activities-heading h2 { max-width: 690px; font-size: clamp(38px, 4vw, 56px); }
.activities-heading > p { margin: 0 0 4px; color: var(--muted); }
.activity-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 205px; gap: 14px; }
.activity-photo { position: relative; grid-column: span 4; min-width: 0; overflow: hidden; padding: 0; border: 0; border-radius: 22px; background: #e9f3e8; cursor: zoom-in; box-shadow: 0 10px 28px rgba(82, 61, 38, .1); }
.activity-photo:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.activity-photo:nth-child(2), .activity-photo:nth-child(3) { grid-column: span 5; }
.activity-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, filter .35s ease; }
.activity-photo.portrait img { object-position: center 34%; }
.activity-photo::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(10, 35, 29, .78)); }
.activity-photo span { position: absolute; left: 18px; right: 18px; bottom: 15px; z-index: 2; color: white; font-size: 12px; font-weight: 700; text-align: left; text-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.activity-photo:hover img { transform: scale(1.035); filter: saturate(1.06); }
.activity-photo:focus-visible { outline: 4px solid var(--yellow); outline-offset: 3px; }
.activities-note { margin: 16px 0 0; color: var(--muted); font-size: 10px; text-align: center; }

.gallery-modal { width: min(1040px, calc(100% - 28px)); padding: 12px; border: 0; border-radius: 24px; background: #15375d; color: white; box-shadow: 0 34px 90px rgba(0, 0, 0, .35); }
.gallery-modal::backdrop { background: rgba(7, 22, 18, .82); backdrop-filter: blur(7px); }
.gallery-modal img { display: block; width: 100%; max-height: 76vh; object-fit: contain; border-radius: 16px; background: #081713; }
.gallery-modal p { margin: 12px 52px 7px 12px; color: rgba(255, 255, 255, .78); font-size: 12px; }
.gallery-close { position: absolute; top: 22px; right: 22px; z-index: 3; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; background: rgba(23, 59, 102, .82); color: white; cursor: pointer; font-size: 25px; backdrop-filter: blur(8px); }
.material-preview img, .vocabulary-preview img, .image-material-preview img, .activity-photo img, .gallery-modal img { -webkit-user-drag: none; -webkit-touch-callout: none; user-select: none; }

.pdf-modal { width: min(1080px, calc(100% - 24px)); height: min(92vh, 900px); padding: 0; overflow: hidden; border: 0; border-radius: 24px; background: #f7f5ed; color: var(--ink); box-shadow: 0 34px 90px rgba(0, 0, 0, .35); }
.pdf-modal::backdrop { background: rgba(7, 22, 18, .82); backdrop-filter: blur(7px); }
.pdf-modal-header { position: relative; display: flex; align-items: center; min-height: 88px; padding: 16px 76px 14px 24px; background: linear-gradient(135deg, var(--ink), #245e9f); color: white; }
.pdf-modal-header .eyebrow { margin: 0 0 5px; color: #ffd970; }
.pdf-modal-header h2 { margin: 0; font-size: clamp(20px, 2.2vw, 28px); }
.pdf-modal iframe { display: block; width: 100%; height: calc(100% - 128px); border: 0; background: #d9dee4; }
.pdf-view-note { height: 40px; margin: 0; padding: 11px 20px; background: white; color: var(--muted); font-size: 11px; text-align: center; }

.contact { display: grid; grid-template-columns: 1fr .86fr; gap: 80px; align-items: center; padding: 90px max(20px, calc((100% - 1120px) / 2)); background: var(--green); color: white; }
.light { color: #ffd970; }
.contact > div:first-child > p:last-child { max-width: 530px; color: rgba(255,255,255,.76); }
.contact-card { padding: 27px; border: 1px solid rgba(255,255,255,.2); border-radius: 24px; background: rgba(255,255,255,.08); }
.contact-card > a:not(.button), .contact-card > p { display: flex; flex-direction: column; margin: 0; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.contact-card span { color: rgba(255,255,255,.65); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.contact-card strong { font-size: 15px; word-break: break-word; }
.facebook-qr { display: grid; grid-template-columns: 116px 1fr; gap: 16px; align-items: center; margin-top: 18px; padding: 14px; border-radius: 18px; background: white; color: var(--ink); }
.facebook-qr img { display: block; width: 116px; height: 116px; padding: 5px; border-radius: 12px; background: white; }
.facebook-qr span { display: block; margin-bottom: 6px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.facebook-qr strong { display: block; font-size: 13px; line-height: 1.5; }
.button-light { width: 100%; margin-top: 22px; background: var(--yellow); color: var(--ink); }

footer { display: flex; justify-content: space-between; gap: 20px; padding: 24px max(20px, calc((100% - 1120px) / 2)); background: #173b66; color: rgba(255,255,255,.72); font-size: 11px; }

.mobile-contact-bar { display: none; }

.sample-modal { width: min(600px, calc(100% - 32px)); padding: 34px; border: 0; border-radius: 26px; color: var(--ink); box-shadow: 0 34px 90px rgba(0,0,0,.28); }
.sample-modal::backdrop { background: rgba(16,42,35,.63); backdrop-filter: blur(4px); }
.sample-modal h2 { font-size: 39px; }
.sample-modal > p:not(.eyebrow):not(.modal-note) { color: var(--muted); }
.modal-close { position: absolute; top: 16px; right: 18px; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: white; cursor: pointer; color: var(--ink); font-size: 24px; }
.sample-sheet { margin-top: 22px; padding: 22px; border-radius: 18px; background: #fff6d7; }
.sample-sheet h4 { margin: 0 0 8px; }
.sample-sheet ol { margin: 0; padding-left: 20px; color: var(--muted); }
.sample-sheet li { padding: 5px 0; }
.modal-note { margin: 17px 0 0; color: var(--muted); font-size: 11px; }

@media (max-width: 900px) {
  .hero-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 42px; padding-top: 58px; }
  .hero-visual { min-height: 440px; }
  .section-heading, .materials-heading, .vocabulary-library-heading, .image-materials-heading, .activities-heading, .training-showcase-heading, .tuition-heading, .contact { grid-template-columns: 1fr; gap: 34px; }
  .class-card, .class-card:nth-child(4), .class-card:nth-child(5) { grid-column: span 3; }
  .materials-grid { grid-template-columns: 1fr; }
  .pet-sample { grid-template-columns: 1fr; }
  .vocabulary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .image-material-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .image-material-card.featured-wide { grid-column: span 2; }
  .activity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 240px; }
  .activity-photo, .activity-photo:nth-child(1), .activity-photo:nth-child(2), .activity-photo:nth-child(3) { grid-column: span 1; grid-row: span 1; }
}

@media (max-width: 620px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .topbar { width: calc(100% - 24px); margin-top: 10px; }
  .brand span:last-child { display: none; }
  .hero { width: calc(100% - 32px); min-height: auto; padding: 50px 0 68px; }
  .hero-title { line-height: 1.02; }
  .hero-title-kicker { font-size: clamp(34px, 10.3vw, 46px); }
  .hero-title-main { font-size: clamp(38px, 11.4vw, 52px); }
  .hero-eyebrow { align-items: flex-start; flex-direction: column; gap: 4px; font-size: 10px; line-height: 1.45; }
  .hero-eyebrow span + span::before { width: 18px; height: 2px; margin: 0 8px 3px 0; border-radius: 0; }
  .hero-motto { margin-top: 20px; font-size: 18px; }
  .hero-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .hero-actions a { padding: 12px; border-radius: 18px; font-size: clamp(15px, 4.1vw, 19px); }
  .facebook-qr { grid-template-columns: 92px 1fr; }
  .facebook-qr img { width: 92px; height: 92px; }
  .hero-visual { min-height: 400px; border-radius: 30px 30px 82px 30px; }
  .lesson-card { width: 86%; padding: 16px; }
  .lesson-icon { flex-basis: 58px; height: 58px; }
  .programs { padding-top: 74px; padding-bottom: 78px; }
  .training-showcase { padding-top: 58px; padding-bottom: 66px; }
  .training-showcase-heading { margin-bottom: 24px; }
  .tuition { padding-top: 68px; padding-bottom: 74px; }
  .tuition-grid { grid-template-columns: 1fr; margin-top: 28px; }
  .tuition-card { padding: 24px 20px; border-radius: 22px; }
  .tuition-details > div { gap: 14px; }
  .teachers { padding-top: 72px; padding-bottom: 78px; }
  .teacher-profile { grid-template-columns: 1fr; }
  .teacher-mark { width: 112px; height: 112px; border-radius: 32px 32px 54px 32px; font-size: 44px; }
  .teacher-grid, .teacher-levels { grid-template-columns: 1fr; }
  .teacher-card { min-height: auto; padding: 25px 22px; }
  .teacher-card-wide { grid-column: auto; }
  .learner-levels { padding: 22px 20px; }
  .training-banner-card { border-width: 4px; border-radius: 20px; }
  .training-banner-card figcaption { align-items: flex-start; flex-direction: column; gap: 3px; padding: 13px 14px; }
  .materials-vault { margin-top: 64px; padding: 26px 18px; border-radius: 24px; }
  .pet-sample { padding: 20px; border-radius: 22px; }
  .pet-sample-book { grid-template-columns: 118px 1fr; gap: 16px; }
  .pet-sample-book h3 { font-size: 28px; }
  .activities-corner { margin-top: 68px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 17px; }
  .filter-group > span { width: 100%; }
  .class-card, .class-card:nth-child(4), .class-card:nth-child(5) { grid-column: 1 / -1; }
  .material-card { grid-template-columns: 38% 62%; }
  .material-preview { min-height: 320px; }
  .material-content { padding: 18px 15px; }
  .material-content h3 { font-size: 22px; }
  .image-materials { margin-top: 42px; padding-top: 34px; }
  .vocabulary-library { margin-top: 42px; padding-top: 34px; }
  .vocabulary-grid { grid-template-columns: 1fr; }
  .material-filter-bar { gap: 6px; padding: 8px; }
  .material-filter { flex: 1 1 calc(50% - 6px); padding: 0 8px; }
  .image-material-grid { grid-template-columns: 1fr; }
  .image-material-card.featured-wide { grid-column: 1; }
  .image-material-preview { aspect-ratio: 3 / 4; }
  .grammar-material .image-material-preview { aspect-ratio: 16 / 9; }
  .featured-wide .image-material-preview { aspect-ratio: 5 / 4; }
  .image-material-content h4 { min-height: 0; }
  .activity-grid { grid-template-columns: 1fr; grid-auto-rows: 250px; gap: 12px; }
  .activity-photo, .activity-photo:nth-child(1), .activity-photo:nth-child(2), .activity-photo:nth-child(3) { grid-column: 1; }
  .activity-photo.portrait { grid-row: span 2; }
  .contact { padding-top: 72px; padding-bottom: 72px; }
  footer { flex-direction: column; gap: 4px; }
  .mobile-contact-bar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    padding: 7px;
    border: 1px solid rgba(23, 59, 102, .13);
    border-radius: 20px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 14px 42px rgba(18, 45, 78, .24);
    backdrop-filter: blur(14px);
  }
  .mobile-contact-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 50px; padding: 7px 5px; border-radius: 14px; color: white; font-size: 11px; line-height: 1; }
  .mobile-contact-bar strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-contact-icon { display: grid; place-items: center; flex: 0 0 23px; height: 23px; border-radius: 50%; background: rgba(255, 255, 255, .19); font-size: 14px; font-weight: 800; }
  .mobile-contact-letter { font-family: Arial, sans-serif; }
  .mobile-contact-call { background: #2e8968; }
  .mobile-contact-facebook { background: #1877f2; }
  .mobile-contact-zalo { background: #0068ff; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}


