:root {
  --yellow: #ffcc06;
  --yellow-dark: #f2bc00;
  --black: #0d0d0d;
  --text: #151515;
  --muted: #6d6d6d;
  --line: #e9e9e9;
  --soft: #f7f7f7;
  --cream: #fff6df;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Manrope", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.section-pad {
  padding: 70px 0 56px;
}

.section-pad-sm {
  padding: 42px 0;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.055em;
  font-weight: 850;
}

h2 {
  margin-bottom: 30px;
  text-align: center;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.14;
  letter-spacing: -0.035em;
  font-weight: 820;
}

h3 {
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 780;
}

p {
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  width: 64px;
  height: auto;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.brand-name {
  color: var(--black);
  font-size: clamp(22px, 1.8vw, 28px);
  line-height: 0.95;
  letter-spacing: -0.075em;
  font-weight: 850;
}

.brand-tagline {
  max-width: 320px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 700;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  position: relative;
  color: #222;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--yellow);
  transition: transform 0.22s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--yellow);
  color: #0a0a0a;
  box-shadow: 0 12px 28px rgba(255, 204, 6, 0.28);
}

.btn-primary:hover {
  background: var(--yellow-dark);
  box-shadow: 0 16px 34px rgba(255, 204, 6, 0.36);
}

.btn-ghost,
.btn-outline {
  background: var(--white);
  border-color: #dcdcdc;
  color: #171717;
}

.btn-ghost:hover,
.btn-outline:hover {
  border-color: #bfbfbf;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.btn-large {
  min-height: 64px;
  padding-inline: 28px;
  border-radius: 14px;
}

.header-cta {
  flex: 0 0 auto;
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 0;
  border-radius: 14px;
  background: #f4f4f4;
  cursor: pointer;
  padding: 12px;
}

.burger span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #101010;
  border-radius: 99px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-active span:nth-child(2) {
  opacity: 0;
}

.burger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

.hero {
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr minmax(420px, 560px);
  gap: 46px;
  align-items: center;
}

.badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  padding: 10px 14px;
  border: 1px solid #e6e6e6;
  border-radius: 999px;
  background: #fff;
  color: #343434;
  font-size: 14px;
  font-weight: 800;
}

.badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
}

.hero-lead {
  max-width: 560px;
  margin-top: 26px;
  font-size: 20px;
  color: #292929;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.btn-icon,
.round-link::before {
  content: "";
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: inline-block;
  background: currentColor;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.telegram-icon {
  color: #101010;
}

.telegram-icon::before,
.btn-icon.telegram-icon {
  mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21.7 4.4 18.6 19c-.23 1.03-.84 1.28-1.7.8l-4.7-3.46-2.27 2.18c-.25.25-.46.46-.94.46l.34-4.8 8.74-7.9c.38-.34-.08-.53-.59-.19L6.77 12.9 2.12 11.45c-1.01-.32-1.03-1.01.21-1.5l18.2-7.02c.85-.32 1.59.19 1.17 1.47Z'/%3E%3C/svg%3E");
}

.whatsapp-icon {
  color: #101010;
}

.whatsapp-icon::before,
.btn-icon.whatsapp-icon {
  mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19.1 4.87A9.9 9.9 0 0 0 3.52 16.82L2.12 22l5.3-1.39A9.88 9.88 0 0 0 12.14 21h.01a9.88 9.88 0 0 0 6.95-16.13Zm-6.95 14.45a8.22 8.22 0 0 1-4.2-1.15l-.3-.18-3.15.83.84-3.07-.2-.31a8.2 8.2 0 1 1 7.01 3.88Zm4.5-6.14c-.25-.13-1.47-.72-1.7-.8-.23-.09-.4-.13-.56.12-.16.25-.64.8-.78.96-.14.17-.29.19-.54.07a6.71 6.71 0 0 1-1.98-1.22 7.4 7.4 0 0 1-1.37-1.7c-.14-.25-.01-.38.11-.5.12-.12.25-.29.37-.43.12-.14.16-.25.25-.42.08-.17.04-.31-.02-.43-.06-.13-.56-1.35-.77-1.84-.2-.49-.41-.42-.56-.43l-.48-.01c-.17 0-.43.06-.66.31-.23.25-.87.85-.87 2.07 0 1.22.89 2.39 1.01 2.56.12.17 1.75 2.67 4.23 3.74.59.25 1.05.4 1.41.52.59.19 1.13.16 1.56.1.48-.07 1.47-.6 1.68-1.18.21-.58.21-1.08.14-1.18-.06-.1-.23-.16-.48-.29Z'/%3E%3C/svg%3E");
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.hero-point {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  font-weight: 750;
  color: #222;
}

.mini-icon,
.card-icon,
.line-icon,
.step-icon,
.round-book {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.mini-icon {
  width: 34px;
  height: 34px;
}

.mini-icon::before,
.card-icon::before,
.line-icon::before,
.step-icon::before,
.round-book::before {
  content: "";
  width: 100%;
  height: 100%;
  display: block;
  background: #111;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.person::before,
.classroom::before,
.teacher::before,
.tutor::before {
  mask-image: url("data:image/svg+xml,%3Csvg width='42' height='42' viewBox='0 0 42 42' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='21' cy='13.5' r='6.5'/%3E%3Cpath d='M8 34c2.4-7 7.1-10.5 13-10.5S31.6 27 34 34'/%3E%3C/g%3E%3C/svg%3E");
}

.plan::before,
.growth::before,
.arrow-up::before {
  mask-image: url("data:image/svg+xml,%3Csvg width='42' height='42' viewBox='0 0 42 42' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 31h6V18H8v13Zm10 0h6V12h-6v19Zm10 0h6V7h-6v24Z'/%3E%3Cpath d='M9 12c7.5 0 11-5 16-5h7'/%3E%3Cpath d='m28 3 4 4-4 4'/%3E%3C/g%3E%3C/svg%3E");
}

.hero-visual {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: end center;
}

.yellow-blob {
  position: absolute;
  top: 34px;
  right: 50%;
  transform: translateX(50%);
  width: 410px;
  height: 410px;
  border-radius: 50% 50% 45% 55%;
  background: var(--yellow);
  z-index: -1;
}

.student-img {
  width: min(100%, 620px);
  object-fit: contain;
  object-position: center bottom;
  transform: translate(-20px, -140px) scale(1.2);
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.18));
}

.floating-card {
  position: absolute;
  right: 0;
  bottom: 70px;
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 300px;
  padding: 18px 22px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.floating-card strong {
  display: block;
  font-size: 20px;
  line-height: 1.1;
}

.floating-card span:not(.round-book) {
  display: block;
  margin-top: 5px;
  color: #2b2b2b;
  font-weight: 720;
}

.round-book {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--yellow);
}

.round-book::before {
  width: 34px;
  height: 34px;
  mask-image: url("data:image/svg+xml,%3Csvg width='42' height='42' viewBox='0 0 42 42' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 10h10c3 0 5 2 5 5v18c0-3-2-5-5-5H8V10Z'/%3E%3Cpath d='M34 10H24c-3 0-5 2-5 5v18c0-3 2-5 5-5h10V10Z'/%3E%3C/g%3E%3C/svg%3E");
}

.sparkle {
  position: absolute;
  width: 36px;
  height: 36px;
  background: #111;
  mask: url("data:image/svg+xml,%3Csvg width='44' height='44' viewBox='0 0 44 44' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 1c2.4 11 6 14.6 17 17-11 2.4-14.6 6-17 17-2.4-11-6-14.6-17-17 11-2.4 14.6-6 17-17Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.sparkle-one {
  top: 100px;
  right: 18px;
}

.sparkle-two {
  top: 230px;
  left: 14px;
  width: 26px;
  height: 26px;
}

.why,
.subjects,
.reviews {
  background: #fbfbfb;
}

.cards {
  display: grid;
  gap: 26px;
}

.four-cards,
.direction-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.direction-card,
.review-card {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover,
.direction-card:hover,
.review-card:hover {
  transform: translateY(-4px);
  border-color: #d9d9d9;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
}

.card {
  min-height: 236px;
  padding: 32px 26px 28px;
  text-align: center;
}

.card-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--yellow);
}

.card-icon::before {
  width: 42px;
  height: 42px;
}

.cap::before {
  mask-image: url("data:image/svg+xml,%3Csvg width='42' height='42' viewBox='0 0 42 42' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 17 17-8 17 8-17 8-17-8Z'/%3E%3Cpath d='M12 21v8c4.6 3.1 13.4 3.1 18 0v-8'/%3E%3Cpath d='M35 19v9'/%3E%3C/g%3E%3C/svg%3E");
}

.target::before {
  mask-image: url("data:image/svg+xml,%3Csvg width='42' height='42' viewBox='0 0 42 42' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='19' cy='23' r='11'/%3E%3Ccircle cx='19' cy='23' r='5'/%3E%3Cpath d='M24 18 36 6'/%3E%3Cpath d='M29 6h7v7'/%3E%3C/g%3E%3C/svg%3E");
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  font-size: 15px;
}

.direction-card {
  position: relative;
  overflow: hidden;
  min-height: 196px;
  padding: 28px;
}

.direction-card.accent-line::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: var(--yellow);
}

.line-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
}

.clipboard::before,
.doc::before {
  mask-image: url("data:image/svg+xml,%3Csvg width='42' height='42' viewBox='0 0 42 42' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 7h14l3 3v25H11V10l3-3Z'/%3E%3Cpath d='M16 14h10M16 21h10M16 28h7'/%3E%3Cpath d='M17 5h8v6h-8z'/%3E%3C/g%3E%3C/svg%3E");
}

.book::before {
  mask-image: url("data:image/svg+xml,%3Csvg width='42' height='42' viewBox='0 0 42 42' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 9h11c3 0 5 2 5 5v21c0-3-2-5-5-5H8V9Z'/%3E%3Cpath d='M34 9H23c-3 0-5 2-5 5v21c0-3 2-5 5-5h11V9Z'/%3E%3C/g%3E%3C/svg%3E");
}

.pencil::before {
  mask-image: url("data:image/svg+xml,%3Csvg width='42' height='42' viewBox='0 0 42 42' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 31 29 10l5 5-21 21-7 2 2-7Z'/%3E%3Cpath d='m26 13 5 5'/%3E%3C/g%3E%3C/svg%3E");
}

.direction-card h3 {
  margin-bottom: 12px;
}

.direction-card p {
  font-size: 15px;
}

.subject-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 26px;
}

.subject-card {
  min-height: 124px;
  display: grid;
  place-items: center;
  gap: 14px;
  border: 0;
  background: transparent;
  color: #121212;
  font-size: 14px;
  font-weight: 760;
  cursor: pointer;
}

.subject-card span {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: #101010;
  font-size: 26px;
  font-weight: 850;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.subject-card:hover span {
  transform: translateY(-4px);
  border-color: var(--yellow);
  background: #fff9df;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.steps-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 42px;
  margin-top: 22px;
}

.steps-line::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 12%;
  right: 12%;
  height: 1px;
  border-top: 2px dashed #d6d6d6;
  z-index: -1;
}

.step {
  text-align: center;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--yellow);
  font-weight: 850;
}

.step-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
}

.step-icon::before {
  width: 40px;
  height: 40px;
}

.calendar::before {
  mask-image: url("data:image/svg+xml,%3Csvg width='42' height='42' viewBox='0 0 42 42' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 11h24v24H9z'/%3E%3Cpath d='M14 7v8M28 7v8M9 18h24M15 25h3M24 25h3M15 30h3M24 30h3'/%3E%3C/g%3E%3C/svg%3E");
}

.trophy::before {
  mask-image: url("data:image/svg+xml,%3Csvg width='42' height='42' viewBox='0 0 42 42' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 8h14v8c0 6-3 10-7 10s-7-4-7-10V8Z'/%3E%3Cpath d='M14 12H7v3c0 4 3 7 7 7M28 12h7v3c0 4-3 7-7 7M21 26v6M15 35h12'/%3E%3C/g%3E%3C/svg%3E");
}

.step h3 {
  margin-bottom: 10px;
}

.step p {
  font-size: 14px;
}

.stats-panel {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  align-items: center;
  gap: 20px;
  padding: 32px 34px;
  border-radius: var(--radius-lg);
  background: var(--cream);
}

.stats-panel h2 {
  margin: 0;
  text-align: left;
}

.stat {
  min-height: 86px;
  padding-left: 24px;
  border-left: 1px solid rgba(0, 0, 0, 0.12);
}

.stat strong {
  display: block;
  margin-bottom: 7px;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat span {
  display: block;
  color: #373737;
  font-size: 14px;
  font-weight: 650;
}

.review-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.review-card {
  min-height: 192px;
  padding: 28px;
}

.quote {
  display: block;
  height: 30px;
  color: var(--yellow);
  font-size: 62px;
  line-height: 0.85;
  font-weight: 900;
}

.review-card p {
  margin: 12px 0 18px;
  color: #333;
  font-size: 15px;
}

.review-card strong {
  display: block;
  font-size: 14px;
}

.slider-dots {
  display: none;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d8d8d8;
  cursor: pointer;
}

.dot.is-active {
  background: var(--yellow);
}

.cta-panel {
  display: grid;
  grid-template-columns: 94px 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 34px 44px;
  border-radius: 22px;
  background: #111;
  color: #fff;
}

.cta-panel img {
  width: 84px;
}

.cta-panel h2 {
  margin: 0 0 8px;
  text-align: left;
  color: #fff;
  font-size: clamp(26px, 3vw, 40px);
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
}

.messengers,
.footer-socials {
  display: flex;
  gap: 14px;
}

.round-link {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #101010;
  transition: transform 0.2s ease, background 0.2s ease;
}

.round-link:hover {
  transform: translateY(-3px);
  background: var(--yellow);
}

.footer {
  padding: 34px 0 30px;
  background: #141414;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 0.9fr;
  gap: 38px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand-link {
  margin-bottom: 12px;
}

.footer-brand .brand-name {
  color: var(--white);
}

.footer-brand .brand-tagline {
  max-width: 260px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-brand .brand-logo {
  width: 64px;
}

.footer p,
.footer a,
.footer small {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer p + p,
.footer a + a {
  margin-top: 7px;
}

.footer h3 {
  margin-bottom: 14px;
  color: #fff;
}

.footer small {
  margin-top: 24px;
}

.footer-socials .round-link {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}

.footer-socials a + a {
  margin-top: 0;
}

.footer-socials .round-link::before {
  display: block;
}

.footer-socials .round-link:first-child {
  background: #2aa7e8;
  color: #fff;
}

.footer-socials .round-link:last-child {
  background: #29d367;
  color: #fff;
}

@media (max-width: 1120px) {
  .nav,
  .header-cta {
    display: none;
  }

  .burger {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    inset: 86px 0 auto 0;
    display: grid;
    gap: 4px;
    padding: 18px 24px 26px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 28px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-120%);
    transition: transform 0.24s ease;
  }

  .mobile-menu.is-open {
    transform: translateY(0);
  }

  .mobile-menu a:not(.btn) {
    padding: 14px 4px;
    font-weight: 800;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hero-content {
    max-width: 850px;
  }

  .hero-visual {
    min-height: 500px;
    max-width: 640px;
    margin: 0 auto;
  }

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

  .subject-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .stats-panel h2 {
    grid-column: 1 / -1;
  }

  .cta-panel {
    grid-template-columns: 80px 1fr;
  }

  .cta-panel .btn,
  .messengers {
    grid-column: 2;
    justify-self: start;
  }

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .section-pad {
    padding: 34px 0 42px;
  }

  .section-pad-sm {
    padding: 34px 0;
  }

  .header-inner {
    min-height: 74px;
  }

  .brand {
    gap: 10px;
  }

  .brand-logo {
    width: 54px;
  }

  .brand-name {
    font-size: 21px;
  }

  .brand-tagline {
    max-width: 220px;
    font-size: 9px;
  }

  .mobile-menu {
    inset: 74px 0 auto 0;
  }

  h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  h2 {
    margin-bottom: 22px;
    font-size: 30px;
  }

  .hero-lead {
    margin-top: 20px;
    font-size: 17px;
  }

  .hero-actions {
    flex-direction: column;
    margin-top: 28px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-points {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 30px;
  }

  .hero-point {
    grid-template-columns: 1fr;
    place-items: center;
    text-align: center;
  }

  .hero-visual {
    min-height: 380px;
  }

  .yellow-blob {
    width: 310px;
    height: 310px;
    top: 18px;
    right: 50%;
    transform: translateX(50%);
  }

  .student-img {
    width: min(100%, 420px);
    transform: translate(calc(-50% - 40px), -90px) scale(1.2);
    left: 50%;
    position: relative;
  }

  .floating-card {
    min-width: 240px;
    right: 0;
    bottom: 36px;
    padding: 14px 16px;
    border-radius: 18px;
  }

  .floating-card strong {
    font-size: 16px;
  }

  .floating-card span:not(.round-book) {
    font-size: 13px;
  }

  .round-book {
    width: 52px;
    height: 52px;
  }

  .four-cards,
  .direction-cards,
  .steps-line,
  .review-slider,
  .stats-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .direction-card,
  .review-card {
    min-height: auto;
  }

  .subject-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .subject-card {
    min-height: 116px;
  }

  .steps-line {
    gap: 28px;
  }

  .steps-line::before {
    display: none;
  }

  .stats-panel {
    padding: 28px 24px;
  }

  .stat {
    padding-left: 0;
    padding-top: 18px;
    border-left: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
  }

  .review-slider {
    display: block;
  }

  .review-card {
    display: none;
  }

  .review-card.is-active {
    display: block;
  }

  .slider-dots {
    display: flex;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    padding: 28px 22px;
    text-align: left;
  }

  .cta-panel img {
    width: 76px;
  }

  .cta-panel .btn,
  .messengers {
    grid-column: auto;
  }

  .cta-panel .btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .brand-logo {
    width: 48px;
  }

  .brand {
    gap: 8px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-tagline {
    max-width: 180px;
    font-size: 8px;
  }

  .btn {
    padding-inline: 18px;
  }

  .subject-card span {
    width: 68px;
    height: 68px;
  }

  .floating-card {
    left: 8px;
    right: 8px;
    min-width: 0;
  }
}
