@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');


body {
  margin: 0;
  background: #e9e9e9;
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight:500;
  font-style: normal;
}

.container {
  width: 1200px;
  margin: 0 auto;
}

.hero {
    padding: 40px 20px;
}
.hero__content {
    position: relative;
    background: linear-gradient(90deg, rgb(0 0 0 / 91%) 30%, rgb(0 0 0 / 84%) 60%, rgb(0 0 0) 100%), url(../images/222.jpg) right center / cover no-repeat;
    border-radius: 30px;
    padding: 80px;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    overflow: hidden;
}

.hero__badge {
  display: inline-block;
  padding: 10px 25px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50px;
  font-size: 14px;
  margin-bottom: 30px;
}

.her__img {
    position: absolute;
    right: 0;
    top: -147px;
}


.hero__title {
  font-size: 60px;
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 40px 0;
}

.hero__title span {
  display: block;
}

.hero__bottom {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero__btn {
  display: inline-block;
  padding: 18px 40px;
  background: linear-gradient(90deg, #ff00a8, #ff007a);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.3s;
}

.hero__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 0, 140, 0.4);
}

.hero__text {
  font-size: 18px;
  max-width: 300px;
  opacity: 0.9;
}


.header {
  background: #fff;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---------- ЛОГО ---------- */

.header__logo {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__logo img {
  height: 45px;
}

.header__logo span {
  font-size: 14px;
  color: #555;
  line-height: 1.3;
}

/* ---------- МЕНЮ ---------- */

.header__nav ul {
  display: flex;
  gap: 35px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.header__nav a {
  text-decoration: none;
  color: #111;
  font-size: 16px;
  font-weight: 500;
  position: relative;
  transition: 0.3s;
}

.header__nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ff007a;
  transition: 0.3s;
}

.header__nav a:hover::after {
  width: 100%;
}

.header__nav a:hover {
  color: #ff007a;
}

/* ---------- КОНТАКТЫ ---------- */

.header__contacts {
  display: flex;
  align-items: center;
  gap: 25px;
}

.header__mail {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.3s;
}

.header__mail:hover {
  color: #ff007a;
}

/* соц сети */

.header__social {
  display: flex;
  gap: 10px;
}

.header__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f3f3;
  transition: 0.3s;
}

.header__social img {
  width: 25px;
}

.header__social a:hover {
  background: #ff007a;
}

/* телефон */

.header__phone {
  display: flex;
  flex-direction: column;
}

.header__phone a {
  text-decoration: none;
  font-weight: 600;
  color: #111;
}

.header__phone span {
  font-size: 13px;
  color: #ff007a;
  cursor: pointer;
}


.courses{
  padding:80px 0;
  background:#f5f5f5;
}

.courses__title{
  text-align:center;
  font-size:40px;
  margin-bottom:50px;
}

.courses__grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

/* ---------- CARD ---------- */

.course-card{
  background:#fff;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,0.05);
  transition:.3s;
}

.course-card:hover{
  transform:translateY(-5px);
  box-shadow:0 15px 40px rgba(0,0,0,0.08);
}

.course-card__image img{
  width:100%;
  height:220px;
  object-fit:cover;
  display:block;
}

.course-card__body{
  padding:25px;
}

.course-card__duration{
  font-size:14px;
  color:#777;
  margin-bottom:10px;
}

.course-card__name{
  font-size:20px;
  margin:0 0 15px 0;
}

.course-card__desc{
  font-size:15px;
  color:#555;
  margin-bottom:20px;
}

.course-card__price{
  font-size:22px;
  font-weight:700;
  margin-bottom:20px;
}

/* ---------- INSTALLMENT ---------- */

.course-card__installment{
  background:#f2f2f2;
  padding:18px;
  border-radius:12px;
  margin-bottom:20px;
}

.installment__top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:8px;
}

.installment__sale{
  background:#e5dfd2;
  padding:6px 12px;
  border-radius:50px;
  font-size:13px;
}

.installment__old{
  font-size:14px;
  text-decoration:line-through;
  color:#888;
}

.installment__new{
  font-size:20px;
  font-weight:700;
  margin:5px 0;
}

.installment__bottom{
  font-size:13px;
  color:#666;
}

/* ---------- BUTTONS ---------- */

.course-card__buttons{
  display:flex;
  gap:10px;
}

.btn{
  flex:1;
  text-align:center;
  padding:12px;
  border-radius:10px;
  text-decoration:none;
  font-size:14px;
  transition:.3s;
}

.btn--light{
  border:1px solid #ddd;
  color:#222;
  background:#fff;
}

.btn--light:hover{
  background:#f7f7f7;
}

.btn--dark {
    background: #000;
    color: #fff;
    background: linear-gradient(90deg, #ff00a8, #ff007a);
    padding: 15px 0px;
}
.btn--dark:hover{
  background:#333;
}


.skills{
  padding:100px 0;
  background:#f7f7f7;
}

.skills__title{
  text-align:center;
  font-size:42px;
  font-weight:700;
  margin-bottom:60px;
  line-height:1.3;
}

.skills__grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:30px;
}

.skill-card{
  background:#fff;
  border-radius:18px;
  padding:35px 25px;
  text-align:left;
  box-shadow:0 10px 25px rgba(0,0,0,0.04);
  transition:.3s;
  border:1px solid #eee;
}

.skill-card:hover{
  transform:translateY(-6px);
  box-shadow:0 15px 35px rgba(0,0,0,0.07);
}

.skill-card__icon{
  font-size:32px;
  margin-bottom:20px;
  color:#c79c6e; /* теплый бежевый */
}

.skill-card p{
  font-size:15px;
  color:#555;
  line-height:1.6;
  margin:0;
}


.gallery{
  padding:100px 0;
  background:#f7f7f7;
}

.gallery__title{
  text-align:center;
  font-size:40px;
  margin-bottom:40px;
  text-transform:lowercase;
}

.gallery__tabs{
  display:flex;
  justify-content:center;
  gap:10px;
  background:#eee;
  padding:8px;
  border-radius:50px;
  width:max-content;
  margin:0 auto 50px;
}

.gallery__tab{
  border:none;
  background:transparent;
  padding:12px 30px;
  border-radius:40px;
  cursor:pointer;
  font-size:15px;
  transition:.3s;
}

.gallery__tab.active{
  background:#fff;
  box-shadow:0 5px 15px rgba(0,0,0,0.08);
  font-weight:600;
}

.gallery__grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:25px;
}

.gallery__grid a{
  display:block;
  border-radius:20px;
  overflow:hidden;
}

.gallery__grid img{
  width:100%;
  height:260px;
  object-fit:cover;
  transition:.4s;
}

.gallery__grid a:hover img{
  transform:scale(1.05);
}

/* скрытие табов */
.gallery__content{
  display:none;
  animation:fade .4s ease;
}

.gallery__content.active{
  display:block;
}

@keyframes fade{
  from{opacity:0; transform:translateY(10px);}
  to{opacity:1; transform:translateY(0);}
}


.help{
  padding:120px 0;
  background:#ff00a82b;
}

.help__wrapper{
  display:flex;
  justify-content:space-between;
  gap:80px;
  align-items:flex-start;
}

.help__content{
  max-width:520px;
}

.help__title{
  font-size:46px;
  line-height:1.2;
  font-weight:500;
  margin-bottom:30px;
}

.help__title span{
  color:#ff00a8;
}

.help__text{
  font-size:16px;
  line-height:1.7;
  color:#5a4c4c;
}

.help__form{
  width:420px;
  display:flex;
  flex-direction:column;
  gap:18px;
}

.help__form input,
.help__form select{
  height:60px;
  border-radius:12px;
  border:none;
  padding:0 18px;
  font-size:15px;
  background:#f3ece8;
  transition:.3s;
}

.help__form input:focus{
  outline:none;
  background:#fff;
  box-shadow:0 0 0 2px #c65b63;
}

.help__phone{
  display:flex;
  gap:10px;
}

.help__phone select{
  width:110px;
}

.help__btn{
  height:65px;
  border:none;
  border-radius:40px;
background: linear-gradient(90deg, #ff00a8, #ff007a);
  color:#fff;
  font-size:18px;
  font-weight:600;
  cursor:pointer;
  transition:.3s;
}

.help__btn:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 20px rgba(0,0,0,0.1);
}

.help__policy{
  font-size:12px;
  color:#7a6c6c;
  line-height:1.5;
}

.help__policy a{
  color:#7a6c6c;
  text-decoration:underline;
}

/* ---------- FAQ ---------- */

.faq{
  padding:100px 0;
  background:#fff;
}

.faq__title{
  font-size:42px;
  font-weight:600;
  margin-bottom:50px;
}

.faq__list{
  border-top:1px solid #e5e5e5;
}

.faq__item{
  border-bottom:1px solid #e5e5e5;
}

.faq__question{
  width:100%;
  background:none;
  border:none;
  padding:28px 0;
  font-size:18px;
  font-weight:500;
  text-align:left;
  display:flex;
  justify-content:space-between;
  align-items:center;
  cursor:pointer;
}

.faq__icon{
  font-size:28px;
  line-height:1;
  transition:.3s;
}

.faq__item.active .faq__icon{
  transform:rotate(45deg);
}

.faq__answer{
  max-height:0;
  overflow:hidden;
  transition:max-height .35s ease;
}

.faq__answer p{
  margin:0 0 25px 0;
  font-size:16px;
  color:#555;
  line-height:1.6;
  max-width:900px;
}



/* ---------- FOOTER ---------- */

.footer{
  background:#f5efe2;
  font-size:14px;
  color:#222;
}

/* TOP */

.footer__top{
  padding:25px 0;
  border-bottom:1px solid rgba(0,0,0,0.08);
}

.footer__top-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.footer__brand{
  display:flex;
  align-items:center;
  gap:20px;
}

.footer__brand img{
  height:40px;
}

.footer__brand span{
  font-size:14px;
  line-height:1.4;
}

.footer__messengers{
  display:flex;
  align-items:center;
  gap:12px;
}

.footer__messengers span{
  font-size:14px;
}

.footer__msg{
  width:38px;
  height:38px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:600;
  text-decoration:none;
  color:#fff;
  font-size:13px;
}

.footer__msg--wa{ background:#25D366; }
.footer__msg--tg{ background:#2AABEE; }

/* MAIN */

.footer__main{
  padding:40px 0;
  background:#fff;
}

.footer__grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:40px;
}

.footer__item{
  border-top:1px solid #e5e5e5;
  padding-top:18px;
}

.footer__value{
  font-size:15px;
  margin-bottom:8px;
}

.footer__value a{
  color:#222;
  text-decoration:none;
}

.footer__label{
  font-size:12px;
  letter-spacing:1px;
  color:#777;
}

/* BOTTOM */

.footer__bottom{
  background:#fff;
  border-top:1px solid #eee;
  padding:18px 0;
}

.footer__bottom-row{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  font-size:13px;
  color:#666;
}

.footer__bottom a{
  color:#666;
  text-decoration:none;
}


.footer__top {
 
    background: #ff00a82b;
}



/* ============================= */
/* ====== RESPONSIVE ========== */
/* ============================= */

@media (max-width: 1200px){
  .container{
    width: 95%;
  }
}

/* ---------- БУРГЕР ---------- */

.burger{
  display:none;
  flex-direction:column;
  gap:6px;
  background:none;
  border:none;
  cursor:pointer;
  z-index:100;
}

.burger span{
  width:28px;
  height:3px;
  background:#000;
  transition:.3s;
  border-radius:3px;
}

/* ---------- MOBILE ---------- */

@media (max-width: 992px){

  .header__contacts{
    display:none;
  }

  .burger{
    display:flex;
  }

  .header__nav{
    position:fixed;
    top:0;
    right:-100%;
    width:280px;
    height:100vh;
    background:#fff;
    padding:120px 30px 40px;
    transition:.4s;
    box-shadow:-5px 0 20px rgba(0,0,0,0.1);
  }

  .header__nav.active{
    right:0;
  }

  .header__nav ul{
    flex-direction:column;
    gap:25px;
  }

  .header__nav a{
    font-size:18px;
  }

  /* HERO */

  .hero__title{
    font-size:34px;
  }

  .hero__content{
    padding:40px 25px;
  }

  .hero__bottom{
    flex-direction:column;
    align-items:flex-start;
    gap:20px;
  }

  .her__img{
    display:none;
  }

  /* GRID */

  .courses__grid{
    grid-template-columns:1fr;
  }

  .skills__grid{
    grid-template-columns:1fr 1fr;
  }

  .gallery__grid{
    grid-template-columns:1fr 1fr;
  }

  .help__wrapper{
    flex-direction:column;
    gap:40px;
  }

  .help__form{
    width:100%;
  }

  .footer__grid{
    grid-template-columns:1fr 1fr;
  }

  .footer__bottom-row{
    grid-template-columns:1fr;
    gap:10px;
  }

.gallery__tabs {

    width: 100%;
}


}

@media (max-width: 576px){

  .skills__grid{
    grid-template-columns:1fr;
  }

  .gallery__grid{
    grid-template-columns:1fr;
  }

  .footer__grid{
    grid-template-columns:1fr;
  }

}


.burger.active span:nth-child(1){
  transform:rotate(45deg) translate(5px,5px);
}

.burger.active span:nth-child(2){
  opacity:0;
}

.burger.active span:nth-child(3){
  transform:rotate(-45deg) translate(6px,-6px);
}
