* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Nunito', sans-serif;
}

body {
  background: #FCFAFF;
  color: #222;
}

.page {
  max-width: 1280px;
  min-height: 100vh;
  overflow: hidden;
  margin:auto;
}

header {
  display: flex;
  justify-content: space-between;
  align-items:flex-start;
  padding: 24px 60px;
}

section {
  display: block;
  padding: 60px;
}

  section h1{
    font-size: 72px;
    line-height: 0.95;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #2D2C2C;
  }
    section h1 span {
      display: block;
      color: #866BF8;
      font-weight: 900;
    }
  
  section h2{
    font-size: 48px;
    text-align: center;
    font-weight: 900;
  }

  section p.subtitle{
    color: #2D2C2C;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
  }


.logo {
  display: block;
  width:140px;
  height:118px;
  background: url('../img/logo.svg') center no-repeat;
}


nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

  nav a {
    text-decoration: none;
    color: #2D2C2C;
    font-size: 18px;
    font-weight: 500;
  }

  nav a.btn {
    border: 3px solid #866BF8;
    padding: 12px 18px 12px 48px;
    border-radius: 999px;
    color: #866BF8;
    font-size: 18px;
    font-weight: 800;
    background:#fff url('../img/heart.svg') left 16px center no-repeat;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  nav a.btn:hover {
    color: #FFF;
    background:#866BF8 url('../img/heart-white.svg') left 16px center no-repeat;
  }


.menu-btn {
  width: 50px;
  height: 50px;
  background: #866BF8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  border: none;
  cursor: pointer;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

  .hero .hero-left {
    flex: 1 1 45%;
    max-width: 500px;
    position: relative;
    z-index: 2;
  }

  .hero .heart {
    color: #866BF8;
    font-size: 22px;
    margin-bottom: 16px;
    background: url('../img/heart.svg') left center no-repeat;
  }


  .hero .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 14px;
    max-width: 420px;
    padding: 20px 0 0 0;
  }

    .hero .tag {
      padding: 10px 16px;
      background: #EAE4FF;
      border-radius: 999px;
      font-size: 14px;
      color: #2D2C2C;
      font-weight: 500;
      white-space: nowrap;
    }


.arrow-down {
  margin-top: 32px;
  font-size: 42px;
  color: #2D2C2C;
  line-height: 1;
}

.hero-right {
  flex: 1 1 55%;
  position: relative;
  width: 100%;
  max-width: 620px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 470px;
}

  .bg-shape,
  .bg-shape2,
  .bg-shape3 {
    position: absolute;
    z-index: 0;
    border-radius: 38px;
    opacity: 0.9;
  }

    .bg-shape {
      width: 250px;
      height: 200px;
      background: #F2E4FF;
      top: -40px;
      left: -120px;
    }

    .bg-shape2 {
      width: 330px;
      height: 260px;
      background: #EAE4FF;
      top: -20px;
      right: -50px;
      border-radius: 44px;
    }

    .bg-shape3 {
      width: 250px;
      height: 200px;
      background: #E4ECFF;
      bottom: -40px;
      left: -60px;
    }


.hero-slider {
  width: 100%;
  position: relative;
  z-index: 2;
  padding-top: 24px;

  aspect-ratio: 4 / 3;
  max-width: 640px;
  max-height: 480px;

  display: flex;
  align-items: center;
  justify-content: center;
}

  .hero-slider-label {
    position:absolute;
    top:0;
    font-size: 14px;
    color: #2D2C2C;
    text-align: center;
    margin-bottom: 18px;
    min-height: 20px;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

    .hero-slider-label.is-changing {
      opacity: 0.45;
      transform: translateY(-4px);
    }


.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

  .hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(0.985);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
    background-color: #866BF8;
    overflow: hidden;
    border-radius: 42px;
  }

    .hero-slide.active {
      opacity: 1;
      transform: scale(1);
      pointer-events: auto;
    }

      .hero-slide .content {
        width: 100%;
        height: 100%;
        border-radius: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
      }

.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border: none;
  background: transparent;
  color: white;
  font-size: 54px;
  line-height: 1;
  cursor: pointer;
  z-index: 4;
  transition: transform 0.2s ease, opacity 0.2s ease;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slider-arrow:hover {
  opacity: 0.9;
  transform: translateY(-50%) scale(1.06);
}

  .hero-slider-arrow-left {
    left: 18px;
    background-image: url('../img/arrow-left-white.svg');
  }

  .hero-slider-arrow-right {
    right: 18px;
    background-image: url('../img/arrow-right-white.svg');
  }


.studio {
  display: block;
}

  /* Слайдер */
  .studio-slider {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
  }
    .studio-slider::before,
    .studio-slider::after {
      content: "";
      position: absolute;
      top: 0;
      width: 120px;
      height: 100%;
      z-index: 2;
      pointer-events: none;
    }

    /* левый fade */
    .studio-slider::before {
      left: 0;
      background: linear-gradient(to right, #FCFAFF, rgba(245,245,247,0));
    }

    /* правый fade */
    .studio-slider::after {
      right: 0;
      background: linear-gradient(to left, #FCFAFF, rgba(245,245,247,0));
    }

  .studio-slider .studio-slides{
    display: flex;
    gap: 30px;
    overflow: hidden;
    width: 100%;
    justify-content: center;
    padding:40px;
  }

    .studio-slider .studio-slide {
      width: 100%;
      aspect-ratio: 4 / 3;
      max-width: 640px;
      max-height: 480px;

      background: #EAE4FF;
      border-radius: 30px;
      display: flex;
      flex-shrink: 0;
      align-items: center;
      justify-content: center;
      transition: all 0.4s ease;
      opacity: 0.5;
    }

      .studio-slider .studio-slide.active {
        opacity: 1;
      }

  .studio-slider .nav {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
  }

  /* Фичи */
  .studio-features {
    width:640px;
    margin: auto;
    display: flex;
    justify-content: center;
    gap: 10px;
    text-align: left;
  }

    .feature {
      display: flex;
      flex: 1;
      align-items: center;
      gap: 18px;
      max-width: 300px;
    }

      .icon {
        width: 70px;
        height: 70px;
        background: #EAE4FF;
        border-radius: 50%;
        flex-shrink: 0;
      }

      .feature .text{

      }

      .feature .text h3 {
        color: #866BF8;
        font-size: 18px;
        margin-bottom: 6px;
        font-weight: 900;
      }

      .feature .text p {
        font-size: 12px;
        color: #2D2C2C;
        line-height: 1.4;
      }



/* Что умеем */
  .skills {

  }

    .skills-items{
      width:100%;
      margin: auto;
      display: flex;
      flex:1;
      justify-content: center;
      gap: 40px;
      text-align: left;
      padding: 40px 0;
    }

    .skills-item {
      width: 360px;
      padding:30px;
      border-radius: 60px;
      background: #EAE4FF;
      text-align: center;
    }
      .skills-item.st01{
        background: #F2E4FF;
      }
      .skills-item.st02{
        background: #EAE4FF;
      }
      .skills-item.st03{
        background: #E4ECFF;
      }

      .skills-item h3 {
        display: block;
        color: #2D2C2C;;
        font-size: 25px;
        margin-bottom: 6px;
        font-weight: 900;
        text-transform: uppercase;
      }

      .skills-item .icon {
        display: block;
        margin: auto;
        width: 124px;
        height: 124px;
      }

      .skills-item p {
        display: block;
        font-size: 16px;
        color: #2D2C2C;
        line-height: 1.4;
      }

.projects {

}


.projects-tabs {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 52px;
  flex-wrap: wrap;
}

.projects-tab {
  padding: 0;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  color: #2D2C2C;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.projects-tab:hover {
  color: #8d79ff;
}

.projects-tab.is-active {
  color: #8d79ff;
}

.projects-items {
  width:100%;
  margin: auto;
  display: flex;
  flex:1;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  text-align: left;
  padding: 40px 0;
}

  .projects-items .project-item {
    width: 360px;
    padding:30px;
    border-radius: 60px;
    background: #FFF1DD;
    text-align: center;
  }

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
}

.project-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.reserv {
  background: #EAE4FF;
  border-radius: 60px;
  padding: 60px 0;
  margin: 0 60px;
}

.reserv-form {
  width: min(430px, 100%);
  height: 58px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  display: flex;
  align-items: center;
  padding: 0 10px 0 20px;
}

.reserv-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 22px;
  color: #8d79ff;
}

.reserv-submit {
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 14px;
  background: transparent;
  color: #8d79ff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.footer__submit:hover {
  transform: translateX(2px);
  opacity: 0.9;
}


.footer {
  display: block;
  padding: 60px;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 34px;
}
  .footer-social {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #8d79ff;
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .footer-social:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(141, 121, 255, 0.22);
  }

.footer-subtitle {
    color: #2D2C2C;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
}

.footer-phone {
  display: block;
  text-decoration: none;
  color: #2D2C2C;
  font-size: 36px;
  line-height: 1;
  font-weight: 900;
  margin-bottom: 12px;
  text-align: center;
}

.footer-address {
  font-size: 18px;
  color: #2D2C2C;
  text-align: center;
  padding:20px 0;
  color: #866BF8;
  font-weight: 700;
}

.footer-line {
  width: 180px;
  height: 4px;
  border-radius: 999px;
  background: #866BF8;
  margin: 70px auto 36px;
}

.footer-bottom {
  font-size: 18px;
  color: #2D2C2C;
}


@media (max-width: 1100px) {
  .projects__title {
    font-size: 52px;
  }

  .projects__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1100px) {


}

@media (max-width: 900px) {
  section{
    padding: 20px;
  }
  nav {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero {
    flex-direction: column;
    gap: 36px;
  }

  .hero-left {
    max-width: 100%;
  }

  .hero-left h1 {
    font-size: 40px;
  }

  .hero-right {
    max-width: 100%;
    min-height: 360px;
  }

  .slider {
    height: 280px;
  }

  .slide-title {
    font-size: 34px;
    top: 36px;
    left: 30px;
    right: 30px;
  }

  .phone-mockup {
    transform: scale(0.82);
  }

  .bg-shape,
  .bg-shape2,
  .bg-shape3 {
    transform: scale(0.85);
  }
}

@media (max-width: 640px) {

  header {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
  }

  .slider {
    height: 240px;
  }

  .slide-content {
    border-radius: 28px;
  }

  .slide-title {
    font-size: 24px;
    top: 30px;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 38px;
  }

  .slider-arrow-left {
    left: 8px;
  }

  .slider-arrow-right {
    right: 8px;
  }

  .phone-mockup {
    transform: scale(0.64);
  }

  .mock-card {
    font-size: 22px;
    padding: 22px 24px;
  }

  .mock-card span {
    font-size: 14px;
  }
}