 html { scroll-behavior: smooth; }
    body { font-family: 'Inter', sans-serif; background: #0a0a0c; color: #fff; overflow-x: hidden; }
    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: #0a0a0c; }
    ::-webkit-scrollbar-thumb { background: rgba(244,114,182,0.3); border-radius: 3px; }

    /* Анимации */
    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(40px); }
      to { opacity: 1; transform: translateY(0); }
    }
    @keyframes float {
      0%, 100% { transform: translateY(0px); }
      50% { transform: translateY(-15px); }
    }
    .animate-on-scroll {
      opacity: 0; transform: translateY(40px);
      transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
    .animate-on-scroll.delay-1 { transition-delay: 0.15s; }
    .animate-on-scroll.delay-2 { transition-delay: 0.3s; }
    .animate-on-scroll.delay-3 { transition-delay: 0.45s; }

    .hero-bg {
      background: radial-gradient(ellipse at 70% 40%, rgba(219,39,119,0.12) 0%, transparent 60%),
                  radial-gradient(ellipse at 30% 80%, rgba(244,114,182,0.08) 0%, transparent 50%),
                  #0a0a0c;
    }
    .gradient-text {
      background: linear-gradient(135deg, #ffffff 0%, #fbcfe8 40%, #f472b6 100%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    }
    .glass {
      background: rgba(255,255,255,0.03);
      backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
      border: 1px solid rgba(255,255,255,0.06);
    }
    
    /* Навигация */
    .hero-nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 50;
      background: rgba(10,10,12,0.6);
      backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
      transition: all 0.5s ease;
    }
    .hero-nav.scrolled {
      background: rgba(10,10,12,0.95);
      border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .hero-nav .nav-inner {
      max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; height: 64px;
      display: flex; align-items: center; justify-content: space-between;
    }
    .hero-logo {
      font-size: 1.25rem; font-weight: 600; letter-spacing: -0.025em;
      background: linear-gradient(135deg, #ffffff 30%, #f9a8d4 100%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    }
    .hero-menu {
      display: flex; align-items: center; justify-content: flex-end; gap: clamp(5rem, 6vw, 6.5rem);
    }
    .hero-menu a {
      font-size: 0.875rem; color: rgba(255,255,255,0.6); font-weight: 400;
      text-decoration: none; transition: color 0.3s ease;
    }
    .hero-menu a:hover { color: #ffffff; }

    /* Блики на кнопках */
    .btn-shine { position: relative; overflow: hidden; }
    .btn-shine::after {
      content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
      background: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
      transform: rotate(30deg) translateX(-100%); transition: transform 0.6s;
    }
    .btn-shine:hover::after { transform: rotate(30deg) translateX(100%); }

    .card-hover { transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
    .card-hover:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 20px 40px -10px rgba(244,114,182,0.2); }
    
    .image-mask {
      -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
      mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    }

/* ========================================
   ГОРИЗОНТАЛЬНЫЙ ТАЙМЛАЙН
======================================== */

.timeline-section {
  position: relative;
  padding: 6.5rem 0;
  overflow: hidden;
  background: #0a0a0c;
}

.timeline-container {
  position: relative;
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
}


/* Заголовок — в стиле FAQ */

.timeline-header {
  display: grid;
  grid-template-columns:
    minmax(0, 1.1fr)
    minmax(280px, 0.75fr);

  align-items: end;
  gap: clamp(3rem, 8vw, 7rem);

  margin-bottom: 2.75rem;
}

.timeline-header h2 {
  max-width: 760px;
  margin: 0;

  color: #fff;

  font-size: clamp(3rem, 5.6vw, 5.2rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.timeline-header p {
  max-width: 440px;
  margin: 0 0 0.35rem auto;

  color: rgba(255, 255, 255, 0.46);

  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
}


/* Управление */

.timeline-controls {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;

  margin-bottom: 1rem;
}

.timeline-button {
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  place-items: center;
  padding: 0;

  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;

  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.025);

  cursor: pointer;

  transition:
    color 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.timeline-button:hover {
  color: #fff;

  transform: translateY(-2px);

  border-color: rgba(244, 114, 182, 0.42);
  background: rgba(244, 114, 182, 0.08);
}

.timeline-button:focus-visible {
  outline: 2px solid rgba(244, 114, 182, 0.55);
  outline-offset: 3px;
}


/* Горизонтальная лента */

.timeline-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 330px;
  align-items: stretch;
  gap: 1rem;

  padding: 0.25rem 0.15rem 1.25rem;

  overflow-x: auto;
  overscroll-behavior-inline: contain;

  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;

  scrollbar-width: thin;
  scrollbar-color:
    rgba(255, 255, 255, 0.18)
    transparent;
}

.timeline-track::-webkit-scrollbar {
  height: 5px;
}

.timeline-track::-webkit-scrollbar-track {
  background: transparent;
}

.timeline-track::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}


/* Карточка */

.timeline-card {
  min-width: 0;
  min-height: 410px;

  overflow: hidden;

  scroll-snap-align: start;

  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 1.5rem;

  background: #121216;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 18px 45px rgba(0, 0, 0, 0.18);

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.timeline-card:hover {
  transform: translateY(-4px);

  border-color: rgba(255, 255, 255, 0.15);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 24px 55px rgba(0, 0, 0, 0.22);
}


/* Текстовая карточка */

.timeline-content-card {
  display: flex;
  flex-direction: column;

  padding: 1.5rem;
}

.timeline-card-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;

  margin-bottom: 1.35rem;
}

.timeline-card-heading h3 {
  margin: 0;

  color: #fff;

  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.timeline-card-icon {
  display: grid;
  width: 2.45rem;
  height: 2.45rem;
  flex: 0 0 auto;
  place-items: center;

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.8rem;

  color: rgba(249, 168, 212, 0.8);
  background: rgba(255, 255, 255, 0.025);
}


/* Список внутри карточки */

.timeline-list {
  display: grid;
}

.timeline-item {
  position: relative;

  padding: 0.95rem 0 0.95rem 0.9rem;

  border-top: 1px solid rgba(255, 255, 255, 0.065);
}

.timeline-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.timeline-item::before {
  content: "";

  position: absolute;
  top: 1.38rem;
  left: 0;

  width: 5px;
  height: 5px;

  border-radius: 50%;

  background: rgba(244, 114, 182, 0.72);
}

.timeline-item:first-child::before {
  top: 0.45rem;
}

.timeline-item h4 {
  margin: 0 0 0.28rem;

  color: rgba(255, 255, 255, 0.88);

  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
}

.timeline-item p {
  margin: 0 0 0.2rem;

  color: rgba(255, 255, 255, 0.5);

  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.55;
}

.timeline-item span {
  color: rgba(255, 255, 255, 0.3);

  font-size: 0.7rem;
  line-height: 1.45;
}


/* Фотокарточка */

.timeline-photo-card {
  padding: 0;
  background: #111217;
}

.timeline-photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 410px;

  object-fit: cover;

  transition:
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-photo-card:hover img {
  transform: scale(1.025);
}


/* Награды */

.timeline-awards-card {
  justify-content: flex-start;
}

.timeline-awards-list {
  display: grid;
  gap: 0.6rem;
}

.timeline-awards-list span {
  display: block;

  padding: 0.75rem 0.85rem;

  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0.85rem;

  color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.018);

  font-size: 0.74rem;
  line-height: 1.45;
}


/* Планшет */

@media (max-width: 900px) {
  .timeline-section {
    padding: 5rem 0;
  }

  .timeline-header {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.25rem;

    margin-bottom: 2.25rem;
  }

  .timeline-header p {
    max-width: 560px;
    margin-left: 0;
  }

  .timeline-track {
    grid-auto-columns: minmax(290px, 78vw);
  }
}


/* Телефон */

@media (max-width: 767px) {
  .timeline-section {
    padding: 4rem 0;
  }

  .timeline-container {
    width: min(100% - 2rem, 1180px);
  }

  .timeline-header {
    margin-bottom: 1.8rem;
  }

  .timeline-header h2 {
    font-size: 2.65rem;
  }

  .timeline-header p {
    font-size: 0.86rem;
  }

  .timeline-controls {
    justify-content: flex-start;
  }

  .timeline-track {
    grid-auto-columns: 84vw;
    gap: 0.8rem;
  }

  .timeline-card {
    min-height: 390px;
  }

  .timeline-photo-card img {
    min-height: 390px;
  }

  .timeline-content-card {
    padding: 1.25rem;
  }
}


/* Уменьшение движения */

@media (prefers-reduced-motion: reduce) {
  .timeline-track {
    scroll-behavior: auto;
  }

  .timeline-card,
  .timeline-photo-card img,
  .timeline-button {
    transition: none;
  }
}

/* ÐœÐ¾Ð±Ð¸Ð»ÑŒÐ½Ð¾Ðµ Ð¼ÐµÐ½ÑŽ */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background: rgba(10, 10, 12, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-overlay a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  font-weight: 300;
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-overlay a:hover {
  color: #fff;
}

/* Ð¤Ð¾Ñ‚Ð¾Ð³Ð°Ð»ÐµÑ€ÐµÑ */
.gallery-section {
  width: min(1200px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 7.5rem 0;
}

.gallery-header {
  max-width: 760px;
  margin: 0 auto 3.75rem;
  text-align: center;
}

.gallery-header > span {
  color: #f472b6;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.gallery-header h2 {
  margin: 1.125rem 0 0;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 210px;
  gap: 1.125rem;
}

.gallery-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.025);
}

.gallery-grid figure:nth-child(1) {
  grid-column: span 7;
  grid-row: span 2;
}

.gallery-grid figure:nth-child(2) {
  grid-column: span 5;
}

.gallery-grid figure:nth-child(3) {
  grid-column: span 5;
}

.gallery-grid figure:nth-child(4),
.gallery-grid figure:nth-child(5),
.gallery-grid figure:nth-child(6) {
  grid-column: span 4;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.035);
  filter: brightness(1.05);
}

@media (max-width: 767px) {
  .hero-menu,
  .desktop-cta {
    display: none;
  }

  .gallery-section {
    width: min(100% - 2rem, 1200px);
    padding: 5rem 0;
  }

  .gallery-header {
    margin-bottom: 2rem;
    text-align: left;
  }

  .gallery-header h2 {
    font-size: 2.55rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .gallery-grid figure,
  .gallery-grid figure:nth-child(1),
  .gallery-grid figure:nth-child(2),
  .gallery-grid figure:nth-child(3),
  .gallery-grid figure:nth-child(4),
  .gallery-grid figure:nth-child(5),
  .gallery-grid figure:nth-child(6) {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 5;
  }
}
/* ========================================
   Ð¤ÐžÐ ÐœÐÐ¢Ð« Ð˜ Ð¡Ð¢ÐžÐ˜ÐœÐžÐ¡Ð¢Ð¬
======================================== */

.pricing-four {
  position: relative;
  padding: 6.5rem 0;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 50% 15%,
      rgba(244, 114, 182, 0.045),
      transparent 30rem
    ),
    #0a0a0c;
}

.pricing-four *,
.pricing-four *::before,
.pricing-four *::after {
  box-sizing: border-box;
}

.pricing-four__container {
  width: min(1280px, calc(100% - 3rem));
  margin: 0 auto;
}


/* Ð—Ð°Ð³Ð¾Ð»Ð¾Ð²Ð¾Ðº */

.pricing-four__header {
  max-width: 820px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.pricing-four__header h2 {
  margin: 0;

  font-size: clamp(2.9rem, 6vw, 4.7rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
}

.pricing-four__header p {
  max-width: 520px;
  margin: 1.2rem auto 0;

  color: rgba(255, 255, 255, 0.58);

  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.65;
}


/* Ð¡ÐµÑ‚ÐºÐ° */

.pricing-four__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}


/* ÐšÐ°Ñ€Ñ‚Ð¾Ñ‡ÐºÐ° */

.price-card {
  position: relative;

  display: flex;
  min-width: 0;
  min-height: 470px;
  flex-direction: column;

  padding: 1.75rem;

  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 1.65rem;

  background: #121216;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 22px 55px rgba(0, 0, 0, 0.2);

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.19);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 28px 65px rgba(0, 0, 0, 0.25);
}


/* ÐÐºÑ†ÐµÐ½Ñ‚Ð½Ð°Ñ ÐºÐ°Ñ€Ñ‚Ð¾Ñ‡ÐºÐ° Ñ‚Ð¾Ð³Ð¾ Ð¶Ðµ Ñ€Ð°Ð·Ð¼ÐµÑ€Ð° */

.price-card--featured {
  border-color: rgba(249, 168, 212, 0.38);

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(255, 255, 255, 0.1),
      transparent 17rem
    ),
    linear-gradient(
      180deg,
      #624658 0%,
      #4c1734 100%
    );

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 28px rgba(244, 114, 182, 0.18),
    0 25px 60px rgba(0, 0, 0, 0.26);
}

.price-card__badge {
  position: absolute;
  top: 0;
  left: 50%;

  padding: 0.48rem 1.05rem;

  border-radius: 999px;

  color: #fff;
  background: #ec4899;

  font-size: 0.64rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;

  transform: translate(-50%, -50%);
}


/* ÐÐ°Ð·Ð²Ð°Ð½Ð¸Ðµ */

.price-card h3 {
  min-height: 4.7rem;
  margin: 0;

  color: #fff;

  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.04em;
}


/* Ð¦ÐµÐ½Ð° */

.price-card__price {
  display: flex;
  min-height: 3.8rem;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem;

  margin-top: 1rem;
}

.price-card__price strong {
  color: #fff;

  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.price-card__price span {
  color: rgba(255, 255, 255, 0.5);

  font-size: 0.75rem;
  font-weight: 400;
}


/* ÐšÑ€Ð°Ñ‚ÐºÐ¸Ð¹ ÑÐ¿Ð¸ÑÐ¾Ðº */

.price-card__summary {
  display: grid;
  gap: 0.9rem;

  margin: 1.65rem 0 1.8rem;
  padding: 0;

  list-style: none;
}

.price-card__summary li {
  position: relative;

  padding-left: 1.55rem;

  color: rgba(255, 255, 255, 0.78);

  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.45;
}

.price-card__summary li::before {
  content: "\2713";

  position: absolute;
  top: 0;
  left: 0;

  color: #f472b6;

  font-size: 0.95rem;
  font-weight: 700;
}

.price-card--featured .price-card__summary li {
  color: rgba(255, 255, 255, 0.9);
}


/* ÐšÐ½Ð¾Ð¿ÐºÐ¸ */

.price-card__actions {
  display: grid;
  gap: 0.65rem;

  margin-top: auto;
}


/* Ð—Ð°Ð¿Ð¸ÑÐ°Ñ‚ÑŒÑÑ */

.price-card__signup {
  display: flex;
  width: 100%;
  min-height: 3.8rem;

  align-items: center;
  justify-content: center;
  gap: 0.65rem;

  padding: 0.8rem 1.15rem;

  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;

  color: #fff;
  background: transparent;

  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

.price-card__signup:hover {
  transform: translateY(-2px);

  border-color: rgba(244, 114, 182, 0.48);
  background: rgba(244, 114, 182, 0.1);
}

.price-card--featured .price-card__signup {
  border-color: #fff;

  color: #111115;
  background: #fff;
}

.price-card--featured .price-card__signup:hover {
  border-color: #fce7f3;
  background: #fce7f3;
}


/* ÐŸÐ¾Ð´Ñ€Ð¾Ð±Ð½ÐµÐµ */

.price-card__toggle {
  display: flex;
  width: 100%;
  min-height: 2.8rem;

  align-items: center;
  justify-content: center;
  gap: 0.55rem;

  padding: 0.4rem 0.8rem;

  border: 0;
  border-radius: 999px;

  color: rgba(255, 255, 255, 0.65);
  background: transparent;

  font: inherit;
  font-size: 0.75rem;
  font-weight: 500;

  cursor: pointer;

  transition:
    color 0.3s ease,
    background 0.3s ease;
}

.price-card__toggle:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.045);
}

.price-card__toggle-icon {
  display: grid;
  width: 1.85rem;
  height: 1.85rem;

  place-items: center;

  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;

  transition: transform 0.35s ease;
}

.price-card.is-open .price-card__toggle-icon {
  transform: rotate(180deg);
}


/* ÐŸÐ¾Ð´Ñ€Ð¾Ð±Ð½Ñ‹Ð¹ Ñ‚ÐµÐºÑÑ‚ */

.price-card__details {
  display: grid;
  grid-template-rows: 0fr;

  opacity: 0;

  transition:
    grid-template-rows 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s ease,
    margin-top 0.4s ease;
}

.price-card__details-inner {
  min-height: 0;
  overflow: hidden;
}

.price-card.is-open .price-card__details {
  grid-template-rows: 1fr;

  margin-top: 1.1rem;

  opacity: 1;
}

.price-card__details-content {
  padding-top: 1.15rem;

  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.price-card__details-content > p {
  margin: 0;

  color: rgba(255, 255, 255, 0.69);

  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.62;
}

.price-card__details-content h4 {
  margin: 1.15rem 0 0.7rem;

  color: #fff;

  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.price-card__details-content ul {
  display: grid;
  gap: 0.5rem;

  margin: 0;
  padding: 0;

  list-style: none;
}

.price-card__details-content li {
  position: relative;

  padding-left: 0.95rem;

  color: rgba(255, 255, 255, 0.64);

  font-size: 0.76rem;
  line-height: 1.5;
}

.price-card__details-content li::before {
  content: "\2713";

  position: absolute;
  left: 0;

  color: #f472b6;
}

.price-card__note {
  margin-top: 1rem;
  padding: 0.9rem;

  border: 1px solid rgba(244, 114, 182, 0.2);
  border-radius: 0.9rem;

  color: rgba(255, 255, 255, 0.72);
  background: rgba(244, 114, 182, 0.075);

  font-size: 0.72rem;
  line-height: 1.55;
}


/* Ð”Ð¾ Ñ€Ð°ÑÐºÑ€Ñ‹Ñ‚Ð¸Ñ ÐºÐ°Ñ€Ñ‚Ð¾Ñ‡ÐºÐ¸ Ð¾Ð´Ð¸Ð½Ð°ÐºÐ¾Ð²Ð¾Ð¹ Ð²Ñ‹ÑÐ¾Ñ‚Ñ‹ */

.price-card:not(.is-open) {
  height: 470px;
}


/* ÐŸÐ»Ð°Ð½ÑˆÐµÑ‚ */

@media (max-width: 1050px) {
  .pricing-four__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-card,
  .price-card:not(.is-open) {
    min-height: 450px;
    height: 450px;
  }
}


/* ÐœÐ¾Ð±Ð¸Ð»ÑŒÐ½Ð°Ñ Ð²ÐµÑ€ÑÐ¸Ñ */

@media (max-width: 650px) {
  .pricing-four {
    padding: 4.5rem 0;
  }

  .pricing-four__container {
    width: min(100% - 2rem, 1280px);
  }

  .pricing-four__header {
    margin-bottom: 2.5rem;
    text-align: left;
  }

  .pricing-four__header h2 {
    font-size: 2.65rem;
  }

  .pricing-four__header p {
    margin-left: 0;
  }

  .pricing-four__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .price-card,
  .price-card:not(.is-open) {
    min-height: 0;
    height: auto;
    padding: 1.5rem;
    border-radius: 1.4rem;
  }

  .price-card--featured {
    margin-top: 0.55rem;
  }

  .price-card h3 {
    min-height: 0;
    font-size: 1.75rem;
  }

  .price-card__price {
    min-height: 0;
  }

  .price-card__price strong {
    font-size: 2.6rem;
  }
}
/* ========================================
   ÐšÐÐš ÐŸÐ ÐžÐ¥ÐžÐ”Ð¯Ð¢ Ð—ÐÐÐ¯Ð¢Ð˜Ð¯
======================================== */

.lesson-map {
  position: relative;
  padding: 6.5rem 0 0;
  overflow: hidden;
  background: #0a0a0c;
}

.lesson-map *,
.lesson-map *::before,
.lesson-map *::after {
  box-sizing: border-box;
}

.lesson-map__container {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
}


/* Ð—Ð°Ð³Ð¾Ð»Ð¾Ð²Ð¾Ðº */

.lesson-map__header {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}

.lesson-map__header h2 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
}

.lesson-map__header p {
  max-width: 560px;
  margin: 1.25rem auto 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
}


/* ÐŸÐ¾Ð»Ð½Ð¾ÑˆÐ¸Ñ€Ð¸Ð½Ð½Ð°Ñ Ñ„Ð¾Ñ‚Ð¾Ð³Ñ€Ð°Ñ„Ð¸Ñ */

.lesson-map__visual {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #111115;
  aspect-ratio: 3 / 2;
}

.lesson-map__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.lesson-map__image-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.04),
      rgba(0, 0, 0, 0.03) 55%,
      rgba(0, 0, 0, 0.28) 100%
    );
}


/* Ð˜Ð½Ñ‚ÐµÑ€Ð°ÐºÑ‚Ð¸Ð²Ð½Ñ‹Ðµ Ñ‚Ð¾Ñ‡ÐºÐ¸ */

.lesson-hotspot {
  position: absolute;
  z-index: 3;

  display: flex;
  align-items: center;
  gap: 0.7rem;

  padding: 0;
  border: 0;

  color: #fff;
  background: transparent;

  font: inherit;
  cursor: pointer;

  transform: translate(-50%, -50%);
  appearance: none;
}

.lesson-hotspot[data-side="left"] {
  flex-direction: row-reverse;
}

.lesson-hotspot__dot {
  position: relative;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;

  border: 2px solid #fff;
  border-radius: 50%;

  background: #ec4899;

  box-shadow:
    0 0 0 6px rgba(236, 72, 153, 0.16),
    0 0 24px rgba(236, 72, 153, 0.48);
}

.lesson-hotspot__dot::after {
  content: "";
  position: absolute;
  inset: -9px;

  border: 1px solid rgba(244, 114, 182, 0.42);
  border-radius: 50%;

  animation: lessonPulse 2.2s ease-out infinite;
}

@keyframes lessonPulse {
  0% {
    opacity: 0.75;
    transform: scale(0.7);
  }

  75%,
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

.lesson-hotspot__line {
  width: clamp(28px, 4vw, 72px);
  height: 1px;
  flex: 0 0 auto;

  border-top: 1px dashed rgba(255, 255, 255, 0.72);
}

.lesson-hotspot__label {
  display: inline-flex;
  min-height: 2.45rem;
  align-items: center;

  padding: 0.5rem 0.9rem;

  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 999px;

  color: #fff;
  background: rgba(10, 10, 12, 0.74);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 24px rgba(0, 0, 0, 0.18);

  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;

  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.lesson-hotspot:hover .lesson-hotspot__label,
.lesson-hotspot:focus-visible .lesson-hotspot__label {
  color: #ffe0ef;
  border-color: rgba(244, 114, 182, 0.6);
  background: rgba(47, 19, 36, 0.9);
  transform: translateY(-2px);
}

.lesson-hotspot:hover .lesson-hotspot__dot {
  transform: scale(1.12);
}


/* ÐŸÐ¾Ð»Ð½Ð¾ÑÐºÑ€Ð°Ð½Ð½Ñ‹Ð¹ ÑÐ»Ð¾Ð¹ */

.lesson-dialog {
  position: fixed;
  inset: 0;
  z-index: 200;

  display: grid;
  place-items: center;

  padding: 1rem;

  visibility: hidden;
  opacity: 0;
  pointer-events: none;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.lesson-dialog.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.lesson-dialog__backdrop {
  position: absolute;
  inset: 0;

  background: rgba(4, 4, 7, 0.72);

  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}


/* ÐÐ´Ð°Ð¿Ñ‚Ð¸Ð²Ð½Ð¾Ðµ Ð¾ÐºÐ½Ð¾ */

.lesson-dialog__card {
  position: relative;
  z-index: 2;

  width: min(620px, calc(100vw - 2rem));
  max-height: min(82vh, 760px);
  overflow-y: auto;

  padding: clamp(1.5rem, 4vw, 2.5rem);

  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1.75rem;

  color: #fff;

  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(244, 114, 182, 0.16),
      transparent 18rem
    ),
    #141318;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 35px 100px rgba(0, 0, 0, 0.48);

  opacity: 0;
  transform: translateY(18px) scale(0.97);

  transition:
    opacity 0.32s ease,
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lesson-dialog.is-open .lesson-dialog__card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.lesson-dialog__card:focus {
  outline: none;
}


/* Ð—Ð°ÐºÑ€Ñ‹Ñ‚ÑŒ */

.lesson-dialog__close {
  position: absolute;
  top: 1rem;
  right: 1rem;

  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;

  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;

  color: #fff;
  background: rgba(255, 255, 255, 0.045);

  cursor: pointer;

  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.lesson-dialog__close:hover {
  background: rgba(244, 114, 182, 0.14);
  transform: rotate(5deg);
}


/* Ð¡Ð¾Ð´ÐµÑ€Ð¶Ð°Ð½Ð¸Ðµ Ð¾ÐºÐ½Ð° */

.lesson-dialog__number {
  margin-bottom: 1.15rem;

  color: #f9a8d4;

  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.lesson-dialog__title {
  max-width: 510px;
  margin: 0;
  padding-right: 3rem;

  color: #fff;

  font-size: clamp(1.75rem, 4vw, 2.65rem);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.lesson-dialog__content {
  margin-top: 1.5rem;
  padding-top: 1.5rem;

  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lesson-dialog__content p {
  margin: 0 0 1rem;

  color: rgba(255, 255, 255, 0.76);

  font-size: 0.96rem;
  font-weight: 300;
  line-height: 1.72;
}

.lesson-dialog__content p:last-child {
  margin-bottom: 0;
}


/* ÐŸÐ»Ð°Ð½ÑˆÐµÑ‚ */

@media (max-width: 900px) {
  .lesson-map__visual {
    min-height: 620px;
    aspect-ratio: auto;
  }

  .lesson-map__image {
    object-position: center;
  }

  .lesson-hotspot__line {
    width: 30px;
  }

  .lesson-hotspot__label {
    font-size: 0.7rem;
  }
}


/* Ð¢ÐµÐ»ÐµÑ„Ð¾Ð½ */

@media (max-width: 650px) {
  .lesson-map {
    padding-top: 4.5rem;
  }

  .lesson-map__container {
    width: min(100% - 2rem, 1180px);
  }

  .lesson-map__header {
    margin-bottom: 2rem;
    text-align: left;
  }

  .lesson-map__header h2 {
    font-size: 2.65rem;
  }

  .lesson-map__header p {
    margin-left: 0;
  }

  .lesson-map__visual {
    min-height: 640px;
  }

  .lesson-map__image {
    /*
      ÐÐ° ÑƒÐ·ÐºÐ¾Ð¼ ÑÐºÑ€Ð°Ð½Ðµ Ñ„Ð¾Ñ‚Ð¾Ð³Ñ€Ð°Ñ„Ð¸Ñ ÐºÐ°Ð´Ñ€Ð¸Ñ€ÑƒÐµÑ‚ÑÑ,
      Ð½Ð¾ Ñ…Ð¾Ñ‚ÑÐ¿Ð¾Ñ‚Ñ‹ Ð¾ÑÑ‚Ð°ÑŽÑ‚ÑÑ Ð²Ð½ÑƒÑ‚Ñ€Ð¸ Ð¸Ð·Ð¾Ð±Ñ€Ð°Ð¶ÐµÐ½Ð¸Ñ.
    */
    object-fit: cover;
    object-position: 50% center;
  }

  .lesson-hotspot {
    gap: 0.4rem;
  }

  .lesson-hotspot__dot {
    width: 12px;
    height: 12px;
  }

  .lesson-hotspot__line {
    width: 18px;
  }

  .lesson-hotspot__label {
    min-height: 2rem;
    padding: 0.38rem 0.6rem;
    font-size: 0.62rem;
  }

  .lesson-dialog {
    align-items: end;
    padding: 0.75rem;
  }

  .lesson-dialog__card {
    width: 100%;
    max-height: 84vh;

    padding: 1.5rem 1.25rem;

    border-radius: 1.5rem 1.5rem 1rem 1rem;

    transform: translateY(35px);
  }

  .lesson-dialog.is-open .lesson-dialog__card {
    transform: translateY(0);
  }

  .lesson-dialog__title {
    font-size: 1.75rem;
  }

  .lesson-dialog__content p {
    font-size: 0.9rem;
  }
}
@media (max-width: 767px) {

  .lesson-hotspot--authentic {
    top: 31% !important;
    left: 26% !important;
  }

  .lesson-hotspot--platforms {
    top: 27% !important;
    left: 58% !important;
  }

  .lesson-hotspot--glossary {
    top: 46% !important;
    left: 71% !important;
  }

  .lesson-hotspot--system {
    top: 74% !important;
    left: 16% !important;
  }

  .lesson-hotspot--board {
    top: 72% !important;
    left: 77% !important;
  }
}

@media (max-width: 767px) {
  .lesson-hotspot__label,
  .lesson-hotspot__line {
    display: none;
  }

  .lesson-hotspot__dot {
    width: 18px;
    height: 18px;
  }
}
/* =========================
   ФОРМА ЗАПИСИ
========================= */

#signup {
  position: relative;
  scroll-margin-top: 90px;
}

/* Основная карточка */

.signup-form {
  --form-pink: #f0449a;
  --form-pink-light: #ff84c2;
  --form-text: #ffffff;
  --form-muted: rgba(255, 255, 255, 0.66);
  --form-border: rgba(255, 151, 208, 0.42);

  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;

  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 34px 36px 36px;

  border: 1px solid var(--form-border);
  border-radius: 30px;

  background:
    linear-gradient(
      180deg,
      rgba(117, 78, 101, 0.88) 0%,
      rgba(86, 37, 65, 0.94) 48%,
      rgba(70, 19, 49, 0.98) 100%
    );

  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.11);
}

/* Сбрасываем внешние отступы у элементов формы */

.signup-form *,
.signup-form *::before,
.signup-form *::after {
  box-sizing: border-box;
}

.signup-form > * {
  margin: 0;
}

/* Группа: подпись + содержимое */

.signup-form__field {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 0;
  border: 0;
}

.signup-form__label {
  display: block;
  margin: 0;
  padding: 0;

  color: rgba(255, 255, 255, 0.9);

  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

/* Поля ввода */

.signup-form__input {
  display: block;
  width: 100%;
  height: 52px;
  margin: 0;
  padding: 0 17px;

  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 15px;

  background: rgba(255, 255, 255, 0.075);
  color: var(--form-text);

  font: inherit;
  font-size: 15px;
  line-height: 1;

  outline: none;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035);

  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.signup-form__input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.signup-form__input:hover {
  border-color: rgba(255, 132, 194, 0.42);
  background: rgba(255, 255, 255, 0.09);
}

.signup-form__input:focus {
  border-color: rgba(255, 132, 194, 0.9);
  background: rgba(255, 255, 255, 0.105);

  box-shadow:
    0 0 0 4px rgba(240, 68, 154, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.signup-form__input:invalid:not(:placeholder-shown) {
  border-color: rgba(248, 113, 113, 0.7);
}

/* Варианты услуг */

.signup-form__services {
  min-inline-size: 0;
}

.signup-form__services legend {
  margin-bottom: 9px;
}

.signup-form__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 12px;

  width: 100%;
}

.signup-form__option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 10px;

  min-height: 24px;
  margin: 0;
  padding: 0;

  border: 0;
  background: transparent;

  color: rgba(255, 255, 255, 0.78);

  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;

  cursor: pointer;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.signup-form__option:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.signup-form__option input[type="radio"] {
  width: 17px;
  height: 17px;
  margin: 0;

  accent-color: var(--form-pink);
  cursor: pointer;
}

.signup-form__option:has(input:checked) {
  color: var(--form-pink-light);
}

/* Согласие */

.signup-form__consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px;

  width: 100%;
  margin: 0;
  padding: 1px 0 0;

  border: 0;
  background: transparent;

  color: var(--form-muted);

  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;

  cursor: pointer;
}

.signup-form__consent input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin: 1px 0 0;

  accent-color: var(--form-pink);
  cursor: pointer;
}

.signup-form__consent a {
  color: rgba(255, 174, 216, 0.94);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;

  transition: color 0.2s ease;
}

.signup-form__consent a:hover {
  color: #ffffff;
}

/* Кнопка */

.signup-form__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  width: 100%;
  min-height: 58px;
  margin: 2px 0 0;
  padding: 14px 26px;

  border: 0;
  border-radius: 999px;

  background: #ffffff;
  color: #161116;

  font: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;

  cursor: pointer;

  box-shadow:
    0 14px 34px rgba(34, 4, 21, 0.2);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.signup-form__submit:hover {
  transform: translateY(-2px);
  background: #fff8fc;

  box-shadow:
    0 18px 40px rgba(34, 4, 21, 0.28);
}

.signup-form__submit:active {
  transform: translateY(0);
}

.signup-form__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.signup-form__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 21px;
  font-weight: 500;
  line-height: 1;

  transform: translateY(-1px);
}

/* Сообщение после отправки */

.signup-form__status {
  min-height: 19px;
  margin: -5px 0 0;

  color: rgba(255, 255, 255, 0.76);

  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

/* Антиспам */

.signup-form__honeypot {
  position: absolute;
  left: -10000px;

  width: 1px;
  height: 1px;

  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Планшеты и телефоны */

@media (max-width: 640px) {
  #signup {
    scroll-margin-top: 72px;
  }

  .signup-form {
    gap: 19px;

    padding: 26px 21px 28px;

    border-radius: 24px;
  }

  .signup-form__input {
    height: 50px;
    padding: 0 15px;
  }

  .signup-form__options {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 10px;
  }

  .signup-form__submit {
    min-height: 54px;
    padding-inline: 20px;
  }
}
/* =========================
   ОКНО БЛАГОДАРНОСТИ
========================= */

.success-modal[hidden] {
  display: none;
}

.success-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: grid;
  place-items: center;

  padding: 20px;
}

.success-modal__backdrop {
  position: absolute;
  inset: 0;

  background: rgba(7, 5, 8, 0.78);
  backdrop-filter: blur(10px);
}

.success-modal__window {
  position: relative;
  z-index: 1;

  width: min(100%, 440px);
  padding: 42px 34px 34px;

  border: 1px solid rgba(255, 151, 208, 0.42);
  border-radius: 28px;

  background:
    linear-gradient(
      180deg,
      rgba(117, 78, 101, 0.98) 0%,
      rgba(86, 37, 65, 0.99) 48%,
      rgba(70, 19, 49, 1) 100%
    );

  color: #ffffff;
  text-align: center;

  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);

  animation: success-modal-show 0.3s ease;
}

.success-modal__close {
  position: absolute;
  top: 14px;
  right: 17px;

  display: grid;
  place-items: center;

  width: 34px;
  height: 34px;
  padding: 0;

  border: 0;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.76);

  font-size: 25px;
  font-weight: 300;
  line-height: 1;

  cursor: pointer;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.success-modal__close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.success-modal__icon {
  display: grid;
  place-items: center;

  width: 58px;
  height: 58px;
  margin: 0 auto 20px;

  border: 1px solid rgba(255, 132, 194, 0.65);
  border-radius: 50%;

  background: rgba(240, 68, 154, 0.14);
  color: #ff91c8;

  font-size: 27px;
  font-weight: 700;
}

.success-modal__window h3 {
  margin: 0 0 10px;

  color: #ffffff;

  font-size: clamp(28px, 5vw, 38px);
  font-weight: 800;
  line-height: 1.1;
}

.success-modal__window p {
  margin: 0 0 28px;

  color: rgba(255, 255, 255, 0.76);

  font-size: 16px;
  line-height: 1.55;
}

.success-modal__button {
  width: 100%;
  min-height: 54px;
  padding: 13px 24px;

  border: 0;
  border-radius: 999px;

  background: #ffffff;
  color: #171217;

  font: inherit;
  font-size: 16px;
  font-weight: 700;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.success-modal__button:hover {
  transform: translateY(-1px);
  background: #fff4fa;
}

body.modal-open {
  overflow: hidden;
}

@keyframes success-modal-show {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 640px) {
  .success-modal__window {
    padding: 38px 22px 24px;
    border-radius: 24px;
  }
}
/* =========================================================
   STUDENT RESULTS
   Часть 1: секция, заголовок, корешки, сетка и фото
   ========================================================= */

.student-results {
  --results-bg: #0c0a0d;
  --results-surface: rgba(255, 255, 255, 0.045);
  --results-surface-strong: rgba(255, 255, 255, 0.075);
  --results-border: rgba(255, 255, 255, 0.1);
  --results-border-soft: rgba(255, 255, 255, 0.065);

  --results-text: #f7f2f5;
  --results-text-muted: rgba(247, 242, 245, 0.64);
  --results-text-soft: rgba(247, 242, 245, 0.44);

  --results-accent: #ef9fbd;
  --results-accent-light: #ffd2e2;
  --results-accent-dark: #9f496c;

  position: relative;
  isolation: isolate;
  overflow: hidden;

  padding: clamp(88px, 10vw, 150px) 24px;

  color: var(--results-text);
 

/* Декоративное свечение */

.student-results__glow {
  position: absolute;
  z-index: -1;
  top: 18%;
  left: 50%;

  width: min(900px, 86vw);
  height: 540px;

  pointer-events: none;

  border-radius: 50%;
  background: rgba(214, 104, 149, 0.08);
  filter: blur(120px);
  transform: translateX(-50%);
}



/* Основной контейнер */

.student-results__container {
  width: min(1240px, 100%);
  margin-inline: auto;
}


/* =========================================================
   Заголовок секции
   ========================================================= */

.student-results__header {
  max-width: 790px;
  margin-bottom: clamp(46px, 6vw, 76px);
}

.student-results__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 18px;

  color: var(--results-accent-light);

  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.student-results__eyebrow::before {
  content: "";

  display: block;
  width: 34px;
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    var(--results-accent)
  );
}

.student-results__title {
  max-width: 820px;
  margin: 0;

  color: var(--results-text);

  font-family: inherit;
  font-size: clamp(2.55rem, 5.4vw, 5.4rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.student-results__intro {
  max-width: 650px;
  margin: 26px 0 0;

  color: var(--results-text-muted);

  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 400;
  line-height: 1.7;
}


/* =========================================================
   Горизонтальные «корешки»
   ========================================================= */

.student-results__tabs {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: stretch;
  gap: 7px;

  width: 100%;
  padding: 8px;
  margin-bottom: 14px;

  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;

  border: 1px solid var(--results-border-soft);
  border-radius: 22px;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.036),
      rgba(255, 255, 255, 0.016)
    );
}

.student-results__tabs::-webkit-scrollbar {
  display: none;
}


/* Отдельный корешок */

.student-results__tab {
  position: relative;

  flex: 1 0 auto;
  min-width: max-content;
  min-height: 58px;

  padding: 0 20px;

  cursor: pointer;
  appearance: none;

  border: 1px solid transparent;
  border-radius: 15px;

  color: var(--results-text-muted);
  background: transparent;

  font: inherit;
  text-align: center;

  transition:
    color 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.student-results__tab::before {
  content: "";

  position: absolute;
  right: 18px;
  bottom: 7px;
  left: 18px;

  height: 1px;

  background: currentColor;

  opacity: 0;
  transform: scaleX(0.35);

  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.student-results__tab-label {
  position: relative;
  z-index: 1;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: inherit;

  font-size: 0.84rem;
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: -0.01em;
  white-space: nowrap;
}


/* Hover */

@media (hover: hover) {
  .student-results__tab:hover {
    color: var(--results-text);

    border-color: rgba(255, 255, 255, 0.075);
    background: rgba(255, 255, 255, 0.045);

    transform: translateY(-2px);
  }

  .student-results__tab:hover::before {
    opacity: 0.35;
    transform: scaleX(1);
  }
}


/* Активный корешок */

.student-results__tab.is-active {
  color: #28151d;

  border-color: rgba(255, 214, 230, 0.64);

  background:
    linear-gradient(
      135deg,
      #ffd2e2 0%,
      #e89aba 52%,
      #d27a9f 100%
    );

  box-shadow:
    0 10px 30px rgba(202, 93, 137, 0.23),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);

  transform: translateY(-1px);
}

.student-results__tab.is-active::before {
  opacity: 0;
}


/* Доступность клавиатуры */

.student-results__tab:focus-visible {
  outline: 2px solid var(--results-accent-light);
  outline-offset: 3px;
}


/* =========================================================
   Основная сетка: фотография + отзыв
   ========================================================= */

.student-results__content {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns:
    minmax(270px, 0.72fr)
    minmax(0, 1.75fr);

  gap: 14px;
  align-items: stretch;
}


/* =========================================================
   Левая колонка преподавателя
   ========================================================= */

.student-results__teacher {
  display: flex;
  flex-direction: column;
  gap: 14px;

  min-width: 0;
}


/* Карточка с фото */

.student-results__portrait {
  position: relative;

  min-height: 520px;
  margin: 0;
  overflow: hidden;

  border: 1px solid var(--results-border);
  border-radius: 25px;

  background: #171117;

  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.student-results__portrait::before {
  content: "";

  position: absolute;
  z-index: 1;
  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      transparent 42%,
      rgba(9, 7, 9, 0.18) 62%,
      rgba(9, 7, 9, 0.94) 100%
    );
}

.student-results__portrait::after {
  content: "";

  position: absolute;
  z-index: 1;
  inset: 1px;

  pointer-events: none;

  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 24px;
}


/* Оригинальная фотография */

.student-results__portrait img {
  display: block;

  width: 100%;
  height: 100%;
  min-height: 520px;

  object-fit: cover;
  object-position: center;

  transition:
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 500ms ease;
}

@media (hover: hover) {
  .student-results__portrait:hover img {
    transform: scale(1.025);
  }
}

/* =========================================================
   Базовая оболочка правой карточки
   Детали будут во второй части CSS
   ========================================================= */

.student-results__panel {
  position: relative;

  min-width: 0;
  min-height: 100%;

  padding: clamp(30px, 4vw, 58px);

  overflow: hidden;

  border: 1px solid var(--results-border);
  border-radius: 25px;

  color: var(--results-text);

  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(239, 159, 189, 0.09),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.024)
    );

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 24px 60px rgba(0, 0, 0, 0.24);

  outline: none;
}

.student-results__panel::before {
  content: "";

  position: absolute;
  top: 0;
  right: 0;

  width: 42%;
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 210, 226, 0.7)
  );
}


/* =========================================================
   Первый базовый адаптив
   Полный мобильный адаптив будет в четвёртой части
   ========================================================= */

@media (max-width: 980px) {
  .student-results__content {
    grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.35fr);
  }

  .student-results__portrait,
  .student-results__portrait img {
    min-height: 460px;
  }

  .student-results__tab {
    flex-grow: 0;
  }
}

@media (max-width: 760px) {
  .student-results {
    padding-inline: 16px;
  }

  .student-results__workspace {
    padding: 10px;
    border-radius: 25px;
  }

  .student-results__content {
    grid-template-columns: 1fr;
  }

  .student-results__teacher {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

  .student-results__portrait,
  .student-results__portrait img {
    min-height: 420px;
  }

  .student-results__panel {
    min-height: 500px;
  }
}

@media (max-width: 560px) {
  .student-results__header {
    margin-bottom: 38px;
  }

  .student-results__title {
    font-size: clamp(2.45rem, 13vw, 4rem);
  }

  .student-results__tabs {
    gap: 5px;
    padding: 6px;
    margin-bottom: 10px;

    border-radius: 18px;
  }

  .student-results__tab {
    min-height: 50px;
    padding-inline: 17px;

    border-radius: 13px;
  }

  .student-results__tab-label {
    font-size: 0.78rem;
  }

  .student-results__content {
    gap: 10px;
  }

  .student-results__teacher {
    display: flex;
  }

  .student-results__portrait,
  .student-results__portrait img {
    min-height: 450px;
  }

  .student-results__portrait-caption {
    padding: 24px;
  }

  .student-results__teacher-note {
    padding: 22px;
  }

  .student-results__panel {
    padding: 27px 21px;
    border-radius: 21px;
  }
}
/* =========================================================
   STUDENT RESULTS
   Часть 2: правая карточка результата
   ========================================================= */


/* Общая компоновка правой карточки */

.student-results__panel {
  display: flex;
  flex-direction: column;
}


/* =========================================================
   Верхняя часть карточки
   ========================================================= */

.student-results__panel-top {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;

  padding-bottom: 30px;
  margin-bottom: clamp(34px, 5vw, 58px);

  border-bottom: 1px solid var(--results-border-soft);
}


/* Категория и номер */

.student-results__category-info {
  display: flex;
  align-items: center;
  gap: 18px;

  min-width: 0;
}

.student-results__category-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;
  flex: 0 0 48px;

  border: 1px solid rgba(239, 159, 189, 0.2);
  border-radius: 50%;

  color: var(--results-accent-light);
  background: rgba(239, 159, 189, 0.07);

  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 10px 30px rgba(0, 0, 0, 0.15);
}

.student-results__category-caption {
  display: block;

  margin-bottom: 7px;

  color: var(--results-text-soft);

  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.student-results__category-title {
  max-width: 620px;
  margin: 0;

  color: var(--results-text);

  font-size: clamp(1.55rem, 3vw, 2.75rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-wrap: balance;
}


/* Счётчик отзывов */

.student-results__counter {
  flex: 0 0 auto;

  padding: 10px 13px;

  border: 1px solid var(--results-border-soft);
  border-radius: 999px;

  color: var(--results-text-soft);
  background: rgba(255, 255, 255, 0.025);

  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.student-results__counter [data-results-current] {
  color: var(--results-accent-light);
}


/* =========================================================
   Полный текст отзыва
   ========================================================= */

.student-results__review {
  position: relative;
  z-index: 1;

  max-width: 840px;
  margin-bottom: 26px;
}

.student-results__review-mark {
  position: absolute;
  top: -34px;
  left: -8px;

  pointer-events: none;
  user-select: none;

  color: rgba(239, 159, 189, 0.12);

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(7rem, 12vw, 12rem);
  font-weight: 400;
  line-height: 1;

  transform: rotate(2deg);
}

.student-results__review-text {
  position: relative;
  z-index: 1;

  margin: 0;

  color: rgba(255, 248, 251, 0.92);

  font-size: clamp(1.28rem, 2.25vw, 2.1rem);
  font-weight: 430;
  line-height: 1.52;
  letter-spacing: -0.026em;
  text-wrap: pretty;
}


/* Лёгкое выделение первой строки */

.student-results__review-text::first-line {
  color: #fff8fb;
}


/* =========================================================
   Блок «Результат»
   ========================================================= */

.student-results__achievement {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 22px;

  padding: 18px 22px;
  margin-top: auto;
  margin-bottom: 18px;

  overflow: hidden;

  border: 1px solid rgba(239, 159, 189, 0.14);
  border-radius: 20px;

  background:
    linear-gradient(
      135deg,
      rgba(239, 159, 189, 0.095),
      rgba(255, 255, 255, 0.022)
    );

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.student-results__achievement::before {
  content: "";

  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;

  width: 3px;

  border-radius: 999px;

  background: linear-gradient(
    180deg,
    rgba(244,114,182,.75),
    rgba(244,114,182,.18)
  );
}

.student-results__achievement::after {
  content: "";

  position: absolute;
  top: -55px;
  right: -45px;

  width: 145px;
  height: 145px;

  pointer-events: none;

  border-radius: 50%;
  background: rgba(239, 159, 189, 0.08);
  filter: blur(30px);
}

.student-results__achievement-label {
  position: relative;
  z-index: 1;

  padding-top: 4px;

  color: var(--results-accent-light);

  font-size: 0.71rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.student-results__achievement-text {
  position: relative;
  z-index: 1;

  margin: 0;

  color: var(--results-text-muted);

  font-size: 0.96rem;
  font-weight: 400;
  line-height: 1.68;
}


/* =========================================================
   Нижняя часть: имя, город и навигация
   ========================================================= */

.student-results__review-footer {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  padding-top: 28px;

  border-top: 1px solid var(--results-border-soft);
}


/* Информация об ученике */

.student-results__person {
  display: flex;
  align-items: center;
  gap: 14px;

  min-width: 0;
}

.student-results__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;
  flex: 0 0 48px;

  border: 1px solid rgba(255, 210, 226, 0.22);
  border-radius: 50%;

  color: #2a161f;

  background:
    linear-gradient(
      135deg,
      var(--results-accent-light),
      var(--results-accent)
    );

  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1;

  box-shadow:
    0 9px 24px rgba(202, 93, 137, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.student-results__person-info {
  display: flex;
  flex-direction: column;
  gap: 4px;

  min-width: 0;
}

.student-results__person-name {
  overflow: hidden;

  color: var(--results-text);

  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.student-results__person-location {
  overflow: hidden;

  color: var(--results-text-soft);

  font-size: 0.79rem;
  font-weight: 400;
  line-height: 1.3;

  text-overflow: ellipsis;
  white-space: nowrap;
}


/* =========================================================
   Стрелки
   ========================================================= */

.student-results__navigation {
  display: flex;
  align-items: center;
  gap: 9px;

  flex: 0 0 auto;
}

.student-results__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 46px;
  height: 46px;
  padding: 0;

  cursor: pointer;
  appearance: none;

  border: 1px solid var(--results-border);
  border-radius: 50%;

  color: var(--results-text-muted);
  background: rgba(255, 255, 255, 0.035);

  transition:
    color 200ms ease,
    border-color 200ms ease,
    background-color 200ms ease,
    transform 200ms ease,
    box-shadow 200ms ease;
}

.student-results__arrow svg {
  display: block;
  pointer-events: none;
}

.student-results__arrow:focus-visible {
  outline: 2px solid var(--results-accent-light);
  outline-offset: 3px;
}

.student-results__arrow:disabled {
  cursor: default;

  color: rgba(247, 242, 245, 0.2);
  border-color: rgba(255, 255, 255, 0.04);
  background: rgba(255, 255, 255, 0.015);

  opacity: 0.55;
}

@media (hover: hover) {
  .student-results__arrow:not(:disabled):hover {
    color: #28151d;

    border-color: rgba(255, 210, 226, 0.58);
    background: var(--results-accent);

    box-shadow:
      0 10px 28px rgba(202, 93, 137, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.45);

    transform: translateY(-2px);
  }

  .student-results__arrow:not(:disabled):active {
    transform: translateY(0) scale(0.96);
  }
}


/* =========================================================
   Декоративная линия внутри карточки
   ========================================================= */

.student-results__panel::after {
  content: "";

  position: absolute;
  right: -130px;
  bottom: 15%;

  width: 300px;
  height: 300px;

  pointer-events: none;

  border: 1px solid rgba(239, 159, 189, 0.055);
  border-radius: 50%;

  box-shadow:
    0 0 0 38px rgba(239, 159, 189, 0.018),
    0 0 0 78px rgba(239, 159, 189, 0.01);
}


/* =========================================================
   Адаптация правой карточки
   ========================================================= */

@media (max-width: 980px) {
  .student-results__panel {
    padding: 36px 38px;
  }

 .student-results__review-text {
    position: relative;
    z-index: 1;

    margin: 0;

    color: rgba(255,248,251,.92);

    font-size: clamp(1.02rem, 1.35vw, 1.32rem);
    font-weight: 400;
    line-height: 1.72;
    letter-spacing: -.01em;
}

  .student-results__achievement {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 18px;
  }
}

@media (max-width: 760px) {
  .student-results__panel-top {
    margin-bottom: 42px;
  }

  .student-results__review {
    margin-bottom: 42px;
  }

  .student-results__review-text {
    max-width: 100%;
  }

  .student-results__achievement {
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  .student-results__panel-top {
    align-items: center;
    gap: 14px;

    padding-bottom: 23px;
    margin-bottom: 36px;
  }

  .student-results__category-info {
    gap: 12px;
  }

  .student-results__category-number {
    width: 42px;
    height: 42px;
    flex-basis: 42px;

    font-size: 0.68rem;
  }

  .student-results__category-title {
    font-size: clamp(1.35rem, 7vw, 1.8rem);
  }

  .student-results__category-caption {
    margin-bottom: 5px;
    font-size: 0.62rem;
  }

  .student-results__counter {
    padding: 8px 10px;
    font-size: 0.68rem;
  }

  .student-results__review-mark {
    top: -25px;
    left: -5px;

    font-size: 7rem;
  }

  .student-results__review-text {
    font-size: clamp(1.12rem, 5.4vw, 1.42rem);
    line-height: 1.55;
  }

  .student-results__achievement {
    grid-template-columns: 1fr;
    gap: 10px;

    padding: 21px 20px;
    margin-bottom: 22px;
  }

  .student-results__achievement-label {
    padding-top: 0;
  }

  .student-results__achievement-text {
    font-size: 0.9rem;
  }

  .student-results__review-footer {
    align-items: flex-end;
    gap: 16px;

    padding-top: 22px;
  }

  .student-results__avatar {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .student-results__person {
    gap: 11px;
  }

  .student-results__person-name {
    font-size: 0.91rem;
  }

  .student-results__person-location {
    font-size: 0.73rem;
  }

  .student-results__arrow {
    width: 41px;
    height: 41px;
  }
}

@media (max-width: 390px) {
  .student-results__panel-top {
    align-items: flex-start;
  }

  .student-results__counter {
    margin-top: 3px;
  }

  .student-results__review-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .student-results__navigation {
    justify-content: flex-end;
  }
}/* =========================================================
   STUDENT RESULTS
   Часть 3: анимации и состояния переключения
   ========================================================= */


/* ---------------------------------------------------------
   Базовые переменные анимации
   --------------------------------------------------------- */

.student-results {
  --results-ease-out:
    cubic-bezier(0.22, 1, 0.36, 1);

  --results-ease-soft:
    cubic-bezier(0.4, 0, 0.2, 1);

  --results-duration-fast: 220ms;
  --results-duration-medium: 420ms;
  --results-duration-slow: 700ms;
}


/* =========================================================
   Появление всей секции при прокрутке
   Работает с твоим классом .animate-on-scroll
   ========================================================= */

.student-results .animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);

  transition:
    opacity 800ms var(--results-ease-out),
    transform 800ms var(--results-ease-out);
}

.student-results .animate-on-scroll.is-visible,
.student-results .animate-on-scroll.visible,
.student-results .animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}


/* Небольшая задержка для основного интерфейса */

.student-results__workspace.animate-on-scroll {
  transition-delay: 110ms;
}


/* =========================================================
   Анимация заголовка
   ========================================================= */

.student-results__eyebrow,
.student-results__title,
.student-results__intro {
  transition:
    opacity 700ms var(--results-ease-out),
    transform 700ms var(--results-ease-out);
}

.student-results__header:not(.is-visible):not(.visible):not(.in-view)
.student-results__eyebrow {
  opacity: 0;
  transform: translateY(12px);
}

.student-results__header:not(.is-visible):not(.visible):not(.in-view)
.student-results__title {
  opacity: 0;
  transform: translateY(22px);
}

.student-results__header:not(.is-visible):not(.visible):not(.in-view)
.student-results__intro {
  opacity: 0;
  transform: translateY(18px);
}

.student-results__header.is-visible .student-results__title,
.student-results__header.visible .student-results__title,
.student-results__header.in-view .student-results__title {
  transition-delay: 90ms;
}

.student-results__header.is-visible .student-results__intro,
.student-results__header.visible .student-results__intro,
.student-results__header.in-view .student-results__intro {
  transition-delay: 180ms;
}


/* =========================================================
   Анимация корешков
   ========================================================= */

.student-results__tab {
  overflow: hidden;
}

.student-results__tab::after {
  content: "";

  position: absolute;
  top: -70%;
  left: -40%;

  width: 42%;
  height: 240%;

  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.24),
      transparent
    );

  opacity: 0;
  transform: rotate(18deg) translateX(-180%);

  transition:
    opacity 300ms ease,
    transform 650ms var(--results-ease-out);
}

.student-results__tab.is-active::after {
  opacity: 0.5;
  transform: rotate(18deg) translateX(420%);
}


/* Лёгкий импульс активного корешка */

.student-results__tab.is-changing {
  animation:
    resultsTabPress 320ms var(--results-ease-out);
}

@keyframes resultsTabPress {
  0% {
    transform: translateY(-1px) scale(1);
  }

  45% {
    transform: translateY(0) scale(0.965);
  }

  100% {
    transform: translateY(-1px) scale(1);
  }
}


/* =========================================================
   Переключение содержимого карточки
   Эти классы будет добавлять JavaScript
   ========================================================= */

.student-results__panel {
  transition:
    border-color var(--results-duration-medium) ease,
    box-shadow var(--results-duration-medium) ease,
    background-color var(--results-duration-medium) ease;
}

.student-results__panel.is-switching {
  border-color: rgba(239, 159, 189, 0.18);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 24px 60px rgba(0, 0, 0, 0.24),
    0 0 42px rgba(202, 93, 137, 0.055);
}


/* Все изменяемые элементы */

.student-results__category-number,
.student-results__category-title,
.student-results__counter,
.student-results__review-text,
.student-results__achievement-text,
.student-results__avatar,
.student-results__person-name,
.student-results__person-location {
  transition:
    opacity 260ms ease,
    transform 420ms var(--results-ease-out),
    filter 260ms ease;
}


/* Фаза исчезновения */

.student-results__panel.is-leaving
.student-results__category-number,
.student-results__panel.is-leaving
.student-results__category-title,
.student-results__panel.is-leaving
.student-results__counter {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(-8px);
}

.student-results__panel.is-leaving
.student-results__review-text {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(16px);
}

.student-results__panel.is-leaving
.student-results__achievement-text {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(12px);
}

.student-results__panel.is-leaving
.student-results__avatar,
.student-results__panel.is-leaving
.student-results__person-name,
.student-results__panel.is-leaving
.student-results__person-location {
  opacity: 0;
  filter: blur(3px);
  transform: translateY(8px);
}


/* Фаза появления */

.student-results__panel.is-entering
.student-results__category-number,
.student-results__panel.is-entering
.student-results__category-title,
.student-results__panel.is-entering
.student-results__counter {
  animation:
    resultsFadeDown 520ms var(--results-ease-out) both;
}

.student-results__panel.is-entering
.student-results__review-text {
  animation:
    resultsReviewIn 650ms var(--results-ease-out) both;
}

.student-results__panel.is-entering
.student-results__achievement-text {
  animation:
    resultsFadeUp 580ms 90ms var(--results-ease-out) both;
}

.student-results__panel.is-entering
.student-results__avatar {
  animation:
    resultsAvatarIn 520ms 140ms var(--results-ease-out) both;
}

.student-results__panel.is-entering
.student-results__person-name {
  animation:
    resultsFadeUp 500ms 180ms var(--results-ease-out) both;
}

.student-results__panel.is-entering
.student-results__person-location {
  animation:
    resultsFadeUp 500ms 220ms var(--results-ease-out) both;
}


@keyframes resultsFadeDown {
  from {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(-12px);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes resultsFadeUp {
  from {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes resultsReviewIn {
  from {
    opacity: 0;
    filter: blur(6px);
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes resultsAvatarIn {
  from {
    opacity: 0;
    transform: scale(0.72) rotate(-8deg);
  }

  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}


/* =========================================================
   Направление анимации при перелистывании стрелками
   ========================================================= */

.student-results__panel.is-direction-next.is-leaving
.student-results__review-text {
  transform: translateX(-18px);
}

.student-results__panel.is-direction-prev.is-leaving
.student-results__review-text {
  transform: translateX(18px);
}

.student-results__panel.is-direction-next.is-entering
.student-results__review-text {
  animation-name: resultsReviewFromRight;
}

.student-results__panel.is-direction-prev.is-entering
.student-results__review-text {
  animation-name: resultsReviewFromLeft;
}


@keyframes resultsReviewFromRight {
  from {
    opacity: 0;
    filter: blur(5px);
    transform: translateX(24px);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
  }
}

@keyframes resultsReviewFromLeft {
  from {
    opacity: 0;
    filter: blur(5px);
    transform: translateX(-24px);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
  }
}


/* =========================================================
   Анимация декоративной кавычки
   ========================================================= */

.student-results__review-mark {
  animation:
    resultsQuoteFloat 7s ease-in-out infinite;
}

@keyframes resultsQuoteFloat {
  0%,
  100% {
    transform: translateY(0) rotate(2deg);
  }

  50% {
    transform: translateY(-8px) rotate(-1deg);
  }
}


/* =========================================================
   Живое свечение карточки
   ========================================================= */

.student-results__panel::before {
  animation:
    resultsLineGlow 5.5s ease-in-out infinite;
}

@keyframes resultsLineGlow {
  0%,
  100% {
    opacity: 0.38;
    transform: scaleX(0.72);
    transform-origin: right;
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
    transform-origin: right;
  }
}


/* =========================================================
   Анимация блока «Результат»
   ========================================================= */

.student-results__achievement {
  transition:
    border-color 300ms ease,
    background-color 300ms ease,
    transform 300ms var(--results-ease-out),
    box-shadow 300ms ease;
}

@media (hover: hover) {
  .student-results__achievement:hover {
    border-color: rgba(239, 159, 189, 0.25);

    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.05),
      0 16px 38px rgba(0, 0, 0, 0.16);

    transform: translateY(-2px);
  }
}


/* =========================================================
   Анимация фото
   ========================================================= */

.student-results__portrait-caption {
  transition:
    transform 500ms var(--results-ease-out);
}

.student-results__portrait-name,
.student-results__portrait-role {
  transition:
    opacity 400ms ease,
    transform 500ms var(--results-ease-out);
}

@media (hover: hover) {
  .student-results__portrait:hover
  .student-results__portrait-caption {
    transform: translateY(-4px);
  }

  .student-results__portrait:hover
  .student-results__portrait-name {
    transform: translateY(-2px);
  }
}


/* =========================================================
   Состояние загрузки
   На случай, если отзывы будут подгружаться позже
   ========================================================= */

.student-results__panel.is-loading {
  cursor: wait;
}

.student-results__panel.is-loading
.student-results__category-title,
.student-results__panel.is-loading
.student-results__review-text,
.student-results__panel.is-loading
.student-results__achievement-text,
.student-results__panel.is-loading
.student-results__person-name,
.student-results__panel.is-loading
.student-results__person-location {
  color: transparent;

  border-radius: 6px;

  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.035) 20%,
      rgba(255, 255, 255, 0.085) 50%,
      rgba(255, 255, 255, 0.035) 80%
    );

  background-size: 240% 100%;

  animation:
    resultsSkeleton 1.35s linear infinite;
}

.student-results__panel.is-loading
.student-results__category-title {
  width: min(230px, 80%);
  min-height: 40px;
}

.student-results__panel.is-loading
.student-results__review-text {
  width: 100%;
  min-height: 170px;
}

.student-results__panel.is-loading
.student-results__achievement-text {
  min-height: 52px;
}

.student-results__panel.is-loading
.student-results__person-name {
  width: 105px;
  min-height: 17px;
}

.student-results__panel.is-loading
.student-results__person-location {
  width: 145px;
  min-height: 14px;
}

@keyframes resultsSkeleton {
  from {
    background-position: 200% 0;
  }

  to {
    background-position: -40% 0;
  }
}


/* =========================================================
   Состояния кнопок во время переключения
   ========================================================= */

.student-results__workspace.is-busy
.student-results__tab,
.student-results__workspace.is-busy
.student-results__arrow {
  pointer-events: none;
}

.student-results__workspace.is-busy
.student-results__arrow {
  opacity: 0.55;
}


/* =========================================================
   Пульс при смене категории
   ========================================================= */

.student-results__category-number.is-updated {
  animation:
    resultsNumberPulse 480ms var(--results-ease-out);
}

@keyframes resultsNumberPulse {
  0% {
    box-shadow:
      0 0 0 0 rgba(239, 159, 189, 0.32);
  }

  70% {
    box-shadow:
      0 0 0 12px rgba(239, 159, 189, 0);
  }

  100% {
    box-shadow:
      0 0 0 0 rgba(239, 159, 189, 0);
  }
}


/* =========================================================
   Интерактивное наведение на всю карточку
   ========================================================= */

@media (hover: hover) {
  .student-results__panel:hover {
    border-color: rgba(255, 255, 255, 0.135);

    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.07),
      0 30px 72px rgba(0, 0, 0, 0.28);
  }
}


/* =========================================================
   Поддержка reduced motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .student-results *,
  .student-results *::before,
  .student-results *::after {
    scroll-behavior: auto !important;

    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;

    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .student-results .animate-on-scroll {
    opacity: 1;
    transform: none;
  }

  .student-results__review-mark,
  .student-results__panel::before {
    animation: none;
  }
}



/* =========================================================
   STUDENT RESULTS — СПОКОЙНАЯ ВЕРСИЯ
========================================================= */

/* Более нейтральный фон */

.student-results {
  padding-block: clamp(72px, 8vw, 108px);

  background:
    radial-gradient(
      circle at 14% 20%,
      rgba(244, 114, 182, 0.035),
      transparent 28rem
    ),
    linear-gradient(
      180deg,
      #0a0a0c 0%,
      #0c0b0e 52%,
      #0a0a0c 100%
    );
}

.student-results__glow {
  opacity: 0.32;
}


/* Заголовок слева, описание справа */

.student-results__header {
  display: grid;
  grid-template-columns:
    minmax(0, 1.1fr)
    minmax(280px, 0.75fr);

  align-items: end;
  gap: clamp(42px, 8vw, 110px);

  max-width: none;
  margin-bottom: clamp(46px, 6vw, 70px);
}

.student-results__eyebrow {
  display: none;
}

.student-results__title {
  max-width: 680px;
  margin: 0;

  color: #fff;

  font-size: clamp(3rem, 5.6vw, 5.4rem);
  font-weight: 650;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.student-results__intro {
  max-width: 440px;
  margin: 0 0 6px auto;

  color: rgba(255, 255, 255, 0.43);

  font-size: clamp(0.88rem, 1.15vw, 1rem);
  font-weight: 400;
  line-height: 1.7;
}




/* Меню нейтральнее */

.student-results__tabs {
  border-color: rgba(255, 255, 255, 0.065);

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.027),
      rgba(255, 255, 255, 0.012)
    );
}

.student-results__tab{

    color:rgba(255,255,255,.55);

    transition:.25s;
}

.student-results__tab:hover{

    color:rgba(255,255,255,.88);

    background:rgba(255,255,255,.03);

}

.student-results__tab.is-active {

  color: rgba(255,255,255,.92);

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.08),
      rgba(255,255,255,.04)
    );

  border: 1px solid rgba(255,255,255,.14);

  box-shadow:
      inset 0 1px 0 rgba(255,255,255,.08);

}


/* Правая карточка спокойнее */

.student-results__panel {
  border-color: rgba(255, 255, 255, 0.075);

  background:
    radial-gradient(
      circle at 92% 10%,
      rgba(244, 114, 182, 0.035),
      transparent 25rem
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.038),
      rgba(255, 255, 255, 0.014)
    );

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 18px 46px rgba(0, 0, 0, 0.2);
}


/* Номер категории менее розовый */

.student-results__category-number {
  border-color: rgba(255, 255, 255, 0.11);

  color: rgba(255, 255, 255, 0.66);
  background: rgba(255, 255, 255, 0.028);

  box-shadow: none;
}


/* Заголовок категории */

.student-results__category-caption {
  color: rgba(255, 255, 255, 0.34);
}

.student-results__category-title {
  color: rgba(255, 255, 255, 0.94);
}


/* Текст отзыва */

.student-results__review-text {
  color: rgba(255, 255, 255, 0.64);

  font-size: clamp(0.98rem, 1.25vw, 1.16rem);
  font-weight: 400;
  line-height: 1.72;
}


/* Блок результата почти нейтральный */

.student-results__achievement {
  border-color: rgba(255, 255, 255, 0.08);

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.032),
      rgba(255, 255, 255, 0.014)
    );

  box-shadow: none;
}

.student-results__achievement::before {
  width: 2px;

  background:
    linear-gradient(
      180deg,
      rgba(244, 114, 182, 0.7),
      rgba(244, 114, 182, 0.18)
    );
}

.student-results__achievement-label {
  color: rgba(249, 168, 212, 0.78);
}

.student-results__achievement-text {
  color: rgba(255, 255, 255, 0.5);
}


/* Аватар менее конфетный */

.student-results__avatar {
  color: #21171c;

  background:
    linear-gradient(
      135deg,
      #f3c7d8,
      #dc8faf
    );

  box-shadow:
    0 7px 18px rgba(202, 93, 137, 0.11);
}


/* Планшет */

@media (max-width: 820px) {
  .student-results__header {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 20px;
  }

  .student-results__intro {
    max-width: 560px;
    margin-left: 0;
  }
}


/* Телефон */

@media (max-width: 560px) {
  .student-results__header {
    margin-bottom: 38px;
  }

  .student-results__title {
    font-size: 2.65rem;
  }

  .student-results__intro {
    font-size: 0.88rem;
  }
}

/* =========================================================
   STUDENT RESULTS — ТОЧЕЧНАЯ ПОЛИРОВКА
========================================================= */

/* 1. Убираем номера 01, 02, 03 перед категорией */

.student-results__category-number {
  display: none;
}

.student-results__category-info {
  gap: 0;
}


/* 2. Делаем шапку категории компактнее */

.student-results__panel-top {
  padding-bottom: 14px;
  margin-bottom: 24px;
}

.student-results__category-caption {
  margin-bottom: 4px;
}

.student-results__category-title {
  font-size: clamp(1.65rem, 2.5vw, 2.3rem);
  line-height: 1.05;
}


/* Счётчик немного компактнее */

.student-results__counter {
  padding: 7px 10px;
  font-size: 0.68rem;
}


/* 3. Убираем декоративные круги справа */

.student-results__panel::after {
  display: none !important;
}

.student-results__panel {
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.035),
      rgba(255, 255, 255, 0.014)
    );
}


/* 4. Выравниваем правый блок по высоте фотографии */

.student-results__content {
  align-items: stretch;
}

.student-results__teacher,
.student-results__portrait,
.student-results__panel {
  height: 100%;
}

.student-results__portrait {
  min-height: 0;
}

.student-results__portrait img {
  min-height: 0;
  height: 100%;
  object-fit: cover;
}

.student-results__panel {
  display: flex;
  flex-direction: column;
}


/* 5. Текст отзыва поднимаем и делаем компактнее */

.student-results__review {
  margin-bottom: 22px;
}

.student-results__review-text {
  font-size: clamp(0.96rem, 1.18vw, 1.12rem);
  line-height: 1.68;
}


/* Убираем остатки декоративной кавычки */

.student-results__review-mark {
  display: none !important;
}


/* 6. Блок результата больше не зажёвывает текст */

.student-results__achievement {
  display: grid;
  grid-template-columns: 95px minmax(0, 1fr);

  align-items: start;

  min-height: auto;
  padding: 14px 16px;
  margin-top: 0;
  margin-bottom: 18px;

  overflow: visible;
}

.student-results__achievement-label {
  padding-top: 2px;

  font-size: 0.62rem;
  line-height: 1.35;
}

.student-results__achievement-text {
  min-width: 0;
  margin: 0;

  overflow: visible;

  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;

  font-size: 0.78rem;
  line-height: 1.55;
}


/* Если где-то осталось ограничение высоты */

.student-results__achievement,
.student-results__achievement-text {
  max-height: none;
}


/* 7. Футер с именем чуть плотнее */

.student-results__review-footer {
  margin-top: auto;
  padding-top: 18px;
}


/* Планшет */

@media (max-width: 900px) {
  .student-results__achievement {
    grid-template-columns: 82px minmax(0, 1fr);
  }
}


/* Телефон */

@media (max-width: 560px) {
  .student-results__panel-top {
    padding-bottom: 12px;
    margin-bottom: 20px;
  }

  .student-results__achievement {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
}
@media (max-width: 760px) {
  .student-results__workspace,
  .student-results__tabs,
  .student-results__panel {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}
/* ========================================
   FAQ
======================================== */

.faq-section {
  position: relative;
  padding: 4.75rem 0;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 82% 18%,
      rgba(244, 114, 182, 0.04),
      transparent 28rem
    ),
    #0a0a0c;
}

.faq-section *,
.faq-section *::before,
.faq-section *::after {
  box-sizing: border-box;
}

.faq-section__container {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
}


/* Заголовок */

.faq-section__header {
  display: grid;
  grid-template-columns:
    minmax(0, 1.1fr)
    minmax(280px, 0.75fr);

  align-items: end;
  gap: clamp(2rem, 6vw, 5rem);

  margin-bottom: 2.6rem;
}

.faq-section__title {
  margin: 0;

  color: #fff;

  font-size: clamp(2.75rem, 5vw, 4.5rem);
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.faq-section__intro {
  max-width: 400px;
  margin: 0 0 0.35rem auto;

  color: rgba(255, 255, 255, 0.46);

  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.6;
}


/* Список */

.faq-section__list {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}


/* Вопрос */

.faq-item__question {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.35rem;
  align-items: center;
  gap: 1.5rem;

  min-height: 4.75rem;
  padding: 0.95rem 0;

  color: rgba(255, 255, 255, 0.88);

  font-size: clamp(1.02rem, 1.6vw, 1.3rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.025em;

  cursor: pointer;
  list-style: none;

  transition:
    color 0.25s ease,
    padding-left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question::marker {
  content: "";
}

@media (hover: hover) {
  .faq-item__question:hover {
    padding-left: 0.35rem;
    color: #fff;
  }
}


/* Иконка */

.faq-item__icon {
  position: relative;

  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;

  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.025);

  transition:
    border-color 0.3s ease,
    background-color 0.3s ease,
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";

  position: absolute;

  width: 0.72rem;
  height: 1px;

  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);

  transition:
    background-color 0.3s ease,
    transform 0.35s ease;
}

.faq-item__icon::after {
  transform: rotate(90deg);
}


/* Открытый вопрос */

.faq-item[open] .faq-item__question {
  color: #fff;
}

.faq-item[open] .faq-item__icon {
  border-color: rgba(244, 114, 182, 0.42);
  background: rgba(244, 114, 182, 0.09);
  transform: rotate(180deg);
}

.faq-item[open] .faq-item__icon::before,
.faq-item[open] .faq-item__icon::after {
  background: #f9a8d4;
}

.faq-item[open] .faq-item__icon::after {
  transform: rotate(0);
}


/* Ответ */

.faq-item__answer {
  max-width: 720px;
  padding: 0 4rem 1.55rem 0;

  color: rgba(255, 255, 255, 0.55);

  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.65;
}

.faq-item__answer p {
  margin: 0;
}

.faq-item__answer p + p {
  margin-top: 0.65rem;
}


/* Ссылка */

.faq-item__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;

  margin-top: 0.9rem;
  padding: 0.65rem 1rem;

  border: 1px solid rgba(244, 114, 182, 0.4);
  border-radius: 999px;

  color: #fff;
  background: rgba(244, 114, 182, 0.08);

  font-size: 0.76rem;
  font-weight: 600;
  text-decoration: none;

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.faq-item__link:hover {
  transform: translateY(-2px);

  border-color: rgba(244, 114, 182, 0.58);
  background: rgba(244, 114, 182, 0.13);
}


/* Планшет */

@media (max-width: 820px) {
  .faq-section {
    padding: 4.25rem 0;
  }

  .faq-section__header {
    grid-template-columns: 1fr;
    gap: 1rem;

    margin-bottom: 2.2rem;
  }

  .faq-section__intro {
    max-width: 560px;
    margin-left: 0;
  }
}


/* Телефон */

@media (max-width: 650px) {
  .faq-section {
    padding: 3.75rem 0;
  }

  .faq-section__container {
    width: min(100% - 2rem, 1180px);
  }

  .faq-section__header {
    margin-bottom: 1.8rem;
  }

  .faq-section__title {
    font-size: 2.35rem;
  }

  .faq-section__intro {
    font-size: 0.82rem;
  }

  .faq-item__question {
    grid-template-columns: minmax(0, 1fr) 2.15rem;
    gap: 0.85rem;

    min-height: 4.3rem;
    padding: 0.8rem 0;

    font-size: 0.98rem;
  }

  .faq-item__icon {
    width: 2.15rem;
    height: 2.15rem;
  }

  .faq-item__answer {
    padding: 0 0 1.35rem;

    font-size: 0.84rem;
    line-height: 1.62;
  }
}


/* Уменьшение движения */

@media (prefers-reduced-motion: reduce) {
  .faq-item__question,
  .faq-item__icon,
  .faq-item__icon::before,
  .faq-item__icon::after,
  .faq-item__link {
    transition: none;
  }
}