/* Footer */
.footer {
  background: #2e5065;
  padding: 60px 0 30px;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.footer-container {
  max-width: 1466px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Основная сетка футера */
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 79px;
  margin-bottom: 60px;
}

.footer-col-courses {
  width: 350px;
  flex-shrink: 0;
}

.footer-col-sections {
  width: 350px;
  flex-shrink: 0;
}

.footer-col-contacts {
  width: 567px;
  flex-shrink: 0;
}

.footer-title {
  color: white;
  font-size: 28px;
  font-family: Montserrat;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 30px;
}

.courses-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.course-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.course-dot {
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  flex-shrink: 0;
}

.course-item span {
  color: white;
  font-size: 20px;
  font-family: Montserrat;
  font-weight: 600;
  line-height: 1.4;
}

.section-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.section-item span {
  color: white;
  font-size: 20px;
  font-family: Montserrat;
  font-weight: 600;
  line-height: 1.4;
}

/* Кнопка личный кабинет */
.btn-cabinet {
  background: white;
  border-radius: 50px;
  padding: 12px 24px;
  min-width: 250px;
  height: 42px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: Montserrat;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  white-space: nowrap;
  position: relative;
  z-index: 1;
  margin-bottom: 30px;
}

.btn-cabinet::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50px;
  padding: 3px;
  background: linear-gradient(
    90deg,
    #ff8e00 0%,
    #f4503b 20%,
    #e60087 50%,
    #7b43da 70%,
    #0090d2 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}

.btn-cabinet span {
  background: linear-gradient(
    90deg,
    #ff8e00 0%,
    #f4503b 20%,
    #e60087 50%,
    #7b43da 70%,
    #0090d2 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn-cabinet:hover {
  background: linear-gradient(
    90deg,
    #ff8e00 0%,
    #f4503b 20%,
    #e60087 50%,
    #7b43da 70%,
    #0090d2 100%
  );
}

.btn-cabinet:hover span {
  background: white;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn-cabinet:hover::before {
  opacity: 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-item span {
  color: white;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

footer .work-time {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

footer .work-day {
  color: white;
  font-size: 20px;
  font-weight: 800;
}

footer .work-hours {
  color: white;
  font-size: 20px;
  font-family: Montserrat;
  font-weight: 500;
}

/* Форма подписки */
.subscribe-card {
  background: transparent;
  margin-top: 50px;
}

.subscribe-title {
  color: white;
  font-size: 28px;
  font-family: Montserrat;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 30px;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.form-input {
  flex: 1;
  min-width: 200px;
}

.form-input input {
  width: 100%;
  padding: 12px 20px;
  background: white;
  border: 3px solid #0090d2;
  border-radius: 50px;
  font-size: 16px;
  font-family: Montserrat;
}

.submit-btn {
  background: #0090d2;
  border-radius: 50px;
  padding: 12px 30px;
  border: none;
  color: white;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: #0066a3;
}

.telegram-block {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.telegram-text {
  color: white;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.qr-code {
  width: 155px;
  height: 155px;
  background: linear-gradient(
    230deg,
    #ff8e00 0%,
    #f4503b 20%,
    #e60087 50%,
    #7b43da 70%,
    #0090d2 100%
  );
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

/* Нижняя часть футера */
.footer-bottom {
  padding-top: 30px;
}

.copyright {
  color: #819aaa;
  font-size: 20px;
  font-family: Montserrat;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 10px;
}

.license {
  color: #819aaa;
  font-size: 20px;
  font-family: Montserrat;
  font-weight: 500;
  text-decoration: underline;
  margin-bottom: 10px;
  display: inline-block;
}

.legal-info {
  color: #819aaa;
  font-size: 20px;
  font-family: Montserrat;
  font-weight: 700;
  text-decoration: underline;
  text-transform: uppercase;
  margin-top: 10px;
  display: inline-block;
}

/* Карточка партнёров */
.partners-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  position: relative;
  width: 100%;
  max-width: 567px;
}

.partners-header {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.partners-logo {
  width: 115px;
  flex-shrink: 0;
}

.partners-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.stat-title {
  font-size: 28px;
  font-family: Montserrat;
  font-weight: 800;
  color: #2e5065;
  line-height: 1.3;
  flex: 1;
}

.stat-title span {
  font-family: Unbounded;
  font-weight: 800;
}

.partners-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.partner-associations {
  width: 285px;
  flex-shrink: 0;
}

.partner-clinic {
  width: 205px;
  flex-shrink: 0;
}

.partner-label {
  color: #819aaa;
  font-size: 20px;
  font-family: Montserrat;
  font-weight: 500;
  text-align: center;
  margin-bottom: 15px;
}

.partner-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.partner-logos img {
  max-width: 100%;
  height: auto;
}

.reviews-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 20px;
  flex-wrap: wrap;
}

.reviews-link {
  color: #2e5065;
  font-size: 20px;
  font-family: Montserrat;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: 15px;
}

.reviews-link:hover {
  text-decoration: underline;
}

.rating-stars {
  width: 162px;
  height: 25px;
  display: block;
}

/* Адаптивность футера */
@media (max-width: 1200px) {
  .footer-grid {
    gap: 50px;
    justify-content: center;
  }

  .footer-col-courses,
  .footer-col-sections,
  .footer-col-contacts {
    width: 100%;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 40px 0 20px;
  }

  .footer-title {
    font-size: 24px;
  }

  .course-item span,
  .section-item span,
  .contact-item span {
    font-size: 16px;
  }

  .stat-title {
    font-size: 22px;
  }

  .subscribe-title {
    font-size: 22px;
  }

  .copyright,
  .license,
  .legal-info {
    font-size: 14px;
  }

  .form-row {
    flex-direction: column;
  }

  .telegram-block {
    flex-direction: column;
    text-align: center;
  }

  .partners-card {
    padding: 20px;
  }

  .partners-header {
    flex-direction: column;
    text-align: center;
  }

  .partners-row {
    flex-direction: column;
    align-items: center;
  }

  .partner-associations,
  .partner-clinic {
    width: 100%;
    max-width: 285px;
  }

  .partner-label,
  .reviews-link {
    font-size: 16px;
  }

  .reviews-row {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .partners-card {
    padding: 20px;
  }

  .partner-logos {
    flex-direction: column;
  }

  .btn-cabinet {
    width: 100%;
    justify-content: center;
  }
} /* Стили для чекбокса согласия в подписке */
.subscribe-checkbox {
  margin-top: 20px;
  margin-bottom: 0;
}

.subscribe-checkbox .checkbox-label {
  font-size: 12px;
  color: #fff;
}

.subscribe-checkbox .checkbox-label a {
  color: #fff;
  text-decoration: underline;
}

.subscribe-checkbox .checkbox-label a:hover {
  color: #fd6d00;
}

.subscribe-checkbox .checkbox-label input {
  width: 16px;
  height: 16px;
  margin-top: 1px;
}
