/*FOOTER*/

footer::before {
    content: '';
    position: absolute;
    top: -80px; /* поднимаем вверх примерно на 1/3 высоты овала */
    left: -10%;
    width: 120%;
    height: 160px;
    background-color: #2f3134;
    border-radius: 50% / 100% 100% 0 0; /* эллипс сверху */
    z-index: 1;
    /* overflow-x: hidden; */
  }

footer {
  
    position: relative;
    width: 100%;
    background-color: #2f3134;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 64px;
    padding-bottom: 96px;
    /* overflow-x: hidden; */
  }
  
  .wrapper-footer {
    width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;

    margin-left: auto;
    margin-right: auto;
  }
  
  .d-block video {
    margin-top: 10px;
    width: 303px;
    height: 310px;
    /* position: relative;
    left: -5px; */
  }
  
  .row1-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
  }
  
  .logo-footer {
    margin-right: auto;
    margin-left: 13px;
  }
  
  .social {
    visibility: hidden;
    margin-left: auto;
    width: 304px;
  }
  
  .social img {
    margin-right: 10px;
  }
  
  .row2-footer {
    margin-top: 48px;
    display: flex;
    gap: 40px;
    justify-content: center;
    padding-bottom: 16px;
  }
  .row3-footer {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    border-top: 1px solid #828385;
    padding-top: 16px;
  }
  
  .content-block-footer {
    width: 300px;
  }
  .row2-footer .content-block-footer a {
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 32px;
    vertical-align: middle;
    color: white;
  }
  
  .row2-footer .content-block-footer p {
    font-family: Manrope, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    vertical-align: middle;
    color: #d5d6d6;
  }
  .phone,
  .gmail {
  
    align-items: center;
    display: flex;
    margin-bottom: 6px;
  }
  
  .phone img,
  .gmail img {
    padding-right: 16px;
  }
  
  .row3-footer .content-block-footer p {
    margin-top: 6px;
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 140%;
    vertical-align: middle;
    color: #d5d6d6;
  }
  .row3-footer .content-block-footer a {
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 140%;
    color: #828385;
  }
  
  .numers p {
    margin: 0 !important;
  }
  
  .top-row-team .human {
    width: auto;
    height: 260px;
  }
  
  .top-row-team .human-block {
    position: absolute;
    justify-content: center;
    align-items: center;
    right: 11px;
    bottom: 63px;
  }
  
  .bottom-row-team .human {
    width: 160px;
    height: 204px;
  }
  
  .bottom-row-team .human-block {
    position: absolute;
    justify-content: center;
    align-items: center;
    right: 4px;
    top: 6px;
  }
  
  .link-vaka {
    font-family: Manrope, sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 140%;
    text-align: center;
    padding-top: 1px;
    text-decoration: none;
    color: white;
  }
  .title-form {
    align-items: center;
  }
  .like {
    width: 354px;
    height: 354px;
    padding: 20px;
    rotate: -15deg;
  }
  
  .input-styled:focus {
    border: 1px solid #2f3134;
  }
  
  .error {
    border: 1px solid #ec1f00 !important;
  }
  
  .input-error {
    height: 16px;
    width: 100%;
    color: #ec1f00;
    font-family: Manrope, sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
  }
  
  .input-styled.error {
    margin-bottom: 4px;
    margin-top: 12px;
  }


  /* планшет */

@media (min-width: 769px) and (max-width: 1278px) {

  .row2-footer {
    margin-top: 32px;
    padding-left: 122px;
  }

  .row1-footer {
    gap: 32px;
    justify-content: normal;
    padding-left: 122px;
  }

  .row2-footer .content-block-footer a {
    font-size: 14px;
    line-height: 140%;
  }

  .row2-footer .content-block-footer p {
    font-size: 12px;
  }

  .row3-footer .content-block-footer a {
    font-size: 12px;
    line-height: 140%;
  }

  .row3-footer {
    gap: 20px;
    width: 730px;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .numers {
    width: 100%;
    display: flex;
    gap: 16px;
    grid-column: 1 / -1;
  }

  .row3-footer .content-block-footer {
    width: auto;
  }

  .row3-footer .content-block-footer p {
    font-size: 12px;
  }

  .phone img,
  .gmail img {
    width: 14px;
    height: 14px;
  }

  .social img {
    width: 24px;
    height: 24px;
  }

  .social {
    margin-left: 0;
  }

  .logo-footer {
    margin-right: 0;
  }
  .logo-footer img {
    width: 90px;
    height: 30px;
  }

  .content-block-footer {
    width: 180px;
  }

  .d-block video {
    position: absolute;
    top: -20px;
    left: 5px;
    width: auto;
    height: 120px;
  }

  .wrapper-footer {
    padding-left: 20px;
    padding-right: 20px;
    width: 730px;
    position: relative;
  }

  footer {
    padding-bottom: 48px;
  }

  .wrapper-footer {
    z-index: 10;
  }

  footer::before {
    height: 80px;
    top: -40px;
  }
}

  /* мобильная */

  @media (max-width: 768px) {

  .wrapper-footer {
    width: 320px;
  }

  .row1-footer {
    padding-left: 0;
    justify-content: space-between;
    width: 100%;
  }
  .row2-footer {
    flex-direction: column;
    padding-left: 0;
    gap: 16px;
    padding-bottom: 32px;
  }

  .arrow-block {
    height: 24px;
  }

  .row3-footer {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 16px;
    align-items: flex-start;
  }

  .d-block video {
    position: absolute;
    width: 174px;
    height: auto;
    top: 170px;
    right: -10px;
  }

  .form::before {
    height: 24px;
    top: -24px;
  }

  .social {
    display: flex;
    width: auto;
    gap: 12px;
  }

  .content-footer-container {
    width: 100%;
    z-index: 10;
  }

  footer::before {
    height: 40px;
    top: -40px
  }

  .row3-footer .numers {
    display: ruby;
    width: 100%;
  }
}

@media (max-width: 1200px) {
  .row2-footer .content-block-footer a {
      font-size: 14px;
      line-height: 140%;
  }
}