/* ===== Educacion — MONA template (Giáo dục & Học viện trực tuyến) ===== */

:root {
  --c-primary:      #0f9d76;
  --c-primary-dark: #0a7a5b;
  --c-primary-soft: #e6f6f0;
  --c-accent:       #ff6b5d;
  --c-accent-dark:  #e8503f;
  --c-accent-soft:  #ffe9e6;
  --c-ink:          #11302a;
  --c-body:         #4f5d59;
  --c-muted:        #8a9893;
  --c-line:         #e4ece9;
  --c-bg:           #ffffff;
  --c-surface:      #f3f9f6;
  --c-dark:         #0b2b24;
  --c-dark-soft:    #123b32;
  --c-star:         #ffb23e;

  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;

  --space-2:  .5rem;  --space-3: .75rem; --space-4: 1rem;  --space-6: 1.5rem;
  --space-8:  2rem;   --space-12: 3rem;  --space-16: 4rem; --space-20: 5rem;

  --r-sm: 10px; --r-md: 18px; --r-lg: 28px; --r-full: 999px;

  --sh-sm: 0 2px 12px rgba(11,43,36,.06);
  --sh-md: 0 16px 44px rgba(11,43,36,.10);
  --sh-lg: 0 30px 74px rgba(11,43,36,.16);
  --sh-primary: 0 16px 34px rgba(15,157,118,.30);

  --ease: .25s ease;
  --bar-h: 46px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px; scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar-h) + var(--header-h) + 16px);
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body); font-size: 1rem; line-height: 1.7;
  color: var(--c-body); background: var(--c-bg); overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); color: var(--c-ink); line-height: 1.16; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); letter-spacing: -.02em; font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); letter-spacing: -.01em; font-weight: 800; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); }
p  { max-width: 68ch; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--space-6); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.6rem; font-family: var(--font-body); font-size: .96rem; font-weight: 700;
  border: 2px solid transparent; border-radius: var(--r-full); cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease);
  min-height: 48px; white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--c-primary); color: #fff; box-shadow: var(--sh-primary); }
.btn--primary:hover { transform: translateY(-3px); background: var(--c-primary-dark); }
.btn--accent { background: var(--c-accent); color: #fff; box-shadow: 0 16px 34px rgba(255,107,93,.34); }
.btn--accent:hover { transform: translateY(-3px); background: var(--c-accent-dark); }
.btn--outline { background: transparent; border-color: var(--c-line); color: var(--c-ink); }
.btn--outline:hover { border-color: var(--c-primary); color: var(--c-primary); transform: translateY(-3px); }
.btn--ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost-light:hover { background: #fff; color: var(--c-primary-dark); }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.02rem; min-height: 56px; }
.btn:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; }

/* ===== Promo top bar (MONA — mua độc quyền) ===== */
.promo {
  position: sticky; top: 0; z-index: 1000;
  background: linear-gradient(95deg, var(--c-dark), var(--c-primary-dark));
  color: #fff; height: var(--bar-h); display: flex; align-items: center;
}
.promo__inner {
  width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--space-6);
  display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: nowrap;
}
.promo__text { font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
.promo__text svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--c-accent); }
.promo__btn {
  background: var(--c-accent); color: #fff; font-weight: 800; font-size: .85rem;
  padding: .42rem 1.05rem; border-radius: var(--r-full); white-space: nowrap; flex-shrink: 0;
  transition: transform var(--ease), box-shadow var(--ease);
}
.promo__btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,107,93,.45); }

/* ===== Header ===== */
.header {
  position: sticky; top: var(--bar-h); z-index: 999;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-line); transition: box-shadow var(--ease);
}
.header.is-scrolled { box-shadow: var(--sh-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--c-ink); white-space: nowrap; }
.logo__mark { width: 42px; height: 42px; border-radius: 14px; background: linear-gradient(135deg, var(--c-primary), var(--c-accent)); display: grid; place-items: center; color: #fff; box-shadow: var(--sh-primary); }
.logo__mark svg { width: 23px; height: 23px; }
.logo b { color: var(--c-accent); }

.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav__link { font-weight: 600; font-size: .95rem; color: var(--c-ink); white-space: nowrap; position: relative; padding: .4rem 0; transition: color var(--ease); }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--c-accent); border-radius: 2px; transition: width var(--ease); }
.nav__link:hover, .nav__link.is-active { color: var(--c-primary); }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }

.header__cta { display: flex; align-items: center; gap: .8rem; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--c-line); border-radius: 12px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 24px; height: 24px; color: var(--c-ink); }

/* ===== Hero ===== */
.hero { position: relative; background: radial-gradient(120% 120% at 82% 0%, #e6f6f0 0%, #ffffff 55%); padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c-primary-dark); background: var(--c-primary-soft); padding: .45rem 1rem; border-radius: var(--r-full); }
.eyebrow--accent { color: var(--c-accent-dark); background: var(--c-accent-soft); }
.hero h1 { margin: 1.2rem 0 1.1rem; color: var(--c-ink); }
.hero h1 span { color: var(--c-primary); position: relative; }
.hero h1 span::after { content: ""; position: absolute; left: 0; bottom: .06em; width: 100%; height: .28em; background: rgba(255,107,93,.32); z-index: -1; border-radius: 3px; }
.hero__lead { font-size: 1.12rem; max-width: 52ch; margin-bottom: 1.8rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.2rem; }
.hero__search { display: flex; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-full); padding: .5rem .5rem .5rem 1.3rem; box-shadow: var(--sh-md); max-width: 480px; margin-bottom: 2rem; }
.hero__search svg { width: 20px; height: 20px; color: var(--c-muted); flex-shrink: 0; }
.hero__search input { flex: 1; border: none; outline: none; font-family: var(--font-body); font-size: .98rem; color: var(--c-ink); background: transparent; min-width: 0; }
.hero__search .btn { padding: .7rem 1.3rem; min-height: 44px; }
.hero__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; font-size: .86rem; color: var(--c-muted); align-items: center; }
.hero__tags a { background: #fff; border: 1px solid var(--c-line); padding: .35rem .85rem; border-radius: var(--r-full); font-weight: 600; color: var(--c-body); transition: var(--ease); }
.hero__tags a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.hero__stats { display: flex; flex-wrap: wrap; gap: 2.2rem; }
.hero__stat strong { font-family: var(--font-display); font-size: 1.9rem; color: var(--c-ink); display: block; line-height: 1; }
.hero__stat span { font-size: .9rem; color: var(--c-muted); }
.hero__media { position: relative; }
.hero__img { border-radius: var(--r-lg); box-shadow: var(--sh-lg); width: 100%; aspect-ratio: 4/3.4; object-fit: cover; background: linear-gradient(135deg, #cfeee2, #ffe1dc); }
.hero__badge { position: absolute; background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-md); padding: .9rem 1.1rem; display: flex; align-items: center; gap: .75rem; }
.hero__badge svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; flex-shrink: 0; }
.hero__badge strong { display: block; font-family: var(--font-display); color: var(--c-ink); font-size: 1.05rem; line-height: 1.1; }
.hero__badge span { font-size: .8rem; color: var(--c-muted); }
.hero__badge--tl { top: 8%; left: -28px; }
.hero__badge--br { bottom: 9%; right: -22px; }
.hero__blob { position: absolute; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255,107,93,.20), transparent 70%); top: -40px; right: -60px; z-index: -1; }

/* ===== Section scaffolding ===== */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--surface { background: var(--c-surface); }
.section--dark { background: var(--c-dark); color: #bcd4cc; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section__head { max-width: 660px; margin: 0 auto clamp(2.2rem, 4vw, 3.4rem); text-align: center; }
.section__head p { margin: .9rem auto 0; color: var(--c-body); }
.section--dark .section__head p { color: #9cb6ad; }
.section__head--left { margin-inline: 0; text-align: left; }

/* ===== Feature mini cards ===== */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.feature { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 1.8rem 1.5rem; box-shadow: var(--sh-sm); transition: transform var(--ease), box-shadow var(--ease); }
.feature:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.feature__ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.1rem; }
.feature__ic svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.18rem; margin-bottom: .5rem; }
.feature p { font-size: .95rem; }

.ic-blue   { background: #e6eefb; color: #2563c9; }
.ic-orange { background: var(--c-accent-soft); color: var(--c-accent-dark); }
.ic-green  { background: var(--c-primary-soft); color: var(--c-primary-dark); }
.ic-purple { background: #ece9ff; color: #5b50d6; }
.ic-pink   { background: #ffe9f2; color: #d64084; }
.ic-cyan   { background: #e2f6fb; color: #0d93b8; }

/* ===== About / split ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split__media { position: relative; }
.split__img { border-radius: var(--r-lg); box-shadow: var(--sh-md); width: 100%; aspect-ratio: 5/4.3; object-fit: cover; background: linear-gradient(135deg, #cfeee2, #ffe1dc); }
.split__exp { position: absolute; left: -24px; bottom: -24px; background: var(--c-accent); color: #fff; border-radius: var(--r-md); padding: 1.1rem 1.4rem; box-shadow: 0 16px 36px rgba(255,107,93,.34); }
.split__exp strong { font-family: var(--font-display); font-size: 2rem; display: block; line-height: 1; }
.split__exp span { font-size: .85rem; opacity: .95; }
.checklist { margin: 1.5rem 0 2rem; display: grid; gap: .85rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; font-weight: 500; color: var(--c-ink); }
.checklist svg { width: 24px; height: 24px; color: #fff; background: var(--c-primary); border-radius: 50%; padding: 4px; flex-shrink: 0; }

/* ===== Category grid ===== */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.cat { display: flex; align-items: center; gap: 1rem; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 1.2rem 1.3rem; box-shadow: var(--sh-sm); transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease); }
.cat:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: transparent; }
.cat__ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; }
.cat__ic svg { width: 26px; height: 26px; }
.cat h4 { font-size: 1.02rem; margin-bottom: .15rem; }
.cat span { font-size: .85rem; color: var(--c-muted); }

/* ===== Course cards ===== */
.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.7rem; }
.course { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); transition: transform var(--ease), box-shadow var(--ease); display: flex; flex-direction: column; }
.course:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); }
.course__media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.course__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; background: linear-gradient(135deg, #cfeee2, #ffe1dc); }
.course:hover .course__media img { transform: scale(1.06); }
.course__tag { position: absolute; top: 14px; left: 14px; background: var(--c-accent); color: #fff; font-size: .76rem; font-weight: 800; padding: .35rem .8rem; border-radius: var(--r-full); }
.course__body { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.course__meta { display: flex; gap: 1.1rem; font-size: .82rem; color: var(--c-muted); margin-bottom: .6rem; }
.course__meta span { display: inline-flex; align-items: center; gap: .35rem; }
.course__meta svg { width: 15px; height: 15px; }
.course__body h3 { font-size: 1.16rem; margin-bottom: .8rem; line-height: 1.35; }
.course__body h3 a:hover { color: var(--c-primary); }
.course__rating { display: flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--c-muted); margin-bottom: 1rem; }
.stars { color: var(--c-star); letter-spacing: 1px; }
.course__foot { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--c-line); display: flex; align-items: center; justify-content: space-between; }
.course__instructor { display: flex; align-items: center; gap: .55rem; font-size: .86rem; font-weight: 600; color: var(--c-ink); }
.course__instructor img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: #cfeee2; }
.course__price { font-family: var(--font-display); font-weight: 800; color: var(--c-primary); font-size: 1.12rem; }
.course__price s { color: var(--c-muted); font-weight: 500; font-size: .82rem; margin-right: .3rem; }

/* ===== Stats band ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { text-align: center; }
.stat__num { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: #fff; line-height: 1; }
.stat__num span { color: var(--c-accent); }
.stat__label { color: #9cb6ad; margin-top: .5rem; font-size: .95rem; }

/* ===== Why choose ===== */
.whys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.why { background: #fff; border-radius: var(--r-lg); padding: 2rem 1.7rem; box-shadow: var(--sh-sm); border: 1px solid var(--c-line); transition: transform var(--ease), box-shadow var(--ease); }
.why:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.why__ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 1.2rem; }
.why__ic svg { width: 30px; height: 30px; }
.why h3 { font-size: 1.22rem; margin-bottom: .6rem; }

/* ===== Instructors ===== */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.tutor { background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); border: 1px solid var(--c-line); transition: transform var(--ease), box-shadow var(--ease); }
.tutor:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.tutor__media { aspect-ratio: 1/1.05; overflow: hidden; position: relative; }
.tutor__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; background: linear-gradient(135deg, #cfeee2, #ffe1dc); }
.tutor:hover .tutor__media img { transform: scale(1.05); }
.tutor__body { padding: 1.3rem; text-align: center; }
.tutor__body h3 { font-size: 1.14rem; margin-bottom: .25rem; }
.tutor__role { color: var(--c-primary); font-weight: 600; font-size: .9rem; }
.tutor__social { display: flex; justify-content: center; gap: .6rem; margin-top: .9rem; }
.tutor__social a { width: 36px; height: 36px; border-radius: 50%; background: var(--c-surface); display: grid; place-items: center; color: var(--c-body); transition: var(--ease); }
.tutor__social a:hover { background: var(--c-primary); color: #fff; }
.tutor__social svg { width: 17px; height: 17px; }

/* ===== Testimonials ===== */
.testis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.testi { background: #fff; border-radius: var(--r-lg); padding: 2rem 1.8rem; box-shadow: var(--sh-sm); border: 1px solid var(--c-line); position: relative; }
.testi__quote { font-size: 3rem; font-family: var(--font-display); color: var(--c-primary-soft); line-height: .6; position: absolute; top: 1.5rem; right: 1.6rem; }
.testi__stars { color: var(--c-star); margin-bottom: .9rem; letter-spacing: 2px; }
.testi p { color: var(--c-body); font-size: .98rem; margin-bottom: 1.4rem; }
.testi__person { display: flex; align-items: center; gap: .8rem; }
.testi__person img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; background: #cfeee2; }
.testi__person strong { display: block; font-family: var(--font-display); color: var(--c-ink); }
.testi__person span { font-size: .85rem; color: var(--c-muted); }

/* ===== Events ===== */
.events { display: grid; gap: 1.3rem; }
.event-row { display: grid; grid-template-columns: 96px 1.4fr auto; gap: 1.5rem; align-items: center; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 1.3rem 1.6rem; box-shadow: var(--sh-sm); transition: transform var(--ease), box-shadow var(--ease); }
.event-row:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.event-date { text-align: center; background: var(--c-primary-soft); color: var(--c-primary-dark); border-radius: var(--r-md); padding: .8rem; }
.event-date strong { font-family: var(--font-display); font-size: 1.9rem; display: block; line-height: 1; }
.event-date span { font-size: .82rem; font-weight: 600; }
.event-info h3 { font-size: 1.18rem; margin-bottom: .4rem; }
.event-info .event-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .86rem; color: var(--c-muted); }
.event-info .event-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.event-info .event-meta svg { width: 15px; height: 15px; }
.event-card { background:#fff; border:1px solid var(--c-line); border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--sh-sm); display:flex; flex-direction:column; transition:transform var(--ease), box-shadow var(--ease); }
.event-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.event-card__media { aspect-ratio:16/10; overflow:hidden; position:relative; }
.event-card__media img { width:100%; height:100%; object-fit:cover; }
.event-card__tag { position:absolute; top:14px; left:14px; background:var(--c-primary); color:#fff; font-size:.76rem; font-weight:800; padding:.35rem .8rem; border-radius:var(--r-full); }
.event-card__body { padding:1.4rem; display:flex; flex-direction:column; flex:1; }
.event-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:1.7rem; }

/* ===== CTA banner ===== */
.cta-band { position: relative; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(120deg, var(--c-dark), var(--c-primary-dark)); color: #fff; padding: clamp(2.5rem, 5vw, 4rem); }
.cta-band__bg { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; opacity: .16; z-index: 0; }
.cta-band__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .7rem; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 54ch; }
.cta-band__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== Blog cards ===== */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.7rem; }
.post { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); transition: transform var(--ease), box-shadow var(--ease); display: flex; flex-direction: column; }
.post:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.post__media { aspect-ratio: 16/9; overflow: hidden; }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; background: linear-gradient(135deg, #cfeee2, #ffe1dc); }
.post:hover .post__media img { transform: scale(1.05); }
.post__body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.post__meta { font-size: .82rem; color: var(--c-muted); margin-bottom: .6rem; display: flex; gap: 1rem; }
.post__body h3 { font-size: 1.14rem; line-height: 1.4; margin-bottom: .7rem; }
.post__body h3 a:hover { color: var(--c-primary); }
.post__more { margin-top: auto; color: var(--c-primary); font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: .4rem; }

/* ===== Newsletter ===== */
.newsletter { background: linear-gradient(120deg, var(--c-primary), #14c08e); border-radius: var(--r-lg); padding: clamp(2.2rem,4vw,3.2rem); text-align: center; color: #fff; }
.newsletter h2 { color: #fff; }
.newsletter p { color: rgba(255,255,255,.92); margin: .7rem auto 1.6rem; }
.newsletter__form { display: flex; gap: .8rem; max-width: 520px; margin: 0 auto; flex-wrap: wrap; }
.newsletter__form input { flex: 1; min-width: 220px; border: none; border-radius: var(--r-full); padding: 1rem 1.4rem; font-family: var(--font-body); font-size: 1rem; }
.newsletter__form input:focus { outline: 3px solid rgba(255,255,255,.6); }
.newsletter .btn--primary { background: var(--c-accent); box-shadow: none; }
.newsletter .btn--primary:hover { background: var(--c-accent-dark); }

/* ===== Page hero (sub-pages) ===== */
.page-hero { background: linear-gradient(120deg, var(--c-dark), var(--c-primary-dark)); color: #fff; padding: clamp(2.5rem, 5vw, 4.5rem) 0; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(255,107,93,.26), transparent 70%); top: -120px; right: -80px; }
.page-hero__inner { position: relative; z-index: 1; text-align: center; }
.page-hero h1 { color: #fff; margin-bottom: .7rem; }
.crumb { display: inline-flex; align-items: center; gap: .5rem; font-size: .92rem; color: rgba(255,255,255,.82); }
.crumb a:hover { color: #fff; }
.crumb span { color: var(--c-accent); }

/* ===== Filter / tabs ===== */
.toolbar { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-bottom: 2.2rem; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { padding: .55rem 1.1rem; border-radius: var(--r-full); border: 1px solid var(--c-line); background: #fff; font-weight: 600; font-size: .9rem; color: var(--c-body); cursor: pointer; white-space: nowrap; transition: var(--ease); }
.chip:hover, .chip.is-active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.result-count { font-size: .92rem; color: var(--c-muted); }

/* ===== Upsell strip ===== */
.exclusive { background: linear-gradient(120deg, var(--c-accent-soft), var(--c-primary-soft)); border: 1px dashed var(--c-accent); border-radius: var(--r-lg); padding: clamp(2rem,4vw,3rem); display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.exclusive h2 { margin-bottom: .6rem; }
.price-tag { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem,3vw,2.4rem); color: var(--c-accent-dark); }
.price-tag span { font-size: .9rem; color: var(--c-muted); font-weight: 500; display: block; }

/* ===== Course detail ===== */
.detail { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2.2rem; align-items: start; }
.detail__main img.cover { border-radius: var(--r-lg); width: 100%; aspect-ratio: 16/8.5; object-fit: cover; box-shadow: var(--sh-md); margin-bottom: 1.8rem; background: linear-gradient(135deg,#cfeee2,#ffe1dc); }
.detail__main h2 { margin: 1.6rem 0 .8rem; }
.detail__main ul.bullets { display: grid; gap: .7rem; margin: 1rem 0; }
.detail__main ul.bullets li { display: flex; gap: .6rem; align-items: flex-start; }
.detail__main ul.bullets svg { width: 22px; height: 22px; color: var(--c-primary); flex-shrink: 0; }
.curriculum { display: grid; gap: .7rem; margin-top: 1rem; }
.lesson { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.2rem; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md); }
.lesson svg { width: 20px; height: 20px; color: var(--c-primary); flex-shrink: 0; }
.lesson strong { color: var(--c-ink); font-weight: 600; }
.lesson span { margin-left: auto; font-size: .85rem; color: var(--c-muted); white-space: nowrap; }
.detail__side { position: sticky; top: calc(var(--bar-h) + var(--header-h) + 16px); background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--sh-md); overflow: hidden; }
.detail__side img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: linear-gradient(135deg,#cfeee2,#ffe1dc); }
.detail__side-body { padding: 1.6rem; }
.detail__price { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--c-primary); margin-bottom: 1rem; }
.detail__price s { font-size: 1rem; color: var(--c-muted); font-weight: 500; margin-right: .5rem; }
.detail__list { display: grid; gap: .8rem; margin: 1.2rem 0; }
.detail__list li { display: flex; justify-content: space-between; font-size: .92rem; padding-bottom: .8rem; border-bottom: 1px dashed var(--c-line); }
.detail__list li span:first-child { color: var(--c-muted); }
.detail__list li span:last-child { color: var(--c-ink); font-weight: 600; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.4rem; align-items: start; }
.contact-info { display: grid; gap: 1.2rem; }
.contact-card { display: flex; gap: 1rem; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 1.3rem; box-shadow: var(--sh-sm); }
.contact-card__ic { width: 52px; height: 52px; border-radius: 14px; background: var(--c-primary-soft); color: var(--c-primary); display: grid; place-items: center; flex-shrink: 0; }
.contact-card__ic svg { width: 24px; height: 24px; }
.contact-card h4 { font-size: 1.05rem; margin-bottom: .2rem; }
.contact-card p { font-size: .94rem; margin: 0; }
.form { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: clamp(1.6rem,3vw,2.4rem); box-shadow: var(--sh-sm); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--c-ink); margin-bottom: .45rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1.1rem; font-family: var(--font-body); font-size: 1rem; color: var(--c-ink);
  background: var(--c-surface); border: 1.5px solid var(--c-line); border-radius: var(--r-md); transition: var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(15,157,118,.14); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.map-embed { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); margin-top: 2.4rem; }
.map-embed iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ===== Prose / values ===== */
.prose p { margin-bottom: 1.1rem; }
.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.6rem; margin-top: 1rem; }

/* ===== Footer ===== */
.footer { background: var(--c-dark); color: #9cb6ad; padding-top: clamp(3rem,5vw,4.5rem); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 2rem; padding-bottom: 3rem; }
.footer .logo { color: #fff; margin-bottom: 1.1rem; }
.footer .logo b { color: var(--c-accent); }
.footer__about p { color: #84a096; font-size: .95rem; margin-bottom: 1.3rem; }
.footer__social { display: flex; gap: .7rem; }
.footer__social a { width: 40px; height: 40px; border-radius: 12px; background: var(--c-dark-soft); display: grid; place-items: center; color: #bcd4cc; transition: var(--ease); }
.footer__social a:hover { background: var(--c-accent); color: #fff; transform: translateY(-3px); }
.footer__social svg { width: 18px; height: 18px; }
.footer h4 { color: #fff; font-size: 1.08rem; margin-bottom: 1.2rem; }
.footer__links { display: grid; gap: .7rem; }
.footer__links a { color: #84a096; font-size: .95rem; transition: var(--ease); }
.footer__links a:hover { color: #fff; padding-left: 5px; }
.footer__contact li { display: flex; gap: .7rem; margin-bottom: .9rem; font-size: .95rem; color: #84a096; }
.footer__contact svg { width: 20px; height: 20px; color: var(--c-accent); flex-shrink: 0; }
.footer__bottom { border-top: 1px solid var(--c-dark-soft); padding: 1.5rem 0; text-align: center; font-size: .9rem; color: #6a857b; }
.footer__bottom a { color: var(--c-accent); font-weight: 600; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .nav, .header__cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .header__cta { gap: 0; }
  .features, .cats, .team { grid-template-columns: repeat(2, 1fr); }
  .courses, .whys, .testis, .posts, .value-grid, .event-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .detail { grid-template-columns: 1fr; }
  .detail__side { position: static; }

  .nav.is-open { display: flex; position: fixed; top: calc(var(--bar-h) + var(--header-h)); left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0; background: #fff; padding: 1rem 1.5rem 1.5rem;
    box-shadow: var(--sh-md); border-bottom: 1px solid var(--c-line); max-height: calc(100vh - var(--bar-h) - var(--header-h)); overflow-y: auto; z-index: 998; }
  .nav.is-open .nav__link { width: 100%; padding: .9rem 0; border-bottom: 1px solid var(--c-line); }
  .nav.is-open .nav__cta-mobile { display: inline-flex; margin-top: 1rem; width: 100%; }
}
.nav__cta-mobile { display: none; }

@media (max-width: 880px) {
  .hero__grid, .split, .cta-band__inner, .exclusive, .contact-grid, .form__row { grid-template-columns: 1fr; }
  .hero__grid > *, .split > *, .cta-band__inner > *, .exclusive > *, .contact-grid > *, .form__row > * { min-width: 0; }
  .hero__media { order: -1; }
  .split__media { order: -1; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 2.2rem; }
  .value-grid, .event-grid { grid-template-columns: 1fr; }
  .hero__badge--tl { left: 4px; }
  .hero__badge--br { right: 4px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta-band__actions, .exclusive .btn { width: 100%; }
  .exclusive { text-align: center; justify-items: center; }
  .event-row { grid-template-columns: 80px 1fr; }
  .event-row .btn { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 560px) {
  .features, .cats, .courses, .whys, .testis, .posts, .team { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .promo__text { font-size: .8rem; }
  .promo__text .promo__long { display: none; }
  .hero__stats { gap: 1.4rem; }
  .container { padding-inline: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto; }
}
