:root {
  --blue: #2BA3DC;
  --blue-600: #1E8FCB;
  --blue-700: #156aa0;
  --blue-050: #eaf6fd;
  --blue-100: #d7edfa;
  --accent: #F5821F;
  --accent-600: #e4761a;
  --accent-050: #fff2e6;

  --ink: #15384e;
  --ink-2: #486276;
  --muted: #8aa0af;
  --line: #ecf1f5;
  --line-2: #e2ebf1;

  --bg-1: #f3f9fd;
  --bg-2: #e6f2fb;
  --card: #ffffff;

  --shadow: 0 12px 36px rgba(21, 90, 140, 0.10);
  --shadow-sm: 0 6px 18px rgba(21, 90, 140, 0.07);
  --shadow-pop: 0 24px 60px rgba(21, 90, 140, 0.18);

  --r-lg: 28px;
  --r: 20px;
  --r-sm: 14px;

  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  color: var(--ink);
  background: var(--bg-1);
  font-size: 16px; line-height: 1.55; font-weight: 500;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; font-family: 'Comfortaa', 'Nunito', sans-serif; font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; }
h1 { font-size: clamp(36px, 6vw, 64px); }
h2 { font-size: clamp(26px, 3.6vw, 40px); }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }

/* ─── Top bar ─────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 18px;
  padding: 14px 28px;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand__star { filter: drop-shadow(0 4px 10px rgba(31,147,209,.25)); }
.brand__name { font-family: 'Comfortaa', 'Nunito', sans-serif; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; color: var(--ink); }
.brand__mic { font-family: 'Nunito'; }
.topbar__nav { display: flex; gap: 20px; margin-left: 14px; flex: 1; }
.topbar__nav a { color: var(--ink-2); font-weight: 700; font-size: 14.5px; transition: color .15s; }
.topbar__nav a:hover { color: var(--blue-600); }
.topbar__cta {
  background: var(--accent); color: #fff !important;
  padding: 11px 18px; border-radius: 12px;
  font-weight: 800; font-size: 14px;
  box-shadow: 0 6px 16px rgba(245,130,31,.32);
  transition: transform .12s, background .15s;
}
.topbar__cta:hover { background: var(--accent-600); transform: translateY(-1px); }

/* ─── Hero ────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #ddeffb 0%, #f4faff 60%, var(--bg-1) 100%);
  padding: 64px 28px 80px;
}
.hero::before, .hero::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none;
}
.hero::before { width: 360px; height: 360px; background: rgba(43,163,220,.18); top: -100px; left: -120px; }
.hero::after  { width: 320px; height: 320px; background: rgba(245,130,31,.13); bottom: -120px; right: -80px; }
.hero__inner {
  position: relative; z-index: 1;
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: .03em;
  color: var(--blue-700);
  background: var(--blue-050); padding: 8px 14px; border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 { color: var(--ink); margin-bottom: 22px; }
.hero__lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); font-weight: 600; max-width: 560px; margin-bottom: 30px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero__meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--ink-2); font-weight: 700; font-size: 14px; }
.hero__meta span { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.7); padding: 7px 13px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.hero__art { position: relative; display: grid; place-items: center; min-height: 360px; }
.hero__star {
  width: clamp(260px, 32vw, 380px); height: auto;
  filter: drop-shadow(0 20px 50px rgba(21,90,140,.25));
  animation: float 4.6s ease-in-out infinite;
}
.bubble {
  position: absolute; background: #fff; color: var(--blue-700);
  padding: 10px 18px; border-radius: 999px; font-weight: 800; font-size: 15px;
  box-shadow: var(--shadow); white-space: nowrap;
}
.bubble--1 { top: 6%; left: 4%; animation: float 5.2s ease-in-out infinite .2s; }
.bubble--2 { bottom: 12%; right: 0%; animation: float 4.8s ease-in-out infinite .8s; }
.bubble--3 { bottom: 4%; left: 16%; animation: float 5.4s ease-in-out infinite 1.4s; color: var(--accent); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ─── Buttons (landing) ───────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 800; font-size: 15.5px;
  padding: 14px 22px; border-radius: 14px; cursor: pointer;
  transition: transform .12s, box-shadow .18s, background .15s;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(245,130,31,.32); }
.btn--primary:hover { background: var(--accent-600); transform: translateY(-1px); }
.btn--ghost { background: #fff; color: var(--blue-700); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--soft { background: var(--blue-050); color: var(--blue-700); }
.btn--soft:hover { background: var(--blue-100); }

/* ─── Sections ────────────────────────────────────── */
.sec { padding: 84px 28px; }
.sec--alt { background: linear-gradient(180deg, #fff 0%, var(--bg-2) 100%); }
.sec__inner { max-width: 1180px; margin: 0 auto; }
.sec__inner--split { display: grid; grid-template-columns: 1fr; gap: 36px; }
.eyebrow {
  display: inline-block;
  font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-700); margin-bottom: 14px;
}
.lead { font-size: 17px; color: var(--ink-2); font-weight: 600; max-width: 680px; margin-top: 20px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.stat { background: #fff; border-radius: var(--r); padding: 24px; box-shadow: var(--shadow-sm); text-align: center; }
.stat b { display: block; font-family: 'Comfortaa', sans-serif; font-size: 30px; font-weight: 700; color: var(--accent); letter-spacing: -0.02em; }
.stat span { color: var(--muted); font-weight: 700; font-size: 13.5px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
.card { background: #fff; border-radius: var(--r); padding: 28px 24px; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__emoji { font-size: 32px; margin-bottom: 14px; line-height: 1; }
.card h3 { color: var(--ink); margin-bottom: 8px; font-family: 'Comfortaa', 'Nunito', sans-serif; }
.card p { color: var(--ink-2); font-weight: 600; font-size: 14.5px; }

/* Teacher card */
.teacher-card {
  display: grid; grid-template-columns: 160px 1fr; gap: 36px; align-items: start;
  background: #fff; border-radius: var(--r-lg); padding: 40px; box-shadow: var(--shadow);
}
.teacher-card__avatar {
  background: linear-gradient(135deg, var(--blue-050), var(--blue-100));
  border-radius: var(--r); padding: 20px; display: grid; place-items: center; aspect-ratio: 1;
}
.teacher-card h2 { margin: 6px 0 14px; color: var(--ink); }
.teacher-card .lead { margin: 0 0 22px; }
.teacher-card__links { display: flex; gap: 12px; flex-wrap: wrap; }

/* Contacts */
.contacts {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  margin-top: 36px;
}
.contact {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border-radius: var(--r); padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .12s, box-shadow .2s, background .15s;
}
.contact:not(.contact--static):hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.contact__icon {
  width: 52px; height: 52px; border-radius: 16px;
  background: var(--blue-050); display: grid; place-items: center; font-size: 24px; flex: none;
}
.contact__body { display: flex; flex-direction: column; min-width: 0; }
.contact__body b { font-size: 13px; color: var(--muted); font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.contact__body span { font-size: 16px; font-weight: 800; color: var(--ink); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact--static { cursor: default; }

/* Footer */
.footer { background: var(--ink); color: #fff; padding: 36px 28px; }
.footer__inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand b { font-family: 'Comfortaa', sans-serif; font-size: 16px; font-weight: 700; display: block; }
.footer__brand span { font-size: 13px; color: rgba(255,255,255,.6); font-weight: 600; }
.footer__copy { font-size: 13px; color: rgba(255,255,255,.5); font-weight: 600; }

/* ─── Mobile ──────────────────────────────────────── */
@media (max-width: 900px) {
  .topbar { padding: 12px 16px; gap: 12px; }
  .topbar__nav { display: none; }
  .topbar__cta { padding: 9px 14px; font-size: 13px; }
  .hero { padding: 36px 18px 56px; }
  .hero__inner { grid-template-columns: 1fr; gap: 28px; }
  .hero__art { order: -1; min-height: 240px; }
  .hero__star { width: 220px; }
  .bubble { font-size: 13px; padding: 8px 14px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .sec { padding: 56px 18px; }
  .stats { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .teacher-card { grid-template-columns: 1fr; padding: 28px; gap: 18px; text-align: center; }
  .teacher-card__avatar { width: 140px; height: 140px; margin: 0 auto; aspect-ratio: 1; }
  .teacher-card__links { justify-content: center; }
  .contacts { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; gap: 14px; }
}
