/* Общие стили */

:root {
  --font-family: "Manrope", sans-serif;
  --border-color: rgba(23, 23, 23, 0.06);
}

* {
  box-sizing: border-box;
  font-family: var(--font-family);
}

iframe {
  width: 100%;
  height: 100%;
}

body {
  font-family: var(--font-family);
  font-weight: 450;
  background-color: #fafafa;
  margin: 0;
}

a {
  color: #fff;
  text-decoration: none;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 700;
}

html,
body {
  scroll-behavior: smooth;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Звездочки по всему лендингу при скролле */

#sparkle-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 9999;
}
.sparkle {
  position: absolute;
  width: 12px;
  height: 12px;
  background-size: cover;
  opacity: 0;
  animation: sparkle-animation 3s ease-out forwards;
  pointer-events: none;
}

.sparkle.orange {
  background-image: url("./images/sparkle-orange.png");
}

.sparkle.blue {
  background-image: url("./images/sparkle-blue.png");
}

@keyframes sparkle-animation {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(0deg);
  }
  10% {
    opacity: 1;
    transform: scale(1.2) rotate(45deg);
  }
  90% {
    opacity: 1;
    transform: scale(1) rotate(90deg);
  }
  100% {
    opacity: 0;
    transform: scale(0.5) rotate(135deg);
  }
}

/* Шапка */

.header {
  padding: 24px 34px;
  position: relative;
  z-index: 10;
  color: #fff;
  padding-top: 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
}

.nav__list {
  font-family: "LTSuperior", sans-serif;
  display: flex;
  align-items: center;
}

.nav__list-item {
  display: flex;
  gap: 32px;
}

.item-link {
  font-size: 16px;
  font-weight: 450;
  text-decoration: none;
  transition: opacity 0.3s;
}

.logo {
  width: 112px;
}

.item-link:hover {
  opacity: 0.8;
}

.link-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-left: 64px;
  color: #000;
  min-width: 80px;
  padding-inline: 20px;
  height: 40px;
  background-color: #fff;
  border-radius: 12px;
  transition: opacity 0.3s;
}

.link-contact:hover {
  opacity: 0.8;
}

.link-list {
}

.header-link-call {
  font-size: 14px;
  color: #2075cb;
  padding: 15px 20px;
  background-color: #fff;
  border-radius: 12px;
}

.main {
}

/* Приветственная секция */

.welcome {
  color: #fff;
  box-sizing: border-box;
  min-height: 110vh;
  z-index: 10;
  padding-top: clamp(4.375rem, 6.628vw + 2.049rem, 10.625rem);
  padding-bottom: clamp(1.25rem, 2.791vw + 0.692rem, 2.75rem);
  margin-top: -114px;
  background-image: url("./images/welcome.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: scroll;
  background-position: center top;
  will-change: background-position;
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
}

.welcome__text {
  position: relative;
  max-width: 780px;
  margin-top: 235px;
  z-index: 2;
}

.welcome__text::after {
  content: "";
  width: 100%;
  background-color: #000;
  opacity: 50%;
  position: absolute;
  inset: 0;
  border-radius: 24px;
  filter: blur(20px); /* Размытие */
  z-index: -1;
  border-radius: 24px;
}

.welcome__learn-link {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 400;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 16px;
  color: #fff;
  width: 106px;
  height: 40px;
  backdrop-filter: blur(30px);
  background: linear-gradient(
    135deg,
    rgba(133, 131, 131, 0.6) 0%,
    rgba(48, 47, 47, 0.6) 100%
  );
}

.welcome__title {
  position: relative;
  font-size: clamp(2.5rem, 2.2065rem + 1.3043vw, 3.25rem);
  font-weight: 500;
}

.welcome__subtitle {
  font-size: 16px;
  font-weight: 450;
  opacity: 80%;
  margin-top: 14px;
}

.welcome__down {
  display: flex;
  justify-content: space-between;
  align-items: end;
  align-content: center;
  width: 100%;
}

.welcome__btns {
  display: flex;
  margin-top: 42px;
  gap: 12px;
}

.welcome__btn {
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  border-radius: 14px;
  transition: opacity 0.3s;
}

.welcome__buy-course-btns {
  display: flex;
  position: fixed;
  gap: 16px;
  right: 50px;
  bottom: 40px;
  z-index: 5;
  align-items: center;
}

.support-block {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 4px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.support-text {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 1px;
  white-space: nowrap;
}

.support-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  width: 50px;
  height: 41px;
  transition: all 0.3s ease;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.support-btn--bg {
  background: linear-gradient(
    to bottom,
    #ffffff 33%,
    #00966e 33%,
    #00966e 66%,
    #d62612 66%
  );
}

.support-btn--fr {
  background: linear-gradient(
    to right,
    #002395 33%,
    #ffffff 33%,
    #ffffff 66%,
    #ed2939 66%
  );
}

.support-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
}

.buy-course-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #3399ff;
  border-radius: 14px;
  width: 129px;
  height: 52px;
  transition: all 0.3s ease;
}

.link-telegram {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 14px;
  width: 215px;
  height: 52px;
  backdrop-filter: blur(64px);
  background: rgba(51, 153, 255, 0.32);
  transition: all 0.3s ease;
}
.link-telegram img {
  margin-right: 8px;
}

.buy-course-btn:hover,
.link-telegram:hover {
  opacity: 0.9;
}

.welcome__btn:hover {
  opacity: 0.8;
}

.btn__get-advice {
  height: 52px;
  padding-inline: 24px;
  background-color: #fff;
  color: #000;
}

.btn__send-resume {
  width: 264px;
  height: 52px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.learn-proccess {
  margin-top: 20px;
}
.learn-proccess .container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.learn-proccess-card {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  background-color: #171c20;
  padding: 24px;
  border-radius: 24px;
  gap: 8px;
}

.learn-proccess-card img {
}
.learn-proccess-card p {
  font-size: 20px;
}

/* Раздел с ментором */

.author {
  margin-top: 74px;
  margin-bottom: 200px;
}
.author .container {
  color: #000;
}
.author__info {
  display: flex;
  gap: 50px;
}
.author__text {
  display: flex;
  padding: 24px;
  flex-direction: column;
  justify-content: space-between;
  max-width: 690px;
  width: 100%;
  background-color: #fff;
  border-radius: 24px;
}

.author__subtitle {
  font-size: 20px;
  font-weight: 500;
}
.author__title {
  font-size: clamp(2.25rem, 2.0543rem + 0.8696vw, 2.75rem);
  font-weight: 400;
}
.author__description {
  opacity: 75%;
  margin-top: 20px;
  font-size: 16px;
  color: #171717;
}

.socials {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.socials-icon {
  width: 40px;
  height: 40px;
}
/* .author__resume {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
} */

.star {
  display: inline-block;
  transition: all 0.3s ease;
}

.author__resume li:hover .star {
  transform: rotate(60deg);
}

.star {
  color: #39f;
}

.author__avatar-wrapper {
  position: relative;
}

.author__avatar {
  border-radius: 48px;
  max-width: clamp(20rem, 16.087rem + 17.3913vw, 30rem);
  align-self: center;
  box-shadow: 0 0 0 0 rgba(51, 153, 255, 0); /* изначально нет тени */
  transition: box-shadow 0.8s ease, transform 0.5s ease;
  z-index: 2;
}

.author__avatar.visible {
  box-shadow: 10px 10px 0px 5px #3399ff; /* когда в зоне видимости */
}

.author__avatar:hover {
  transform: translateY(-4px);
}
/* 
.orbit-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  transition: transform 0.5s ease;
  opacity: 1;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease-out;
}

.orbit-icon--1 {
  top: 10%;
  left: 70%;
}
.orbit-icon--2 {
  top: 60%;
  left: 90%;
}
.orbit-icon--3 {
  top: 80%;
  left: 20%;
}
.orbit-icon--4 {
  top: 40%;
  left: 10%;
}

.author__avatar-wrapper:hover .orbit-icon {
  opacity: 1;
} */

/* Секция "Зачем быть IT-PM */

.reason .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reason-text {
  display: flex;
  justify-content: space-between;
}
.reason__title {
  font-size: 32px;
  font-weight: 400;
}

.reason__link-test {
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 16px 0 rgba(51, 153, 255, 0.16);
  background-color: #39f;
  border-radius: 14px;
  width: 132px;
  height: 52px;
  transition: all 0.3s ease;
  border: none;
  color: #fff;
  font-size: 14px;
}

.reason__link-test:hover {
  opacity: 0.8;
}

.reason__link-test-mobile {
  display: none;
}

.reason__cards-relevance {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.reason-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 24px;
  transition: all 0.3s ease;
  border: 2px solid var(--border-color);
}

.reason-card img {
  transition: all 0.3s ease;
}

.reason-card:hover img {
  transform: rotate(-10deg);
}

.reason-card:hover {
  transform: translateY(-4px);
}

.reason-card-active {
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 32px 0 rgba(51, 153, 255, 0.24);
  background: #39f;
}

.reason-card-active:hover {
  /* box-shadow: 0 4px 32px 0 rgba(51, 153, 255, 0.32); */

  -webkit-box-shadow: -1px 6px 69px 37px rgba(51, 153, 255, 0.2) inset;
  -moz-box-shadow: -1px 6px 69px 37px rgba(51, 153, 255, 0.2) inset;
  box-shadow: -1px 6px 69px 37px rgba(51, 153, 255, 0.2) inset;
}

.reason-card-icon {
  position: relative;
  width: 26px;
}

.reason-card-active-text {
  display: flex;
  justify-content: space-between;
}
.reason-card-title {
  font-size: 20px;
  font-weight: 400;
  margin-top: 8px;
}

.reason-card-description {
  font-size: 16px;
  margin-top: 12px;
  color: #171717b8;
}

.reason-card-description-active {
  font-size: 16px;
  margin-top: 12px;
  color: #fff;
  opacity: 0.7;
}
.reason__card-learning {
  display: grid;
  grid-template-columns: 2fr 1.5fr 2fr;
  gap: 20px;
}

/* Секция "Вот как ты станешь ПМом" */

.road__learn {
  margin-top: 160px;
  color: #fff;
  background-color: #171717;
  border-radius: 24px;
  padding: 64px 50px;
}
.container {
}
.road__learn-text {
  display: flex;
  justify-content: space-between;
}
.road__learn-explanation {
  max-width: 580px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.learn-explanation-title {
  font-weight: 400;
  font-size: clamp(2.3125rem, 2.1413rem + 0.7609vw, 2.75rem);
}
.learn-explanation-description {
  font-size: clamp(1rem, 0.9022rem + 0.4348vw, 1.25rem);
  color: #fff;
  opacity: 80%;
}
.condition__learn-text {
  font-size: clamp(1rem, 0.9022rem + 0.4348vw, 1.25rem);
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: end;
  transition: all 0.3s ease;
}

.condition__learn-text li:hover .star {
  transform: rotate(60deg);
}

.learn-demo {
  margin-top: 200px;
}
.learn-demo-title {
  color: #fff;
  font-weight: 500;
  font-size: clamp(2.3125rem, 2.1204rem + 0.8537vw, 2.75rem);
}
.learn-demo-description {
  max-width: 330px;
  width: 100%;
  color: #fff;
  opacity: 80%;
  position: relative;
}

.learn-demo-platform {
  width: 100%;
  height: 90vh;
  background-color: #777777;
  border-radius: 24px;
  margin-top: 54px;
}

/* Lessons tabs */
.lessons {
  margin-top: 120px;
}
.tabs {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}
.tab {
  padding: 10px 16px;
  border: 1px solid rgba(23, 23, 23, 0.12);
  background: #fff;
  color: #171717;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tab.active {
  background: #3399ff;
  color: #fff;
  border-color: #3399ff;
}
.tab:hover {
  opacity: 0.9;
}
.tab-panels {
  margin-top: 20px;
}
.tab-panel {
  display: none;
}
.tab-panel.active {
  display: block;
}
.tab-emoji {
  font-size: 16px;
  line-height: 1;
  font-family: "Segoe UI Emoji", "Noto Color Emoji", "Apple Color Emoji",
    "Twemoji Mozilla", "Segoe UI Symbol", emoji, sans-serif;
  margin-bottom: 2px;
}
.mini-lesson {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 16px;
  margin-top: 12px;
}
.mini-lesson h5 {
  color: #171717;
  font-weight: 500;
  font-size: 18px;
}
.mini-lesson p {
  color: #171717;
  opacity: 0.8;
  margin-top: 8px;
}
.lessons-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.lessons-cta p {
  color: #fff;
  opacity: 0.8;
}

.learn-demo .sign-up-link {
  margin-top: 64px;
}
/* Карточки с подробным роадмэп */

.road__learn-cards {
  display: flex;
  margin-top: 48px;
  gap: 20px;
}

.learn-card-container {
  position: relative;
}

.learn-card-number {
  transition: all 0.3s ease;
}

.learn-card-container:hover .learn-card-number {
  color: #3399ff;
  opacity: 100%;
}
.learn-card-container:hover .learn-card-star {
  color: #3399ff;
  opacity: 100%;
}

.card__with-img {
  position: relative;
  display: flex;
  justify-content: space-between;
}

.learn-card-img {
  z-index: 5;
}

.learn-card-number {
  color: #fff;
  opacity: 24%;
  font-size: 24px;
}

.learn-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 36px;
  background-color: #fff;
  border-radius: 24px;
  padding: 24px;
  max-width: 280px;
  transition: all 0.3s ease;

  opacity: 0;
  transform: translateY(40px);
}

.learn-card.show {
  animation: fadeUp 0.6s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.learn-card:hover {
  transform: translateY(-4px);
}

.learn-card-container:not(:last-child)::after {
  content: "";
  width: 2px;
  position: absolute;
  height: 100%;
  top: 10px;
  right: -12px;
  background-image: url("./images/line-learn.png");
  background-repeat: no-repeat;
  transition: transform 300ms ease; /* плавность */
  will-change: transform;
}

.learn-card-container:hover::after {
  transform: translateY(-10px);
}

.card-introduction {
  margin-top: 28px;
}

.card-base {
  margin-top: 52px;
}

.card-methodology {
  margin-top: 76px;
}

.card-tool {
  margin-top: 28px;
}

.learn-card-title {
  font-weight: 400;
  font-size: 20px;
  color: #171717;
}
.learn-card-list {
  color: #171717;
  opacity: 24%;
}
.learn-card-star {
  color: #171717;
  opacity: 72%;
}
.learn-card-second-text {
  color: #171717;
  opacity: 32%;
}

.sign-up-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-align: center;
  padding: 22px 6px;
  background-color: #3399ff;
  color: #fff;
  border-radius: 24px;
  font-size: clamp(1rem, 0.8354rem + 0.7317vw, 1.375rem);
  transition: opacity 0.3s ease;
}

.sign-up-link-mobile {
  display: none;
}

.learn-card .sign-up-link {
  margin-top: 98px;
}

.sign-up-link:hover {
  opacity: 0.9;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Раздел отзывов */

.reviews__customers {
  color: #000;
  margin-top: 228px;
  padding-top: 20px;
  margin-bottom: 160px;
}

/* Белый инфо‑блок материалов */
.materials-info {
  background: #fff;
  border-radius: 24px;
  padding: 64px 50px;
  margin-top: 160px;
}
.materials-info__title {
  color: #171717;
  font-weight: 500;
  font-size: clamp(2rem, 1.85rem + 0.7vw, 2.375rem);
}
.materials-info__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.materials-info__card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 20px;
}
.materials-info__icon {
  width: 32px;
  height: 32px;
}
.materials-info__card-title {
  margin-top: 12px;
  font-weight: 500;
  font-size: 18px;
  color: #171717;
}
.materials-info__card-desc {
  margin-top: 8px;
  color: #171717;
  opacity: 0.8;
  font-size: 16px;
}
.materials-info__actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
@media (max-width: 768px) {
  .materials-info__grid {
    grid-template-columns: 1fr;
  }
}

/* Roadmaps */
.roadmaps {
  background: #fff;
  border-radius: 24px;
  padding: 64px 50px;
}
.roadmaps__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}
.timeline {
  position: relative;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 20px 20px 20px 32px;
}
.timeline__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.timeline__line {
  position: absolute;
  top: 70px;
  bottom: 20px;
  left: 24px;
  width: 2px;
  background: rgba(0, 0, 0, 0.08);
}
.timeline__items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.timeline__item {
  position: relative;
  padding-left: 20px;
}
.timeline__badge {
  position: absolute;
  left: -5px;
  top: 0;
  transform: translate(-50%, 0);
  background: #3399ff;
  color: #fff;
  font-size: 12px;
  border-radius: 999px;
  padding: 4px 8px;
}
.timeline__card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 14px;
}
.timeline__card h6 {
  margin: 0 0 8px 0;
  font-weight: 500;
  font-size: 16px;
  color: #171717;
}
.timeline__card ul {
  margin: 0;
  padding-left: 18px;
  color: #171717;
  opacity: 0.9;
}
.timeline__card li {
  margin: 4px 0;
}
.timeline__result {
  margin-top: 8px;
  font-size: 14px;
  color: rgba(23, 23, 23, 0.7);
}

@media (max-width: 900px) {
  .roadmaps__grid {
    grid-template-columns: 1fr;
  }
  .timeline__line {
    left: 18px;
  }
  .timeline {
    padding-left: 28px;
  }
}

.title__and__scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.reviews__customers .container {
}
.scroll__icons {
  margin-left: auto;
  display: flex;
  gap: 8px;
}
.arrow-button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.3s ease;
}
.arrow-button:hover {
  opacity: 0.7;
}

.reviews__card-with-accent {
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 20px;
  max-width: 380px;
  width: 100%;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.reviews__card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 380px;
  width: 100%;
  flex-shrink: 0;
  scroll-snap-align: start;

  border: 1px solid rgba(0, 0, 0, 0.08);
  background-color: #fff;
  border-radius: 24px;
  height: auto;

  padding: 20px;
  /* min-height: 280px; */
}

.accent-review-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  justify-content: center;
  max-width: 380px;
  width: 100%;
  padding: 37px 20px;
  background-color: #171c20;
  border-radius: 24px;
  color: #fff;
  box-shadow: 0 6px 20px 0 rgba(255, 255, 255, 0.5);
}

.reviews__card-date {
  font-size: 16px;
  color: #787878;
  opacity: 50%;
}

.accent-review-block-title {
  font-size: 32px;
}

.accent-review-block-description {
  font-size: 16px;
}

.accent-review-block img {
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
}

.reviews__title {
  font-size: 48px;
  background: linear-gradient(90deg, #1d2733, #4a5568); /* цвета по вкусу */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.arrow-left-button {
}
.arrow-right-button {
}

.reviews__customers-cards {
  display: flex;
  flex-direction: row;
  gap: 16px;
  overflow-x: auto;
  overflow-y: auto;
  scroll-snap-type: x mandatory;
  scroll-snap-type: y mandatory;
  margin-top: 25px;
  align-items: flex-end;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.customer__author {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}

.customer__author img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
}

.customer__company-name {
  font-size: 20px;
}

.customer__author-name {
  font-size: 14px;
  margin-top: 9px;
}

.customer__position {
  font-size: 14px;
}
.customer__text p {
  margin-top: 16px;
  font-size: 20px;
}

/* Раздел "Начни путь к новой профессии */

.section__feedback {
  text-align: center;
  margin-top: 240px;
  background-image: url("./images/footer-background.jpg");
  color: #ffffff;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: start;
  border-top-right-radius: 24px;
  border-top-left-radius: 24px;
}

.section__feedback .container {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  padding: 175px 350px 100px;
  padding-block: clamp(4.75rem, 11.512vw + 2.448rem, 10.938rem);
  padding-inline: clamp(1rem, 38.837vw - 6.767rem, 21.875rem);
}

.feedback-form {
  max-width: 580px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.feedback-form-inputs {
  display: flex;
  flex-direction: column;
  margin-top: 32px;
  max-width: 580px;
  width: 100%;
}

.feedback-title {
  display: inline-block;
  min-width: 580px;
  font-weight: 400;
  font-family: "Bebas-Neue", sans-serif;
  text-align: center;
  font-size: clamp(2.25rem, 2.0543rem + 0.8696vw, 2.75rem);
}

.feedback-subtitle {
  font-size: 18px;
  font-weight: 400;
  margin-top: 12px;
}

.form-input {
  padding: 18px 16px;
  display: block;
  width: 100%;
  background: transparent;
  border: 1px solid #fff;
  border-radius: 14px;
  color: #fff;
  font-size: 16px;
  font-weight: 450;
}

.form-input::placeholder {
  color: #fff;
}

.form-input-telegram {
  margin-top: 16px;
}

.feedback__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #171717;
  background-color: #fff;
  padding: 16px 0;
  border: none;
  border-radius: 14px;
  margin-top: 32px;
  font-size: 16px;
  transition: opacity 0.3s ease;
}

.feedback__btn:hover {
  opacity: 0.7;
  cursor: pointer;
}

.telegram-link {
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(32px);
  background: rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 0px 24px;
  width: 100%;
  height: 52px;
  margin-top: 16px;
  transition: all 0.3s ease;
}

.telegram-link:hover {
  background: #9e9797;
}

.buy__full-course {
  background-color: #fff;
}
.buy__full-course .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.course-text-title {
  font-size: clamp(2.3125rem, 2.1204rem + 0.8537vw, 2.75rem);
  font-weight: 400;
}

.course-avatar {
  max-width: 64px;
  max-height: 64px;
  width: 100%;
  height: auto;
  flex-shrink: 0;
}

.course-text-title-important {
  position: relative;
  color: #f1494c;
  white-space: nowrap;
}

.course-text-title-important::after {
  content: "6 900";
  text-decoration: line-through;
  position: absolute;
  top: -30px;
  right: 5px;
  color: rgba(23, 23, 23, 0.24);
  transform: rotate(10deg);
  font-size: 32px;
  white-space: nowrap;
}

.course-text-description {
  font-size: 20px;
  margin-top: 30px;
}

.course-text-author {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.text-author-title {
  font-weight: 400;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  border-bottom-left-radius: 5px;
  padding: 12px;
}

.course__accept-card {
  padding: 44px 48px;
  border-radius: 20px;
  max-width: 610px;
  width: 100%;
}
.course__accept-form {
  display: flex;
  flex-direction: column;
}

.payment-options {
  display: flex;
  gap: 12px;
}

.payment-option {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 8px;
  border: 1px solid #ccc;
  border-radius: 14px;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.payment-option input[type="radio"] {
  display: none;
}

.payment-option span::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #ccc;
  margin-right: 6px;
  vertical-align: middle;
}

.payment-option input[type="radio"]:checked + span::before {
  border-color: #007aff;
  border-color: none;
  background-image: url("./images/icons/payment-checkbox-icon.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.course__accept-form input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 20px;
  font-size: 16px;
}

.course__accept-form input::placeholder {
  opacity: 0.4;
  font-size: 16px;
}

.link-to-telegram {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #3399ff;
  background-color: rgba(51, 153, 255, 0.04);
  padding-block: 14px;
  border-radius: 14px;
  margin-top: 12px;
  transition: all 0.3s ease;
}

.link-to-telegram:hover {
  background-color: rgba(51, 153, 255, 0.1);
}

.link-to-telegram img {
  margin-right: 5px;
}

/* new */

.input-group {
  position: relative;
  margin: 12px 0;
  width: 100%;
}

.input-group {
  position: relative;
}

.error-message {
  color: red;
  font-size: 0.8rem;
  margin-top: 0.3rem;
  display: block;
}

.input-error {
  border-color: red;
}

.input-group input {
  display: flex;
  align-content: center;
  width: 100%;
  padding-block: 12px;
  font-size: 18px;
  border: 1px solid rgba(23, 23, 23, 0.12);
  border-radius: 14px;
  outline: none;
  background: transparent;
}

.input-group label {
  position: absolute;
  top: 14px;
  left: 12px;
  color: #000000;
  opacity: 0.8;
  font-size: 16px;
  background-color: #fff; /* или цвет твоего фона */
  padding: 0 4px;
  transition: 0.2s ease;
  pointer-events: none;
}

.accept-agreement {
  font-size: 12px;
  color: #000;
  opacity: 70%;
  margin-top: 6px;
}

.course-accept-agreement {
  color: grey;
  font-size: 12px;
  opacity: 70%;
}

/* Плавающий эффект */
.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
  top: -8px;
  left: 10px;
  font-size: 14px;
  color: #000000;
  opacity: 0.8;
}

.unimportant-text {
  color: #000;
  opacity: 32%;
}

.course__accept-form button:hover {
  opacity: 0.7;
}

.course__accept-form button {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-block: 14px;
  background-color: #3399ff;
  color: #fff;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}

.accept-title {
  font-size: 20px;
}

.footer {
  background-color: #171717;
  padding-top: 64px;
  height: 220px;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.requisites {
  margin-top: 40px;
}

.requisites .container {
  display: flex;
  flex-direction: column;
}

.requsites-text {
  display: flex;
  align-self: start;
  color: #fff;
  gap: 20px;
  opacity: 50%;
  font-weight: 400;
}

.copyright {
  width: 100%;
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  color: #fff;
  opacity: 50%;
  margin-bottom: 20px;
}

.copyright-contacts {
  display: flex;
  gap: 20px;
}
@media (max-width: 768px) {
  .header {
    padding: 16px 34px;
  }
  .nav__list {
    display: none;
  }

  .welcome {
    background-position: center;
  }
  .welcome__down {
    flex-direction: column;
    align-items: center;
  }

  .welcome__btns {
    flex-direction: column;
    width: 100%;
  }

  .welcome__buy-course-btns {
    display: none;
  }

  .btn__send-resume {
    width: 100%;
  }

  .author {
    margin-top: 160px;
  }

  .author__info {
    gap: 60px;
  }

  .author__text {
    justify-content: center;
  }

  .author__resume {
    margin-top: 30px;
  }

  .btn__send-consultation {
    display: none;
  }
  .link-contact {
    display: none;
  }

  .header .container {
    justify-content: center;
  }

  .author__info {
    flex-direction: column;
  }

  .learn-demo-description::after {
    width: 0;
    height: 0;
  }

  .road__learn-cards {
    flex-direction: column;
    align-items: center;
    margin-top: 28px;
  }

  .learn-card-container:not(:last-child)::after {
    width: 0;
    height: 0;
  }

  .card-base {
    margin-top: 20px;
  }

  .card-methodology {
    margin-top: 20px;
  }

  .learn-card-container {
    scroll-snap-align: start;
    flex-shrink: 0;
  }

  .learn-demo {
    margin-top: 144px;
  }

  .road__learn-cards::-webkit-scrollbar {
    display: none;
  }

  .reason-card:not(:first-child) {
    display: none;
  }

  .reason-card-money {
    display: none;
  }

  .reason__link-test {
    display: none;
  }

  .reason__link-test-mobile {
    display: flex;
    width: 100%;
  }

  .platform-img {
    display: block;
    top: 55%;
  }

  .platform-video {
    display: none;
  }

  .platform .container {
  }

  .platform__cards {
    margin-top: 430px;
  }

  .platform__big-cards {
    display: flex;
    flex-direction: column;
  }

  .platform-small-cards {
    display: flex;
    flex-direction: column;
  }

  .platform-text {
    margin-top: 0;
  }

  .author__avatar {
    max-width: 100%;
    width: 100%;
  }

  .use-platform-link {
    margin-top: 18px;
  }
  .sign-up-link {
    display: none;
  }

  .sign-up-link-mobile {
    display: flex;
    margin-top: 18px;
    padding-block: 20px;
  }

  .reviews__card {
    width: 100%;
  }

  .reviews__customers {
    margin-top: 88px;
  }
  .condition__learn-text {
    align-self: flex-start;
    margin-top: 12px;
  }

  .road__learn-text {
    flex-direction: column;
  }

  .section__price {
    margin-top: 88px;
  }

  .price-sum-card {
    flex-direction: column;
    align-items: start;
  }
  .salaries-card-junior {
    max-width: 70%;
  }
  .salaries-card-middle {
    max-width: 80%;
  }

  .card-course-price {
    flex-direction: column;
    align-items: start;
  }

  .learn-card-img {
    position: absolute;
    bottom: -268px;
    left: -100px;
    transform: rotate(90deg);
  }

  .advantage-card-with-img {
    height: 330px;
  }

  .vacancies-example {
    top: 124px;
    right: 170px;
  }

  .course__accept-card {
    padding: 12px;
  }

  .reason__cards-relevance,
  .reason__card-learning {
    display: flex;
    flex-direction: column;
  }

  .possibilities .container {
    display: flex;
    flex-direction: column;
  }

  .possibilities__links {
    margin-top: 20px;
  }

  .possibilities__links {
    display: none;
  }

  .possibilities__links-mobile {
    display: flex;
    flex-direction: column;
  }

  .possibilities__link {
    max-width: 100%;
  }

  .payment-options {
    flex-direction: column;
  }

  .reviews__customers-cards {
    align-items: flex-start;
  }

  .reviews__card-with-accent {
    order: -1;
  }

  .possibilities__advantage-cards {
    margin-top: 20px;
  }

  .buy__full-course .container {
    flex-direction: column;
    align-items: center;
  }
  .course-text-author img {
    width: 34px;
    align-self: end;
  }

  .text-author-title {
    font-size: clamp(0.75rem, 0.6402rem + 0.4878vw, 1rem);
  }

  .footer {
    margin-top: 128px;
  }

  .footer .container {
    justify-content: center;
  }

  .requsites-text {
    flex-direction: column;
  }

  .copyright {
    flex-direction: column;
    gap: 6px;
  }
}
@media (max-width: 460px) {
  .course-text-title-important::after {
    top: 3px;
    right: -115px;
  }

  .vacancies-example {
    top: 124px;
    right: 50px;
  }
}

.modal {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__content {
  background: #fff;
  border-radius: 16px;
  width: 400px;
  max-width: 90vw;
  padding: 32px 24px 24px 24px;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
}

.modal__title {
  font-size: 20px;
  font-weight: 500;
  color: rgba(26, 23, 28, 0.85);
  margin-bottom: 8px;
}

.modal__desc {
  font-size: 14px;
  font-weight: 400;
  color: rgba(26, 23, 28, 0.45);
  margin-bottom: 20px;
}
.modal__desc p {
  margin: 8px 0;
}

.modal__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  border: 1px solid rgba(235, 235, 235, 1);
  border-radius: 50%;
  padding: 5px;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #888;
}

.modal__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.modal__btn {
  padding: 10px 15px;
  border-radius: 24px;
  border: none;
  background: #3399ff;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}

.modal__btn--outline {
  background: #fff;
  color: #181818;
  border: 1px solid rgba(235, 235, 235, 1);
  box-shadow: 0 0 0 1.5px rgba(19, 19, 19, 0.08),
    0 1px 4px rgba(19, 19, 19, 0.12);
  font-weight: 400;
}

.modal__btn:hover {
  opacity: 0.85;
}

.modal__btn--outline:hover {
  border: 1px solid #003d7a !important;
}

/* quiz modal */

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.modal.active {
  display: flex;
}
.quiz-container {
  background: white;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 350px;
  position: relative;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
  color: #666;
}

/* Вопросы */
.quiz-title {
  font-size: 26px;
  text-align: center;
  font-weight: 500;
}

.quiz-subtitle {
  font-size: 18px;
  margin-top: 15px;
  margin-bottom: 15px;
  font-weight: 400;
  text-align: center;
}

.option {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
  background: #fafafa;
  transition: background 0.2s;
}
.option:hover {
  background: #e6f0ff;
}
.btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 15px;
}
.btn-next {
  background: #3399ff;
  color: white;
}
.btn-next:disabled {
  background: #93c5fd;
  cursor: not-allowed;
}
.btn-back {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  color: #3399ff;
}

/* Результат */
.result {
  text-align: center;
  max-width: 332px;
  width: 100%;
}
.result h2 {
  color: #16a34a;
  font-size: 26px;
  font-weight: 500;
}

.result p {
  color: rgba(19, 20, 29, 0.4);
}
.progress {
  margin-top: 15px;
  text-align: center;
}
.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 4px;
  background: #d1d5db;
}
.dot.active {
  background: #2563eb;
}
