* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Jost", sans-serif;
  color: #000;
}
button {
  background: #10599d;
  color: #fff !important;
  border: none;
  padding: 10px;
  border-radius: 8px;
  font-size: clamp(14px, 13.43px + 0.18vw, 16px);
  transition: background-color 1ms ease-in;
  width: clamp(190px, 174px + 2.08vw, 204px);
  height: clamp(40px, 35.43px + 0.6vw, 44px);
  display: flex;
  align-items: center;
  justify-content: center;
}
button:hover {
  background: #168f8a;
}
a,
button {
  font-family: "Kodchasan", sans-serif;
  font-weight: 600;
  font-style: normal;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}
a {
  transition: color 1ms ease-in;
}
a:hover {
  color: #168f8a;
}

.container {
  max-width: 1194px;
  margin: 0 auto;
  padding-right: 20px;
  padding-left: 20px;
}
@media (max-width: 1000px) {
  .container {
    max-width: 808px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 672px;
    padding-right: 10px;
    padding-left: 10px;
  }
}

.title {
  font-size: clamp(24px, 19.43px + 1.43vw, 40px);
  line-height: clamp(30px, 24.86px + 1.61vw, 48px);
  font-style: italic;
  font-weight: 600;
}
main {
  background: #fafafa;
}

.header {
  border-bottom: 1px solid rgba(16, 89, 157, 0.2);
  position: relative;
  background-color: #fdfdfd;
}

.header-wrapper {
  padding: 16px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  font-size: clamp(12px, 9.71px + 0.71vw, 20px);
  font-weight: 500;
  line-height: clamp(18px, 15.14px + 0.89vw, 28px);
  font-style: italic;
  display: flex;
  gap: clamp(4px, 1.14px + 0.89vw, 14px);
  align-items: center;
}
.header__logo img {
  width: clamp(34px, 23.71px + 3.21vw, 70px);
  height: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, -12.36px + 3.64vw, 40px);
}

/* Стили для выпадающего меню */
.header__clubs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(16px, 6.91px + 0.91vw, 20px);
  cursor: pointer;
  position: relative;
}
.header__clubs-bridge {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 50px;
  background: transparent;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100%);
  left: 50%;
  transform: translateX(-50%);
  width: clamp(750px, 256.82px + 49.32vw, 967px);
  background: #fdfdfd;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: clamp(30px, 7.27px + 2.27vw, 40px) 20px;
  z-index: 1000;
  gap: clamp(40px, -96.36px + 13.64vw, 100px);
  justify-content: center;
}

/* .header__clubs:hover + .dropdown-menu,
.header__clubs-bridge:hover + .dropdown-menu,
.dropdown-menu:hover {
  display: flex;
} */

.dropdown-title {
  font-size: clamp(18px, 8.91px + 0.91vw, 22px);
  font-weight: 500;
  margin-bottom: clamp(8px, 3.45px + 0.45vw, 10px);
  font-style: italic;
  color: #000;
}

.dropdown-phone {
  font-size: clamp(16px, 11.45px + 0.45vw, 18px);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.dropdown-schools {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown-school {
  margin-bottom: 4px;
  font-size: clamp(16px, 11.45px + 0.45vw, 18px);
  color: #000;
}
.header__phone {
  font-size: clamp(16px, 11.45px + 0.45vw, 18px);
  color: #000;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__btn {
  width: clamp(190px, 174px + 2.08vw, 204px);
  height: clamp(40px, 35.43px + 0.6vw, 44px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__hamburger {
  display: none;
  font-size: 20px;
  cursor: pointer;
  flex-direction: column;
  gap: clamp(8px, 5.14px + 0.89vw, 12px);
}
.header__hamburger::before {
  content: "";
  display: block;
  height: 3px;
  width: clamp(32px, 22px + 3.13vw, 46px);
  background-color: #10599d;
}
.header__hamburger::after {
  content: "";
  display: block;
  height: 3px;
  width: clamp(32px, 22px + 3.13vw, 46px);
  background-color: #10599d;
}
.header__hamburger div {
  height: 3px;
  width: clamp(32px, 22px + 3.13vw, 46px);
  background-color: #10599d;
}
.header__hamburger:hover .header__hamburger__line,
.header__hamburger:hover::before,
.header__hamburger:hover::after {
  background-color: #168f8a;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 1000;
  padding: 20px;
  overflow-y: auto;
}

.mobile-menu__header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.mobile-menu__close {
  font-size: 35px;
  cursor: pointer;
  width: 28px;
  height: 28px;
  text-align: center;
  color: #10599d;
}
.mobile-menu__close:hover {
  color: #168f8a;
}

.mobile-menu__section {
  margin-bottom: 25px;
}

.mobile-menu__title {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 10px;
  font-style: italic;
}

.mobile-menu__phone {
  font-size: 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-menu__schools {
  list-style: none;
  padding: 0;
}

.mobile-menu__school {
  margin-bottom: 4px;
  font-size: 20px;
}

.sports__subtitle {
  font-size: clamp(14px, 12.29px + 0.54vw, 20px);
  margin-bottom: clamp(24px, 19.43px + 1.43vw, 40px);
  max-width: 610px;
  line-height: clamp(20px, 17.71px + 0.71vw, 28px);
}
.sports__subtitle span {
  font-weight: 500;
}

.sports {
  padding-top: clamp(30px, 18.57px + 3.57vw, 70px);
  padding-bottom: clamp(30px, 24.29px + 1.79vw, 50px);
  color: white;
}

.sports__wrapper {
  background-image: url(/images/hero-bg.jpg);
  padding: clamp(32px, 18.29px + 4.29vw, 80px)
  clamp(16px, -1.14px + 5.36vw, 76px);
  border-radius: 8px;
  background-size: cover;
  background-position: 100% 50%;
  background-repeat: no-repeat;
}

.sports__title {
  font-weight: bold;
  font-style: italic;
  margin-bottom: clamp(12px, 9.71px + 0.71vw, 20px);
}

.sports__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 5.71px + 0.71vw, 16px);
  margin-bottom: clamp(16px, 13.71px + 0.71vw, 24px);
}
/* @media (max-width: 768px) {
  .sports__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 5.71px + 0.71vw, 16px);
  margin-bottom: clamp(16px, 13.71px + 0.71vw, 24px);
}
} */
.sports__card {
  padding: clamp(13px, 7.29px + 1.79vw, 33px) clamp(12px, 8.57px + 1.07vw, 24px);
  text-align: center;
  position: relative;
  color: black;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  background: rgba(253, 253, 253, 0.65);
  filter: drop-shadow(0 0 0.75rem rgba(0, 0, 0, 0.16));
}
.sports__card::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
}
.sports__card:first-child::after {
  content: url(/images/basketball.svg);
}
.sports__card:nth-child(2)::after {
  content: url(/images/volleyball.svg);
}
.sports__card:nth-child(3)::after {
  content: url(/images/football.svg);
}

.sports__name {
  font-size: clamp(18px, 15.71px + 0.71vw, 26px);
  line-height: clamp(26px, 24.29px + 0.54vw, 32px);
  font-weight: 500;
  font-style: italic;
}

.sports__age {
  font-size: clamp(16px, 14.29px + 0.54vw, 22px);
}

.sports__free {
  background: linear-gradient(
          170deg,
          #fdfdfd 0%,
          rgba(23, 157, 156, 0) 57%,
          rgba(23, 157, 156, 0.3) 68%,
          rgba(22, 143, 138, 0.7) 79%,
          #10599d 100%
  ),
  linear-gradient(
          90deg,
          rgba(253, 253, 253, 0.9) 0,
          rgba(253, 253, 253, 0.9) 85%,
          rgba(253, 253, 253, 1) 100%
  );
  color: #000;
  padding: clamp(15px, 12.43px + 0.8vw, 24px)
  clamp(20px, 14.29px + 1.79vw, 40px);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(18px, 15.71px + 0.71vw, 26px);
  line-height: clamp(26px, 24.29px + 0.54vw, 32px);
  border-radius: 8px;
  border: 1px solid #168f8a;
  filter: drop-shadow(0 0 0.75rem rgba(0, 0, 0, 0.16));
}

.contacts {
  padding-top: clamp(30px, 24.29px + 1.79vw, 50px);
  padding-bottom: clamp(30px, 24.29px + 1.79vw, 50px);
}

.contacts__title {
  margin-bottom: clamp(12px, 8.57px + 1.07vw, 24px);
}

.contacts__info {
  line-height: 1.4;
  font-size: clamp(14px, 12.29px + 0.54vw, 20px);
}

.contacts__unified {
  margin-top: clamp(12px, 8.57px + 1.07vw, 24px);
  font-weight: 500;
  font-size: clamp(16px, 14.86px + 0.36vw, 20px);
  margin-bottom: clamp(24px, 20px + 1.25vw, 38px);
}
.contacts__common {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: clamp(6px, 4.86px + 0.36vw, 10px);
}

.contacts__clubs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 6px + 1.25vw, 24px);
}

.club {
  background: linear-gradient(
          130deg,
          #fdfdfd 0%,
          rgba(23, 157, 156, 0) 57%,
          rgba(23, 157, 156, 0.3) 68%,
          rgba(22, 143, 138, 0.7) 79%,
          #10599d 100%
  ),
  linear-gradient(#fdfdfd, #fdfdfd);
  padding: clamp(20px, 17.14px + 0.89vw, 30px)
  clamp(12px, 6.86px + 1.61vw, 30px);
  border-radius: 8px;
  filter: drop-shadow(0 0 0.75rem rgba(0, 0, 0, 0.16));
}

.club__name {
  font-size: clamp(18px, 15.71px + 0.71vw, 26px);
  line-height: 1.4;
  margin-bottom: clamp(8px, 6.86px + 0.36vw, 12px);
  font-style: italic;
  font-weight: 500;
}

.club__phone {
  font-size: clamp(16px, 14.86px + 0.36vw, 20px);
  margin-bottom: clamp(12px, 8.29px + 1.16vw, 25px);
  display: flex;
  gap: 10px;
}

.club__schools {
  list-style: none;
  padding: 0;
}

.club__school {
  margin-bottom: 4px;
  font-size: clamp(16px, 14.29px + 0.54vw, 22px);
  line-height: 1.4;
  font-weight: 500;
}

.about {
  padding-top: clamp(30px, 24.29px + 1.79vw, 50px);
  padding-bottom: clamp(60px, 48.57px + 3.57vw, 100px);
}
.about__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5.14px + 5.89vw, 90px);
  margin-bottom: clamp(24px, 19.43px + 1.43vw, 40px);
}

.about__text {
}
.about__logos {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}
.about__logos img {
  max-width: 30%;
  width: fit-content;
  height: fit-content;
}
@media (max-width: 1000px) {
  .about__wrapper {
    grid-template-columns: 2fr 1fr;
    gap: 50px;
  }
  .about__logos img {
    max-width: clamp(78px, 48.21px + 3.88vw, 87px);
    width: fit-content;
    height: fit-content;
  }
}
@media (max-width: 767px) {
  .about__wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .about__logos {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: center;
  }
  .about__logos img {
    justify-self: center;
  }
}

.about__title {
  margin-bottom: clamp(12px, 9.71px + 0.71vw, 20px);
}

.about__goal {
  font-size: clamp(14px, 12.29px + 0.54vw, 20px);
  line-height: 1.4;
}
.about__goal span {
  font-weight: 500;
}

.about__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(10px, 4.29px + 1.79vw, 30px);
}

.feature {
  background: linear-gradient(
          140deg,
          #10599d 0%,
          rgba(22, 143, 138, 0.7) 10%,
          rgba(23, 157, 156, 0.3) 15%,
          rgba(23, 157, 156, 0) 20%,
          #fdfdfd 100%
  ),
  linear-gradient(#fdfdfd, #fdfdfd);
  padding: clamp(16px, 9.14px + 2.14vw, 40px) clamp(12px, 4px + 2.5vw, 40px);
  border-radius: 8px;
  filter: drop-shadow(0 0 0.75rem rgba(0, 0, 0, 0.16));
}
@media (max-width: 767px) {
  .feature {
    background: linear-gradient(
            140deg,
            #10599d 0%,
            rgba(22, 143, 138, 0.7) 15%,
            rgba(23, 157, 156, 0.3) 20%,
            rgba(23, 157, 156, 0) 30%,
            #fdfdfd 100%
    ),
    linear-gradient(#fdfdfd, #fdfdfd);
  }
}

.feature__title {
  font-size: clamp(18px, 14px + 1.25vw, 32px);
  font-style: italic;
  font-weight: 600;
  margin-bottom: clamp(12px, 10.86px + 0.36vw, 16px);
}

.feature__list {
  list-style: none;
  padding: 0;
}

.feature__item {
  margin-bottom: 9px;
  font-size: clamp(14px, 12.29px + 0.54vw, 20px);
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer {
  background: #283547;
  color: #fff;
  padding-top: clamp(30px, 22px + 2.5vw, 58px);
  padding-bottom: clamp(16px, 14.86px + 0.36vw, 20px);
}
.footer-wrapper {
  display: flex;
  gap: clamp(24px, 19.43px + 1.43vw, 40px);
  justify-content: space-between;
  align-items: flex-start;
}

.footer__org {
  font-size: clamp(12px, 9.71px + 0.71vw, 20px);
  font-style: italic;
  font-weight: 500;
  display: flex;
  gap: clamp(12px, 10.86px + 0.36vw, 16px);
  align-items: center;
}
.footer__org img {
  height: auto;
  width: clamp(48px, 35.43px + 3.93vw, 92px);
}

.footer__clubs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, -1.71px + 4.29vw, 60px);
}

.footer__club {
  text-align: left;
}

.footer__copyright {
  color: #cecece;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: clamp(40px, 28.57px + 3.57vw, 80px);
}
.footer__copyright div {
  display: flex;
  gap: clamp(4px, -9.14px + 4.11vw, 50px);
}
.footer__copyright a {
  text-decoration: underline;
}

.footer__name {
  font-size: clamp(14px, 12.29px + 0.54vw, 20px);
  line-height: 1.4;
  margin-bottom: clamp(4px, 2.86px + 0.36vw, 8px);
}

.footer__phone {
  font-size: clamp(14px, 12.86px + 0.36vw, 18px);
  margin-bottom: clamp(6px, 4px + 0.63vw, 13px);
  display: flex;
  gap: 10px;
}

@media (max-width: 1399.99px) {
  .footer__org {
    flex-direction: column;
    align-items: start;
  }
  .footer__phone {
    font-size: 14px;
  }
  .footer-wrapper {
    padding-right: 10px;
    padding-left: 10px;
  }
}
@media (max-width: 768px) {
  .footer-wrapper {
    display: flex;
    gap: clamp(24px, 19.43px + 1.43vw, 40px);
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
  }
  .footer__org {
    flex-direction: row;
    align-items: center;
  }
  .footer__copyright {
    gap: clamp(4px, -9.14px + 4.11vw, 50px);
    flex-direction: column;
    align-items: flex-start;
  }
  .footer__copyright div {
    flex-direction: column;
  }
}

.footer__schools {
  list-style: none;
  padding: 0;
}

.footer__school {
  margin-bottom: 2px;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.modal-wrapper {
  display: flex;
  max-width: 900px;
  width: 90%;
  height: 338px;
  border-radius: 8px;
  overflow: hidden;
  min-height: fit-content;
}
.modal__img {
  /* height: 100%; */
  width: auto;
}
.modal__img img {
  height: 100%;
}
.modal__content {
  background: #fff;
  padding: clamp(20px, 17.14px + 0.89vw, 30px)
  clamp(20px, 14.29px + 1.79vw, 40px);
  min-height: fit-content;
  /* max-width: 900px;
  width: 90%; */
  flex: 1;
}
@media (max-width: 768px) {
  .modal-wrapper {
    max-width: 500px;
    /* height: 360px; */
  }
  .modal__img {
    display: none;
  }
}
.modal__title {
  margin-bottom: clamp(10px, 8.57px + 0.45vw, 15px);
  line-height: 1.4;
}

.modal__subtitle {
  margin-bottom: clamp(12px, 11.14px + 0.27vw, 15px);
  font-size: clamp(16px, 15.43px + 0.18vw, 18px);
  line-height: 1.4;
}

.modal__form {
  display: flex;
  flex-direction: column;
}

.modal__input {
  padding: 12px;
  border: 1px solid #999999;
  font-size: clamp(14px, 13.43px + 0.18vw, 16px);
  border-radius: 4px;
  display: flex;
  gap: 12px;
  background: #fdfdfd;
  margin-bottom: clamp(16px, 13.71px + 0.71vw, 24px);
}
.modal__input input {
  outline: none;
  border: none;
  background: transparent;
}

.modal__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  margin-top: 10px;
  color: #999999;
}
.modal__checkbox a {
  font-family: inherit;
  font-weight: inherit;
  text-decoration: underline;
}

.modal__checkbox input {
  border-color: #999999;
  cursor: pointer;
  margin-top: 4px;
}
.modal__checkbox input:hover {
  border-color: white !important;
}
@media (max-width: 480px) {
  .modal__btn {
    width: 100%;
  }
}
@media (max-width: 600px) {
  .header__btn {
    display: none;
  }
}
@media (max-width: 800px) {
  .header__hamburger {
    display: flex;
  }
}
@media (max-width: 800px) {
  .header__clubs {
    display: none;
  }

  .header__phone {
    display: none;
  }
  .header__hamburger {
    display: flex;
  }
}

@media (max-width: 768px) {
  .sports__grid,
  .about__features {
    grid-template-columns: 1fr;
  }
  .contacts__clubs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .club:not(:last-child) {
    max-width: 100%;
    width: max-content;
    flex-grow: 2;
  }
  .club:last-child {
    max-width: 50%;
    width: max-content;
    flex-grow: 1;
  }
}
@media (max-width: 550px) {
  .footer__clubs {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 10px 15px;
  }

  .hero,
  .contacts,
  .about {
    padding: 30px 15px;
  }

  .sports__grid,
  .contacts__clubs,
  .about__features,
  .footer__clubs {
    max-width: 100%;
  }
  .club:last-child {
    max-width: 100%;
    width: max-content;
    flex-grow: 2;
  }
}
@media (max-width: 768px) {
  .sports .container {
    padding: 0;
    margin: 0;
    max-width: 100%;
  }
  .sports {
    padding: 0;
  }

  .sports__wrapper {
    border-radius: 0;
    background-position: 5% 50%;
  }
}

.mobile-menu--active {
  display: block;
}

/* Адаптация для мобильных устройств */
@media (max-width: 800px) {
  .header__clubs {
    display: none;
  }
}

.dropdown-container {
  /* position: relative; */
}

.header__clubs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(16px, 6.91px + 0.91vw, 20px);
  cursor: pointer;
  /* position: relative; */
  padding: 8px 0;
}

.header__clubs.active svg {
  transform: rotate(180deg);
}

.header__clubs svg {
  transition: transform 0.3s ease;
}

.dropdown-menu.active {
  display: flex;
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 10px;
  background: transparent;
}

.dropdown-menu {
  z-index: 1001;
}

.modal {
  z-index: 1000;
}

.dropdown-menu.active {
  z-index: 1002;
}

.dropdown-overlay {
  display: none;
}
/* .modal__input {
  position: relative;
}

.modal__input input {
  padding-left: 40px;
}

.phone-mask {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #999;
  font-size: 16px;
  z-index: 1;
}

.phone-mask span {
  color: transparent;
}

.modal__input input {
  background: transparent;
  position: relative;
  z-index: 2;
  color: #000;
} */
@media (max-width: 800px) {
  .dropdown-container {
    display: none !important;
  }
}