﻿:root {
  --bg: #eef4ff;
  --bg-soft: #f8fbff;
  --surface: #ffffff;
  --surface-strong: #0f1f44;
  --text: #142647;
  --muted: #536482;
  --brand: #1f56df;
  --brand-alt: #00b4d4;
  --cta: #ff8a1e;
  --ok: #18b67a;
  --line: rgba(20, 38, 71, 0.14);
  --shadow: 0 18px 38px rgba(15, 31, 68, 0.12);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% -10%, rgba(0, 180, 212, 0.18), transparent 40%),
    radial-gradient(circle at 90% 0%, rgba(31, 86, 223, 0.14), transparent 35%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 48%, #ffffff 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 64px 0;
}

.section-small {
  padding: 42px 0;
}

.section-title {
  margin: 0 0 12px;
  font-family: "Exo 2", "Segoe UI", sans-serif;
  font-size: clamp(1.8rem, 2.9vw, 2.7rem);
  line-height: 1.15;
}

.section-lead {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 1.06rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(31, 86, 223, 0.1);
  color: var(--brand);
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(248, 251, 255, 0.85);
  border-bottom: 1px solid rgba(20, 38, 71, 0.08);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: "Exo 2", "Segoe UI", sans-serif;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
}

.logo img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 700;
  transition: 0.22s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: rgba(31, 86, 223, 0.08);
  outline: none;
}

.site-nav a.is-active {
  color: var(--brand);
  background: rgba(31, 86, 223, 0.12);
}

.site-nav .nav-cta {
  margin-left: 8px;
  background: linear-gradient(135deg, var(--cta) 0%, #ff9f44 100%);
  color: #1d160d;
  font-weight: 800;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: linear-gradient(135deg, #ff9f44 0%, #ffb363 100%);
  color: #1d160d;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 99px;
}

.hero {
  padding: 68px 0 48px;
}

.promo-hero {
  position: relative;
}

.promo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(238, 244, 255, 0.28), rgba(248, 251, 255, 0.75)),
    url("assets/promo_cover.jpg") center/cover no-repeat;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.hero-copy h1 {
  margin: 0 0 14px;
  font-family: "Exo 2", "Segoe UI", sans-serif;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  line-height: 1.03;
}

.hero-copy p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  appearance: none;
  border: none;
  border-radius: 12px;
  padding: 13px 18px;
  font-family: "Nunito Sans", "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: 0.2s ease;
}

.btn-primary {
  background: linear-gradient(130deg, var(--brand) 0%, #3872ff 100%);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(31, 86, 223, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(31, 86, 223, 0.34);
  outline: none;
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--text);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(31, 86, 223, 0.35);
  color: var(--brand);
  outline: none;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #ffffff;
  background: transparent;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.hero-tags li {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(31, 86, 223, 0.09);
  color: #18429f;
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-panel {
  background: linear-gradient(168deg, #11224c 0%, #0e2d5f 56%, #016986 100%);
  border-radius: var(--radius-lg);
  color: #ffffff;
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.hero-panel::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 138, 30, 0.34), transparent 64%);
  top: -80px;
  right: -70px;
}

.hero-panel h2 {
  margin: 0;
  font-size: 1.3rem;
  font-family: "Exo 2", "Segoe UI", sans-serif;
}

.hero-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.hero-panel li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cta);
  box-shadow: 0 0 0 5px rgba(255, 138, 30, 0.17);
}

.hero-gallery {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.hero-gallery img {
  border-radius: 10px;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 8px 20px rgba(15, 31, 68, 0.06);
}

.card h3 {
  margin: 0 0 9px;
  font-family: "Exo 2", "Segoe UI", sans-serif;
  font-size: 1.24rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card .card-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.split-card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.split-card.parents {
  background: linear-gradient(145deg, #ffffff 0%, #f0f7ff 100%);
}

.split-card.kids {
  background: linear-gradient(145deg, #ffffff 0%, #edfbff 100%);
}

.metrics {
  margin-top: 22px;
}

.metric {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.metric strong {
  display: block;
  font-family: "Exo 2", "Segoe UI", sans-serif;
  color: var(--brand);
  font-size: 1.65rem;
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-size: 0.95rem;
}

.dark-block {
  background: linear-gradient(145deg, #0f1f44 0%, #0d315f 52%, #0e6d85 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 34px;
}

.dark-block .section-lead {
  color: rgba(255, 255, 255, 0.84);
}

.dark-block .grid-3 .card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.dark-block .grid-3 .card h3 {
  color: #ffffff;
}

.dark-block .grid-3 .card p {
  color: rgba(255, 255, 255, 0.88);
}

.program-card ul,
.list-check {
  margin: 11px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.program-card li,
.list-check li {
  position: relative;
  padding-left: 21px;
  color: var(--muted);
}

.program-card li::before,
.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 2px;
  background: var(--ok);
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.module-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.demo-video,
.module-image {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  border: 1px solid var(--line);
  object-fit: cover;
  background: #0c152b;
}

.project-card .thumb {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.project-card .thumb img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  background: rgba(0, 180, 212, 0.12);
  color: #045c6f;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 700;
}

.news-list {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.news-card {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.news-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.news-card p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.news-card time {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.82rem;
  color: #6f7f9d;
}

.news-empty {
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  color: var(--muted);
}

.lessons-toolbar {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lesson-filter {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--text);
  border-radius: 999px;
  padding: 8px 13px;
  font-weight: 700;
  cursor: pointer;
}

.lesson-filter.is-active {
  border-color: rgba(31, 86, 223, 0.35);
  color: var(--brand);
  background: rgba(31, 86, 223, 0.08);
}

.lessons-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.lesson-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(15, 31, 68, 0.06);
  display: flex;
  flex-direction: column;
}

.lesson-cover {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #0f1f44;
}

.lesson-body {
  padding: 14px;
  display: grid;
  gap: 9px;
  height: 100%;
}

.lesson-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.lesson-badge {
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.lesson-badge.short {
  color: #754806;
  background: rgba(247, 162, 27, 0.18);
}

.lesson-badge.lesson {
  color: #0c4d72;
  background: rgba(0, 180, 212, 0.16);
}

.lesson-time {
  color: #5f7090;
  font-size: 0.84rem;
  font-weight: 700;
}

.lesson-card h3 {
  margin: 0;
  font-size: 1.08rem;
}

.lesson-card p {
  margin: 0;
  color: var(--muted);
}

.quiz-shell {
  margin-top: 18px;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 0% 0%, rgba(0, 180, 212, 0.14), transparent 34%),
    #ffffff;
}

.quiz-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.quiz-result {
  margin-top: 12px;
  padding: 12px;
  border: 1px dashed rgba(31, 86, 223, 0.35);
  border-radius: 10px;
  color: var(--muted);
}

.quiz-result strong {
  color: var(--brand);
}

.people-grid .card,
.reviews-grid .card {
  height: 100%;
}

.person-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
}

.person-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(31, 86, 223, 0.18);
  object-fit: cover;
  background: #e6eefc;
}

.person-card h3 {
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.person-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-stars {
  color: #f7a21b;
  letter-spacing: 2px;
  font-weight: 800;
}

.review-author {
  margin-top: auto;
  color: #324566;
  font-weight: 700;
}

.faq-list {
  margin-top: 18px;
}

.faq-list details {
  background: #ffffff;
}

.empty-card {
  padding: 16px;
  border-radius: 12px;
  border: 1px dashed var(--line);
  color: var(--muted);
}

.steps {
  counter-reset: step;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.steps li {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 14px 14px 52px;
  position: relative;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 12px;
  top: 11px;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--brand);
  color: #ffffff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.form-shell {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 0.95rem;
}

input,
select,
textarea {
  font: inherit;
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid rgba(20, 38, 71, 0.2);
  color: var(--text);
  background: #ffffff;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: rgba(31, 86, 223, 0.54);
  box-shadow: 0 0 0 3px rgba(31, 86, 223, 0.14);
}

textarea {
  min-height: 102px;
  resize: vertical;
}

.form-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-message {
  margin-top: 10px;
  min-height: 22px;
  font-weight: 700;
}

.form-message.success {
  color: #0d8d5b;
}

.form-message.error {
  color: #c53b36;
}

.contact-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-chip {
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--text);
  font-weight: 700;
}

.contact-chip:hover,
.contact-chip:focus-visible {
  border-color: rgba(31, 86, 223, 0.4);
  color: var(--brand);
  outline: none;
}

.portal-links .card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.portal-links .card .btn {
  width: fit-content;
}

.preview-shell {
  margin-top: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #ffffff;
  overflow: hidden;
}

.preview-shell iframe {
  width: 100%;
  min-height: 560px;
  border: 0;
  display: block;
  background: #0d1528;
}

.timeline {
  position: relative;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(31, 86, 223, 0.2);
}

.timeline li {
  position: relative;
  padding: 0 0 18px 46px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(31, 86, 223, 0.18);
}

.timeline h3 {
  margin: 0;
  font-size: 1.08rem;
}

.timeline p {
  margin: 5px 0 0;
  color: var(--muted);
}

details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  padding: 12px 14px;
}

details + details {
  margin-top: 10px;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 9px 0 0;
  color: var(--muted);
}

.footer {
  margin-top: 56px;
  padding: 36px 0 18px;
  background: #0f1f44;
  color: rgba(255, 255, 255, 0.92);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 16px;
}

.footer h3 {
  margin-top: 0;
  font-size: 1.05rem;
}

.footer p,
.footer li,
.footer a {
  color: rgba(255, 255, 255, 0.86);
}

.footer a {
  text-decoration: none;
}

.footer a:hover,
.footer a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  outline: none;
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.footer-bottom {
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 12px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.floating-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 980;
  text-decoration: none;
  padding: 13px 15px;
  border-radius: 14px;
  background: linear-gradient(130deg, var(--cta) 0%, #ffb15f 100%);
  color: #221307;
  font-weight: 800;
  box-shadow: 0 16px 26px rgba(255, 138, 30, 0.36);
}

.floating-cta:hover,
.floating-cta:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1020px) {
  .site-nav {
    position: fixed;
    inset: 78px 14px auto 14px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    transform-origin: top;
    transform: scaleY(0.92);
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
  }

  .site-nav.is-open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .nav-toggle {
    display: inline-block;
  }

  .hero-grid,
  .grid-3,
  .lessons-grid,
  .news-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .quiz-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 52px;
  }

  .preview-shell iframe {
    min-height: 420px;
  }
}

@media (max-width: 700px) {
  .section {
    padding: 52px 0;
  }

  .hero-panel {
    padding: 18px;
  }

  .hero-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .floating-cta {
    left: 12px;
    right: 12px;
    text-align: center;
  }

  .form-shell {
    padding: 18px;
  }

  .preview-shell iframe {
    min-height: 340px;
  }
}
