/*Раздел титульник*/
.main-title_seo {
  margin-top:0;
  display: flex;
  min-height: 300px;
  margin-top: 50px;
  align-items: center;
  justify-content: space-between;
    & div:first-of-type {
        width:calc(95% - 350px);
        }
      & p:first-of-type {
          margin-bottom: 30px;
      }
      & p:last-of-type{
        margin-bottom: 30px;
        width: 80%;
      }
    & picture {
        width: 350px;
        height: 350px;
    }
}
@media screen and (max-width:1024px) {
  .main-title_seo {
    & div:first-of-type {
          width:calc(100% - 300px);
          }
        & p:first-of-type {
            margin-bottom: 25px;
        }
        & p:last-of-type{
          margin-bottom: 25px;
          width: 100%;
        }
      & picture {
          width: 300px;
          height: 300px;
      }
  }

}
/*Наши приимущества*/
.seo-advantages {
  margin-top: 120px;
  min-height: 530px;
  & h2 {
    text-align: center;
  }
  & ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0;
     & li {
      position: relative;
      width:calc(100% / 3 - 2%);
      min-height: min-content;
      background-color: #F2FAFD;

    }
  }
   & li:hover {
  box-shadow: 0px 3px 8px rgba(60, 60, 59, 0.4);
  transform:scale(1.05);

  }
 & picture {
  width:277px;
display: flex;
justify-content: center;
 }
 & h3 {
  margin-bottom: 10px;
 }
 & p {
  margin: 5px 10px 10px 10px;
  text-align: justify;
 }
}
@media screen and (min-width:768px) and (max-width:1023px)  {
  .seo-advantages {

    & ul {
      display: block;
      width: 100%;

       & li {
        display: flex;
        width:100%;
        min-height:200px;
      }
      & li:not(:last-of-type) {
      margin-bottom:30px;
      }
      & li:nth-of-type(2) picture{
        order: 1;
        }
    }
    & picture {
      width:200px;
    }
    & div {
      width:calc(100% - 200px);
      display: flex;
      flex-direction: column;
      align-self: center;
    }

  }
}
/*О SEO*/
.about-seo {
  width: 100%;
  min-height: min-content;
  display: flex;
  justify-content: space-between;
  margin-top: 120px;
  align-items: center;
  justify-content: space-between;
    & div{
        width:calc(97% - 300px);
        & h2{
          margin:0;
          margin-bottom: 50px;
        }
        & .about-seo_list {
          width: 100%;
          min-height: 380px;
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          text-align: justify;
          & li:not(:last-of-type) {
            margin-bottom: 1rem;
            & li {
              list-style-type: disc;
              margin:0;
          }
        }
          & ul {
            padding-left: 20px;
        }

      }
    }
    & picture {
      width: 300px;
      height:300px;
      }

}
@media screen and (min-width:1025px) and (max-width:1279px)  {
  .about-seo {
    & div{
          width:calc(95% - 350px);
          & .about-seo_list {
            min-height: 350px;
          }


  }
  & picture {
        width: 350px;
        height: 350px;
        }
  }
}
/*SEO продвижение*/
.seo-promotion {
  width: 100%;
  min-height: min-content;
  margin-top: 120px;
  & h2 {
    margin-bottom: 50px;
  }
  & div {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  & picture {
    width: 350px;
    height: 350px;
    order: 1;
    }
    & ul {
      order: 0;
      width:calc(95% - 350px);
      min-height: min-content;
      margin-left: 35px;
      & li {
        position:relative;
      }
      & li:not(:last-of-type) {
        margin-bottom: 0.8rem;
    }
    & li::before{
     position: absolute;
     content: '';
     width:20px;
     height: 20px;
     background-color: #009FE3;
     top:0;
     left:-35px;
    }
    & li::after {
      position:absolute;
      content: '';
      width: 13px;
      height: 6px;
      border-bottom: 3px solid #fff;
      border-left:3px solid #fff;
      top:4px;
      left:-32px;
      order:2;
      rotate: -45deg;
    }
  }
}
@media screen and (min-width:768px) and (max-width:1023px)  {
  .seo-promotion {
    & picture {
      width: 300px;
      height: 300px;
      }
      & ul {
        width:calc(95% - 300px);
        
    }
  }
}
.seo-business{
  width: 100%;
  min-height: 710px;
  margin-top: 120px;
  & ul{
    width: 100%;
    display:grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: min-content;
    column-gap: clamp(50px, 10%,200px);
    row-gap:50px;
    & li {
      position: relative;
      margin-left: 70px;
    }
    & li p:first-of-type{
      color:#009FE3;
      margin-bottom: 7px;
     text-transform:uppercase;
    }
    & li::before{
      position:absolute;
      content: '';
      width:48px;
      height:48px;
      top:0;
      left:-60px;


    }
    & .icon1::before{
        background-image: url('/img/seo/seo-sprite.svg#svgView(viewBox(0, 0, 48, 48))');
    }
    & .icon2::before{
      background-image: url('/img/seo/seo-sprite.svg#svgView(viewBox(0, 48, 48, 48))');
    }
    & .icon3::before{
      background-image: url('/img/seo/seo-sprite.svg#svgView(viewBox(0, 96, 48, 48))');
    }
    & .icon4::before{
      background-image: url('/img/seo/seo-sprite.svg#svgView(viewBox(0, 144, 48, 48))');
    }
    & .icon5::before{
      background-image: url('/img/seo/seo-sprite.svg#svgView(viewBox(48, 0, 48, 48))');
    }
    & .icon6::before{
      background-image: url('/img/seo/seo-sprite.svg#svgView(viewBox(48, 48, 48, 48))');
    }
    & .icon7::before{
      background-image: url('/img/seo/seo-sprite.svg#svgView(viewBox(48, 96, 48, 48))');
    }
    & .icon8::before{
      background-image: url('/img/seo/seo-sprite.svg#svgView(viewBox(48, 144, 48, 48))');
    }
  }

}
