:root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --text: #172033;
  --muted: #5d6781;
  --line: #dde2ef;
  --navy: #1f3a5f;
  --green: #2e7d5b;
  --green-dark: #25694c;
  --accent: #d4a017;
  --shadow: 0 14px 40px rgba(18, 29, 61, 0.08);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,248,252,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(221,226,239,0.7);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: 1rem;
}
.brand span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand strong { font-size: 1rem; }
.brand small { color: var(--muted); font-size: .78rem; font-weight: 600; }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--green));
  color: white;
  font-size: .9rem;
}
.nav {
  display: flex;
  gap: 1.2rem;
  font-weight: 600;
  color: var(--muted);
}
.nav a:hover { color: var(--navy); }
.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: .5rem .7rem;
  font-size: 1rem;
}

.hero {
  padding: 4.5rem 0 3rem;
  background:
    radial-gradient(circle at top right, rgba(46,125,91,.14), transparent 25%),
    radial-gradient(circle at top left, rgba(31,58,95,.14), transparent 28%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 2rem;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  margin: 0 0 .8rem;
  color: var(--green-dark);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .76rem;
}
.eyebrow.light { color: rgba(255,255,255,.8); }
.hero h1, .section h2, .cta-band h2 {
  margin: 0 0 1rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.hero h1 { font-size: clamp(2.4rem, 4vw, 4.3rem); }
.hero-copy { max-width: 60ch; color: var(--muted); font-size: 1.05rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.5rem 0; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .85rem 1.25rem;
  border-radius: 14px;
  font-weight: 700;
  transition: .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--navy), var(--green)); color: white; box-shadow: var(--shadow); }
.btn-secondary { background: white; color: var(--navy); border: 1px solid var(--line); }
.btn.full { width: 100%; }
.hero-points {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  gap: .55rem;
  color: var(--muted);
}
.hero-points li::before,
.check-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 800;
  margin-right: .6rem;
}
.hero-card { display: grid; gap: 1rem; }
.stat-card, .quote-card, .card, .price-card, .school-panel, .contact-card, .private-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stat-card, .quote-card, .school-panel, .contact-card, .private-box { padding: 1.35rem; }
.stat-card h3, .price-card h3, .school-panel h3 { margin: 0 0 .8rem; }
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
}
.stat-grid div {
  background: #f7faf8;
  border: 1px solid #e2efe8;
  border-radius: 14px;
  padding: .9rem;
}
.stat-grid strong { display: block; margin-bottom: .2rem; }
.stat-grid span { color: var(--muted); font-size: .93rem; }
.quote-card p { margin: 0 0 .8rem; font-size: 1.08rem; }
.quote-card span { color: var(--muted); font-size: .92rem; font-weight: 600; }

.section { padding: 5rem 0; }
.section.alt { background: #f1f5f8; }
.section-head { max-width: 720px; margin-bottom: 2rem; }
.section-head p { color: var(--muted); margin-top: .3rem; }
.cards { display: grid; gap: 1rem; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { padding: 1.25rem; }
.card h3 { margin-top: 0; margin-bottom: .5rem; }
.card p { margin: 0; color: var(--muted); }
.subject-bar {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.subject-bar span {
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .6rem .9rem;
  font-weight: 600;
  color: var(--navy);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.price-card {
  position: relative;
  padding: 1.5rem;
}
.price-card.featured {
  border-color: rgba(46,125,91,.45);
  transform: translateY(-6px);
}
.badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(46,125,91,.12);
  color: var(--green-dark);
  border: 1px solid rgba(46,125,91,.24);
  padding: .35rem .65rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 800;
}
.price {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-top: .2rem;
}
.unit { color: var(--muted); margin-top: -.35rem; }
.price-card ul, .school-panel ul {
  padding-left: 1.1rem;
  color: var(--muted);
}
.private-box {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.private-price {
  font-weight: 800;
  font-size: 1.9rem;
  color: var(--navy);
}

.schools-grid, .about-grid, .cta-band-wrap {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 1.3rem;
  align-items: start;
}
.check-list { list-style: none; padding: 0; color: var(--muted); }
.check-list li { margin-bottom: .55rem; }
.school-panel p { color: var(--muted); }
.compact .card { min-height: auto; }
.testimonials .quote { background: linear-gradient(180deg, #fff, #f9fbff); }

.cta-band {
  background: linear-gradient(135deg, var(--navy), #224b78 60%, var(--green));
  color: white;
}
.contact-card {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.18);
  color: white;
}
.contact-card a { color: white; text-decoration: underline; }
.contact-card p { margin: .3rem 0; }

.site-footer {
  padding: 1.2rem 0 2rem;
  border-top: 1px solid var(--line);
  background: #f9fbfd;
}
.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}
.footer-wrap p { margin: .35rem 0 0; }

@media (max-width: 960px) {
  .hero-grid, .schools-grid, .about-grid, .cta-band-wrap,
  .cards.three, .pricing-grid, .cards.two {
    grid-template-columns: 1fr;
  }
  .price-card.featured { transform: none; }
  .private-box { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 1rem;
    right: 1rem;
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 1rem;
    flex-direction: column;
  }
  .nav.open { display: flex; }
  .menu-btn { display: inline-flex; }
  .hero { padding-top: 3.3rem; }
  .footer-wrap { flex-direction: column; }
}
