
body {
    font-family: 'Lora', serif; 
    background-color: #E8E4D9 !important;
    color: rgb(34 34 34) !important;
}
  
main{
    /* background: url('../images/background-dark2.webp') no-repeat; */
    background-size: contain;
    background-position: center;
}

html,body{
  box-sizing: border-box;
}
h1, h2, h3, h4, h5, h6 {  
    font-family: 'Montserrat', sans-serif; 
}
@keyframes levitate {
    0% {
      transform: translateY(0) translateX(0);
    }
    50% {
      transform: translateY(-10px) translateX(-10px);
    }
    100% {
      transform: translateY(0) translateX(0);
    }
  }
  
  .intro {
    width: 100%;
    height:640px;
    /* background: url('../images/background.png') no-repeat center; */
    background-size: 500px;
    /* animation: levitate 10s ease-in-out infinite; */
    position: relative;
  }
  .intro::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 600px;
    height: 600px;
    background: url('../images/fialka-hd.webp') no-repeat center center;
    background-size: contain;
    z-index: 2;
    transform: translate(-50%, 0);
  }
  .main__header{
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%,-50%) !important;
    font-size: 40px;
    font-weight: 900;
    text-align: center;
    background-color: #ca7954;
    color: #efefef;
    padding: 5px 10px;
    border-radius: 5px;
    
  }
  .zix{
    z-index: 3;
  }
  .description{
    max-width: 400px;
    width: 100%;
    font-family: 'Lora', serif;
    font-size: 18px;
    z-index: 10;
  }
  .description span{
    display: block;
    font-size: 35px;
    font-weight: 900;
    color: rgb(34 34 34);
  }
  .mission{
    max-width: 400px;
    width: 100%;
    height: 200px;
    text-align: center;
    background:url('../images/mazok.webp')no-repeat;
    background-size: contain;
    display: flex;
    justify-content: center;
    align-items: center;
    transform:rotate(5deg);
    background-position: 0 20px;
  }
  .mission span{
    font-family: 'Montserrat', sans-serif;
    width: 70%;
    transform: rotate(-5deg);
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    position: relative;
    top: -15px;
    text-transform: uppercase;
  }
  .to-tarrifs{
    padding: 20px;
    width: 100%;
    max-width: 400px;
    border: 3px solid #8B4513;
    border-radius: 10px;
    font-size: 20px;
    margin: 0 auto;
  }
  .to-tarrifs span{
    color: #8B4513;
    font-weight: 700;
    
  }
  .arrow{
    height: 70px;
    display: block;
    transform: rotate(-90deg);
    margin: 0 auto;
  }
  .custom-button {
    display: block;
    margin: 20px auto;
    padding: 15px 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: #333;
    text-transform: uppercase;
    text-decoration: none;
    background: linear-gradient(135deg, #D3D3D3, #8B4513);
    border-radius: 50px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
  }
  
  .custom-button:hover {
    background: linear-gradient(135deg, #E8E4D9, #A0522D);
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
  }

  
  .custom-button:active {
    transform: translateY(0);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  .img-wrapper{
    display: none;
  }
  
.target-audience {
    padding: 60px 20px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin: 0  auto 40px auto;
  }
  
  .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
    position: relative;
  }
  
  .section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #ffb347, #ffcc33);
    margin: 20px auto;
    border-radius: 2px;
  }
  
  .audience-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
  }
  
  .audience-card {
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 300px;
    text-align: center;
    transition: all 0.3s ease;
  }
  
  .audience-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  }
  
  .icon {
    font-size: 3rem;
    color: #8B4513;
    margin-bottom: 15px;
  }
  
  .audience-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
  }
  
  .audience-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
  }
  .reviews {
    padding: 60px 0;
    background-color: #A0522D ;
}

.glide {
    max-width: 900px;
    margin: 0 auto;
    padding: 28px 24px 22px;
    background-color: #ca7954;
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.glide__slides {
    display: flex;
    justify-content: center; /* Центрируем слайды */
}

.glide__slide {
    flex: 0 0 auto;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.glide__slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-width: 100vw;
}

.testimonial-photo {
    width: 100%;
    max-width: 270px;
    height: 540px;
    border-radius: 20px;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 12px 28px rgba(60, 25, 8, 0.28);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 18px 34px rgba(60, 25, 8, 0.36);
}

.course-preview-card {
    position: relative;
    overflow: hidden;
    margin-bottom: 18px;
    border-radius: 18px;
    background: #000;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.course-preview-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(21, 10, 4, 0.08), rgba(21, 10, 4, 0.4));
    pointer-events: none;
}

.course-preview {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    background: #000;
    object-fit: cover;
}

.course-preview-card.is-playing::after {
    display: none;
}

.course-preview-play {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: 78px;
    height: 78px;
    border: none;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 248, 239, 0.94);
    color: #8B4513;
    font-size: 28px;
    box-shadow: 0 14px 30px rgba(34, 16, 5, 0.28);
    transition: transform 0.25s ease, background-color 0.25s ease, opacity 0.25s ease;
    z-index: 2;
}

.course-preview-play:hover {
    transform: translate(-50%, -50%) scale(1.05);
    background: #fff;
}

.course-preview-card.is-playing .course-preview-play {
    opacity: 0;
    pointer-events: none;
}

.glide__arrow {
    background-color: #000 !important;
    color: #FFCC33 !important;
    border-radius: 50%;
    padding: 10px;
    width: 45px;
    height: 45px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.glide__arrow:hover {
    background-color: #FFCC33;
    color: #000;
}
.swal2-popup.custom-modal {
    background-color: #1a1a1a !important;
    padding: 0 !important;
}

.swal2-close {
    color: #ffcc33 !important; /* Желтая кнопка закрытия */
}
.swal2-image{
    height: 100%;
    max-height: 700px;
}

.reviews .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #ffb347, #ffcc33);
    margin: 20px auto;
    border-radius: 2px;
}

.tarrifs{
width: 100%;
min-height: 100vh;
background-size: cover;

}
.tarrifs__title::after{
  display: none;
}

.tarrifs__title{
  color: #efefef;
  padding: 10px 15px;
  background-color:#ca7954;
  display: block;
  margin: 20px auto;
  max-width: 650px;
  text-align: center;
  width: 100%;
  border-radius: 10px;
  margin-bottom: 30px;
}
.tarrif__item{
  width: 30% !important;
  padding: 18px;
  background-color: #f5f4f0;
  border-radius: 18px;
  box-shadow: 0 18px 34px rgba(102, 67, 37, 0.12);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.best-seller-badge {
  position: absolute;
  top: 22px;
  right: -44px;
  z-index: 2;
  width: 165px;
  padding: 8px 0;
  background: linear-gradient(135deg, #d94343, #9f1f1f);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 8px 16px rgba(159, 31, 31, 0.22);
  transform: rotate(45deg);
  transform-origin: center;
}

.tarrifs h3{
  text-align: center;
  margin-bottom: 20px;
}
.tarriff__item-header{
  text-align: center;
  text-transform: uppercase;
  font-weight: 600;
  margin-top:30px;
  margin-bottom: 30px;
  font-size: 20px;
}
.tarrif__item ul li{
  list-style-type: none;
  margin-bottom: 10px;
}
.tarrif__item ul li i{
  font-size: 20px;
  margin-right: 10px;
}
.custom-button {
  display: inline-block;
  padding: 15px 30px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(135deg, #cb9771, #8B4513);

  border-radius: 50px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
  width: 100%;
}
.description-mob{
  display: none;
}
.custom-button:hover {
  background: linear-gradient(135deg, #E8E4D9, #A0522D);

  box-shadow: 0 15px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.custom-button:active {
  transform: translateY(0);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}
.price{
  font-size: 20px;
  text-align: center;
}

.price-sale {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid #edd6c2;
  border-radius: 18px;
  background: linear-gradient(180deg, #fffaf5 0%, #f7ebe0 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 24px rgba(155, 104, 59, 0.08);
  margin-bottom: 8px;
}

.price-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9b6b44;
}

.price-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.price-old {
  color: #b48463;
  font-size: 18px;
  font-weight: 600;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: #ca7954;
  opacity: 0.8;
  white-space: nowrap;
}

.price > span{
  color: #ca7954;
  font-size: 40px;
  font-weight: bold;
}

.price-current {
  color: #c93a2f;
  font-size: 42px;
  font-weight: bold;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff2bf;
  color: #7a4d00;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 14px rgba(122, 77, 0, 0.16);
  white-space: nowrap;
}

.tarrif__item .price {
  margin-top: auto;
}

.tarrif__item .custom-button {
  margin-top: 16px;
  margin-bottom: 0;
}
.dop{
  text-align: center;
  max-width: 650px;
  width: 100%;
  margin: 60px auto;
}
.dopki .tarrif__item{
  background-color: #f5f4f0;
}
.site-footer {
  margin-top: 100px;
  padding: 0;
  background:
    linear-gradient(135deg, rgba(255, 204, 0, 0.08), transparent 30%),
    linear-gradient(315deg, rgba(0, 102, 0, 0.12), transparent 34%),
    #24130d;
  color: #fff8ef;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  display: block;
  height: 7px;
  background: linear-gradient(90deg, #006600 0 40%, #ffcc00 40% 46%, #ff0000 46% 100%);
}

.site-footer .container {
  padding-top: 46px;
  padding-bottom: 28px;
}

.footer__wrapper {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(300px, 1fr);
  gap: 50px;
  align-items: start;
}

.footer-social h3,
.footer-contact h3 {
  margin: 0 0 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: #fff;
}

.footer-social h3,
.footer-contact h3 {
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-contact p {
  margin: 0;
  line-height: 1.6;
  color: rgba(255, 248, 239, 0.78);
}

.footer-social,
.footer-contact {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

/* Стили для кнопки */
.contact-button {
  background: linear-gradient(135deg, #cb9771, #8B4513);

  color: #fff;
  font-size: 18px;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: center;
  text-decoration: none;
}

.contact-button:hover {
  background-color: #ff8a00;
  color: #fff;
}

.footer-contact-button {
  width: fit-content;
  margin: 18px 0 0;
  padding: 14px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff8ef, #ffdca4);
  color: #7a3d14;
  font-size: 15px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
}

.footer-contact-button:hover {
  background: #fff;
  color: #7a3d14;
}

.social-links {
  display: flex;
  gap: 10px;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 248, 239, 0.18);
  border-radius: 999px;
  color: #fff8ef;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  background: rgba(255, 248, 239, 0.075);
  transition: background-color 0.25s ease, transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.social-links a span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  background: rgba(255, 248, 239, 0.13);
  color: #ffdca4;
}

.social-links a:hover {
  color: #fff;
  background: rgba(255, 248, 239, 0.13);
  border-color: rgba(255, 220, 164, 0.4);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  justify-content: center;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 248, 239, 0.14);
  color: rgba(255, 248, 239, 0.62);
  font-size: 14px;
}

/* Стили для попапа */
.popup {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.popup-content h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #333;
}

.popup-content p {
  margin-bottom: 20px;
  font-size: 14px;
  color: #666;
}

.popup-content input,
.popup-content select {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

.popup-content .submit-button {
  background: linear-gradient(135deg, #cb9771, #8B4513);
  color: #fff;
  font-size: 16px;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.popup-content .submit-button:hover {
  background-color: #ff8a00;
}

/* Кнопка закрытия попапа */
.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  color: #333;
  cursor: pointer;
}

@media (max-width: 768px) {
  .price-line {
    flex-wrap: wrap;
  }

  .price-current {
    font-size: 36px;
  }

  .course-preview-play {
    width: 66px;
    height: 66px;
    font-size: 24px;
  }

  .testimonial-photo {
    max-width: 235px;
    height: 460px;
  }

  .glide {
    padding: 22px 14px 18px;
  }

  .tarrifs{
    padding: 30px;
  }

    .pricing-card, .material-card {
        margin-bottom: 20px;
    }

    .pricing-card-title, .price, .btn {
        font-size: 1.4rem;
    }
    .site-footer{
      margin-top: 40px !important;
    }
}

  @media(max-width:1200px){
 
    .description {
        text-align: center;
        display: none;
    }
    
    .description-mob{
      display: block;
    }
    h1.main__header {
        font-size: 20px;
        display: none;
    }
    .intro{
        flex-direction: column;
        height: 100%;
        background-size:200px;
        /* padding-top: 140px; */
        background: #E8E4D9;
    }
    .intro::after {
      display: none;
      }
      main{
        background:#E8E4D9;
      }
      .img-wrapper{
        display: block;
        margin: 0 auto;
        position: relative;
      }
      .img-wrapper  .img-mob{
        width: 85%;
        max-width: 550px;
        display: block; 
        margin: 0 auto;
      }
      .description {
        background-color: #E8E4D9;
        padding: 10px;
        max-width: 1000px;
        opacity: .88 !important;
        position: absolute;
        bottom: 0;
      }
      .mission {
        margin: 0 auto;
      }
      .to-tarrifs{
        text-align: center;
      }
      .mission span{
        font-size: 14px;
        width: 80%;
        top: -20px;
      }
      .del{
        display: none  !important;
      }

  }
  @media(max-width:1000px){
    .footer__wrapper {
      grid-template-columns: repeat(2, minmax(220px, 1fr));
      gap: 32px;
    }

    .items{
      flex-direction: column;
    }
    .row.items.dopki .tarrif__item,
    .tarrif__item{
      width: 100% !important;
      margin-bottom: 20px;
      display: flex;
      flex-direction: column;
      align-items: center;
      box-sizing: border-box;
    }
    .custom-button{
      width: 100%;
      max-width: 400px;
      display: block;
    }
  }
  @media(max-width:500px){
    .mission span{
        font-size: 14px !important;
        width: 80%;
        top: -30px;
      }
      .description  span{
        font-size: 30px;
        margin-top: 20px;
      }
      .section-title{
        font-size: 30px;
      }
      .audience-card h3{
        font-size: 20px;
      }
      .description{
        /*top: 250px;*/
      }
      .mission{
        height: 160px;
        z-index:20;

      }
      .to-tarrifs{
        z-index: 22222222222;
      }
      .footer__wrapper{
        grid-template-columns: 1fr;
        gap: 28px;
        padding-left: 16px;
        padding-right: 16px;
      }

      .footer-social,
      .footer-contact {
        align-items: center;
        text-align: center;
      }

      .social-links {
        justify-content: center;
      }

      .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: 32px;
        padding-left: 16px;
        padding-right: 16px;
      }
    
  }

@media(max-width:400px){
  .mission span{
    font-size: 12px !important;
    margin-top:45px;
  }
  .description span{
    font-size: 25px;
  }
  .description {
    font-size: 15px;
  }
  .mission span{
      font-size: 14px;
      width: 80%;
      top: -40px;
    }
    .description{
    }
}
.row.items.dopki .tarrif__item {
  width: 30%;
  text-align: center;
}
.row {
  display: flex;
  flex-wrap: wrap;
  justify-content:left;
  gap: 65px;
}

