:root {
  --teal: #3cc6c9;
  --teal-strong: #1fb0b5;
  --teal-deep: #138a8f;
  --teal-soft: #e6f8f8;
  --teal-mist: #f2fbfb;
  --blue: #2d8fdc;
  --blue-strong: #1f77c0;
  --ink: #16202c;
  --ink-soft: #3c4856;
  --muted: #5f6b78;
  --line: #e1ebef;
  --white: #ffffff;
  --star: #f5b82e;
  --danger: #c62f3a;
  --success: #16865a;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --pill: 999px;
  --shadow-sm: 0 4px 14px rgba(22, 60, 80, 0.07);
  --shadow: 0 14px 36px rgba(22, 60, 80, 0.1);
  --shadow-lg: 0 24px 60px rgba(22, 60, 80, 0.16);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --container: 1200px;
  --gutter: 16px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--white);
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  position: relative;
  padding: 72px 0;
}

.section-title {
  font-size: clamp(26px, 4vw, 36px);
}

.section-title--center {
  text-align: center;
}

.section-lead {
  max-width: 620px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.section-lead--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.gradient-text {
  background: linear-gradient(100deg, var(--ink) 0%, var(--ink) 55%, var(--teal-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 26px;
  border: 1.5px solid transparent;
  border-radius: var(--pill);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  transform: scale(0);
  transition: transform 0.4s var(--ease);
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: scale(1);
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(45, 143, 220, 0.28);
}

.btn--primary::before {
  background: var(--blue-strong);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(45, 143, 220, 0.34);
}

.btn--outline {
  background: transparent;
  border-color: #b9c7d2;
  color: var(--ink);
}

.btn--outline::before {
  background: var(--teal-soft);
}

.btn--outline:hover {
  border-color: var(--teal-strong);
}

.btn--white {
  background: var(--white);
  color: var(--teal-deep);
}

.btn--white::before {
  background: var(--teal-soft);
}

.btn--small {
  min-height: 38px;
  padding: 8px 20px;
  font-size: 13px;
}

.btn--block {
  width: 100%;
}

.link-line {
  position: relative;
  display: inline-block;
}

.link-line::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.link-line:hover::after,
.link-line:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 24px rgba(22, 60, 80, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  transition: transform 0.3s var(--ease);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--blue) 100%);
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
}

.nav {
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  color: var(--ink-soft);
}

.nav__link {
  white-space: nowrap;
}

.nav__link:hover {
  color: var(--ink);
}

.header__tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__phone {
  display: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}

.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--ink);
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.icon-btn:hover {
  background: #d3f2f3;
  transform: translateY(-1px);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: var(--pill);
  background: var(--blue);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

.cart-count.is-bumped {
  animation: bump 0.45s var(--ease);
}

@keyframes bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.burger {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
}

.burger__lines {
  position: relative;
  width: 22px;
  height: 14px;
}

.burger__lines span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.burger__lines span:nth-child(1) { top: 0; }
.burger__lines span:nth-child(2) { top: 6px; }
.burger__lines span:nth-child(3) { top: 12px; }

.burger[aria-expanded="true"] .burger__lines span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.burger[aria-expanded="true"] .burger__lines span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] .burger__lines span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 1023px) {
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 12px var(--gutter) 24px;
    background: var(--white);
    box-shadow: 0 18px 30px rgba(22, 60, 80, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    font-size: 16px;
  }

  .nav__link {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .header__tools {
    margin-left: auto;
  }
}

.hero {
  position: relative;
  padding: 40px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(60, 198, 201, 0.22) 0%, rgba(60, 198, 201, 0) 42%),
    radial-gradient(circle at 10% 90%, rgba(45, 143, 220, 0.12) 0%, rgba(45, 143, 220, 0) 40%),
    linear-gradient(180deg, var(--white) 0%, var(--teal-mist) 100%);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
  animation: float 9s ease-in-out infinite;
}

.hero__orb--one {
  width: 120px;
  height: 120px;
  left: -40px;
  bottom: 30px;
  background: rgba(60, 198, 201, 0.35);
}

.hero__orb--two {
  width: 70px;
  height: 70px;
  right: 6%;
  bottom: 40px;
  background: rgba(60, 198, 201, 0.45);
  animation-delay: -3s;
}

.hero__orb--three {
  width: 240px;
  height: 240px;
  right: -80px;
  top: -60px;
  background: rgba(45, 143, 220, 0.08);
  filter: blur(30px);
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -16px, 0); }
}

.hero__grid {
  position: relative;
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero__title {
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero__text {
  max-width: 470px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero__visual {
  position: relative;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
}

.hero__circle {
  position: absolute;
  inset: 8% 4% 0 10%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #c9f1f2 0%, var(--teal) 75%);
  opacity: 0.55;
}

.hero__photo {
  position: relative;
  border-radius: 48% 48% 28px 28px / 42% 42% 28px 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero__photo img {
  width: 100%;
  animation: kenburns 18s ease-in-out infinite alternate;
}

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08) translate(-1.5%, -1%); }
}

.hero__badge {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  font-size: 12px;
  color: var(--muted);
  animation: float 7s ease-in-out infinite;
}

.hero__badge strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
}

.hero__badge--top {
  top: 10%;
  left: -4%;
}

.hero__badge--right {
  top: 22%;
  right: -2%;
  animation-delay: -2s;
}

.hero__badge--bottom {
  bottom: 12%;
  left: -2%;
  animation-delay: -4s;
}

.hero__badge-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-deep);
}

.hero__badge-icon svg {
  width: 16px;
  height: 16px;
}

.features {
  padding: 72px 0 40px;
}

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

.feature-card {
  padding: 28px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.feature-card__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  color: var(--blue);
}

.feature-card__icon svg {
  width: 56px;
  height: 56px;
}

.feature-card__title {
  font-size: 15px;
  font-weight: 600;
}

.feature-card__text {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
}

.access {
  padding: 48px 0 88px;
  background: linear-gradient(180deg, var(--white) 0%, var(--teal-mist) 60%, var(--teal-soft) 100%);
}

.access__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--ink);
}

.check-list__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  color: var(--blue);
}

.check-list__icon svg {
  width: 12px;
  height: 12px;
}

.check-list span small {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
}

.video-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.video-card img {
  width: 100%;
  transition: transform 0.6s var(--ease);
}

.video-card:hover img {
  transform: scale(1.04);
}

.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(19, 138, 143, 0.55) 0%, rgba(19, 138, 143, 0) 55%);
  pointer-events: none;
}

.video-card__label {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  max-width: 180px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--teal);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: -34px 0 0 -34px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 0 0 10px rgba(60, 198, 201, 0.3);
  animation: pulse 2.4s var(--ease) infinite;
}

.video-card__play svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(60, 198, 201, 0.35); }
  50% { box-shadow: 0 0 0 16px rgba(60, 198, 201, 0.12); }
}

.courses {
  padding: 88px 0;
  background: linear-gradient(180deg, var(--teal-soft) 0%, var(--white) 22%);
}

.courses__grid {
  display: grid;
  gap: 24px;
  margin-top: 44px;
}

.course-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.course-card[hidden] {
  display: none;
}

.course-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.course-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.course-card:hover .course-card__media img {
  transform: scale(1.06);
}

.course-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.92);
  color: var(--teal-deep);
  font-size: 11.5px;
  font-weight: 600;
}

.course-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 20px;
}

.course-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.course-card__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.course-card__price {
  flex: none;
  display: grid;
  place-items: center;
  min-width: 58px;
  height: 58px;
  padding: 0 6px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.course-card__price small {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  font-weight: 500;
  opacity: 0.9;
}

.course-card__text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.course-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 12px;
  color: var(--ink-soft);
}

.course-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.course-card__meta svg {
  width: 14px;
  height: 14px;
  color: var(--star);
}

.course-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.course-card__total {
  font-size: 13px;
  color: var(--muted);
}

.course-card__total strong {
  color: var(--ink);
  font-size: 17px;
}

.courses__more {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.experience {
  padding: 72px 0 96px;
}

.experience__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.collage {
  position: relative;
  padding: 30px 0 70px;
}

.collage__main {
  width: 88%;
  margin-left: 6%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}

.collage__round {
  position: absolute;
  right: 4%;
  bottom: 0;
  width: 40%;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: var(--shadow);
}

.collage__chip {
  position: absolute;
  left: 2%;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 8px;
  border-radius: var(--pill);
  background: var(--white);
  box-shadow: var(--shadow);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
}

.collage__chip-dot {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
}

.collage__chip-dot svg {
  width: 16px;
  height: 16px;
}

.collage__doodle {
  position: absolute;
  color: var(--blue);
  pointer-events: none;
}

.collage__doodle--star {
  top: 0;
  left: 4%;
  width: 26px;
}

.collage__doodle--plane {
  top: -6px;
  left: 18%;
  width: 34px;
  color: var(--teal-strong);
}

.collage__doodle--pen {
  right: 0;
  bottom: 40%;
  width: 34px;
}

.formats-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.format-item {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--teal-mist);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}

.format-item:hover {
  transform: translateX(4px);
  background: var(--teal-soft);
}

.format-item__num {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  color: var(--teal-deep);
  font-weight: 700;
  font-size: 14px;
}

.format-item h3 {
  font-size: 15px;
}

.format-item p {
  font-size: 13px;
  color: var(--muted);
}

.stats {
  position: relative;
  padding: 44px 0;
  background: linear-gradient(90deg, var(--teal-strong) 0%, var(--teal) 50%, var(--teal-strong) 100%);
  color: var(--white);
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  inset: -50% -10%;
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 40%);
  animation: float 12s ease-in-out infinite;
  pointer-events: none;
}

.stats__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 16px;
  text-align: center;
}

.stat__value {
  display: block;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--white);
}

.stat__label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.92;
}

.tutors {
  padding: 96px 0 56px;
  overflow: hidden;
}

.tutors__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.tutors__visual {
  position: relative;
  max-width: 460px;
  width: 100%;
  margin: 0 auto;
}

.tutors__ring {
  position: absolute;
  border-radius: 50%;
  border: 28px solid var(--teal-soft);
  pointer-events: none;
}

.tutors__ring--big {
  width: 220px;
  height: 220px;
  left: -90px;
  top: -40px;
}

.tutors__ring--small {
  width: 90px;
  height: 90px;
  right: -20px;
  top: -30px;
  border-width: 16px;
}

.tutors__photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.tutors__photo::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.85;
}

.tutors__title {
  font-size: clamp(28px, 4.4vw, 40px);
}

.tutors__list {
  display: grid;
  gap: 10px;
  margin: 22px 0 28px;
}

.tutors__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
}

.tutors__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.tutors__line {
  display: none;
}

.stories {
  padding: 40px 0 88px;
}

.stories__title {
  font-size: 22px;
  text-align: center;
}

.stories__track {
  display: flex;
  gap: 20px;
  margin-top: 36px;
  padding: 8px var(--gutter) 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 60px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 60px), transparent 100%);
}

.story-card {
  flex: 0 0 84%;
  max-width: 340px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.story-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.story-card__avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, var(--blue) 100%);
  color: var(--white);
}

.story-card__avatar svg {
  width: 22px;
  height: 22px;
}

.story-card__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.story-card__role {
  font-size: 12px;
  color: var(--muted);
}

.story-card__text {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.programmes {
  padding: 88px 0 96px;
  background: linear-gradient(180deg, var(--white) 0%, var(--teal-mist) 40%, var(--teal-soft) 100%);
}

.programmes__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: var(--pill);
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  line-height: 1.25;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}

.pill:hover {
  transform: translateY(-2px);
  background: var(--blue-strong);
  box-shadow: 0 10px 20px rgba(45, 143, 220, 0.28);
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.gallery__item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__item--main {
  grid-column: 1 / -1;
}

.cta {
  padding: 40px 0 88px;
  background: var(--teal-soft);
}

.cta__box {
  position: relative;
  display: grid;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 30%),
    linear-gradient(120deg, var(--teal-strong) 0%, var(--teal) 100%);
  color: var(--white);
  overflow: hidden;
}

.cta__ring {
  position: absolute;
  top: -30px;
  left: -30px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 20px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.cta__content {
  position: relative;
  padding: 44px 24px 28px;
}

.cta__title {
  font-size: clamp(28px, 4.6vw, 42px);
  font-weight: 600;
  color: var(--white);
}

.cta__text {
  max-width: 460px;
  margin-top: 14px;
  font-size: 14px;
  opacity: 0.95;
}

.cta__mail {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 420px;
  margin-top: 26px;
  padding: 6px 6px 6px 20px;
  border-radius: var(--pill);
  background: var(--white);
  color: var(--muted);
  font-size: 13px;
  transition: box-shadow 0.3s var(--ease);
}

.cta__mail:hover {
  box-shadow: 0 10px 24px rgba(10, 70, 80, 0.25);
}

.cta__mail-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cta__mail-btn {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  transition: transform 0.3s var(--ease);
}

.cta__mail:hover .cta__mail-btn {
  transform: translateX(3px);
}

.cta__mail-btn svg {
  width: 18px;
  height: 18px;
}

.cta__visual {
  position: relative;
  align-self: end;
  justify-self: center;
  width: 70%;
  max-width: 320px;
}

.cta__visual img {
  border-radius: 160px 160px 0 0;
}

.faq {
  padding: 88px 0;
}

.faq__list {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 40px auto 0;
}

.faq__item {
  border-radius: var(--radius-sm);
  background: #f3f6f8;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.faq__item[open] {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  outline: 1px solid var(--line);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__chevron {
  flex: none;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--ink);
  transition: transform 0.3s var(--ease);
}

.faq__item[open] .faq__chevron {
  transform: rotate(180deg);
}

.faq__answer {
  padding: 0 20px 18px;
  font-size: 13.5px;
  color: var(--muted);
}

.faq__more {
  margin-top: 40px;
  text-align: center;
}

.faq__more p {
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--ink);
}

.footer {
  padding: 56px 0 28px;
  background: linear-gradient(180deg, var(--white) 0%, var(--teal-mist) 100%);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.footer__grid {
  display: grid;
  gap: 32px;
}

.footer__about {
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.footer__about address {
  font-style: normal;
}

.footer__title {
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}

.footer__links {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.footer__links a:hover {
  color: var(--ink);
}

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.footer__social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}

.footer__social a:hover {
  transform: translateY(-3px);
  background: var(--teal-strong);
}

.footer__social svg {
  width: 18px;
  height: 18px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.cart {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
  transition: visibility 0s linear 0.4s;
}

.cart.is-open {
  visibility: visible;
  transition: visibility 0s;
}

.cart__overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 30, 42, 0.45);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.cart.is-open .cart__overlay {
  opacity: 1;
}

.cart__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 460px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}

.cart.is-open .cart__panel {
  transform: translateX(0);
}

.cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.cart__title {
  font-size: 19px;
}

.cart__view {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}

.cart__view[hidden] {
  display: none;
}

.cart__body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px;
  overscroll-behavior: contain;
}

.cart__empty {
  padding: 40px 0;
  text-align: center;
  color: var(--muted);
}

.cart__empty p + .btn {
  margin-top: 18px;
}

.cart__items {
  display: grid;
  gap: 14px;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.cart-item__img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.cart-item__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.cart-item__price {
  font-size: 12.5px;
  color: var(--muted);
}

.cart-item__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--pill);
}

.qty__btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font-size: 18px;
  line-height: 1;
  color: var(--ink);
}

.qty__btn:hover {
  background: var(--teal-soft);
}

.qty__value {
  min-width: 26px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.cart-item__sum {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.cart-item__remove {
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--danger);
  font-size: 12.5px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart__foot {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--line);
  background: var(--teal-mist);
}

.cart__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--ink);
}

.cart__total strong {
  font-size: 22px;
}

.checkout {
  display: grid;
  gap: 14px;
}

.checkout__back {
  justify-self: start;
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue);
  font-size: 13px;
  font-weight: 500;
}

.checkout__summary {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--teal-mist);
  font-size: 13px;
  color: var(--ink);
}

.field {
  display: grid;
  gap: 6px;
}

.field__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.field__input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 15px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field__input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(45, 143, 220, 0.18);
}

textarea.field__input {
  min-height: 90px;
  resize: vertical;
}

.field.is-invalid .field__input {
  border-color: var(--danger);
}

.field__error {
  font-size: 12.5px;
  color: var(--danger);
}

.field__error:empty {
  display: none;
}

.field-row {
  display: grid;
  gap: 14px;
}

.pay-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.pay-options legend {
  margin-bottom: 8px;
  padding: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.pay-option {
  position: relative;
}

.pay-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.pay-option label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 12px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.pay-option label svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--teal-deep);
}

.pay-option input:checked + label {
  border-color: var(--blue);
  background: #eef6fd;
}

.pay-option input:focus-visible + label {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.checkout__note {
  font-size: 12px;
  color: var(--muted);
}

.checkout__note a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.confirm {
  padding: 24px 0;
  text-align: center;
}

.confirm__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #e3f6ee;
  color: var(--success);
}

.confirm__icon svg {
  width: 34px;
  height: 34px;
}

.confirm__title {
  font-size: 22px;
}

.confirm__list {
  display: grid;
  gap: 6px;
  margin: 18px 0;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--teal-mist);
  font-size: 14px;
  color: var(--ink);
}

.confirm__text {
  font-size: 13.5px;
  color: var(--muted);
}

.confirm .btn {
  margin-top: 20px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border-radius: var(--pill);
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translate(-50%, 20px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--teal);
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 3px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--blue) 100%);
  transform: scaleX(0);
  transform-origin: left;
}

.legal-hero {
  padding: 56px 0 40px;
  background:
    radial-gradient(circle at 85% 20%, rgba(60, 198, 201, 0.2) 0%, rgba(60, 198, 201, 0) 45%),
    linear-gradient(180deg, var(--white) 0%, var(--teal-mist) 100%);
}

.legal-hero__title {
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 700;
}

.legal-hero__meta {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.legal {
  padding: 48px 0 88px;
}

.legal__grid {
  display: grid;
  gap: 40px;
}

.toc {
  align-self: start;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--teal-mist);
  font-size: 13.5px;
}

.toc__title {
  margin-bottom: 12px;
  font-size: 15px;
}

.toc ol {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
  color: var(--ink-soft);
}

.toc a:hover {
  color: var(--blue);
}

.legal__content {
  max-width: 760px;
  min-width: 0;
}

.legal__content section + section {
  margin-top: 40px;
}

.legal__content h2 {
  margin-bottom: 14px;
  font-size: 22px;
}

.legal__content h3 {
  margin: 18px 0 8px;
  font-size: 16px;
}

.legal__content p + p,
.legal__content p + ul,
.legal__content ul + p {
  margin-top: 12px;
}

.legal__content ul {
  display: grid;
  gap: 6px;
  padding-left: 20px;
  list-style: disc;
}

.legal__content a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-table {
  width: 100%;
  margin-top: 12px;
  border-collapse: collapse;
  font-size: 13.5px;
}

.legal-table th,
.legal-table td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: var(--teal-mist);
  color: var(--ink);
  font-weight: 600;
}

.table-wrap {
  overflow-x: auto;
}

.table-wrap + p {
  margin-top: 14px;
}

.reveal {
  opacity: 1;
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: var(--delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (min-width: 600px) {
  .story-card {
    flex-basis: 320px;
  }

  .field-row {
    grid-template-columns: 1fr 1fr;
  }

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

  .pay-options legend {
    grid-column: 1 / -1;
  }

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

  .pill-grid {
    max-width: 440px;
  }
}

@media (min-width: 768px) {
  :root {
    --gutter: 28px;
  }

  .section {
    padding: 88px 0;
  }

  .features__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

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

  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }

  .header__phone {
    display: inline-block;
  }

  .cta__box {
    grid-template-columns: 1.3fr 1fr;
    align-items: end;
  }

  .cta__content {
    padding: 56px 0 56px 48px;
  }

  .cta__visual {
    width: 100%;
    margin-top: 24px;
  }
}

@media (min-width: 1024px) {
  .nav__list {
    gap: 24px;
  }

  .header__phone {
    display: none;
  }

  .burger {
    display: none;
  }

  .hero {
    padding: 64px 0 96px;
  }

  .hero__grid {
    grid-template-columns: 1.05fr 1fr;
  }

  .access__grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 64px;
  }

  .courses__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .experience__grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .tutors__grid {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }

  .tutors__content {
    position: relative;
  }

  .tutors__line {
    display: block;
    position: absolute;
    right: calc(-1 * var(--gutter) - 200px);
    bottom: 22px;
    width: 300px;
    height: 1px;
    background: var(--teal-strong);
  }

  .programmes__grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 64px;
  }

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

  .legal__grid {
    grid-template-columns: 260px 1fr;
    gap: 56px;
  }

  .toc {
    position: sticky;
    top: 96px;
  }

  .stories__track {
    padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2));
  }

  .story-card {
    flex-basis: 340px;
  }
}

@media (min-width: 1200px) {
  .nav__list {
    gap: 36px;
  }

  .header__phone {
    display: inline-block;
    margin-right: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
