/* services */

.services1 {
  width: 100%;
  margin-top: 20px;
}
.services2 {
  width: 100%;
  margin-top: 20px;
}

@media screen and (min-width: 1436px) {
  .services-container {
    display: flex;
    align-items: center;
    gap: 36px;

    .title {
      font-size: 98px;
    }
  }

  .services2 {
    width: 560px;
    margin: 0;
    flex-shrink: 0;
  }

  .services1 {
    margin-top: 36px;
  }
}

/* services list  */

.services-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.services-item {
  border-radius: 10px;
  padding: 26px 16px;
  border: 1px solid #fff;
  background-color: #1c1718;

  h5 {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 24px;
    line-height: 133%;
    text-align: center;
    background: linear-gradient(180deg, #9740ff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 28px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    background: linear-gradient(180deg, #fdfdfd 0%, #5c5c5c 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
  }

  ul {
    padding-left: 20px;
    list-style: disc;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    color: #fff;
    opacity: 0.7;
  }
}

@media screen and (min-width: 768px) {
  .services-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .services-item {
    width: calc((100% - 24px) / 2);
  }
}

@media screen and (min-width: 1436px) {
  .services-item {
    width: calc((100% - 72px) / 4);
  }
}

/* price  list  */

.price-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.price-item {
  padding: 56px 0;
  border: 1px solid #fff;
  border-radius: 40px;
  background: linear-gradient(180deg, #201a37 0%, #0b071b 100%);
}

.price-title {
  padding: 4px 16px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 28px;

  h5 {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 36px;
    line-height: 133%;
    text-align: center;
    color: #fff;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 28px;
    line-height: 114%;
    text-align: center;
    color: #fff;
  }
}

.price-item-list {
  display: flex;
  flex-direction: column;
  list-style: disc;
  padding: 0 24px;
  padding-left: 48px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #fff;
  opacity: 0.7;
  margin-bottom: 24px;
}

.price-link {
  display: block;
  width: fit-content;
  margin: 0 auto;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: -0.02em;
  color: #fff;

  border-radius: 48px;
  padding: 8px 32px;
  background-color: #7f60ff;
  transition: background-color 0.3s ease;
}

.price-link:hover,
.price-link:focus {
  background-color: #2b0bab;
}

@media screen and (min-width: 768px) {
  .price-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .price-item {
    width: calc((100% - 24px) / 2);
  }
}

@media screen and (min-width: 1436px) {
  .price-list {
    gap: 44px;
    justify-content: center;
  }

  .price-item {
    width: 366px;
  }
}

/* player  */

.player {
  width: 100%;
  margin-top: 24px;
}

@media screen and (min-width: 1436px) {
  .player-container {
    display: flex;
    gap: 88px;
    align-items: center;
  }

  .player {
    width: auto;
    margin: 0;
    flex-shrink: 0;
  }
}

/* contact */

.contact-img {
  width: 100%;
  height: 472px;
  border-radius: 24px;
  overflow: hidden;
  background-image: url(../img/contact.jpg);
  background-position: center;
  background-size: cover;
  margin-top: 24px;
}

/* mail  */

.mail-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 156%;
  text-transform: capitalize;
  color: #fff;

  a {
    transition: color 0.3s ease;
  }

  a:hover,
  a:focus {
    color: #913aff;
  }
}

.hours-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 24px;
  line-height: 117%;
  text-transform: capitalize;
  background: linear-gradient(180deg, #302092 0%, #9740ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

.hours-list {
  display: flex;
  flex-direction: column;
  padding-left: 20px;
  list-style: disc;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 156%;
  text-transform: capitalize;
  color: #fff;
}

.mail-img {
  width: 100%;
  border-radius: 24px;
  margin-top: 24px;
}

@media screen and (min-width: 1436px) {
  .mail-container {
    display: flex;
    align-items: center;
    gap: 52px;
  }

  .mail-img {
    width: auto;
    border-radius: 24px;
    margin: 0;
    flex-shrink: 0;
  }
}

/* map  */

.map-container {
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.map-list {
  display: flex;
  flex-direction: column;
  padding-left: 20px;
  list-style: disc;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  text-transform: capitalize;
  color: #fff;
  margin-bottom: 24px;
}

.map-img {
  width: 100%;
}

/* важно: у контейнера карты должна быть высота */
.map-frame {
  height: 300px;
  border-radius: 24px;
  overflow: hidden;
  margin-top: 24px;
}

.leaflet-container {
  background: #fff;
}

@media screen and (min-width: 768px) {
  .map-frame {
    height: 320px;
  }
}

@media screen and (min-width: 1436px) {
  .map-container {
    flex-direction: row;
    gap: 88px;
  }

  .map-frame {
    display: block;
    width: 600px;
    height: 300px;
    flex-shrink: 0;
    margin: 0;
    margin-top: 24px;
  }
}

/* social */

.social-text {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 20px;
  line-height: 140%;
  text-transform: capitalize;
  text-align: center;
  background: linear-gradient(180deg, #302092 0%, #9740ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 24px;
}

.social-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;

  a {
    display: block;
    width: 44px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
  }

  a:hover,
  a:focus {
    opacity: 1;
  }
}
@media screen and (min-width: 1436px) {
  .social-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 72px;
  }

  .social-text {
    font-size: 24px;
    margin: 0;
  }
}

/* last-container  */

@media screen and (min-width: 1436px) {
  .last-container {
    justify-content: space-between;
  }
}

/* ********************* */

.hidden {
  display: none;
}

.menu-transform {
  transform: translateY(0);
}

.click {
  background-image: url(../img/minus.png);
  transform: rotate(180deg);
}

.popup-click {
  transform: translateY(130%) translateX(-50%);
}

.overflow {
  overflow: hidden;
}
