.Container {
  position: relative;
  z-index: 2;
  background: $color-lightgray;
  border-radius: rem(28px);
  padding: rem(32px) 0 0;

  @include iftablet {
    padding: rem(60px) 0 rem(40px);
  }

  @include iflaptop {
    padding: rem(60px) 0 rem(60px);
  }

  @include ifdesktop {
    padding: rem(160px) 0;
  }
}

.Contacts {
  margin: 0 auto;

  @include iftablet {
    width: rem(712px);
  }

  @include iflaptop {
    width: rem(930px);
  }

  @include ifdesktop {
    width: rem(1340px);
  }
}

.Header {
  font-family: $font-open-sans;
  font-weight: $font-semi-bold;
  font-size: rem(26px);
  line-height: 100%;
  color: $color-text;
  margin-bottom: rem(40px);
  padding: 0 rem(20px);

  @include iftablet {
    font-size: rem(28px);
    padding: unset;
  }

  @include iflaptop {
    font-size: rem(36px);
    margin-bottom: rem(60px);
  }

  @include ifdesktop {
    font-size: rem(60px);
    margin-bottom: rem(80px);
  }
}

.Clients {
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: rem(40px);
  padding: 0 0 rem(32px);

  @include iftablet {
    gap: rem(40px);
    max-width: rem(1200px);
    margin-bottom: rem(160px);
  }

  @include iflaptop {
    gap: rem(40px);
    max-width: rem(1200px);
    margin-bottom: rem(160px);
  }

  @include ifdesktop {
    gap: rem(40px);
    max-width: rem(1200px);
    margin-bottom: rem(160px);
  }

  .Client {

    img {
      width: rem(300px);
      height: auto;
    }
  }
}

.Map {
  position: relative;

  iframe {
    border-radius: rem(28px);
    width: 100%;
    height: rem(820px);

    @include iftablet {
      height: rem(300px);
    }

    @include iflaptop {
      height: rem(400px);
    }

    @include ifdesktop {
      height: rem(620px);
    }
  }

  .Contacts {
    position: absolute;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    background: $color-white;

    bottom: 0;
    border-radius: rem(28px);
    width: 100%;
    height: fit-content;
    padding: rem(40px) rem(35px) rem(20px);

    @include iftablet {
      top: rem(-60px);
      right: rem(60px);
      border-radius: rem(28px);
      width: rem(240px);
      padding: rem(20px) rem(20px) rem(10px);
    }

    @include iflaptop {
      top: rem(-30px);
      right: rem(100px);
      border-radius: rem(28px);
      width: rem(260px);
      padding: rem(40px) rem(20px) rem(20px);
    }

    @include ifdesktop {
      top: rem(-40px);
      right: rem(180px);
      border-radius: rem(28px);
      width: rem(440px);
      padding: rem(40px) rem(35px) rem(40px);
    }

    .Title {
      position: relative;
      font-family: $font-open-sans;
      font-weight: $font-semi-bold;
      font-size: rem(28px);
      line-height: 100%;
      color: $color-text;
      text-align: right;
      margin-bottom: rem(20px);
      align-self: center;

      @include iftablet {
        font-size: rem(28px);
        align-self: center;
        margin-bottom: rem(40px);
      }

      @include iflaptop {
        font-size: rem(32px);
      }

      @include ifdesktop {
        font-size: rem(48px);
        margin-bottom: rem(32px);
      }

      .LedOn {
        position: absolute;
        bottom: -2px;
        left: 0;
        width: rem(20px);

        @include iftablet {
          bottom: -1px;
          width: rem(20px);
        }

        @include iflaptop {
          bottom: 1px;
          left: 1px;
          width: rem(24px);
        }

        @include ifdesktop {
          bottom: rem(6px);
          left: rem(6px);
          width: unset;
        }
      }
    }

    .Address {
      position: relative;
      font-family: $font-open-sans;
      font-weight: $font-regular;
      font-size: rem(16px);
      line-height: 130%;
      color: $color-text;
      padding-bottom: rem(20px);
      margin: 0 auto;
      width: rem(180px);

      @include iftablet {
        width: unset;
        margin: unset;
        margin-left: rem(32px);
        margin-bottom: rem(20px);
        padding-bottom: unset;
      }

      @include iflaptop {

      }

      @include ifdesktop {
        font-size: rem(32px);
        margin-bottom: rem(20px);
        margin-left: rem(42px);
      }

      a:hover {
        color: #163055;
        text-decoration: underline;
      }

      .Icon {
        position: absolute;
        top: 0;
        left: rem(-32px);
        width: rem(20px);
        height: rem(20px);
        stroke: #E96526;

        @include iftablet {
          left: rem(-36px);
          width: rem(20px);
          height: rem(20px);
        }

        @include ifdesktop {
          top: rem(6px);
          left: rem(-48px);
          width: rem(32px);
          height: rem(32px);
        }
      }
    }
  }
}
